daily update
[binutils.git] / Makefile.in
blob3ef63b714ab445d93ebf10c5648ebebb2ffd6af7
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
74 # -------------------------------------------------
75 # Miscellaneous non-standard autoconf-set variables
76 # -------------------------------------------------
78 # The gcc driver likes to know the arguments it was configured with.
79 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
81 tooldir = @tooldir@
82 build_tooldir = @build_tooldir@
84 GDB_NLM_DEPS =
86 # This is the name of the environment variable used for the path to
87 # the libraries.
88 RPATH_ENVVAR = @RPATH_ENVVAR@
90 # Build programs are put under this directory.
91 BUILD_SUBDIR = @build_subdir@
92 # This is set by the configure script to the arguments to use when configuring
93 # directories built for the build system.
94 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
96 # This is the list of variables to export in the environment when
97 # configuring any subdirectory. It must also be exported whenever
98 # recursing into a build directory in case that directory's Makefile
99 # re-runs configure.
100 BASE_EXPORTS = \
101 FLEX="$(FLEX)"; export FLEX; \
102 LEX="$(LEX)"; export LEX; \
103 BISON="$(BISON)"; export BISON; \
104 YACC="$(YACC)"; export YACC; \
105 M4="$(M4)"; export M4; \
106 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
108 # This is the list of variables to export in the environment when
109 # configuring subdirectories for the build system.
110 BUILD_EXPORTS = \
111 $(BASE_EXPORTS) \
112 AR="$(AR_FOR_BUILD)"; export AR; \
113 AS="$(AS_FOR_BUILD)"; export AS; \
114 CC="$(CC_FOR_BUILD)"; export CC; \
115 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
116 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
117 CXX="$(CXX_FOR_BUILD)"; export CXX; \
118 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
119 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
120 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
121 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
122 LD="$(LD_FOR_BUILD)"; export LD; \
123 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
124 NM="$(NM_FOR_BUILD)"; export NM; \
125 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
126 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
128 # This is the list of directories to built for the host system.
129 SUBDIRS = @configdirs@
130 # This is set by the configure script to the arguments to use when configuring
131 # directories built for the host system.
132 HOST_CONFIGARGS = @host_configargs@
133 # Host programs are put under this directory, which is . except if building
134 # with srcdir=..
135 HOST_SUBDIR = @host_subdir@
136 # This is the list of variables to export in the environment when
137 # configuring subdirectories for the host system. We need to pass
138 # some to the GCC configure because of its hybrid host/target nature.
139 HOST_EXPORTS = \
140 $(BASE_EXPORTS) \
141 CC="$(CC)"; export CC; \
142 CFLAGS="$(CFLAGS)"; export CFLAGS; \
143 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
144 CXX="$(CXX)"; export CXX; \
145 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
146 AR="$(AR)"; export AR; \
147 AS="$(AS)"; export AS; \
148 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
149 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
150 LD="$(LD)"; export LD; \
151 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
152 NM="$(NM)"; export NM; \
153 RANLIB="$(RANLIB)"; export RANLIB; \
154 WINDRES="$(WINDRES)"; export WINDRES; \
155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
157 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
158 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
159 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
160 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
161 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
162 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
163 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
167 @if gcc-bootstrap
168 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
169 @endif gcc-bootstrap
170 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
172 # Similar, for later GCC stages.
173 POSTSTAGE1_HOST_EXPORTS = \
174 $(HOST_EXPORTS) \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
181 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
182 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # -----------------------------------------------
298 # Programs producing files for the TARGET machine
299 # -----------------------------------------------
301 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
303 AR_FOR_TARGET=@AR_FOR_TARGET@
304 AS_FOR_TARGET=@AS_FOR_TARGET@
305 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 # If GCC_FOR_TARGET is not overriden on the command line, then this
308 # variable is passed down to the gcc Makefile, where it is used to
309 # build libgcc2.a. We define it here so that it can itself be
310 # overridden on the command line.
311 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
319 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
320 NM_FOR_TARGET=@NM_FOR_TARGET@
321 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
322 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
323 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
324 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
326 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
327 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
328 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
330 # During gcc bootstrap, if we use some random cc for stage1 then
331 # CFLAGS will be just -g. We want to ensure that TARGET libraries
332 # (which we know are built with gcc) are built with optimizations so
333 # prepend -O2 when setting CFLAGS_FOR_TARGET.
334 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
336 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
337 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
338 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
339 LDFLAGS_FOR_TARGET =
340 PICFLAG_FOR_TARGET =
342 # ------------------------------------
343 # Miscellaneous targets and flag lists
344 # ------------------------------------
346 # The first rule in the file had better be this one. Don't put any above it.
347 # This lives here to allow makefile fragments to contain dependencies.
348 all:
350 #### host and target specific makefile fragments come in here.
351 @target_makefile_frag@
352 @alphaieee_frag@
353 @ospace_frag@
354 @host_makefile_frag@
357 # This is the list of directories that may be needed in RPATH_ENVVAR
358 # so that prorgams built for the target machine work.
359 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
361 @if target-libstdc++-v3
362 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
363 @endif target-libstdc++-v3
365 @if target-libmudflap
366 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
367 @endif target-libmudflap
369 @if target-libssp
370 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
371 @endif target-libssp
373 @if target-libgomp
374 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
375 @endif target-libgomp
379 # This is the list of directories that may be needed in RPATH_ENVVAR
380 # so that programs built for the host machine work.
381 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
383 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
384 @if gcc
385 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
386 @endif gcc
389 @if bfd
390 HOST_LIB_PATH_bfd = \
391 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
392 @endif bfd
394 @if opcodes
395 HOST_LIB_PATH_opcodes = \
396 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
397 @endif opcodes
400 # Flags to pass down to all sub-makes.
401 BASE_FLAGS_TO_PASS = \
402 "DESTDIR=$(DESTDIR)" \
403 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
404 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
405 "bindir=$(bindir)" \
406 "datadir=$(datadir)" \
407 "exec_prefix=$(exec_prefix)" \
408 "includedir=$(includedir)" \
409 "datarootdir=$(datarootdir)" \
410 "docdir=$(docdir)" \
411 "infodir=$(infodir)" \
412 "htmldir=$(htmldir)" \
413 "libdir=$(libdir)" \
414 "libexecdir=$(libexecdir)" \
415 "lispdir=$(lispdir)" \
416 "localstatedir=$(localstatedir)" \
417 "mandir=$(mandir)" \
418 "oldincludedir=$(oldincludedir)" \
419 "prefix=$(prefix)" \
420 "sbindir=$(sbindir)" \
421 "sharedstatedir=$(sharedstatedir)" \
422 "sysconfdir=$(sysconfdir)" \
423 "tooldir=$(tooldir)" \
424 "build_tooldir=$(build_tooldir)" \
425 "target_alias=$(target_alias)" \
426 "BISON=$(BISON)" \
427 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
428 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
429 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
430 "EXPECT=$(EXPECT)" \
431 "FLEX=$(FLEX)" \
432 "INSTALL=$(INSTALL)" \
433 "INSTALL_DATA=$(INSTALL_DATA)" \
434 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
435 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
436 "LEX=$(LEX)" \
437 "M4=$(M4)" \
438 "MAKE=$(MAKE)" \
439 "RUNTEST=$(RUNTEST)" \
440 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
441 "SHELL=$(SHELL)" \
442 "YACC=$(YACC)" \
443 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
444 "AR_FLAGS=$(AR_FLAGS)" \
445 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
446 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
447 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
448 "CFLAGS=$(CFLAGS)" \
449 "CXXFLAGS=$(CXXFLAGS)" \
450 "LDFLAGS=$(LDFLAGS)" \
451 "LIBCFLAGS=$(LIBCFLAGS)" \
452 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
453 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
454 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
455 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
456 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
457 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
458 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
459 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
460 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
461 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
462 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
463 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
464 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
465 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
466 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
467 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
468 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
469 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
470 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
471 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
472 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
473 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
474 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
475 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
476 "LEAN=$(LEAN)" \
477 "CONFIG_SHELL=$(SHELL)" \
478 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
480 # We leave this in just in case, but it is not needed anymore.
481 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
483 # Flags to pass down to most sub-makes, in which we're building with
484 # the host environment.
485 EXTRA_HOST_FLAGS = \
486 'AR=$(AR)' \
487 'AS=$(AS)' \
488 'CC=$(CC)' \
489 'CXX=$(CXX)' \
490 'DLLTOOL=$(DLLTOOL)' \
491 'LD=$(LD)' \
492 'LIPO=$(LIPO)' \
493 'NM=$(NM)' \
494 'OBJDUMP=$(OBJDUMP)' \
495 'RANLIB=$(RANLIB)' \
496 'STRIP=$(STRIP)' \
497 'WINDRES=$(WINDRES)'
499 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
501 # Flags that are concerned with the location of the X11 include files
502 # and library files
504 # NOTE: until the top-level is getting the values via autoconf, it only
505 # causes problems to have this top-level Makefile overriding the autoconf-set
506 # values in child directories. Only variables that don't conflict with
507 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
509 X11_FLAGS_TO_PASS = \
510 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
511 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
513 # Flags to pass down to makes which are built with the target environment.
514 # The double $ decreases the length of the command line; those variables
515 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
516 # COMPILER_ prefixed variables are not passed down so we expand them here.
517 EXTRA_TARGET_FLAGS = \
518 'AR=$$(AR_FOR_TARGET)' \
519 'AS=$(COMPILER_AS_FOR_TARGET)' \
520 'CC=$$(CC_FOR_TARGET)' \
521 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
522 'CXX=$$(CXX_FOR_TARGET)' \
523 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
524 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
525 'LD=$(COMPILER_LD_FOR_TARGET)' \
526 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
527 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
528 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
529 'NM=$(COMPILER_NM_FOR_TARGET)' \
530 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
531 'RANLIB=$$(RANLIB_FOR_TARGET)' \
532 'WINDRES=$$(WINDRES_FOR_TARGET)'
534 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
536 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
537 # unfortunately needs the native compiler and the target ar and
538 # ranlib.
539 # If any variables are added here, they must be added to do-*, below.
540 # The BUILD_* variables are a special case, which are used for the gcc
541 # cross-building scheme.
542 EXTRA_GCC_FLAGS = \
543 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
544 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
547 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
548 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
550 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
552 .PHONY: configure-host
553 configure-host: \
554 maybe-configure-ash \
555 maybe-configure-autoconf \
556 maybe-configure-automake \
557 maybe-configure-bash \
558 maybe-configure-bfd \
559 maybe-configure-opcodes \
560 maybe-configure-binutils \
561 maybe-configure-bison \
562 maybe-configure-byacc \
563 maybe-configure-bzip2 \
564 maybe-configure-dejagnu \
565 maybe-configure-diff \
566 maybe-configure-dosutils \
567 maybe-configure-etc \
568 maybe-configure-fastjar \
569 maybe-configure-fileutils \
570 maybe-configure-findutils \
571 maybe-configure-find \
572 maybe-configure-fixincludes \
573 maybe-configure-flex \
574 maybe-configure-gas \
575 maybe-configure-gcc \
576 maybe-configure-gawk \
577 maybe-configure-gettext \
578 maybe-configure-gnuserv \
579 maybe-configure-gprof \
580 maybe-configure-gzip \
581 maybe-configure-hello \
582 maybe-configure-indent \
583 maybe-configure-intl \
584 maybe-configure-tcl \
585 maybe-configure-itcl \
586 maybe-configure-ld \
587 maybe-configure-libcpp \
588 maybe-configure-libdecnumber \
589 maybe-configure-libgui \
590 maybe-configure-libiberty \
591 maybe-configure-libtool \
592 maybe-configure-m4 \
593 maybe-configure-make \
594 maybe-configure-mmalloc \
595 maybe-configure-patch \
596 maybe-configure-perl \
597 maybe-configure-prms \
598 maybe-configure-rcs \
599 maybe-configure-readline \
600 maybe-configure-release \
601 maybe-configure-recode \
602 maybe-configure-sed \
603 maybe-configure-send-pr \
604 maybe-configure-shellutils \
605 maybe-configure-sid \
606 maybe-configure-sim \
607 maybe-configure-tar \
608 maybe-configure-texinfo \
609 maybe-configure-textutils \
610 maybe-configure-time \
611 maybe-configure-uudecode \
612 maybe-configure-wdiff \
613 maybe-configure-zip \
614 maybe-configure-zlib \
615 maybe-configure-gdb \
616 maybe-configure-expect \
617 maybe-configure-guile \
618 maybe-configure-tk \
619 maybe-configure-libtermcap \
620 maybe-configure-utils \
621 maybe-configure-gnattools
622 .PHONY: configure-target
623 configure-target: \
624 maybe-configure-target-libstdc++-v3 \
625 maybe-configure-target-libmudflap \
626 maybe-configure-target-libssp \
627 maybe-configure-target-newlib \
628 maybe-configure-target-libgfortran \
629 maybe-configure-target-libobjc \
630 maybe-configure-target-libtermcap \
631 maybe-configure-target-winsup \
632 maybe-configure-target-libgloss \
633 maybe-configure-target-libiberty \
634 maybe-configure-target-gperf \
635 maybe-configure-target-examples \
636 maybe-configure-target-libffi \
637 maybe-configure-target-libjava \
638 maybe-configure-target-zlib \
639 maybe-configure-target-boehm-gc \
640 maybe-configure-target-qthreads \
641 maybe-configure-target-rda \
642 maybe-configure-target-libada \
643 maybe-configure-target-libgomp
645 # The target built for a native non-bootstrap build.
646 .PHONY: all
647 all:
648 @if gcc-bootstrap
649 [ -f stage_final ] || echo stage3 > stage_final
650 @r=`${PWD_COMMAND}`; export r; \
651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
653 @endif gcc-bootstrap
654 @: $(MAKE); $(unstage)
655 @r=`${PWD_COMMAND}`; export r; \
656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
657 if [ -f stage_last ]; then \
658 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
659 else \
660 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
663 .PHONY: all-build
665 all-build: maybe-all-build-libiberty
666 all-build: maybe-all-build-bison
667 all-build: maybe-all-build-byacc
668 all-build: maybe-all-build-flex
669 all-build: maybe-all-build-m4
670 all-build: maybe-all-build-texinfo
671 all-build: maybe-all-build-fixincludes
673 .PHONY: all-host
675 all-host: maybe-all-ash
676 all-host: maybe-all-autoconf
677 all-host: maybe-all-automake
678 all-host: maybe-all-bash
679 @if bfd-no-bootstrap
680 all-host: maybe-all-bfd
681 @endif bfd-no-bootstrap
682 @if opcodes-no-bootstrap
683 all-host: maybe-all-opcodes
684 @endif opcodes-no-bootstrap
685 @if binutils-no-bootstrap
686 all-host: maybe-all-binutils
687 @endif binutils-no-bootstrap
688 all-host: maybe-all-bison
689 all-host: maybe-all-byacc
690 all-host: maybe-all-bzip2
691 all-host: maybe-all-dejagnu
692 all-host: maybe-all-diff
693 all-host: maybe-all-dosutils
694 all-host: maybe-all-etc
695 all-host: maybe-all-fastjar
696 all-host: maybe-all-fileutils
697 all-host: maybe-all-findutils
698 all-host: maybe-all-find
699 all-host: maybe-all-fixincludes
700 all-host: maybe-all-flex
701 @if gas-no-bootstrap
702 all-host: maybe-all-gas
703 @endif gas-no-bootstrap
704 @if gcc-no-bootstrap
705 all-host: maybe-all-gcc
706 @endif gcc-no-bootstrap
707 all-host: maybe-all-gawk
708 all-host: maybe-all-gettext
709 all-host: maybe-all-gnuserv
710 all-host: maybe-all-gprof
711 all-host: maybe-all-gzip
712 all-host: maybe-all-hello
713 all-host: maybe-all-indent
714 @if intl-no-bootstrap
715 all-host: maybe-all-intl
716 @endif intl-no-bootstrap
717 all-host: maybe-all-tcl
718 all-host: maybe-all-itcl
719 @if ld-no-bootstrap
720 all-host: maybe-all-ld
721 @endif ld-no-bootstrap
722 @if libcpp-no-bootstrap
723 all-host: maybe-all-libcpp
724 @endif libcpp-no-bootstrap
725 @if libdecnumber-no-bootstrap
726 all-host: maybe-all-libdecnumber
727 @endif libdecnumber-no-bootstrap
728 all-host: maybe-all-libgui
729 @if libiberty-no-bootstrap
730 all-host: maybe-all-libiberty
731 @endif libiberty-no-bootstrap
732 all-host: maybe-all-libtool
733 all-host: maybe-all-m4
734 all-host: maybe-all-make
735 all-host: maybe-all-mmalloc
736 all-host: maybe-all-patch
737 all-host: maybe-all-perl
738 all-host: maybe-all-prms
739 all-host: maybe-all-rcs
740 all-host: maybe-all-readline
741 all-host: maybe-all-release
742 all-host: maybe-all-recode
743 all-host: maybe-all-sed
744 all-host: maybe-all-send-pr
745 all-host: maybe-all-shellutils
746 all-host: maybe-all-sid
747 all-host: maybe-all-sim
748 all-host: maybe-all-tar
749 all-host: maybe-all-texinfo
750 all-host: maybe-all-textutils
751 all-host: maybe-all-time
752 all-host: maybe-all-uudecode
753 all-host: maybe-all-wdiff
754 all-host: maybe-all-zip
755 @if zlib-no-bootstrap
756 all-host: maybe-all-zlib
757 @endif zlib-no-bootstrap
758 all-host: maybe-all-gdb
759 all-host: maybe-all-expect
760 all-host: maybe-all-guile
761 all-host: maybe-all-tk
762 all-host: maybe-all-libtermcap
763 all-host: maybe-all-utils
764 all-host: maybe-all-gnattools
766 .PHONY: all-target
768 all-target: maybe-all-target-libstdc++-v3
769 all-target: maybe-all-target-libmudflap
770 all-target: maybe-all-target-libssp
771 all-target: maybe-all-target-newlib
772 all-target: maybe-all-target-libgfortran
773 all-target: maybe-all-target-libobjc
774 all-target: maybe-all-target-libtermcap
775 all-target: maybe-all-target-winsup
776 all-target: maybe-all-target-libgloss
777 all-target: maybe-all-target-libiberty
778 all-target: maybe-all-target-gperf
779 all-target: maybe-all-target-examples
780 all-target: maybe-all-target-libffi
781 all-target: maybe-all-target-libjava
782 all-target: maybe-all-target-zlib
783 all-target: maybe-all-target-boehm-gc
784 all-target: maybe-all-target-qthreads
785 all-target: maybe-all-target-rda
786 all-target: maybe-all-target-libada
787 all-target: maybe-all-target-libgomp
789 # Do a target for all the subdirectories. A ``make do-X'' will do a
790 # ``make X'' in all subdirectories (because, in general, there is a
791 # dependency (below) of X upon do-X, a ``make X'' will also do this,
792 # but it may do additional work as well).
794 .PHONY: do-info
795 do-info:
796 @: $(MAKE); $(unstage)
797 @r=`${PWD_COMMAND}`; export r; \
798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
800 info-target
803 .PHONY: info-host
805 info-host: maybe-info-ash
806 info-host: maybe-info-autoconf
807 info-host: maybe-info-automake
808 info-host: maybe-info-bash
809 info-host: maybe-info-bfd
810 info-host: maybe-info-opcodes
811 info-host: maybe-info-binutils
812 info-host: maybe-info-bison
813 info-host: maybe-info-byacc
814 info-host: maybe-info-bzip2
815 info-host: maybe-info-dejagnu
816 info-host: maybe-info-diff
817 info-host: maybe-info-dosutils
818 info-host: maybe-info-etc
819 info-host: maybe-info-fastjar
820 info-host: maybe-info-fileutils
821 info-host: maybe-info-findutils
822 info-host: maybe-info-find
823 info-host: maybe-info-fixincludes
824 info-host: maybe-info-flex
825 info-host: maybe-info-gas
826 info-host: maybe-info-gcc
827 info-host: maybe-info-gawk
828 info-host: maybe-info-gettext
829 info-host: maybe-info-gnuserv
830 info-host: maybe-info-gprof
831 info-host: maybe-info-gzip
832 info-host: maybe-info-hello
833 info-host: maybe-info-indent
834 info-host: maybe-info-intl
835 info-host: maybe-info-tcl
836 info-host: maybe-info-itcl
837 info-host: maybe-info-ld
838 info-host: maybe-info-libcpp
839 info-host: maybe-info-libdecnumber
840 info-host: maybe-info-libgui
841 info-host: maybe-info-libiberty
842 info-host: maybe-info-libtool
843 info-host: maybe-info-m4
844 info-host: maybe-info-make
845 info-host: maybe-info-mmalloc
846 info-host: maybe-info-patch
847 info-host: maybe-info-perl
848 info-host: maybe-info-prms
849 info-host: maybe-info-rcs
850 info-host: maybe-info-readline
851 info-host: maybe-info-release
852 info-host: maybe-info-recode
853 info-host: maybe-info-sed
854 info-host: maybe-info-send-pr
855 info-host: maybe-info-shellutils
856 info-host: maybe-info-sid
857 info-host: maybe-info-sim
858 info-host: maybe-info-tar
859 info-host: maybe-info-texinfo
860 info-host: maybe-info-textutils
861 info-host: maybe-info-time
862 info-host: maybe-info-uudecode
863 info-host: maybe-info-wdiff
864 info-host: maybe-info-zip
865 info-host: maybe-info-zlib
866 info-host: maybe-info-gdb
867 info-host: maybe-info-expect
868 info-host: maybe-info-guile
869 info-host: maybe-info-tk
870 info-host: maybe-info-libtermcap
871 info-host: maybe-info-utils
872 info-host: maybe-info-gnattools
874 .PHONY: info-target
876 info-target: maybe-info-target-libstdc++-v3
877 info-target: maybe-info-target-libmudflap
878 info-target: maybe-info-target-libssp
879 info-target: maybe-info-target-newlib
880 info-target: maybe-info-target-libgfortran
881 info-target: maybe-info-target-libobjc
882 info-target: maybe-info-target-libtermcap
883 info-target: maybe-info-target-winsup
884 info-target: maybe-info-target-libgloss
885 info-target: maybe-info-target-libiberty
886 info-target: maybe-info-target-gperf
887 info-target: maybe-info-target-examples
888 info-target: maybe-info-target-libffi
889 info-target: maybe-info-target-libjava
890 info-target: maybe-info-target-zlib
891 info-target: maybe-info-target-boehm-gc
892 info-target: maybe-info-target-qthreads
893 info-target: maybe-info-target-rda
894 info-target: maybe-info-target-libada
895 info-target: maybe-info-target-libgomp
897 .PHONY: do-dvi
898 do-dvi:
899 @: $(MAKE); $(unstage)
900 @r=`${PWD_COMMAND}`; export r; \
901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
903 dvi-target
906 .PHONY: dvi-host
908 dvi-host: maybe-dvi-ash
909 dvi-host: maybe-dvi-autoconf
910 dvi-host: maybe-dvi-automake
911 dvi-host: maybe-dvi-bash
912 dvi-host: maybe-dvi-bfd
913 dvi-host: maybe-dvi-opcodes
914 dvi-host: maybe-dvi-binutils
915 dvi-host: maybe-dvi-bison
916 dvi-host: maybe-dvi-byacc
917 dvi-host: maybe-dvi-bzip2
918 dvi-host: maybe-dvi-dejagnu
919 dvi-host: maybe-dvi-diff
920 dvi-host: maybe-dvi-dosutils
921 dvi-host: maybe-dvi-etc
922 dvi-host: maybe-dvi-fastjar
923 dvi-host: maybe-dvi-fileutils
924 dvi-host: maybe-dvi-findutils
925 dvi-host: maybe-dvi-find
926 dvi-host: maybe-dvi-fixincludes
927 dvi-host: maybe-dvi-flex
928 dvi-host: maybe-dvi-gas
929 dvi-host: maybe-dvi-gcc
930 dvi-host: maybe-dvi-gawk
931 dvi-host: maybe-dvi-gettext
932 dvi-host: maybe-dvi-gnuserv
933 dvi-host: maybe-dvi-gprof
934 dvi-host: maybe-dvi-gzip
935 dvi-host: maybe-dvi-hello
936 dvi-host: maybe-dvi-indent
937 dvi-host: maybe-dvi-intl
938 dvi-host: maybe-dvi-tcl
939 dvi-host: maybe-dvi-itcl
940 dvi-host: maybe-dvi-ld
941 dvi-host: maybe-dvi-libcpp
942 dvi-host: maybe-dvi-libdecnumber
943 dvi-host: maybe-dvi-libgui
944 dvi-host: maybe-dvi-libiberty
945 dvi-host: maybe-dvi-libtool
946 dvi-host: maybe-dvi-m4
947 dvi-host: maybe-dvi-make
948 dvi-host: maybe-dvi-mmalloc
949 dvi-host: maybe-dvi-patch
950 dvi-host: maybe-dvi-perl
951 dvi-host: maybe-dvi-prms
952 dvi-host: maybe-dvi-rcs
953 dvi-host: maybe-dvi-readline
954 dvi-host: maybe-dvi-release
955 dvi-host: maybe-dvi-recode
956 dvi-host: maybe-dvi-sed
957 dvi-host: maybe-dvi-send-pr
958 dvi-host: maybe-dvi-shellutils
959 dvi-host: maybe-dvi-sid
960 dvi-host: maybe-dvi-sim
961 dvi-host: maybe-dvi-tar
962 dvi-host: maybe-dvi-texinfo
963 dvi-host: maybe-dvi-textutils
964 dvi-host: maybe-dvi-time
965 dvi-host: maybe-dvi-uudecode
966 dvi-host: maybe-dvi-wdiff
967 dvi-host: maybe-dvi-zip
968 dvi-host: maybe-dvi-zlib
969 dvi-host: maybe-dvi-gdb
970 dvi-host: maybe-dvi-expect
971 dvi-host: maybe-dvi-guile
972 dvi-host: maybe-dvi-tk
973 dvi-host: maybe-dvi-libtermcap
974 dvi-host: maybe-dvi-utils
975 dvi-host: maybe-dvi-gnattools
977 .PHONY: dvi-target
979 dvi-target: maybe-dvi-target-libstdc++-v3
980 dvi-target: maybe-dvi-target-libmudflap
981 dvi-target: maybe-dvi-target-libssp
982 dvi-target: maybe-dvi-target-newlib
983 dvi-target: maybe-dvi-target-libgfortran
984 dvi-target: maybe-dvi-target-libobjc
985 dvi-target: maybe-dvi-target-libtermcap
986 dvi-target: maybe-dvi-target-winsup
987 dvi-target: maybe-dvi-target-libgloss
988 dvi-target: maybe-dvi-target-libiberty
989 dvi-target: maybe-dvi-target-gperf
990 dvi-target: maybe-dvi-target-examples
991 dvi-target: maybe-dvi-target-libffi
992 dvi-target: maybe-dvi-target-libjava
993 dvi-target: maybe-dvi-target-zlib
994 dvi-target: maybe-dvi-target-boehm-gc
995 dvi-target: maybe-dvi-target-qthreads
996 dvi-target: maybe-dvi-target-rda
997 dvi-target: maybe-dvi-target-libada
998 dvi-target: maybe-dvi-target-libgomp
1000 .PHONY: do-pdf
1001 do-pdf:
1002 @: $(MAKE); $(unstage)
1003 @r=`${PWD_COMMAND}`; export r; \
1004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1005 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1006 pdf-target
1009 .PHONY: pdf-host
1011 pdf-host: maybe-pdf-ash
1012 pdf-host: maybe-pdf-autoconf
1013 pdf-host: maybe-pdf-automake
1014 pdf-host: maybe-pdf-bash
1015 pdf-host: maybe-pdf-bfd
1016 pdf-host: maybe-pdf-opcodes
1017 pdf-host: maybe-pdf-binutils
1018 pdf-host: maybe-pdf-bison
1019 pdf-host: maybe-pdf-byacc
1020 pdf-host: maybe-pdf-bzip2
1021 pdf-host: maybe-pdf-dejagnu
1022 pdf-host: maybe-pdf-diff
1023 pdf-host: maybe-pdf-dosutils
1024 pdf-host: maybe-pdf-etc
1025 pdf-host: maybe-pdf-fastjar
1026 pdf-host: maybe-pdf-fileutils
1027 pdf-host: maybe-pdf-findutils
1028 pdf-host: maybe-pdf-find
1029 pdf-host: maybe-pdf-fixincludes
1030 pdf-host: maybe-pdf-flex
1031 pdf-host: maybe-pdf-gas
1032 pdf-host: maybe-pdf-gcc
1033 pdf-host: maybe-pdf-gawk
1034 pdf-host: maybe-pdf-gettext
1035 pdf-host: maybe-pdf-gnuserv
1036 pdf-host: maybe-pdf-gprof
1037 pdf-host: maybe-pdf-gzip
1038 pdf-host: maybe-pdf-hello
1039 pdf-host: maybe-pdf-indent
1040 pdf-host: maybe-pdf-intl
1041 pdf-host: maybe-pdf-tcl
1042 pdf-host: maybe-pdf-itcl
1043 pdf-host: maybe-pdf-ld
1044 pdf-host: maybe-pdf-libcpp
1045 pdf-host: maybe-pdf-libdecnumber
1046 pdf-host: maybe-pdf-libgui
1047 pdf-host: maybe-pdf-libiberty
1048 pdf-host: maybe-pdf-libtool
1049 pdf-host: maybe-pdf-m4
1050 pdf-host: maybe-pdf-make
1051 pdf-host: maybe-pdf-mmalloc
1052 pdf-host: maybe-pdf-patch
1053 pdf-host: maybe-pdf-perl
1054 pdf-host: maybe-pdf-prms
1055 pdf-host: maybe-pdf-rcs
1056 pdf-host: maybe-pdf-readline
1057 pdf-host: maybe-pdf-release
1058 pdf-host: maybe-pdf-recode
1059 pdf-host: maybe-pdf-sed
1060 pdf-host: maybe-pdf-send-pr
1061 pdf-host: maybe-pdf-shellutils
1062 pdf-host: maybe-pdf-sid
1063 pdf-host: maybe-pdf-sim
1064 pdf-host: maybe-pdf-tar
1065 pdf-host: maybe-pdf-texinfo
1066 pdf-host: maybe-pdf-textutils
1067 pdf-host: maybe-pdf-time
1068 pdf-host: maybe-pdf-uudecode
1069 pdf-host: maybe-pdf-wdiff
1070 pdf-host: maybe-pdf-zip
1071 pdf-host: maybe-pdf-zlib
1072 pdf-host: maybe-pdf-gdb
1073 pdf-host: maybe-pdf-expect
1074 pdf-host: maybe-pdf-guile
1075 pdf-host: maybe-pdf-tk
1076 pdf-host: maybe-pdf-libtermcap
1077 pdf-host: maybe-pdf-utils
1078 pdf-host: maybe-pdf-gnattools
1080 .PHONY: pdf-target
1082 pdf-target: maybe-pdf-target-libstdc++-v3
1083 pdf-target: maybe-pdf-target-libmudflap
1084 pdf-target: maybe-pdf-target-libssp
1085 pdf-target: maybe-pdf-target-newlib
1086 pdf-target: maybe-pdf-target-libgfortran
1087 pdf-target: maybe-pdf-target-libobjc
1088 pdf-target: maybe-pdf-target-libtermcap
1089 pdf-target: maybe-pdf-target-winsup
1090 pdf-target: maybe-pdf-target-libgloss
1091 pdf-target: maybe-pdf-target-libiberty
1092 pdf-target: maybe-pdf-target-gperf
1093 pdf-target: maybe-pdf-target-examples
1094 pdf-target: maybe-pdf-target-libffi
1095 pdf-target: maybe-pdf-target-libjava
1096 pdf-target: maybe-pdf-target-zlib
1097 pdf-target: maybe-pdf-target-boehm-gc
1098 pdf-target: maybe-pdf-target-qthreads
1099 pdf-target: maybe-pdf-target-rda
1100 pdf-target: maybe-pdf-target-libada
1101 pdf-target: maybe-pdf-target-libgomp
1103 .PHONY: do-html
1104 do-html:
1105 @: $(MAKE); $(unstage)
1106 @r=`${PWD_COMMAND}`; export r; \
1107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1109 html-target
1112 .PHONY: html-host
1114 html-host: maybe-html-ash
1115 html-host: maybe-html-autoconf
1116 html-host: maybe-html-automake
1117 html-host: maybe-html-bash
1118 html-host: maybe-html-bfd
1119 html-host: maybe-html-opcodes
1120 html-host: maybe-html-binutils
1121 html-host: maybe-html-bison
1122 html-host: maybe-html-byacc
1123 html-host: maybe-html-bzip2
1124 html-host: maybe-html-dejagnu
1125 html-host: maybe-html-diff
1126 html-host: maybe-html-dosutils
1127 html-host: maybe-html-etc
1128 html-host: maybe-html-fastjar
1129 html-host: maybe-html-fileutils
1130 html-host: maybe-html-findutils
1131 html-host: maybe-html-find
1132 html-host: maybe-html-fixincludes
1133 html-host: maybe-html-flex
1134 html-host: maybe-html-gas
1135 html-host: maybe-html-gcc
1136 html-host: maybe-html-gawk
1137 html-host: maybe-html-gettext
1138 html-host: maybe-html-gnuserv
1139 html-host: maybe-html-gprof
1140 html-host: maybe-html-gzip
1141 html-host: maybe-html-hello
1142 html-host: maybe-html-indent
1143 html-host: maybe-html-intl
1144 html-host: maybe-html-tcl
1145 html-host: maybe-html-itcl
1146 html-host: maybe-html-ld
1147 html-host: maybe-html-libcpp
1148 html-host: maybe-html-libdecnumber
1149 html-host: maybe-html-libgui
1150 html-host: maybe-html-libiberty
1151 html-host: maybe-html-libtool
1152 html-host: maybe-html-m4
1153 html-host: maybe-html-make
1154 html-host: maybe-html-mmalloc
1155 html-host: maybe-html-patch
1156 html-host: maybe-html-perl
1157 html-host: maybe-html-prms
1158 html-host: maybe-html-rcs
1159 html-host: maybe-html-readline
1160 html-host: maybe-html-release
1161 html-host: maybe-html-recode
1162 html-host: maybe-html-sed
1163 html-host: maybe-html-send-pr
1164 html-host: maybe-html-shellutils
1165 html-host: maybe-html-sid
1166 html-host: maybe-html-sim
1167 html-host: maybe-html-tar
1168 html-host: maybe-html-texinfo
1169 html-host: maybe-html-textutils
1170 html-host: maybe-html-time
1171 html-host: maybe-html-uudecode
1172 html-host: maybe-html-wdiff
1173 html-host: maybe-html-zip
1174 html-host: maybe-html-zlib
1175 html-host: maybe-html-gdb
1176 html-host: maybe-html-expect
1177 html-host: maybe-html-guile
1178 html-host: maybe-html-tk
1179 html-host: maybe-html-libtermcap
1180 html-host: maybe-html-utils
1181 html-host: maybe-html-gnattools
1183 .PHONY: html-target
1185 html-target: maybe-html-target-libstdc++-v3
1186 html-target: maybe-html-target-libmudflap
1187 html-target: maybe-html-target-libssp
1188 html-target: maybe-html-target-newlib
1189 html-target: maybe-html-target-libgfortran
1190 html-target: maybe-html-target-libobjc
1191 html-target: maybe-html-target-libtermcap
1192 html-target: maybe-html-target-winsup
1193 html-target: maybe-html-target-libgloss
1194 html-target: maybe-html-target-libiberty
1195 html-target: maybe-html-target-gperf
1196 html-target: maybe-html-target-examples
1197 html-target: maybe-html-target-libffi
1198 html-target: maybe-html-target-libjava
1199 html-target: maybe-html-target-zlib
1200 html-target: maybe-html-target-boehm-gc
1201 html-target: maybe-html-target-qthreads
1202 html-target: maybe-html-target-rda
1203 html-target: maybe-html-target-libada
1204 html-target: maybe-html-target-libgomp
1206 .PHONY: do-TAGS
1207 do-TAGS:
1208 @: $(MAKE); $(unstage)
1209 @r=`${PWD_COMMAND}`; export r; \
1210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1211 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1212 TAGS-target
1215 .PHONY: TAGS-host
1217 TAGS-host: maybe-TAGS-ash
1218 TAGS-host: maybe-TAGS-autoconf
1219 TAGS-host: maybe-TAGS-automake
1220 TAGS-host: maybe-TAGS-bash
1221 TAGS-host: maybe-TAGS-bfd
1222 TAGS-host: maybe-TAGS-opcodes
1223 TAGS-host: maybe-TAGS-binutils
1224 TAGS-host: maybe-TAGS-bison
1225 TAGS-host: maybe-TAGS-byacc
1226 TAGS-host: maybe-TAGS-bzip2
1227 TAGS-host: maybe-TAGS-dejagnu
1228 TAGS-host: maybe-TAGS-diff
1229 TAGS-host: maybe-TAGS-dosutils
1230 TAGS-host: maybe-TAGS-etc
1231 TAGS-host: maybe-TAGS-fastjar
1232 TAGS-host: maybe-TAGS-fileutils
1233 TAGS-host: maybe-TAGS-findutils
1234 TAGS-host: maybe-TAGS-find
1235 TAGS-host: maybe-TAGS-fixincludes
1236 TAGS-host: maybe-TAGS-flex
1237 TAGS-host: maybe-TAGS-gas
1238 TAGS-host: maybe-TAGS-gcc
1239 TAGS-host: maybe-TAGS-gawk
1240 TAGS-host: maybe-TAGS-gettext
1241 TAGS-host: maybe-TAGS-gnuserv
1242 TAGS-host: maybe-TAGS-gprof
1243 TAGS-host: maybe-TAGS-gzip
1244 TAGS-host: maybe-TAGS-hello
1245 TAGS-host: maybe-TAGS-indent
1246 TAGS-host: maybe-TAGS-intl
1247 TAGS-host: maybe-TAGS-tcl
1248 TAGS-host: maybe-TAGS-itcl
1249 TAGS-host: maybe-TAGS-ld
1250 TAGS-host: maybe-TAGS-libcpp
1251 TAGS-host: maybe-TAGS-libdecnumber
1252 TAGS-host: maybe-TAGS-libgui
1253 TAGS-host: maybe-TAGS-libiberty
1254 TAGS-host: maybe-TAGS-libtool
1255 TAGS-host: maybe-TAGS-m4
1256 TAGS-host: maybe-TAGS-make
1257 TAGS-host: maybe-TAGS-mmalloc
1258 TAGS-host: maybe-TAGS-patch
1259 TAGS-host: maybe-TAGS-perl
1260 TAGS-host: maybe-TAGS-prms
1261 TAGS-host: maybe-TAGS-rcs
1262 TAGS-host: maybe-TAGS-readline
1263 TAGS-host: maybe-TAGS-release
1264 TAGS-host: maybe-TAGS-recode
1265 TAGS-host: maybe-TAGS-sed
1266 TAGS-host: maybe-TAGS-send-pr
1267 TAGS-host: maybe-TAGS-shellutils
1268 TAGS-host: maybe-TAGS-sid
1269 TAGS-host: maybe-TAGS-sim
1270 TAGS-host: maybe-TAGS-tar
1271 TAGS-host: maybe-TAGS-texinfo
1272 TAGS-host: maybe-TAGS-textutils
1273 TAGS-host: maybe-TAGS-time
1274 TAGS-host: maybe-TAGS-uudecode
1275 TAGS-host: maybe-TAGS-wdiff
1276 TAGS-host: maybe-TAGS-zip
1277 TAGS-host: maybe-TAGS-zlib
1278 TAGS-host: maybe-TAGS-gdb
1279 TAGS-host: maybe-TAGS-expect
1280 TAGS-host: maybe-TAGS-guile
1281 TAGS-host: maybe-TAGS-tk
1282 TAGS-host: maybe-TAGS-libtermcap
1283 TAGS-host: maybe-TAGS-utils
1284 TAGS-host: maybe-TAGS-gnattools
1286 .PHONY: TAGS-target
1288 TAGS-target: maybe-TAGS-target-libstdc++-v3
1289 TAGS-target: maybe-TAGS-target-libmudflap
1290 TAGS-target: maybe-TAGS-target-libssp
1291 TAGS-target: maybe-TAGS-target-newlib
1292 TAGS-target: maybe-TAGS-target-libgfortran
1293 TAGS-target: maybe-TAGS-target-libobjc
1294 TAGS-target: maybe-TAGS-target-libtermcap
1295 TAGS-target: maybe-TAGS-target-winsup
1296 TAGS-target: maybe-TAGS-target-libgloss
1297 TAGS-target: maybe-TAGS-target-libiberty
1298 TAGS-target: maybe-TAGS-target-gperf
1299 TAGS-target: maybe-TAGS-target-examples
1300 TAGS-target: maybe-TAGS-target-libffi
1301 TAGS-target: maybe-TAGS-target-libjava
1302 TAGS-target: maybe-TAGS-target-zlib
1303 TAGS-target: maybe-TAGS-target-boehm-gc
1304 TAGS-target: maybe-TAGS-target-qthreads
1305 TAGS-target: maybe-TAGS-target-rda
1306 TAGS-target: maybe-TAGS-target-libada
1307 TAGS-target: maybe-TAGS-target-libgomp
1309 .PHONY: do-install-info
1310 do-install-info:
1311 @: $(MAKE); $(unstage)
1312 @r=`${PWD_COMMAND}`; export r; \
1313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1314 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1315 install-info-target
1318 .PHONY: install-info-host
1320 install-info-host: maybe-install-info-ash
1321 install-info-host: maybe-install-info-autoconf
1322 install-info-host: maybe-install-info-automake
1323 install-info-host: maybe-install-info-bash
1324 install-info-host: maybe-install-info-bfd
1325 install-info-host: maybe-install-info-opcodes
1326 install-info-host: maybe-install-info-binutils
1327 install-info-host: maybe-install-info-bison
1328 install-info-host: maybe-install-info-byacc
1329 install-info-host: maybe-install-info-bzip2
1330 install-info-host: maybe-install-info-dejagnu
1331 install-info-host: maybe-install-info-diff
1332 install-info-host: maybe-install-info-dosutils
1333 install-info-host: maybe-install-info-etc
1334 install-info-host: maybe-install-info-fastjar
1335 install-info-host: maybe-install-info-fileutils
1336 install-info-host: maybe-install-info-findutils
1337 install-info-host: maybe-install-info-find
1338 install-info-host: maybe-install-info-fixincludes
1339 install-info-host: maybe-install-info-flex
1340 install-info-host: maybe-install-info-gas
1341 install-info-host: maybe-install-info-gcc
1342 install-info-host: maybe-install-info-gawk
1343 install-info-host: maybe-install-info-gettext
1344 install-info-host: maybe-install-info-gnuserv
1345 install-info-host: maybe-install-info-gprof
1346 install-info-host: maybe-install-info-gzip
1347 install-info-host: maybe-install-info-hello
1348 install-info-host: maybe-install-info-indent
1349 install-info-host: maybe-install-info-intl
1350 install-info-host: maybe-install-info-tcl
1351 install-info-host: maybe-install-info-itcl
1352 install-info-host: maybe-install-info-ld
1353 install-info-host: maybe-install-info-libcpp
1354 install-info-host: maybe-install-info-libdecnumber
1355 install-info-host: maybe-install-info-libgui
1356 install-info-host: maybe-install-info-libiberty
1357 install-info-host: maybe-install-info-libtool
1358 install-info-host: maybe-install-info-m4
1359 install-info-host: maybe-install-info-make
1360 install-info-host: maybe-install-info-mmalloc
1361 install-info-host: maybe-install-info-patch
1362 install-info-host: maybe-install-info-perl
1363 install-info-host: maybe-install-info-prms
1364 install-info-host: maybe-install-info-rcs
1365 install-info-host: maybe-install-info-readline
1366 install-info-host: maybe-install-info-release
1367 install-info-host: maybe-install-info-recode
1368 install-info-host: maybe-install-info-sed
1369 install-info-host: maybe-install-info-send-pr
1370 install-info-host: maybe-install-info-shellutils
1371 install-info-host: maybe-install-info-sid
1372 install-info-host: maybe-install-info-sim
1373 install-info-host: maybe-install-info-tar
1374 install-info-host: maybe-install-info-texinfo
1375 install-info-host: maybe-install-info-textutils
1376 install-info-host: maybe-install-info-time
1377 install-info-host: maybe-install-info-uudecode
1378 install-info-host: maybe-install-info-wdiff
1379 install-info-host: maybe-install-info-zip
1380 install-info-host: maybe-install-info-zlib
1381 install-info-host: maybe-install-info-gdb
1382 install-info-host: maybe-install-info-expect
1383 install-info-host: maybe-install-info-guile
1384 install-info-host: maybe-install-info-tk
1385 install-info-host: maybe-install-info-libtermcap
1386 install-info-host: maybe-install-info-utils
1387 install-info-host: maybe-install-info-gnattools
1389 .PHONY: install-info-target
1391 install-info-target: maybe-install-info-target-libstdc++-v3
1392 install-info-target: maybe-install-info-target-libmudflap
1393 install-info-target: maybe-install-info-target-libssp
1394 install-info-target: maybe-install-info-target-newlib
1395 install-info-target: maybe-install-info-target-libgfortran
1396 install-info-target: maybe-install-info-target-libobjc
1397 install-info-target: maybe-install-info-target-libtermcap
1398 install-info-target: maybe-install-info-target-winsup
1399 install-info-target: maybe-install-info-target-libgloss
1400 install-info-target: maybe-install-info-target-libiberty
1401 install-info-target: maybe-install-info-target-gperf
1402 install-info-target: maybe-install-info-target-examples
1403 install-info-target: maybe-install-info-target-libffi
1404 install-info-target: maybe-install-info-target-libjava
1405 install-info-target: maybe-install-info-target-zlib
1406 install-info-target: maybe-install-info-target-boehm-gc
1407 install-info-target: maybe-install-info-target-qthreads
1408 install-info-target: maybe-install-info-target-rda
1409 install-info-target: maybe-install-info-target-libada
1410 install-info-target: maybe-install-info-target-libgomp
1412 .PHONY: do-install-html
1413 do-install-html:
1414 @: $(MAKE); $(unstage)
1415 @r=`${PWD_COMMAND}`; export r; \
1416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1417 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1418 install-html-target
1421 .PHONY: install-html-host
1423 install-html-host: maybe-install-html-ash
1424 install-html-host: maybe-install-html-autoconf
1425 install-html-host: maybe-install-html-automake
1426 install-html-host: maybe-install-html-bash
1427 install-html-host: maybe-install-html-bfd
1428 install-html-host: maybe-install-html-opcodes
1429 install-html-host: maybe-install-html-binutils
1430 install-html-host: maybe-install-html-bison
1431 install-html-host: maybe-install-html-byacc
1432 install-html-host: maybe-install-html-bzip2
1433 install-html-host: maybe-install-html-dejagnu
1434 install-html-host: maybe-install-html-diff
1435 install-html-host: maybe-install-html-dosutils
1436 install-html-host: maybe-install-html-etc
1437 install-html-host: maybe-install-html-fastjar
1438 install-html-host: maybe-install-html-fileutils
1439 install-html-host: maybe-install-html-findutils
1440 install-html-host: maybe-install-html-find
1441 install-html-host: maybe-install-html-fixincludes
1442 install-html-host: maybe-install-html-flex
1443 install-html-host: maybe-install-html-gas
1444 install-html-host: maybe-install-html-gcc
1445 install-html-host: maybe-install-html-gawk
1446 install-html-host: maybe-install-html-gettext
1447 install-html-host: maybe-install-html-gnuserv
1448 install-html-host: maybe-install-html-gprof
1449 install-html-host: maybe-install-html-gzip
1450 install-html-host: maybe-install-html-hello
1451 install-html-host: maybe-install-html-indent
1452 install-html-host: maybe-install-html-intl
1453 install-html-host: maybe-install-html-tcl
1454 install-html-host: maybe-install-html-itcl
1455 install-html-host: maybe-install-html-ld
1456 install-html-host: maybe-install-html-libcpp
1457 install-html-host: maybe-install-html-libdecnumber
1458 install-html-host: maybe-install-html-libgui
1459 install-html-host: maybe-install-html-libiberty
1460 install-html-host: maybe-install-html-libtool
1461 install-html-host: maybe-install-html-m4
1462 install-html-host: maybe-install-html-make
1463 install-html-host: maybe-install-html-mmalloc
1464 install-html-host: maybe-install-html-patch
1465 install-html-host: maybe-install-html-perl
1466 install-html-host: maybe-install-html-prms
1467 install-html-host: maybe-install-html-rcs
1468 install-html-host: maybe-install-html-readline
1469 install-html-host: maybe-install-html-release
1470 install-html-host: maybe-install-html-recode
1471 install-html-host: maybe-install-html-sed
1472 install-html-host: maybe-install-html-send-pr
1473 install-html-host: maybe-install-html-shellutils
1474 install-html-host: maybe-install-html-sid
1475 install-html-host: maybe-install-html-sim
1476 install-html-host: maybe-install-html-tar
1477 install-html-host: maybe-install-html-texinfo
1478 install-html-host: maybe-install-html-textutils
1479 install-html-host: maybe-install-html-time
1480 install-html-host: maybe-install-html-uudecode
1481 install-html-host: maybe-install-html-wdiff
1482 install-html-host: maybe-install-html-zip
1483 install-html-host: maybe-install-html-zlib
1484 install-html-host: maybe-install-html-gdb
1485 install-html-host: maybe-install-html-expect
1486 install-html-host: maybe-install-html-guile
1487 install-html-host: maybe-install-html-tk
1488 install-html-host: maybe-install-html-libtermcap
1489 install-html-host: maybe-install-html-utils
1490 install-html-host: maybe-install-html-gnattools
1492 .PHONY: install-html-target
1494 install-html-target: maybe-install-html-target-libstdc++-v3
1495 install-html-target: maybe-install-html-target-libmudflap
1496 install-html-target: maybe-install-html-target-libssp
1497 install-html-target: maybe-install-html-target-newlib
1498 install-html-target: maybe-install-html-target-libgfortran
1499 install-html-target: maybe-install-html-target-libobjc
1500 install-html-target: maybe-install-html-target-libtermcap
1501 install-html-target: maybe-install-html-target-winsup
1502 install-html-target: maybe-install-html-target-libgloss
1503 install-html-target: maybe-install-html-target-libiberty
1504 install-html-target: maybe-install-html-target-gperf
1505 install-html-target: maybe-install-html-target-examples
1506 install-html-target: maybe-install-html-target-libffi
1507 install-html-target: maybe-install-html-target-libjava
1508 install-html-target: maybe-install-html-target-zlib
1509 install-html-target: maybe-install-html-target-boehm-gc
1510 install-html-target: maybe-install-html-target-qthreads
1511 install-html-target: maybe-install-html-target-rda
1512 install-html-target: maybe-install-html-target-libada
1513 install-html-target: maybe-install-html-target-libgomp
1515 .PHONY: do-installcheck
1516 do-installcheck:
1517 @: $(MAKE); $(unstage)
1518 @r=`${PWD_COMMAND}`; export r; \
1519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1520 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1521 installcheck-target
1524 .PHONY: installcheck-host
1526 installcheck-host: maybe-installcheck-ash
1527 installcheck-host: maybe-installcheck-autoconf
1528 installcheck-host: maybe-installcheck-automake
1529 installcheck-host: maybe-installcheck-bash
1530 installcheck-host: maybe-installcheck-bfd
1531 installcheck-host: maybe-installcheck-opcodes
1532 installcheck-host: maybe-installcheck-binutils
1533 installcheck-host: maybe-installcheck-bison
1534 installcheck-host: maybe-installcheck-byacc
1535 installcheck-host: maybe-installcheck-bzip2
1536 installcheck-host: maybe-installcheck-dejagnu
1537 installcheck-host: maybe-installcheck-diff
1538 installcheck-host: maybe-installcheck-dosutils
1539 installcheck-host: maybe-installcheck-etc
1540 installcheck-host: maybe-installcheck-fastjar
1541 installcheck-host: maybe-installcheck-fileutils
1542 installcheck-host: maybe-installcheck-findutils
1543 installcheck-host: maybe-installcheck-find
1544 installcheck-host: maybe-installcheck-fixincludes
1545 installcheck-host: maybe-installcheck-flex
1546 installcheck-host: maybe-installcheck-gas
1547 installcheck-host: maybe-installcheck-gcc
1548 installcheck-host: maybe-installcheck-gawk
1549 installcheck-host: maybe-installcheck-gettext
1550 installcheck-host: maybe-installcheck-gnuserv
1551 installcheck-host: maybe-installcheck-gprof
1552 installcheck-host: maybe-installcheck-gzip
1553 installcheck-host: maybe-installcheck-hello
1554 installcheck-host: maybe-installcheck-indent
1555 installcheck-host: maybe-installcheck-intl
1556 installcheck-host: maybe-installcheck-tcl
1557 installcheck-host: maybe-installcheck-itcl
1558 installcheck-host: maybe-installcheck-ld
1559 installcheck-host: maybe-installcheck-libcpp
1560 installcheck-host: maybe-installcheck-libdecnumber
1561 installcheck-host: maybe-installcheck-libgui
1562 installcheck-host: maybe-installcheck-libiberty
1563 installcheck-host: maybe-installcheck-libtool
1564 installcheck-host: maybe-installcheck-m4
1565 installcheck-host: maybe-installcheck-make
1566 installcheck-host: maybe-installcheck-mmalloc
1567 installcheck-host: maybe-installcheck-patch
1568 installcheck-host: maybe-installcheck-perl
1569 installcheck-host: maybe-installcheck-prms
1570 installcheck-host: maybe-installcheck-rcs
1571 installcheck-host: maybe-installcheck-readline
1572 installcheck-host: maybe-installcheck-release
1573 installcheck-host: maybe-installcheck-recode
1574 installcheck-host: maybe-installcheck-sed
1575 installcheck-host: maybe-installcheck-send-pr
1576 installcheck-host: maybe-installcheck-shellutils
1577 installcheck-host: maybe-installcheck-sid
1578 installcheck-host: maybe-installcheck-sim
1579 installcheck-host: maybe-installcheck-tar
1580 installcheck-host: maybe-installcheck-texinfo
1581 installcheck-host: maybe-installcheck-textutils
1582 installcheck-host: maybe-installcheck-time
1583 installcheck-host: maybe-installcheck-uudecode
1584 installcheck-host: maybe-installcheck-wdiff
1585 installcheck-host: maybe-installcheck-zip
1586 installcheck-host: maybe-installcheck-zlib
1587 installcheck-host: maybe-installcheck-gdb
1588 installcheck-host: maybe-installcheck-expect
1589 installcheck-host: maybe-installcheck-guile
1590 installcheck-host: maybe-installcheck-tk
1591 installcheck-host: maybe-installcheck-libtermcap
1592 installcheck-host: maybe-installcheck-utils
1593 installcheck-host: maybe-installcheck-gnattools
1595 .PHONY: installcheck-target
1597 installcheck-target: maybe-installcheck-target-libstdc++-v3
1598 installcheck-target: maybe-installcheck-target-libmudflap
1599 installcheck-target: maybe-installcheck-target-libssp
1600 installcheck-target: maybe-installcheck-target-newlib
1601 installcheck-target: maybe-installcheck-target-libgfortran
1602 installcheck-target: maybe-installcheck-target-libobjc
1603 installcheck-target: maybe-installcheck-target-libtermcap
1604 installcheck-target: maybe-installcheck-target-winsup
1605 installcheck-target: maybe-installcheck-target-libgloss
1606 installcheck-target: maybe-installcheck-target-libiberty
1607 installcheck-target: maybe-installcheck-target-gperf
1608 installcheck-target: maybe-installcheck-target-examples
1609 installcheck-target: maybe-installcheck-target-libffi
1610 installcheck-target: maybe-installcheck-target-libjava
1611 installcheck-target: maybe-installcheck-target-zlib
1612 installcheck-target: maybe-installcheck-target-boehm-gc
1613 installcheck-target: maybe-installcheck-target-qthreads
1614 installcheck-target: maybe-installcheck-target-rda
1615 installcheck-target: maybe-installcheck-target-libada
1616 installcheck-target: maybe-installcheck-target-libgomp
1618 .PHONY: do-mostlyclean
1619 do-mostlyclean:
1620 @: $(MAKE); $(unstage)
1621 @r=`${PWD_COMMAND}`; export r; \
1622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1623 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1624 mostlyclean-target
1627 .PHONY: mostlyclean-host
1629 mostlyclean-host: maybe-mostlyclean-ash
1630 mostlyclean-host: maybe-mostlyclean-autoconf
1631 mostlyclean-host: maybe-mostlyclean-automake
1632 mostlyclean-host: maybe-mostlyclean-bash
1633 mostlyclean-host: maybe-mostlyclean-bfd
1634 mostlyclean-host: maybe-mostlyclean-opcodes
1635 mostlyclean-host: maybe-mostlyclean-binutils
1636 mostlyclean-host: maybe-mostlyclean-bison
1637 mostlyclean-host: maybe-mostlyclean-byacc
1638 mostlyclean-host: maybe-mostlyclean-bzip2
1639 mostlyclean-host: maybe-mostlyclean-dejagnu
1640 mostlyclean-host: maybe-mostlyclean-diff
1641 mostlyclean-host: maybe-mostlyclean-dosutils
1642 mostlyclean-host: maybe-mostlyclean-etc
1643 mostlyclean-host: maybe-mostlyclean-fastjar
1644 mostlyclean-host: maybe-mostlyclean-fileutils
1645 mostlyclean-host: maybe-mostlyclean-findutils
1646 mostlyclean-host: maybe-mostlyclean-find
1647 mostlyclean-host: maybe-mostlyclean-fixincludes
1648 mostlyclean-host: maybe-mostlyclean-flex
1649 mostlyclean-host: maybe-mostlyclean-gas
1650 mostlyclean-host: maybe-mostlyclean-gcc
1651 mostlyclean-host: maybe-mostlyclean-gawk
1652 mostlyclean-host: maybe-mostlyclean-gettext
1653 mostlyclean-host: maybe-mostlyclean-gnuserv
1654 mostlyclean-host: maybe-mostlyclean-gprof
1655 mostlyclean-host: maybe-mostlyclean-gzip
1656 mostlyclean-host: maybe-mostlyclean-hello
1657 mostlyclean-host: maybe-mostlyclean-indent
1658 mostlyclean-host: maybe-mostlyclean-intl
1659 mostlyclean-host: maybe-mostlyclean-tcl
1660 mostlyclean-host: maybe-mostlyclean-itcl
1661 mostlyclean-host: maybe-mostlyclean-ld
1662 mostlyclean-host: maybe-mostlyclean-libcpp
1663 mostlyclean-host: maybe-mostlyclean-libdecnumber
1664 mostlyclean-host: maybe-mostlyclean-libgui
1665 mostlyclean-host: maybe-mostlyclean-libiberty
1666 mostlyclean-host: maybe-mostlyclean-libtool
1667 mostlyclean-host: maybe-mostlyclean-m4
1668 mostlyclean-host: maybe-mostlyclean-make
1669 mostlyclean-host: maybe-mostlyclean-mmalloc
1670 mostlyclean-host: maybe-mostlyclean-patch
1671 mostlyclean-host: maybe-mostlyclean-perl
1672 mostlyclean-host: maybe-mostlyclean-prms
1673 mostlyclean-host: maybe-mostlyclean-rcs
1674 mostlyclean-host: maybe-mostlyclean-readline
1675 mostlyclean-host: maybe-mostlyclean-release
1676 mostlyclean-host: maybe-mostlyclean-recode
1677 mostlyclean-host: maybe-mostlyclean-sed
1678 mostlyclean-host: maybe-mostlyclean-send-pr
1679 mostlyclean-host: maybe-mostlyclean-shellutils
1680 mostlyclean-host: maybe-mostlyclean-sid
1681 mostlyclean-host: maybe-mostlyclean-sim
1682 mostlyclean-host: maybe-mostlyclean-tar
1683 mostlyclean-host: maybe-mostlyclean-texinfo
1684 mostlyclean-host: maybe-mostlyclean-textutils
1685 mostlyclean-host: maybe-mostlyclean-time
1686 mostlyclean-host: maybe-mostlyclean-uudecode
1687 mostlyclean-host: maybe-mostlyclean-wdiff
1688 mostlyclean-host: maybe-mostlyclean-zip
1689 mostlyclean-host: maybe-mostlyclean-zlib
1690 mostlyclean-host: maybe-mostlyclean-gdb
1691 mostlyclean-host: maybe-mostlyclean-expect
1692 mostlyclean-host: maybe-mostlyclean-guile
1693 mostlyclean-host: maybe-mostlyclean-tk
1694 mostlyclean-host: maybe-mostlyclean-libtermcap
1695 mostlyclean-host: maybe-mostlyclean-utils
1696 mostlyclean-host: maybe-mostlyclean-gnattools
1698 .PHONY: mostlyclean-target
1700 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1701 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1702 mostlyclean-target: maybe-mostlyclean-target-libssp
1703 mostlyclean-target: maybe-mostlyclean-target-newlib
1704 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1705 mostlyclean-target: maybe-mostlyclean-target-libobjc
1706 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1707 mostlyclean-target: maybe-mostlyclean-target-winsup
1708 mostlyclean-target: maybe-mostlyclean-target-libgloss
1709 mostlyclean-target: maybe-mostlyclean-target-libiberty
1710 mostlyclean-target: maybe-mostlyclean-target-gperf
1711 mostlyclean-target: maybe-mostlyclean-target-examples
1712 mostlyclean-target: maybe-mostlyclean-target-libffi
1713 mostlyclean-target: maybe-mostlyclean-target-libjava
1714 mostlyclean-target: maybe-mostlyclean-target-zlib
1715 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1716 mostlyclean-target: maybe-mostlyclean-target-qthreads
1717 mostlyclean-target: maybe-mostlyclean-target-rda
1718 mostlyclean-target: maybe-mostlyclean-target-libada
1719 mostlyclean-target: maybe-mostlyclean-target-libgomp
1721 .PHONY: do-clean
1722 do-clean:
1723 @: $(MAKE); $(unstage)
1724 @r=`${PWD_COMMAND}`; export r; \
1725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1727 clean-target
1730 .PHONY: clean-host
1732 clean-host: maybe-clean-ash
1733 clean-host: maybe-clean-autoconf
1734 clean-host: maybe-clean-automake
1735 clean-host: maybe-clean-bash
1736 clean-host: maybe-clean-bfd
1737 clean-host: maybe-clean-opcodes
1738 clean-host: maybe-clean-binutils
1739 clean-host: maybe-clean-bison
1740 clean-host: maybe-clean-byacc
1741 clean-host: maybe-clean-bzip2
1742 clean-host: maybe-clean-dejagnu
1743 clean-host: maybe-clean-diff
1744 clean-host: maybe-clean-dosutils
1745 clean-host: maybe-clean-etc
1746 clean-host: maybe-clean-fastjar
1747 clean-host: maybe-clean-fileutils
1748 clean-host: maybe-clean-findutils
1749 clean-host: maybe-clean-find
1750 clean-host: maybe-clean-fixincludes
1751 clean-host: maybe-clean-flex
1752 clean-host: maybe-clean-gas
1753 clean-host: maybe-clean-gcc
1754 clean-host: maybe-clean-gawk
1755 clean-host: maybe-clean-gettext
1756 clean-host: maybe-clean-gnuserv
1757 clean-host: maybe-clean-gprof
1758 clean-host: maybe-clean-gzip
1759 clean-host: maybe-clean-hello
1760 clean-host: maybe-clean-indent
1761 clean-host: maybe-clean-intl
1762 clean-host: maybe-clean-tcl
1763 clean-host: maybe-clean-itcl
1764 clean-host: maybe-clean-ld
1765 clean-host: maybe-clean-libcpp
1766 clean-host: maybe-clean-libdecnumber
1767 clean-host: maybe-clean-libgui
1768 clean-host: maybe-clean-libiberty
1769 clean-host: maybe-clean-libtool
1770 clean-host: maybe-clean-m4
1771 clean-host: maybe-clean-make
1772 clean-host: maybe-clean-mmalloc
1773 clean-host: maybe-clean-patch
1774 clean-host: maybe-clean-perl
1775 clean-host: maybe-clean-prms
1776 clean-host: maybe-clean-rcs
1777 clean-host: maybe-clean-readline
1778 clean-host: maybe-clean-release
1779 clean-host: maybe-clean-recode
1780 clean-host: maybe-clean-sed
1781 clean-host: maybe-clean-send-pr
1782 clean-host: maybe-clean-shellutils
1783 clean-host: maybe-clean-sid
1784 clean-host: maybe-clean-sim
1785 clean-host: maybe-clean-tar
1786 clean-host: maybe-clean-texinfo
1787 clean-host: maybe-clean-textutils
1788 clean-host: maybe-clean-time
1789 clean-host: maybe-clean-uudecode
1790 clean-host: maybe-clean-wdiff
1791 clean-host: maybe-clean-zip
1792 clean-host: maybe-clean-zlib
1793 clean-host: maybe-clean-gdb
1794 clean-host: maybe-clean-expect
1795 clean-host: maybe-clean-guile
1796 clean-host: maybe-clean-tk
1797 clean-host: maybe-clean-libtermcap
1798 clean-host: maybe-clean-utils
1799 clean-host: maybe-clean-gnattools
1801 .PHONY: clean-target
1803 clean-target: maybe-clean-target-libstdc++-v3
1804 clean-target: maybe-clean-target-libmudflap
1805 clean-target: maybe-clean-target-libssp
1806 clean-target: maybe-clean-target-newlib
1807 clean-target: maybe-clean-target-libgfortran
1808 clean-target: maybe-clean-target-libobjc
1809 clean-target: maybe-clean-target-libtermcap
1810 clean-target: maybe-clean-target-winsup
1811 clean-target: maybe-clean-target-libgloss
1812 clean-target: maybe-clean-target-libiberty
1813 clean-target: maybe-clean-target-gperf
1814 clean-target: maybe-clean-target-examples
1815 clean-target: maybe-clean-target-libffi
1816 clean-target: maybe-clean-target-libjava
1817 clean-target: maybe-clean-target-zlib
1818 clean-target: maybe-clean-target-boehm-gc
1819 clean-target: maybe-clean-target-qthreads
1820 clean-target: maybe-clean-target-rda
1821 clean-target: maybe-clean-target-libada
1822 clean-target: maybe-clean-target-libgomp
1824 .PHONY: do-distclean
1825 do-distclean:
1826 @: $(MAKE); $(unstage)
1827 @r=`${PWD_COMMAND}`; export r; \
1828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1829 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1830 distclean-target
1833 .PHONY: distclean-host
1835 distclean-host: maybe-distclean-ash
1836 distclean-host: maybe-distclean-autoconf
1837 distclean-host: maybe-distclean-automake
1838 distclean-host: maybe-distclean-bash
1839 distclean-host: maybe-distclean-bfd
1840 distclean-host: maybe-distclean-opcodes
1841 distclean-host: maybe-distclean-binutils
1842 distclean-host: maybe-distclean-bison
1843 distclean-host: maybe-distclean-byacc
1844 distclean-host: maybe-distclean-bzip2
1845 distclean-host: maybe-distclean-dejagnu
1846 distclean-host: maybe-distclean-diff
1847 distclean-host: maybe-distclean-dosutils
1848 distclean-host: maybe-distclean-etc
1849 distclean-host: maybe-distclean-fastjar
1850 distclean-host: maybe-distclean-fileutils
1851 distclean-host: maybe-distclean-findutils
1852 distclean-host: maybe-distclean-find
1853 distclean-host: maybe-distclean-fixincludes
1854 distclean-host: maybe-distclean-flex
1855 distclean-host: maybe-distclean-gas
1856 distclean-host: maybe-distclean-gcc
1857 distclean-host: maybe-distclean-gawk
1858 distclean-host: maybe-distclean-gettext
1859 distclean-host: maybe-distclean-gnuserv
1860 distclean-host: maybe-distclean-gprof
1861 distclean-host: maybe-distclean-gzip
1862 distclean-host: maybe-distclean-hello
1863 distclean-host: maybe-distclean-indent
1864 distclean-host: maybe-distclean-intl
1865 distclean-host: maybe-distclean-tcl
1866 distclean-host: maybe-distclean-itcl
1867 distclean-host: maybe-distclean-ld
1868 distclean-host: maybe-distclean-libcpp
1869 distclean-host: maybe-distclean-libdecnumber
1870 distclean-host: maybe-distclean-libgui
1871 distclean-host: maybe-distclean-libiberty
1872 distclean-host: maybe-distclean-libtool
1873 distclean-host: maybe-distclean-m4
1874 distclean-host: maybe-distclean-make
1875 distclean-host: maybe-distclean-mmalloc
1876 distclean-host: maybe-distclean-patch
1877 distclean-host: maybe-distclean-perl
1878 distclean-host: maybe-distclean-prms
1879 distclean-host: maybe-distclean-rcs
1880 distclean-host: maybe-distclean-readline
1881 distclean-host: maybe-distclean-release
1882 distclean-host: maybe-distclean-recode
1883 distclean-host: maybe-distclean-sed
1884 distclean-host: maybe-distclean-send-pr
1885 distclean-host: maybe-distclean-shellutils
1886 distclean-host: maybe-distclean-sid
1887 distclean-host: maybe-distclean-sim
1888 distclean-host: maybe-distclean-tar
1889 distclean-host: maybe-distclean-texinfo
1890 distclean-host: maybe-distclean-textutils
1891 distclean-host: maybe-distclean-time
1892 distclean-host: maybe-distclean-uudecode
1893 distclean-host: maybe-distclean-wdiff
1894 distclean-host: maybe-distclean-zip
1895 distclean-host: maybe-distclean-zlib
1896 distclean-host: maybe-distclean-gdb
1897 distclean-host: maybe-distclean-expect
1898 distclean-host: maybe-distclean-guile
1899 distclean-host: maybe-distclean-tk
1900 distclean-host: maybe-distclean-libtermcap
1901 distclean-host: maybe-distclean-utils
1902 distclean-host: maybe-distclean-gnattools
1904 .PHONY: distclean-target
1906 distclean-target: maybe-distclean-target-libstdc++-v3
1907 distclean-target: maybe-distclean-target-libmudflap
1908 distclean-target: maybe-distclean-target-libssp
1909 distclean-target: maybe-distclean-target-newlib
1910 distclean-target: maybe-distclean-target-libgfortran
1911 distclean-target: maybe-distclean-target-libobjc
1912 distclean-target: maybe-distclean-target-libtermcap
1913 distclean-target: maybe-distclean-target-winsup
1914 distclean-target: maybe-distclean-target-libgloss
1915 distclean-target: maybe-distclean-target-libiberty
1916 distclean-target: maybe-distclean-target-gperf
1917 distclean-target: maybe-distclean-target-examples
1918 distclean-target: maybe-distclean-target-libffi
1919 distclean-target: maybe-distclean-target-libjava
1920 distclean-target: maybe-distclean-target-zlib
1921 distclean-target: maybe-distclean-target-boehm-gc
1922 distclean-target: maybe-distclean-target-qthreads
1923 distclean-target: maybe-distclean-target-rda
1924 distclean-target: maybe-distclean-target-libada
1925 distclean-target: maybe-distclean-target-libgomp
1927 .PHONY: do-maintainer-clean
1928 do-maintainer-clean:
1929 @: $(MAKE); $(unstage)
1930 @r=`${PWD_COMMAND}`; export r; \
1931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1932 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1933 maintainer-clean-target
1936 .PHONY: maintainer-clean-host
1938 maintainer-clean-host: maybe-maintainer-clean-ash
1939 maintainer-clean-host: maybe-maintainer-clean-autoconf
1940 maintainer-clean-host: maybe-maintainer-clean-automake
1941 maintainer-clean-host: maybe-maintainer-clean-bash
1942 maintainer-clean-host: maybe-maintainer-clean-bfd
1943 maintainer-clean-host: maybe-maintainer-clean-opcodes
1944 maintainer-clean-host: maybe-maintainer-clean-binutils
1945 maintainer-clean-host: maybe-maintainer-clean-bison
1946 maintainer-clean-host: maybe-maintainer-clean-byacc
1947 maintainer-clean-host: maybe-maintainer-clean-bzip2
1948 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1949 maintainer-clean-host: maybe-maintainer-clean-diff
1950 maintainer-clean-host: maybe-maintainer-clean-dosutils
1951 maintainer-clean-host: maybe-maintainer-clean-etc
1952 maintainer-clean-host: maybe-maintainer-clean-fastjar
1953 maintainer-clean-host: maybe-maintainer-clean-fileutils
1954 maintainer-clean-host: maybe-maintainer-clean-findutils
1955 maintainer-clean-host: maybe-maintainer-clean-find
1956 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1957 maintainer-clean-host: maybe-maintainer-clean-flex
1958 maintainer-clean-host: maybe-maintainer-clean-gas
1959 maintainer-clean-host: maybe-maintainer-clean-gcc
1960 maintainer-clean-host: maybe-maintainer-clean-gawk
1961 maintainer-clean-host: maybe-maintainer-clean-gettext
1962 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1963 maintainer-clean-host: maybe-maintainer-clean-gprof
1964 maintainer-clean-host: maybe-maintainer-clean-gzip
1965 maintainer-clean-host: maybe-maintainer-clean-hello
1966 maintainer-clean-host: maybe-maintainer-clean-indent
1967 maintainer-clean-host: maybe-maintainer-clean-intl
1968 maintainer-clean-host: maybe-maintainer-clean-tcl
1969 maintainer-clean-host: maybe-maintainer-clean-itcl
1970 maintainer-clean-host: maybe-maintainer-clean-ld
1971 maintainer-clean-host: maybe-maintainer-clean-libcpp
1972 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1973 maintainer-clean-host: maybe-maintainer-clean-libgui
1974 maintainer-clean-host: maybe-maintainer-clean-libiberty
1975 maintainer-clean-host: maybe-maintainer-clean-libtool
1976 maintainer-clean-host: maybe-maintainer-clean-m4
1977 maintainer-clean-host: maybe-maintainer-clean-make
1978 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1979 maintainer-clean-host: maybe-maintainer-clean-patch
1980 maintainer-clean-host: maybe-maintainer-clean-perl
1981 maintainer-clean-host: maybe-maintainer-clean-prms
1982 maintainer-clean-host: maybe-maintainer-clean-rcs
1983 maintainer-clean-host: maybe-maintainer-clean-readline
1984 maintainer-clean-host: maybe-maintainer-clean-release
1985 maintainer-clean-host: maybe-maintainer-clean-recode
1986 maintainer-clean-host: maybe-maintainer-clean-sed
1987 maintainer-clean-host: maybe-maintainer-clean-send-pr
1988 maintainer-clean-host: maybe-maintainer-clean-shellutils
1989 maintainer-clean-host: maybe-maintainer-clean-sid
1990 maintainer-clean-host: maybe-maintainer-clean-sim
1991 maintainer-clean-host: maybe-maintainer-clean-tar
1992 maintainer-clean-host: maybe-maintainer-clean-texinfo
1993 maintainer-clean-host: maybe-maintainer-clean-textutils
1994 maintainer-clean-host: maybe-maintainer-clean-time
1995 maintainer-clean-host: maybe-maintainer-clean-uudecode
1996 maintainer-clean-host: maybe-maintainer-clean-wdiff
1997 maintainer-clean-host: maybe-maintainer-clean-zip
1998 maintainer-clean-host: maybe-maintainer-clean-zlib
1999 maintainer-clean-host: maybe-maintainer-clean-gdb
2000 maintainer-clean-host: maybe-maintainer-clean-expect
2001 maintainer-clean-host: maybe-maintainer-clean-guile
2002 maintainer-clean-host: maybe-maintainer-clean-tk
2003 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2004 maintainer-clean-host: maybe-maintainer-clean-utils
2005 maintainer-clean-host: maybe-maintainer-clean-gnattools
2007 .PHONY: maintainer-clean-target
2009 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2010 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2011 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2012 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2013 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2014 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2015 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2016 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2017 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2018 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2019 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2020 maintainer-clean-target: maybe-maintainer-clean-target-examples
2021 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2022 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2023 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2024 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2025 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2026 maintainer-clean-target: maybe-maintainer-clean-target-rda
2027 maintainer-clean-target: maybe-maintainer-clean-target-libada
2028 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2031 # Here are the targets which correspond to the do-X targets.
2033 .PHONY: info installcheck dvi pdf html install-info install-html
2034 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2035 .PHONY: local-clean local-distclean local-maintainer-clean
2036 info: do-info
2037 installcheck: do-installcheck
2038 dvi: do-dvi
2039 pdf: do-pdf
2040 html: do-html
2042 # Make sure makeinfo is built before we do a `make info', if we're
2043 # in fact building texinfo.
2044 do-info: maybe-all-texinfo
2046 install-info: do-install-info dir.info
2047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2048 if [ -f dir.info ] ; then \
2049 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2050 else true ; fi
2052 install-html: do-install-html
2054 local-clean:
2055 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2057 local-distclean:
2058 -rm -f Makefile config.status config.cache mh-frag mt-frag
2059 -rm -f maybedep.tmp serdep.tmp
2060 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2061 rm -rf $(TARGET_SUBDIR); \
2062 else true; fi
2063 -rm -rf $(BUILD_SUBDIR)
2064 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2065 rm -rf $(HOST_SUBDIR); \
2066 else true; fi
2067 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2068 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2069 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2070 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2071 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2073 local-maintainer-clean:
2074 @echo "This command is intended for maintainers to use;"
2075 @echo "it deletes files that may require special tools to rebuild."
2077 clean: do-clean local-clean
2078 mostlyclean: do-mostlyclean local-clean
2079 distclean: do-distclean local-clean local-distclean
2080 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2081 maintainer-clean: local-distclean
2082 realclean: maintainer-clean
2084 # Extra dependency for clean-target, owing to the mixed nature of gcc.
2085 clean-target: clean-target-libgcc
2086 clean-target-libgcc:
2087 test ! -d gcc || (cd gcc && $(MAKE) $@)
2089 # Check target.
2091 .PHONY: check do-check
2092 check: do-check
2094 # Only include modules actually being configured and built.
2095 .PHONY: check-host
2096 check-host: \
2097 maybe-check-ash \
2098 maybe-check-autoconf \
2099 maybe-check-automake \
2100 maybe-check-bash \
2101 maybe-check-bfd \
2102 maybe-check-opcodes \
2103 maybe-check-binutils \
2104 maybe-check-bison \
2105 maybe-check-byacc \
2106 maybe-check-bzip2 \
2107 maybe-check-dejagnu \
2108 maybe-check-diff \
2109 maybe-check-dosutils \
2110 maybe-check-etc \
2111 maybe-check-fastjar \
2112 maybe-check-fileutils \
2113 maybe-check-findutils \
2114 maybe-check-find \
2115 maybe-check-fixincludes \
2116 maybe-check-flex \
2117 maybe-check-gas \
2118 maybe-check-gcc \
2119 maybe-check-gawk \
2120 maybe-check-gettext \
2121 maybe-check-gnuserv \
2122 maybe-check-gprof \
2123 maybe-check-gzip \
2124 maybe-check-hello \
2125 maybe-check-indent \
2126 maybe-check-intl \
2127 maybe-check-tcl \
2128 maybe-check-itcl \
2129 maybe-check-ld \
2130 maybe-check-libcpp \
2131 maybe-check-libdecnumber \
2132 maybe-check-libgui \
2133 maybe-check-libiberty \
2134 maybe-check-libtool \
2135 maybe-check-m4 \
2136 maybe-check-make \
2137 maybe-check-mmalloc \
2138 maybe-check-patch \
2139 maybe-check-perl \
2140 maybe-check-prms \
2141 maybe-check-rcs \
2142 maybe-check-readline \
2143 maybe-check-release \
2144 maybe-check-recode \
2145 maybe-check-sed \
2146 maybe-check-send-pr \
2147 maybe-check-shellutils \
2148 maybe-check-sid \
2149 maybe-check-sim \
2150 maybe-check-tar \
2151 maybe-check-texinfo \
2152 maybe-check-textutils \
2153 maybe-check-time \
2154 maybe-check-uudecode \
2155 maybe-check-wdiff \
2156 maybe-check-zip \
2157 maybe-check-zlib \
2158 maybe-check-gdb \
2159 maybe-check-expect \
2160 maybe-check-guile \
2161 maybe-check-tk \
2162 maybe-check-libtermcap \
2163 maybe-check-utils \
2164 maybe-check-gnattools
2166 .PHONY: check-target
2167 check-target: \
2168 maybe-check-target-libstdc++-v3 \
2169 maybe-check-target-libmudflap \
2170 maybe-check-target-libssp \
2171 maybe-check-target-newlib \
2172 maybe-check-target-libgfortran \
2173 maybe-check-target-libobjc \
2174 maybe-check-target-libtermcap \
2175 maybe-check-target-winsup \
2176 maybe-check-target-libgloss \
2177 maybe-check-target-libiberty \
2178 maybe-check-target-gperf \
2179 maybe-check-target-examples \
2180 maybe-check-target-libffi \
2181 maybe-check-target-libjava \
2182 maybe-check-target-zlib \
2183 maybe-check-target-boehm-gc \
2184 maybe-check-target-qthreads \
2185 maybe-check-target-rda \
2186 maybe-check-target-libada \
2187 maybe-check-target-libgomp
2189 do-check:
2190 @: $(MAKE); $(unstage)
2191 @r=`${PWD_COMMAND}`; export r; \
2192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2193 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2195 # Automated reporting of test results.
2197 warning.log: build.log
2198 $(srcdir)/contrib/warn_summary build.log > $@
2200 mail-report.log:
2201 if test x'$(BOOT_CFLAGS)' != x''; then \
2202 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2203 fi; \
2204 $(srcdir)/contrib/test_summary -t >$@
2205 chmod +x $@
2206 echo If you really want to send e-mail, run ./$@ now
2208 mail-report-with-warnings.log: warning.log
2209 if test x'$(BOOT_CFLAGS)' != x''; then \
2210 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2211 fi; \
2212 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2213 chmod +x $@
2214 echo If you really want to send e-mail, run ./$@ now
2216 # Installation targets.
2218 .PHONY: install uninstall
2219 install:
2220 @: $(MAKE); $(unstage)
2221 @r=`${PWD_COMMAND}`; export r; \
2222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2223 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2225 .PHONY: install-host-nogcc
2226 install-host-nogcc: \
2227 maybe-install-ash \
2228 maybe-install-autoconf \
2229 maybe-install-automake \
2230 maybe-install-bash \
2231 maybe-install-bfd \
2232 maybe-install-opcodes \
2233 maybe-install-binutils \
2234 maybe-install-bison \
2235 maybe-install-byacc \
2236 maybe-install-bzip2 \
2237 maybe-install-dejagnu \
2238 maybe-install-diff \
2239 maybe-install-dosutils \
2240 maybe-install-etc \
2241 maybe-install-fastjar \
2242 maybe-install-fileutils \
2243 maybe-install-findutils \
2244 maybe-install-find \
2245 maybe-install-fixincludes \
2246 maybe-install-flex \
2247 maybe-install-gas \
2248 maybe-install-gawk \
2249 maybe-install-gettext \
2250 maybe-install-gnuserv \
2251 maybe-install-gprof \
2252 maybe-install-gzip \
2253 maybe-install-hello \
2254 maybe-install-indent \
2255 maybe-install-intl \
2256 maybe-install-tcl \
2257 maybe-install-itcl \
2258 maybe-install-ld \
2259 maybe-install-libcpp \
2260 maybe-install-libdecnumber \
2261 maybe-install-libgui \
2262 maybe-install-libiberty \
2263 maybe-install-libtool \
2264 maybe-install-m4 \
2265 maybe-install-make \
2266 maybe-install-mmalloc \
2267 maybe-install-patch \
2268 maybe-install-perl \
2269 maybe-install-prms \
2270 maybe-install-rcs \
2271 maybe-install-readline \
2272 maybe-install-release \
2273 maybe-install-recode \
2274 maybe-install-sed \
2275 maybe-install-send-pr \
2276 maybe-install-shellutils \
2277 maybe-install-sid \
2278 maybe-install-sim \
2279 maybe-install-tar \
2280 maybe-install-texinfo \
2281 maybe-install-textutils \
2282 maybe-install-time \
2283 maybe-install-uudecode \
2284 maybe-install-wdiff \
2285 maybe-install-zip \
2286 maybe-install-zlib \
2287 maybe-install-gdb \
2288 maybe-install-expect \
2289 maybe-install-guile \
2290 maybe-install-tk \
2291 maybe-install-libtermcap \
2292 maybe-install-utils \
2293 maybe-install-gnattools
2295 .PHONY: install-host
2296 install-host: \
2297 maybe-install-ash \
2298 maybe-install-autoconf \
2299 maybe-install-automake \
2300 maybe-install-bash \
2301 maybe-install-bfd \
2302 maybe-install-opcodes \
2303 maybe-install-binutils \
2304 maybe-install-bison \
2305 maybe-install-byacc \
2306 maybe-install-bzip2 \
2307 maybe-install-dejagnu \
2308 maybe-install-diff \
2309 maybe-install-dosutils \
2310 maybe-install-etc \
2311 maybe-install-fastjar \
2312 maybe-install-fileutils \
2313 maybe-install-findutils \
2314 maybe-install-find \
2315 maybe-install-fixincludes \
2316 maybe-install-flex \
2317 maybe-install-gas \
2318 maybe-install-gcc \
2319 maybe-install-gawk \
2320 maybe-install-gettext \
2321 maybe-install-gnuserv \
2322 maybe-install-gprof \
2323 maybe-install-gzip \
2324 maybe-install-hello \
2325 maybe-install-indent \
2326 maybe-install-intl \
2327 maybe-install-tcl \
2328 maybe-install-itcl \
2329 maybe-install-ld \
2330 maybe-install-libcpp \
2331 maybe-install-libdecnumber \
2332 maybe-install-libgui \
2333 maybe-install-libiberty \
2334 maybe-install-libtool \
2335 maybe-install-m4 \
2336 maybe-install-make \
2337 maybe-install-mmalloc \
2338 maybe-install-patch \
2339 maybe-install-perl \
2340 maybe-install-prms \
2341 maybe-install-rcs \
2342 maybe-install-readline \
2343 maybe-install-release \
2344 maybe-install-recode \
2345 maybe-install-sed \
2346 maybe-install-send-pr \
2347 maybe-install-shellutils \
2348 maybe-install-sid \
2349 maybe-install-sim \
2350 maybe-install-tar \
2351 maybe-install-texinfo \
2352 maybe-install-textutils \
2353 maybe-install-time \
2354 maybe-install-uudecode \
2355 maybe-install-wdiff \
2356 maybe-install-zip \
2357 maybe-install-zlib \
2358 maybe-install-gdb \
2359 maybe-install-expect \
2360 maybe-install-guile \
2361 maybe-install-tk \
2362 maybe-install-libtermcap \
2363 maybe-install-utils \
2364 maybe-install-gnattools
2366 .PHONY: install-target
2367 install-target: \
2368 maybe-install-target-libstdc++-v3 \
2369 maybe-install-target-libmudflap \
2370 maybe-install-target-libssp \
2371 maybe-install-target-newlib \
2372 maybe-install-target-libgfortran \
2373 maybe-install-target-libobjc \
2374 maybe-install-target-libtermcap \
2375 maybe-install-target-winsup \
2376 maybe-install-target-libgloss \
2377 maybe-install-target-libiberty \
2378 maybe-install-target-gperf \
2379 maybe-install-target-examples \
2380 maybe-install-target-libffi \
2381 maybe-install-target-libjava \
2382 maybe-install-target-zlib \
2383 maybe-install-target-boehm-gc \
2384 maybe-install-target-qthreads \
2385 maybe-install-target-rda \
2386 maybe-install-target-libada \
2387 maybe-install-target-libgomp
2389 uninstall:
2390 @echo "the uninstall target is not supported in this tree"
2392 .PHONY: install.all
2393 install.all: install-no-fixedincludes
2394 @if [ -f ./gcc/Makefile ] ; then \
2395 r=`${PWD_COMMAND}` ; export r ; \
2396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2397 $(HOST_EXPORTS) \
2398 (cd ./gcc && \
2399 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2400 else \
2401 true ; \
2404 # install-no-fixedincludes is used because Cygnus can not distribute
2405 # the fixed header files.
2406 .PHONY: install-no-fixedincludes
2407 install-no-fixedincludes: installdirs install-host-nogcc \
2408 install-target gcc-no-fixedincludes
2410 ### other supporting targets
2412 MAKEDIRS= \
2413 $(DESTDIR)$(prefix) \
2414 $(DESTDIR)$(exec_prefix)
2415 .PHONY: installdirs
2416 installdirs: mkinstalldirs
2417 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2419 dir.info: do-install-info
2420 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2421 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2422 mv -f dir.info.new dir.info ; \
2423 else true ; \
2426 dist:
2427 @echo "Building a full distribution of this tree isn't done"
2428 @echo "via 'make dist'. Check out the etc/ subdirectory"
2430 etags tags: TAGS
2432 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2433 # ability to use several tags files at once, so there is probably no need
2434 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2435 # (if we felt like it) have this Makefile write a piece of elisp which
2436 # the user could load to tell emacs19 where all the TAGS files we just
2437 # built are.
2438 TAGS: do-TAGS
2440 # ------------------------------------
2441 # Macros for configure and all targets
2442 # ------------------------------------
2448 # --------------------------------------
2449 # Modules which run on the build machine
2450 # --------------------------------------
2453 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2454 maybe-configure-build-libiberty:
2455 @if gcc-bootstrap
2456 configure-build-libiberty: stage_current
2457 @endif gcc-bootstrap
2458 @if build-libiberty
2459 maybe-configure-build-libiberty: configure-build-libiberty
2460 configure-build-libiberty:
2461 @: $(MAKE); $(unstage)
2462 @r=`${PWD_COMMAND}`; export r; \
2463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2464 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2465 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2466 $(BUILD_EXPORTS) \
2467 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2468 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2469 case $(srcdir) in \
2470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2471 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2473 esac; \
2474 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2475 libsrcdir="$$s/libiberty"; \
2476 rm -f no-such-file || : ; \
2477 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2478 $(BUILD_CONFIGARGS) $${srcdiroption} \
2479 || exit 1
2480 @endif build-libiberty
2486 .PHONY: all-build-libiberty maybe-all-build-libiberty
2487 maybe-all-build-libiberty:
2488 @if gcc-bootstrap
2489 all-build-libiberty: stage_current
2490 @endif gcc-bootstrap
2491 @if build-libiberty
2492 TARGET-build-libiberty=all
2493 maybe-all-build-libiberty: all-build-libiberty
2494 all-build-libiberty: configure-build-libiberty
2495 @: $(MAKE); $(unstage)
2496 @r=`${PWD_COMMAND}`; export r; \
2497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2498 $(BUILD_EXPORTS) \
2499 (cd $(BUILD_SUBDIR)/libiberty && \
2500 $(MAKE) $(TARGET-build-libiberty))
2501 @endif build-libiberty
2507 .PHONY: configure-build-bison maybe-configure-build-bison
2508 maybe-configure-build-bison:
2509 @if gcc-bootstrap
2510 configure-build-bison: stage_current
2511 @endif gcc-bootstrap
2512 @if build-bison
2513 maybe-configure-build-bison: configure-build-bison
2514 configure-build-bison:
2515 @: $(MAKE); $(unstage)
2516 @r=`${PWD_COMMAND}`; export r; \
2517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2518 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2519 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2520 $(BUILD_EXPORTS) \
2521 echo Configuring in $(BUILD_SUBDIR)/bison; \
2522 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2523 case $(srcdir) in \
2524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2525 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2527 esac; \
2528 srcdiroption="--srcdir=$${topdir}/bison"; \
2529 libsrcdir="$$s/bison"; \
2530 rm -f no-such-file || : ; \
2531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2532 $(BUILD_CONFIGARGS) $${srcdiroption} \
2533 || exit 1
2534 @endif build-bison
2540 .PHONY: all-build-bison maybe-all-build-bison
2541 maybe-all-build-bison:
2542 @if gcc-bootstrap
2543 all-build-bison: stage_current
2544 @endif gcc-bootstrap
2545 @if build-bison
2546 TARGET-build-bison=all
2547 maybe-all-build-bison: all-build-bison
2548 all-build-bison: configure-build-bison
2549 @: $(MAKE); $(unstage)
2550 @r=`${PWD_COMMAND}`; export r; \
2551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2552 $(BUILD_EXPORTS) \
2553 (cd $(BUILD_SUBDIR)/bison && \
2554 $(MAKE) $(TARGET-build-bison))
2555 @endif build-bison
2561 .PHONY: configure-build-byacc maybe-configure-build-byacc
2562 maybe-configure-build-byacc:
2563 @if gcc-bootstrap
2564 configure-build-byacc: stage_current
2565 @endif gcc-bootstrap
2566 @if build-byacc
2567 maybe-configure-build-byacc: configure-build-byacc
2568 configure-build-byacc:
2569 @: $(MAKE); $(unstage)
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2572 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2573 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2574 $(BUILD_EXPORTS) \
2575 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2576 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2577 case $(srcdir) in \
2578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2579 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2581 esac; \
2582 srcdiroption="--srcdir=$${topdir}/byacc"; \
2583 libsrcdir="$$s/byacc"; \
2584 rm -f no-such-file || : ; \
2585 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2586 $(BUILD_CONFIGARGS) $${srcdiroption} \
2587 || exit 1
2588 @endif build-byacc
2594 .PHONY: all-build-byacc maybe-all-build-byacc
2595 maybe-all-build-byacc:
2596 @if gcc-bootstrap
2597 all-build-byacc: stage_current
2598 @endif gcc-bootstrap
2599 @if build-byacc
2600 TARGET-build-byacc=all
2601 maybe-all-build-byacc: all-build-byacc
2602 all-build-byacc: configure-build-byacc
2603 @: $(MAKE); $(unstage)
2604 @r=`${PWD_COMMAND}`; export r; \
2605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2606 $(BUILD_EXPORTS) \
2607 (cd $(BUILD_SUBDIR)/byacc && \
2608 $(MAKE) $(TARGET-build-byacc))
2609 @endif build-byacc
2615 .PHONY: configure-build-flex maybe-configure-build-flex
2616 maybe-configure-build-flex:
2617 @if gcc-bootstrap
2618 configure-build-flex: stage_current
2619 @endif gcc-bootstrap
2620 @if build-flex
2621 maybe-configure-build-flex: configure-build-flex
2622 configure-build-flex:
2623 @: $(MAKE); $(unstage)
2624 @r=`${PWD_COMMAND}`; export r; \
2625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2626 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2627 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2628 $(BUILD_EXPORTS) \
2629 echo Configuring in $(BUILD_SUBDIR)/flex; \
2630 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2631 case $(srcdir) in \
2632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2633 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2635 esac; \
2636 srcdiroption="--srcdir=$${topdir}/flex"; \
2637 libsrcdir="$$s/flex"; \
2638 rm -f no-such-file || : ; \
2639 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2640 $(BUILD_CONFIGARGS) $${srcdiroption} \
2641 || exit 1
2642 @endif build-flex
2648 .PHONY: all-build-flex maybe-all-build-flex
2649 maybe-all-build-flex:
2650 @if gcc-bootstrap
2651 all-build-flex: stage_current
2652 @endif gcc-bootstrap
2653 @if build-flex
2654 TARGET-build-flex=all
2655 maybe-all-build-flex: all-build-flex
2656 all-build-flex: configure-build-flex
2657 @: $(MAKE); $(unstage)
2658 @r=`${PWD_COMMAND}`; export r; \
2659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2660 $(BUILD_EXPORTS) \
2661 (cd $(BUILD_SUBDIR)/flex && \
2662 $(MAKE) $(TARGET-build-flex))
2663 @endif build-flex
2669 .PHONY: configure-build-m4 maybe-configure-build-m4
2670 maybe-configure-build-m4:
2671 @if gcc-bootstrap
2672 configure-build-m4: stage_current
2673 @endif gcc-bootstrap
2674 @if build-m4
2675 maybe-configure-build-m4: configure-build-m4
2676 configure-build-m4:
2677 @: $(MAKE); $(unstage)
2678 @r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2681 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2682 $(BUILD_EXPORTS) \
2683 echo Configuring in $(BUILD_SUBDIR)/m4; \
2684 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2685 case $(srcdir) in \
2686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2687 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2689 esac; \
2690 srcdiroption="--srcdir=$${topdir}/m4"; \
2691 libsrcdir="$$s/m4"; \
2692 rm -f no-such-file || : ; \
2693 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2694 $(BUILD_CONFIGARGS) $${srcdiroption} \
2695 || exit 1
2696 @endif build-m4
2702 .PHONY: all-build-m4 maybe-all-build-m4
2703 maybe-all-build-m4:
2704 @if gcc-bootstrap
2705 all-build-m4: stage_current
2706 @endif gcc-bootstrap
2707 @if build-m4
2708 TARGET-build-m4=all
2709 maybe-all-build-m4: all-build-m4
2710 all-build-m4: configure-build-m4
2711 @: $(MAKE); $(unstage)
2712 @r=`${PWD_COMMAND}`; export r; \
2713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2714 $(BUILD_EXPORTS) \
2715 (cd $(BUILD_SUBDIR)/m4 && \
2716 $(MAKE) $(TARGET-build-m4))
2717 @endif build-m4
2723 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2724 maybe-configure-build-texinfo:
2725 @if gcc-bootstrap
2726 configure-build-texinfo: stage_current
2727 @endif gcc-bootstrap
2728 @if build-texinfo
2729 maybe-configure-build-texinfo: configure-build-texinfo
2730 configure-build-texinfo:
2731 @: $(MAKE); $(unstage)
2732 @r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2735 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2736 $(BUILD_EXPORTS) \
2737 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2738 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2739 case $(srcdir) in \
2740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2741 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2743 esac; \
2744 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2745 libsrcdir="$$s/texinfo"; \
2746 rm -f no-such-file || : ; \
2747 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2748 $(BUILD_CONFIGARGS) $${srcdiroption} \
2749 || exit 1
2750 @endif build-texinfo
2756 .PHONY: all-build-texinfo maybe-all-build-texinfo
2757 maybe-all-build-texinfo:
2758 @if gcc-bootstrap
2759 all-build-texinfo: stage_current
2760 @endif gcc-bootstrap
2761 @if build-texinfo
2762 TARGET-build-texinfo=all
2763 maybe-all-build-texinfo: all-build-texinfo
2764 all-build-texinfo: configure-build-texinfo
2765 @: $(MAKE); $(unstage)
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 $(BUILD_EXPORTS) \
2769 (cd $(BUILD_SUBDIR)/texinfo && \
2770 $(MAKE) $(TARGET-build-texinfo))
2771 @endif build-texinfo
2777 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2778 maybe-configure-build-fixincludes:
2779 @if gcc-bootstrap
2780 configure-build-fixincludes: stage_current
2781 @endif gcc-bootstrap
2782 @if build-fixincludes
2783 maybe-configure-build-fixincludes: configure-build-fixincludes
2784 configure-build-fixincludes:
2785 @: $(MAKE); $(unstage)
2786 @r=`${PWD_COMMAND}`; export r; \
2787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2788 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2789 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2790 $(BUILD_EXPORTS) \
2791 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2792 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2793 case $(srcdir) in \
2794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2795 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2797 esac; \
2798 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2799 libsrcdir="$$s/fixincludes"; \
2800 rm -f no-such-file || : ; \
2801 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2802 $(BUILD_CONFIGARGS) $${srcdiroption} \
2803 || exit 1
2804 @endif build-fixincludes
2810 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2811 maybe-all-build-fixincludes:
2812 @if gcc-bootstrap
2813 all-build-fixincludes: stage_current
2814 @endif gcc-bootstrap
2815 @if build-fixincludes
2816 TARGET-build-fixincludes=all
2817 maybe-all-build-fixincludes: all-build-fixincludes
2818 all-build-fixincludes: configure-build-fixincludes
2819 @: $(MAKE); $(unstage)
2820 @r=`${PWD_COMMAND}`; export r; \
2821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2822 $(BUILD_EXPORTS) \
2823 (cd $(BUILD_SUBDIR)/fixincludes && \
2824 $(MAKE) $(TARGET-build-fixincludes))
2825 @endif build-fixincludes
2831 # --------------------------------------
2832 # Modules which run on the host machine
2833 # --------------------------------------
2836 .PHONY: configure-ash maybe-configure-ash
2837 maybe-configure-ash:
2838 @if gcc-bootstrap
2839 configure-ash: stage_current
2840 @endif gcc-bootstrap
2841 @if ash
2842 maybe-configure-ash: configure-ash
2843 configure-ash:
2844 @: $(MAKE); $(unstage)
2845 @r=`${PWD_COMMAND}`; export r; \
2846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2849 $(HOST_EXPORTS) \
2850 echo Configuring in $(HOST_SUBDIR)/ash; \
2851 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2852 case $(srcdir) in \
2853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2854 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2856 esac; \
2857 srcdiroption="--srcdir=$${topdir}/ash"; \
2858 libsrcdir="$$s/ash"; \
2859 $(SHELL) $${libsrcdir}/configure \
2860 $(HOST_CONFIGARGS) $${srcdiroption} \
2861 || exit 1
2862 @endif ash
2868 .PHONY: all-ash maybe-all-ash
2869 maybe-all-ash:
2870 @if gcc-bootstrap
2871 all-ash: stage_current
2872 @endif gcc-bootstrap
2873 @if ash
2874 TARGET-ash=all
2875 maybe-all-ash: all-ash
2876 all-ash: configure-ash
2877 @: $(MAKE); $(unstage)
2878 @r=`${PWD_COMMAND}`; export r; \
2879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2880 $(HOST_EXPORTS) \
2881 (cd $(HOST_SUBDIR)/ash && \
2882 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2883 @endif ash
2888 .PHONY: check-ash maybe-check-ash
2889 maybe-check-ash:
2890 @if ash
2891 maybe-check-ash: check-ash
2893 check-ash:
2894 @: $(MAKE); $(unstage)
2895 @r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 $(HOST_EXPORTS) \
2898 (cd $(HOST_SUBDIR)/ash && \
2899 $(MAKE) $(FLAGS_TO_PASS) check)
2901 @endif ash
2903 .PHONY: install-ash maybe-install-ash
2904 maybe-install-ash:
2905 @if ash
2906 maybe-install-ash: install-ash
2908 install-ash: installdirs
2909 @: $(MAKE); $(unstage)
2910 @r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2912 $(HOST_EXPORTS) \
2913 (cd $(HOST_SUBDIR)/ash && \
2914 $(MAKE) $(FLAGS_TO_PASS) install)
2916 @endif ash
2918 # Other targets (info, dvi, pdf, etc.)
2920 .PHONY: maybe-info-ash info-ash
2921 maybe-info-ash:
2922 @if ash
2923 maybe-info-ash: info-ash
2925 info-ash: \
2926 configure-ash
2927 @: $(MAKE); $(unstage)
2928 @[ -f ./ash/Makefile ] || exit 0; \
2929 r=`${PWD_COMMAND}`; export r; \
2930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2931 $(HOST_EXPORTS) \
2932 for flag in $(EXTRA_HOST_FLAGS) ; do \
2933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2934 done; \
2935 echo "Doing info in ash" ; \
2936 (cd $(HOST_SUBDIR)/ash && \
2937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2939 "RANLIB=$${RANLIB}" \
2940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2941 info) \
2942 || exit 1
2944 @endif ash
2946 .PHONY: maybe-dvi-ash dvi-ash
2947 maybe-dvi-ash:
2948 @if ash
2949 maybe-dvi-ash: dvi-ash
2951 dvi-ash: \
2952 configure-ash
2953 @: $(MAKE); $(unstage)
2954 @[ -f ./ash/Makefile ] || exit 0; \
2955 r=`${PWD_COMMAND}`; export r; \
2956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2957 $(HOST_EXPORTS) \
2958 for flag in $(EXTRA_HOST_FLAGS) ; do \
2959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2960 done; \
2961 echo "Doing dvi in ash" ; \
2962 (cd $(HOST_SUBDIR)/ash && \
2963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2965 "RANLIB=$${RANLIB}" \
2966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2967 dvi) \
2968 || exit 1
2970 @endif ash
2972 .PHONY: maybe-pdf-ash pdf-ash
2973 maybe-pdf-ash:
2974 @if ash
2975 maybe-pdf-ash: pdf-ash
2977 pdf-ash: \
2978 configure-ash
2979 @: $(MAKE); $(unstage)
2980 @[ -f ./ash/Makefile ] || exit 0; \
2981 r=`${PWD_COMMAND}`; export r; \
2982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2983 $(HOST_EXPORTS) \
2984 for flag in $(EXTRA_HOST_FLAGS) ; do \
2985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2986 done; \
2987 echo "Doing pdf in ash" ; \
2988 (cd $(HOST_SUBDIR)/ash && \
2989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2991 "RANLIB=$${RANLIB}" \
2992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2993 pdf) \
2994 || exit 1
2996 @endif ash
2998 .PHONY: maybe-html-ash html-ash
2999 maybe-html-ash:
3000 @if ash
3001 maybe-html-ash: html-ash
3003 html-ash: \
3004 configure-ash
3005 @: $(MAKE); $(unstage)
3006 @[ -f ./ash/Makefile ] || exit 0; \
3007 r=`${PWD_COMMAND}`; export r; \
3008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3009 $(HOST_EXPORTS) \
3010 for flag in $(EXTRA_HOST_FLAGS) ; do \
3011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3012 done; \
3013 echo "Doing html in ash" ; \
3014 (cd $(HOST_SUBDIR)/ash && \
3015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3017 "RANLIB=$${RANLIB}" \
3018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3019 html) \
3020 || exit 1
3022 @endif ash
3024 .PHONY: maybe-TAGS-ash TAGS-ash
3025 maybe-TAGS-ash:
3026 @if ash
3027 maybe-TAGS-ash: TAGS-ash
3029 TAGS-ash: \
3030 configure-ash
3031 @: $(MAKE); $(unstage)
3032 @[ -f ./ash/Makefile ] || exit 0; \
3033 r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 $(HOST_EXPORTS) \
3036 for flag in $(EXTRA_HOST_FLAGS) ; do \
3037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038 done; \
3039 echo "Doing TAGS in ash" ; \
3040 (cd $(HOST_SUBDIR)/ash && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043 "RANLIB=$${RANLIB}" \
3044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045 TAGS) \
3046 || exit 1
3048 @endif ash
3050 .PHONY: maybe-install-info-ash install-info-ash
3051 maybe-install-info-ash:
3052 @if ash
3053 maybe-install-info-ash: install-info-ash
3055 install-info-ash: \
3056 configure-ash \
3057 info-ash
3058 @: $(MAKE); $(unstage)
3059 @[ -f ./ash/Makefile ] || exit 0; \
3060 r=`${PWD_COMMAND}`; export r; \
3061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3062 $(HOST_EXPORTS) \
3063 for flag in $(EXTRA_HOST_FLAGS) ; do \
3064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3065 done; \
3066 echo "Doing install-info in ash" ; \
3067 (cd $(HOST_SUBDIR)/ash && \
3068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3070 "RANLIB=$${RANLIB}" \
3071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3072 install-info) \
3073 || exit 1
3075 @endif ash
3077 .PHONY: maybe-install-html-ash install-html-ash
3078 maybe-install-html-ash:
3079 @if ash
3080 maybe-install-html-ash: install-html-ash
3082 install-html-ash: \
3083 configure-ash \
3084 html-ash
3085 @: $(MAKE); $(unstage)
3086 @[ -f ./ash/Makefile ] || exit 0; \
3087 r=`${PWD_COMMAND}`; export r; \
3088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3089 $(HOST_EXPORTS) \
3090 for flag in $(EXTRA_HOST_FLAGS) ; do \
3091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3092 done; \
3093 echo "Doing install-html in ash" ; \
3094 (cd $(HOST_SUBDIR)/ash && \
3095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3097 "RANLIB=$${RANLIB}" \
3098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3099 install-html) \
3100 || exit 1
3102 @endif ash
3104 .PHONY: maybe-installcheck-ash installcheck-ash
3105 maybe-installcheck-ash:
3106 @if ash
3107 maybe-installcheck-ash: installcheck-ash
3109 installcheck-ash: \
3110 configure-ash
3111 @: $(MAKE); $(unstage)
3112 @[ -f ./ash/Makefile ] || exit 0; \
3113 r=`${PWD_COMMAND}`; export r; \
3114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3115 $(HOST_EXPORTS) \
3116 for flag in $(EXTRA_HOST_FLAGS) ; do \
3117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3118 done; \
3119 echo "Doing installcheck in ash" ; \
3120 (cd $(HOST_SUBDIR)/ash && \
3121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3123 "RANLIB=$${RANLIB}" \
3124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3125 installcheck) \
3126 || exit 1
3128 @endif ash
3130 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3131 maybe-mostlyclean-ash:
3132 @if ash
3133 maybe-mostlyclean-ash: mostlyclean-ash
3135 mostlyclean-ash:
3136 @: $(MAKE); $(unstage)
3137 @[ -f ./ash/Makefile ] || exit 0; \
3138 r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 $(HOST_EXPORTS) \
3141 for flag in $(EXTRA_HOST_FLAGS) ; do \
3142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3143 done; \
3144 echo "Doing mostlyclean in ash" ; \
3145 (cd $(HOST_SUBDIR)/ash && \
3146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3148 "RANLIB=$${RANLIB}" \
3149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3150 mostlyclean) \
3151 || exit 1
3153 @endif ash
3155 .PHONY: maybe-clean-ash clean-ash
3156 maybe-clean-ash:
3157 @if ash
3158 maybe-clean-ash: clean-ash
3160 clean-ash:
3161 @: $(MAKE); $(unstage)
3162 @[ -f ./ash/Makefile ] || exit 0; \
3163 r=`${PWD_COMMAND}`; export r; \
3164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3165 $(HOST_EXPORTS) \
3166 for flag in $(EXTRA_HOST_FLAGS) ; do \
3167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3168 done; \
3169 echo "Doing clean in ash" ; \
3170 (cd $(HOST_SUBDIR)/ash && \
3171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3173 "RANLIB=$${RANLIB}" \
3174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3175 clean) \
3176 || exit 1
3178 @endif ash
3180 .PHONY: maybe-distclean-ash distclean-ash
3181 maybe-distclean-ash:
3182 @if ash
3183 maybe-distclean-ash: distclean-ash
3185 distclean-ash:
3186 @: $(MAKE); $(unstage)
3187 @[ -f ./ash/Makefile ] || exit 0; \
3188 r=`${PWD_COMMAND}`; export r; \
3189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3190 $(HOST_EXPORTS) \
3191 for flag in $(EXTRA_HOST_FLAGS) ; do \
3192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3193 done; \
3194 echo "Doing distclean in ash" ; \
3195 (cd $(HOST_SUBDIR)/ash && \
3196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3198 "RANLIB=$${RANLIB}" \
3199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3200 distclean) \
3201 || exit 1
3203 @endif ash
3205 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3206 maybe-maintainer-clean-ash:
3207 @if ash
3208 maybe-maintainer-clean-ash: maintainer-clean-ash
3210 maintainer-clean-ash:
3211 @: $(MAKE); $(unstage)
3212 @[ -f ./ash/Makefile ] || exit 0; \
3213 r=`${PWD_COMMAND}`; export r; \
3214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215 $(HOST_EXPORTS) \
3216 for flag in $(EXTRA_HOST_FLAGS) ; do \
3217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3218 done; \
3219 echo "Doing maintainer-clean in ash" ; \
3220 (cd $(HOST_SUBDIR)/ash && \
3221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3223 "RANLIB=$${RANLIB}" \
3224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3225 maintainer-clean) \
3226 || exit 1
3228 @endif ash
3232 .PHONY: configure-autoconf maybe-configure-autoconf
3233 maybe-configure-autoconf:
3234 @if gcc-bootstrap
3235 configure-autoconf: stage_current
3236 @endif gcc-bootstrap
3237 @if autoconf
3238 maybe-configure-autoconf: configure-autoconf
3239 configure-autoconf:
3240 @: $(MAKE); $(unstage)
3241 @r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3243 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3245 $(HOST_EXPORTS) \
3246 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3247 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3248 case $(srcdir) in \
3249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3250 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3252 esac; \
3253 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3254 libsrcdir="$$s/autoconf"; \
3255 $(SHELL) $${libsrcdir}/configure \
3256 $(HOST_CONFIGARGS) $${srcdiroption} \
3257 || exit 1
3258 @endif autoconf
3264 .PHONY: all-autoconf maybe-all-autoconf
3265 maybe-all-autoconf:
3266 @if gcc-bootstrap
3267 all-autoconf: stage_current
3268 @endif gcc-bootstrap
3269 @if autoconf
3270 TARGET-autoconf=all
3271 maybe-all-autoconf: all-autoconf
3272 all-autoconf: configure-autoconf
3273 @: $(MAKE); $(unstage)
3274 @r=`${PWD_COMMAND}`; export r; \
3275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3276 $(HOST_EXPORTS) \
3277 (cd $(HOST_SUBDIR)/autoconf && \
3278 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3279 @endif autoconf
3284 .PHONY: check-autoconf maybe-check-autoconf
3285 maybe-check-autoconf:
3286 @if autoconf
3287 maybe-check-autoconf: check-autoconf
3289 check-autoconf:
3290 @: $(MAKE); $(unstage)
3291 @r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3293 $(HOST_EXPORTS) \
3294 (cd $(HOST_SUBDIR)/autoconf && \
3295 $(MAKE) $(FLAGS_TO_PASS) check)
3297 @endif autoconf
3299 .PHONY: install-autoconf maybe-install-autoconf
3300 maybe-install-autoconf:
3301 @if autoconf
3302 maybe-install-autoconf: install-autoconf
3304 install-autoconf: installdirs
3305 @: $(MAKE); $(unstage)
3306 @r=`${PWD_COMMAND}`; export r; \
3307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3308 $(HOST_EXPORTS) \
3309 (cd $(HOST_SUBDIR)/autoconf && \
3310 $(MAKE) $(FLAGS_TO_PASS) install)
3312 @endif autoconf
3314 # Other targets (info, dvi, pdf, etc.)
3316 .PHONY: maybe-info-autoconf info-autoconf
3317 maybe-info-autoconf:
3318 @if autoconf
3319 maybe-info-autoconf: info-autoconf
3321 info-autoconf: \
3322 configure-autoconf
3323 @: $(MAKE); $(unstage)
3324 @[ -f ./autoconf/Makefile ] || exit 0; \
3325 r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327 $(HOST_EXPORTS) \
3328 for flag in $(EXTRA_HOST_FLAGS) ; do \
3329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3330 done; \
3331 echo "Doing info in autoconf" ; \
3332 (cd $(HOST_SUBDIR)/autoconf && \
3333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335 "RANLIB=$${RANLIB}" \
3336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3337 info) \
3338 || exit 1
3340 @endif autoconf
3342 .PHONY: maybe-dvi-autoconf dvi-autoconf
3343 maybe-dvi-autoconf:
3344 @if autoconf
3345 maybe-dvi-autoconf: dvi-autoconf
3347 dvi-autoconf: \
3348 configure-autoconf
3349 @: $(MAKE); $(unstage)
3350 @[ -f ./autoconf/Makefile ] || exit 0; \
3351 r=`${PWD_COMMAND}`; export r; \
3352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3353 $(HOST_EXPORTS) \
3354 for flag in $(EXTRA_HOST_FLAGS) ; do \
3355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3356 done; \
3357 echo "Doing dvi in autoconf" ; \
3358 (cd $(HOST_SUBDIR)/autoconf && \
3359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3361 "RANLIB=$${RANLIB}" \
3362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3363 dvi) \
3364 || exit 1
3366 @endif autoconf
3368 .PHONY: maybe-pdf-autoconf pdf-autoconf
3369 maybe-pdf-autoconf:
3370 @if autoconf
3371 maybe-pdf-autoconf: pdf-autoconf
3373 pdf-autoconf: \
3374 configure-autoconf
3375 @: $(MAKE); $(unstage)
3376 @[ -f ./autoconf/Makefile ] || exit 0; \
3377 r=`${PWD_COMMAND}`; export r; \
3378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 $(HOST_EXPORTS) \
3380 for flag in $(EXTRA_HOST_FLAGS) ; do \
3381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3382 done; \
3383 echo "Doing pdf in autoconf" ; \
3384 (cd $(HOST_SUBDIR)/autoconf && \
3385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3387 "RANLIB=$${RANLIB}" \
3388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3389 pdf) \
3390 || exit 1
3392 @endif autoconf
3394 .PHONY: maybe-html-autoconf html-autoconf
3395 maybe-html-autoconf:
3396 @if autoconf
3397 maybe-html-autoconf: html-autoconf
3399 html-autoconf: \
3400 configure-autoconf
3401 @: $(MAKE); $(unstage)
3402 @[ -f ./autoconf/Makefile ] || exit 0; \
3403 r=`${PWD_COMMAND}`; export r; \
3404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3405 $(HOST_EXPORTS) \
3406 for flag in $(EXTRA_HOST_FLAGS) ; do \
3407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3408 done; \
3409 echo "Doing html in autoconf" ; \
3410 (cd $(HOST_SUBDIR)/autoconf && \
3411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3413 "RANLIB=$${RANLIB}" \
3414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3415 html) \
3416 || exit 1
3418 @endif autoconf
3420 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3421 maybe-TAGS-autoconf:
3422 @if autoconf
3423 maybe-TAGS-autoconf: TAGS-autoconf
3425 TAGS-autoconf: \
3426 configure-autoconf
3427 @: $(MAKE); $(unstage)
3428 @[ -f ./autoconf/Makefile ] || exit 0; \
3429 r=`${PWD_COMMAND}`; export r; \
3430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3431 $(HOST_EXPORTS) \
3432 for flag in $(EXTRA_HOST_FLAGS) ; do \
3433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3434 done; \
3435 echo "Doing TAGS in autoconf" ; \
3436 (cd $(HOST_SUBDIR)/autoconf && \
3437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3439 "RANLIB=$${RANLIB}" \
3440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3441 TAGS) \
3442 || exit 1
3444 @endif autoconf
3446 .PHONY: maybe-install-info-autoconf install-info-autoconf
3447 maybe-install-info-autoconf:
3448 @if autoconf
3449 maybe-install-info-autoconf: install-info-autoconf
3451 install-info-autoconf: \
3452 configure-autoconf \
3453 info-autoconf
3454 @: $(MAKE); $(unstage)
3455 @[ -f ./autoconf/Makefile ] || exit 0; \
3456 r=`${PWD_COMMAND}`; export r; \
3457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458 $(HOST_EXPORTS) \
3459 for flag in $(EXTRA_HOST_FLAGS) ; do \
3460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3461 done; \
3462 echo "Doing install-info in autoconf" ; \
3463 (cd $(HOST_SUBDIR)/autoconf && \
3464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3466 "RANLIB=$${RANLIB}" \
3467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3468 install-info) \
3469 || exit 1
3471 @endif autoconf
3473 .PHONY: maybe-install-html-autoconf install-html-autoconf
3474 maybe-install-html-autoconf:
3475 @if autoconf
3476 maybe-install-html-autoconf: install-html-autoconf
3478 install-html-autoconf: \
3479 configure-autoconf \
3480 html-autoconf
3481 @: $(MAKE); $(unstage)
3482 @[ -f ./autoconf/Makefile ] || exit 0; \
3483 r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 $(HOST_EXPORTS) \
3486 for flag in $(EXTRA_HOST_FLAGS) ; do \
3487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3488 done; \
3489 echo "Doing install-html in autoconf" ; \
3490 (cd $(HOST_SUBDIR)/autoconf && \
3491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3493 "RANLIB=$${RANLIB}" \
3494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3495 install-html) \
3496 || exit 1
3498 @endif autoconf
3500 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3501 maybe-installcheck-autoconf:
3502 @if autoconf
3503 maybe-installcheck-autoconf: installcheck-autoconf
3505 installcheck-autoconf: \
3506 configure-autoconf
3507 @: $(MAKE); $(unstage)
3508 @[ -f ./autoconf/Makefile ] || exit 0; \
3509 r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 $(HOST_EXPORTS) \
3512 for flag in $(EXTRA_HOST_FLAGS) ; do \
3513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3514 done; \
3515 echo "Doing installcheck in autoconf" ; \
3516 (cd $(HOST_SUBDIR)/autoconf && \
3517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3519 "RANLIB=$${RANLIB}" \
3520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3521 installcheck) \
3522 || exit 1
3524 @endif autoconf
3526 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3527 maybe-mostlyclean-autoconf:
3528 @if autoconf
3529 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3531 mostlyclean-autoconf:
3532 @: $(MAKE); $(unstage)
3533 @[ -f ./autoconf/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(HOST_EXPORTS) \
3537 for flag in $(EXTRA_HOST_FLAGS) ; do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539 done; \
3540 echo "Doing mostlyclean in autoconf" ; \
3541 (cd $(HOST_SUBDIR)/autoconf && \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3546 mostlyclean) \
3547 || exit 1
3549 @endif autoconf
3551 .PHONY: maybe-clean-autoconf clean-autoconf
3552 maybe-clean-autoconf:
3553 @if autoconf
3554 maybe-clean-autoconf: clean-autoconf
3556 clean-autoconf:
3557 @: $(MAKE); $(unstage)
3558 @[ -f ./autoconf/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 $(HOST_EXPORTS) \
3562 for flag in $(EXTRA_HOST_FLAGS) ; do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564 done; \
3565 echo "Doing clean in autoconf" ; \
3566 (cd $(HOST_SUBDIR)/autoconf && \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3571 clean) \
3572 || exit 1
3574 @endif autoconf
3576 .PHONY: maybe-distclean-autoconf distclean-autoconf
3577 maybe-distclean-autoconf:
3578 @if autoconf
3579 maybe-distclean-autoconf: distclean-autoconf
3581 distclean-autoconf:
3582 @: $(MAKE); $(unstage)
3583 @[ -f ./autoconf/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 $(HOST_EXPORTS) \
3587 for flag in $(EXTRA_HOST_FLAGS) ; do \
3588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3589 done; \
3590 echo "Doing distclean in autoconf" ; \
3591 (cd $(HOST_SUBDIR)/autoconf && \
3592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3594 "RANLIB=$${RANLIB}" \
3595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3596 distclean) \
3597 || exit 1
3599 @endif autoconf
3601 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3602 maybe-maintainer-clean-autoconf:
3603 @if autoconf
3604 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3606 maintainer-clean-autoconf:
3607 @: $(MAKE); $(unstage)
3608 @[ -f ./autoconf/Makefile ] || exit 0; \
3609 r=`${PWD_COMMAND}`; export r; \
3610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3611 $(HOST_EXPORTS) \
3612 for flag in $(EXTRA_HOST_FLAGS) ; do \
3613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3614 done; \
3615 echo "Doing maintainer-clean in autoconf" ; \
3616 (cd $(HOST_SUBDIR)/autoconf && \
3617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3619 "RANLIB=$${RANLIB}" \
3620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3621 maintainer-clean) \
3622 || exit 1
3624 @endif autoconf
3628 .PHONY: configure-automake maybe-configure-automake
3629 maybe-configure-automake:
3630 @if gcc-bootstrap
3631 configure-automake: stage_current
3632 @endif gcc-bootstrap
3633 @if automake
3634 maybe-configure-automake: configure-automake
3635 configure-automake:
3636 @: $(MAKE); $(unstage)
3637 @r=`${PWD_COMMAND}`; export r; \
3638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3641 $(HOST_EXPORTS) \
3642 echo Configuring in $(HOST_SUBDIR)/automake; \
3643 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3644 case $(srcdir) in \
3645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3646 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3648 esac; \
3649 srcdiroption="--srcdir=$${topdir}/automake"; \
3650 libsrcdir="$$s/automake"; \
3651 $(SHELL) $${libsrcdir}/configure \
3652 $(HOST_CONFIGARGS) $${srcdiroption} \
3653 || exit 1
3654 @endif automake
3660 .PHONY: all-automake maybe-all-automake
3661 maybe-all-automake:
3662 @if gcc-bootstrap
3663 all-automake: stage_current
3664 @endif gcc-bootstrap
3665 @if automake
3666 TARGET-automake=all
3667 maybe-all-automake: all-automake
3668 all-automake: configure-automake
3669 @: $(MAKE); $(unstage)
3670 @r=`${PWD_COMMAND}`; export r; \
3671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3672 $(HOST_EXPORTS) \
3673 (cd $(HOST_SUBDIR)/automake && \
3674 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3675 @endif automake
3680 .PHONY: check-automake maybe-check-automake
3681 maybe-check-automake:
3682 @if automake
3683 maybe-check-automake: check-automake
3685 check-automake:
3686 @: $(MAKE); $(unstage)
3687 @r=`${PWD_COMMAND}`; export r; \
3688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3689 $(HOST_EXPORTS) \
3690 (cd $(HOST_SUBDIR)/automake && \
3691 $(MAKE) $(FLAGS_TO_PASS) check)
3693 @endif automake
3695 .PHONY: install-automake maybe-install-automake
3696 maybe-install-automake:
3697 @if automake
3698 maybe-install-automake: install-automake
3700 install-automake: installdirs
3701 @: $(MAKE); $(unstage)
3702 @r=`${PWD_COMMAND}`; export r; \
3703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3704 $(HOST_EXPORTS) \
3705 (cd $(HOST_SUBDIR)/automake && \
3706 $(MAKE) $(FLAGS_TO_PASS) install)
3708 @endif automake
3710 # Other targets (info, dvi, pdf, etc.)
3712 .PHONY: maybe-info-automake info-automake
3713 maybe-info-automake:
3714 @if automake
3715 maybe-info-automake: info-automake
3717 info-automake: \
3718 configure-automake
3719 @: $(MAKE); $(unstage)
3720 @[ -f ./automake/Makefile ] || exit 0; \
3721 r=`${PWD_COMMAND}`; export r; \
3722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3723 $(HOST_EXPORTS) \
3724 for flag in $(EXTRA_HOST_FLAGS) ; do \
3725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3726 done; \
3727 echo "Doing info in automake" ; \
3728 (cd $(HOST_SUBDIR)/automake && \
3729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3731 "RANLIB=$${RANLIB}" \
3732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3733 info) \
3734 || exit 1
3736 @endif automake
3738 .PHONY: maybe-dvi-automake dvi-automake
3739 maybe-dvi-automake:
3740 @if automake
3741 maybe-dvi-automake: dvi-automake
3743 dvi-automake: \
3744 configure-automake
3745 @: $(MAKE); $(unstage)
3746 @[ -f ./automake/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(HOST_EXPORTS) \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing dvi in automake" ; \
3754 (cd $(HOST_SUBDIR)/automake && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3759 dvi) \
3760 || exit 1
3762 @endif automake
3764 .PHONY: maybe-pdf-automake pdf-automake
3765 maybe-pdf-automake:
3766 @if automake
3767 maybe-pdf-automake: pdf-automake
3769 pdf-automake: \
3770 configure-automake
3771 @: $(MAKE); $(unstage)
3772 @[ -f ./automake/Makefile ] || exit 0; \
3773 r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(HOST_EXPORTS) \
3776 for flag in $(EXTRA_HOST_FLAGS) ; do \
3777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3778 done; \
3779 echo "Doing pdf in automake" ; \
3780 (cd $(HOST_SUBDIR)/automake && \
3781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3783 "RANLIB=$${RANLIB}" \
3784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3785 pdf) \
3786 || exit 1
3788 @endif automake
3790 .PHONY: maybe-html-automake html-automake
3791 maybe-html-automake:
3792 @if automake
3793 maybe-html-automake: html-automake
3795 html-automake: \
3796 configure-automake
3797 @: $(MAKE); $(unstage)
3798 @[ -f ./automake/Makefile ] || exit 0; \
3799 r=`${PWD_COMMAND}`; export r; \
3800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3801 $(HOST_EXPORTS) \
3802 for flag in $(EXTRA_HOST_FLAGS) ; do \
3803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3804 done; \
3805 echo "Doing html in automake" ; \
3806 (cd $(HOST_SUBDIR)/automake && \
3807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3809 "RANLIB=$${RANLIB}" \
3810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3811 html) \
3812 || exit 1
3814 @endif automake
3816 .PHONY: maybe-TAGS-automake TAGS-automake
3817 maybe-TAGS-automake:
3818 @if automake
3819 maybe-TAGS-automake: TAGS-automake
3821 TAGS-automake: \
3822 configure-automake
3823 @: $(MAKE); $(unstage)
3824 @[ -f ./automake/Makefile ] || exit 0; \
3825 r=`${PWD_COMMAND}`; export r; \
3826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3827 $(HOST_EXPORTS) \
3828 for flag in $(EXTRA_HOST_FLAGS) ; do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830 done; \
3831 echo "Doing TAGS in automake" ; \
3832 (cd $(HOST_SUBDIR)/automake && \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3837 TAGS) \
3838 || exit 1
3840 @endif automake
3842 .PHONY: maybe-install-info-automake install-info-automake
3843 maybe-install-info-automake:
3844 @if automake
3845 maybe-install-info-automake: install-info-automake
3847 install-info-automake: \
3848 configure-automake \
3849 info-automake
3850 @: $(MAKE); $(unstage)
3851 @[ -f ./automake/Makefile ] || exit 0; \
3852 r=`${PWD_COMMAND}`; export r; \
3853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854 $(HOST_EXPORTS) \
3855 for flag in $(EXTRA_HOST_FLAGS) ; do \
3856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3857 done; \
3858 echo "Doing install-info in automake" ; \
3859 (cd $(HOST_SUBDIR)/automake && \
3860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3862 "RANLIB=$${RANLIB}" \
3863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3864 install-info) \
3865 || exit 1
3867 @endif automake
3869 .PHONY: maybe-install-html-automake install-html-automake
3870 maybe-install-html-automake:
3871 @if automake
3872 maybe-install-html-automake: install-html-automake
3874 install-html-automake: \
3875 configure-automake \
3876 html-automake
3877 @: $(MAKE); $(unstage)
3878 @[ -f ./automake/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(HOST_EXPORTS) \
3882 for flag in $(EXTRA_HOST_FLAGS) ; do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing install-html in automake" ; \
3886 (cd $(HOST_SUBDIR)/automake && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 install-html) \
3892 || exit 1
3894 @endif automake
3896 .PHONY: maybe-installcheck-automake installcheck-automake
3897 maybe-installcheck-automake:
3898 @if automake
3899 maybe-installcheck-automake: installcheck-automake
3901 installcheck-automake: \
3902 configure-automake
3903 @: $(MAKE); $(unstage)
3904 @[ -f ./automake/Makefile ] || exit 0; \
3905 r=`${PWD_COMMAND}`; export r; \
3906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3907 $(HOST_EXPORTS) \
3908 for flag in $(EXTRA_HOST_FLAGS) ; do \
3909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3910 done; \
3911 echo "Doing installcheck in automake" ; \
3912 (cd $(HOST_SUBDIR)/automake && \
3913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3915 "RANLIB=$${RANLIB}" \
3916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3917 installcheck) \
3918 || exit 1
3920 @endif automake
3922 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3923 maybe-mostlyclean-automake:
3924 @if automake
3925 maybe-mostlyclean-automake: mostlyclean-automake
3927 mostlyclean-automake:
3928 @: $(MAKE); $(unstage)
3929 @[ -f ./automake/Makefile ] || exit 0; \
3930 r=`${PWD_COMMAND}`; export r; \
3931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3932 $(HOST_EXPORTS) \
3933 for flag in $(EXTRA_HOST_FLAGS) ; do \
3934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3935 done; \
3936 echo "Doing mostlyclean in automake" ; \
3937 (cd $(HOST_SUBDIR)/automake && \
3938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3940 "RANLIB=$${RANLIB}" \
3941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3942 mostlyclean) \
3943 || exit 1
3945 @endif automake
3947 .PHONY: maybe-clean-automake clean-automake
3948 maybe-clean-automake:
3949 @if automake
3950 maybe-clean-automake: clean-automake
3952 clean-automake:
3953 @: $(MAKE); $(unstage)
3954 @[ -f ./automake/Makefile ] || exit 0; \
3955 r=`${PWD_COMMAND}`; export r; \
3956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 $(HOST_EXPORTS) \
3958 for flag in $(EXTRA_HOST_FLAGS) ; do \
3959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3960 done; \
3961 echo "Doing clean in automake" ; \
3962 (cd $(HOST_SUBDIR)/automake && \
3963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3965 "RANLIB=$${RANLIB}" \
3966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3967 clean) \
3968 || exit 1
3970 @endif automake
3972 .PHONY: maybe-distclean-automake distclean-automake
3973 maybe-distclean-automake:
3974 @if automake
3975 maybe-distclean-automake: distclean-automake
3977 distclean-automake:
3978 @: $(MAKE); $(unstage)
3979 @[ -f ./automake/Makefile ] || exit 0; \
3980 r=`${PWD_COMMAND}`; export r; \
3981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3982 $(HOST_EXPORTS) \
3983 for flag in $(EXTRA_HOST_FLAGS) ; do \
3984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3985 done; \
3986 echo "Doing distclean in automake" ; \
3987 (cd $(HOST_SUBDIR)/automake && \
3988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3990 "RANLIB=$${RANLIB}" \
3991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3992 distclean) \
3993 || exit 1
3995 @endif automake
3997 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3998 maybe-maintainer-clean-automake:
3999 @if automake
4000 maybe-maintainer-clean-automake: maintainer-clean-automake
4002 maintainer-clean-automake:
4003 @: $(MAKE); $(unstage)
4004 @[ -f ./automake/Makefile ] || exit 0; \
4005 r=`${PWD_COMMAND}`; export r; \
4006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4007 $(HOST_EXPORTS) \
4008 for flag in $(EXTRA_HOST_FLAGS) ; do \
4009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4010 done; \
4011 echo "Doing maintainer-clean in automake" ; \
4012 (cd $(HOST_SUBDIR)/automake && \
4013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4015 "RANLIB=$${RANLIB}" \
4016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4017 maintainer-clean) \
4018 || exit 1
4020 @endif automake
4024 .PHONY: configure-bash maybe-configure-bash
4025 maybe-configure-bash:
4026 @if gcc-bootstrap
4027 configure-bash: stage_current
4028 @endif gcc-bootstrap
4029 @if bash
4030 maybe-configure-bash: configure-bash
4031 configure-bash:
4032 @: $(MAKE); $(unstage)
4033 @r=`${PWD_COMMAND}`; export r; \
4034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4035 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4037 $(HOST_EXPORTS) \
4038 echo Configuring in $(HOST_SUBDIR)/bash; \
4039 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4040 case $(srcdir) in \
4041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4042 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4044 esac; \
4045 srcdiroption="--srcdir=$${topdir}/bash"; \
4046 libsrcdir="$$s/bash"; \
4047 $(SHELL) $${libsrcdir}/configure \
4048 $(HOST_CONFIGARGS) $${srcdiroption} \
4049 || exit 1
4050 @endif bash
4056 .PHONY: all-bash maybe-all-bash
4057 maybe-all-bash:
4058 @if gcc-bootstrap
4059 all-bash: stage_current
4060 @endif gcc-bootstrap
4061 @if bash
4062 TARGET-bash=all
4063 maybe-all-bash: all-bash
4064 all-bash: configure-bash
4065 @: $(MAKE); $(unstage)
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 $(HOST_EXPORTS) \
4069 (cd $(HOST_SUBDIR)/bash && \
4070 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4071 @endif bash
4076 .PHONY: check-bash maybe-check-bash
4077 maybe-check-bash:
4078 @if bash
4079 maybe-check-bash: check-bash
4081 check-bash:
4082 @: $(MAKE); $(unstage)
4083 @r=`${PWD_COMMAND}`; export r; \
4084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4085 $(HOST_EXPORTS) \
4086 (cd $(HOST_SUBDIR)/bash && \
4087 $(MAKE) $(FLAGS_TO_PASS) check)
4089 @endif bash
4091 .PHONY: install-bash maybe-install-bash
4092 maybe-install-bash:
4093 @if bash
4094 maybe-install-bash: install-bash
4096 install-bash: installdirs
4097 @: $(MAKE); $(unstage)
4098 @r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4100 $(HOST_EXPORTS) \
4101 (cd $(HOST_SUBDIR)/bash && \
4102 $(MAKE) $(FLAGS_TO_PASS) install)
4104 @endif bash
4106 # Other targets (info, dvi, pdf, etc.)
4108 .PHONY: maybe-info-bash info-bash
4109 maybe-info-bash:
4110 @if bash
4111 maybe-info-bash: info-bash
4113 info-bash: \
4114 configure-bash
4115 @: $(MAKE); $(unstage)
4116 @[ -f ./bash/Makefile ] || exit 0; \
4117 r=`${PWD_COMMAND}`; export r; \
4118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4119 $(HOST_EXPORTS) \
4120 for flag in $(EXTRA_HOST_FLAGS) ; do \
4121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4122 done; \
4123 echo "Doing info in bash" ; \
4124 (cd $(HOST_SUBDIR)/bash && \
4125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4127 "RANLIB=$${RANLIB}" \
4128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4129 info) \
4130 || exit 1
4132 @endif bash
4134 .PHONY: maybe-dvi-bash dvi-bash
4135 maybe-dvi-bash:
4136 @if bash
4137 maybe-dvi-bash: dvi-bash
4139 dvi-bash: \
4140 configure-bash
4141 @: $(MAKE); $(unstage)
4142 @[ -f ./bash/Makefile ] || exit 0; \
4143 r=`${PWD_COMMAND}`; export r; \
4144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4145 $(HOST_EXPORTS) \
4146 for flag in $(EXTRA_HOST_FLAGS) ; do \
4147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4148 done; \
4149 echo "Doing dvi in bash" ; \
4150 (cd $(HOST_SUBDIR)/bash && \
4151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4153 "RANLIB=$${RANLIB}" \
4154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4155 dvi) \
4156 || exit 1
4158 @endif bash
4160 .PHONY: maybe-pdf-bash pdf-bash
4161 maybe-pdf-bash:
4162 @if bash
4163 maybe-pdf-bash: pdf-bash
4165 pdf-bash: \
4166 configure-bash
4167 @: $(MAKE); $(unstage)
4168 @[ -f ./bash/Makefile ] || exit 0; \
4169 r=`${PWD_COMMAND}`; export r; \
4170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4171 $(HOST_EXPORTS) \
4172 for flag in $(EXTRA_HOST_FLAGS) ; do \
4173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4174 done; \
4175 echo "Doing pdf in bash" ; \
4176 (cd $(HOST_SUBDIR)/bash && \
4177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4179 "RANLIB=$${RANLIB}" \
4180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4181 pdf) \
4182 || exit 1
4184 @endif bash
4186 .PHONY: maybe-html-bash html-bash
4187 maybe-html-bash:
4188 @if bash
4189 maybe-html-bash: html-bash
4191 html-bash: \
4192 configure-bash
4193 @: $(MAKE); $(unstage)
4194 @[ -f ./bash/Makefile ] || exit 0; \
4195 r=`${PWD_COMMAND}`; export r; \
4196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4197 $(HOST_EXPORTS) \
4198 for flag in $(EXTRA_HOST_FLAGS) ; do \
4199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4200 done; \
4201 echo "Doing html in bash" ; \
4202 (cd $(HOST_SUBDIR)/bash && \
4203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4205 "RANLIB=$${RANLIB}" \
4206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4207 html) \
4208 || exit 1
4210 @endif bash
4212 .PHONY: maybe-TAGS-bash TAGS-bash
4213 maybe-TAGS-bash:
4214 @if bash
4215 maybe-TAGS-bash: TAGS-bash
4217 TAGS-bash: \
4218 configure-bash
4219 @: $(MAKE); $(unstage)
4220 @[ -f ./bash/Makefile ] || exit 0; \
4221 r=`${PWD_COMMAND}`; export r; \
4222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4223 $(HOST_EXPORTS) \
4224 for flag in $(EXTRA_HOST_FLAGS) ; do \
4225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4226 done; \
4227 echo "Doing TAGS in bash" ; \
4228 (cd $(HOST_SUBDIR)/bash && \
4229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4231 "RANLIB=$${RANLIB}" \
4232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4233 TAGS) \
4234 || exit 1
4236 @endif bash
4238 .PHONY: maybe-install-info-bash install-info-bash
4239 maybe-install-info-bash:
4240 @if bash
4241 maybe-install-info-bash: install-info-bash
4243 install-info-bash: \
4244 configure-bash \
4245 info-bash
4246 @: $(MAKE); $(unstage)
4247 @[ -f ./bash/Makefile ] || exit 0; \
4248 r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 $(HOST_EXPORTS) \
4251 for flag in $(EXTRA_HOST_FLAGS) ; do \
4252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4253 done; \
4254 echo "Doing install-info in bash" ; \
4255 (cd $(HOST_SUBDIR)/bash && \
4256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4258 "RANLIB=$${RANLIB}" \
4259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4260 install-info) \
4261 || exit 1
4263 @endif bash
4265 .PHONY: maybe-install-html-bash install-html-bash
4266 maybe-install-html-bash:
4267 @if bash
4268 maybe-install-html-bash: install-html-bash
4270 install-html-bash: \
4271 configure-bash \
4272 html-bash
4273 @: $(MAKE); $(unstage)
4274 @[ -f ./bash/Makefile ] || exit 0; \
4275 r=`${PWD_COMMAND}`; export r; \
4276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4277 $(HOST_EXPORTS) \
4278 for flag in $(EXTRA_HOST_FLAGS) ; do \
4279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4280 done; \
4281 echo "Doing install-html in bash" ; \
4282 (cd $(HOST_SUBDIR)/bash && \
4283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4285 "RANLIB=$${RANLIB}" \
4286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4287 install-html) \
4288 || exit 1
4290 @endif bash
4292 .PHONY: maybe-installcheck-bash installcheck-bash
4293 maybe-installcheck-bash:
4294 @if bash
4295 maybe-installcheck-bash: installcheck-bash
4297 installcheck-bash: \
4298 configure-bash
4299 @: $(MAKE); $(unstage)
4300 @[ -f ./bash/Makefile ] || exit 0; \
4301 r=`${PWD_COMMAND}`; export r; \
4302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4303 $(HOST_EXPORTS) \
4304 for flag in $(EXTRA_HOST_FLAGS) ; do \
4305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4306 done; \
4307 echo "Doing installcheck in bash" ; \
4308 (cd $(HOST_SUBDIR)/bash && \
4309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4311 "RANLIB=$${RANLIB}" \
4312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4313 installcheck) \
4314 || exit 1
4316 @endif bash
4318 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4319 maybe-mostlyclean-bash:
4320 @if bash
4321 maybe-mostlyclean-bash: mostlyclean-bash
4323 mostlyclean-bash:
4324 @: $(MAKE); $(unstage)
4325 @[ -f ./bash/Makefile ] || exit 0; \
4326 r=`${PWD_COMMAND}`; export r; \
4327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4328 $(HOST_EXPORTS) \
4329 for flag in $(EXTRA_HOST_FLAGS) ; do \
4330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4331 done; \
4332 echo "Doing mostlyclean in bash" ; \
4333 (cd $(HOST_SUBDIR)/bash && \
4334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4336 "RANLIB=$${RANLIB}" \
4337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4338 mostlyclean) \
4339 || exit 1
4341 @endif bash
4343 .PHONY: maybe-clean-bash clean-bash
4344 maybe-clean-bash:
4345 @if bash
4346 maybe-clean-bash: clean-bash
4348 clean-bash:
4349 @: $(MAKE); $(unstage)
4350 @[ -f ./bash/Makefile ] || exit 0; \
4351 r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 $(HOST_EXPORTS) \
4354 for flag in $(EXTRA_HOST_FLAGS) ; do \
4355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4356 done; \
4357 echo "Doing clean in bash" ; \
4358 (cd $(HOST_SUBDIR)/bash && \
4359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4361 "RANLIB=$${RANLIB}" \
4362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4363 clean) \
4364 || exit 1
4366 @endif bash
4368 .PHONY: maybe-distclean-bash distclean-bash
4369 maybe-distclean-bash:
4370 @if bash
4371 maybe-distclean-bash: distclean-bash
4373 distclean-bash:
4374 @: $(MAKE); $(unstage)
4375 @[ -f ./bash/Makefile ] || exit 0; \
4376 r=`${PWD_COMMAND}`; export r; \
4377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4378 $(HOST_EXPORTS) \
4379 for flag in $(EXTRA_HOST_FLAGS) ; do \
4380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4381 done; \
4382 echo "Doing distclean in bash" ; \
4383 (cd $(HOST_SUBDIR)/bash && \
4384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4386 "RANLIB=$${RANLIB}" \
4387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4388 distclean) \
4389 || exit 1
4391 @endif bash
4393 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4394 maybe-maintainer-clean-bash:
4395 @if bash
4396 maybe-maintainer-clean-bash: maintainer-clean-bash
4398 maintainer-clean-bash:
4399 @: $(MAKE); $(unstage)
4400 @[ -f ./bash/Makefile ] || exit 0; \
4401 r=`${PWD_COMMAND}`; export r; \
4402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4403 $(HOST_EXPORTS) \
4404 for flag in $(EXTRA_HOST_FLAGS) ; do \
4405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4406 done; \
4407 echo "Doing maintainer-clean in bash" ; \
4408 (cd $(HOST_SUBDIR)/bash && \
4409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4411 "RANLIB=$${RANLIB}" \
4412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4413 maintainer-clean) \
4414 || exit 1
4416 @endif bash
4420 .PHONY: configure-bfd maybe-configure-bfd
4421 maybe-configure-bfd:
4422 @if gcc-bootstrap
4423 configure-bfd: stage_current
4424 @endif gcc-bootstrap
4425 @if bfd
4426 maybe-configure-bfd: configure-bfd
4427 configure-bfd:
4428 @r=`${PWD_COMMAND}`; export r; \
4429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4430 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4432 $(HOST_EXPORTS) \
4433 echo Configuring in $(HOST_SUBDIR)/bfd; \
4434 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4435 case $(srcdir) in \
4436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4437 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4439 esac; \
4440 srcdiroption="--srcdir=$${topdir}/bfd"; \
4441 libsrcdir="$$s/bfd"; \
4442 $(SHELL) $${libsrcdir}/configure \
4443 $(HOST_CONFIGARGS) $${srcdiroption} \
4444 || exit 1
4445 @endif bfd
4449 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4450 maybe-configure-stage1-bfd:
4451 @if bfd-bootstrap
4452 maybe-configure-stage1-bfd: configure-stage1-bfd
4453 configure-stage1-bfd:
4454 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4456 @r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4459 $(HOST_EXPORTS) \
4460 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4461 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4462 cd $(HOST_SUBDIR)/bfd || exit 1; \
4463 case $(srcdir) in \
4464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4465 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4467 esac; \
4468 srcdiroption="--srcdir=$${topdir}/bfd"; \
4469 libsrcdir="$$s/bfd"; \
4470 $(SHELL) $${libsrcdir}/configure \
4471 $(HOST_CONFIGARGS) $${srcdiroption} \
4473 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4474 @endif bfd-bootstrap
4476 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4477 maybe-configure-stage2-bfd:
4478 @if bfd-bootstrap
4479 maybe-configure-stage2-bfd: configure-stage2-bfd
4480 configure-stage2-bfd:
4481 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4483 @r=`${PWD_COMMAND}`; export r; \
4484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4485 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4486 $(HOST_EXPORTS) \
4487 $(POSTSTAGE1_HOST_EXPORTS) \
4488 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4490 cd $(HOST_SUBDIR)/bfd || exit 1; \
4491 case $(srcdir) in \
4492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4493 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4495 esac; \
4496 srcdiroption="--srcdir=$${topdir}/bfd"; \
4497 libsrcdir="$$s/bfd"; \
4498 $(SHELL) $${libsrcdir}/configure \
4499 $(HOST_CONFIGARGS) $${srcdiroption} \
4500 --with-build-libsubdir=$(HOST_SUBDIR) \
4501 @stage2_werror_flag@
4502 @endif bfd-bootstrap
4504 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4505 maybe-configure-stage3-bfd:
4506 @if bfd-bootstrap
4507 maybe-configure-stage3-bfd: configure-stage3-bfd
4508 configure-stage3-bfd:
4509 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4511 @r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4514 $(HOST_EXPORTS) \
4515 $(POSTSTAGE1_HOST_EXPORTS) \
4516 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4518 cd $(HOST_SUBDIR)/bfd || exit 1; \
4519 case $(srcdir) in \
4520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4521 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4523 esac; \
4524 srcdiroption="--srcdir=$${topdir}/bfd"; \
4525 libsrcdir="$$s/bfd"; \
4526 $(SHELL) $${libsrcdir}/configure \
4527 $(HOST_CONFIGARGS) $${srcdiroption} \
4528 --with-build-libsubdir=$(HOST_SUBDIR) \
4529 @stage2_werror_flag@
4530 @endif bfd-bootstrap
4532 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4533 maybe-configure-stage4-bfd:
4534 @if bfd-bootstrap
4535 maybe-configure-stage4-bfd: configure-stage4-bfd
4536 configure-stage4-bfd:
4537 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4539 @r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4541 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4542 $(HOST_EXPORTS) \
4543 $(POSTSTAGE1_HOST_EXPORTS) \
4544 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4546 cd $(HOST_SUBDIR)/bfd || exit 1; \
4547 case $(srcdir) in \
4548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4549 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4551 esac; \
4552 srcdiroption="--srcdir=$${topdir}/bfd"; \
4553 libsrcdir="$$s/bfd"; \
4554 $(SHELL) $${libsrcdir}/configure \
4555 $(HOST_CONFIGARGS) $${srcdiroption} \
4556 --with-build-libsubdir=$(HOST_SUBDIR) \
4557 @stage2_werror_flag@
4558 @endif bfd-bootstrap
4560 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4561 maybe-configure-stageprofile-bfd:
4562 @if bfd-bootstrap
4563 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4564 configure-stageprofile-bfd:
4565 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4567 @r=`${PWD_COMMAND}`; export r; \
4568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4570 $(HOST_EXPORTS) \
4571 $(POSTSTAGE1_HOST_EXPORTS) \
4572 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4574 cd $(HOST_SUBDIR)/bfd || exit 1; \
4575 case $(srcdir) in \
4576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4577 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4579 esac; \
4580 srcdiroption="--srcdir=$${topdir}/bfd"; \
4581 libsrcdir="$$s/bfd"; \
4582 $(SHELL) $${libsrcdir}/configure \
4583 $(HOST_CONFIGARGS) $${srcdiroption} \
4584 --with-build-libsubdir=$(HOST_SUBDIR) \
4585 @stage2_werror_flag@
4586 @endif bfd-bootstrap
4588 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4589 maybe-configure-stagefeedback-bfd:
4590 @if bfd-bootstrap
4591 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4592 configure-stagefeedback-bfd:
4593 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4595 @r=`${PWD_COMMAND}`; export r; \
4596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4597 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4598 $(HOST_EXPORTS) \
4599 $(POSTSTAGE1_HOST_EXPORTS) \
4600 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4602 cd $(HOST_SUBDIR)/bfd || exit 1; \
4603 case $(srcdir) in \
4604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4605 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4607 esac; \
4608 srcdiroption="--srcdir=$${topdir}/bfd"; \
4609 libsrcdir="$$s/bfd"; \
4610 $(SHELL) $${libsrcdir}/configure \
4611 $(HOST_CONFIGARGS) $${srcdiroption} \
4612 --with-build-libsubdir=$(HOST_SUBDIR) \
4613 @stage2_werror_flag@
4614 @endif bfd-bootstrap
4620 .PHONY: all-bfd maybe-all-bfd
4621 maybe-all-bfd:
4622 @if gcc-bootstrap
4623 all-bfd: stage_current
4624 @endif gcc-bootstrap
4625 @if bfd
4626 TARGET-bfd=all
4627 maybe-all-bfd: all-bfd
4628 all-bfd: configure-bfd
4629 @r=`${PWD_COMMAND}`; export r; \
4630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4631 $(HOST_EXPORTS) \
4632 (cd $(HOST_SUBDIR)/bfd && \
4633 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4634 @endif bfd
4638 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4639 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4640 maybe-all-stage1-bfd:
4641 maybe-clean-stage1-bfd:
4642 @if bfd-bootstrap
4643 maybe-all-stage1-bfd: all-stage1-bfd
4644 all-stage1: all-stage1-bfd
4645 TARGET-stage1-bfd = $(TARGET-bfd)
4646 all-stage1-bfd: configure-stage1-bfd
4647 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4648 @r=`${PWD_COMMAND}`; export r; \
4649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4650 $(HOST_EXPORTS) \
4651 cd $(HOST_SUBDIR)/bfd && \
4652 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4653 $(TARGET-stage1-bfd)
4655 maybe-clean-stage1-bfd: clean-stage1-bfd
4656 clean-stage1: clean-stage1-bfd
4657 clean-stage1-bfd:
4658 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4659 || exit 0 ; \
4660 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4661 cd $(HOST_SUBDIR)/bfd && \
4662 $(MAKE) $(FLAGS_TO_PASS) \
4663 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4664 @endif bfd-bootstrap
4667 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4668 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4669 maybe-all-stage2-bfd:
4670 maybe-clean-stage2-bfd:
4671 @if bfd-bootstrap
4672 maybe-all-stage2-bfd: all-stage2-bfd
4673 all-stage2: all-stage2-bfd
4674 TARGET-stage2-bfd = $(TARGET-bfd)
4675 all-stage2-bfd: configure-stage2-bfd
4676 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4677 @r=`${PWD_COMMAND}`; export r; \
4678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4679 $(HOST_EXPORTS) \
4680 $(POSTSTAGE1_HOST_EXPORTS) \
4681 cd $(HOST_SUBDIR)/bfd && \
4682 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4683 $(TARGET-stage2-bfd)
4685 maybe-clean-stage2-bfd: clean-stage2-bfd
4686 clean-stage2: clean-stage2-bfd
4687 clean-stage2-bfd:
4688 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4689 || exit 0 ; \
4690 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4691 cd $(HOST_SUBDIR)/bfd && \
4692 $(MAKE) $(FLAGS_TO_PASS) \
4693 $(POSTSTAGE1_FLAGS_TO_PASS) \
4694 clean
4695 @endif bfd-bootstrap
4698 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4699 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4700 maybe-all-stage3-bfd:
4701 maybe-clean-stage3-bfd:
4702 @if bfd-bootstrap
4703 maybe-all-stage3-bfd: all-stage3-bfd
4704 all-stage3: all-stage3-bfd
4705 TARGET-stage3-bfd = $(TARGET-bfd)
4706 all-stage3-bfd: configure-stage3-bfd
4707 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4708 @r=`${PWD_COMMAND}`; export r; \
4709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4710 $(HOST_EXPORTS) \
4711 $(POSTSTAGE1_HOST_EXPORTS) \
4712 cd $(HOST_SUBDIR)/bfd && \
4713 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4714 $(TARGET-stage3-bfd)
4716 maybe-clean-stage3-bfd: clean-stage3-bfd
4717 clean-stage3: clean-stage3-bfd
4718 clean-stage3-bfd:
4719 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4720 || exit 0 ; \
4721 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4722 cd $(HOST_SUBDIR)/bfd && \
4723 $(MAKE) $(FLAGS_TO_PASS) \
4724 $(POSTSTAGE1_FLAGS_TO_PASS) \
4725 clean
4726 @endif bfd-bootstrap
4729 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4730 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4731 maybe-all-stage4-bfd:
4732 maybe-clean-stage4-bfd:
4733 @if bfd-bootstrap
4734 maybe-all-stage4-bfd: all-stage4-bfd
4735 all-stage4: all-stage4-bfd
4736 TARGET-stage4-bfd = $(TARGET-bfd)
4737 all-stage4-bfd: configure-stage4-bfd
4738 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4739 @r=`${PWD_COMMAND}`; export r; \
4740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4741 $(HOST_EXPORTS) \
4742 $(POSTSTAGE1_HOST_EXPORTS) \
4743 cd $(HOST_SUBDIR)/bfd && \
4744 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4745 $(TARGET-stage4-bfd)
4747 maybe-clean-stage4-bfd: clean-stage4-bfd
4748 clean-stage4: clean-stage4-bfd
4749 clean-stage4-bfd:
4750 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4751 || exit 0 ; \
4752 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4753 cd $(HOST_SUBDIR)/bfd && \
4754 $(MAKE) $(FLAGS_TO_PASS) \
4755 $(POSTSTAGE1_FLAGS_TO_PASS) \
4756 clean
4757 @endif bfd-bootstrap
4760 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4761 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4762 maybe-all-stageprofile-bfd:
4763 maybe-clean-stageprofile-bfd:
4764 @if bfd-bootstrap
4765 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4766 all-stageprofile: all-stageprofile-bfd
4767 TARGET-stageprofile-bfd = $(TARGET-bfd)
4768 all-stageprofile-bfd: configure-stageprofile-bfd
4769 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4770 @r=`${PWD_COMMAND}`; export r; \
4771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4772 $(HOST_EXPORTS) \
4773 $(POSTSTAGE1_HOST_EXPORTS) \
4774 cd $(HOST_SUBDIR)/bfd && \
4775 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4776 $(TARGET-stageprofile-bfd)
4778 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4779 clean-stageprofile: clean-stageprofile-bfd
4780 clean-stageprofile-bfd:
4781 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4782 || exit 0 ; \
4783 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4784 cd $(HOST_SUBDIR)/bfd && \
4785 $(MAKE) $(FLAGS_TO_PASS) \
4786 $(POSTSTAGE1_FLAGS_TO_PASS) \
4787 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4788 @endif bfd-bootstrap
4791 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4792 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4793 maybe-all-stagefeedback-bfd:
4794 maybe-clean-stagefeedback-bfd:
4795 @if bfd-bootstrap
4796 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4797 all-stagefeedback: all-stagefeedback-bfd
4798 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4799 all-stagefeedback-bfd: configure-stagefeedback-bfd
4800 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4801 @r=`${PWD_COMMAND}`; export r; \
4802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4803 $(HOST_EXPORTS) \
4804 $(POSTSTAGE1_HOST_EXPORTS) \
4805 cd $(HOST_SUBDIR)/bfd && \
4806 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4807 $(TARGET-stagefeedback-bfd)
4809 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4810 clean-stagefeedback: clean-stagefeedback-bfd
4811 clean-stagefeedback-bfd:
4812 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4813 || exit 0 ; \
4814 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4815 cd $(HOST_SUBDIR)/bfd && \
4816 $(MAKE) $(FLAGS_TO_PASS) \
4817 $(POSTSTAGE1_FLAGS_TO_PASS) \
4818 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4819 @endif bfd-bootstrap
4825 .PHONY: check-bfd maybe-check-bfd
4826 maybe-check-bfd:
4827 @if bfd
4828 maybe-check-bfd: check-bfd
4830 check-bfd:
4831 @: $(MAKE); $(unstage)
4832 @r=`${PWD_COMMAND}`; export r; \
4833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4834 $(HOST_EXPORTS) \
4835 (cd $(HOST_SUBDIR)/bfd && \
4836 $(MAKE) $(FLAGS_TO_PASS) check)
4838 @endif bfd
4840 .PHONY: install-bfd maybe-install-bfd
4841 maybe-install-bfd:
4842 @if bfd
4843 maybe-install-bfd: install-bfd
4845 install-bfd: installdirs
4846 @: $(MAKE); $(unstage)
4847 @r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4849 $(HOST_EXPORTS) \
4850 (cd $(HOST_SUBDIR)/bfd && \
4851 $(MAKE) $(FLAGS_TO_PASS) install)
4853 @endif bfd
4855 # Other targets (info, dvi, pdf, etc.)
4857 .PHONY: maybe-info-bfd info-bfd
4858 maybe-info-bfd:
4859 @if bfd
4860 maybe-info-bfd: info-bfd
4862 info-bfd: \
4863 configure-bfd
4864 @[ -f ./bfd/Makefile ] || exit 0; \
4865 r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4867 $(HOST_EXPORTS) \
4868 for flag in $(EXTRA_HOST_FLAGS) ; do \
4869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4870 done; \
4871 echo "Doing info in bfd" ; \
4872 (cd $(HOST_SUBDIR)/bfd && \
4873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4875 "RANLIB=$${RANLIB}" \
4876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4877 info) \
4878 || exit 1
4880 @endif bfd
4882 .PHONY: maybe-dvi-bfd dvi-bfd
4883 maybe-dvi-bfd:
4884 @if bfd
4885 maybe-dvi-bfd: dvi-bfd
4887 dvi-bfd: \
4888 configure-bfd
4889 @[ -f ./bfd/Makefile ] || exit 0; \
4890 r=`${PWD_COMMAND}`; export r; \
4891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4892 $(HOST_EXPORTS) \
4893 for flag in $(EXTRA_HOST_FLAGS) ; do \
4894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4895 done; \
4896 echo "Doing dvi in bfd" ; \
4897 (cd $(HOST_SUBDIR)/bfd && \
4898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4900 "RANLIB=$${RANLIB}" \
4901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4902 dvi) \
4903 || exit 1
4905 @endif bfd
4907 .PHONY: maybe-pdf-bfd pdf-bfd
4908 maybe-pdf-bfd:
4909 @if bfd
4910 maybe-pdf-bfd: pdf-bfd
4912 pdf-bfd: \
4913 configure-bfd
4914 @[ -f ./bfd/Makefile ] || exit 0; \
4915 r=`${PWD_COMMAND}`; export r; \
4916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4917 $(HOST_EXPORTS) \
4918 for flag in $(EXTRA_HOST_FLAGS) ; do \
4919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4920 done; \
4921 echo "Doing pdf in bfd" ; \
4922 (cd $(HOST_SUBDIR)/bfd && \
4923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4925 "RANLIB=$${RANLIB}" \
4926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4927 pdf) \
4928 || exit 1
4930 @endif bfd
4932 .PHONY: maybe-html-bfd html-bfd
4933 maybe-html-bfd:
4934 @if bfd
4935 maybe-html-bfd: html-bfd
4937 html-bfd: \
4938 configure-bfd
4939 @[ -f ./bfd/Makefile ] || exit 0; \
4940 r=`${PWD_COMMAND}`; export r; \
4941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4942 $(HOST_EXPORTS) \
4943 for flag in $(EXTRA_HOST_FLAGS) ; do \
4944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4945 done; \
4946 echo "Doing html in bfd" ; \
4947 (cd $(HOST_SUBDIR)/bfd && \
4948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4950 "RANLIB=$${RANLIB}" \
4951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4952 html) \
4953 || exit 1
4955 @endif bfd
4957 .PHONY: maybe-TAGS-bfd TAGS-bfd
4958 maybe-TAGS-bfd:
4959 @if bfd
4960 maybe-TAGS-bfd: TAGS-bfd
4962 TAGS-bfd: \
4963 configure-bfd
4964 @[ -f ./bfd/Makefile ] || exit 0; \
4965 r=`${PWD_COMMAND}`; export r; \
4966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4967 $(HOST_EXPORTS) \
4968 for flag in $(EXTRA_HOST_FLAGS) ; do \
4969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4970 done; \
4971 echo "Doing TAGS in bfd" ; \
4972 (cd $(HOST_SUBDIR)/bfd && \
4973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4975 "RANLIB=$${RANLIB}" \
4976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4977 TAGS) \
4978 || exit 1
4980 @endif bfd
4982 .PHONY: maybe-install-info-bfd install-info-bfd
4983 maybe-install-info-bfd:
4984 @if bfd
4985 maybe-install-info-bfd: install-info-bfd
4987 install-info-bfd: \
4988 configure-bfd \
4989 info-bfd
4990 @[ -f ./bfd/Makefile ] || exit 0; \
4991 r=`${PWD_COMMAND}`; export r; \
4992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4993 $(HOST_EXPORTS) \
4994 for flag in $(EXTRA_HOST_FLAGS) ; do \
4995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4996 done; \
4997 echo "Doing install-info in bfd" ; \
4998 (cd $(HOST_SUBDIR)/bfd && \
4999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5001 "RANLIB=$${RANLIB}" \
5002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5003 install-info) \
5004 || exit 1
5006 @endif bfd
5008 .PHONY: maybe-install-html-bfd install-html-bfd
5009 maybe-install-html-bfd:
5010 @if bfd
5011 maybe-install-html-bfd: install-html-bfd
5013 install-html-bfd: \
5014 configure-bfd \
5015 html-bfd
5016 @[ -f ./bfd/Makefile ] || exit 0; \
5017 r=`${PWD_COMMAND}`; export r; \
5018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5019 $(HOST_EXPORTS) \
5020 for flag in $(EXTRA_HOST_FLAGS) ; do \
5021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5022 done; \
5023 echo "Doing install-html in bfd" ; \
5024 (cd $(HOST_SUBDIR)/bfd && \
5025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5027 "RANLIB=$${RANLIB}" \
5028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5029 install-html) \
5030 || exit 1
5032 @endif bfd
5034 .PHONY: maybe-installcheck-bfd installcheck-bfd
5035 maybe-installcheck-bfd:
5036 @if bfd
5037 maybe-installcheck-bfd: installcheck-bfd
5039 installcheck-bfd: \
5040 configure-bfd
5041 @[ -f ./bfd/Makefile ] || exit 0; \
5042 r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 $(HOST_EXPORTS) \
5045 for flag in $(EXTRA_HOST_FLAGS) ; do \
5046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5047 done; \
5048 echo "Doing installcheck in bfd" ; \
5049 (cd $(HOST_SUBDIR)/bfd && \
5050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5052 "RANLIB=$${RANLIB}" \
5053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5054 installcheck) \
5055 || exit 1
5057 @endif bfd
5059 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5060 maybe-mostlyclean-bfd:
5061 @if bfd
5062 maybe-mostlyclean-bfd: mostlyclean-bfd
5064 mostlyclean-bfd:
5065 @[ -f ./bfd/Makefile ] || exit 0; \
5066 r=`${PWD_COMMAND}`; export r; \
5067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5068 $(HOST_EXPORTS) \
5069 for flag in $(EXTRA_HOST_FLAGS) ; do \
5070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5071 done; \
5072 echo "Doing mostlyclean in bfd" ; \
5073 (cd $(HOST_SUBDIR)/bfd && \
5074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5076 "RANLIB=$${RANLIB}" \
5077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5078 mostlyclean) \
5079 || exit 1
5081 @endif bfd
5083 .PHONY: maybe-clean-bfd clean-bfd
5084 maybe-clean-bfd:
5085 @if bfd
5086 maybe-clean-bfd: clean-bfd
5088 clean-bfd:
5089 @[ -f ./bfd/Makefile ] || exit 0; \
5090 r=`${PWD_COMMAND}`; export r; \
5091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5092 $(HOST_EXPORTS) \
5093 for flag in $(EXTRA_HOST_FLAGS) ; do \
5094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5095 done; \
5096 echo "Doing clean in bfd" ; \
5097 (cd $(HOST_SUBDIR)/bfd && \
5098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5100 "RANLIB=$${RANLIB}" \
5101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5102 clean) \
5103 || exit 1
5105 @endif bfd
5107 .PHONY: maybe-distclean-bfd distclean-bfd
5108 maybe-distclean-bfd:
5109 @if bfd
5110 maybe-distclean-bfd: distclean-bfd
5112 distclean-bfd:
5113 @[ -f ./bfd/Makefile ] || exit 0; \
5114 r=`${PWD_COMMAND}`; export r; \
5115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5116 $(HOST_EXPORTS) \
5117 for flag in $(EXTRA_HOST_FLAGS) ; do \
5118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5119 done; \
5120 echo "Doing distclean in bfd" ; \
5121 (cd $(HOST_SUBDIR)/bfd && \
5122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5124 "RANLIB=$${RANLIB}" \
5125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5126 distclean) \
5127 || exit 1
5129 @endif bfd
5131 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5132 maybe-maintainer-clean-bfd:
5133 @if bfd
5134 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5136 maintainer-clean-bfd:
5137 @[ -f ./bfd/Makefile ] || exit 0; \
5138 r=`${PWD_COMMAND}`; export r; \
5139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5140 $(HOST_EXPORTS) \
5141 for flag in $(EXTRA_HOST_FLAGS) ; do \
5142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5143 done; \
5144 echo "Doing maintainer-clean in bfd" ; \
5145 (cd $(HOST_SUBDIR)/bfd && \
5146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5148 "RANLIB=$${RANLIB}" \
5149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5150 maintainer-clean) \
5151 || exit 1
5153 @endif bfd
5157 .PHONY: configure-opcodes maybe-configure-opcodes
5158 maybe-configure-opcodes:
5159 @if gcc-bootstrap
5160 configure-opcodes: stage_current
5161 @endif gcc-bootstrap
5162 @if opcodes
5163 maybe-configure-opcodes: configure-opcodes
5164 configure-opcodes:
5165 @r=`${PWD_COMMAND}`; export r; \
5166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5167 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5169 $(HOST_EXPORTS) \
5170 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5171 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5172 case $(srcdir) in \
5173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5174 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5176 esac; \
5177 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5178 libsrcdir="$$s/opcodes"; \
5179 $(SHELL) $${libsrcdir}/configure \
5180 $(HOST_CONFIGARGS) $${srcdiroption} \
5181 || exit 1
5182 @endif opcodes
5186 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5187 maybe-configure-stage1-opcodes:
5188 @if opcodes-bootstrap
5189 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5190 configure-stage1-opcodes:
5191 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5193 @r=`${PWD_COMMAND}`; export r; \
5194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5195 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5196 $(HOST_EXPORTS) \
5197 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5199 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5200 case $(srcdir) in \
5201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5202 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5204 esac; \
5205 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5206 libsrcdir="$$s/opcodes"; \
5207 $(SHELL) $${libsrcdir}/configure \
5208 $(HOST_CONFIGARGS) $${srcdiroption} \
5210 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5211 @endif opcodes-bootstrap
5213 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5214 maybe-configure-stage2-opcodes:
5215 @if opcodes-bootstrap
5216 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5217 configure-stage2-opcodes:
5218 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5220 @r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5223 $(HOST_EXPORTS) \
5224 $(POSTSTAGE1_HOST_EXPORTS) \
5225 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5227 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5228 case $(srcdir) in \
5229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5230 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5232 esac; \
5233 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5234 libsrcdir="$$s/opcodes"; \
5235 $(SHELL) $${libsrcdir}/configure \
5236 $(HOST_CONFIGARGS) $${srcdiroption} \
5237 --with-build-libsubdir=$(HOST_SUBDIR) \
5238 @stage2_werror_flag@
5239 @endif opcodes-bootstrap
5241 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5242 maybe-configure-stage3-opcodes:
5243 @if opcodes-bootstrap
5244 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5245 configure-stage3-opcodes:
5246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5248 @r=`${PWD_COMMAND}`; export r; \
5249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5250 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5251 $(HOST_EXPORTS) \
5252 $(POSTSTAGE1_HOST_EXPORTS) \
5253 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5255 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5256 case $(srcdir) in \
5257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5258 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5260 esac; \
5261 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5262 libsrcdir="$$s/opcodes"; \
5263 $(SHELL) $${libsrcdir}/configure \
5264 $(HOST_CONFIGARGS) $${srcdiroption} \
5265 --with-build-libsubdir=$(HOST_SUBDIR) \
5266 @stage2_werror_flag@
5267 @endif opcodes-bootstrap
5269 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5270 maybe-configure-stage4-opcodes:
5271 @if opcodes-bootstrap
5272 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5273 configure-stage4-opcodes:
5274 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5276 @r=`${PWD_COMMAND}`; export r; \
5277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5278 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5279 $(HOST_EXPORTS) \
5280 $(POSTSTAGE1_HOST_EXPORTS) \
5281 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5283 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5284 case $(srcdir) in \
5285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5286 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5288 esac; \
5289 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5290 libsrcdir="$$s/opcodes"; \
5291 $(SHELL) $${libsrcdir}/configure \
5292 $(HOST_CONFIGARGS) $${srcdiroption} \
5293 --with-build-libsubdir=$(HOST_SUBDIR) \
5294 @stage2_werror_flag@
5295 @endif opcodes-bootstrap
5297 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5298 maybe-configure-stageprofile-opcodes:
5299 @if opcodes-bootstrap
5300 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5301 configure-stageprofile-opcodes:
5302 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5304 @r=`${PWD_COMMAND}`; export r; \
5305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5306 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5307 $(HOST_EXPORTS) \
5308 $(POSTSTAGE1_HOST_EXPORTS) \
5309 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5311 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5312 case $(srcdir) in \
5313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5314 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5316 esac; \
5317 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5318 libsrcdir="$$s/opcodes"; \
5319 $(SHELL) $${libsrcdir}/configure \
5320 $(HOST_CONFIGARGS) $${srcdiroption} \
5321 --with-build-libsubdir=$(HOST_SUBDIR) \
5322 @stage2_werror_flag@
5323 @endif opcodes-bootstrap
5325 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5326 maybe-configure-stagefeedback-opcodes:
5327 @if opcodes-bootstrap
5328 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5329 configure-stagefeedback-opcodes:
5330 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5332 @r=`${PWD_COMMAND}`; export r; \
5333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5334 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5335 $(HOST_EXPORTS) \
5336 $(POSTSTAGE1_HOST_EXPORTS) \
5337 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5339 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5340 case $(srcdir) in \
5341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5342 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5344 esac; \
5345 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5346 libsrcdir="$$s/opcodes"; \
5347 $(SHELL) $${libsrcdir}/configure \
5348 $(HOST_CONFIGARGS) $${srcdiroption} \
5349 --with-build-libsubdir=$(HOST_SUBDIR) \
5350 @stage2_werror_flag@
5351 @endif opcodes-bootstrap
5357 .PHONY: all-opcodes maybe-all-opcodes
5358 maybe-all-opcodes:
5359 @if gcc-bootstrap
5360 all-opcodes: stage_current
5361 @endif gcc-bootstrap
5362 @if opcodes
5363 TARGET-opcodes=all
5364 maybe-all-opcodes: all-opcodes
5365 all-opcodes: configure-opcodes
5366 @r=`${PWD_COMMAND}`; export r; \
5367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5368 $(HOST_EXPORTS) \
5369 (cd $(HOST_SUBDIR)/opcodes && \
5370 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5371 @endif opcodes
5375 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5376 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5377 maybe-all-stage1-opcodes:
5378 maybe-clean-stage1-opcodes:
5379 @if opcodes-bootstrap
5380 maybe-all-stage1-opcodes: all-stage1-opcodes
5381 all-stage1: all-stage1-opcodes
5382 TARGET-stage1-opcodes = $(TARGET-opcodes)
5383 all-stage1-opcodes: configure-stage1-opcodes
5384 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5385 @r=`${PWD_COMMAND}`; export r; \
5386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5387 $(HOST_EXPORTS) \
5388 cd $(HOST_SUBDIR)/opcodes && \
5389 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5390 $(TARGET-stage1-opcodes)
5392 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5393 clean-stage1: clean-stage1-opcodes
5394 clean-stage1-opcodes:
5395 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5396 || exit 0 ; \
5397 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5398 cd $(HOST_SUBDIR)/opcodes && \
5399 $(MAKE) $(FLAGS_TO_PASS) \
5400 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5401 @endif opcodes-bootstrap
5404 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5405 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5406 maybe-all-stage2-opcodes:
5407 maybe-clean-stage2-opcodes:
5408 @if opcodes-bootstrap
5409 maybe-all-stage2-opcodes: all-stage2-opcodes
5410 all-stage2: all-stage2-opcodes
5411 TARGET-stage2-opcodes = $(TARGET-opcodes)
5412 all-stage2-opcodes: configure-stage2-opcodes
5413 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5414 @r=`${PWD_COMMAND}`; export r; \
5415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5416 $(HOST_EXPORTS) \
5417 $(POSTSTAGE1_HOST_EXPORTS) \
5418 cd $(HOST_SUBDIR)/opcodes && \
5419 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5420 $(TARGET-stage2-opcodes)
5422 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5423 clean-stage2: clean-stage2-opcodes
5424 clean-stage2-opcodes:
5425 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5426 || exit 0 ; \
5427 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5428 cd $(HOST_SUBDIR)/opcodes && \
5429 $(MAKE) $(FLAGS_TO_PASS) \
5430 $(POSTSTAGE1_FLAGS_TO_PASS) \
5431 clean
5432 @endif opcodes-bootstrap
5435 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5436 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5437 maybe-all-stage3-opcodes:
5438 maybe-clean-stage3-opcodes:
5439 @if opcodes-bootstrap
5440 maybe-all-stage3-opcodes: all-stage3-opcodes
5441 all-stage3: all-stage3-opcodes
5442 TARGET-stage3-opcodes = $(TARGET-opcodes)
5443 all-stage3-opcodes: configure-stage3-opcodes
5444 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5445 @r=`${PWD_COMMAND}`; export r; \
5446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5447 $(HOST_EXPORTS) \
5448 $(POSTSTAGE1_HOST_EXPORTS) \
5449 cd $(HOST_SUBDIR)/opcodes && \
5450 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5451 $(TARGET-stage3-opcodes)
5453 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5454 clean-stage3: clean-stage3-opcodes
5455 clean-stage3-opcodes:
5456 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5457 || exit 0 ; \
5458 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5459 cd $(HOST_SUBDIR)/opcodes && \
5460 $(MAKE) $(FLAGS_TO_PASS) \
5461 $(POSTSTAGE1_FLAGS_TO_PASS) \
5462 clean
5463 @endif opcodes-bootstrap
5466 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5467 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5468 maybe-all-stage4-opcodes:
5469 maybe-clean-stage4-opcodes:
5470 @if opcodes-bootstrap
5471 maybe-all-stage4-opcodes: all-stage4-opcodes
5472 all-stage4: all-stage4-opcodes
5473 TARGET-stage4-opcodes = $(TARGET-opcodes)
5474 all-stage4-opcodes: configure-stage4-opcodes
5475 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5476 @r=`${PWD_COMMAND}`; export r; \
5477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5478 $(HOST_EXPORTS) \
5479 $(POSTSTAGE1_HOST_EXPORTS) \
5480 cd $(HOST_SUBDIR)/opcodes && \
5481 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5482 $(TARGET-stage4-opcodes)
5484 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5485 clean-stage4: clean-stage4-opcodes
5486 clean-stage4-opcodes:
5487 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5488 || exit 0 ; \
5489 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5490 cd $(HOST_SUBDIR)/opcodes && \
5491 $(MAKE) $(FLAGS_TO_PASS) \
5492 $(POSTSTAGE1_FLAGS_TO_PASS) \
5493 clean
5494 @endif opcodes-bootstrap
5497 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5498 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5499 maybe-all-stageprofile-opcodes:
5500 maybe-clean-stageprofile-opcodes:
5501 @if opcodes-bootstrap
5502 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5503 all-stageprofile: all-stageprofile-opcodes
5504 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5505 all-stageprofile-opcodes: configure-stageprofile-opcodes
5506 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5507 @r=`${PWD_COMMAND}`; export r; \
5508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5509 $(HOST_EXPORTS) \
5510 $(POSTSTAGE1_HOST_EXPORTS) \
5511 cd $(HOST_SUBDIR)/opcodes && \
5512 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5513 $(TARGET-stageprofile-opcodes)
5515 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5516 clean-stageprofile: clean-stageprofile-opcodes
5517 clean-stageprofile-opcodes:
5518 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5519 || exit 0 ; \
5520 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5521 cd $(HOST_SUBDIR)/opcodes && \
5522 $(MAKE) $(FLAGS_TO_PASS) \
5523 $(POSTSTAGE1_FLAGS_TO_PASS) \
5524 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5525 @endif opcodes-bootstrap
5528 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5529 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5530 maybe-all-stagefeedback-opcodes:
5531 maybe-clean-stagefeedback-opcodes:
5532 @if opcodes-bootstrap
5533 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5534 all-stagefeedback: all-stagefeedback-opcodes
5535 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5536 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5537 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5538 @r=`${PWD_COMMAND}`; export r; \
5539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5540 $(HOST_EXPORTS) \
5541 $(POSTSTAGE1_HOST_EXPORTS) \
5542 cd $(HOST_SUBDIR)/opcodes && \
5543 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5544 $(TARGET-stagefeedback-opcodes)
5546 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5547 clean-stagefeedback: clean-stagefeedback-opcodes
5548 clean-stagefeedback-opcodes:
5549 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5550 || exit 0 ; \
5551 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5552 cd $(HOST_SUBDIR)/opcodes && \
5553 $(MAKE) $(FLAGS_TO_PASS) \
5554 $(POSTSTAGE1_FLAGS_TO_PASS) \
5555 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5556 @endif opcodes-bootstrap
5562 .PHONY: check-opcodes maybe-check-opcodes
5563 maybe-check-opcodes:
5564 @if opcodes
5565 maybe-check-opcodes: check-opcodes
5567 check-opcodes:
5568 @: $(MAKE); $(unstage)
5569 @r=`${PWD_COMMAND}`; export r; \
5570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5571 $(HOST_EXPORTS) \
5572 (cd $(HOST_SUBDIR)/opcodes && \
5573 $(MAKE) $(FLAGS_TO_PASS) check)
5575 @endif opcodes
5577 .PHONY: install-opcodes maybe-install-opcodes
5578 maybe-install-opcodes:
5579 @if opcodes
5580 maybe-install-opcodes: install-opcodes
5582 install-opcodes: installdirs
5583 @: $(MAKE); $(unstage)
5584 @r=`${PWD_COMMAND}`; export r; \
5585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5586 $(HOST_EXPORTS) \
5587 (cd $(HOST_SUBDIR)/opcodes && \
5588 $(MAKE) $(FLAGS_TO_PASS) install)
5590 @endif opcodes
5592 # Other targets (info, dvi, pdf, etc.)
5594 .PHONY: maybe-info-opcodes info-opcodes
5595 maybe-info-opcodes:
5596 @if opcodes
5597 maybe-info-opcodes: info-opcodes
5599 info-opcodes: \
5600 configure-opcodes
5601 @[ -f ./opcodes/Makefile ] || exit 0; \
5602 r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 $(HOST_EXPORTS) \
5605 for flag in $(EXTRA_HOST_FLAGS) ; do \
5606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5607 done; \
5608 echo "Doing info in opcodes" ; \
5609 (cd $(HOST_SUBDIR)/opcodes && \
5610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5612 "RANLIB=$${RANLIB}" \
5613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5614 info) \
5615 || exit 1
5617 @endif opcodes
5619 .PHONY: maybe-dvi-opcodes dvi-opcodes
5620 maybe-dvi-opcodes:
5621 @if opcodes
5622 maybe-dvi-opcodes: dvi-opcodes
5624 dvi-opcodes: \
5625 configure-opcodes
5626 @[ -f ./opcodes/Makefile ] || exit 0; \
5627 r=`${PWD_COMMAND}`; export r; \
5628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5629 $(HOST_EXPORTS) \
5630 for flag in $(EXTRA_HOST_FLAGS) ; do \
5631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5632 done; \
5633 echo "Doing dvi in opcodes" ; \
5634 (cd $(HOST_SUBDIR)/opcodes && \
5635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5637 "RANLIB=$${RANLIB}" \
5638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5639 dvi) \
5640 || exit 1
5642 @endif opcodes
5644 .PHONY: maybe-pdf-opcodes pdf-opcodes
5645 maybe-pdf-opcodes:
5646 @if opcodes
5647 maybe-pdf-opcodes: pdf-opcodes
5649 pdf-opcodes: \
5650 configure-opcodes
5651 @[ -f ./opcodes/Makefile ] || exit 0; \
5652 r=`${PWD_COMMAND}`; export r; \
5653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5654 $(HOST_EXPORTS) \
5655 for flag in $(EXTRA_HOST_FLAGS) ; do \
5656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5657 done; \
5658 echo "Doing pdf in opcodes" ; \
5659 (cd $(HOST_SUBDIR)/opcodes && \
5660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5662 "RANLIB=$${RANLIB}" \
5663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5664 pdf) \
5665 || exit 1
5667 @endif opcodes
5669 .PHONY: maybe-html-opcodes html-opcodes
5670 maybe-html-opcodes:
5671 @if opcodes
5672 maybe-html-opcodes: html-opcodes
5674 html-opcodes: \
5675 configure-opcodes
5676 @[ -f ./opcodes/Makefile ] || exit 0; \
5677 r=`${PWD_COMMAND}`; export r; \
5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5679 $(HOST_EXPORTS) \
5680 for flag in $(EXTRA_HOST_FLAGS) ; do \
5681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5682 done; \
5683 echo "Doing html in opcodes" ; \
5684 (cd $(HOST_SUBDIR)/opcodes && \
5685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5687 "RANLIB=$${RANLIB}" \
5688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5689 html) \
5690 || exit 1
5692 @endif opcodes
5694 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5695 maybe-TAGS-opcodes:
5696 @if opcodes
5697 maybe-TAGS-opcodes: TAGS-opcodes
5699 TAGS-opcodes: \
5700 configure-opcodes
5701 @[ -f ./opcodes/Makefile ] || exit 0; \
5702 r=`${PWD_COMMAND}`; export r; \
5703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5704 $(HOST_EXPORTS) \
5705 for flag in $(EXTRA_HOST_FLAGS) ; do \
5706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5707 done; \
5708 echo "Doing TAGS in opcodes" ; \
5709 (cd $(HOST_SUBDIR)/opcodes && \
5710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5712 "RANLIB=$${RANLIB}" \
5713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5714 TAGS) \
5715 || exit 1
5717 @endif opcodes
5719 .PHONY: maybe-install-info-opcodes install-info-opcodes
5720 maybe-install-info-opcodes:
5721 @if opcodes
5722 maybe-install-info-opcodes: install-info-opcodes
5724 install-info-opcodes: \
5725 configure-opcodes \
5726 info-opcodes
5727 @[ -f ./opcodes/Makefile ] || exit 0; \
5728 r=`${PWD_COMMAND}`; export r; \
5729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5730 $(HOST_EXPORTS) \
5731 for flag in $(EXTRA_HOST_FLAGS) ; do \
5732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5733 done; \
5734 echo "Doing install-info in opcodes" ; \
5735 (cd $(HOST_SUBDIR)/opcodes && \
5736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5738 "RANLIB=$${RANLIB}" \
5739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5740 install-info) \
5741 || exit 1
5743 @endif opcodes
5745 .PHONY: maybe-install-html-opcodes install-html-opcodes
5746 maybe-install-html-opcodes:
5747 @if opcodes
5748 maybe-install-html-opcodes: install-html-opcodes
5750 install-html-opcodes: \
5751 configure-opcodes \
5752 html-opcodes
5753 @[ -f ./opcodes/Makefile ] || exit 0; \
5754 r=`${PWD_COMMAND}`; export r; \
5755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5756 $(HOST_EXPORTS) \
5757 for flag in $(EXTRA_HOST_FLAGS) ; do \
5758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5759 done; \
5760 echo "Doing install-html in opcodes" ; \
5761 (cd $(HOST_SUBDIR)/opcodes && \
5762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5764 "RANLIB=$${RANLIB}" \
5765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5766 install-html) \
5767 || exit 1
5769 @endif opcodes
5771 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5772 maybe-installcheck-opcodes:
5773 @if opcodes
5774 maybe-installcheck-opcodes: installcheck-opcodes
5776 installcheck-opcodes: \
5777 configure-opcodes
5778 @[ -f ./opcodes/Makefile ] || exit 0; \
5779 r=`${PWD_COMMAND}`; export r; \
5780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5781 $(HOST_EXPORTS) \
5782 for flag in $(EXTRA_HOST_FLAGS) ; do \
5783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5784 done; \
5785 echo "Doing installcheck in opcodes" ; \
5786 (cd $(HOST_SUBDIR)/opcodes && \
5787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5789 "RANLIB=$${RANLIB}" \
5790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5791 installcheck) \
5792 || exit 1
5794 @endif opcodes
5796 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5797 maybe-mostlyclean-opcodes:
5798 @if opcodes
5799 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5801 mostlyclean-opcodes:
5802 @[ -f ./opcodes/Makefile ] || exit 0; \
5803 r=`${PWD_COMMAND}`; export r; \
5804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5805 $(HOST_EXPORTS) \
5806 for flag in $(EXTRA_HOST_FLAGS) ; do \
5807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5808 done; \
5809 echo "Doing mostlyclean in opcodes" ; \
5810 (cd $(HOST_SUBDIR)/opcodes && \
5811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5813 "RANLIB=$${RANLIB}" \
5814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5815 mostlyclean) \
5816 || exit 1
5818 @endif opcodes
5820 .PHONY: maybe-clean-opcodes clean-opcodes
5821 maybe-clean-opcodes:
5822 @if opcodes
5823 maybe-clean-opcodes: clean-opcodes
5825 clean-opcodes:
5826 @[ -f ./opcodes/Makefile ] || exit 0; \
5827 r=`${PWD_COMMAND}`; export r; \
5828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5829 $(HOST_EXPORTS) \
5830 for flag in $(EXTRA_HOST_FLAGS) ; do \
5831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5832 done; \
5833 echo "Doing clean in opcodes" ; \
5834 (cd $(HOST_SUBDIR)/opcodes && \
5835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5837 "RANLIB=$${RANLIB}" \
5838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5839 clean) \
5840 || exit 1
5842 @endif opcodes
5844 .PHONY: maybe-distclean-opcodes distclean-opcodes
5845 maybe-distclean-opcodes:
5846 @if opcodes
5847 maybe-distclean-opcodes: distclean-opcodes
5849 distclean-opcodes:
5850 @[ -f ./opcodes/Makefile ] || exit 0; \
5851 r=`${PWD_COMMAND}`; export r; \
5852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5853 $(HOST_EXPORTS) \
5854 for flag in $(EXTRA_HOST_FLAGS) ; do \
5855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5856 done; \
5857 echo "Doing distclean in opcodes" ; \
5858 (cd $(HOST_SUBDIR)/opcodes && \
5859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5861 "RANLIB=$${RANLIB}" \
5862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5863 distclean) \
5864 || exit 1
5866 @endif opcodes
5868 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5869 maybe-maintainer-clean-opcodes:
5870 @if opcodes
5871 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5873 maintainer-clean-opcodes:
5874 @[ -f ./opcodes/Makefile ] || exit 0; \
5875 r=`${PWD_COMMAND}`; export r; \
5876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5877 $(HOST_EXPORTS) \
5878 for flag in $(EXTRA_HOST_FLAGS) ; do \
5879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5880 done; \
5881 echo "Doing maintainer-clean in opcodes" ; \
5882 (cd $(HOST_SUBDIR)/opcodes && \
5883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5885 "RANLIB=$${RANLIB}" \
5886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5887 maintainer-clean) \
5888 || exit 1
5890 @endif opcodes
5894 .PHONY: configure-binutils maybe-configure-binutils
5895 maybe-configure-binutils:
5896 @if gcc-bootstrap
5897 configure-binutils: stage_current
5898 @endif gcc-bootstrap
5899 @if binutils
5900 maybe-configure-binutils: configure-binutils
5901 configure-binutils:
5902 @r=`${PWD_COMMAND}`; export r; \
5903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5904 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5906 $(HOST_EXPORTS) \
5907 echo Configuring in $(HOST_SUBDIR)/binutils; \
5908 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5909 case $(srcdir) in \
5910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5911 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5913 esac; \
5914 srcdiroption="--srcdir=$${topdir}/binutils"; \
5915 libsrcdir="$$s/binutils"; \
5916 $(SHELL) $${libsrcdir}/configure \
5917 $(HOST_CONFIGARGS) $${srcdiroption} \
5918 || exit 1
5919 @endif binutils
5923 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5924 maybe-configure-stage1-binutils:
5925 @if binutils-bootstrap
5926 maybe-configure-stage1-binutils: configure-stage1-binutils
5927 configure-stage1-binutils:
5928 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5930 @r=`${PWD_COMMAND}`; export r; \
5931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5933 $(HOST_EXPORTS) \
5934 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5936 cd $(HOST_SUBDIR)/binutils || exit 1; \
5937 case $(srcdir) in \
5938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5939 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5941 esac; \
5942 srcdiroption="--srcdir=$${topdir}/binutils"; \
5943 libsrcdir="$$s/binutils"; \
5944 $(SHELL) $${libsrcdir}/configure \
5945 $(HOST_CONFIGARGS) $${srcdiroption} \
5947 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5948 @endif binutils-bootstrap
5950 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5951 maybe-configure-stage2-binutils:
5952 @if binutils-bootstrap
5953 maybe-configure-stage2-binutils: configure-stage2-binutils
5954 configure-stage2-binutils:
5955 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5957 @r=`${PWD_COMMAND}`; export r; \
5958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5959 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5960 $(HOST_EXPORTS) \
5961 $(POSTSTAGE1_HOST_EXPORTS) \
5962 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5964 cd $(HOST_SUBDIR)/binutils || exit 1; \
5965 case $(srcdir) in \
5966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5967 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5969 esac; \
5970 srcdiroption="--srcdir=$${topdir}/binutils"; \
5971 libsrcdir="$$s/binutils"; \
5972 $(SHELL) $${libsrcdir}/configure \
5973 $(HOST_CONFIGARGS) $${srcdiroption} \
5974 --with-build-libsubdir=$(HOST_SUBDIR) \
5975 @stage2_werror_flag@
5976 @endif binutils-bootstrap
5978 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5979 maybe-configure-stage3-binutils:
5980 @if binutils-bootstrap
5981 maybe-configure-stage3-binutils: configure-stage3-binutils
5982 configure-stage3-binutils:
5983 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5985 @r=`${PWD_COMMAND}`; export r; \
5986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5987 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5988 $(HOST_EXPORTS) \
5989 $(POSTSTAGE1_HOST_EXPORTS) \
5990 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5992 cd $(HOST_SUBDIR)/binutils || exit 1; \
5993 case $(srcdir) in \
5994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5995 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5997 esac; \
5998 srcdiroption="--srcdir=$${topdir}/binutils"; \
5999 libsrcdir="$$s/binutils"; \
6000 $(SHELL) $${libsrcdir}/configure \
6001 $(HOST_CONFIGARGS) $${srcdiroption} \
6002 --with-build-libsubdir=$(HOST_SUBDIR) \
6003 @stage2_werror_flag@
6004 @endif binutils-bootstrap
6006 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6007 maybe-configure-stage4-binutils:
6008 @if binutils-bootstrap
6009 maybe-configure-stage4-binutils: configure-stage4-binutils
6010 configure-stage4-binutils:
6011 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6013 @r=`${PWD_COMMAND}`; export r; \
6014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6015 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6016 $(HOST_EXPORTS) \
6017 $(POSTSTAGE1_HOST_EXPORTS) \
6018 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6020 cd $(HOST_SUBDIR)/binutils || exit 1; \
6021 case $(srcdir) in \
6022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6023 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6025 esac; \
6026 srcdiroption="--srcdir=$${topdir}/binutils"; \
6027 libsrcdir="$$s/binutils"; \
6028 $(SHELL) $${libsrcdir}/configure \
6029 $(HOST_CONFIGARGS) $${srcdiroption} \
6030 --with-build-libsubdir=$(HOST_SUBDIR) \
6031 @stage2_werror_flag@
6032 @endif binutils-bootstrap
6034 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6035 maybe-configure-stageprofile-binutils:
6036 @if binutils-bootstrap
6037 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6038 configure-stageprofile-binutils:
6039 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6041 @r=`${PWD_COMMAND}`; export r; \
6042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6043 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6044 $(HOST_EXPORTS) \
6045 $(POSTSTAGE1_HOST_EXPORTS) \
6046 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6048 cd $(HOST_SUBDIR)/binutils || exit 1; \
6049 case $(srcdir) in \
6050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6051 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6053 esac; \
6054 srcdiroption="--srcdir=$${topdir}/binutils"; \
6055 libsrcdir="$$s/binutils"; \
6056 $(SHELL) $${libsrcdir}/configure \
6057 $(HOST_CONFIGARGS) $${srcdiroption} \
6058 --with-build-libsubdir=$(HOST_SUBDIR) \
6059 @stage2_werror_flag@
6060 @endif binutils-bootstrap
6062 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6063 maybe-configure-stagefeedback-binutils:
6064 @if binutils-bootstrap
6065 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6066 configure-stagefeedback-binutils:
6067 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6069 @r=`${PWD_COMMAND}`; export r; \
6070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6071 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6072 $(HOST_EXPORTS) \
6073 $(POSTSTAGE1_HOST_EXPORTS) \
6074 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6076 cd $(HOST_SUBDIR)/binutils || exit 1; \
6077 case $(srcdir) in \
6078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6079 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6081 esac; \
6082 srcdiroption="--srcdir=$${topdir}/binutils"; \
6083 libsrcdir="$$s/binutils"; \
6084 $(SHELL) $${libsrcdir}/configure \
6085 $(HOST_CONFIGARGS) $${srcdiroption} \
6086 --with-build-libsubdir=$(HOST_SUBDIR) \
6087 @stage2_werror_flag@
6088 @endif binutils-bootstrap
6094 .PHONY: all-binutils maybe-all-binutils
6095 maybe-all-binutils:
6096 @if gcc-bootstrap
6097 all-binutils: stage_current
6098 @endif gcc-bootstrap
6099 @if binutils
6100 TARGET-binutils=all
6101 maybe-all-binutils: all-binutils
6102 all-binutils: configure-binutils
6103 @r=`${PWD_COMMAND}`; export r; \
6104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6105 $(HOST_EXPORTS) \
6106 (cd $(HOST_SUBDIR)/binutils && \
6107 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6108 @endif binutils
6112 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6113 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6114 maybe-all-stage1-binutils:
6115 maybe-clean-stage1-binutils:
6116 @if binutils-bootstrap
6117 maybe-all-stage1-binutils: all-stage1-binutils
6118 all-stage1: all-stage1-binutils
6119 TARGET-stage1-binutils = $(TARGET-binutils)
6120 all-stage1-binutils: configure-stage1-binutils
6121 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6122 @r=`${PWD_COMMAND}`; export r; \
6123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6124 $(HOST_EXPORTS) \
6125 cd $(HOST_SUBDIR)/binutils && \
6126 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6127 $(TARGET-stage1-binutils)
6129 maybe-clean-stage1-binutils: clean-stage1-binutils
6130 clean-stage1: clean-stage1-binutils
6131 clean-stage1-binutils:
6132 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
6133 || exit 0 ; \
6134 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
6135 cd $(HOST_SUBDIR)/binutils && \
6136 $(MAKE) $(FLAGS_TO_PASS) \
6137 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6138 @endif binutils-bootstrap
6141 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6142 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6143 maybe-all-stage2-binutils:
6144 maybe-clean-stage2-binutils:
6145 @if binutils-bootstrap
6146 maybe-all-stage2-binutils: all-stage2-binutils
6147 all-stage2: all-stage2-binutils
6148 TARGET-stage2-binutils = $(TARGET-binutils)
6149 all-stage2-binutils: configure-stage2-binutils
6150 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6151 @r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6153 $(HOST_EXPORTS) \
6154 $(POSTSTAGE1_HOST_EXPORTS) \
6155 cd $(HOST_SUBDIR)/binutils && \
6156 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6157 $(TARGET-stage2-binutils)
6159 maybe-clean-stage2-binutils: clean-stage2-binutils
6160 clean-stage2: clean-stage2-binutils
6161 clean-stage2-binutils:
6162 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
6163 || exit 0 ; \
6164 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
6165 cd $(HOST_SUBDIR)/binutils && \
6166 $(MAKE) $(FLAGS_TO_PASS) \
6167 $(POSTSTAGE1_FLAGS_TO_PASS) \
6168 clean
6169 @endif binutils-bootstrap
6172 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6173 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6174 maybe-all-stage3-binutils:
6175 maybe-clean-stage3-binutils:
6176 @if binutils-bootstrap
6177 maybe-all-stage3-binutils: all-stage3-binutils
6178 all-stage3: all-stage3-binutils
6179 TARGET-stage3-binutils = $(TARGET-binutils)
6180 all-stage3-binutils: configure-stage3-binutils
6181 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6182 @r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184 $(HOST_EXPORTS) \
6185 $(POSTSTAGE1_HOST_EXPORTS) \
6186 cd $(HOST_SUBDIR)/binutils && \
6187 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6188 $(TARGET-stage3-binutils)
6190 maybe-clean-stage3-binutils: clean-stage3-binutils
6191 clean-stage3: clean-stage3-binutils
6192 clean-stage3-binutils:
6193 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
6194 || exit 0 ; \
6195 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
6196 cd $(HOST_SUBDIR)/binutils && \
6197 $(MAKE) $(FLAGS_TO_PASS) \
6198 $(POSTSTAGE1_FLAGS_TO_PASS) \
6199 clean
6200 @endif binutils-bootstrap
6203 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6204 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6205 maybe-all-stage4-binutils:
6206 maybe-clean-stage4-binutils:
6207 @if binutils-bootstrap
6208 maybe-all-stage4-binutils: all-stage4-binutils
6209 all-stage4: all-stage4-binutils
6210 TARGET-stage4-binutils = $(TARGET-binutils)
6211 all-stage4-binutils: configure-stage4-binutils
6212 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6213 @r=`${PWD_COMMAND}`; export r; \
6214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6215 $(HOST_EXPORTS) \
6216 $(POSTSTAGE1_HOST_EXPORTS) \
6217 cd $(HOST_SUBDIR)/binutils && \
6218 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6219 $(TARGET-stage4-binutils)
6221 maybe-clean-stage4-binutils: clean-stage4-binutils
6222 clean-stage4: clean-stage4-binutils
6223 clean-stage4-binutils:
6224 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
6225 || exit 0 ; \
6226 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
6227 cd $(HOST_SUBDIR)/binutils && \
6228 $(MAKE) $(FLAGS_TO_PASS) \
6229 $(POSTSTAGE1_FLAGS_TO_PASS) \
6230 clean
6231 @endif binutils-bootstrap
6234 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6235 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6236 maybe-all-stageprofile-binutils:
6237 maybe-clean-stageprofile-binutils:
6238 @if binutils-bootstrap
6239 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6240 all-stageprofile: all-stageprofile-binutils
6241 TARGET-stageprofile-binutils = $(TARGET-binutils)
6242 all-stageprofile-binutils: configure-stageprofile-binutils
6243 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6244 @r=`${PWD_COMMAND}`; export r; \
6245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6246 $(HOST_EXPORTS) \
6247 $(POSTSTAGE1_HOST_EXPORTS) \
6248 cd $(HOST_SUBDIR)/binutils && \
6249 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6250 $(TARGET-stageprofile-binutils)
6252 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6253 clean-stageprofile: clean-stageprofile-binutils
6254 clean-stageprofile-binutils:
6255 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
6256 || exit 0 ; \
6257 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
6258 cd $(HOST_SUBDIR)/binutils && \
6259 $(MAKE) $(FLAGS_TO_PASS) \
6260 $(POSTSTAGE1_FLAGS_TO_PASS) \
6261 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6262 @endif binutils-bootstrap
6265 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6266 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6267 maybe-all-stagefeedback-binutils:
6268 maybe-clean-stagefeedback-binutils:
6269 @if binutils-bootstrap
6270 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6271 all-stagefeedback: all-stagefeedback-binutils
6272 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6273 all-stagefeedback-binutils: configure-stagefeedback-binutils
6274 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6275 @r=`${PWD_COMMAND}`; export r; \
6276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6277 $(HOST_EXPORTS) \
6278 $(POSTSTAGE1_HOST_EXPORTS) \
6279 cd $(HOST_SUBDIR)/binutils && \
6280 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6281 $(TARGET-stagefeedback-binutils)
6283 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6284 clean-stagefeedback: clean-stagefeedback-binutils
6285 clean-stagefeedback-binutils:
6286 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
6287 || exit 0 ; \
6288 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
6289 cd $(HOST_SUBDIR)/binutils && \
6290 $(MAKE) $(FLAGS_TO_PASS) \
6291 $(POSTSTAGE1_FLAGS_TO_PASS) \
6292 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6293 @endif binutils-bootstrap
6299 .PHONY: check-binutils maybe-check-binutils
6300 maybe-check-binutils:
6301 @if binutils
6302 maybe-check-binutils: check-binutils
6304 check-binutils:
6305 @: $(MAKE); $(unstage)
6306 @r=`${PWD_COMMAND}`; export r; \
6307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6308 $(HOST_EXPORTS) \
6309 (cd $(HOST_SUBDIR)/binutils && \
6310 $(MAKE) $(FLAGS_TO_PASS) check)
6312 @endif binutils
6314 .PHONY: install-binutils maybe-install-binutils
6315 maybe-install-binutils:
6316 @if binutils
6317 maybe-install-binutils: install-binutils
6319 install-binutils: installdirs
6320 @: $(MAKE); $(unstage)
6321 @r=`${PWD_COMMAND}`; export r; \
6322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6323 $(HOST_EXPORTS) \
6324 (cd $(HOST_SUBDIR)/binutils && \
6325 $(MAKE) $(FLAGS_TO_PASS) install)
6327 @endif binutils
6329 # Other targets (info, dvi, pdf, etc.)
6331 .PHONY: maybe-info-binutils info-binutils
6332 maybe-info-binutils:
6333 @if binutils
6334 maybe-info-binutils: info-binutils
6336 info-binutils: \
6337 configure-binutils
6338 @[ -f ./binutils/Makefile ] || exit 0; \
6339 r=`${PWD_COMMAND}`; export r; \
6340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341 $(HOST_EXPORTS) \
6342 for flag in $(EXTRA_HOST_FLAGS) ; do \
6343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6344 done; \
6345 echo "Doing info in binutils" ; \
6346 (cd $(HOST_SUBDIR)/binutils && \
6347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6349 "RANLIB=$${RANLIB}" \
6350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6351 info) \
6352 || exit 1
6354 @endif binutils
6356 .PHONY: maybe-dvi-binutils dvi-binutils
6357 maybe-dvi-binutils:
6358 @if binutils
6359 maybe-dvi-binutils: dvi-binutils
6361 dvi-binutils: \
6362 configure-binutils
6363 @[ -f ./binutils/Makefile ] || exit 0; \
6364 r=`${PWD_COMMAND}`; export r; \
6365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6366 $(HOST_EXPORTS) \
6367 for flag in $(EXTRA_HOST_FLAGS) ; do \
6368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6369 done; \
6370 echo "Doing dvi in binutils" ; \
6371 (cd $(HOST_SUBDIR)/binutils && \
6372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6374 "RANLIB=$${RANLIB}" \
6375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6376 dvi) \
6377 || exit 1
6379 @endif binutils
6381 .PHONY: maybe-pdf-binutils pdf-binutils
6382 maybe-pdf-binutils:
6383 @if binutils
6384 maybe-pdf-binutils: pdf-binutils
6386 pdf-binutils: \
6387 configure-binutils
6388 @[ -f ./binutils/Makefile ] || exit 0; \
6389 r=`${PWD_COMMAND}`; export r; \
6390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6391 $(HOST_EXPORTS) \
6392 for flag in $(EXTRA_HOST_FLAGS) ; do \
6393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6394 done; \
6395 echo "Doing pdf in binutils" ; \
6396 (cd $(HOST_SUBDIR)/binutils && \
6397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6399 "RANLIB=$${RANLIB}" \
6400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6401 pdf) \
6402 || exit 1
6404 @endif binutils
6406 .PHONY: maybe-html-binutils html-binutils
6407 maybe-html-binutils:
6408 @if binutils
6409 maybe-html-binutils: html-binutils
6411 html-binutils: \
6412 configure-binutils
6413 @[ -f ./binutils/Makefile ] || exit 0; \
6414 r=`${PWD_COMMAND}`; export r; \
6415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6416 $(HOST_EXPORTS) \
6417 for flag in $(EXTRA_HOST_FLAGS) ; do \
6418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6419 done; \
6420 echo "Doing html in binutils" ; \
6421 (cd $(HOST_SUBDIR)/binutils && \
6422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6424 "RANLIB=$${RANLIB}" \
6425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6426 html) \
6427 || exit 1
6429 @endif binutils
6431 .PHONY: maybe-TAGS-binutils TAGS-binutils
6432 maybe-TAGS-binutils:
6433 @if binutils
6434 maybe-TAGS-binutils: TAGS-binutils
6436 TAGS-binutils: \
6437 configure-binutils
6438 @[ -f ./binutils/Makefile ] || exit 0; \
6439 r=`${PWD_COMMAND}`; export r; \
6440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6441 $(HOST_EXPORTS) \
6442 for flag in $(EXTRA_HOST_FLAGS) ; do \
6443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6444 done; \
6445 echo "Doing TAGS in binutils" ; \
6446 (cd $(HOST_SUBDIR)/binutils && \
6447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6449 "RANLIB=$${RANLIB}" \
6450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6451 TAGS) \
6452 || exit 1
6454 @endif binutils
6456 .PHONY: maybe-install-info-binutils install-info-binutils
6457 maybe-install-info-binutils:
6458 @if binutils
6459 maybe-install-info-binutils: install-info-binutils
6461 install-info-binutils: \
6462 configure-binutils \
6463 info-binutils
6464 @[ -f ./binutils/Makefile ] || exit 0; \
6465 r=`${PWD_COMMAND}`; export r; \
6466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6467 $(HOST_EXPORTS) \
6468 for flag in $(EXTRA_HOST_FLAGS) ; do \
6469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6470 done; \
6471 echo "Doing install-info in binutils" ; \
6472 (cd $(HOST_SUBDIR)/binutils && \
6473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6475 "RANLIB=$${RANLIB}" \
6476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6477 install-info) \
6478 || exit 1
6480 @endif binutils
6482 .PHONY: maybe-install-html-binutils install-html-binutils
6483 maybe-install-html-binutils:
6484 @if binutils
6485 maybe-install-html-binutils: install-html-binutils
6487 install-html-binutils: \
6488 configure-binutils \
6489 html-binutils
6490 @[ -f ./binutils/Makefile ] || exit 0; \
6491 r=`${PWD_COMMAND}`; export r; \
6492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6493 $(HOST_EXPORTS) \
6494 for flag in $(EXTRA_HOST_FLAGS) ; do \
6495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6496 done; \
6497 echo "Doing install-html in binutils" ; \
6498 (cd $(HOST_SUBDIR)/binutils && \
6499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6501 "RANLIB=$${RANLIB}" \
6502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6503 install-html) \
6504 || exit 1
6506 @endif binutils
6508 .PHONY: maybe-installcheck-binutils installcheck-binutils
6509 maybe-installcheck-binutils:
6510 @if binutils
6511 maybe-installcheck-binutils: installcheck-binutils
6513 installcheck-binutils: \
6514 configure-binutils
6515 @[ -f ./binutils/Makefile ] || exit 0; \
6516 r=`${PWD_COMMAND}`; export r; \
6517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6518 $(HOST_EXPORTS) \
6519 for flag in $(EXTRA_HOST_FLAGS) ; do \
6520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6521 done; \
6522 echo "Doing installcheck in binutils" ; \
6523 (cd $(HOST_SUBDIR)/binutils && \
6524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6526 "RANLIB=$${RANLIB}" \
6527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6528 installcheck) \
6529 || exit 1
6531 @endif binutils
6533 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6534 maybe-mostlyclean-binutils:
6535 @if binutils
6536 maybe-mostlyclean-binutils: mostlyclean-binutils
6538 mostlyclean-binutils:
6539 @[ -f ./binutils/Makefile ] || exit 0; \
6540 r=`${PWD_COMMAND}`; export r; \
6541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6542 $(HOST_EXPORTS) \
6543 for flag in $(EXTRA_HOST_FLAGS) ; do \
6544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6545 done; \
6546 echo "Doing mostlyclean in binutils" ; \
6547 (cd $(HOST_SUBDIR)/binutils && \
6548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6550 "RANLIB=$${RANLIB}" \
6551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6552 mostlyclean) \
6553 || exit 1
6555 @endif binutils
6557 .PHONY: maybe-clean-binutils clean-binutils
6558 maybe-clean-binutils:
6559 @if binutils
6560 maybe-clean-binutils: clean-binutils
6562 clean-binutils:
6563 @[ -f ./binutils/Makefile ] || exit 0; \
6564 r=`${PWD_COMMAND}`; export r; \
6565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6566 $(HOST_EXPORTS) \
6567 for flag in $(EXTRA_HOST_FLAGS) ; do \
6568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6569 done; \
6570 echo "Doing clean in binutils" ; \
6571 (cd $(HOST_SUBDIR)/binutils && \
6572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6574 "RANLIB=$${RANLIB}" \
6575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6576 clean) \
6577 || exit 1
6579 @endif binutils
6581 .PHONY: maybe-distclean-binutils distclean-binutils
6582 maybe-distclean-binutils:
6583 @if binutils
6584 maybe-distclean-binutils: distclean-binutils
6586 distclean-binutils:
6587 @[ -f ./binutils/Makefile ] || exit 0; \
6588 r=`${PWD_COMMAND}`; export r; \
6589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6590 $(HOST_EXPORTS) \
6591 for flag in $(EXTRA_HOST_FLAGS) ; do \
6592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6593 done; \
6594 echo "Doing distclean in binutils" ; \
6595 (cd $(HOST_SUBDIR)/binutils && \
6596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6598 "RANLIB=$${RANLIB}" \
6599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6600 distclean) \
6601 || exit 1
6603 @endif binutils
6605 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6606 maybe-maintainer-clean-binutils:
6607 @if binutils
6608 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6610 maintainer-clean-binutils:
6611 @[ -f ./binutils/Makefile ] || exit 0; \
6612 r=`${PWD_COMMAND}`; export r; \
6613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6614 $(HOST_EXPORTS) \
6615 for flag in $(EXTRA_HOST_FLAGS) ; do \
6616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6617 done; \
6618 echo "Doing maintainer-clean in binutils" ; \
6619 (cd $(HOST_SUBDIR)/binutils && \
6620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6622 "RANLIB=$${RANLIB}" \
6623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6624 maintainer-clean) \
6625 || exit 1
6627 @endif binutils
6631 .PHONY: configure-bison maybe-configure-bison
6632 maybe-configure-bison:
6633 @if gcc-bootstrap
6634 configure-bison: stage_current
6635 @endif gcc-bootstrap
6636 @if bison
6637 maybe-configure-bison: configure-bison
6638 configure-bison:
6639 @: $(MAKE); $(unstage)
6640 @r=`${PWD_COMMAND}`; export r; \
6641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6642 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6644 $(HOST_EXPORTS) \
6645 echo Configuring in $(HOST_SUBDIR)/bison; \
6646 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6647 case $(srcdir) in \
6648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6649 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6651 esac; \
6652 srcdiroption="--srcdir=$${topdir}/bison"; \
6653 libsrcdir="$$s/bison"; \
6654 $(SHELL) $${libsrcdir}/configure \
6655 $(HOST_CONFIGARGS) $${srcdiroption} \
6656 || exit 1
6657 @endif bison
6663 .PHONY: all-bison maybe-all-bison
6664 maybe-all-bison:
6665 @if gcc-bootstrap
6666 all-bison: stage_current
6667 @endif gcc-bootstrap
6668 @if bison
6669 TARGET-bison=all
6670 maybe-all-bison: all-bison
6671 all-bison: configure-bison
6672 @: $(MAKE); $(unstage)
6673 @r=`${PWD_COMMAND}`; export r; \
6674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675 $(HOST_EXPORTS) \
6676 (cd $(HOST_SUBDIR)/bison && \
6677 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6678 @endif bison
6683 .PHONY: check-bison maybe-check-bison
6684 maybe-check-bison:
6685 @if bison
6686 maybe-check-bison: check-bison
6688 # This module is only tested in a native toolchain.
6689 check-bison:
6690 @: $(MAKE); $(unstage)
6691 @if [ '$(host)' = '$(target)' ] ; then \
6692 r=`${PWD_COMMAND}`; export r; \
6693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6694 $(HOST_EXPORTS) \
6695 (cd $(HOST_SUBDIR)/bison && \
6696 $(MAKE) $(FLAGS_TO_PASS) check); \
6699 @endif bison
6701 .PHONY: install-bison maybe-install-bison
6702 maybe-install-bison:
6703 @if bison
6704 maybe-install-bison: install-bison
6706 install-bison: installdirs
6707 @: $(MAKE); $(unstage)
6708 @r=`${PWD_COMMAND}`; export r; \
6709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6710 $(HOST_EXPORTS) \
6711 (cd $(HOST_SUBDIR)/bison && \
6712 $(MAKE) $(FLAGS_TO_PASS) install)
6714 @endif bison
6716 # Other targets (info, dvi, pdf, etc.)
6718 .PHONY: maybe-info-bison info-bison
6719 maybe-info-bison:
6720 @if bison
6721 maybe-info-bison: info-bison
6723 info-bison: \
6724 configure-bison
6725 @: $(MAKE); $(unstage)
6726 @[ -f ./bison/Makefile ] || exit 0; \
6727 r=`${PWD_COMMAND}`; export r; \
6728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6729 $(HOST_EXPORTS) \
6730 for flag in $(EXTRA_HOST_FLAGS) ; do \
6731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6732 done; \
6733 echo "Doing info in bison" ; \
6734 (cd $(HOST_SUBDIR)/bison && \
6735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6737 "RANLIB=$${RANLIB}" \
6738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6739 info) \
6740 || exit 1
6742 @endif bison
6744 .PHONY: maybe-dvi-bison dvi-bison
6745 maybe-dvi-bison:
6746 @if bison
6747 maybe-dvi-bison: dvi-bison
6749 dvi-bison: \
6750 configure-bison
6751 @: $(MAKE); $(unstage)
6752 @[ -f ./bison/Makefile ] || exit 0; \
6753 r=`${PWD_COMMAND}`; export r; \
6754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6755 $(HOST_EXPORTS) \
6756 for flag in $(EXTRA_HOST_FLAGS) ; do \
6757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6758 done; \
6759 echo "Doing dvi in bison" ; \
6760 (cd $(HOST_SUBDIR)/bison && \
6761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6763 "RANLIB=$${RANLIB}" \
6764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6765 dvi) \
6766 || exit 1
6768 @endif bison
6770 .PHONY: maybe-pdf-bison pdf-bison
6771 maybe-pdf-bison:
6772 @if bison
6773 maybe-pdf-bison: pdf-bison
6775 pdf-bison: \
6776 configure-bison
6777 @: $(MAKE); $(unstage)
6778 @[ -f ./bison/Makefile ] || exit 0; \
6779 r=`${PWD_COMMAND}`; export r; \
6780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6781 $(HOST_EXPORTS) \
6782 for flag in $(EXTRA_HOST_FLAGS) ; do \
6783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6784 done; \
6785 echo "Doing pdf in bison" ; \
6786 (cd $(HOST_SUBDIR)/bison && \
6787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6789 "RANLIB=$${RANLIB}" \
6790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6791 pdf) \
6792 || exit 1
6794 @endif bison
6796 .PHONY: maybe-html-bison html-bison
6797 maybe-html-bison:
6798 @if bison
6799 maybe-html-bison: html-bison
6801 html-bison: \
6802 configure-bison
6803 @: $(MAKE); $(unstage)
6804 @[ -f ./bison/Makefile ] || exit 0; \
6805 r=`${PWD_COMMAND}`; export r; \
6806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6807 $(HOST_EXPORTS) \
6808 for flag in $(EXTRA_HOST_FLAGS) ; do \
6809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6810 done; \
6811 echo "Doing html in bison" ; \
6812 (cd $(HOST_SUBDIR)/bison && \
6813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6815 "RANLIB=$${RANLIB}" \
6816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6817 html) \
6818 || exit 1
6820 @endif bison
6822 .PHONY: maybe-TAGS-bison TAGS-bison
6823 maybe-TAGS-bison:
6824 @if bison
6825 maybe-TAGS-bison: TAGS-bison
6827 TAGS-bison: \
6828 configure-bison
6829 @: $(MAKE); $(unstage)
6830 @[ -f ./bison/Makefile ] || exit 0; \
6831 r=`${PWD_COMMAND}`; export r; \
6832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6833 $(HOST_EXPORTS) \
6834 for flag in $(EXTRA_HOST_FLAGS) ; do \
6835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6836 done; \
6837 echo "Doing TAGS in bison" ; \
6838 (cd $(HOST_SUBDIR)/bison && \
6839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6841 "RANLIB=$${RANLIB}" \
6842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6843 TAGS) \
6844 || exit 1
6846 @endif bison
6848 .PHONY: maybe-install-info-bison install-info-bison
6849 maybe-install-info-bison:
6850 @if bison
6851 maybe-install-info-bison: install-info-bison
6853 install-info-bison: \
6854 configure-bison \
6855 info-bison
6856 @: $(MAKE); $(unstage)
6857 @[ -f ./bison/Makefile ] || exit 0; \
6858 r=`${PWD_COMMAND}`; export r; \
6859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6860 $(HOST_EXPORTS) \
6861 for flag in $(EXTRA_HOST_FLAGS) ; do \
6862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6863 done; \
6864 echo "Doing install-info in bison" ; \
6865 (cd $(HOST_SUBDIR)/bison && \
6866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6868 "RANLIB=$${RANLIB}" \
6869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6870 install-info) \
6871 || exit 1
6873 @endif bison
6875 .PHONY: maybe-install-html-bison install-html-bison
6876 maybe-install-html-bison:
6877 @if bison
6878 maybe-install-html-bison: install-html-bison
6880 install-html-bison: \
6881 configure-bison \
6882 html-bison
6883 @: $(MAKE); $(unstage)
6884 @[ -f ./bison/Makefile ] || exit 0; \
6885 r=`${PWD_COMMAND}`; export r; \
6886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6887 $(HOST_EXPORTS) \
6888 for flag in $(EXTRA_HOST_FLAGS) ; do \
6889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6890 done; \
6891 echo "Doing install-html in bison" ; \
6892 (cd $(HOST_SUBDIR)/bison && \
6893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6895 "RANLIB=$${RANLIB}" \
6896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6897 install-html) \
6898 || exit 1
6900 @endif bison
6902 .PHONY: maybe-installcheck-bison installcheck-bison
6903 maybe-installcheck-bison:
6904 @if bison
6905 maybe-installcheck-bison: installcheck-bison
6907 installcheck-bison: \
6908 configure-bison
6909 @: $(MAKE); $(unstage)
6910 @[ -f ./bison/Makefile ] || exit 0; \
6911 r=`${PWD_COMMAND}`; export r; \
6912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6913 $(HOST_EXPORTS) \
6914 for flag in $(EXTRA_HOST_FLAGS) ; do \
6915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6916 done; \
6917 echo "Doing installcheck in bison" ; \
6918 (cd $(HOST_SUBDIR)/bison && \
6919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6921 "RANLIB=$${RANLIB}" \
6922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6923 installcheck) \
6924 || exit 1
6926 @endif bison
6928 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6929 maybe-mostlyclean-bison:
6930 @if bison
6931 maybe-mostlyclean-bison: mostlyclean-bison
6933 mostlyclean-bison:
6934 @: $(MAKE); $(unstage)
6935 @[ -f ./bison/Makefile ] || exit 0; \
6936 r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6938 $(HOST_EXPORTS) \
6939 for flag in $(EXTRA_HOST_FLAGS) ; do \
6940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6941 done; \
6942 echo "Doing mostlyclean in bison" ; \
6943 (cd $(HOST_SUBDIR)/bison && \
6944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6946 "RANLIB=$${RANLIB}" \
6947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6948 mostlyclean) \
6949 || exit 1
6951 @endif bison
6953 .PHONY: maybe-clean-bison clean-bison
6954 maybe-clean-bison:
6955 @if bison
6956 maybe-clean-bison: clean-bison
6958 clean-bison:
6959 @: $(MAKE); $(unstage)
6960 @[ -f ./bison/Makefile ] || exit 0; \
6961 r=`${PWD_COMMAND}`; export r; \
6962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6963 $(HOST_EXPORTS) \
6964 for flag in $(EXTRA_HOST_FLAGS) ; do \
6965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6966 done; \
6967 echo "Doing clean in bison" ; \
6968 (cd $(HOST_SUBDIR)/bison && \
6969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6971 "RANLIB=$${RANLIB}" \
6972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6973 clean) \
6974 || exit 1
6976 @endif bison
6978 .PHONY: maybe-distclean-bison distclean-bison
6979 maybe-distclean-bison:
6980 @if bison
6981 maybe-distclean-bison: distclean-bison
6983 distclean-bison:
6984 @: $(MAKE); $(unstage)
6985 @[ -f ./bison/Makefile ] || exit 0; \
6986 r=`${PWD_COMMAND}`; export r; \
6987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6988 $(HOST_EXPORTS) \
6989 for flag in $(EXTRA_HOST_FLAGS) ; do \
6990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6991 done; \
6992 echo "Doing distclean in bison" ; \
6993 (cd $(HOST_SUBDIR)/bison && \
6994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6996 "RANLIB=$${RANLIB}" \
6997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6998 distclean) \
6999 || exit 1
7001 @endif bison
7003 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7004 maybe-maintainer-clean-bison:
7005 @if bison
7006 maybe-maintainer-clean-bison: maintainer-clean-bison
7008 maintainer-clean-bison:
7009 @: $(MAKE); $(unstage)
7010 @[ -f ./bison/Makefile ] || exit 0; \
7011 r=`${PWD_COMMAND}`; export r; \
7012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7013 $(HOST_EXPORTS) \
7014 for flag in $(EXTRA_HOST_FLAGS) ; do \
7015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7016 done; \
7017 echo "Doing maintainer-clean in bison" ; \
7018 (cd $(HOST_SUBDIR)/bison && \
7019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7021 "RANLIB=$${RANLIB}" \
7022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7023 maintainer-clean) \
7024 || exit 1
7026 @endif bison
7030 .PHONY: configure-byacc maybe-configure-byacc
7031 maybe-configure-byacc:
7032 @if gcc-bootstrap
7033 configure-byacc: stage_current
7034 @endif gcc-bootstrap
7035 @if byacc
7036 maybe-configure-byacc: configure-byacc
7037 configure-byacc:
7038 @: $(MAKE); $(unstage)
7039 @r=`${PWD_COMMAND}`; export r; \
7040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7041 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7043 $(HOST_EXPORTS) \
7044 echo Configuring in $(HOST_SUBDIR)/byacc; \
7045 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7046 case $(srcdir) in \
7047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7048 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7050 esac; \
7051 srcdiroption="--srcdir=$${topdir}/byacc"; \
7052 libsrcdir="$$s/byacc"; \
7053 $(SHELL) $${libsrcdir}/configure \
7054 $(HOST_CONFIGARGS) $${srcdiroption} \
7055 || exit 1
7056 @endif byacc
7062 .PHONY: all-byacc maybe-all-byacc
7063 maybe-all-byacc:
7064 @if gcc-bootstrap
7065 all-byacc: stage_current
7066 @endif gcc-bootstrap
7067 @if byacc
7068 TARGET-byacc=all
7069 maybe-all-byacc: all-byacc
7070 all-byacc: configure-byacc
7071 @: $(MAKE); $(unstage)
7072 @r=`${PWD_COMMAND}`; export r; \
7073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 $(HOST_EXPORTS) \
7075 (cd $(HOST_SUBDIR)/byacc && \
7076 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7077 @endif byacc
7082 .PHONY: check-byacc maybe-check-byacc
7083 maybe-check-byacc:
7084 @if byacc
7085 maybe-check-byacc: check-byacc
7087 # This module is only tested in a native toolchain.
7088 check-byacc:
7089 @: $(MAKE); $(unstage)
7090 @if [ '$(host)' = '$(target)' ] ; then \
7091 r=`${PWD_COMMAND}`; export r; \
7092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7093 $(HOST_EXPORTS) \
7094 (cd $(HOST_SUBDIR)/byacc && \
7095 $(MAKE) $(FLAGS_TO_PASS) check); \
7098 @endif byacc
7100 .PHONY: install-byacc maybe-install-byacc
7101 maybe-install-byacc:
7102 @if byacc
7103 maybe-install-byacc: install-byacc
7105 install-byacc: installdirs
7106 @: $(MAKE); $(unstage)
7107 @r=`${PWD_COMMAND}`; export r; \
7108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7109 $(HOST_EXPORTS) \
7110 (cd $(HOST_SUBDIR)/byacc && \
7111 $(MAKE) $(FLAGS_TO_PASS) install)
7113 @endif byacc
7115 # Other targets (info, dvi, pdf, etc.)
7117 .PHONY: maybe-info-byacc info-byacc
7118 maybe-info-byacc:
7119 @if byacc
7120 maybe-info-byacc: info-byacc
7122 info-byacc: \
7123 configure-byacc
7124 @: $(MAKE); $(unstage)
7125 @[ -f ./byacc/Makefile ] || exit 0; \
7126 r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7128 $(HOST_EXPORTS) \
7129 for flag in $(EXTRA_HOST_FLAGS) ; do \
7130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7131 done; \
7132 echo "Doing info in byacc" ; \
7133 (cd $(HOST_SUBDIR)/byacc && \
7134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7136 "RANLIB=$${RANLIB}" \
7137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7138 info) \
7139 || exit 1
7141 @endif byacc
7143 .PHONY: maybe-dvi-byacc dvi-byacc
7144 maybe-dvi-byacc:
7145 @if byacc
7146 maybe-dvi-byacc: dvi-byacc
7148 dvi-byacc: \
7149 configure-byacc
7150 @: $(MAKE); $(unstage)
7151 @[ -f ./byacc/Makefile ] || exit 0; \
7152 r=`${PWD_COMMAND}`; export r; \
7153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7154 $(HOST_EXPORTS) \
7155 for flag in $(EXTRA_HOST_FLAGS) ; do \
7156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7157 done; \
7158 echo "Doing dvi in byacc" ; \
7159 (cd $(HOST_SUBDIR)/byacc && \
7160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7162 "RANLIB=$${RANLIB}" \
7163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7164 dvi) \
7165 || exit 1
7167 @endif byacc
7169 .PHONY: maybe-pdf-byacc pdf-byacc
7170 maybe-pdf-byacc:
7171 @if byacc
7172 maybe-pdf-byacc: pdf-byacc
7174 pdf-byacc: \
7175 configure-byacc
7176 @: $(MAKE); $(unstage)
7177 @[ -f ./byacc/Makefile ] || exit 0; \
7178 r=`${PWD_COMMAND}`; export r; \
7179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7180 $(HOST_EXPORTS) \
7181 for flag in $(EXTRA_HOST_FLAGS) ; do \
7182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7183 done; \
7184 echo "Doing pdf in byacc" ; \
7185 (cd $(HOST_SUBDIR)/byacc && \
7186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7188 "RANLIB=$${RANLIB}" \
7189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7190 pdf) \
7191 || exit 1
7193 @endif byacc
7195 .PHONY: maybe-html-byacc html-byacc
7196 maybe-html-byacc:
7197 @if byacc
7198 maybe-html-byacc: html-byacc
7200 html-byacc: \
7201 configure-byacc
7202 @: $(MAKE); $(unstage)
7203 @[ -f ./byacc/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing html in byacc" ; \
7211 (cd $(HOST_SUBDIR)/byacc && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7216 html) \
7217 || exit 1
7219 @endif byacc
7221 .PHONY: maybe-TAGS-byacc TAGS-byacc
7222 maybe-TAGS-byacc:
7223 @if byacc
7224 maybe-TAGS-byacc: TAGS-byacc
7226 TAGS-byacc: \
7227 configure-byacc
7228 @: $(MAKE); $(unstage)
7229 @[ -f ./byacc/Makefile ] || exit 0; \
7230 r=`${PWD_COMMAND}`; export r; \
7231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 $(HOST_EXPORTS) \
7233 for flag in $(EXTRA_HOST_FLAGS) ; do \
7234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 done; \
7236 echo "Doing TAGS in byacc" ; \
7237 (cd $(HOST_SUBDIR)/byacc && \
7238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7240 "RANLIB=$${RANLIB}" \
7241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7242 TAGS) \
7243 || exit 1
7245 @endif byacc
7247 .PHONY: maybe-install-info-byacc install-info-byacc
7248 maybe-install-info-byacc:
7249 @if byacc
7250 maybe-install-info-byacc: install-info-byacc
7252 install-info-byacc: \
7253 configure-byacc \
7254 info-byacc
7255 @: $(MAKE); $(unstage)
7256 @[ -f ./byacc/Makefile ] || exit 0; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 for flag in $(EXTRA_HOST_FLAGS) ; do \
7261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7262 done; \
7263 echo "Doing install-info in byacc" ; \
7264 (cd $(HOST_SUBDIR)/byacc && \
7265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7267 "RANLIB=$${RANLIB}" \
7268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7269 install-info) \
7270 || exit 1
7272 @endif byacc
7274 .PHONY: maybe-install-html-byacc install-html-byacc
7275 maybe-install-html-byacc:
7276 @if byacc
7277 maybe-install-html-byacc: install-html-byacc
7279 install-html-byacc: \
7280 configure-byacc \
7281 html-byacc
7282 @: $(MAKE); $(unstage)
7283 @[ -f ./byacc/Makefile ] || exit 0; \
7284 r=`${PWD_COMMAND}`; export r; \
7285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7286 $(HOST_EXPORTS) \
7287 for flag in $(EXTRA_HOST_FLAGS) ; do \
7288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7289 done; \
7290 echo "Doing install-html in byacc" ; \
7291 (cd $(HOST_SUBDIR)/byacc && \
7292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7294 "RANLIB=$${RANLIB}" \
7295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7296 install-html) \
7297 || exit 1
7299 @endif byacc
7301 .PHONY: maybe-installcheck-byacc installcheck-byacc
7302 maybe-installcheck-byacc:
7303 @if byacc
7304 maybe-installcheck-byacc: installcheck-byacc
7306 installcheck-byacc: \
7307 configure-byacc
7308 @: $(MAKE); $(unstage)
7309 @[ -f ./byacc/Makefile ] || exit 0; \
7310 r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing installcheck in byacc" ; \
7317 (cd $(HOST_SUBDIR)/byacc && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7322 installcheck) \
7323 || exit 1
7325 @endif byacc
7327 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7328 maybe-mostlyclean-byacc:
7329 @if byacc
7330 maybe-mostlyclean-byacc: mostlyclean-byacc
7332 mostlyclean-byacc:
7333 @: $(MAKE); $(unstage)
7334 @[ -f ./byacc/Makefile ] || exit 0; \
7335 r=`${PWD_COMMAND}`; export r; \
7336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing mostlyclean in byacc" ; \
7342 (cd $(HOST_SUBDIR)/byacc && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7347 mostlyclean) \
7348 || exit 1
7350 @endif byacc
7352 .PHONY: maybe-clean-byacc clean-byacc
7353 maybe-clean-byacc:
7354 @if byacc
7355 maybe-clean-byacc: clean-byacc
7357 clean-byacc:
7358 @: $(MAKE); $(unstage)
7359 @[ -f ./byacc/Makefile ] || exit 0; \
7360 r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 $(HOST_EXPORTS) \
7363 for flag in $(EXTRA_HOST_FLAGS) ; do \
7364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7365 done; \
7366 echo "Doing clean in byacc" ; \
7367 (cd $(HOST_SUBDIR)/byacc && \
7368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7370 "RANLIB=$${RANLIB}" \
7371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7372 clean) \
7373 || exit 1
7375 @endif byacc
7377 .PHONY: maybe-distclean-byacc distclean-byacc
7378 maybe-distclean-byacc:
7379 @if byacc
7380 maybe-distclean-byacc: distclean-byacc
7382 distclean-byacc:
7383 @: $(MAKE); $(unstage)
7384 @[ -f ./byacc/Makefile ] || exit 0; \
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(HOST_EXPORTS) \
7388 for flag in $(EXTRA_HOST_FLAGS) ; do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing distclean in byacc" ; \
7392 (cd $(HOST_SUBDIR)/byacc && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7397 distclean) \
7398 || exit 1
7400 @endif byacc
7402 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7403 maybe-maintainer-clean-byacc:
7404 @if byacc
7405 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7407 maintainer-clean-byacc:
7408 @: $(MAKE); $(unstage)
7409 @[ -f ./byacc/Makefile ] || exit 0; \
7410 r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7412 $(HOST_EXPORTS) \
7413 for flag in $(EXTRA_HOST_FLAGS) ; do \
7414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7415 done; \
7416 echo "Doing maintainer-clean in byacc" ; \
7417 (cd $(HOST_SUBDIR)/byacc && \
7418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7420 "RANLIB=$${RANLIB}" \
7421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7422 maintainer-clean) \
7423 || exit 1
7425 @endif byacc
7429 .PHONY: configure-bzip2 maybe-configure-bzip2
7430 maybe-configure-bzip2:
7431 @if gcc-bootstrap
7432 configure-bzip2: stage_current
7433 @endif gcc-bootstrap
7434 @if bzip2
7435 maybe-configure-bzip2: configure-bzip2
7436 configure-bzip2:
7437 @: $(MAKE); $(unstage)
7438 @r=`${PWD_COMMAND}`; export r; \
7439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7440 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7442 $(HOST_EXPORTS) \
7443 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7444 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7445 case $(srcdir) in \
7446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7447 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7449 esac; \
7450 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7451 libsrcdir="$$s/bzip2"; \
7452 $(SHELL) $${libsrcdir}/configure \
7453 $(HOST_CONFIGARGS) $${srcdiroption} \
7454 || exit 1
7455 @endif bzip2
7461 .PHONY: all-bzip2 maybe-all-bzip2
7462 maybe-all-bzip2:
7463 @if gcc-bootstrap
7464 all-bzip2: stage_current
7465 @endif gcc-bootstrap
7466 @if bzip2
7467 TARGET-bzip2=all
7468 maybe-all-bzip2: all-bzip2
7469 all-bzip2: configure-bzip2
7470 @: $(MAKE); $(unstage)
7471 @r=`${PWD_COMMAND}`; export r; \
7472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 $(HOST_EXPORTS) \
7474 (cd $(HOST_SUBDIR)/bzip2 && \
7475 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7476 @endif bzip2
7481 .PHONY: check-bzip2 maybe-check-bzip2
7482 maybe-check-bzip2:
7483 @if bzip2
7484 maybe-check-bzip2: check-bzip2
7486 check-bzip2:
7487 @: $(MAKE); $(unstage)
7488 @r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 (cd $(HOST_SUBDIR)/bzip2 && \
7492 $(MAKE) $(FLAGS_TO_PASS) check)
7494 @endif bzip2
7496 .PHONY: install-bzip2 maybe-install-bzip2
7497 maybe-install-bzip2:
7498 @if bzip2
7499 maybe-install-bzip2: install-bzip2
7501 install-bzip2: installdirs
7502 @: $(MAKE); $(unstage)
7503 @r=`${PWD_COMMAND}`; export r; \
7504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7505 $(HOST_EXPORTS) \
7506 (cd $(HOST_SUBDIR)/bzip2 && \
7507 $(MAKE) $(FLAGS_TO_PASS) install)
7509 @endif bzip2
7511 # Other targets (info, dvi, pdf, etc.)
7513 .PHONY: maybe-info-bzip2 info-bzip2
7514 maybe-info-bzip2:
7515 @if bzip2
7516 maybe-info-bzip2: info-bzip2
7518 info-bzip2: \
7519 configure-bzip2
7520 @: $(MAKE); $(unstage)
7521 @[ -f ./bzip2/Makefile ] || exit 0; \
7522 r=`${PWD_COMMAND}`; export r; \
7523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7524 $(HOST_EXPORTS) \
7525 for flag in $(EXTRA_HOST_FLAGS) ; do \
7526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7527 done; \
7528 echo "Doing info in bzip2" ; \
7529 (cd $(HOST_SUBDIR)/bzip2 && \
7530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7532 "RANLIB=$${RANLIB}" \
7533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7534 info) \
7535 || exit 1
7537 @endif bzip2
7539 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7540 maybe-dvi-bzip2:
7541 @if bzip2
7542 maybe-dvi-bzip2: dvi-bzip2
7544 dvi-bzip2: \
7545 configure-bzip2
7546 @: $(MAKE); $(unstage)
7547 @[ -f ./bzip2/Makefile ] || exit 0; \
7548 r=`${PWD_COMMAND}`; export r; \
7549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7550 $(HOST_EXPORTS) \
7551 for flag in $(EXTRA_HOST_FLAGS) ; do \
7552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7553 done; \
7554 echo "Doing dvi in bzip2" ; \
7555 (cd $(HOST_SUBDIR)/bzip2 && \
7556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7558 "RANLIB=$${RANLIB}" \
7559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7560 dvi) \
7561 || exit 1
7563 @endif bzip2
7565 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7566 maybe-pdf-bzip2:
7567 @if bzip2
7568 maybe-pdf-bzip2: pdf-bzip2
7570 pdf-bzip2: \
7571 configure-bzip2
7572 @: $(MAKE); $(unstage)
7573 @[ -f ./bzip2/Makefile ] || exit 0; \
7574 r=`${PWD_COMMAND}`; export r; \
7575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7576 $(HOST_EXPORTS) \
7577 for flag in $(EXTRA_HOST_FLAGS) ; do \
7578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7579 done; \
7580 echo "Doing pdf in bzip2" ; \
7581 (cd $(HOST_SUBDIR)/bzip2 && \
7582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7584 "RANLIB=$${RANLIB}" \
7585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7586 pdf) \
7587 || exit 1
7589 @endif bzip2
7591 .PHONY: maybe-html-bzip2 html-bzip2
7592 maybe-html-bzip2:
7593 @if bzip2
7594 maybe-html-bzip2: html-bzip2
7596 html-bzip2: \
7597 configure-bzip2
7598 @: $(MAKE); $(unstage)
7599 @[ -f ./bzip2/Makefile ] || exit 0; \
7600 r=`${PWD_COMMAND}`; export r; \
7601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7602 $(HOST_EXPORTS) \
7603 for flag in $(EXTRA_HOST_FLAGS) ; do \
7604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7605 done; \
7606 echo "Doing html in bzip2" ; \
7607 (cd $(HOST_SUBDIR)/bzip2 && \
7608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7610 "RANLIB=$${RANLIB}" \
7611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7612 html) \
7613 || exit 1
7615 @endif bzip2
7617 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7618 maybe-TAGS-bzip2:
7619 @if bzip2
7620 maybe-TAGS-bzip2: TAGS-bzip2
7622 TAGS-bzip2: \
7623 configure-bzip2
7624 @: $(MAKE); $(unstage)
7625 @[ -f ./bzip2/Makefile ] || exit 0; \
7626 r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 $(HOST_EXPORTS) \
7629 for flag in $(EXTRA_HOST_FLAGS) ; do \
7630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7631 done; \
7632 echo "Doing TAGS in bzip2" ; \
7633 (cd $(HOST_SUBDIR)/bzip2 && \
7634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7636 "RANLIB=$${RANLIB}" \
7637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7638 TAGS) \
7639 || exit 1
7641 @endif bzip2
7643 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7644 maybe-install-info-bzip2:
7645 @if bzip2
7646 maybe-install-info-bzip2: install-info-bzip2
7648 install-info-bzip2: \
7649 configure-bzip2 \
7650 info-bzip2
7651 @: $(MAKE); $(unstage)
7652 @[ -f ./bzip2/Makefile ] || exit 0; \
7653 r=`${PWD_COMMAND}`; export r; \
7654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7655 $(HOST_EXPORTS) \
7656 for flag in $(EXTRA_HOST_FLAGS) ; do \
7657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7658 done; \
7659 echo "Doing install-info in bzip2" ; \
7660 (cd $(HOST_SUBDIR)/bzip2 && \
7661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7663 "RANLIB=$${RANLIB}" \
7664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7665 install-info) \
7666 || exit 1
7668 @endif bzip2
7670 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7671 maybe-install-html-bzip2:
7672 @if bzip2
7673 maybe-install-html-bzip2: install-html-bzip2
7675 install-html-bzip2: \
7676 configure-bzip2 \
7677 html-bzip2
7678 @: $(MAKE); $(unstage)
7679 @[ -f ./bzip2/Makefile ] || exit 0; \
7680 r=`${PWD_COMMAND}`; export r; \
7681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7682 $(HOST_EXPORTS) \
7683 for flag in $(EXTRA_HOST_FLAGS) ; do \
7684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7685 done; \
7686 echo "Doing install-html in bzip2" ; \
7687 (cd $(HOST_SUBDIR)/bzip2 && \
7688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7690 "RANLIB=$${RANLIB}" \
7691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7692 install-html) \
7693 || exit 1
7695 @endif bzip2
7697 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7698 maybe-installcheck-bzip2:
7699 @if bzip2
7700 maybe-installcheck-bzip2: installcheck-bzip2
7702 installcheck-bzip2: \
7703 configure-bzip2
7704 @: $(MAKE); $(unstage)
7705 @[ -f ./bzip2/Makefile ] || exit 0; \
7706 r=`${PWD_COMMAND}`; export r; \
7707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7708 $(HOST_EXPORTS) \
7709 for flag in $(EXTRA_HOST_FLAGS) ; do \
7710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7711 done; \
7712 echo "Doing installcheck in bzip2" ; \
7713 (cd $(HOST_SUBDIR)/bzip2 && \
7714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7716 "RANLIB=$${RANLIB}" \
7717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7718 installcheck) \
7719 || exit 1
7721 @endif bzip2
7723 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7724 maybe-mostlyclean-bzip2:
7725 @if bzip2
7726 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7728 mostlyclean-bzip2:
7729 @: $(MAKE); $(unstage)
7730 @[ -f ./bzip2/Makefile ] || exit 0; \
7731 r=`${PWD_COMMAND}`; export r; \
7732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7733 $(HOST_EXPORTS) \
7734 for flag in $(EXTRA_HOST_FLAGS) ; do \
7735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7736 done; \
7737 echo "Doing mostlyclean in bzip2" ; \
7738 (cd $(HOST_SUBDIR)/bzip2 && \
7739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7741 "RANLIB=$${RANLIB}" \
7742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7743 mostlyclean) \
7744 || exit 1
7746 @endif bzip2
7748 .PHONY: maybe-clean-bzip2 clean-bzip2
7749 maybe-clean-bzip2:
7750 @if bzip2
7751 maybe-clean-bzip2: clean-bzip2
7753 clean-bzip2:
7754 @: $(MAKE); $(unstage)
7755 @[ -f ./bzip2/Makefile ] || exit 0; \
7756 r=`${PWD_COMMAND}`; export r; \
7757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7758 $(HOST_EXPORTS) \
7759 for flag in $(EXTRA_HOST_FLAGS) ; do \
7760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7761 done; \
7762 echo "Doing clean in bzip2" ; \
7763 (cd $(HOST_SUBDIR)/bzip2 && \
7764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7766 "RANLIB=$${RANLIB}" \
7767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7768 clean) \
7769 || exit 1
7771 @endif bzip2
7773 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7774 maybe-distclean-bzip2:
7775 @if bzip2
7776 maybe-distclean-bzip2: distclean-bzip2
7778 distclean-bzip2:
7779 @: $(MAKE); $(unstage)
7780 @[ -f ./bzip2/Makefile ] || exit 0; \
7781 r=`${PWD_COMMAND}`; export r; \
7782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783 $(HOST_EXPORTS) \
7784 for flag in $(EXTRA_HOST_FLAGS) ; do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 done; \
7787 echo "Doing distclean in bzip2" ; \
7788 (cd $(HOST_SUBDIR)/bzip2 && \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7793 distclean) \
7794 || exit 1
7796 @endif bzip2
7798 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7799 maybe-maintainer-clean-bzip2:
7800 @if bzip2
7801 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7803 maintainer-clean-bzip2:
7804 @: $(MAKE); $(unstage)
7805 @[ -f ./bzip2/Makefile ] || exit 0; \
7806 r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing maintainer-clean in bzip2" ; \
7813 (cd $(HOST_SUBDIR)/bzip2 && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 maintainer-clean) \
7819 || exit 1
7821 @endif bzip2
7825 .PHONY: configure-dejagnu maybe-configure-dejagnu
7826 maybe-configure-dejagnu:
7827 @if gcc-bootstrap
7828 configure-dejagnu: stage_current
7829 @endif gcc-bootstrap
7830 @if dejagnu
7831 maybe-configure-dejagnu: configure-dejagnu
7832 configure-dejagnu:
7833 @: $(MAKE); $(unstage)
7834 @r=`${PWD_COMMAND}`; export r; \
7835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7836 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7838 $(HOST_EXPORTS) \
7839 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7840 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7841 case $(srcdir) in \
7842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7843 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7845 esac; \
7846 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7847 libsrcdir="$$s/dejagnu"; \
7848 $(SHELL) $${libsrcdir}/configure \
7849 $(HOST_CONFIGARGS) $${srcdiroption} \
7850 || exit 1
7851 @endif dejagnu
7857 .PHONY: all-dejagnu maybe-all-dejagnu
7858 maybe-all-dejagnu:
7859 @if gcc-bootstrap
7860 all-dejagnu: stage_current
7861 @endif gcc-bootstrap
7862 @if dejagnu
7863 TARGET-dejagnu=all
7864 maybe-all-dejagnu: all-dejagnu
7865 all-dejagnu: configure-dejagnu
7866 @: $(MAKE); $(unstage)
7867 @r=`${PWD_COMMAND}`; export r; \
7868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7869 $(HOST_EXPORTS) \
7870 (cd $(HOST_SUBDIR)/dejagnu && \
7871 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7872 @endif dejagnu
7877 .PHONY: check-dejagnu maybe-check-dejagnu
7878 maybe-check-dejagnu:
7879 @if dejagnu
7880 maybe-check-dejagnu: check-dejagnu
7882 check-dejagnu:
7883 @: $(MAKE); $(unstage)
7884 @r=`${PWD_COMMAND}`; export r; \
7885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 $(HOST_EXPORTS) \
7887 (cd $(HOST_SUBDIR)/dejagnu && \
7888 $(MAKE) $(FLAGS_TO_PASS) check)
7890 @endif dejagnu
7892 .PHONY: install-dejagnu maybe-install-dejagnu
7893 maybe-install-dejagnu:
7894 @if dejagnu
7895 maybe-install-dejagnu: install-dejagnu
7897 install-dejagnu: installdirs
7898 @: $(MAKE); $(unstage)
7899 @r=`${PWD_COMMAND}`; export r; \
7900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7901 $(HOST_EXPORTS) \
7902 (cd $(HOST_SUBDIR)/dejagnu && \
7903 $(MAKE) $(FLAGS_TO_PASS) install)
7905 @endif dejagnu
7907 # Other targets (info, dvi, pdf, etc.)
7909 .PHONY: maybe-info-dejagnu info-dejagnu
7910 maybe-info-dejagnu:
7911 @if dejagnu
7912 maybe-info-dejagnu: info-dejagnu
7914 info-dejagnu: \
7915 configure-dejagnu
7916 @: $(MAKE); $(unstage)
7917 @[ -f ./dejagnu/Makefile ] || exit 0; \
7918 r=`${PWD_COMMAND}`; export r; \
7919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7920 $(HOST_EXPORTS) \
7921 for flag in $(EXTRA_HOST_FLAGS) ; do \
7922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7923 done; \
7924 echo "Doing info in dejagnu" ; \
7925 (cd $(HOST_SUBDIR)/dejagnu && \
7926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7928 "RANLIB=$${RANLIB}" \
7929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7930 info) \
7931 || exit 1
7933 @endif dejagnu
7935 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7936 maybe-dvi-dejagnu:
7937 @if dejagnu
7938 maybe-dvi-dejagnu: dvi-dejagnu
7940 dvi-dejagnu: \
7941 configure-dejagnu
7942 @: $(MAKE); $(unstage)
7943 @[ -f ./dejagnu/Makefile ] || exit 0; \
7944 r=`${PWD_COMMAND}`; export r; \
7945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7946 $(HOST_EXPORTS) \
7947 for flag in $(EXTRA_HOST_FLAGS) ; do \
7948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7949 done; \
7950 echo "Doing dvi in dejagnu" ; \
7951 (cd $(HOST_SUBDIR)/dejagnu && \
7952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7954 "RANLIB=$${RANLIB}" \
7955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7956 dvi) \
7957 || exit 1
7959 @endif dejagnu
7961 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7962 maybe-pdf-dejagnu:
7963 @if dejagnu
7964 maybe-pdf-dejagnu: pdf-dejagnu
7966 pdf-dejagnu: \
7967 configure-dejagnu
7968 @: $(MAKE); $(unstage)
7969 @[ -f ./dejagnu/Makefile ] || exit 0; \
7970 r=`${PWD_COMMAND}`; export r; \
7971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7972 $(HOST_EXPORTS) \
7973 for flag in $(EXTRA_HOST_FLAGS) ; do \
7974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7975 done; \
7976 echo "Doing pdf in dejagnu" ; \
7977 (cd $(HOST_SUBDIR)/dejagnu && \
7978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7980 "RANLIB=$${RANLIB}" \
7981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7982 pdf) \
7983 || exit 1
7985 @endif dejagnu
7987 .PHONY: maybe-html-dejagnu html-dejagnu
7988 maybe-html-dejagnu:
7989 @if dejagnu
7990 maybe-html-dejagnu: html-dejagnu
7992 html-dejagnu: \
7993 configure-dejagnu
7994 @: $(MAKE); $(unstage)
7995 @[ -f ./dejagnu/Makefile ] || exit 0; \
7996 r=`${PWD_COMMAND}`; export r; \
7997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7998 $(HOST_EXPORTS) \
7999 for flag in $(EXTRA_HOST_FLAGS) ; do \
8000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8001 done; \
8002 echo "Doing html in dejagnu" ; \
8003 (cd $(HOST_SUBDIR)/dejagnu && \
8004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8006 "RANLIB=$${RANLIB}" \
8007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8008 html) \
8009 || exit 1
8011 @endif dejagnu
8013 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8014 maybe-TAGS-dejagnu:
8015 @if dejagnu
8016 maybe-TAGS-dejagnu: TAGS-dejagnu
8018 TAGS-dejagnu: \
8019 configure-dejagnu
8020 @: $(MAKE); $(unstage)
8021 @[ -f ./dejagnu/Makefile ] || exit 0; \
8022 r=`${PWD_COMMAND}`; export r; \
8023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8024 $(HOST_EXPORTS) \
8025 for flag in $(EXTRA_HOST_FLAGS) ; do \
8026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8027 done; \
8028 echo "Doing TAGS in dejagnu" ; \
8029 (cd $(HOST_SUBDIR)/dejagnu && \
8030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8032 "RANLIB=$${RANLIB}" \
8033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8034 TAGS) \
8035 || exit 1
8037 @endif dejagnu
8039 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8040 maybe-install-info-dejagnu:
8041 @if dejagnu
8042 maybe-install-info-dejagnu: install-info-dejagnu
8044 install-info-dejagnu: \
8045 configure-dejagnu \
8046 info-dejagnu
8047 @: $(MAKE); $(unstage)
8048 @[ -f ./dejagnu/Makefile ] || exit 0; \
8049 r=`${PWD_COMMAND}`; export r; \
8050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 $(HOST_EXPORTS) \
8052 for flag in $(EXTRA_HOST_FLAGS) ; do \
8053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8054 done; \
8055 echo "Doing install-info in dejagnu" ; \
8056 (cd $(HOST_SUBDIR)/dejagnu && \
8057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8059 "RANLIB=$${RANLIB}" \
8060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8061 install-info) \
8062 || exit 1
8064 @endif dejagnu
8066 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8067 maybe-install-html-dejagnu:
8068 @if dejagnu
8069 maybe-install-html-dejagnu: install-html-dejagnu
8071 install-html-dejagnu: \
8072 configure-dejagnu \
8073 html-dejagnu
8074 @: $(MAKE); $(unstage)
8075 @[ -f ./dejagnu/Makefile ] || exit 0; \
8076 r=`${PWD_COMMAND}`; export r; \
8077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8078 $(HOST_EXPORTS) \
8079 for flag in $(EXTRA_HOST_FLAGS) ; do \
8080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8081 done; \
8082 echo "Doing install-html in dejagnu" ; \
8083 (cd $(HOST_SUBDIR)/dejagnu && \
8084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8086 "RANLIB=$${RANLIB}" \
8087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8088 install-html) \
8089 || exit 1
8091 @endif dejagnu
8093 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8094 maybe-installcheck-dejagnu:
8095 @if dejagnu
8096 maybe-installcheck-dejagnu: installcheck-dejagnu
8098 installcheck-dejagnu: \
8099 configure-dejagnu
8100 @: $(MAKE); $(unstage)
8101 @[ -f ./dejagnu/Makefile ] || exit 0; \
8102 r=`${PWD_COMMAND}`; export r; \
8103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8104 $(HOST_EXPORTS) \
8105 for flag in $(EXTRA_HOST_FLAGS) ; do \
8106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8107 done; \
8108 echo "Doing installcheck in dejagnu" ; \
8109 (cd $(HOST_SUBDIR)/dejagnu && \
8110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8112 "RANLIB=$${RANLIB}" \
8113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8114 installcheck) \
8115 || exit 1
8117 @endif dejagnu
8119 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8120 maybe-mostlyclean-dejagnu:
8121 @if dejagnu
8122 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8124 mostlyclean-dejagnu:
8125 @: $(MAKE); $(unstage)
8126 @[ -f ./dejagnu/Makefile ] || exit 0; \
8127 r=`${PWD_COMMAND}`; export r; \
8128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8129 $(HOST_EXPORTS) \
8130 for flag in $(EXTRA_HOST_FLAGS) ; do \
8131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8132 done; \
8133 echo "Doing mostlyclean in dejagnu" ; \
8134 (cd $(HOST_SUBDIR)/dejagnu && \
8135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8137 "RANLIB=$${RANLIB}" \
8138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8139 mostlyclean) \
8140 || exit 1
8142 @endif dejagnu
8144 .PHONY: maybe-clean-dejagnu clean-dejagnu
8145 maybe-clean-dejagnu:
8146 @if dejagnu
8147 maybe-clean-dejagnu: clean-dejagnu
8149 clean-dejagnu:
8150 @: $(MAKE); $(unstage)
8151 @[ -f ./dejagnu/Makefile ] || exit 0; \
8152 r=`${PWD_COMMAND}`; export r; \
8153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8154 $(HOST_EXPORTS) \
8155 for flag in $(EXTRA_HOST_FLAGS) ; do \
8156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8157 done; \
8158 echo "Doing clean in dejagnu" ; \
8159 (cd $(HOST_SUBDIR)/dejagnu && \
8160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8162 "RANLIB=$${RANLIB}" \
8163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8164 clean) \
8165 || exit 1
8167 @endif dejagnu
8169 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8170 maybe-distclean-dejagnu:
8171 @if dejagnu
8172 maybe-distclean-dejagnu: distclean-dejagnu
8174 distclean-dejagnu:
8175 @: $(MAKE); $(unstage)
8176 @[ -f ./dejagnu/Makefile ] || exit 0; \
8177 r=`${PWD_COMMAND}`; export r; \
8178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8179 $(HOST_EXPORTS) \
8180 for flag in $(EXTRA_HOST_FLAGS) ; do \
8181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8182 done; \
8183 echo "Doing distclean in dejagnu" ; \
8184 (cd $(HOST_SUBDIR)/dejagnu && \
8185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8187 "RANLIB=$${RANLIB}" \
8188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8189 distclean) \
8190 || exit 1
8192 @endif dejagnu
8194 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8195 maybe-maintainer-clean-dejagnu:
8196 @if dejagnu
8197 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8199 maintainer-clean-dejagnu:
8200 @: $(MAKE); $(unstage)
8201 @[ -f ./dejagnu/Makefile ] || exit 0; \
8202 r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 $(HOST_EXPORTS) \
8205 for flag in $(EXTRA_HOST_FLAGS) ; do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8207 done; \
8208 echo "Doing maintainer-clean in dejagnu" ; \
8209 (cd $(HOST_SUBDIR)/dejagnu && \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8214 maintainer-clean) \
8215 || exit 1
8217 @endif dejagnu
8221 .PHONY: configure-diff maybe-configure-diff
8222 maybe-configure-diff:
8223 @if gcc-bootstrap
8224 configure-diff: stage_current
8225 @endif gcc-bootstrap
8226 @if diff
8227 maybe-configure-diff: configure-diff
8228 configure-diff:
8229 @: $(MAKE); $(unstage)
8230 @r=`${PWD_COMMAND}`; export r; \
8231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8232 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8234 $(HOST_EXPORTS) \
8235 echo Configuring in $(HOST_SUBDIR)/diff; \
8236 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8237 case $(srcdir) in \
8238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8239 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8241 esac; \
8242 srcdiroption="--srcdir=$${topdir}/diff"; \
8243 libsrcdir="$$s/diff"; \
8244 $(SHELL) $${libsrcdir}/configure \
8245 $(HOST_CONFIGARGS) $${srcdiroption} \
8246 || exit 1
8247 @endif diff
8253 .PHONY: all-diff maybe-all-diff
8254 maybe-all-diff:
8255 @if gcc-bootstrap
8256 all-diff: stage_current
8257 @endif gcc-bootstrap
8258 @if diff
8259 TARGET-diff=all
8260 maybe-all-diff: all-diff
8261 all-diff: configure-diff
8262 @: $(MAKE); $(unstage)
8263 @r=`${PWD_COMMAND}`; export r; \
8264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8265 $(HOST_EXPORTS) \
8266 (cd $(HOST_SUBDIR)/diff && \
8267 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8268 @endif diff
8273 .PHONY: check-diff maybe-check-diff
8274 maybe-check-diff:
8275 @if diff
8276 maybe-check-diff: check-diff
8278 check-diff:
8279 @: $(MAKE); $(unstage)
8280 @r=`${PWD_COMMAND}`; export r; \
8281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 $(HOST_EXPORTS) \
8283 (cd $(HOST_SUBDIR)/diff && \
8284 $(MAKE) $(FLAGS_TO_PASS) check)
8286 @endif diff
8288 .PHONY: install-diff maybe-install-diff
8289 maybe-install-diff:
8290 @if diff
8291 maybe-install-diff: install-diff
8293 install-diff: installdirs
8294 @: $(MAKE); $(unstage)
8295 @r=`${PWD_COMMAND}`; export r; \
8296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 $(HOST_EXPORTS) \
8298 (cd $(HOST_SUBDIR)/diff && \
8299 $(MAKE) $(FLAGS_TO_PASS) install)
8301 @endif diff
8303 # Other targets (info, dvi, pdf, etc.)
8305 .PHONY: maybe-info-diff info-diff
8306 maybe-info-diff:
8307 @if diff
8308 maybe-info-diff: info-diff
8310 info-diff: \
8311 configure-diff
8312 @: $(MAKE); $(unstage)
8313 @[ -f ./diff/Makefile ] || exit 0; \
8314 r=`${PWD_COMMAND}`; export r; \
8315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 $(HOST_EXPORTS) \
8317 for flag in $(EXTRA_HOST_FLAGS) ; do \
8318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8319 done; \
8320 echo "Doing info in diff" ; \
8321 (cd $(HOST_SUBDIR)/diff && \
8322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8324 "RANLIB=$${RANLIB}" \
8325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8326 info) \
8327 || exit 1
8329 @endif diff
8331 .PHONY: maybe-dvi-diff dvi-diff
8332 maybe-dvi-diff:
8333 @if diff
8334 maybe-dvi-diff: dvi-diff
8336 dvi-diff: \
8337 configure-diff
8338 @: $(MAKE); $(unstage)
8339 @[ -f ./diff/Makefile ] || exit 0; \
8340 r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 $(HOST_EXPORTS) \
8343 for flag in $(EXTRA_HOST_FLAGS) ; do \
8344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8345 done; \
8346 echo "Doing dvi in diff" ; \
8347 (cd $(HOST_SUBDIR)/diff && \
8348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8350 "RANLIB=$${RANLIB}" \
8351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8352 dvi) \
8353 || exit 1
8355 @endif diff
8357 .PHONY: maybe-pdf-diff pdf-diff
8358 maybe-pdf-diff:
8359 @if diff
8360 maybe-pdf-diff: pdf-diff
8362 pdf-diff: \
8363 configure-diff
8364 @: $(MAKE); $(unstage)
8365 @[ -f ./diff/Makefile ] || exit 0; \
8366 r=`${PWD_COMMAND}`; export r; \
8367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8368 $(HOST_EXPORTS) \
8369 for flag in $(EXTRA_HOST_FLAGS) ; do \
8370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8371 done; \
8372 echo "Doing pdf in diff" ; \
8373 (cd $(HOST_SUBDIR)/diff && \
8374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8376 "RANLIB=$${RANLIB}" \
8377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8378 pdf) \
8379 || exit 1
8381 @endif diff
8383 .PHONY: maybe-html-diff html-diff
8384 maybe-html-diff:
8385 @if diff
8386 maybe-html-diff: html-diff
8388 html-diff: \
8389 configure-diff
8390 @: $(MAKE); $(unstage)
8391 @[ -f ./diff/Makefile ] || exit 0; \
8392 r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 $(HOST_EXPORTS) \
8395 for flag in $(EXTRA_HOST_FLAGS) ; do \
8396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8397 done; \
8398 echo "Doing html in diff" ; \
8399 (cd $(HOST_SUBDIR)/diff && \
8400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8402 "RANLIB=$${RANLIB}" \
8403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8404 html) \
8405 || exit 1
8407 @endif diff
8409 .PHONY: maybe-TAGS-diff TAGS-diff
8410 maybe-TAGS-diff:
8411 @if diff
8412 maybe-TAGS-diff: TAGS-diff
8414 TAGS-diff: \
8415 configure-diff
8416 @: $(MAKE); $(unstage)
8417 @[ -f ./diff/Makefile ] || exit 0; \
8418 r=`${PWD_COMMAND}`; export r; \
8419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8420 $(HOST_EXPORTS) \
8421 for flag in $(EXTRA_HOST_FLAGS) ; do \
8422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8423 done; \
8424 echo "Doing TAGS in diff" ; \
8425 (cd $(HOST_SUBDIR)/diff && \
8426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8428 "RANLIB=$${RANLIB}" \
8429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8430 TAGS) \
8431 || exit 1
8433 @endif diff
8435 .PHONY: maybe-install-info-diff install-info-diff
8436 maybe-install-info-diff:
8437 @if diff
8438 maybe-install-info-diff: install-info-diff
8440 install-info-diff: \
8441 configure-diff \
8442 info-diff
8443 @: $(MAKE); $(unstage)
8444 @[ -f ./diff/Makefile ] || exit 0; \
8445 r=`${PWD_COMMAND}`; export r; \
8446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8447 $(HOST_EXPORTS) \
8448 for flag in $(EXTRA_HOST_FLAGS) ; do \
8449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8450 done; \
8451 echo "Doing install-info in diff" ; \
8452 (cd $(HOST_SUBDIR)/diff && \
8453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8455 "RANLIB=$${RANLIB}" \
8456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8457 install-info) \
8458 || exit 1
8460 @endif diff
8462 .PHONY: maybe-install-html-diff install-html-diff
8463 maybe-install-html-diff:
8464 @if diff
8465 maybe-install-html-diff: install-html-diff
8467 install-html-diff: \
8468 configure-diff \
8469 html-diff
8470 @: $(MAKE); $(unstage)
8471 @[ -f ./diff/Makefile ] || exit 0; \
8472 r=`${PWD_COMMAND}`; export r; \
8473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8474 $(HOST_EXPORTS) \
8475 for flag in $(EXTRA_HOST_FLAGS) ; do \
8476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8477 done; \
8478 echo "Doing install-html in diff" ; \
8479 (cd $(HOST_SUBDIR)/diff && \
8480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8482 "RANLIB=$${RANLIB}" \
8483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8484 install-html) \
8485 || exit 1
8487 @endif diff
8489 .PHONY: maybe-installcheck-diff installcheck-diff
8490 maybe-installcheck-diff:
8491 @if diff
8492 maybe-installcheck-diff: installcheck-diff
8494 installcheck-diff: \
8495 configure-diff
8496 @: $(MAKE); $(unstage)
8497 @[ -f ./diff/Makefile ] || exit 0; \
8498 r=`${PWD_COMMAND}`; export r; \
8499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8500 $(HOST_EXPORTS) \
8501 for flag in $(EXTRA_HOST_FLAGS) ; do \
8502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8503 done; \
8504 echo "Doing installcheck in diff" ; \
8505 (cd $(HOST_SUBDIR)/diff && \
8506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8508 "RANLIB=$${RANLIB}" \
8509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8510 installcheck) \
8511 || exit 1
8513 @endif diff
8515 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8516 maybe-mostlyclean-diff:
8517 @if diff
8518 maybe-mostlyclean-diff: mostlyclean-diff
8520 mostlyclean-diff:
8521 @: $(MAKE); $(unstage)
8522 @[ -f ./diff/Makefile ] || exit 0; \
8523 r=`${PWD_COMMAND}`; export r; \
8524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8525 $(HOST_EXPORTS) \
8526 for flag in $(EXTRA_HOST_FLAGS) ; do \
8527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8528 done; \
8529 echo "Doing mostlyclean in diff" ; \
8530 (cd $(HOST_SUBDIR)/diff && \
8531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8533 "RANLIB=$${RANLIB}" \
8534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8535 mostlyclean) \
8536 || exit 1
8538 @endif diff
8540 .PHONY: maybe-clean-diff clean-diff
8541 maybe-clean-diff:
8542 @if diff
8543 maybe-clean-diff: clean-diff
8545 clean-diff:
8546 @: $(MAKE); $(unstage)
8547 @[ -f ./diff/Makefile ] || exit 0; \
8548 r=`${PWD_COMMAND}`; export r; \
8549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8550 $(HOST_EXPORTS) \
8551 for flag in $(EXTRA_HOST_FLAGS) ; do \
8552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8553 done; \
8554 echo "Doing clean in diff" ; \
8555 (cd $(HOST_SUBDIR)/diff && \
8556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8558 "RANLIB=$${RANLIB}" \
8559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8560 clean) \
8561 || exit 1
8563 @endif diff
8565 .PHONY: maybe-distclean-diff distclean-diff
8566 maybe-distclean-diff:
8567 @if diff
8568 maybe-distclean-diff: distclean-diff
8570 distclean-diff:
8571 @: $(MAKE); $(unstage)
8572 @[ -f ./diff/Makefile ] || exit 0; \
8573 r=`${PWD_COMMAND}`; export r; \
8574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8575 $(HOST_EXPORTS) \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8578 done; \
8579 echo "Doing distclean in diff" ; \
8580 (cd $(HOST_SUBDIR)/diff && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8585 distclean) \
8586 || exit 1
8588 @endif diff
8590 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8591 maybe-maintainer-clean-diff:
8592 @if diff
8593 maybe-maintainer-clean-diff: maintainer-clean-diff
8595 maintainer-clean-diff:
8596 @: $(MAKE); $(unstage)
8597 @[ -f ./diff/Makefile ] || exit 0; \
8598 r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8600 $(HOST_EXPORTS) \
8601 for flag in $(EXTRA_HOST_FLAGS) ; do \
8602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8603 done; \
8604 echo "Doing maintainer-clean in diff" ; \
8605 (cd $(HOST_SUBDIR)/diff && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8608 "RANLIB=$${RANLIB}" \
8609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8610 maintainer-clean) \
8611 || exit 1
8613 @endif diff
8617 .PHONY: configure-dosutils maybe-configure-dosutils
8618 maybe-configure-dosutils:
8619 @if gcc-bootstrap
8620 configure-dosutils: stage_current
8621 @endif gcc-bootstrap
8622 @if dosutils
8623 maybe-configure-dosutils: configure-dosutils
8624 configure-dosutils:
8625 @: $(MAKE); $(unstage)
8626 @r=`${PWD_COMMAND}`; export r; \
8627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8628 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8630 $(HOST_EXPORTS) \
8631 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8632 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8633 case $(srcdir) in \
8634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8635 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8637 esac; \
8638 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8639 libsrcdir="$$s/dosutils"; \
8640 $(SHELL) $${libsrcdir}/configure \
8641 $(HOST_CONFIGARGS) $${srcdiroption} \
8642 || exit 1
8643 @endif dosutils
8649 .PHONY: all-dosutils maybe-all-dosutils
8650 maybe-all-dosutils:
8651 @if gcc-bootstrap
8652 all-dosutils: stage_current
8653 @endif gcc-bootstrap
8654 @if dosutils
8655 TARGET-dosutils=all
8656 maybe-all-dosutils: all-dosutils
8657 all-dosutils: configure-dosutils
8658 @: $(MAKE); $(unstage)
8659 @r=`${PWD_COMMAND}`; export r; \
8660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8661 $(HOST_EXPORTS) \
8662 (cd $(HOST_SUBDIR)/dosutils && \
8663 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8664 @endif dosutils
8669 .PHONY: check-dosutils maybe-check-dosutils
8670 maybe-check-dosutils:
8671 @if dosutils
8672 maybe-check-dosutils: check-dosutils
8674 check-dosutils:
8676 @endif dosutils
8678 .PHONY: install-dosutils maybe-install-dosutils
8679 maybe-install-dosutils:
8680 @if dosutils
8681 maybe-install-dosutils: install-dosutils
8683 install-dosutils: installdirs
8684 @: $(MAKE); $(unstage)
8685 @r=`${PWD_COMMAND}`; export r; \
8686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8687 $(HOST_EXPORTS) \
8688 (cd $(HOST_SUBDIR)/dosutils && \
8689 $(MAKE) $(FLAGS_TO_PASS) install)
8691 @endif dosutils
8693 # Other targets (info, dvi, pdf, etc.)
8695 .PHONY: maybe-info-dosutils info-dosutils
8696 maybe-info-dosutils:
8697 @if dosutils
8698 maybe-info-dosutils: info-dosutils
8700 info-dosutils: \
8701 configure-dosutils
8702 @: $(MAKE); $(unstage)
8703 @[ -f ./dosutils/Makefile ] || exit 0; \
8704 r=`${PWD_COMMAND}`; export r; \
8705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8706 $(HOST_EXPORTS) \
8707 for flag in $(EXTRA_HOST_FLAGS) ; do \
8708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8709 done; \
8710 echo "Doing info in dosutils" ; \
8711 (cd $(HOST_SUBDIR)/dosutils && \
8712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8714 "RANLIB=$${RANLIB}" \
8715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8716 info) \
8717 || exit 1
8719 @endif dosutils
8721 .PHONY: maybe-dvi-dosutils dvi-dosutils
8722 maybe-dvi-dosutils:
8723 @if dosutils
8724 maybe-dvi-dosutils: dvi-dosutils
8726 dvi-dosutils: \
8727 configure-dosutils
8728 @: $(MAKE); $(unstage)
8729 @[ -f ./dosutils/Makefile ] || exit 0; \
8730 r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8732 $(HOST_EXPORTS) \
8733 for flag in $(EXTRA_HOST_FLAGS) ; do \
8734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8735 done; \
8736 echo "Doing dvi in dosutils" ; \
8737 (cd $(HOST_SUBDIR)/dosutils && \
8738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8740 "RANLIB=$${RANLIB}" \
8741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8742 dvi) \
8743 || exit 1
8745 @endif dosutils
8747 .PHONY: maybe-pdf-dosutils pdf-dosutils
8748 maybe-pdf-dosutils:
8749 @if dosutils
8750 maybe-pdf-dosutils: pdf-dosutils
8752 pdf-dosutils: \
8753 configure-dosutils
8754 @: $(MAKE); $(unstage)
8755 @[ -f ./dosutils/Makefile ] || exit 0; \
8756 r=`${PWD_COMMAND}`; export r; \
8757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8758 $(HOST_EXPORTS) \
8759 for flag in $(EXTRA_HOST_FLAGS) ; do \
8760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8761 done; \
8762 echo "Doing pdf in dosutils" ; \
8763 (cd $(HOST_SUBDIR)/dosutils && \
8764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8766 "RANLIB=$${RANLIB}" \
8767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8768 pdf) \
8769 || exit 1
8771 @endif dosutils
8773 .PHONY: maybe-html-dosutils html-dosutils
8774 maybe-html-dosutils:
8775 @if dosutils
8776 maybe-html-dosutils: html-dosutils
8778 html-dosutils: \
8779 configure-dosutils
8780 @: $(MAKE); $(unstage)
8781 @[ -f ./dosutils/Makefile ] || exit 0; \
8782 r=`${PWD_COMMAND}`; export r; \
8783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8784 $(HOST_EXPORTS) \
8785 for flag in $(EXTRA_HOST_FLAGS) ; do \
8786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8787 done; \
8788 echo "Doing html in dosutils" ; \
8789 (cd $(HOST_SUBDIR)/dosutils && \
8790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8792 "RANLIB=$${RANLIB}" \
8793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8794 html) \
8795 || exit 1
8797 @endif dosutils
8799 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8800 maybe-TAGS-dosutils:
8801 @if dosutils
8802 maybe-TAGS-dosutils: TAGS-dosutils
8804 TAGS-dosutils: \
8805 configure-dosutils
8806 @: $(MAKE); $(unstage)
8807 @[ -f ./dosutils/Makefile ] || exit 0; \
8808 r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 $(HOST_EXPORTS) \
8811 for flag in $(EXTRA_HOST_FLAGS) ; do \
8812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8813 done; \
8814 echo "Doing TAGS in dosutils" ; \
8815 (cd $(HOST_SUBDIR)/dosutils && \
8816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8818 "RANLIB=$${RANLIB}" \
8819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8820 TAGS) \
8821 || exit 1
8823 @endif dosutils
8825 .PHONY: maybe-install-info-dosutils install-info-dosutils
8826 maybe-install-info-dosutils:
8827 @if dosutils
8828 maybe-install-info-dosutils: install-info-dosutils
8830 install-info-dosutils: \
8831 configure-dosutils \
8832 info-dosutils
8833 @: $(MAKE); $(unstage)
8834 @[ -f ./dosutils/Makefile ] || exit 0; \
8835 r=`${PWD_COMMAND}`; export r; \
8836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8837 $(HOST_EXPORTS) \
8838 for flag in $(EXTRA_HOST_FLAGS) ; do \
8839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8840 done; \
8841 echo "Doing install-info in dosutils" ; \
8842 (cd $(HOST_SUBDIR)/dosutils && \
8843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8845 "RANLIB=$${RANLIB}" \
8846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8847 install-info) \
8848 || exit 1
8850 @endif dosutils
8852 .PHONY: maybe-install-html-dosutils install-html-dosutils
8853 maybe-install-html-dosutils:
8854 @if dosutils
8855 maybe-install-html-dosutils: install-html-dosutils
8857 install-html-dosutils: \
8858 configure-dosutils \
8859 html-dosutils
8860 @: $(MAKE); $(unstage)
8861 @[ -f ./dosutils/Makefile ] || exit 0; \
8862 r=`${PWD_COMMAND}`; export r; \
8863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8864 $(HOST_EXPORTS) \
8865 for flag in $(EXTRA_HOST_FLAGS) ; do \
8866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8867 done; \
8868 echo "Doing install-html in dosutils" ; \
8869 (cd $(HOST_SUBDIR)/dosutils && \
8870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8872 "RANLIB=$${RANLIB}" \
8873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8874 install-html) \
8875 || exit 1
8877 @endif dosutils
8879 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8880 maybe-installcheck-dosutils:
8881 @if dosutils
8882 maybe-installcheck-dosutils: installcheck-dosutils
8884 installcheck-dosutils: \
8885 configure-dosutils
8886 @: $(MAKE); $(unstage)
8887 @[ -f ./dosutils/Makefile ] || exit 0; \
8888 r=`${PWD_COMMAND}`; export r; \
8889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8890 $(HOST_EXPORTS) \
8891 for flag in $(EXTRA_HOST_FLAGS) ; do \
8892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8893 done; \
8894 echo "Doing installcheck in dosutils" ; \
8895 (cd $(HOST_SUBDIR)/dosutils && \
8896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8898 "RANLIB=$${RANLIB}" \
8899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8900 installcheck) \
8901 || exit 1
8903 @endif dosutils
8905 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8906 maybe-mostlyclean-dosutils:
8907 @if dosutils
8908 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8910 mostlyclean-dosutils:
8911 @: $(MAKE); $(unstage)
8912 @[ -f ./dosutils/Makefile ] || exit 0; \
8913 r=`${PWD_COMMAND}`; export r; \
8914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8915 $(HOST_EXPORTS) \
8916 for flag in $(EXTRA_HOST_FLAGS) ; do \
8917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8918 done; \
8919 echo "Doing mostlyclean in dosutils" ; \
8920 (cd $(HOST_SUBDIR)/dosutils && \
8921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8923 "RANLIB=$${RANLIB}" \
8924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8925 mostlyclean) \
8926 || exit 1
8928 @endif dosutils
8930 .PHONY: maybe-clean-dosutils clean-dosutils
8931 maybe-clean-dosutils:
8932 @if dosutils
8933 maybe-clean-dosutils: clean-dosutils
8935 clean-dosutils:
8936 @: $(MAKE); $(unstage)
8937 @[ -f ./dosutils/Makefile ] || exit 0; \
8938 r=`${PWD_COMMAND}`; export r; \
8939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8940 $(HOST_EXPORTS) \
8941 for flag in $(EXTRA_HOST_FLAGS) ; do \
8942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8943 done; \
8944 echo "Doing clean in dosutils" ; \
8945 (cd $(HOST_SUBDIR)/dosutils && \
8946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8948 "RANLIB=$${RANLIB}" \
8949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8950 clean) \
8951 || exit 1
8953 @endif dosutils
8955 .PHONY: maybe-distclean-dosutils distclean-dosutils
8956 maybe-distclean-dosutils:
8957 @if dosutils
8958 maybe-distclean-dosutils: distclean-dosutils
8960 distclean-dosutils:
8961 @: $(MAKE); $(unstage)
8962 @[ -f ./dosutils/Makefile ] || exit 0; \
8963 r=`${PWD_COMMAND}`; export r; \
8964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8965 $(HOST_EXPORTS) \
8966 for flag in $(EXTRA_HOST_FLAGS) ; do \
8967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8968 done; \
8969 echo "Doing distclean in dosutils" ; \
8970 (cd $(HOST_SUBDIR)/dosutils && \
8971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8973 "RANLIB=$${RANLIB}" \
8974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8975 distclean) \
8976 || exit 1
8978 @endif dosutils
8980 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8981 maybe-maintainer-clean-dosutils:
8982 @if dosutils
8983 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8985 maintainer-clean-dosutils:
8986 @: $(MAKE); $(unstage)
8987 @[ -f ./dosutils/Makefile ] || exit 0; \
8988 r=`${PWD_COMMAND}`; export r; \
8989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8990 $(HOST_EXPORTS) \
8991 for flag in $(EXTRA_HOST_FLAGS) ; do \
8992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8993 done; \
8994 echo "Doing maintainer-clean in dosutils" ; \
8995 (cd $(HOST_SUBDIR)/dosutils && \
8996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8998 "RANLIB=$${RANLIB}" \
8999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9000 maintainer-clean) \
9001 || exit 1
9003 @endif dosutils
9007 .PHONY: configure-etc maybe-configure-etc
9008 maybe-configure-etc:
9009 @if gcc-bootstrap
9010 configure-etc: stage_current
9011 @endif gcc-bootstrap
9012 @if etc
9013 maybe-configure-etc: configure-etc
9014 configure-etc:
9015 @: $(MAKE); $(unstage)
9016 @r=`${PWD_COMMAND}`; export r; \
9017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9018 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9020 $(HOST_EXPORTS) \
9021 echo Configuring in $(HOST_SUBDIR)/etc; \
9022 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9023 case $(srcdir) in \
9024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9025 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9027 esac; \
9028 srcdiroption="--srcdir=$${topdir}/etc"; \
9029 libsrcdir="$$s/etc"; \
9030 $(SHELL) $${libsrcdir}/configure \
9031 $(HOST_CONFIGARGS) $${srcdiroption} \
9032 || exit 1
9033 @endif etc
9039 .PHONY: all-etc maybe-all-etc
9040 maybe-all-etc:
9041 @if gcc-bootstrap
9042 all-etc: stage_current
9043 @endif gcc-bootstrap
9044 @if etc
9045 TARGET-etc=all
9046 maybe-all-etc: all-etc
9047 all-etc: configure-etc
9048 @: $(MAKE); $(unstage)
9049 @r=`${PWD_COMMAND}`; export r; \
9050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9051 $(HOST_EXPORTS) \
9052 (cd $(HOST_SUBDIR)/etc && \
9053 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9054 @endif etc
9059 .PHONY: check-etc maybe-check-etc
9060 maybe-check-etc:
9061 @if etc
9062 maybe-check-etc: check-etc
9064 check-etc:
9065 @: $(MAKE); $(unstage)
9066 @r=`${PWD_COMMAND}`; export r; \
9067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9068 $(HOST_EXPORTS) \
9069 (cd $(HOST_SUBDIR)/etc && \
9070 $(MAKE) $(FLAGS_TO_PASS) check)
9072 @endif etc
9074 .PHONY: install-etc maybe-install-etc
9075 maybe-install-etc:
9076 @if etc
9077 maybe-install-etc: install-etc
9079 install-etc: installdirs
9080 @: $(MAKE); $(unstage)
9081 @r=`${PWD_COMMAND}`; export r; \
9082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9083 $(HOST_EXPORTS) \
9084 (cd $(HOST_SUBDIR)/etc && \
9085 $(MAKE) $(FLAGS_TO_PASS) install)
9087 @endif etc
9089 # Other targets (info, dvi, pdf, etc.)
9091 .PHONY: maybe-info-etc info-etc
9092 maybe-info-etc:
9093 @if etc
9094 maybe-info-etc: info-etc
9096 info-etc: \
9097 configure-etc
9098 @: $(MAKE); $(unstage)
9099 @[ -f ./etc/Makefile ] || exit 0; \
9100 r=`${PWD_COMMAND}`; export r; \
9101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9102 $(HOST_EXPORTS) \
9103 for flag in $(EXTRA_HOST_FLAGS) ; do \
9104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9105 done; \
9106 echo "Doing info in etc" ; \
9107 (cd $(HOST_SUBDIR)/etc && \
9108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9110 "RANLIB=$${RANLIB}" \
9111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9112 info) \
9113 || exit 1
9115 @endif etc
9117 .PHONY: maybe-dvi-etc dvi-etc
9118 maybe-dvi-etc:
9119 @if etc
9120 maybe-dvi-etc: dvi-etc
9122 dvi-etc: \
9123 configure-etc
9124 @: $(MAKE); $(unstage)
9125 @[ -f ./etc/Makefile ] || exit 0; \
9126 r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128 $(HOST_EXPORTS) \
9129 for flag in $(EXTRA_HOST_FLAGS) ; do \
9130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9131 done; \
9132 echo "Doing dvi in etc" ; \
9133 (cd $(HOST_SUBDIR)/etc && \
9134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136 "RANLIB=$${RANLIB}" \
9137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9138 dvi) \
9139 || exit 1
9141 @endif etc
9143 .PHONY: maybe-pdf-etc pdf-etc
9144 maybe-pdf-etc:
9145 @if etc
9146 maybe-pdf-etc: pdf-etc
9148 pdf-etc: \
9149 configure-etc
9150 @: $(MAKE); $(unstage)
9151 @[ -f ./etc/Makefile ] || exit 0; \
9152 r=`${PWD_COMMAND}`; export r; \
9153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9154 $(HOST_EXPORTS) \
9155 for flag in $(EXTRA_HOST_FLAGS) ; do \
9156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9157 done; \
9158 echo "Doing pdf in etc" ; \
9159 (cd $(HOST_SUBDIR)/etc && \
9160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9162 "RANLIB=$${RANLIB}" \
9163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9164 pdf) \
9165 || exit 1
9167 @endif etc
9169 .PHONY: maybe-html-etc html-etc
9170 maybe-html-etc:
9171 @if etc
9172 maybe-html-etc: html-etc
9174 html-etc: \
9175 configure-etc
9176 @: $(MAKE); $(unstage)
9177 @[ -f ./etc/Makefile ] || exit 0; \
9178 r=`${PWD_COMMAND}`; export r; \
9179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9180 $(HOST_EXPORTS) \
9181 for flag in $(EXTRA_HOST_FLAGS) ; do \
9182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9183 done; \
9184 echo "Doing html in etc" ; \
9185 (cd $(HOST_SUBDIR)/etc && \
9186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9188 "RANLIB=$${RANLIB}" \
9189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9190 html) \
9191 || exit 1
9193 @endif etc
9195 .PHONY: maybe-TAGS-etc TAGS-etc
9196 maybe-TAGS-etc:
9197 @if etc
9198 maybe-TAGS-etc: TAGS-etc
9200 TAGS-etc: \
9201 configure-etc
9202 @: $(MAKE); $(unstage)
9203 @[ -f ./etc/Makefile ] || exit 0; \
9204 r=`${PWD_COMMAND}`; export r; \
9205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9206 $(HOST_EXPORTS) \
9207 for flag in $(EXTRA_HOST_FLAGS) ; do \
9208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9209 done; \
9210 echo "Doing TAGS in etc" ; \
9211 (cd $(HOST_SUBDIR)/etc && \
9212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9214 "RANLIB=$${RANLIB}" \
9215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9216 TAGS) \
9217 || exit 1
9219 @endif etc
9221 .PHONY: maybe-install-info-etc install-info-etc
9222 maybe-install-info-etc:
9223 @if etc
9224 maybe-install-info-etc: install-info-etc
9226 install-info-etc: \
9227 configure-etc \
9228 info-etc
9229 @: $(MAKE); $(unstage)
9230 @[ -f ./etc/Makefile ] || exit 0; \
9231 r=`${PWD_COMMAND}`; export r; \
9232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9233 $(HOST_EXPORTS) \
9234 for flag in $(EXTRA_HOST_FLAGS) ; do \
9235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9236 done; \
9237 echo "Doing install-info in etc" ; \
9238 (cd $(HOST_SUBDIR)/etc && \
9239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9241 "RANLIB=$${RANLIB}" \
9242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9243 install-info) \
9244 || exit 1
9246 @endif etc
9248 .PHONY: maybe-install-html-etc install-html-etc
9249 maybe-install-html-etc:
9250 @if etc
9251 maybe-install-html-etc: install-html-etc
9253 install-html-etc: \
9254 configure-etc \
9255 html-etc
9256 @: $(MAKE); $(unstage)
9257 @[ -f ./etc/Makefile ] || exit 0; \
9258 r=`${PWD_COMMAND}`; export r; \
9259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9260 $(HOST_EXPORTS) \
9261 for flag in $(EXTRA_HOST_FLAGS) ; do \
9262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9263 done; \
9264 echo "Doing install-html in etc" ; \
9265 (cd $(HOST_SUBDIR)/etc && \
9266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9268 "RANLIB=$${RANLIB}" \
9269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9270 install-html) \
9271 || exit 1
9273 @endif etc
9275 .PHONY: maybe-installcheck-etc installcheck-etc
9276 maybe-installcheck-etc:
9277 @if etc
9278 maybe-installcheck-etc: installcheck-etc
9280 installcheck-etc: \
9281 configure-etc
9282 @: $(MAKE); $(unstage)
9283 @[ -f ./etc/Makefile ] || exit 0; \
9284 r=`${PWD_COMMAND}`; export r; \
9285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9286 $(HOST_EXPORTS) \
9287 for flag in $(EXTRA_HOST_FLAGS) ; do \
9288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9289 done; \
9290 echo "Doing installcheck in etc" ; \
9291 (cd $(HOST_SUBDIR)/etc && \
9292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9294 "RANLIB=$${RANLIB}" \
9295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9296 installcheck) \
9297 || exit 1
9299 @endif etc
9301 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9302 maybe-mostlyclean-etc:
9303 @if etc
9304 maybe-mostlyclean-etc: mostlyclean-etc
9306 mostlyclean-etc:
9307 @: $(MAKE); $(unstage)
9308 @[ -f ./etc/Makefile ] || exit 0; \
9309 r=`${PWD_COMMAND}`; export r; \
9310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9311 $(HOST_EXPORTS) \
9312 for flag in $(EXTRA_HOST_FLAGS) ; do \
9313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9314 done; \
9315 echo "Doing mostlyclean in etc" ; \
9316 (cd $(HOST_SUBDIR)/etc && \
9317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9319 "RANLIB=$${RANLIB}" \
9320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9321 mostlyclean) \
9322 || exit 1
9324 @endif etc
9326 .PHONY: maybe-clean-etc clean-etc
9327 maybe-clean-etc:
9328 @if etc
9329 maybe-clean-etc: clean-etc
9331 clean-etc:
9332 @: $(MAKE); $(unstage)
9333 @[ -f ./etc/Makefile ] || exit 0; \
9334 r=`${PWD_COMMAND}`; export r; \
9335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9336 $(HOST_EXPORTS) \
9337 for flag in $(EXTRA_HOST_FLAGS) ; do \
9338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9339 done; \
9340 echo "Doing clean in etc" ; \
9341 (cd $(HOST_SUBDIR)/etc && \
9342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9344 "RANLIB=$${RANLIB}" \
9345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9346 clean) \
9347 || exit 1
9349 @endif etc
9351 .PHONY: maybe-distclean-etc distclean-etc
9352 maybe-distclean-etc:
9353 @if etc
9354 maybe-distclean-etc: distclean-etc
9356 distclean-etc:
9357 @: $(MAKE); $(unstage)
9358 @[ -f ./etc/Makefile ] || exit 0; \
9359 r=`${PWD_COMMAND}`; export r; \
9360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 $(HOST_EXPORTS) \
9362 for flag in $(EXTRA_HOST_FLAGS) ; do \
9363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9364 done; \
9365 echo "Doing distclean in etc" ; \
9366 (cd $(HOST_SUBDIR)/etc && \
9367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9369 "RANLIB=$${RANLIB}" \
9370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9371 distclean) \
9372 || exit 1
9374 @endif etc
9376 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9377 maybe-maintainer-clean-etc:
9378 @if etc
9379 maybe-maintainer-clean-etc: maintainer-clean-etc
9381 maintainer-clean-etc:
9382 @: $(MAKE); $(unstage)
9383 @[ -f ./etc/Makefile ] || exit 0; \
9384 r=`${PWD_COMMAND}`; export r; \
9385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9386 $(HOST_EXPORTS) \
9387 for flag in $(EXTRA_HOST_FLAGS) ; do \
9388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9389 done; \
9390 echo "Doing maintainer-clean in etc" ; \
9391 (cd $(HOST_SUBDIR)/etc && \
9392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9394 "RANLIB=$${RANLIB}" \
9395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9396 maintainer-clean) \
9397 || exit 1
9399 @endif etc
9403 .PHONY: configure-fastjar maybe-configure-fastjar
9404 maybe-configure-fastjar:
9405 @if gcc-bootstrap
9406 configure-fastjar: stage_current
9407 @endif gcc-bootstrap
9408 @if fastjar
9409 maybe-configure-fastjar: configure-fastjar
9410 configure-fastjar:
9411 @: $(MAKE); $(unstage)
9412 @r=`${PWD_COMMAND}`; export r; \
9413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9414 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9416 $(HOST_EXPORTS) \
9417 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9418 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9419 case $(srcdir) in \
9420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9421 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9423 esac; \
9424 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9425 libsrcdir="$$s/fastjar"; \
9426 $(SHELL) $${libsrcdir}/configure \
9427 $(HOST_CONFIGARGS) $${srcdiroption} \
9428 || exit 1
9429 @endif fastjar
9435 .PHONY: all-fastjar maybe-all-fastjar
9436 maybe-all-fastjar:
9437 @if gcc-bootstrap
9438 all-fastjar: stage_current
9439 @endif gcc-bootstrap
9440 @if fastjar
9441 TARGET-fastjar=all
9442 maybe-all-fastjar: all-fastjar
9443 all-fastjar: configure-fastjar
9444 @: $(MAKE); $(unstage)
9445 @r=`${PWD_COMMAND}`; export r; \
9446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9447 $(HOST_EXPORTS) \
9448 (cd $(HOST_SUBDIR)/fastjar && \
9449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9450 @endif fastjar
9455 .PHONY: check-fastjar maybe-check-fastjar
9456 maybe-check-fastjar:
9457 @if fastjar
9458 maybe-check-fastjar: check-fastjar
9460 # This module is only tested in a native toolchain.
9461 check-fastjar:
9462 @: $(MAKE); $(unstage)
9463 @if [ '$(host)' = '$(target)' ] ; then \
9464 r=`${PWD_COMMAND}`; export r; \
9465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9466 $(HOST_EXPORTS) \
9467 (cd $(HOST_SUBDIR)/fastjar && \
9468 $(MAKE) $(FLAGS_TO_PASS) check); \
9471 @endif fastjar
9473 .PHONY: install-fastjar maybe-install-fastjar
9474 maybe-install-fastjar:
9475 @if fastjar
9476 maybe-install-fastjar: install-fastjar
9478 install-fastjar: installdirs
9479 @: $(MAKE); $(unstage)
9480 @r=`${PWD_COMMAND}`; export r; \
9481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9482 $(HOST_EXPORTS) \
9483 (cd $(HOST_SUBDIR)/fastjar && \
9484 $(MAKE) $(FLAGS_TO_PASS) install)
9486 @endif fastjar
9488 # Other targets (info, dvi, pdf, etc.)
9490 .PHONY: maybe-info-fastjar info-fastjar
9491 maybe-info-fastjar:
9492 @if fastjar
9493 maybe-info-fastjar: info-fastjar
9495 info-fastjar: \
9496 configure-fastjar
9497 @: $(MAKE); $(unstage)
9498 @[ -f ./fastjar/Makefile ] || exit 0; \
9499 r=`${PWD_COMMAND}`; export r; \
9500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9501 $(HOST_EXPORTS) \
9502 for flag in $(EXTRA_HOST_FLAGS) ; do \
9503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9504 done; \
9505 echo "Doing info in fastjar" ; \
9506 (cd $(HOST_SUBDIR)/fastjar && \
9507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9509 "RANLIB=$${RANLIB}" \
9510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9511 info) \
9512 || exit 1
9514 @endif fastjar
9516 .PHONY: maybe-dvi-fastjar dvi-fastjar
9517 maybe-dvi-fastjar:
9518 @if fastjar
9519 maybe-dvi-fastjar: dvi-fastjar
9521 dvi-fastjar: \
9522 configure-fastjar
9523 @: $(MAKE); $(unstage)
9524 @[ -f ./fastjar/Makefile ] || exit 0; \
9525 r=`${PWD_COMMAND}`; export r; \
9526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9527 $(HOST_EXPORTS) \
9528 for flag in $(EXTRA_HOST_FLAGS) ; do \
9529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9530 done; \
9531 echo "Doing dvi in fastjar" ; \
9532 (cd $(HOST_SUBDIR)/fastjar && \
9533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9535 "RANLIB=$${RANLIB}" \
9536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9537 dvi) \
9538 || exit 1
9540 @endif fastjar
9542 .PHONY: maybe-pdf-fastjar pdf-fastjar
9543 maybe-pdf-fastjar:
9544 @if fastjar
9545 maybe-pdf-fastjar: pdf-fastjar
9547 pdf-fastjar: \
9548 configure-fastjar
9549 @: $(MAKE); $(unstage)
9550 @[ -f ./fastjar/Makefile ] || exit 0; \
9551 r=`${PWD_COMMAND}`; export r; \
9552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9553 $(HOST_EXPORTS) \
9554 for flag in $(EXTRA_HOST_FLAGS) ; do \
9555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9556 done; \
9557 echo "Doing pdf in fastjar" ; \
9558 (cd $(HOST_SUBDIR)/fastjar && \
9559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9561 "RANLIB=$${RANLIB}" \
9562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9563 pdf) \
9564 || exit 1
9566 @endif fastjar
9568 .PHONY: maybe-html-fastjar html-fastjar
9569 maybe-html-fastjar:
9570 @if fastjar
9571 maybe-html-fastjar: html-fastjar
9573 html-fastjar: \
9574 configure-fastjar
9575 @: $(MAKE); $(unstage)
9576 @[ -f ./fastjar/Makefile ] || exit 0; \
9577 r=`${PWD_COMMAND}`; export r; \
9578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9579 $(HOST_EXPORTS) \
9580 for flag in $(EXTRA_HOST_FLAGS) ; do \
9581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9582 done; \
9583 echo "Doing html in fastjar" ; \
9584 (cd $(HOST_SUBDIR)/fastjar && \
9585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9587 "RANLIB=$${RANLIB}" \
9588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9589 html) \
9590 || exit 1
9592 @endif fastjar
9594 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9595 maybe-TAGS-fastjar:
9596 @if fastjar
9597 maybe-TAGS-fastjar: TAGS-fastjar
9599 TAGS-fastjar: \
9600 configure-fastjar
9601 @: $(MAKE); $(unstage)
9602 @[ -f ./fastjar/Makefile ] || exit 0; \
9603 r=`${PWD_COMMAND}`; export r; \
9604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9605 $(HOST_EXPORTS) \
9606 for flag in $(EXTRA_HOST_FLAGS) ; do \
9607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9608 done; \
9609 echo "Doing TAGS in fastjar" ; \
9610 (cd $(HOST_SUBDIR)/fastjar && \
9611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9613 "RANLIB=$${RANLIB}" \
9614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9615 TAGS) \
9616 || exit 1
9618 @endif fastjar
9620 .PHONY: maybe-install-info-fastjar install-info-fastjar
9621 maybe-install-info-fastjar:
9622 @if fastjar
9623 maybe-install-info-fastjar: install-info-fastjar
9625 install-info-fastjar: \
9626 configure-fastjar \
9627 info-fastjar
9628 @: $(MAKE); $(unstage)
9629 @[ -f ./fastjar/Makefile ] || exit 0; \
9630 r=`${PWD_COMMAND}`; export r; \
9631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9632 $(HOST_EXPORTS) \
9633 for flag in $(EXTRA_HOST_FLAGS) ; do \
9634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9635 done; \
9636 echo "Doing install-info in fastjar" ; \
9637 (cd $(HOST_SUBDIR)/fastjar && \
9638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9640 "RANLIB=$${RANLIB}" \
9641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9642 install-info) \
9643 || exit 1
9645 @endif fastjar
9647 .PHONY: maybe-install-html-fastjar install-html-fastjar
9648 maybe-install-html-fastjar:
9649 @if fastjar
9650 maybe-install-html-fastjar: install-html-fastjar
9652 install-html-fastjar: \
9653 configure-fastjar \
9654 html-fastjar
9655 @: $(MAKE); $(unstage)
9656 @[ -f ./fastjar/Makefile ] || exit 0; \
9657 r=`${PWD_COMMAND}`; export r; \
9658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9659 $(HOST_EXPORTS) \
9660 for flag in $(EXTRA_HOST_FLAGS) ; do \
9661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9662 done; \
9663 echo "Doing install-html in fastjar" ; \
9664 (cd $(HOST_SUBDIR)/fastjar && \
9665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667 "RANLIB=$${RANLIB}" \
9668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9669 install-html) \
9670 || exit 1
9672 @endif fastjar
9674 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9675 maybe-installcheck-fastjar:
9676 @if fastjar
9677 maybe-installcheck-fastjar: installcheck-fastjar
9679 installcheck-fastjar: \
9680 configure-fastjar
9681 @: $(MAKE); $(unstage)
9682 @[ -f ./fastjar/Makefile ] || exit 0; \
9683 r=`${PWD_COMMAND}`; export r; \
9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9685 $(HOST_EXPORTS) \
9686 for flag in $(EXTRA_HOST_FLAGS) ; do \
9687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9688 done; \
9689 echo "Doing installcheck in fastjar" ; \
9690 (cd $(HOST_SUBDIR)/fastjar && \
9691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9693 "RANLIB=$${RANLIB}" \
9694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9695 installcheck) \
9696 || exit 1
9698 @endif fastjar
9700 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9701 maybe-mostlyclean-fastjar:
9702 @if fastjar
9703 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9705 mostlyclean-fastjar:
9706 @: $(MAKE); $(unstage)
9707 @[ -f ./fastjar/Makefile ] || exit 0; \
9708 r=`${PWD_COMMAND}`; export r; \
9709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9710 $(HOST_EXPORTS) \
9711 for flag in $(EXTRA_HOST_FLAGS) ; do \
9712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9713 done; \
9714 echo "Doing mostlyclean in fastjar" ; \
9715 (cd $(HOST_SUBDIR)/fastjar && \
9716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9718 "RANLIB=$${RANLIB}" \
9719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9720 mostlyclean) \
9721 || exit 1
9723 @endif fastjar
9725 .PHONY: maybe-clean-fastjar clean-fastjar
9726 maybe-clean-fastjar:
9727 @if fastjar
9728 maybe-clean-fastjar: clean-fastjar
9730 clean-fastjar:
9731 @: $(MAKE); $(unstage)
9732 @[ -f ./fastjar/Makefile ] || exit 0; \
9733 r=`${PWD_COMMAND}`; export r; \
9734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9735 $(HOST_EXPORTS) \
9736 for flag in $(EXTRA_HOST_FLAGS) ; do \
9737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9738 done; \
9739 echo "Doing clean in fastjar" ; \
9740 (cd $(HOST_SUBDIR)/fastjar && \
9741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9743 "RANLIB=$${RANLIB}" \
9744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9745 clean) \
9746 || exit 1
9748 @endif fastjar
9750 .PHONY: maybe-distclean-fastjar distclean-fastjar
9751 maybe-distclean-fastjar:
9752 @if fastjar
9753 maybe-distclean-fastjar: distclean-fastjar
9755 distclean-fastjar:
9756 @: $(MAKE); $(unstage)
9757 @[ -f ./fastjar/Makefile ] || exit 0; \
9758 r=`${PWD_COMMAND}`; export r; \
9759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9760 $(HOST_EXPORTS) \
9761 for flag in $(EXTRA_HOST_FLAGS) ; do \
9762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9763 done; \
9764 echo "Doing distclean in fastjar" ; \
9765 (cd $(HOST_SUBDIR)/fastjar && \
9766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9768 "RANLIB=$${RANLIB}" \
9769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9770 distclean) \
9771 || exit 1
9773 @endif fastjar
9775 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9776 maybe-maintainer-clean-fastjar:
9777 @if fastjar
9778 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9780 maintainer-clean-fastjar:
9781 @: $(MAKE); $(unstage)
9782 @[ -f ./fastjar/Makefile ] || exit 0; \
9783 r=`${PWD_COMMAND}`; export r; \
9784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9785 $(HOST_EXPORTS) \
9786 for flag in $(EXTRA_HOST_FLAGS) ; do \
9787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9788 done; \
9789 echo "Doing maintainer-clean in fastjar" ; \
9790 (cd $(HOST_SUBDIR)/fastjar && \
9791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9793 "RANLIB=$${RANLIB}" \
9794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9795 maintainer-clean) \
9796 || exit 1
9798 @endif fastjar
9802 .PHONY: configure-fileutils maybe-configure-fileutils
9803 maybe-configure-fileutils:
9804 @if gcc-bootstrap
9805 configure-fileutils: stage_current
9806 @endif gcc-bootstrap
9807 @if fileutils
9808 maybe-configure-fileutils: configure-fileutils
9809 configure-fileutils:
9810 @: $(MAKE); $(unstage)
9811 @r=`${PWD_COMMAND}`; export r; \
9812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9813 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9815 $(HOST_EXPORTS) \
9816 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9817 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9818 case $(srcdir) in \
9819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9820 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9822 esac; \
9823 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9824 libsrcdir="$$s/fileutils"; \
9825 $(SHELL) $${libsrcdir}/configure \
9826 $(HOST_CONFIGARGS) $${srcdiroption} \
9827 || exit 1
9828 @endif fileutils
9834 .PHONY: all-fileutils maybe-all-fileutils
9835 maybe-all-fileutils:
9836 @if gcc-bootstrap
9837 all-fileutils: stage_current
9838 @endif gcc-bootstrap
9839 @if fileutils
9840 TARGET-fileutils=all
9841 maybe-all-fileutils: all-fileutils
9842 all-fileutils: configure-fileutils
9843 @: $(MAKE); $(unstage)
9844 @r=`${PWD_COMMAND}`; export r; \
9845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9846 $(HOST_EXPORTS) \
9847 (cd $(HOST_SUBDIR)/fileutils && \
9848 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9849 @endif fileutils
9854 .PHONY: check-fileutils maybe-check-fileutils
9855 maybe-check-fileutils:
9856 @if fileutils
9857 maybe-check-fileutils: check-fileutils
9859 check-fileutils:
9860 @: $(MAKE); $(unstage)
9861 @r=`${PWD_COMMAND}`; export r; \
9862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9863 $(HOST_EXPORTS) \
9864 (cd $(HOST_SUBDIR)/fileutils && \
9865 $(MAKE) $(FLAGS_TO_PASS) check)
9867 @endif fileutils
9869 .PHONY: install-fileutils maybe-install-fileutils
9870 maybe-install-fileutils:
9871 @if fileutils
9872 maybe-install-fileutils: install-fileutils
9874 install-fileutils: installdirs
9875 @: $(MAKE); $(unstage)
9876 @r=`${PWD_COMMAND}`; export r; \
9877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9878 $(HOST_EXPORTS) \
9879 (cd $(HOST_SUBDIR)/fileutils && \
9880 $(MAKE) $(FLAGS_TO_PASS) install)
9882 @endif fileutils
9884 # Other targets (info, dvi, pdf, etc.)
9886 .PHONY: maybe-info-fileutils info-fileutils
9887 maybe-info-fileutils:
9888 @if fileutils
9889 maybe-info-fileutils: info-fileutils
9891 info-fileutils: \
9892 configure-fileutils
9893 @: $(MAKE); $(unstage)
9894 @[ -f ./fileutils/Makefile ] || exit 0; \
9895 r=`${PWD_COMMAND}`; export r; \
9896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9897 $(HOST_EXPORTS) \
9898 for flag in $(EXTRA_HOST_FLAGS) ; do \
9899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9900 done; \
9901 echo "Doing info in fileutils" ; \
9902 (cd $(HOST_SUBDIR)/fileutils && \
9903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9905 "RANLIB=$${RANLIB}" \
9906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9907 info) \
9908 || exit 1
9910 @endif fileutils
9912 .PHONY: maybe-dvi-fileutils dvi-fileutils
9913 maybe-dvi-fileutils:
9914 @if fileutils
9915 maybe-dvi-fileutils: dvi-fileutils
9917 dvi-fileutils: \
9918 configure-fileutils
9919 @: $(MAKE); $(unstage)
9920 @[ -f ./fileutils/Makefile ] || exit 0; \
9921 r=`${PWD_COMMAND}`; export r; \
9922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9923 $(HOST_EXPORTS) \
9924 for flag in $(EXTRA_HOST_FLAGS) ; do \
9925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9926 done; \
9927 echo "Doing dvi in fileutils" ; \
9928 (cd $(HOST_SUBDIR)/fileutils && \
9929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9931 "RANLIB=$${RANLIB}" \
9932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9933 dvi) \
9934 || exit 1
9936 @endif fileutils
9938 .PHONY: maybe-pdf-fileutils pdf-fileutils
9939 maybe-pdf-fileutils:
9940 @if fileutils
9941 maybe-pdf-fileutils: pdf-fileutils
9943 pdf-fileutils: \
9944 configure-fileutils
9945 @: $(MAKE); $(unstage)
9946 @[ -f ./fileutils/Makefile ] || exit 0; \
9947 r=`${PWD_COMMAND}`; export r; \
9948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9949 $(HOST_EXPORTS) \
9950 for flag in $(EXTRA_HOST_FLAGS) ; do \
9951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9952 done; \
9953 echo "Doing pdf in fileutils" ; \
9954 (cd $(HOST_SUBDIR)/fileutils && \
9955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9957 "RANLIB=$${RANLIB}" \
9958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9959 pdf) \
9960 || exit 1
9962 @endif fileutils
9964 .PHONY: maybe-html-fileutils html-fileutils
9965 maybe-html-fileutils:
9966 @if fileutils
9967 maybe-html-fileutils: html-fileutils
9969 html-fileutils: \
9970 configure-fileutils
9971 @: $(MAKE); $(unstage)
9972 @[ -f ./fileutils/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(HOST_EXPORTS) \
9976 for flag in $(EXTRA_HOST_FLAGS) ; do \
9977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9978 done; \
9979 echo "Doing html in fileutils" ; \
9980 (cd $(HOST_SUBDIR)/fileutils && \
9981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9983 "RANLIB=$${RANLIB}" \
9984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9985 html) \
9986 || exit 1
9988 @endif fileutils
9990 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
9991 maybe-TAGS-fileutils:
9992 @if fileutils
9993 maybe-TAGS-fileutils: TAGS-fileutils
9995 TAGS-fileutils: \
9996 configure-fileutils
9997 @: $(MAKE); $(unstage)
9998 @[ -f ./fileutils/Makefile ] || exit 0; \
9999 r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS) ; do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing TAGS in fileutils" ; \
10006 (cd $(HOST_SUBDIR)/fileutils && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011 TAGS) \
10012 || exit 1
10014 @endif fileutils
10016 .PHONY: maybe-install-info-fileutils install-info-fileutils
10017 maybe-install-info-fileutils:
10018 @if fileutils
10019 maybe-install-info-fileutils: install-info-fileutils
10021 install-info-fileutils: \
10022 configure-fileutils \
10023 info-fileutils
10024 @: $(MAKE); $(unstage)
10025 @[ -f ./fileutils/Makefile ] || exit 0; \
10026 r=`${PWD_COMMAND}`; export r; \
10027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10028 $(HOST_EXPORTS) \
10029 for flag in $(EXTRA_HOST_FLAGS) ; do \
10030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10031 done; \
10032 echo "Doing install-info in fileutils" ; \
10033 (cd $(HOST_SUBDIR)/fileutils && \
10034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10036 "RANLIB=$${RANLIB}" \
10037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10038 install-info) \
10039 || exit 1
10041 @endif fileutils
10043 .PHONY: maybe-install-html-fileutils install-html-fileutils
10044 maybe-install-html-fileutils:
10045 @if fileutils
10046 maybe-install-html-fileutils: install-html-fileutils
10048 install-html-fileutils: \
10049 configure-fileutils \
10050 html-fileutils
10051 @: $(MAKE); $(unstage)
10052 @[ -f ./fileutils/Makefile ] || exit 0; \
10053 r=`${PWD_COMMAND}`; export r; \
10054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10055 $(HOST_EXPORTS) \
10056 for flag in $(EXTRA_HOST_FLAGS) ; do \
10057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10058 done; \
10059 echo "Doing install-html in fileutils" ; \
10060 (cd $(HOST_SUBDIR)/fileutils && \
10061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10063 "RANLIB=$${RANLIB}" \
10064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10065 install-html) \
10066 || exit 1
10068 @endif fileutils
10070 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10071 maybe-installcheck-fileutils:
10072 @if fileutils
10073 maybe-installcheck-fileutils: installcheck-fileutils
10075 installcheck-fileutils: \
10076 configure-fileutils
10077 @: $(MAKE); $(unstage)
10078 @[ -f ./fileutils/Makefile ] || exit 0; \
10079 r=`${PWD_COMMAND}`; export r; \
10080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10081 $(HOST_EXPORTS) \
10082 for flag in $(EXTRA_HOST_FLAGS) ; do \
10083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10084 done; \
10085 echo "Doing installcheck in fileutils" ; \
10086 (cd $(HOST_SUBDIR)/fileutils && \
10087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10089 "RANLIB=$${RANLIB}" \
10090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10091 installcheck) \
10092 || exit 1
10094 @endif fileutils
10096 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10097 maybe-mostlyclean-fileutils:
10098 @if fileutils
10099 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10101 mostlyclean-fileutils:
10102 @: $(MAKE); $(unstage)
10103 @[ -f ./fileutils/Makefile ] || exit 0; \
10104 r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 $(HOST_EXPORTS) \
10107 for flag in $(EXTRA_HOST_FLAGS) ; do \
10108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10109 done; \
10110 echo "Doing mostlyclean in fileutils" ; \
10111 (cd $(HOST_SUBDIR)/fileutils && \
10112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10114 "RANLIB=$${RANLIB}" \
10115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10116 mostlyclean) \
10117 || exit 1
10119 @endif fileutils
10121 .PHONY: maybe-clean-fileutils clean-fileutils
10122 maybe-clean-fileutils:
10123 @if fileutils
10124 maybe-clean-fileutils: clean-fileutils
10126 clean-fileutils:
10127 @: $(MAKE); $(unstage)
10128 @[ -f ./fileutils/Makefile ] || exit 0; \
10129 r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(HOST_EXPORTS) \
10132 for flag in $(EXTRA_HOST_FLAGS) ; do \
10133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10134 done; \
10135 echo "Doing clean in fileutils" ; \
10136 (cd $(HOST_SUBDIR)/fileutils && \
10137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10139 "RANLIB=$${RANLIB}" \
10140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10141 clean) \
10142 || exit 1
10144 @endif fileutils
10146 .PHONY: maybe-distclean-fileutils distclean-fileutils
10147 maybe-distclean-fileutils:
10148 @if fileutils
10149 maybe-distclean-fileutils: distclean-fileutils
10151 distclean-fileutils:
10152 @: $(MAKE); $(unstage)
10153 @[ -f ./fileutils/Makefile ] || exit 0; \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) ; do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing distclean in fileutils" ; \
10161 (cd $(HOST_SUBDIR)/fileutils && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10166 distclean) \
10167 || exit 1
10169 @endif fileutils
10171 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10172 maybe-maintainer-clean-fileutils:
10173 @if fileutils
10174 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10176 maintainer-clean-fileutils:
10177 @: $(MAKE); $(unstage)
10178 @[ -f ./fileutils/Makefile ] || exit 0; \
10179 r=`${PWD_COMMAND}`; export r; \
10180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 $(HOST_EXPORTS) \
10182 for flag in $(EXTRA_HOST_FLAGS) ; do \
10183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10184 done; \
10185 echo "Doing maintainer-clean in fileutils" ; \
10186 (cd $(HOST_SUBDIR)/fileutils && \
10187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10189 "RANLIB=$${RANLIB}" \
10190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10191 maintainer-clean) \
10192 || exit 1
10194 @endif fileutils
10198 .PHONY: configure-findutils maybe-configure-findutils
10199 maybe-configure-findutils:
10200 @if gcc-bootstrap
10201 configure-findutils: stage_current
10202 @endif gcc-bootstrap
10203 @if findutils
10204 maybe-configure-findutils: configure-findutils
10205 configure-findutils:
10206 @: $(MAKE); $(unstage)
10207 @r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10209 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10211 $(HOST_EXPORTS) \
10212 echo Configuring in $(HOST_SUBDIR)/findutils; \
10213 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10214 case $(srcdir) in \
10215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10216 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10218 esac; \
10219 srcdiroption="--srcdir=$${topdir}/findutils"; \
10220 libsrcdir="$$s/findutils"; \
10221 $(SHELL) $${libsrcdir}/configure \
10222 $(HOST_CONFIGARGS) $${srcdiroption} \
10223 || exit 1
10224 @endif findutils
10230 .PHONY: all-findutils maybe-all-findutils
10231 maybe-all-findutils:
10232 @if gcc-bootstrap
10233 all-findutils: stage_current
10234 @endif gcc-bootstrap
10235 @if findutils
10236 TARGET-findutils=all
10237 maybe-all-findutils: all-findutils
10238 all-findutils: configure-findutils
10239 @: $(MAKE); $(unstage)
10240 @r=`${PWD_COMMAND}`; export r; \
10241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10242 $(HOST_EXPORTS) \
10243 (cd $(HOST_SUBDIR)/findutils && \
10244 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10245 @endif findutils
10250 .PHONY: check-findutils maybe-check-findutils
10251 maybe-check-findutils:
10252 @if findutils
10253 maybe-check-findutils: check-findutils
10255 check-findutils:
10256 @: $(MAKE); $(unstage)
10257 @r=`${PWD_COMMAND}`; export r; \
10258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10259 $(HOST_EXPORTS) \
10260 (cd $(HOST_SUBDIR)/findutils && \
10261 $(MAKE) $(FLAGS_TO_PASS) check)
10263 @endif findutils
10265 .PHONY: install-findutils maybe-install-findutils
10266 maybe-install-findutils:
10267 @if findutils
10268 maybe-install-findutils: install-findutils
10270 install-findutils: installdirs
10271 @: $(MAKE); $(unstage)
10272 @r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274 $(HOST_EXPORTS) \
10275 (cd $(HOST_SUBDIR)/findutils && \
10276 $(MAKE) $(FLAGS_TO_PASS) install)
10278 @endif findutils
10280 # Other targets (info, dvi, pdf, etc.)
10282 .PHONY: maybe-info-findutils info-findutils
10283 maybe-info-findutils:
10284 @if findutils
10285 maybe-info-findutils: info-findutils
10287 info-findutils: \
10288 configure-findutils
10289 @: $(MAKE); $(unstage)
10290 @[ -f ./findutils/Makefile ] || exit 0; \
10291 r=`${PWD_COMMAND}`; export r; \
10292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10293 $(HOST_EXPORTS) \
10294 for flag in $(EXTRA_HOST_FLAGS) ; do \
10295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10296 done; \
10297 echo "Doing info in findutils" ; \
10298 (cd $(HOST_SUBDIR)/findutils && \
10299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10301 "RANLIB=$${RANLIB}" \
10302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10303 info) \
10304 || exit 1
10306 @endif findutils
10308 .PHONY: maybe-dvi-findutils dvi-findutils
10309 maybe-dvi-findutils:
10310 @if findutils
10311 maybe-dvi-findutils: dvi-findutils
10313 dvi-findutils: \
10314 configure-findutils
10315 @: $(MAKE); $(unstage)
10316 @[ -f ./findutils/Makefile ] || exit 0; \
10317 r=`${PWD_COMMAND}`; export r; \
10318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10319 $(HOST_EXPORTS) \
10320 for flag in $(EXTRA_HOST_FLAGS) ; do \
10321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10322 done; \
10323 echo "Doing dvi in findutils" ; \
10324 (cd $(HOST_SUBDIR)/findutils && \
10325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10327 "RANLIB=$${RANLIB}" \
10328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10329 dvi) \
10330 || exit 1
10332 @endif findutils
10334 .PHONY: maybe-pdf-findutils pdf-findutils
10335 maybe-pdf-findutils:
10336 @if findutils
10337 maybe-pdf-findutils: pdf-findutils
10339 pdf-findutils: \
10340 configure-findutils
10341 @: $(MAKE); $(unstage)
10342 @[ -f ./findutils/Makefile ] || exit 0; \
10343 r=`${PWD_COMMAND}`; export r; \
10344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10345 $(HOST_EXPORTS) \
10346 for flag in $(EXTRA_HOST_FLAGS) ; do \
10347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10348 done; \
10349 echo "Doing pdf in findutils" ; \
10350 (cd $(HOST_SUBDIR)/findutils && \
10351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10353 "RANLIB=$${RANLIB}" \
10354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10355 pdf) \
10356 || exit 1
10358 @endif findutils
10360 .PHONY: maybe-html-findutils html-findutils
10361 maybe-html-findutils:
10362 @if findutils
10363 maybe-html-findutils: html-findutils
10365 html-findutils: \
10366 configure-findutils
10367 @: $(MAKE); $(unstage)
10368 @[ -f ./findutils/Makefile ] || exit 0; \
10369 r=`${PWD_COMMAND}`; export r; \
10370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10371 $(HOST_EXPORTS) \
10372 for flag in $(EXTRA_HOST_FLAGS) ; do \
10373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10374 done; \
10375 echo "Doing html in findutils" ; \
10376 (cd $(HOST_SUBDIR)/findutils && \
10377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10379 "RANLIB=$${RANLIB}" \
10380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10381 html) \
10382 || exit 1
10384 @endif findutils
10386 .PHONY: maybe-TAGS-findutils TAGS-findutils
10387 maybe-TAGS-findutils:
10388 @if findutils
10389 maybe-TAGS-findutils: TAGS-findutils
10391 TAGS-findutils: \
10392 configure-findutils
10393 @: $(MAKE); $(unstage)
10394 @[ -f ./findutils/Makefile ] || exit 0; \
10395 r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 $(HOST_EXPORTS) \
10398 for flag in $(EXTRA_HOST_FLAGS) ; do \
10399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10400 done; \
10401 echo "Doing TAGS in findutils" ; \
10402 (cd $(HOST_SUBDIR)/findutils && \
10403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10405 "RANLIB=$${RANLIB}" \
10406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10407 TAGS) \
10408 || exit 1
10410 @endif findutils
10412 .PHONY: maybe-install-info-findutils install-info-findutils
10413 maybe-install-info-findutils:
10414 @if findutils
10415 maybe-install-info-findutils: install-info-findutils
10417 install-info-findutils: \
10418 configure-findutils \
10419 info-findutils
10420 @: $(MAKE); $(unstage)
10421 @[ -f ./findutils/Makefile ] || exit 0; \
10422 r=`${PWD_COMMAND}`; export r; \
10423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10424 $(HOST_EXPORTS) \
10425 for flag in $(EXTRA_HOST_FLAGS) ; do \
10426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10427 done; \
10428 echo "Doing install-info in findutils" ; \
10429 (cd $(HOST_SUBDIR)/findutils && \
10430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10432 "RANLIB=$${RANLIB}" \
10433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10434 install-info) \
10435 || exit 1
10437 @endif findutils
10439 .PHONY: maybe-install-html-findutils install-html-findutils
10440 maybe-install-html-findutils:
10441 @if findutils
10442 maybe-install-html-findutils: install-html-findutils
10444 install-html-findutils: \
10445 configure-findutils \
10446 html-findutils
10447 @: $(MAKE); $(unstage)
10448 @[ -f ./findutils/Makefile ] || exit 0; \
10449 r=`${PWD_COMMAND}`; export r; \
10450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10451 $(HOST_EXPORTS) \
10452 for flag in $(EXTRA_HOST_FLAGS) ; do \
10453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10454 done; \
10455 echo "Doing install-html in findutils" ; \
10456 (cd $(HOST_SUBDIR)/findutils && \
10457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10459 "RANLIB=$${RANLIB}" \
10460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10461 install-html) \
10462 || exit 1
10464 @endif findutils
10466 .PHONY: maybe-installcheck-findutils installcheck-findutils
10467 maybe-installcheck-findutils:
10468 @if findutils
10469 maybe-installcheck-findutils: installcheck-findutils
10471 installcheck-findutils: \
10472 configure-findutils
10473 @: $(MAKE); $(unstage)
10474 @[ -f ./findutils/Makefile ] || exit 0; \
10475 r=`${PWD_COMMAND}`; export r; \
10476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10477 $(HOST_EXPORTS) \
10478 for flag in $(EXTRA_HOST_FLAGS) ; do \
10479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10480 done; \
10481 echo "Doing installcheck in findutils" ; \
10482 (cd $(HOST_SUBDIR)/findutils && \
10483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10485 "RANLIB=$${RANLIB}" \
10486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10487 installcheck) \
10488 || exit 1
10490 @endif findutils
10492 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10493 maybe-mostlyclean-findutils:
10494 @if findutils
10495 maybe-mostlyclean-findutils: mostlyclean-findutils
10497 mostlyclean-findutils:
10498 @: $(MAKE); $(unstage)
10499 @[ -f ./findutils/Makefile ] || exit 0; \
10500 r=`${PWD_COMMAND}`; export r; \
10501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 $(HOST_EXPORTS) \
10503 for flag in $(EXTRA_HOST_FLAGS) ; do \
10504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10505 done; \
10506 echo "Doing mostlyclean in findutils" ; \
10507 (cd $(HOST_SUBDIR)/findutils && \
10508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10510 "RANLIB=$${RANLIB}" \
10511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10512 mostlyclean) \
10513 || exit 1
10515 @endif findutils
10517 .PHONY: maybe-clean-findutils clean-findutils
10518 maybe-clean-findutils:
10519 @if findutils
10520 maybe-clean-findutils: clean-findutils
10522 clean-findutils:
10523 @: $(MAKE); $(unstage)
10524 @[ -f ./findutils/Makefile ] || exit 0; \
10525 r=`${PWD_COMMAND}`; export r; \
10526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10527 $(HOST_EXPORTS) \
10528 for flag in $(EXTRA_HOST_FLAGS) ; do \
10529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10530 done; \
10531 echo "Doing clean in findutils" ; \
10532 (cd $(HOST_SUBDIR)/findutils && \
10533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10535 "RANLIB=$${RANLIB}" \
10536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10537 clean) \
10538 || exit 1
10540 @endif findutils
10542 .PHONY: maybe-distclean-findutils distclean-findutils
10543 maybe-distclean-findutils:
10544 @if findutils
10545 maybe-distclean-findutils: distclean-findutils
10547 distclean-findutils:
10548 @: $(MAKE); $(unstage)
10549 @[ -f ./findutils/Makefile ] || exit 0; \
10550 r=`${PWD_COMMAND}`; export r; \
10551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10552 $(HOST_EXPORTS) \
10553 for flag in $(EXTRA_HOST_FLAGS) ; do \
10554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10555 done; \
10556 echo "Doing distclean in findutils" ; \
10557 (cd $(HOST_SUBDIR)/findutils && \
10558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10560 "RANLIB=$${RANLIB}" \
10561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10562 distclean) \
10563 || exit 1
10565 @endif findutils
10567 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10568 maybe-maintainer-clean-findutils:
10569 @if findutils
10570 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10572 maintainer-clean-findutils:
10573 @: $(MAKE); $(unstage)
10574 @[ -f ./findutils/Makefile ] || exit 0; \
10575 r=`${PWD_COMMAND}`; export r; \
10576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10577 $(HOST_EXPORTS) \
10578 for flag in $(EXTRA_HOST_FLAGS) ; do \
10579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10580 done; \
10581 echo "Doing maintainer-clean in findutils" ; \
10582 (cd $(HOST_SUBDIR)/findutils && \
10583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10585 "RANLIB=$${RANLIB}" \
10586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10587 maintainer-clean) \
10588 || exit 1
10590 @endif findutils
10594 .PHONY: configure-find maybe-configure-find
10595 maybe-configure-find:
10596 @if gcc-bootstrap
10597 configure-find: stage_current
10598 @endif gcc-bootstrap
10599 @if find
10600 maybe-configure-find: configure-find
10601 configure-find:
10602 @: $(MAKE); $(unstage)
10603 @r=`${PWD_COMMAND}`; export r; \
10604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10605 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10607 $(HOST_EXPORTS) \
10608 echo Configuring in $(HOST_SUBDIR)/find; \
10609 cd "$(HOST_SUBDIR)/find" || exit 1; \
10610 case $(srcdir) in \
10611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10612 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10614 esac; \
10615 srcdiroption="--srcdir=$${topdir}/find"; \
10616 libsrcdir="$$s/find"; \
10617 $(SHELL) $${libsrcdir}/configure \
10618 $(HOST_CONFIGARGS) $${srcdiroption} \
10619 || exit 1
10620 @endif find
10626 .PHONY: all-find maybe-all-find
10627 maybe-all-find:
10628 @if gcc-bootstrap
10629 all-find: stage_current
10630 @endif gcc-bootstrap
10631 @if find
10632 TARGET-find=all
10633 maybe-all-find: all-find
10634 all-find: configure-find
10635 @: $(MAKE); $(unstage)
10636 @r=`${PWD_COMMAND}`; export r; \
10637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10638 $(HOST_EXPORTS) \
10639 (cd $(HOST_SUBDIR)/find && \
10640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10641 @endif find
10646 .PHONY: check-find maybe-check-find
10647 maybe-check-find:
10648 @if find
10649 maybe-check-find: check-find
10651 check-find:
10652 @: $(MAKE); $(unstage)
10653 @r=`${PWD_COMMAND}`; export r; \
10654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10655 $(HOST_EXPORTS) \
10656 (cd $(HOST_SUBDIR)/find && \
10657 $(MAKE) $(FLAGS_TO_PASS) check)
10659 @endif find
10661 .PHONY: install-find maybe-install-find
10662 maybe-install-find:
10663 @if find
10664 maybe-install-find: install-find
10666 install-find: installdirs
10667 @: $(MAKE); $(unstage)
10668 @r=`${PWD_COMMAND}`; export r; \
10669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10670 $(HOST_EXPORTS) \
10671 (cd $(HOST_SUBDIR)/find && \
10672 $(MAKE) $(FLAGS_TO_PASS) install)
10674 @endif find
10676 # Other targets (info, dvi, pdf, etc.)
10678 .PHONY: maybe-info-find info-find
10679 maybe-info-find:
10680 @if find
10681 maybe-info-find: info-find
10683 info-find: \
10684 configure-find
10685 @: $(MAKE); $(unstage)
10686 @[ -f ./find/Makefile ] || exit 0; \
10687 r=`${PWD_COMMAND}`; export r; \
10688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10689 $(HOST_EXPORTS) \
10690 for flag in $(EXTRA_HOST_FLAGS) ; do \
10691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10692 done; \
10693 echo "Doing info in find" ; \
10694 (cd $(HOST_SUBDIR)/find && \
10695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10697 "RANLIB=$${RANLIB}" \
10698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10699 info) \
10700 || exit 1
10702 @endif find
10704 .PHONY: maybe-dvi-find dvi-find
10705 maybe-dvi-find:
10706 @if find
10707 maybe-dvi-find: dvi-find
10709 dvi-find: \
10710 configure-find
10711 @: $(MAKE); $(unstage)
10712 @[ -f ./find/Makefile ] || exit 0; \
10713 r=`${PWD_COMMAND}`; export r; \
10714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10715 $(HOST_EXPORTS) \
10716 for flag in $(EXTRA_HOST_FLAGS) ; do \
10717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10718 done; \
10719 echo "Doing dvi in find" ; \
10720 (cd $(HOST_SUBDIR)/find && \
10721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10723 "RANLIB=$${RANLIB}" \
10724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10725 dvi) \
10726 || exit 1
10728 @endif find
10730 .PHONY: maybe-pdf-find pdf-find
10731 maybe-pdf-find:
10732 @if find
10733 maybe-pdf-find: pdf-find
10735 pdf-find: \
10736 configure-find
10737 @: $(MAKE); $(unstage)
10738 @[ -f ./find/Makefile ] || exit 0; \
10739 r=`${PWD_COMMAND}`; export r; \
10740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10741 $(HOST_EXPORTS) \
10742 for flag in $(EXTRA_HOST_FLAGS) ; do \
10743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10744 done; \
10745 echo "Doing pdf in find" ; \
10746 (cd $(HOST_SUBDIR)/find && \
10747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10749 "RANLIB=$${RANLIB}" \
10750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10751 pdf) \
10752 || exit 1
10754 @endif find
10756 .PHONY: maybe-html-find html-find
10757 maybe-html-find:
10758 @if find
10759 maybe-html-find: html-find
10761 html-find: \
10762 configure-find
10763 @: $(MAKE); $(unstage)
10764 @[ -f ./find/Makefile ] || exit 0; \
10765 r=`${PWD_COMMAND}`; export r; \
10766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10767 $(HOST_EXPORTS) \
10768 for flag in $(EXTRA_HOST_FLAGS) ; do \
10769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10770 done; \
10771 echo "Doing html in find" ; \
10772 (cd $(HOST_SUBDIR)/find && \
10773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10775 "RANLIB=$${RANLIB}" \
10776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10777 html) \
10778 || exit 1
10780 @endif find
10782 .PHONY: maybe-TAGS-find TAGS-find
10783 maybe-TAGS-find:
10784 @if find
10785 maybe-TAGS-find: TAGS-find
10787 TAGS-find: \
10788 configure-find
10789 @: $(MAKE); $(unstage)
10790 @[ -f ./find/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(HOST_EXPORTS) \
10794 for flag in $(EXTRA_HOST_FLAGS) ; do \
10795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10796 done; \
10797 echo "Doing TAGS in find" ; \
10798 (cd $(HOST_SUBDIR)/find && \
10799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10801 "RANLIB=$${RANLIB}" \
10802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10803 TAGS) \
10804 || exit 1
10806 @endif find
10808 .PHONY: maybe-install-info-find install-info-find
10809 maybe-install-info-find:
10810 @if find
10811 maybe-install-info-find: install-info-find
10813 install-info-find: \
10814 configure-find \
10815 info-find
10816 @: $(MAKE); $(unstage)
10817 @[ -f ./find/Makefile ] || exit 0; \
10818 r=`${PWD_COMMAND}`; export r; \
10819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10820 $(HOST_EXPORTS) \
10821 for flag in $(EXTRA_HOST_FLAGS) ; do \
10822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10823 done; \
10824 echo "Doing install-info in find" ; \
10825 (cd $(HOST_SUBDIR)/find && \
10826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10828 "RANLIB=$${RANLIB}" \
10829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10830 install-info) \
10831 || exit 1
10833 @endif find
10835 .PHONY: maybe-install-html-find install-html-find
10836 maybe-install-html-find:
10837 @if find
10838 maybe-install-html-find: install-html-find
10840 install-html-find: \
10841 configure-find \
10842 html-find
10843 @: $(MAKE); $(unstage)
10844 @[ -f ./find/Makefile ] || exit 0; \
10845 r=`${PWD_COMMAND}`; export r; \
10846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10847 $(HOST_EXPORTS) \
10848 for flag in $(EXTRA_HOST_FLAGS) ; do \
10849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10850 done; \
10851 echo "Doing install-html in find" ; \
10852 (cd $(HOST_SUBDIR)/find && \
10853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10855 "RANLIB=$${RANLIB}" \
10856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10857 install-html) \
10858 || exit 1
10860 @endif find
10862 .PHONY: maybe-installcheck-find installcheck-find
10863 maybe-installcheck-find:
10864 @if find
10865 maybe-installcheck-find: installcheck-find
10867 installcheck-find: \
10868 configure-find
10869 @: $(MAKE); $(unstage)
10870 @[ -f ./find/Makefile ] || exit 0; \
10871 r=`${PWD_COMMAND}`; export r; \
10872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10873 $(HOST_EXPORTS) \
10874 for flag in $(EXTRA_HOST_FLAGS) ; do \
10875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10876 done; \
10877 echo "Doing installcheck in find" ; \
10878 (cd $(HOST_SUBDIR)/find && \
10879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10881 "RANLIB=$${RANLIB}" \
10882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10883 installcheck) \
10884 || exit 1
10886 @endif find
10888 .PHONY: maybe-mostlyclean-find mostlyclean-find
10889 maybe-mostlyclean-find:
10890 @if find
10891 maybe-mostlyclean-find: mostlyclean-find
10893 mostlyclean-find:
10894 @: $(MAKE); $(unstage)
10895 @[ -f ./find/Makefile ] || exit 0; \
10896 r=`${PWD_COMMAND}`; export r; \
10897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10898 $(HOST_EXPORTS) \
10899 for flag in $(EXTRA_HOST_FLAGS) ; do \
10900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10901 done; \
10902 echo "Doing mostlyclean in find" ; \
10903 (cd $(HOST_SUBDIR)/find && \
10904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10906 "RANLIB=$${RANLIB}" \
10907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10908 mostlyclean) \
10909 || exit 1
10911 @endif find
10913 .PHONY: maybe-clean-find clean-find
10914 maybe-clean-find:
10915 @if find
10916 maybe-clean-find: clean-find
10918 clean-find:
10919 @: $(MAKE); $(unstage)
10920 @[ -f ./find/Makefile ] || exit 0; \
10921 r=`${PWD_COMMAND}`; export r; \
10922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10923 $(HOST_EXPORTS) \
10924 for flag in $(EXTRA_HOST_FLAGS) ; do \
10925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10926 done; \
10927 echo "Doing clean in find" ; \
10928 (cd $(HOST_SUBDIR)/find && \
10929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10931 "RANLIB=$${RANLIB}" \
10932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10933 clean) \
10934 || exit 1
10936 @endif find
10938 .PHONY: maybe-distclean-find distclean-find
10939 maybe-distclean-find:
10940 @if find
10941 maybe-distclean-find: distclean-find
10943 distclean-find:
10944 @: $(MAKE); $(unstage)
10945 @[ -f ./find/Makefile ] || exit 0; \
10946 r=`${PWD_COMMAND}`; export r; \
10947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10948 $(HOST_EXPORTS) \
10949 for flag in $(EXTRA_HOST_FLAGS) ; do \
10950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10951 done; \
10952 echo "Doing distclean in find" ; \
10953 (cd $(HOST_SUBDIR)/find && \
10954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10956 "RANLIB=$${RANLIB}" \
10957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10958 distclean) \
10959 || exit 1
10961 @endif find
10963 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
10964 maybe-maintainer-clean-find:
10965 @if find
10966 maybe-maintainer-clean-find: maintainer-clean-find
10968 maintainer-clean-find:
10969 @: $(MAKE); $(unstage)
10970 @[ -f ./find/Makefile ] || exit 0; \
10971 r=`${PWD_COMMAND}`; export r; \
10972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 $(HOST_EXPORTS) \
10974 for flag in $(EXTRA_HOST_FLAGS) ; do \
10975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10976 done; \
10977 echo "Doing maintainer-clean in find" ; \
10978 (cd $(HOST_SUBDIR)/find && \
10979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10981 "RANLIB=$${RANLIB}" \
10982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10983 maintainer-clean) \
10984 || exit 1
10986 @endif find
10990 .PHONY: configure-fixincludes maybe-configure-fixincludes
10991 maybe-configure-fixincludes:
10992 @if gcc-bootstrap
10993 configure-fixincludes: stage_current
10994 @endif gcc-bootstrap
10995 @if fixincludes
10996 maybe-configure-fixincludes: configure-fixincludes
10997 configure-fixincludes:
10998 @: $(MAKE); $(unstage)
10999 @r=`${PWD_COMMAND}`; export r; \
11000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11001 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11003 $(HOST_EXPORTS) \
11004 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11005 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11006 case $(srcdir) in \
11007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11008 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11010 esac; \
11011 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11012 libsrcdir="$$s/fixincludes"; \
11013 $(SHELL) $${libsrcdir}/configure \
11014 $(HOST_CONFIGARGS) $${srcdiroption} \
11015 || exit 1
11016 @endif fixincludes
11022 .PHONY: all-fixincludes maybe-all-fixincludes
11023 maybe-all-fixincludes:
11024 @if gcc-bootstrap
11025 all-fixincludes: stage_current
11026 @endif gcc-bootstrap
11027 @if fixincludes
11028 TARGET-fixincludes=all
11029 maybe-all-fixincludes: all-fixincludes
11030 all-fixincludes: configure-fixincludes
11031 @: $(MAKE); $(unstage)
11032 @r=`${PWD_COMMAND}`; export r; \
11033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11034 $(HOST_EXPORTS) \
11035 (cd $(HOST_SUBDIR)/fixincludes && \
11036 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11037 @endif fixincludes
11042 .PHONY: check-fixincludes maybe-check-fixincludes
11043 maybe-check-fixincludes:
11044 @if fixincludes
11045 maybe-check-fixincludes: check-fixincludes
11047 check-fixincludes:
11048 @: $(MAKE); $(unstage)
11049 @r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(HOST_EXPORTS) \
11052 (cd $(HOST_SUBDIR)/fixincludes && \
11053 $(MAKE) $(FLAGS_TO_PASS) check)
11055 @endif fixincludes
11057 .PHONY: install-fixincludes maybe-install-fixincludes
11058 maybe-install-fixincludes:
11059 @if fixincludes
11060 maybe-install-fixincludes: install-fixincludes
11062 install-fixincludes: installdirs
11063 @: $(MAKE); $(unstage)
11064 @r=`${PWD_COMMAND}`; export r; \
11065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066 $(HOST_EXPORTS) \
11067 (cd $(HOST_SUBDIR)/fixincludes && \
11068 $(MAKE) $(FLAGS_TO_PASS) install)
11070 @endif fixincludes
11072 # Other targets (info, dvi, pdf, etc.)
11074 .PHONY: maybe-info-fixincludes info-fixincludes
11075 maybe-info-fixincludes:
11076 @if fixincludes
11077 maybe-info-fixincludes: info-fixincludes
11079 # fixincludes doesn't support info.
11080 info-fixincludes:
11082 @endif fixincludes
11084 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11085 maybe-dvi-fixincludes:
11086 @if fixincludes
11087 maybe-dvi-fixincludes: dvi-fixincludes
11089 # fixincludes doesn't support dvi.
11090 dvi-fixincludes:
11092 @endif fixincludes
11094 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11095 maybe-pdf-fixincludes:
11096 @if fixincludes
11097 maybe-pdf-fixincludes: pdf-fixincludes
11099 # fixincludes doesn't support pdf.
11100 pdf-fixincludes:
11102 @endif fixincludes
11104 .PHONY: maybe-html-fixincludes html-fixincludes
11105 maybe-html-fixincludes:
11106 @if fixincludes
11107 maybe-html-fixincludes: html-fixincludes
11109 html-fixincludes: \
11110 configure-fixincludes
11111 @: $(MAKE); $(unstage)
11112 @[ -f ./fixincludes/Makefile ] || exit 0; \
11113 r=`${PWD_COMMAND}`; export r; \
11114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11115 $(HOST_EXPORTS) \
11116 for flag in $(EXTRA_HOST_FLAGS) ; do \
11117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11118 done; \
11119 echo "Doing html in fixincludes" ; \
11120 (cd $(HOST_SUBDIR)/fixincludes && \
11121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11123 "RANLIB=$${RANLIB}" \
11124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11125 html) \
11126 || exit 1
11128 @endif fixincludes
11130 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11131 maybe-TAGS-fixincludes:
11132 @if fixincludes
11133 maybe-TAGS-fixincludes: TAGS-fixincludes
11135 # fixincludes doesn't support TAGS.
11136 TAGS-fixincludes:
11138 @endif fixincludes
11140 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11141 maybe-install-info-fixincludes:
11142 @if fixincludes
11143 maybe-install-info-fixincludes: install-info-fixincludes
11145 # fixincludes doesn't support install-info.
11146 install-info-fixincludes:
11148 @endif fixincludes
11150 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11151 maybe-install-html-fixincludes:
11152 @if fixincludes
11153 maybe-install-html-fixincludes: install-html-fixincludes
11155 install-html-fixincludes: \
11156 configure-fixincludes \
11157 html-fixincludes
11158 @: $(MAKE); $(unstage)
11159 @[ -f ./fixincludes/Makefile ] || exit 0; \
11160 r=`${PWD_COMMAND}`; export r; \
11161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11162 $(HOST_EXPORTS) \
11163 for flag in $(EXTRA_HOST_FLAGS) ; do \
11164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11165 done; \
11166 echo "Doing install-html in fixincludes" ; \
11167 (cd $(HOST_SUBDIR)/fixincludes && \
11168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11170 "RANLIB=$${RANLIB}" \
11171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11172 install-html) \
11173 || exit 1
11175 @endif fixincludes
11177 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11178 maybe-installcheck-fixincludes:
11179 @if fixincludes
11180 maybe-installcheck-fixincludes: installcheck-fixincludes
11182 # fixincludes doesn't support installcheck.
11183 installcheck-fixincludes:
11185 @endif fixincludes
11187 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11188 maybe-mostlyclean-fixincludes:
11189 @if fixincludes
11190 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11192 mostlyclean-fixincludes:
11193 @: $(MAKE); $(unstage)
11194 @[ -f ./fixincludes/Makefile ] || exit 0; \
11195 r=`${PWD_COMMAND}`; export r; \
11196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11197 $(HOST_EXPORTS) \
11198 for flag in $(EXTRA_HOST_FLAGS) ; do \
11199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11200 done; \
11201 echo "Doing mostlyclean in fixincludes" ; \
11202 (cd $(HOST_SUBDIR)/fixincludes && \
11203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11205 "RANLIB=$${RANLIB}" \
11206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11207 mostlyclean) \
11208 || exit 1
11210 @endif fixincludes
11212 .PHONY: maybe-clean-fixincludes clean-fixincludes
11213 maybe-clean-fixincludes:
11214 @if fixincludes
11215 maybe-clean-fixincludes: clean-fixincludes
11217 clean-fixincludes:
11218 @: $(MAKE); $(unstage)
11219 @[ -f ./fixincludes/Makefile ] || exit 0; \
11220 r=`${PWD_COMMAND}`; export r; \
11221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11222 $(HOST_EXPORTS) \
11223 for flag in $(EXTRA_HOST_FLAGS) ; do \
11224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11225 done; \
11226 echo "Doing clean in fixincludes" ; \
11227 (cd $(HOST_SUBDIR)/fixincludes && \
11228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11230 "RANLIB=$${RANLIB}" \
11231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11232 clean) \
11233 || exit 1
11235 @endif fixincludes
11237 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11238 maybe-distclean-fixincludes:
11239 @if fixincludes
11240 maybe-distclean-fixincludes: distclean-fixincludes
11242 distclean-fixincludes:
11243 @: $(MAKE); $(unstage)
11244 @[ -f ./fixincludes/Makefile ] || exit 0; \
11245 r=`${PWD_COMMAND}`; export r; \
11246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11247 $(HOST_EXPORTS) \
11248 for flag in $(EXTRA_HOST_FLAGS) ; do \
11249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11250 done; \
11251 echo "Doing distclean in fixincludes" ; \
11252 (cd $(HOST_SUBDIR)/fixincludes && \
11253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11255 "RANLIB=$${RANLIB}" \
11256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11257 distclean) \
11258 || exit 1
11260 @endif fixincludes
11262 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11263 maybe-maintainer-clean-fixincludes:
11264 @if fixincludes
11265 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11267 maintainer-clean-fixincludes:
11268 @: $(MAKE); $(unstage)
11269 @[ -f ./fixincludes/Makefile ] || exit 0; \
11270 r=`${PWD_COMMAND}`; export r; \
11271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11272 $(HOST_EXPORTS) \
11273 for flag in $(EXTRA_HOST_FLAGS) ; do \
11274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11275 done; \
11276 echo "Doing maintainer-clean in fixincludes" ; \
11277 (cd $(HOST_SUBDIR)/fixincludes && \
11278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11280 "RANLIB=$${RANLIB}" \
11281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11282 maintainer-clean) \
11283 || exit 1
11285 @endif fixincludes
11289 .PHONY: configure-flex maybe-configure-flex
11290 maybe-configure-flex:
11291 @if gcc-bootstrap
11292 configure-flex: stage_current
11293 @endif gcc-bootstrap
11294 @if flex
11295 maybe-configure-flex: configure-flex
11296 configure-flex:
11297 @: $(MAKE); $(unstage)
11298 @r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11302 $(HOST_EXPORTS) \
11303 echo Configuring in $(HOST_SUBDIR)/flex; \
11304 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11305 case $(srcdir) in \
11306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11307 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11309 esac; \
11310 srcdiroption="--srcdir=$${topdir}/flex"; \
11311 libsrcdir="$$s/flex"; \
11312 $(SHELL) $${libsrcdir}/configure \
11313 $(HOST_CONFIGARGS) $${srcdiroption} \
11314 || exit 1
11315 @endif flex
11321 .PHONY: all-flex maybe-all-flex
11322 maybe-all-flex:
11323 @if gcc-bootstrap
11324 all-flex: stage_current
11325 @endif gcc-bootstrap
11326 @if flex
11327 TARGET-flex=all
11328 maybe-all-flex: all-flex
11329 all-flex: configure-flex
11330 @: $(MAKE); $(unstage)
11331 @r=`${PWD_COMMAND}`; export r; \
11332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11333 $(HOST_EXPORTS) \
11334 (cd $(HOST_SUBDIR)/flex && \
11335 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11336 @endif flex
11341 .PHONY: check-flex maybe-check-flex
11342 maybe-check-flex:
11343 @if flex
11344 maybe-check-flex: check-flex
11346 # This module is only tested in a native toolchain.
11347 check-flex:
11348 @: $(MAKE); $(unstage)
11349 @if [ '$(host)' = '$(target)' ] ; then \
11350 r=`${PWD_COMMAND}`; export r; \
11351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11352 $(HOST_EXPORTS) \
11353 (cd $(HOST_SUBDIR)/flex && \
11354 $(MAKE) $(FLAGS_TO_PASS) check); \
11357 @endif flex
11359 .PHONY: install-flex maybe-install-flex
11360 maybe-install-flex:
11361 @if flex
11362 maybe-install-flex: install-flex
11364 install-flex: installdirs
11365 @: $(MAKE); $(unstage)
11366 @r=`${PWD_COMMAND}`; export r; \
11367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11368 $(HOST_EXPORTS) \
11369 (cd $(HOST_SUBDIR)/flex && \
11370 $(MAKE) $(FLAGS_TO_PASS) install)
11372 @endif flex
11374 # Other targets (info, dvi, pdf, etc.)
11376 .PHONY: maybe-info-flex info-flex
11377 maybe-info-flex:
11378 @if flex
11379 maybe-info-flex: info-flex
11381 info-flex: \
11382 configure-flex
11383 @: $(MAKE); $(unstage)
11384 @[ -f ./flex/Makefile ] || exit 0; \
11385 r=`${PWD_COMMAND}`; export r; \
11386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11387 $(HOST_EXPORTS) \
11388 for flag in $(EXTRA_HOST_FLAGS) ; do \
11389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11390 done; \
11391 echo "Doing info in flex" ; \
11392 (cd $(HOST_SUBDIR)/flex && \
11393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11395 "RANLIB=$${RANLIB}" \
11396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11397 info) \
11398 || exit 1
11400 @endif flex
11402 .PHONY: maybe-dvi-flex dvi-flex
11403 maybe-dvi-flex:
11404 @if flex
11405 maybe-dvi-flex: dvi-flex
11407 dvi-flex: \
11408 configure-flex
11409 @: $(MAKE); $(unstage)
11410 @[ -f ./flex/Makefile ] || exit 0; \
11411 r=`${PWD_COMMAND}`; export r; \
11412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11413 $(HOST_EXPORTS) \
11414 for flag in $(EXTRA_HOST_FLAGS) ; do \
11415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11416 done; \
11417 echo "Doing dvi in flex" ; \
11418 (cd $(HOST_SUBDIR)/flex && \
11419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11421 "RANLIB=$${RANLIB}" \
11422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11423 dvi) \
11424 || exit 1
11426 @endif flex
11428 .PHONY: maybe-pdf-flex pdf-flex
11429 maybe-pdf-flex:
11430 @if flex
11431 maybe-pdf-flex: pdf-flex
11433 pdf-flex: \
11434 configure-flex
11435 @: $(MAKE); $(unstage)
11436 @[ -f ./flex/Makefile ] || exit 0; \
11437 r=`${PWD_COMMAND}`; export r; \
11438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11439 $(HOST_EXPORTS) \
11440 for flag in $(EXTRA_HOST_FLAGS) ; do \
11441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11442 done; \
11443 echo "Doing pdf in flex" ; \
11444 (cd $(HOST_SUBDIR)/flex && \
11445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11447 "RANLIB=$${RANLIB}" \
11448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11449 pdf) \
11450 || exit 1
11452 @endif flex
11454 .PHONY: maybe-html-flex html-flex
11455 maybe-html-flex:
11456 @if flex
11457 maybe-html-flex: html-flex
11459 html-flex: \
11460 configure-flex
11461 @: $(MAKE); $(unstage)
11462 @[ -f ./flex/Makefile ] || exit 0; \
11463 r=`${PWD_COMMAND}`; export r; \
11464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11465 $(HOST_EXPORTS) \
11466 for flag in $(EXTRA_HOST_FLAGS) ; do \
11467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11468 done; \
11469 echo "Doing html in flex" ; \
11470 (cd $(HOST_SUBDIR)/flex && \
11471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11473 "RANLIB=$${RANLIB}" \
11474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11475 html) \
11476 || exit 1
11478 @endif flex
11480 .PHONY: maybe-TAGS-flex TAGS-flex
11481 maybe-TAGS-flex:
11482 @if flex
11483 maybe-TAGS-flex: TAGS-flex
11485 TAGS-flex: \
11486 configure-flex
11487 @: $(MAKE); $(unstage)
11488 @[ -f ./flex/Makefile ] || exit 0; \
11489 r=`${PWD_COMMAND}`; export r; \
11490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11491 $(HOST_EXPORTS) \
11492 for flag in $(EXTRA_HOST_FLAGS) ; do \
11493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11494 done; \
11495 echo "Doing TAGS in flex" ; \
11496 (cd $(HOST_SUBDIR)/flex && \
11497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11499 "RANLIB=$${RANLIB}" \
11500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11501 TAGS) \
11502 || exit 1
11504 @endif flex
11506 .PHONY: maybe-install-info-flex install-info-flex
11507 maybe-install-info-flex:
11508 @if flex
11509 maybe-install-info-flex: install-info-flex
11511 install-info-flex: \
11512 configure-flex \
11513 info-flex
11514 @: $(MAKE); $(unstage)
11515 @[ -f ./flex/Makefile ] || exit 0; \
11516 r=`${PWD_COMMAND}`; export r; \
11517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11518 $(HOST_EXPORTS) \
11519 for flag in $(EXTRA_HOST_FLAGS) ; do \
11520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11521 done; \
11522 echo "Doing install-info in flex" ; \
11523 (cd $(HOST_SUBDIR)/flex && \
11524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11526 "RANLIB=$${RANLIB}" \
11527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11528 install-info) \
11529 || exit 1
11531 @endif flex
11533 .PHONY: maybe-install-html-flex install-html-flex
11534 maybe-install-html-flex:
11535 @if flex
11536 maybe-install-html-flex: install-html-flex
11538 install-html-flex: \
11539 configure-flex \
11540 html-flex
11541 @: $(MAKE); $(unstage)
11542 @[ -f ./flex/Makefile ] || exit 0; \
11543 r=`${PWD_COMMAND}`; export r; \
11544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11545 $(HOST_EXPORTS) \
11546 for flag in $(EXTRA_HOST_FLAGS) ; do \
11547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11548 done; \
11549 echo "Doing install-html in flex" ; \
11550 (cd $(HOST_SUBDIR)/flex && \
11551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11553 "RANLIB=$${RANLIB}" \
11554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11555 install-html) \
11556 || exit 1
11558 @endif flex
11560 .PHONY: maybe-installcheck-flex installcheck-flex
11561 maybe-installcheck-flex:
11562 @if flex
11563 maybe-installcheck-flex: installcheck-flex
11565 installcheck-flex: \
11566 configure-flex
11567 @: $(MAKE); $(unstage)
11568 @[ -f ./flex/Makefile ] || exit 0; \
11569 r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11571 $(HOST_EXPORTS) \
11572 for flag in $(EXTRA_HOST_FLAGS) ; do \
11573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11574 done; \
11575 echo "Doing installcheck in flex" ; \
11576 (cd $(HOST_SUBDIR)/flex && \
11577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11579 "RANLIB=$${RANLIB}" \
11580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11581 installcheck) \
11582 || exit 1
11584 @endif flex
11586 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11587 maybe-mostlyclean-flex:
11588 @if flex
11589 maybe-mostlyclean-flex: mostlyclean-flex
11591 mostlyclean-flex:
11592 @: $(MAKE); $(unstage)
11593 @[ -f ./flex/Makefile ] || exit 0; \
11594 r=`${PWD_COMMAND}`; export r; \
11595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11596 $(HOST_EXPORTS) \
11597 for flag in $(EXTRA_HOST_FLAGS) ; do \
11598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11599 done; \
11600 echo "Doing mostlyclean in flex" ; \
11601 (cd $(HOST_SUBDIR)/flex && \
11602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11604 "RANLIB=$${RANLIB}" \
11605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11606 mostlyclean) \
11607 || exit 1
11609 @endif flex
11611 .PHONY: maybe-clean-flex clean-flex
11612 maybe-clean-flex:
11613 @if flex
11614 maybe-clean-flex: clean-flex
11616 clean-flex:
11617 @: $(MAKE); $(unstage)
11618 @[ -f ./flex/Makefile ] || exit 0; \
11619 r=`${PWD_COMMAND}`; export r; \
11620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11621 $(HOST_EXPORTS) \
11622 for flag in $(EXTRA_HOST_FLAGS) ; do \
11623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11624 done; \
11625 echo "Doing clean in flex" ; \
11626 (cd $(HOST_SUBDIR)/flex && \
11627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11629 "RANLIB=$${RANLIB}" \
11630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11631 clean) \
11632 || exit 1
11634 @endif flex
11636 .PHONY: maybe-distclean-flex distclean-flex
11637 maybe-distclean-flex:
11638 @if flex
11639 maybe-distclean-flex: distclean-flex
11641 distclean-flex:
11642 @: $(MAKE); $(unstage)
11643 @[ -f ./flex/Makefile ] || exit 0; \
11644 r=`${PWD_COMMAND}`; export r; \
11645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11646 $(HOST_EXPORTS) \
11647 for flag in $(EXTRA_HOST_FLAGS) ; do \
11648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11649 done; \
11650 echo "Doing distclean in flex" ; \
11651 (cd $(HOST_SUBDIR)/flex && \
11652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11654 "RANLIB=$${RANLIB}" \
11655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11656 distclean) \
11657 || exit 1
11659 @endif flex
11661 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11662 maybe-maintainer-clean-flex:
11663 @if flex
11664 maybe-maintainer-clean-flex: maintainer-clean-flex
11666 maintainer-clean-flex:
11667 @: $(MAKE); $(unstage)
11668 @[ -f ./flex/Makefile ] || exit 0; \
11669 r=`${PWD_COMMAND}`; export r; \
11670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11671 $(HOST_EXPORTS) \
11672 for flag in $(EXTRA_HOST_FLAGS) ; do \
11673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11674 done; \
11675 echo "Doing maintainer-clean in flex" ; \
11676 (cd $(HOST_SUBDIR)/flex && \
11677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11679 "RANLIB=$${RANLIB}" \
11680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11681 maintainer-clean) \
11682 || exit 1
11684 @endif flex
11688 .PHONY: configure-gas maybe-configure-gas
11689 maybe-configure-gas:
11690 @if gcc-bootstrap
11691 configure-gas: stage_current
11692 @endif gcc-bootstrap
11693 @if gas
11694 maybe-configure-gas: configure-gas
11695 configure-gas:
11696 @r=`${PWD_COMMAND}`; export r; \
11697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11698 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11700 $(HOST_EXPORTS) \
11701 echo Configuring in $(HOST_SUBDIR)/gas; \
11702 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11703 case $(srcdir) in \
11704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11705 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11707 esac; \
11708 srcdiroption="--srcdir=$${topdir}/gas"; \
11709 libsrcdir="$$s/gas"; \
11710 $(SHELL) $${libsrcdir}/configure \
11711 $(HOST_CONFIGARGS) $${srcdiroption} \
11712 || exit 1
11713 @endif gas
11717 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11718 maybe-configure-stage1-gas:
11719 @if gas-bootstrap
11720 maybe-configure-stage1-gas: configure-stage1-gas
11721 configure-stage1-gas:
11722 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11724 @r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11727 $(HOST_EXPORTS) \
11728 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11730 cd $(HOST_SUBDIR)/gas || exit 1; \
11731 case $(srcdir) in \
11732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11733 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11735 esac; \
11736 srcdiroption="--srcdir=$${topdir}/gas"; \
11737 libsrcdir="$$s/gas"; \
11738 $(SHELL) $${libsrcdir}/configure \
11739 $(HOST_CONFIGARGS) $${srcdiroption} \
11741 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11742 @endif gas-bootstrap
11744 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11745 maybe-configure-stage2-gas:
11746 @if gas-bootstrap
11747 maybe-configure-stage2-gas: configure-stage2-gas
11748 configure-stage2-gas:
11749 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11751 @r=`${PWD_COMMAND}`; export r; \
11752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11753 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11754 $(HOST_EXPORTS) \
11755 $(POSTSTAGE1_HOST_EXPORTS) \
11756 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11758 cd $(HOST_SUBDIR)/gas || exit 1; \
11759 case $(srcdir) in \
11760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11761 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11763 esac; \
11764 srcdiroption="--srcdir=$${topdir}/gas"; \
11765 libsrcdir="$$s/gas"; \
11766 $(SHELL) $${libsrcdir}/configure \
11767 $(HOST_CONFIGARGS) $${srcdiroption} \
11768 --with-build-libsubdir=$(HOST_SUBDIR) \
11769 @stage2_werror_flag@
11770 @endif gas-bootstrap
11772 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11773 maybe-configure-stage3-gas:
11774 @if gas-bootstrap
11775 maybe-configure-stage3-gas: configure-stage3-gas
11776 configure-stage3-gas:
11777 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11778 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11779 @r=`${PWD_COMMAND}`; export r; \
11780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11781 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11782 $(HOST_EXPORTS) \
11783 $(POSTSTAGE1_HOST_EXPORTS) \
11784 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11786 cd $(HOST_SUBDIR)/gas || exit 1; \
11787 case $(srcdir) in \
11788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11789 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11791 esac; \
11792 srcdiroption="--srcdir=$${topdir}/gas"; \
11793 libsrcdir="$$s/gas"; \
11794 $(SHELL) $${libsrcdir}/configure \
11795 $(HOST_CONFIGARGS) $${srcdiroption} \
11796 --with-build-libsubdir=$(HOST_SUBDIR) \
11797 @stage2_werror_flag@
11798 @endif gas-bootstrap
11800 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11801 maybe-configure-stage4-gas:
11802 @if gas-bootstrap
11803 maybe-configure-stage4-gas: configure-stage4-gas
11804 configure-stage4-gas:
11805 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11807 @r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11810 $(HOST_EXPORTS) \
11811 $(POSTSTAGE1_HOST_EXPORTS) \
11812 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11814 cd $(HOST_SUBDIR)/gas || exit 1; \
11815 case $(srcdir) in \
11816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11817 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11819 esac; \
11820 srcdiroption="--srcdir=$${topdir}/gas"; \
11821 libsrcdir="$$s/gas"; \
11822 $(SHELL) $${libsrcdir}/configure \
11823 $(HOST_CONFIGARGS) $${srcdiroption} \
11824 --with-build-libsubdir=$(HOST_SUBDIR) \
11825 @stage2_werror_flag@
11826 @endif gas-bootstrap
11828 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11829 maybe-configure-stageprofile-gas:
11830 @if gas-bootstrap
11831 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11832 configure-stageprofile-gas:
11833 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11835 @r=`${PWD_COMMAND}`; export r; \
11836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11837 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11838 $(HOST_EXPORTS) \
11839 $(POSTSTAGE1_HOST_EXPORTS) \
11840 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11842 cd $(HOST_SUBDIR)/gas || exit 1; \
11843 case $(srcdir) in \
11844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11845 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11847 esac; \
11848 srcdiroption="--srcdir=$${topdir}/gas"; \
11849 libsrcdir="$$s/gas"; \
11850 $(SHELL) $${libsrcdir}/configure \
11851 $(HOST_CONFIGARGS) $${srcdiroption} \
11852 --with-build-libsubdir=$(HOST_SUBDIR) \
11853 @stage2_werror_flag@
11854 @endif gas-bootstrap
11856 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11857 maybe-configure-stagefeedback-gas:
11858 @if gas-bootstrap
11859 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11860 configure-stagefeedback-gas:
11861 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11863 @r=`${PWD_COMMAND}`; export r; \
11864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11865 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11866 $(HOST_EXPORTS) \
11867 $(POSTSTAGE1_HOST_EXPORTS) \
11868 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11870 cd $(HOST_SUBDIR)/gas || exit 1; \
11871 case $(srcdir) in \
11872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11873 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11875 esac; \
11876 srcdiroption="--srcdir=$${topdir}/gas"; \
11877 libsrcdir="$$s/gas"; \
11878 $(SHELL) $${libsrcdir}/configure \
11879 $(HOST_CONFIGARGS) $${srcdiroption} \
11880 --with-build-libsubdir=$(HOST_SUBDIR) \
11881 @stage2_werror_flag@
11882 @endif gas-bootstrap
11888 .PHONY: all-gas maybe-all-gas
11889 maybe-all-gas:
11890 @if gcc-bootstrap
11891 all-gas: stage_current
11892 @endif gcc-bootstrap
11893 @if gas
11894 TARGET-gas=all
11895 maybe-all-gas: all-gas
11896 all-gas: configure-gas
11897 @r=`${PWD_COMMAND}`; export r; \
11898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11899 $(HOST_EXPORTS) \
11900 (cd $(HOST_SUBDIR)/gas && \
11901 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11902 @endif gas
11906 .PHONY: all-stage1-gas maybe-all-stage1-gas
11907 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11908 maybe-all-stage1-gas:
11909 maybe-clean-stage1-gas:
11910 @if gas-bootstrap
11911 maybe-all-stage1-gas: all-stage1-gas
11912 all-stage1: all-stage1-gas
11913 TARGET-stage1-gas = $(TARGET-gas)
11914 all-stage1-gas: configure-stage1-gas
11915 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11916 @r=`${PWD_COMMAND}`; export r; \
11917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11918 $(HOST_EXPORTS) \
11919 cd $(HOST_SUBDIR)/gas && \
11920 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11921 $(TARGET-stage1-gas)
11923 maybe-clean-stage1-gas: clean-stage1-gas
11924 clean-stage1: clean-stage1-gas
11925 clean-stage1-gas:
11926 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
11927 || exit 0 ; \
11928 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11929 cd $(HOST_SUBDIR)/gas && \
11930 $(MAKE) $(FLAGS_TO_PASS) \
11931 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11932 @endif gas-bootstrap
11935 .PHONY: all-stage2-gas maybe-all-stage2-gas
11936 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11937 maybe-all-stage2-gas:
11938 maybe-clean-stage2-gas:
11939 @if gas-bootstrap
11940 maybe-all-stage2-gas: all-stage2-gas
11941 all-stage2: all-stage2-gas
11942 TARGET-stage2-gas = $(TARGET-gas)
11943 all-stage2-gas: configure-stage2-gas
11944 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11945 @r=`${PWD_COMMAND}`; export r; \
11946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11947 $(HOST_EXPORTS) \
11948 $(POSTSTAGE1_HOST_EXPORTS) \
11949 cd $(HOST_SUBDIR)/gas && \
11950 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11951 $(TARGET-stage2-gas)
11953 maybe-clean-stage2-gas: clean-stage2-gas
11954 clean-stage2: clean-stage2-gas
11955 clean-stage2-gas:
11956 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
11957 || exit 0 ; \
11958 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11959 cd $(HOST_SUBDIR)/gas && \
11960 $(MAKE) $(FLAGS_TO_PASS) \
11961 $(POSTSTAGE1_FLAGS_TO_PASS) \
11962 clean
11963 @endif gas-bootstrap
11966 .PHONY: all-stage3-gas maybe-all-stage3-gas
11967 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11968 maybe-all-stage3-gas:
11969 maybe-clean-stage3-gas:
11970 @if gas-bootstrap
11971 maybe-all-stage3-gas: all-stage3-gas
11972 all-stage3: all-stage3-gas
11973 TARGET-stage3-gas = $(TARGET-gas)
11974 all-stage3-gas: configure-stage3-gas
11975 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11976 @r=`${PWD_COMMAND}`; export r; \
11977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11978 $(HOST_EXPORTS) \
11979 $(POSTSTAGE1_HOST_EXPORTS) \
11980 cd $(HOST_SUBDIR)/gas && \
11981 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11982 $(TARGET-stage3-gas)
11984 maybe-clean-stage3-gas: clean-stage3-gas
11985 clean-stage3: clean-stage3-gas
11986 clean-stage3-gas:
11987 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
11988 || exit 0 ; \
11989 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11990 cd $(HOST_SUBDIR)/gas && \
11991 $(MAKE) $(FLAGS_TO_PASS) \
11992 $(POSTSTAGE1_FLAGS_TO_PASS) \
11993 clean
11994 @endif gas-bootstrap
11997 .PHONY: all-stage4-gas maybe-all-stage4-gas
11998 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11999 maybe-all-stage4-gas:
12000 maybe-clean-stage4-gas:
12001 @if gas-bootstrap
12002 maybe-all-stage4-gas: all-stage4-gas
12003 all-stage4: all-stage4-gas
12004 TARGET-stage4-gas = $(TARGET-gas)
12005 all-stage4-gas: configure-stage4-gas
12006 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12007 @r=`${PWD_COMMAND}`; export r; \
12008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009 $(HOST_EXPORTS) \
12010 $(POSTSTAGE1_HOST_EXPORTS) \
12011 cd $(HOST_SUBDIR)/gas && \
12012 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12013 $(TARGET-stage4-gas)
12015 maybe-clean-stage4-gas: clean-stage4-gas
12016 clean-stage4: clean-stage4-gas
12017 clean-stage4-gas:
12018 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
12019 || exit 0 ; \
12020 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
12021 cd $(HOST_SUBDIR)/gas && \
12022 $(MAKE) $(FLAGS_TO_PASS) \
12023 $(POSTSTAGE1_FLAGS_TO_PASS) \
12024 clean
12025 @endif gas-bootstrap
12028 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12029 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12030 maybe-all-stageprofile-gas:
12031 maybe-clean-stageprofile-gas:
12032 @if gas-bootstrap
12033 maybe-all-stageprofile-gas: all-stageprofile-gas
12034 all-stageprofile: all-stageprofile-gas
12035 TARGET-stageprofile-gas = $(TARGET-gas)
12036 all-stageprofile-gas: configure-stageprofile-gas
12037 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12038 @r=`${PWD_COMMAND}`; export r; \
12039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12040 $(HOST_EXPORTS) \
12041 $(POSTSTAGE1_HOST_EXPORTS) \
12042 cd $(HOST_SUBDIR)/gas && \
12043 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12044 $(TARGET-stageprofile-gas)
12046 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12047 clean-stageprofile: clean-stageprofile-gas
12048 clean-stageprofile-gas:
12049 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
12050 || exit 0 ; \
12051 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
12052 cd $(HOST_SUBDIR)/gas && \
12053 $(MAKE) $(FLAGS_TO_PASS) \
12054 $(POSTSTAGE1_FLAGS_TO_PASS) \
12055 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12056 @endif gas-bootstrap
12059 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12060 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12061 maybe-all-stagefeedback-gas:
12062 maybe-clean-stagefeedback-gas:
12063 @if gas-bootstrap
12064 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12065 all-stagefeedback: all-stagefeedback-gas
12066 TARGET-stagefeedback-gas = $(TARGET-gas)
12067 all-stagefeedback-gas: configure-stagefeedback-gas
12068 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12069 @r=`${PWD_COMMAND}`; export r; \
12070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12071 $(HOST_EXPORTS) \
12072 $(POSTSTAGE1_HOST_EXPORTS) \
12073 cd $(HOST_SUBDIR)/gas && \
12074 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12075 $(TARGET-stagefeedback-gas)
12077 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12078 clean-stagefeedback: clean-stagefeedback-gas
12079 clean-stagefeedback-gas:
12080 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
12081 || exit 0 ; \
12082 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
12083 cd $(HOST_SUBDIR)/gas && \
12084 $(MAKE) $(FLAGS_TO_PASS) \
12085 $(POSTSTAGE1_FLAGS_TO_PASS) \
12086 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12087 @endif gas-bootstrap
12093 .PHONY: check-gas maybe-check-gas
12094 maybe-check-gas:
12095 @if gas
12096 maybe-check-gas: check-gas
12098 check-gas:
12099 @: $(MAKE); $(unstage)
12100 @r=`${PWD_COMMAND}`; export r; \
12101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12102 $(HOST_EXPORTS) \
12103 (cd $(HOST_SUBDIR)/gas && \
12104 $(MAKE) $(FLAGS_TO_PASS) check)
12106 @endif gas
12108 .PHONY: install-gas maybe-install-gas
12109 maybe-install-gas:
12110 @if gas
12111 maybe-install-gas: install-gas
12113 install-gas: installdirs
12114 @: $(MAKE); $(unstage)
12115 @r=`${PWD_COMMAND}`; export r; \
12116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12117 $(HOST_EXPORTS) \
12118 (cd $(HOST_SUBDIR)/gas && \
12119 $(MAKE) $(FLAGS_TO_PASS) install)
12121 @endif gas
12123 # Other targets (info, dvi, pdf, etc.)
12125 .PHONY: maybe-info-gas info-gas
12126 maybe-info-gas:
12127 @if gas
12128 maybe-info-gas: info-gas
12130 info-gas: \
12131 configure-gas
12132 @[ -f ./gas/Makefile ] || exit 0; \
12133 r=`${PWD_COMMAND}`; export r; \
12134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12135 $(HOST_EXPORTS) \
12136 for flag in $(EXTRA_HOST_FLAGS) ; do \
12137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12138 done; \
12139 echo "Doing info in gas" ; \
12140 (cd $(HOST_SUBDIR)/gas && \
12141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12143 "RANLIB=$${RANLIB}" \
12144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12145 info) \
12146 || exit 1
12148 @endif gas
12150 .PHONY: maybe-dvi-gas dvi-gas
12151 maybe-dvi-gas:
12152 @if gas
12153 maybe-dvi-gas: dvi-gas
12155 dvi-gas: \
12156 configure-gas
12157 @[ -f ./gas/Makefile ] || exit 0; \
12158 r=`${PWD_COMMAND}`; export r; \
12159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12160 $(HOST_EXPORTS) \
12161 for flag in $(EXTRA_HOST_FLAGS) ; do \
12162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12163 done; \
12164 echo "Doing dvi in gas" ; \
12165 (cd $(HOST_SUBDIR)/gas && \
12166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12168 "RANLIB=$${RANLIB}" \
12169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12170 dvi) \
12171 || exit 1
12173 @endif gas
12175 .PHONY: maybe-pdf-gas pdf-gas
12176 maybe-pdf-gas:
12177 @if gas
12178 maybe-pdf-gas: pdf-gas
12180 pdf-gas: \
12181 configure-gas
12182 @[ -f ./gas/Makefile ] || exit 0; \
12183 r=`${PWD_COMMAND}`; export r; \
12184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12185 $(HOST_EXPORTS) \
12186 for flag in $(EXTRA_HOST_FLAGS) ; do \
12187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12188 done; \
12189 echo "Doing pdf in gas" ; \
12190 (cd $(HOST_SUBDIR)/gas && \
12191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12193 "RANLIB=$${RANLIB}" \
12194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12195 pdf) \
12196 || exit 1
12198 @endif gas
12200 .PHONY: maybe-html-gas html-gas
12201 maybe-html-gas:
12202 @if gas
12203 maybe-html-gas: html-gas
12205 html-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 html 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 html) \
12221 || exit 1
12223 @endif gas
12225 .PHONY: maybe-TAGS-gas TAGS-gas
12226 maybe-TAGS-gas:
12227 @if gas
12228 maybe-TAGS-gas: TAGS-gas
12230 TAGS-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 TAGS 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 TAGS) \
12246 || exit 1
12248 @endif gas
12250 .PHONY: maybe-install-info-gas install-info-gas
12251 maybe-install-info-gas:
12252 @if gas
12253 maybe-install-info-gas: install-info-gas
12255 install-info-gas: \
12256 configure-gas \
12257 info-gas
12258 @[ -f ./gas/Makefile ] || exit 0; \
12259 r=`${PWD_COMMAND}`; export r; \
12260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12261 $(HOST_EXPORTS) \
12262 for flag in $(EXTRA_HOST_FLAGS) ; do \
12263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12264 done; \
12265 echo "Doing install-info in gas" ; \
12266 (cd $(HOST_SUBDIR)/gas && \
12267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12269 "RANLIB=$${RANLIB}" \
12270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12271 install-info) \
12272 || exit 1
12274 @endif gas
12276 .PHONY: maybe-install-html-gas install-html-gas
12277 maybe-install-html-gas:
12278 @if gas
12279 maybe-install-html-gas: install-html-gas
12281 install-html-gas: \
12282 configure-gas \
12283 html-gas
12284 @[ -f ./gas/Makefile ] || exit 0; \
12285 r=`${PWD_COMMAND}`; export r; \
12286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12287 $(HOST_EXPORTS) \
12288 for flag in $(EXTRA_HOST_FLAGS) ; do \
12289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12290 done; \
12291 echo "Doing install-html in gas" ; \
12292 (cd $(HOST_SUBDIR)/gas && \
12293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12295 "RANLIB=$${RANLIB}" \
12296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12297 install-html) \
12298 || exit 1
12300 @endif gas
12302 .PHONY: maybe-installcheck-gas installcheck-gas
12303 maybe-installcheck-gas:
12304 @if gas
12305 maybe-installcheck-gas: installcheck-gas
12307 installcheck-gas: \
12308 configure-gas
12309 @[ -f ./gas/Makefile ] || exit 0; \
12310 r=`${PWD_COMMAND}`; export r; \
12311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12312 $(HOST_EXPORTS) \
12313 for flag in $(EXTRA_HOST_FLAGS) ; do \
12314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12315 done; \
12316 echo "Doing installcheck in gas" ; \
12317 (cd $(HOST_SUBDIR)/gas && \
12318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12320 "RANLIB=$${RANLIB}" \
12321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12322 installcheck) \
12323 || exit 1
12325 @endif gas
12327 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12328 maybe-mostlyclean-gas:
12329 @if gas
12330 maybe-mostlyclean-gas: mostlyclean-gas
12332 mostlyclean-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 mostlyclean 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 mostlyclean) \
12347 || exit 1
12349 @endif gas
12351 .PHONY: maybe-clean-gas clean-gas
12352 maybe-clean-gas:
12353 @if gas
12354 maybe-clean-gas: clean-gas
12356 clean-gas:
12357 @[ -f ./gas/Makefile ] || exit 0; \
12358 r=`${PWD_COMMAND}`; export r; \
12359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12360 $(HOST_EXPORTS) \
12361 for flag in $(EXTRA_HOST_FLAGS) ; do \
12362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12363 done; \
12364 echo "Doing clean in gas" ; \
12365 (cd $(HOST_SUBDIR)/gas && \
12366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12368 "RANLIB=$${RANLIB}" \
12369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12370 clean) \
12371 || exit 1
12373 @endif gas
12375 .PHONY: maybe-distclean-gas distclean-gas
12376 maybe-distclean-gas:
12377 @if gas
12378 maybe-distclean-gas: distclean-gas
12380 distclean-gas:
12381 @[ -f ./gas/Makefile ] || exit 0; \
12382 r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 $(HOST_EXPORTS) \
12385 for flag in $(EXTRA_HOST_FLAGS) ; do \
12386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12387 done; \
12388 echo "Doing distclean in gas" ; \
12389 (cd $(HOST_SUBDIR)/gas && \
12390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12392 "RANLIB=$${RANLIB}" \
12393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12394 distclean) \
12395 || exit 1
12397 @endif gas
12399 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12400 maybe-maintainer-clean-gas:
12401 @if gas
12402 maybe-maintainer-clean-gas: maintainer-clean-gas
12404 maintainer-clean-gas:
12405 @[ -f ./gas/Makefile ] || exit 0; \
12406 r=`${PWD_COMMAND}`; export r; \
12407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12408 $(HOST_EXPORTS) \
12409 for flag in $(EXTRA_HOST_FLAGS) ; do \
12410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12411 done; \
12412 echo "Doing maintainer-clean in gas" ; \
12413 (cd $(HOST_SUBDIR)/gas && \
12414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12416 "RANLIB=$${RANLIB}" \
12417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12418 maintainer-clean) \
12419 || exit 1
12421 @endif gas
12425 .PHONY: configure-gcc maybe-configure-gcc
12426 maybe-configure-gcc:
12427 @if gcc-bootstrap
12428 configure-gcc: stage_current
12429 @endif gcc-bootstrap
12430 @if gcc
12431 maybe-configure-gcc: configure-gcc
12432 configure-gcc:
12433 @r=`${PWD_COMMAND}`; export r; \
12434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12435 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12437 $(HOST_EXPORTS) \
12438 echo Configuring in $(HOST_SUBDIR)/gcc; \
12439 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12440 case $(srcdir) in \
12441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12442 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12444 esac; \
12445 srcdiroption="--srcdir=$${topdir}/gcc"; \
12446 libsrcdir="$$s/gcc"; \
12447 $(SHELL) $${libsrcdir}/configure \
12448 $(HOST_CONFIGARGS) $${srcdiroption} \
12449 || exit 1
12450 @endif gcc
12454 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12455 maybe-configure-stage1-gcc:
12456 @if gcc-bootstrap
12457 maybe-configure-stage1-gcc: configure-stage1-gcc
12458 configure-stage1-gcc:
12459 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12460 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12461 @r=`${PWD_COMMAND}`; export r; \
12462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12463 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12464 $(HOST_EXPORTS) \
12465 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12467 cd $(HOST_SUBDIR)/gcc || exit 1; \
12468 case $(srcdir) in \
12469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12470 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12472 esac; \
12473 srcdiroption="--srcdir=$${topdir}/gcc"; \
12474 libsrcdir="$$s/gcc"; \
12475 $(SHELL) $${libsrcdir}/configure \
12476 $(HOST_CONFIGARGS) $${srcdiroption} \
12478 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12479 @endif gcc-bootstrap
12481 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12482 maybe-configure-stage2-gcc:
12483 @if gcc-bootstrap
12484 maybe-configure-stage2-gcc: configure-stage2-gcc
12485 configure-stage2-gcc:
12486 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12487 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12488 @r=`${PWD_COMMAND}`; export r; \
12489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12490 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12491 $(HOST_EXPORTS) \
12492 $(POSTSTAGE1_HOST_EXPORTS) \
12493 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12494 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12495 cd $(HOST_SUBDIR)/gcc || exit 1; \
12496 case $(srcdir) in \
12497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12498 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12500 esac; \
12501 srcdiroption="--srcdir=$${topdir}/gcc"; \
12502 libsrcdir="$$s/gcc"; \
12503 $(SHELL) $${libsrcdir}/configure \
12504 $(HOST_CONFIGARGS) $${srcdiroption} \
12505 --with-build-libsubdir=$(HOST_SUBDIR) \
12506 @stage2_werror_flag@
12507 @endif gcc-bootstrap
12509 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12510 maybe-configure-stage3-gcc:
12511 @if gcc-bootstrap
12512 maybe-configure-stage3-gcc: configure-stage3-gcc
12513 configure-stage3-gcc:
12514 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12516 @r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12519 $(HOST_EXPORTS) \
12520 $(POSTSTAGE1_HOST_EXPORTS) \
12521 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12523 cd $(HOST_SUBDIR)/gcc || exit 1; \
12524 case $(srcdir) in \
12525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12526 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12528 esac; \
12529 srcdiroption="--srcdir=$${topdir}/gcc"; \
12530 libsrcdir="$$s/gcc"; \
12531 $(SHELL) $${libsrcdir}/configure \
12532 $(HOST_CONFIGARGS) $${srcdiroption} \
12533 --with-build-libsubdir=$(HOST_SUBDIR) \
12534 @stage2_werror_flag@
12535 @endif gcc-bootstrap
12537 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12538 maybe-configure-stage4-gcc:
12539 @if gcc-bootstrap
12540 maybe-configure-stage4-gcc: configure-stage4-gcc
12541 configure-stage4-gcc:
12542 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12544 @r=`${PWD_COMMAND}`; export r; \
12545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12546 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12547 $(HOST_EXPORTS) \
12548 $(POSTSTAGE1_HOST_EXPORTS) \
12549 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12551 cd $(HOST_SUBDIR)/gcc || exit 1; \
12552 case $(srcdir) in \
12553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12554 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12556 esac; \
12557 srcdiroption="--srcdir=$${topdir}/gcc"; \
12558 libsrcdir="$$s/gcc"; \
12559 $(SHELL) $${libsrcdir}/configure \
12560 $(HOST_CONFIGARGS) $${srcdiroption} \
12561 --with-build-libsubdir=$(HOST_SUBDIR) \
12562 @stage2_werror_flag@
12563 @endif gcc-bootstrap
12565 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12566 maybe-configure-stageprofile-gcc:
12567 @if gcc-bootstrap
12568 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12569 configure-stageprofile-gcc:
12570 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12572 @r=`${PWD_COMMAND}`; export r; \
12573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12574 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12575 $(HOST_EXPORTS) \
12576 $(POSTSTAGE1_HOST_EXPORTS) \
12577 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12579 cd $(HOST_SUBDIR)/gcc || exit 1; \
12580 case $(srcdir) in \
12581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12582 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12584 esac; \
12585 srcdiroption="--srcdir=$${topdir}/gcc"; \
12586 libsrcdir="$$s/gcc"; \
12587 $(SHELL) $${libsrcdir}/configure \
12588 $(HOST_CONFIGARGS) $${srcdiroption} \
12589 --with-build-libsubdir=$(HOST_SUBDIR) \
12590 @stage2_werror_flag@
12591 @endif gcc-bootstrap
12593 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12594 maybe-configure-stagefeedback-gcc:
12595 @if gcc-bootstrap
12596 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12597 configure-stagefeedback-gcc:
12598 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12599 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12600 @r=`${PWD_COMMAND}`; export r; \
12601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12602 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12603 $(HOST_EXPORTS) \
12604 $(POSTSTAGE1_HOST_EXPORTS) \
12605 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12607 cd $(HOST_SUBDIR)/gcc || exit 1; \
12608 case $(srcdir) in \
12609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12610 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12612 esac; \
12613 srcdiroption="--srcdir=$${topdir}/gcc"; \
12614 libsrcdir="$$s/gcc"; \
12615 $(SHELL) $${libsrcdir}/configure \
12616 $(HOST_CONFIGARGS) $${srcdiroption} \
12617 --with-build-libsubdir=$(HOST_SUBDIR) \
12618 @stage2_werror_flag@
12619 @endif gcc-bootstrap
12625 .PHONY: all-gcc maybe-all-gcc
12626 maybe-all-gcc:
12627 @if gcc-bootstrap
12628 all-gcc: stage_current
12629 @endif gcc-bootstrap
12630 @if gcc
12631 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12632 maybe-all-gcc: all-gcc
12633 all-gcc: configure-gcc
12634 @r=`${PWD_COMMAND}`; export r; \
12635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12636 $(HOST_EXPORTS) \
12637 (cd $(HOST_SUBDIR)/gcc && \
12638 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12639 @endif gcc
12643 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12644 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12645 maybe-all-stage1-gcc:
12646 maybe-clean-stage1-gcc:
12647 @if gcc-bootstrap
12648 maybe-all-stage1-gcc: all-stage1-gcc
12649 all-stage1: all-stage1-gcc
12650 TARGET-stage1-gcc = $(TARGET-gcc)
12651 all-stage1-gcc: configure-stage1-gcc
12652 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12653 @r=`${PWD_COMMAND}`; export r; \
12654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12655 $(HOST_EXPORTS) \
12656 cd $(HOST_SUBDIR)/gcc && \
12657 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12658 $(TARGET-stage1-gcc)
12660 maybe-clean-stage1-gcc: clean-stage1-gcc
12661 clean-stage1: clean-stage1-gcc
12662 clean-stage1-gcc:
12663 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
12664 || exit 0 ; \
12665 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
12666 cd $(HOST_SUBDIR)/gcc && \
12667 $(MAKE) $(FLAGS_TO_PASS) \
12668 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12669 @endif gcc-bootstrap
12672 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12673 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12674 maybe-all-stage2-gcc:
12675 maybe-clean-stage2-gcc:
12676 @if gcc-bootstrap
12677 maybe-all-stage2-gcc: all-stage2-gcc
12678 all-stage2: all-stage2-gcc
12679 TARGET-stage2-gcc = $(TARGET-gcc)
12680 all-stage2-gcc: configure-stage2-gcc
12681 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12682 @r=`${PWD_COMMAND}`; export r; \
12683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12684 $(HOST_EXPORTS) \
12685 $(POSTSTAGE1_HOST_EXPORTS) \
12686 cd $(HOST_SUBDIR)/gcc && \
12687 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12688 $(TARGET-stage2-gcc)
12690 maybe-clean-stage2-gcc: clean-stage2-gcc
12691 clean-stage2: clean-stage2-gcc
12692 clean-stage2-gcc:
12693 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
12694 || exit 0 ; \
12695 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
12696 cd $(HOST_SUBDIR)/gcc && \
12697 $(MAKE) $(FLAGS_TO_PASS) \
12698 $(POSTSTAGE1_FLAGS_TO_PASS) \
12699 $(EXTRA_GCC_FLAGS) clean
12700 @endif gcc-bootstrap
12703 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12704 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12705 maybe-all-stage3-gcc:
12706 maybe-clean-stage3-gcc:
12707 @if gcc-bootstrap
12708 maybe-all-stage3-gcc: all-stage3-gcc
12709 all-stage3: all-stage3-gcc
12710 TARGET-stage3-gcc = $(TARGET-gcc)
12711 all-stage3-gcc: configure-stage3-gcc
12712 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12713 @r=`${PWD_COMMAND}`; export r; \
12714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12715 $(HOST_EXPORTS) \
12716 $(POSTSTAGE1_HOST_EXPORTS) \
12717 cd $(HOST_SUBDIR)/gcc && \
12718 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12719 $(TARGET-stage3-gcc)
12721 maybe-clean-stage3-gcc: clean-stage3-gcc
12722 clean-stage3: clean-stage3-gcc
12723 clean-stage3-gcc:
12724 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
12725 || exit 0 ; \
12726 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
12727 cd $(HOST_SUBDIR)/gcc && \
12728 $(MAKE) $(FLAGS_TO_PASS) \
12729 $(POSTSTAGE1_FLAGS_TO_PASS) \
12730 $(EXTRA_GCC_FLAGS) clean
12731 @endif gcc-bootstrap
12734 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12735 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12736 maybe-all-stage4-gcc:
12737 maybe-clean-stage4-gcc:
12738 @if gcc-bootstrap
12739 maybe-all-stage4-gcc: all-stage4-gcc
12740 all-stage4: all-stage4-gcc
12741 TARGET-stage4-gcc = $(TARGET-gcc)
12742 all-stage4-gcc: configure-stage4-gcc
12743 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12744 @r=`${PWD_COMMAND}`; export r; \
12745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12746 $(HOST_EXPORTS) \
12747 $(POSTSTAGE1_HOST_EXPORTS) \
12748 cd $(HOST_SUBDIR)/gcc && \
12749 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12750 $(TARGET-stage4-gcc)
12752 maybe-clean-stage4-gcc: clean-stage4-gcc
12753 clean-stage4: clean-stage4-gcc
12754 clean-stage4-gcc:
12755 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
12756 || exit 0 ; \
12757 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
12758 cd $(HOST_SUBDIR)/gcc && \
12759 $(MAKE) $(FLAGS_TO_PASS) \
12760 $(POSTSTAGE1_FLAGS_TO_PASS) \
12761 $(EXTRA_GCC_FLAGS) clean
12762 @endif gcc-bootstrap
12765 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12766 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12767 maybe-all-stageprofile-gcc:
12768 maybe-clean-stageprofile-gcc:
12769 @if gcc-bootstrap
12770 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12771 all-stageprofile: all-stageprofile-gcc
12772 TARGET-stageprofile-gcc = $(TARGET-gcc)
12773 all-stageprofile-gcc: configure-stageprofile-gcc
12774 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12775 @r=`${PWD_COMMAND}`; export r; \
12776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12777 $(HOST_EXPORTS) \
12778 $(POSTSTAGE1_HOST_EXPORTS) \
12779 cd $(HOST_SUBDIR)/gcc && \
12780 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12781 $(TARGET-stageprofile-gcc)
12783 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12784 clean-stageprofile: clean-stageprofile-gcc
12785 clean-stageprofile-gcc:
12786 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
12787 || exit 0 ; \
12788 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
12789 cd $(HOST_SUBDIR)/gcc && \
12790 $(MAKE) $(FLAGS_TO_PASS) \
12791 $(POSTSTAGE1_FLAGS_TO_PASS) \
12792 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12793 @endif gcc-bootstrap
12796 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12797 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12798 maybe-all-stagefeedback-gcc:
12799 maybe-clean-stagefeedback-gcc:
12800 @if gcc-bootstrap
12801 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12802 all-stagefeedback: all-stagefeedback-gcc
12803 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12804 all-stagefeedback-gcc: configure-stagefeedback-gcc
12805 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12806 @r=`${PWD_COMMAND}`; export r; \
12807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12808 $(HOST_EXPORTS) \
12809 $(POSTSTAGE1_HOST_EXPORTS) \
12810 cd $(HOST_SUBDIR)/gcc && \
12811 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12812 $(TARGET-stagefeedback-gcc)
12814 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12815 clean-stagefeedback: clean-stagefeedback-gcc
12816 clean-stagefeedback-gcc:
12817 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
12818 || exit 0 ; \
12819 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
12820 cd $(HOST_SUBDIR)/gcc && \
12821 $(MAKE) $(FLAGS_TO_PASS) \
12822 $(POSTSTAGE1_FLAGS_TO_PASS) \
12823 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12824 @endif gcc-bootstrap
12830 .PHONY: check-gcc maybe-check-gcc
12831 maybe-check-gcc:
12832 @if gcc
12833 maybe-check-gcc: check-gcc
12835 check-gcc:
12836 @: $(MAKE); $(unstage)
12837 @r=`${PWD_COMMAND}`; export r; \
12838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12839 $(HOST_EXPORTS) \
12840 (cd $(HOST_SUBDIR)/gcc && \
12841 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12843 @endif gcc
12845 .PHONY: install-gcc maybe-install-gcc
12846 maybe-install-gcc:
12847 @if gcc
12848 maybe-install-gcc: install-gcc
12850 install-gcc: installdirs
12851 @: $(MAKE); $(unstage)
12852 @r=`${PWD_COMMAND}`; export r; \
12853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12854 $(HOST_EXPORTS) \
12855 (cd $(HOST_SUBDIR)/gcc && \
12856 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12858 @endif gcc
12860 # Other targets (info, dvi, pdf, etc.)
12862 .PHONY: maybe-info-gcc info-gcc
12863 maybe-info-gcc:
12864 @if gcc
12865 maybe-info-gcc: info-gcc
12867 info-gcc: \
12868 configure-gcc
12869 @[ -f ./gcc/Makefile ] || exit 0; \
12870 r=`${PWD_COMMAND}`; export r; \
12871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12872 $(HOST_EXPORTS) \
12873 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12875 done; \
12876 echo "Doing info in gcc" ; \
12877 (cd $(HOST_SUBDIR)/gcc && \
12878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12880 "RANLIB=$${RANLIB}" \
12881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12882 info) \
12883 || exit 1
12885 @endif gcc
12887 .PHONY: maybe-dvi-gcc dvi-gcc
12888 maybe-dvi-gcc:
12889 @if gcc
12890 maybe-dvi-gcc: dvi-gcc
12892 dvi-gcc: \
12893 configure-gcc
12894 @[ -f ./gcc/Makefile ] || exit 0; \
12895 r=`${PWD_COMMAND}`; export r; \
12896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12897 $(HOST_EXPORTS) \
12898 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12900 done; \
12901 echo "Doing dvi in gcc" ; \
12902 (cd $(HOST_SUBDIR)/gcc && \
12903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12905 "RANLIB=$${RANLIB}" \
12906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12907 dvi) \
12908 || exit 1
12910 @endif gcc
12912 .PHONY: maybe-pdf-gcc pdf-gcc
12913 maybe-pdf-gcc:
12914 @if gcc
12915 maybe-pdf-gcc: pdf-gcc
12917 pdf-gcc: \
12918 configure-gcc
12919 @[ -f ./gcc/Makefile ] || exit 0; \
12920 r=`${PWD_COMMAND}`; export r; \
12921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12922 $(HOST_EXPORTS) \
12923 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12925 done; \
12926 echo "Doing pdf in gcc" ; \
12927 (cd $(HOST_SUBDIR)/gcc && \
12928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12930 "RANLIB=$${RANLIB}" \
12931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12932 pdf) \
12933 || exit 1
12935 @endif gcc
12937 .PHONY: maybe-html-gcc html-gcc
12938 maybe-html-gcc:
12939 @if gcc
12940 maybe-html-gcc: html-gcc
12942 html-gcc: \
12943 configure-gcc
12944 @[ -f ./gcc/Makefile ] || exit 0; \
12945 r=`${PWD_COMMAND}`; export r; \
12946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12947 $(HOST_EXPORTS) \
12948 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12950 done; \
12951 echo "Doing html in gcc" ; \
12952 (cd $(HOST_SUBDIR)/gcc && \
12953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12955 "RANLIB=$${RANLIB}" \
12956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12957 html) \
12958 || exit 1
12960 @endif gcc
12962 .PHONY: maybe-TAGS-gcc TAGS-gcc
12963 maybe-TAGS-gcc:
12964 @if gcc
12965 maybe-TAGS-gcc: TAGS-gcc
12967 TAGS-gcc: \
12968 configure-gcc
12969 @[ -f ./gcc/Makefile ] || exit 0; \
12970 r=`${PWD_COMMAND}`; export r; \
12971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12972 $(HOST_EXPORTS) \
12973 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12975 done; \
12976 echo "Doing TAGS in gcc" ; \
12977 (cd $(HOST_SUBDIR)/gcc && \
12978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12980 "RANLIB=$${RANLIB}" \
12981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12982 TAGS) \
12983 || exit 1
12985 @endif gcc
12987 .PHONY: maybe-install-info-gcc install-info-gcc
12988 maybe-install-info-gcc:
12989 @if gcc
12990 maybe-install-info-gcc: install-info-gcc
12992 install-info-gcc: \
12993 configure-gcc \
12994 info-gcc
12995 @[ -f ./gcc/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 $(HOST_EXPORTS) \
12999 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001 done; \
13002 echo "Doing install-info in gcc" ; \
13003 (cd $(HOST_SUBDIR)/gcc && \
13004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006 "RANLIB=$${RANLIB}" \
13007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13008 install-info) \
13009 || exit 1
13011 @endif gcc
13013 .PHONY: maybe-install-html-gcc install-html-gcc
13014 maybe-install-html-gcc:
13015 @if gcc
13016 maybe-install-html-gcc: install-html-gcc
13018 install-html-gcc: \
13019 configure-gcc \
13020 html-gcc
13021 @[ -f ./gcc/Makefile ] || exit 0; \
13022 r=`${PWD_COMMAND}`; export r; \
13023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024 $(HOST_EXPORTS) \
13025 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13027 done; \
13028 echo "Doing install-html in gcc" ; \
13029 (cd $(HOST_SUBDIR)/gcc && \
13030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13032 "RANLIB=$${RANLIB}" \
13033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13034 install-html) \
13035 || exit 1
13037 @endif gcc
13039 .PHONY: maybe-installcheck-gcc installcheck-gcc
13040 maybe-installcheck-gcc:
13041 @if gcc
13042 maybe-installcheck-gcc: installcheck-gcc
13044 installcheck-gcc: \
13045 configure-gcc
13046 @[ -f ./gcc/Makefile ] || exit 0; \
13047 r=`${PWD_COMMAND}`; export r; \
13048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13049 $(HOST_EXPORTS) \
13050 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13052 done; \
13053 echo "Doing installcheck in gcc" ; \
13054 (cd $(HOST_SUBDIR)/gcc && \
13055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057 "RANLIB=$${RANLIB}" \
13058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13059 installcheck) \
13060 || exit 1
13062 @endif gcc
13064 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13065 maybe-mostlyclean-gcc:
13066 @if gcc
13067 maybe-mostlyclean-gcc: mostlyclean-gcc
13069 mostlyclean-gcc:
13070 @[ -f ./gcc/Makefile ] || exit 0; \
13071 r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13073 $(HOST_EXPORTS) \
13074 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13076 done; \
13077 echo "Doing mostlyclean in gcc" ; \
13078 (cd $(HOST_SUBDIR)/gcc && \
13079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13081 "RANLIB=$${RANLIB}" \
13082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13083 mostlyclean) \
13084 || exit 1
13086 @endif gcc
13088 .PHONY: maybe-clean-gcc clean-gcc
13089 maybe-clean-gcc:
13090 @if gcc
13091 maybe-clean-gcc: clean-gcc
13093 clean-gcc:
13094 @[ -f ./gcc/Makefile ] || exit 0; \
13095 r=`${PWD_COMMAND}`; export r; \
13096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13097 $(HOST_EXPORTS) \
13098 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13100 done; \
13101 echo "Doing clean in gcc" ; \
13102 (cd $(HOST_SUBDIR)/gcc && \
13103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13105 "RANLIB=$${RANLIB}" \
13106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13107 clean) \
13108 || exit 1
13110 @endif gcc
13112 .PHONY: maybe-distclean-gcc distclean-gcc
13113 maybe-distclean-gcc:
13114 @if gcc
13115 maybe-distclean-gcc: distclean-gcc
13117 distclean-gcc:
13118 @[ -f ./gcc/Makefile ] || exit 0; \
13119 r=`${PWD_COMMAND}`; export r; \
13120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13121 $(HOST_EXPORTS) \
13122 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13124 done; \
13125 echo "Doing distclean in gcc" ; \
13126 (cd $(HOST_SUBDIR)/gcc && \
13127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13129 "RANLIB=$${RANLIB}" \
13130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13131 distclean) \
13132 || exit 1
13134 @endif gcc
13136 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13137 maybe-maintainer-clean-gcc:
13138 @if gcc
13139 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13141 maintainer-clean-gcc:
13142 @[ -f ./gcc/Makefile ] || exit 0; \
13143 r=`${PWD_COMMAND}`; export r; \
13144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145 $(HOST_EXPORTS) \
13146 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13148 done; \
13149 echo "Doing maintainer-clean in gcc" ; \
13150 (cd $(HOST_SUBDIR)/gcc && \
13151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13153 "RANLIB=$${RANLIB}" \
13154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13155 maintainer-clean) \
13156 || exit 1
13158 @endif gcc
13162 .PHONY: configure-gawk maybe-configure-gawk
13163 maybe-configure-gawk:
13164 @if gcc-bootstrap
13165 configure-gawk: stage_current
13166 @endif gcc-bootstrap
13167 @if gawk
13168 maybe-configure-gawk: configure-gawk
13169 configure-gawk:
13170 @: $(MAKE); $(unstage)
13171 @r=`${PWD_COMMAND}`; export r; \
13172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13173 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13175 $(HOST_EXPORTS) \
13176 echo Configuring in $(HOST_SUBDIR)/gawk; \
13177 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13178 case $(srcdir) in \
13179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13180 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13182 esac; \
13183 srcdiroption="--srcdir=$${topdir}/gawk"; \
13184 libsrcdir="$$s/gawk"; \
13185 $(SHELL) $${libsrcdir}/configure \
13186 $(HOST_CONFIGARGS) $${srcdiroption} \
13187 || exit 1
13188 @endif gawk
13194 .PHONY: all-gawk maybe-all-gawk
13195 maybe-all-gawk:
13196 @if gcc-bootstrap
13197 all-gawk: stage_current
13198 @endif gcc-bootstrap
13199 @if gawk
13200 TARGET-gawk=all
13201 maybe-all-gawk: all-gawk
13202 all-gawk: configure-gawk
13203 @: $(MAKE); $(unstage)
13204 @r=`${PWD_COMMAND}`; export r; \
13205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13206 $(HOST_EXPORTS) \
13207 (cd $(HOST_SUBDIR)/gawk && \
13208 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13209 @endif gawk
13214 .PHONY: check-gawk maybe-check-gawk
13215 maybe-check-gawk:
13216 @if gawk
13217 maybe-check-gawk: check-gawk
13219 check-gawk:
13220 @: $(MAKE); $(unstage)
13221 @r=`${PWD_COMMAND}`; export r; \
13222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13223 $(HOST_EXPORTS) \
13224 (cd $(HOST_SUBDIR)/gawk && \
13225 $(MAKE) $(FLAGS_TO_PASS) check)
13227 @endif gawk
13229 .PHONY: install-gawk maybe-install-gawk
13230 maybe-install-gawk:
13231 @if gawk
13232 maybe-install-gawk: install-gawk
13234 install-gawk: installdirs
13235 @: $(MAKE); $(unstage)
13236 @r=`${PWD_COMMAND}`; export r; \
13237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13238 $(HOST_EXPORTS) \
13239 (cd $(HOST_SUBDIR)/gawk && \
13240 $(MAKE) $(FLAGS_TO_PASS) install)
13242 @endif gawk
13244 # Other targets (info, dvi, pdf, etc.)
13246 .PHONY: maybe-info-gawk info-gawk
13247 maybe-info-gawk:
13248 @if gawk
13249 maybe-info-gawk: info-gawk
13251 info-gawk: \
13252 configure-gawk
13253 @: $(MAKE); $(unstage)
13254 @[ -f ./gawk/Makefile ] || exit 0; \
13255 r=`${PWD_COMMAND}`; export r; \
13256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13257 $(HOST_EXPORTS) \
13258 for flag in $(EXTRA_HOST_FLAGS) ; do \
13259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13260 done; \
13261 echo "Doing info in gawk" ; \
13262 (cd $(HOST_SUBDIR)/gawk && \
13263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13265 "RANLIB=$${RANLIB}" \
13266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13267 info) \
13268 || exit 1
13270 @endif gawk
13272 .PHONY: maybe-dvi-gawk dvi-gawk
13273 maybe-dvi-gawk:
13274 @if gawk
13275 maybe-dvi-gawk: dvi-gawk
13277 dvi-gawk: \
13278 configure-gawk
13279 @: $(MAKE); $(unstage)
13280 @[ -f ./gawk/Makefile ] || exit 0; \
13281 r=`${PWD_COMMAND}`; export r; \
13282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13283 $(HOST_EXPORTS) \
13284 for flag in $(EXTRA_HOST_FLAGS) ; do \
13285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13286 done; \
13287 echo "Doing dvi in gawk" ; \
13288 (cd $(HOST_SUBDIR)/gawk && \
13289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13291 "RANLIB=$${RANLIB}" \
13292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13293 dvi) \
13294 || exit 1
13296 @endif gawk
13298 .PHONY: maybe-pdf-gawk pdf-gawk
13299 maybe-pdf-gawk:
13300 @if gawk
13301 maybe-pdf-gawk: pdf-gawk
13303 pdf-gawk: \
13304 configure-gawk
13305 @: $(MAKE); $(unstage)
13306 @[ -f ./gawk/Makefile ] || exit 0; \
13307 r=`${PWD_COMMAND}`; export r; \
13308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13309 $(HOST_EXPORTS) \
13310 for flag in $(EXTRA_HOST_FLAGS) ; do \
13311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13312 done; \
13313 echo "Doing pdf in gawk" ; \
13314 (cd $(HOST_SUBDIR)/gawk && \
13315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13317 "RANLIB=$${RANLIB}" \
13318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13319 pdf) \
13320 || exit 1
13322 @endif gawk
13324 .PHONY: maybe-html-gawk html-gawk
13325 maybe-html-gawk:
13326 @if gawk
13327 maybe-html-gawk: html-gawk
13329 html-gawk: \
13330 configure-gawk
13331 @: $(MAKE); $(unstage)
13332 @[ -f ./gawk/Makefile ] || exit 0; \
13333 r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 $(HOST_EXPORTS) \
13336 for flag in $(EXTRA_HOST_FLAGS) ; do \
13337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13338 done; \
13339 echo "Doing html in gawk" ; \
13340 (cd $(HOST_SUBDIR)/gawk && \
13341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13343 "RANLIB=$${RANLIB}" \
13344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13345 html) \
13346 || exit 1
13348 @endif gawk
13350 .PHONY: maybe-TAGS-gawk TAGS-gawk
13351 maybe-TAGS-gawk:
13352 @if gawk
13353 maybe-TAGS-gawk: TAGS-gawk
13355 TAGS-gawk: \
13356 configure-gawk
13357 @: $(MAKE); $(unstage)
13358 @[ -f ./gawk/Makefile ] || exit 0; \
13359 r=`${PWD_COMMAND}`; export r; \
13360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13361 $(HOST_EXPORTS) \
13362 for flag in $(EXTRA_HOST_FLAGS) ; do \
13363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13364 done; \
13365 echo "Doing TAGS in gawk" ; \
13366 (cd $(HOST_SUBDIR)/gawk && \
13367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13369 "RANLIB=$${RANLIB}" \
13370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13371 TAGS) \
13372 || exit 1
13374 @endif gawk
13376 .PHONY: maybe-install-info-gawk install-info-gawk
13377 maybe-install-info-gawk:
13378 @if gawk
13379 maybe-install-info-gawk: install-info-gawk
13381 install-info-gawk: \
13382 configure-gawk \
13383 info-gawk
13384 @: $(MAKE); $(unstage)
13385 @[ -f ./gawk/Makefile ] || exit 0; \
13386 r=`${PWD_COMMAND}`; export r; \
13387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13388 $(HOST_EXPORTS) \
13389 for flag in $(EXTRA_HOST_FLAGS) ; do \
13390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13391 done; \
13392 echo "Doing install-info in gawk" ; \
13393 (cd $(HOST_SUBDIR)/gawk && \
13394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13396 "RANLIB=$${RANLIB}" \
13397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13398 install-info) \
13399 || exit 1
13401 @endif gawk
13403 .PHONY: maybe-install-html-gawk install-html-gawk
13404 maybe-install-html-gawk:
13405 @if gawk
13406 maybe-install-html-gawk: install-html-gawk
13408 install-html-gawk: \
13409 configure-gawk \
13410 html-gawk
13411 @: $(MAKE); $(unstage)
13412 @[ -f ./gawk/Makefile ] || exit 0; \
13413 r=`${PWD_COMMAND}`; export r; \
13414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13415 $(HOST_EXPORTS) \
13416 for flag in $(EXTRA_HOST_FLAGS) ; do \
13417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13418 done; \
13419 echo "Doing install-html in gawk" ; \
13420 (cd $(HOST_SUBDIR)/gawk && \
13421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13423 "RANLIB=$${RANLIB}" \
13424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13425 install-html) \
13426 || exit 1
13428 @endif gawk
13430 .PHONY: maybe-installcheck-gawk installcheck-gawk
13431 maybe-installcheck-gawk:
13432 @if gawk
13433 maybe-installcheck-gawk: installcheck-gawk
13435 installcheck-gawk: \
13436 configure-gawk
13437 @: $(MAKE); $(unstage)
13438 @[ -f ./gawk/Makefile ] || exit 0; \
13439 r=`${PWD_COMMAND}`; export r; \
13440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13441 $(HOST_EXPORTS) \
13442 for flag in $(EXTRA_HOST_FLAGS) ; do \
13443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13444 done; \
13445 echo "Doing installcheck in gawk" ; \
13446 (cd $(HOST_SUBDIR)/gawk && \
13447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13449 "RANLIB=$${RANLIB}" \
13450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13451 installcheck) \
13452 || exit 1
13454 @endif gawk
13456 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13457 maybe-mostlyclean-gawk:
13458 @if gawk
13459 maybe-mostlyclean-gawk: mostlyclean-gawk
13461 mostlyclean-gawk:
13462 @: $(MAKE); $(unstage)
13463 @[ -f ./gawk/Makefile ] || exit 0; \
13464 r=`${PWD_COMMAND}`; export r; \
13465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13466 $(HOST_EXPORTS) \
13467 for flag in $(EXTRA_HOST_FLAGS) ; do \
13468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13469 done; \
13470 echo "Doing mostlyclean in gawk" ; \
13471 (cd $(HOST_SUBDIR)/gawk && \
13472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13474 "RANLIB=$${RANLIB}" \
13475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13476 mostlyclean) \
13477 || exit 1
13479 @endif gawk
13481 .PHONY: maybe-clean-gawk clean-gawk
13482 maybe-clean-gawk:
13483 @if gawk
13484 maybe-clean-gawk: clean-gawk
13486 clean-gawk:
13487 @: $(MAKE); $(unstage)
13488 @[ -f ./gawk/Makefile ] || exit 0; \
13489 r=`${PWD_COMMAND}`; export r; \
13490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13491 $(HOST_EXPORTS) \
13492 for flag in $(EXTRA_HOST_FLAGS) ; do \
13493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13494 done; \
13495 echo "Doing clean in gawk" ; \
13496 (cd $(HOST_SUBDIR)/gawk && \
13497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13499 "RANLIB=$${RANLIB}" \
13500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13501 clean) \
13502 || exit 1
13504 @endif gawk
13506 .PHONY: maybe-distclean-gawk distclean-gawk
13507 maybe-distclean-gawk:
13508 @if gawk
13509 maybe-distclean-gawk: distclean-gawk
13511 distclean-gawk:
13512 @: $(MAKE); $(unstage)
13513 @[ -f ./gawk/Makefile ] || exit 0; \
13514 r=`${PWD_COMMAND}`; export r; \
13515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13516 $(HOST_EXPORTS) \
13517 for flag in $(EXTRA_HOST_FLAGS) ; do \
13518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13519 done; \
13520 echo "Doing distclean in gawk" ; \
13521 (cd $(HOST_SUBDIR)/gawk && \
13522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13524 "RANLIB=$${RANLIB}" \
13525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13526 distclean) \
13527 || exit 1
13529 @endif gawk
13531 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13532 maybe-maintainer-clean-gawk:
13533 @if gawk
13534 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13536 maintainer-clean-gawk:
13537 @: $(MAKE); $(unstage)
13538 @[ -f ./gawk/Makefile ] || exit 0; \
13539 r=`${PWD_COMMAND}`; export r; \
13540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13541 $(HOST_EXPORTS) \
13542 for flag in $(EXTRA_HOST_FLAGS) ; do \
13543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13544 done; \
13545 echo "Doing maintainer-clean in gawk" ; \
13546 (cd $(HOST_SUBDIR)/gawk && \
13547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13549 "RANLIB=$${RANLIB}" \
13550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13551 maintainer-clean) \
13552 || exit 1
13554 @endif gawk
13558 .PHONY: configure-gettext maybe-configure-gettext
13559 maybe-configure-gettext:
13560 @if gcc-bootstrap
13561 configure-gettext: stage_current
13562 @endif gcc-bootstrap
13563 @if gettext
13564 maybe-configure-gettext: configure-gettext
13565 configure-gettext:
13566 @: $(MAKE); $(unstage)
13567 @r=`${PWD_COMMAND}`; export r; \
13568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13569 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13571 $(HOST_EXPORTS) \
13572 echo Configuring in $(HOST_SUBDIR)/gettext; \
13573 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13574 case $(srcdir) in \
13575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13576 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13578 esac; \
13579 srcdiroption="--srcdir=$${topdir}/gettext"; \
13580 libsrcdir="$$s/gettext"; \
13581 $(SHELL) $${libsrcdir}/configure \
13582 $(HOST_CONFIGARGS) $${srcdiroption} \
13583 || exit 1
13584 @endif gettext
13590 .PHONY: all-gettext maybe-all-gettext
13591 maybe-all-gettext:
13592 @if gcc-bootstrap
13593 all-gettext: stage_current
13594 @endif gcc-bootstrap
13595 @if gettext
13596 TARGET-gettext=all
13597 maybe-all-gettext: all-gettext
13598 all-gettext: configure-gettext
13599 @: $(MAKE); $(unstage)
13600 @r=`${PWD_COMMAND}`; export r; \
13601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13602 $(HOST_EXPORTS) \
13603 (cd $(HOST_SUBDIR)/gettext && \
13604 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13605 @endif gettext
13610 .PHONY: check-gettext maybe-check-gettext
13611 maybe-check-gettext:
13612 @if gettext
13613 maybe-check-gettext: check-gettext
13615 check-gettext:
13616 @: $(MAKE); $(unstage)
13617 @r=`${PWD_COMMAND}`; export r; \
13618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13619 $(HOST_EXPORTS) \
13620 (cd $(HOST_SUBDIR)/gettext && \
13621 $(MAKE) $(FLAGS_TO_PASS) check)
13623 @endif gettext
13625 .PHONY: install-gettext maybe-install-gettext
13626 maybe-install-gettext:
13627 @if gettext
13628 maybe-install-gettext: install-gettext
13630 install-gettext: installdirs
13631 @: $(MAKE); $(unstage)
13632 @r=`${PWD_COMMAND}`; export r; \
13633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 $(HOST_EXPORTS) \
13635 (cd $(HOST_SUBDIR)/gettext && \
13636 $(MAKE) $(FLAGS_TO_PASS) install)
13638 @endif gettext
13640 # Other targets (info, dvi, pdf, etc.)
13642 .PHONY: maybe-info-gettext info-gettext
13643 maybe-info-gettext:
13644 @if gettext
13645 maybe-info-gettext: info-gettext
13647 info-gettext: \
13648 configure-gettext
13649 @: $(MAKE); $(unstage)
13650 @[ -f ./gettext/Makefile ] || exit 0; \
13651 r=`${PWD_COMMAND}`; export r; \
13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13653 $(HOST_EXPORTS) \
13654 for flag in $(EXTRA_HOST_FLAGS) ; do \
13655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13656 done; \
13657 echo "Doing info in gettext" ; \
13658 (cd $(HOST_SUBDIR)/gettext && \
13659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13661 "RANLIB=$${RANLIB}" \
13662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13663 info) \
13664 || exit 1
13666 @endif gettext
13668 .PHONY: maybe-dvi-gettext dvi-gettext
13669 maybe-dvi-gettext:
13670 @if gettext
13671 maybe-dvi-gettext: dvi-gettext
13673 dvi-gettext: \
13674 configure-gettext
13675 @: $(MAKE); $(unstage)
13676 @[ -f ./gettext/Makefile ] || exit 0; \
13677 r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13679 $(HOST_EXPORTS) \
13680 for flag in $(EXTRA_HOST_FLAGS) ; do \
13681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13682 done; \
13683 echo "Doing dvi in gettext" ; \
13684 (cd $(HOST_SUBDIR)/gettext && \
13685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13687 "RANLIB=$${RANLIB}" \
13688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13689 dvi) \
13690 || exit 1
13692 @endif gettext
13694 .PHONY: maybe-pdf-gettext pdf-gettext
13695 maybe-pdf-gettext:
13696 @if gettext
13697 maybe-pdf-gettext: pdf-gettext
13699 pdf-gettext: \
13700 configure-gettext
13701 @: $(MAKE); $(unstage)
13702 @[ -f ./gettext/Makefile ] || exit 0; \
13703 r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705 $(HOST_EXPORTS) \
13706 for flag in $(EXTRA_HOST_FLAGS) ; do \
13707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13708 done; \
13709 echo "Doing pdf in gettext" ; \
13710 (cd $(HOST_SUBDIR)/gettext && \
13711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13713 "RANLIB=$${RANLIB}" \
13714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13715 pdf) \
13716 || exit 1
13718 @endif gettext
13720 .PHONY: maybe-html-gettext html-gettext
13721 maybe-html-gettext:
13722 @if gettext
13723 maybe-html-gettext: html-gettext
13725 html-gettext: \
13726 configure-gettext
13727 @: $(MAKE); $(unstage)
13728 @[ -f ./gettext/Makefile ] || exit 0; \
13729 r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 $(HOST_EXPORTS) \
13732 for flag in $(EXTRA_HOST_FLAGS) ; do \
13733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 done; \
13735 echo "Doing html in gettext" ; \
13736 (cd $(HOST_SUBDIR)/gettext && \
13737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13739 "RANLIB=$${RANLIB}" \
13740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13741 html) \
13742 || exit 1
13744 @endif gettext
13746 .PHONY: maybe-TAGS-gettext TAGS-gettext
13747 maybe-TAGS-gettext:
13748 @if gettext
13749 maybe-TAGS-gettext: TAGS-gettext
13751 TAGS-gettext: \
13752 configure-gettext
13753 @: $(MAKE); $(unstage)
13754 @[ -f ./gettext/Makefile ] || exit 0; \
13755 r=`${PWD_COMMAND}`; export r; \
13756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757 $(HOST_EXPORTS) \
13758 for flag in $(EXTRA_HOST_FLAGS) ; do \
13759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13760 done; \
13761 echo "Doing TAGS in gettext" ; \
13762 (cd $(HOST_SUBDIR)/gettext && \
13763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13765 "RANLIB=$${RANLIB}" \
13766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13767 TAGS) \
13768 || exit 1
13770 @endif gettext
13772 .PHONY: maybe-install-info-gettext install-info-gettext
13773 maybe-install-info-gettext:
13774 @if gettext
13775 maybe-install-info-gettext: install-info-gettext
13777 install-info-gettext: \
13778 configure-gettext \
13779 info-gettext
13780 @: $(MAKE); $(unstage)
13781 @[ -f ./gettext/Makefile ] || exit 0; \
13782 r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(HOST_EXPORTS) \
13785 for flag in $(EXTRA_HOST_FLAGS) ; do \
13786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13787 done; \
13788 echo "Doing install-info in gettext" ; \
13789 (cd $(HOST_SUBDIR)/gettext && \
13790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13792 "RANLIB=$${RANLIB}" \
13793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13794 install-info) \
13795 || exit 1
13797 @endif gettext
13799 .PHONY: maybe-install-html-gettext install-html-gettext
13800 maybe-install-html-gettext:
13801 @if gettext
13802 maybe-install-html-gettext: install-html-gettext
13804 install-html-gettext: \
13805 configure-gettext \
13806 html-gettext
13807 @: $(MAKE); $(unstage)
13808 @[ -f ./gettext/Makefile ] || exit 0; \
13809 r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 $(HOST_EXPORTS) \
13812 for flag in $(EXTRA_HOST_FLAGS) ; do \
13813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13814 done; \
13815 echo "Doing install-html in gettext" ; \
13816 (cd $(HOST_SUBDIR)/gettext && \
13817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13819 "RANLIB=$${RANLIB}" \
13820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13821 install-html) \
13822 || exit 1
13824 @endif gettext
13826 .PHONY: maybe-installcheck-gettext installcheck-gettext
13827 maybe-installcheck-gettext:
13828 @if gettext
13829 maybe-installcheck-gettext: installcheck-gettext
13831 installcheck-gettext: \
13832 configure-gettext
13833 @: $(MAKE); $(unstage)
13834 @[ -f ./gettext/Makefile ] || exit 0; \
13835 r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837 $(HOST_EXPORTS) \
13838 for flag in $(EXTRA_HOST_FLAGS) ; do \
13839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13840 done; \
13841 echo "Doing installcheck in gettext" ; \
13842 (cd $(HOST_SUBDIR)/gettext && \
13843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13845 "RANLIB=$${RANLIB}" \
13846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13847 installcheck) \
13848 || exit 1
13850 @endif gettext
13852 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13853 maybe-mostlyclean-gettext:
13854 @if gettext
13855 maybe-mostlyclean-gettext: mostlyclean-gettext
13857 mostlyclean-gettext:
13858 @: $(MAKE); $(unstage)
13859 @[ -f ./gettext/Makefile ] || exit 0; \
13860 r=`${PWD_COMMAND}`; export r; \
13861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13862 $(HOST_EXPORTS) \
13863 for flag in $(EXTRA_HOST_FLAGS) ; do \
13864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13865 done; \
13866 echo "Doing mostlyclean in gettext" ; \
13867 (cd $(HOST_SUBDIR)/gettext && \
13868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13870 "RANLIB=$${RANLIB}" \
13871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13872 mostlyclean) \
13873 || exit 1
13875 @endif gettext
13877 .PHONY: maybe-clean-gettext clean-gettext
13878 maybe-clean-gettext:
13879 @if gettext
13880 maybe-clean-gettext: clean-gettext
13882 clean-gettext:
13883 @: $(MAKE); $(unstage)
13884 @[ -f ./gettext/Makefile ] || exit 0; \
13885 r=`${PWD_COMMAND}`; export r; \
13886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13887 $(HOST_EXPORTS) \
13888 for flag in $(EXTRA_HOST_FLAGS) ; do \
13889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13890 done; \
13891 echo "Doing clean in gettext" ; \
13892 (cd $(HOST_SUBDIR)/gettext && \
13893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13895 "RANLIB=$${RANLIB}" \
13896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13897 clean) \
13898 || exit 1
13900 @endif gettext
13902 .PHONY: maybe-distclean-gettext distclean-gettext
13903 maybe-distclean-gettext:
13904 @if gettext
13905 maybe-distclean-gettext: distclean-gettext
13907 distclean-gettext:
13908 @: $(MAKE); $(unstage)
13909 @[ -f ./gettext/Makefile ] || exit 0; \
13910 r=`${PWD_COMMAND}`; export r; \
13911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13912 $(HOST_EXPORTS) \
13913 for flag in $(EXTRA_HOST_FLAGS) ; do \
13914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13915 done; \
13916 echo "Doing distclean in gettext" ; \
13917 (cd $(HOST_SUBDIR)/gettext && \
13918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13920 "RANLIB=$${RANLIB}" \
13921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13922 distclean) \
13923 || exit 1
13925 @endif gettext
13927 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
13928 maybe-maintainer-clean-gettext:
13929 @if gettext
13930 maybe-maintainer-clean-gettext: maintainer-clean-gettext
13932 maintainer-clean-gettext:
13933 @: $(MAKE); $(unstage)
13934 @[ -f ./gettext/Makefile ] || exit 0; \
13935 r=`${PWD_COMMAND}`; export r; \
13936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13937 $(HOST_EXPORTS) \
13938 for flag in $(EXTRA_HOST_FLAGS) ; do \
13939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13940 done; \
13941 echo "Doing maintainer-clean in gettext" ; \
13942 (cd $(HOST_SUBDIR)/gettext && \
13943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13945 "RANLIB=$${RANLIB}" \
13946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13947 maintainer-clean) \
13948 || exit 1
13950 @endif gettext
13954 .PHONY: configure-gnuserv maybe-configure-gnuserv
13955 maybe-configure-gnuserv:
13956 @if gcc-bootstrap
13957 configure-gnuserv: stage_current
13958 @endif gcc-bootstrap
13959 @if gnuserv
13960 maybe-configure-gnuserv: configure-gnuserv
13961 configure-gnuserv:
13962 @: $(MAKE); $(unstage)
13963 @r=`${PWD_COMMAND}`; export r; \
13964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13965 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
13966 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
13967 $(HOST_EXPORTS) \
13968 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
13969 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
13970 case $(srcdir) in \
13971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13972 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
13973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13974 esac; \
13975 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
13976 libsrcdir="$$s/gnuserv"; \
13977 $(SHELL) $${libsrcdir}/configure \
13978 $(HOST_CONFIGARGS) $${srcdiroption} \
13979 || exit 1
13980 @endif gnuserv
13986 .PHONY: all-gnuserv maybe-all-gnuserv
13987 maybe-all-gnuserv:
13988 @if gcc-bootstrap
13989 all-gnuserv: stage_current
13990 @endif gcc-bootstrap
13991 @if gnuserv
13992 TARGET-gnuserv=all
13993 maybe-all-gnuserv: all-gnuserv
13994 all-gnuserv: configure-gnuserv
13995 @: $(MAKE); $(unstage)
13996 @r=`${PWD_COMMAND}`; export r; \
13997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13998 $(HOST_EXPORTS) \
13999 (cd $(HOST_SUBDIR)/gnuserv && \
14000 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
14001 @endif gnuserv
14006 .PHONY: check-gnuserv maybe-check-gnuserv
14007 maybe-check-gnuserv:
14008 @if gnuserv
14009 maybe-check-gnuserv: check-gnuserv
14011 check-gnuserv:
14012 @: $(MAKE); $(unstage)
14013 @r=`${PWD_COMMAND}`; export r; \
14014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14015 $(HOST_EXPORTS) \
14016 (cd $(HOST_SUBDIR)/gnuserv && \
14017 $(MAKE) $(FLAGS_TO_PASS) check)
14019 @endif gnuserv
14021 .PHONY: install-gnuserv maybe-install-gnuserv
14022 maybe-install-gnuserv:
14023 @if gnuserv
14024 maybe-install-gnuserv: install-gnuserv
14026 install-gnuserv: installdirs
14027 @: $(MAKE); $(unstage)
14028 @r=`${PWD_COMMAND}`; export r; \
14029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14030 $(HOST_EXPORTS) \
14031 (cd $(HOST_SUBDIR)/gnuserv && \
14032 $(MAKE) $(FLAGS_TO_PASS) install)
14034 @endif gnuserv
14036 # Other targets (info, dvi, pdf, etc.)
14038 .PHONY: maybe-info-gnuserv info-gnuserv
14039 maybe-info-gnuserv:
14040 @if gnuserv
14041 maybe-info-gnuserv: info-gnuserv
14043 info-gnuserv: \
14044 configure-gnuserv
14045 @: $(MAKE); $(unstage)
14046 @[ -f ./gnuserv/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 $(HOST_EXPORTS) \
14050 for flag in $(EXTRA_HOST_FLAGS) ; do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing info in gnuserv" ; \
14054 (cd $(HOST_SUBDIR)/gnuserv && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14059 info) \
14060 || exit 1
14062 @endif gnuserv
14064 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
14065 maybe-dvi-gnuserv:
14066 @if gnuserv
14067 maybe-dvi-gnuserv: dvi-gnuserv
14069 dvi-gnuserv: \
14070 configure-gnuserv
14071 @: $(MAKE); $(unstage)
14072 @[ -f ./gnuserv/Makefile ] || exit 0; \
14073 r=`${PWD_COMMAND}`; export r; \
14074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14075 $(HOST_EXPORTS) \
14076 for flag in $(EXTRA_HOST_FLAGS) ; do \
14077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14078 done; \
14079 echo "Doing dvi in gnuserv" ; \
14080 (cd $(HOST_SUBDIR)/gnuserv && \
14081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14083 "RANLIB=$${RANLIB}" \
14084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14085 dvi) \
14086 || exit 1
14088 @endif gnuserv
14090 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
14091 maybe-pdf-gnuserv:
14092 @if gnuserv
14093 maybe-pdf-gnuserv: pdf-gnuserv
14095 pdf-gnuserv: \
14096 configure-gnuserv
14097 @: $(MAKE); $(unstage)
14098 @[ -f ./gnuserv/Makefile ] || exit 0; \
14099 r=`${PWD_COMMAND}`; export r; \
14100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14101 $(HOST_EXPORTS) \
14102 for flag in $(EXTRA_HOST_FLAGS) ; do \
14103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14104 done; \
14105 echo "Doing pdf in gnuserv" ; \
14106 (cd $(HOST_SUBDIR)/gnuserv && \
14107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14109 "RANLIB=$${RANLIB}" \
14110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14111 pdf) \
14112 || exit 1
14114 @endif gnuserv
14116 .PHONY: maybe-html-gnuserv html-gnuserv
14117 maybe-html-gnuserv:
14118 @if gnuserv
14119 maybe-html-gnuserv: html-gnuserv
14121 html-gnuserv: \
14122 configure-gnuserv
14123 @: $(MAKE); $(unstage)
14124 @[ -f ./gnuserv/Makefile ] || exit 0; \
14125 r=`${PWD_COMMAND}`; export r; \
14126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14127 $(HOST_EXPORTS) \
14128 for flag in $(EXTRA_HOST_FLAGS) ; do \
14129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14130 done; \
14131 echo "Doing html in gnuserv" ; \
14132 (cd $(HOST_SUBDIR)/gnuserv && \
14133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14135 "RANLIB=$${RANLIB}" \
14136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14137 html) \
14138 || exit 1
14140 @endif gnuserv
14142 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
14143 maybe-TAGS-gnuserv:
14144 @if gnuserv
14145 maybe-TAGS-gnuserv: TAGS-gnuserv
14147 TAGS-gnuserv: \
14148 configure-gnuserv
14149 @: $(MAKE); $(unstage)
14150 @[ -f ./gnuserv/Makefile ] || exit 0; \
14151 r=`${PWD_COMMAND}`; export r; \
14152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14153 $(HOST_EXPORTS) \
14154 for flag in $(EXTRA_HOST_FLAGS) ; do \
14155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14156 done; \
14157 echo "Doing TAGS in gnuserv" ; \
14158 (cd $(HOST_SUBDIR)/gnuserv && \
14159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14161 "RANLIB=$${RANLIB}" \
14162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14163 TAGS) \
14164 || exit 1
14166 @endif gnuserv
14168 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
14169 maybe-install-info-gnuserv:
14170 @if gnuserv
14171 maybe-install-info-gnuserv: install-info-gnuserv
14173 install-info-gnuserv: \
14174 configure-gnuserv \
14175 info-gnuserv
14176 @: $(MAKE); $(unstage)
14177 @[ -f ./gnuserv/Makefile ] || exit 0; \
14178 r=`${PWD_COMMAND}`; export r; \
14179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14180 $(HOST_EXPORTS) \
14181 for flag in $(EXTRA_HOST_FLAGS) ; do \
14182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14183 done; \
14184 echo "Doing install-info in gnuserv" ; \
14185 (cd $(HOST_SUBDIR)/gnuserv && \
14186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14188 "RANLIB=$${RANLIB}" \
14189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14190 install-info) \
14191 || exit 1
14193 @endif gnuserv
14195 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
14196 maybe-install-html-gnuserv:
14197 @if gnuserv
14198 maybe-install-html-gnuserv: install-html-gnuserv
14200 install-html-gnuserv: \
14201 configure-gnuserv \
14202 html-gnuserv
14203 @: $(MAKE); $(unstage)
14204 @[ -f ./gnuserv/Makefile ] || exit 0; \
14205 r=`${PWD_COMMAND}`; export r; \
14206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14207 $(HOST_EXPORTS) \
14208 for flag in $(EXTRA_HOST_FLAGS) ; do \
14209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14210 done; \
14211 echo "Doing install-html in gnuserv" ; \
14212 (cd $(HOST_SUBDIR)/gnuserv && \
14213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14215 "RANLIB=$${RANLIB}" \
14216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14217 install-html) \
14218 || exit 1
14220 @endif gnuserv
14222 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
14223 maybe-installcheck-gnuserv:
14224 @if gnuserv
14225 maybe-installcheck-gnuserv: installcheck-gnuserv
14227 installcheck-gnuserv: \
14228 configure-gnuserv
14229 @: $(MAKE); $(unstage)
14230 @[ -f ./gnuserv/Makefile ] || exit 0; \
14231 r=`${PWD_COMMAND}`; export r; \
14232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14233 $(HOST_EXPORTS) \
14234 for flag in $(EXTRA_HOST_FLAGS) ; do \
14235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14236 done; \
14237 echo "Doing installcheck in gnuserv" ; \
14238 (cd $(HOST_SUBDIR)/gnuserv && \
14239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14241 "RANLIB=$${RANLIB}" \
14242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14243 installcheck) \
14244 || exit 1
14246 @endif gnuserv
14248 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
14249 maybe-mostlyclean-gnuserv:
14250 @if gnuserv
14251 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
14253 mostlyclean-gnuserv:
14254 @: $(MAKE); $(unstage)
14255 @[ -f ./gnuserv/Makefile ] || exit 0; \
14256 r=`${PWD_COMMAND}`; export r; \
14257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14258 $(HOST_EXPORTS) \
14259 for flag in $(EXTRA_HOST_FLAGS) ; do \
14260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14261 done; \
14262 echo "Doing mostlyclean in gnuserv" ; \
14263 (cd $(HOST_SUBDIR)/gnuserv && \
14264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14266 "RANLIB=$${RANLIB}" \
14267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14268 mostlyclean) \
14269 || exit 1
14271 @endif gnuserv
14273 .PHONY: maybe-clean-gnuserv clean-gnuserv
14274 maybe-clean-gnuserv:
14275 @if gnuserv
14276 maybe-clean-gnuserv: clean-gnuserv
14278 clean-gnuserv:
14279 @: $(MAKE); $(unstage)
14280 @[ -f ./gnuserv/Makefile ] || exit 0; \
14281 r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283 $(HOST_EXPORTS) \
14284 for flag in $(EXTRA_HOST_FLAGS) ; do \
14285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14286 done; \
14287 echo "Doing clean in gnuserv" ; \
14288 (cd $(HOST_SUBDIR)/gnuserv && \
14289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14291 "RANLIB=$${RANLIB}" \
14292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14293 clean) \
14294 || exit 1
14296 @endif gnuserv
14298 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14299 maybe-distclean-gnuserv:
14300 @if gnuserv
14301 maybe-distclean-gnuserv: distclean-gnuserv
14303 distclean-gnuserv:
14304 @: $(MAKE); $(unstage)
14305 @[ -f ./gnuserv/Makefile ] || exit 0; \
14306 r=`${PWD_COMMAND}`; export r; \
14307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14308 $(HOST_EXPORTS) \
14309 for flag in $(EXTRA_HOST_FLAGS) ; do \
14310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14311 done; \
14312 echo "Doing distclean in gnuserv" ; \
14313 (cd $(HOST_SUBDIR)/gnuserv && \
14314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14316 "RANLIB=$${RANLIB}" \
14317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14318 distclean) \
14319 || exit 1
14321 @endif gnuserv
14323 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
14324 maybe-maintainer-clean-gnuserv:
14325 @if gnuserv
14326 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
14328 maintainer-clean-gnuserv:
14329 @: $(MAKE); $(unstage)
14330 @[ -f ./gnuserv/Makefile ] || exit 0; \
14331 r=`${PWD_COMMAND}`; export r; \
14332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14333 $(HOST_EXPORTS) \
14334 for flag in $(EXTRA_HOST_FLAGS) ; do \
14335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14336 done; \
14337 echo "Doing maintainer-clean in gnuserv" ; \
14338 (cd $(HOST_SUBDIR)/gnuserv && \
14339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14341 "RANLIB=$${RANLIB}" \
14342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14343 maintainer-clean) \
14344 || exit 1
14346 @endif gnuserv
14350 .PHONY: configure-gprof maybe-configure-gprof
14351 maybe-configure-gprof:
14352 @if gcc-bootstrap
14353 configure-gprof: stage_current
14354 @endif gcc-bootstrap
14355 @if gprof
14356 maybe-configure-gprof: configure-gprof
14357 configure-gprof:
14358 @: $(MAKE); $(unstage)
14359 @r=`${PWD_COMMAND}`; export r; \
14360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14361 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
14362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
14363 $(HOST_EXPORTS) \
14364 echo Configuring in $(HOST_SUBDIR)/gprof; \
14365 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
14366 case $(srcdir) in \
14367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14368 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
14369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14370 esac; \
14371 srcdiroption="--srcdir=$${topdir}/gprof"; \
14372 libsrcdir="$$s/gprof"; \
14373 $(SHELL) $${libsrcdir}/configure \
14374 $(HOST_CONFIGARGS) $${srcdiroption} \
14375 || exit 1
14376 @endif gprof
14382 .PHONY: all-gprof maybe-all-gprof
14383 maybe-all-gprof:
14384 @if gcc-bootstrap
14385 all-gprof: stage_current
14386 @endif gcc-bootstrap
14387 @if gprof
14388 TARGET-gprof=all
14389 maybe-all-gprof: all-gprof
14390 all-gprof: configure-gprof
14391 @: $(MAKE); $(unstage)
14392 @r=`${PWD_COMMAND}`; export r; \
14393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14394 $(HOST_EXPORTS) \
14395 (cd $(HOST_SUBDIR)/gprof && \
14396 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
14397 @endif gprof
14402 .PHONY: check-gprof maybe-check-gprof
14403 maybe-check-gprof:
14404 @if gprof
14405 maybe-check-gprof: check-gprof
14407 check-gprof:
14408 @: $(MAKE); $(unstage)
14409 @r=`${PWD_COMMAND}`; export r; \
14410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14411 $(HOST_EXPORTS) \
14412 (cd $(HOST_SUBDIR)/gprof && \
14413 $(MAKE) $(FLAGS_TO_PASS) check)
14415 @endif gprof
14417 .PHONY: install-gprof maybe-install-gprof
14418 maybe-install-gprof:
14419 @if gprof
14420 maybe-install-gprof: install-gprof
14422 install-gprof: installdirs
14423 @: $(MAKE); $(unstage)
14424 @r=`${PWD_COMMAND}`; export r; \
14425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14426 $(HOST_EXPORTS) \
14427 (cd $(HOST_SUBDIR)/gprof && \
14428 $(MAKE) $(FLAGS_TO_PASS) install)
14430 @endif gprof
14432 # Other targets (info, dvi, pdf, etc.)
14434 .PHONY: maybe-info-gprof info-gprof
14435 maybe-info-gprof:
14436 @if gprof
14437 maybe-info-gprof: info-gprof
14439 info-gprof: \
14440 configure-gprof
14441 @: $(MAKE); $(unstage)
14442 @[ -f ./gprof/Makefile ] || exit 0; \
14443 r=`${PWD_COMMAND}`; export r; \
14444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14445 $(HOST_EXPORTS) \
14446 for flag in $(EXTRA_HOST_FLAGS) ; do \
14447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14448 done; \
14449 echo "Doing info in gprof" ; \
14450 (cd $(HOST_SUBDIR)/gprof && \
14451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14453 "RANLIB=$${RANLIB}" \
14454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14455 info) \
14456 || exit 1
14458 @endif gprof
14460 .PHONY: maybe-dvi-gprof dvi-gprof
14461 maybe-dvi-gprof:
14462 @if gprof
14463 maybe-dvi-gprof: dvi-gprof
14465 dvi-gprof: \
14466 configure-gprof
14467 @: $(MAKE); $(unstage)
14468 @[ -f ./gprof/Makefile ] || exit 0; \
14469 r=`${PWD_COMMAND}`; export r; \
14470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14471 $(HOST_EXPORTS) \
14472 for flag in $(EXTRA_HOST_FLAGS) ; do \
14473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14474 done; \
14475 echo "Doing dvi in gprof" ; \
14476 (cd $(HOST_SUBDIR)/gprof && \
14477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14479 "RANLIB=$${RANLIB}" \
14480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14481 dvi) \
14482 || exit 1
14484 @endif gprof
14486 .PHONY: maybe-pdf-gprof pdf-gprof
14487 maybe-pdf-gprof:
14488 @if gprof
14489 maybe-pdf-gprof: pdf-gprof
14491 pdf-gprof: \
14492 configure-gprof
14493 @: $(MAKE); $(unstage)
14494 @[ -f ./gprof/Makefile ] || exit 0; \
14495 r=`${PWD_COMMAND}`; export r; \
14496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14497 $(HOST_EXPORTS) \
14498 for flag in $(EXTRA_HOST_FLAGS) ; do \
14499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14500 done; \
14501 echo "Doing pdf in gprof" ; \
14502 (cd $(HOST_SUBDIR)/gprof && \
14503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14505 "RANLIB=$${RANLIB}" \
14506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14507 pdf) \
14508 || exit 1
14510 @endif gprof
14512 .PHONY: maybe-html-gprof html-gprof
14513 maybe-html-gprof:
14514 @if gprof
14515 maybe-html-gprof: html-gprof
14517 html-gprof: \
14518 configure-gprof
14519 @: $(MAKE); $(unstage)
14520 @[ -f ./gprof/Makefile ] || exit 0; \
14521 r=`${PWD_COMMAND}`; export r; \
14522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14523 $(HOST_EXPORTS) \
14524 for flag in $(EXTRA_HOST_FLAGS) ; do \
14525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14526 done; \
14527 echo "Doing html in gprof" ; \
14528 (cd $(HOST_SUBDIR)/gprof && \
14529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14531 "RANLIB=$${RANLIB}" \
14532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14533 html) \
14534 || exit 1
14536 @endif gprof
14538 .PHONY: maybe-TAGS-gprof TAGS-gprof
14539 maybe-TAGS-gprof:
14540 @if gprof
14541 maybe-TAGS-gprof: TAGS-gprof
14543 TAGS-gprof: \
14544 configure-gprof
14545 @: $(MAKE); $(unstage)
14546 @[ -f ./gprof/Makefile ] || exit 0; \
14547 r=`${PWD_COMMAND}`; export r; \
14548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14549 $(HOST_EXPORTS) \
14550 for flag in $(EXTRA_HOST_FLAGS) ; do \
14551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14552 done; \
14553 echo "Doing TAGS in gprof" ; \
14554 (cd $(HOST_SUBDIR)/gprof && \
14555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14557 "RANLIB=$${RANLIB}" \
14558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14559 TAGS) \
14560 || exit 1
14562 @endif gprof
14564 .PHONY: maybe-install-info-gprof install-info-gprof
14565 maybe-install-info-gprof:
14566 @if gprof
14567 maybe-install-info-gprof: install-info-gprof
14569 install-info-gprof: \
14570 configure-gprof \
14571 info-gprof
14572 @: $(MAKE); $(unstage)
14573 @[ -f ./gprof/Makefile ] || exit 0; \
14574 r=`${PWD_COMMAND}`; export r; \
14575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14576 $(HOST_EXPORTS) \
14577 for flag in $(EXTRA_HOST_FLAGS) ; do \
14578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14579 done; \
14580 echo "Doing install-info in gprof" ; \
14581 (cd $(HOST_SUBDIR)/gprof && \
14582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14584 "RANLIB=$${RANLIB}" \
14585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14586 install-info) \
14587 || exit 1
14589 @endif gprof
14591 .PHONY: maybe-install-html-gprof install-html-gprof
14592 maybe-install-html-gprof:
14593 @if gprof
14594 maybe-install-html-gprof: install-html-gprof
14596 install-html-gprof: \
14597 configure-gprof \
14598 html-gprof
14599 @: $(MAKE); $(unstage)
14600 @[ -f ./gprof/Makefile ] || exit 0; \
14601 r=`${PWD_COMMAND}`; export r; \
14602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14603 $(HOST_EXPORTS) \
14604 for flag in $(EXTRA_HOST_FLAGS) ; do \
14605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14606 done; \
14607 echo "Doing install-html in gprof" ; \
14608 (cd $(HOST_SUBDIR)/gprof && \
14609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14611 "RANLIB=$${RANLIB}" \
14612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14613 install-html) \
14614 || exit 1
14616 @endif gprof
14618 .PHONY: maybe-installcheck-gprof installcheck-gprof
14619 maybe-installcheck-gprof:
14620 @if gprof
14621 maybe-installcheck-gprof: installcheck-gprof
14623 installcheck-gprof: \
14624 configure-gprof
14625 @: $(MAKE); $(unstage)
14626 @[ -f ./gprof/Makefile ] || exit 0; \
14627 r=`${PWD_COMMAND}`; export r; \
14628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14629 $(HOST_EXPORTS) \
14630 for flag in $(EXTRA_HOST_FLAGS) ; do \
14631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14632 done; \
14633 echo "Doing installcheck in gprof" ; \
14634 (cd $(HOST_SUBDIR)/gprof && \
14635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14637 "RANLIB=$${RANLIB}" \
14638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14639 installcheck) \
14640 || exit 1
14642 @endif gprof
14644 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
14645 maybe-mostlyclean-gprof:
14646 @if gprof
14647 maybe-mostlyclean-gprof: mostlyclean-gprof
14649 mostlyclean-gprof:
14650 @: $(MAKE); $(unstage)
14651 @[ -f ./gprof/Makefile ] || exit 0; \
14652 r=`${PWD_COMMAND}`; export r; \
14653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14654 $(HOST_EXPORTS) \
14655 for flag in $(EXTRA_HOST_FLAGS) ; do \
14656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14657 done; \
14658 echo "Doing mostlyclean in gprof" ; \
14659 (cd $(HOST_SUBDIR)/gprof && \
14660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14662 "RANLIB=$${RANLIB}" \
14663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14664 mostlyclean) \
14665 || exit 1
14667 @endif gprof
14669 .PHONY: maybe-clean-gprof clean-gprof
14670 maybe-clean-gprof:
14671 @if gprof
14672 maybe-clean-gprof: clean-gprof
14674 clean-gprof:
14675 @: $(MAKE); $(unstage)
14676 @[ -f ./gprof/Makefile ] || exit 0; \
14677 r=`${PWD_COMMAND}`; export r; \
14678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14679 $(HOST_EXPORTS) \
14680 for flag in $(EXTRA_HOST_FLAGS) ; do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682 done; \
14683 echo "Doing clean in gprof" ; \
14684 (cd $(HOST_SUBDIR)/gprof && \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14689 clean) \
14690 || exit 1
14692 @endif gprof
14694 .PHONY: maybe-distclean-gprof distclean-gprof
14695 maybe-distclean-gprof:
14696 @if gprof
14697 maybe-distclean-gprof: distclean-gprof
14699 distclean-gprof:
14700 @: $(MAKE); $(unstage)
14701 @[ -f ./gprof/Makefile ] || exit 0; \
14702 r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 $(HOST_EXPORTS) \
14705 for flag in $(EXTRA_HOST_FLAGS) ; do \
14706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14707 done; \
14708 echo "Doing distclean in gprof" ; \
14709 (cd $(HOST_SUBDIR)/gprof && \
14710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14712 "RANLIB=$${RANLIB}" \
14713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14714 distclean) \
14715 || exit 1
14717 @endif gprof
14719 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
14720 maybe-maintainer-clean-gprof:
14721 @if gprof
14722 maybe-maintainer-clean-gprof: maintainer-clean-gprof
14724 maintainer-clean-gprof:
14725 @: $(MAKE); $(unstage)
14726 @[ -f ./gprof/Makefile ] || exit 0; \
14727 r=`${PWD_COMMAND}`; export r; \
14728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14729 $(HOST_EXPORTS) \
14730 for flag in $(EXTRA_HOST_FLAGS) ; do \
14731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14732 done; \
14733 echo "Doing maintainer-clean in gprof" ; \
14734 (cd $(HOST_SUBDIR)/gprof && \
14735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737 "RANLIB=$${RANLIB}" \
14738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14739 maintainer-clean) \
14740 || exit 1
14742 @endif gprof
14746 .PHONY: configure-gzip maybe-configure-gzip
14747 maybe-configure-gzip:
14748 @if gcc-bootstrap
14749 configure-gzip: stage_current
14750 @endif gcc-bootstrap
14751 @if gzip
14752 maybe-configure-gzip: configure-gzip
14753 configure-gzip:
14754 @: $(MAKE); $(unstage)
14755 @r=`${PWD_COMMAND}`; export r; \
14756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14757 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
14758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14759 $(HOST_EXPORTS) \
14760 echo Configuring in $(HOST_SUBDIR)/gzip; \
14761 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14762 case $(srcdir) in \
14763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14764 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14766 esac; \
14767 srcdiroption="--srcdir=$${topdir}/gzip"; \
14768 libsrcdir="$$s/gzip"; \
14769 $(SHELL) $${libsrcdir}/configure \
14770 $(HOST_CONFIGARGS) $${srcdiroption} \
14771 || exit 1
14772 @endif gzip
14778 .PHONY: all-gzip maybe-all-gzip
14779 maybe-all-gzip:
14780 @if gcc-bootstrap
14781 all-gzip: stage_current
14782 @endif gcc-bootstrap
14783 @if gzip
14784 TARGET-gzip=all
14785 maybe-all-gzip: all-gzip
14786 all-gzip: configure-gzip
14787 @: $(MAKE); $(unstage)
14788 @r=`${PWD_COMMAND}`; export r; \
14789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14790 $(HOST_EXPORTS) \
14791 (cd $(HOST_SUBDIR)/gzip && \
14792 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14793 @endif gzip
14798 .PHONY: check-gzip maybe-check-gzip
14799 maybe-check-gzip:
14800 @if gzip
14801 maybe-check-gzip: check-gzip
14803 check-gzip:
14804 @: $(MAKE); $(unstage)
14805 @r=`${PWD_COMMAND}`; export r; \
14806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14807 $(HOST_EXPORTS) \
14808 (cd $(HOST_SUBDIR)/gzip && \
14809 $(MAKE) $(FLAGS_TO_PASS) check)
14811 @endif gzip
14813 .PHONY: install-gzip maybe-install-gzip
14814 maybe-install-gzip:
14815 @if gzip
14816 maybe-install-gzip: install-gzip
14818 install-gzip: installdirs
14819 @: $(MAKE); $(unstage)
14820 @r=`${PWD_COMMAND}`; export r; \
14821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14822 $(HOST_EXPORTS) \
14823 (cd $(HOST_SUBDIR)/gzip && \
14824 $(MAKE) $(FLAGS_TO_PASS) install)
14826 @endif gzip
14828 # Other targets (info, dvi, pdf, etc.)
14830 .PHONY: maybe-info-gzip info-gzip
14831 maybe-info-gzip:
14832 @if gzip
14833 maybe-info-gzip: info-gzip
14835 info-gzip: \
14836 configure-gzip
14837 @: $(MAKE); $(unstage)
14838 @[ -f ./gzip/Makefile ] || exit 0; \
14839 r=`${PWD_COMMAND}`; export r; \
14840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14841 $(HOST_EXPORTS) \
14842 for flag in $(EXTRA_HOST_FLAGS) ; do \
14843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14844 done; \
14845 echo "Doing info in gzip" ; \
14846 (cd $(HOST_SUBDIR)/gzip && \
14847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14849 "RANLIB=$${RANLIB}" \
14850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14851 info) \
14852 || exit 1
14854 @endif gzip
14856 .PHONY: maybe-dvi-gzip dvi-gzip
14857 maybe-dvi-gzip:
14858 @if gzip
14859 maybe-dvi-gzip: dvi-gzip
14861 dvi-gzip: \
14862 configure-gzip
14863 @: $(MAKE); $(unstage)
14864 @[ -f ./gzip/Makefile ] || exit 0; \
14865 r=`${PWD_COMMAND}`; export r; \
14866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14867 $(HOST_EXPORTS) \
14868 for flag in $(EXTRA_HOST_FLAGS) ; do \
14869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14870 done; \
14871 echo "Doing dvi in gzip" ; \
14872 (cd $(HOST_SUBDIR)/gzip && \
14873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14875 "RANLIB=$${RANLIB}" \
14876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14877 dvi) \
14878 || exit 1
14880 @endif gzip
14882 .PHONY: maybe-pdf-gzip pdf-gzip
14883 maybe-pdf-gzip:
14884 @if gzip
14885 maybe-pdf-gzip: pdf-gzip
14887 pdf-gzip: \
14888 configure-gzip
14889 @: $(MAKE); $(unstage)
14890 @[ -f ./gzip/Makefile ] || exit 0; \
14891 r=`${PWD_COMMAND}`; export r; \
14892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14893 $(HOST_EXPORTS) \
14894 for flag in $(EXTRA_HOST_FLAGS) ; do \
14895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14896 done; \
14897 echo "Doing pdf in gzip" ; \
14898 (cd $(HOST_SUBDIR)/gzip && \
14899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14901 "RANLIB=$${RANLIB}" \
14902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14903 pdf) \
14904 || exit 1
14906 @endif gzip
14908 .PHONY: maybe-html-gzip html-gzip
14909 maybe-html-gzip:
14910 @if gzip
14911 maybe-html-gzip: html-gzip
14913 html-gzip: \
14914 configure-gzip
14915 @: $(MAKE); $(unstage)
14916 @[ -f ./gzip/Makefile ] || exit 0; \
14917 r=`${PWD_COMMAND}`; export r; \
14918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14919 $(HOST_EXPORTS) \
14920 for flag in $(EXTRA_HOST_FLAGS) ; do \
14921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14922 done; \
14923 echo "Doing html in gzip" ; \
14924 (cd $(HOST_SUBDIR)/gzip && \
14925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14927 "RANLIB=$${RANLIB}" \
14928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14929 html) \
14930 || exit 1
14932 @endif gzip
14934 .PHONY: maybe-TAGS-gzip TAGS-gzip
14935 maybe-TAGS-gzip:
14936 @if gzip
14937 maybe-TAGS-gzip: TAGS-gzip
14939 TAGS-gzip: \
14940 configure-gzip
14941 @: $(MAKE); $(unstage)
14942 @[ -f ./gzip/Makefile ] || exit 0; \
14943 r=`${PWD_COMMAND}`; export r; \
14944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14945 $(HOST_EXPORTS) \
14946 for flag in $(EXTRA_HOST_FLAGS) ; do \
14947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14948 done; \
14949 echo "Doing TAGS in gzip" ; \
14950 (cd $(HOST_SUBDIR)/gzip && \
14951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14953 "RANLIB=$${RANLIB}" \
14954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14955 TAGS) \
14956 || exit 1
14958 @endif gzip
14960 .PHONY: maybe-install-info-gzip install-info-gzip
14961 maybe-install-info-gzip:
14962 @if gzip
14963 maybe-install-info-gzip: install-info-gzip
14965 install-info-gzip: \
14966 configure-gzip \
14967 info-gzip
14968 @: $(MAKE); $(unstage)
14969 @[ -f ./gzip/Makefile ] || exit 0; \
14970 r=`${PWD_COMMAND}`; export r; \
14971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14972 $(HOST_EXPORTS) \
14973 for flag in $(EXTRA_HOST_FLAGS) ; do \
14974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14975 done; \
14976 echo "Doing install-info in gzip" ; \
14977 (cd $(HOST_SUBDIR)/gzip && \
14978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14980 "RANLIB=$${RANLIB}" \
14981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14982 install-info) \
14983 || exit 1
14985 @endif gzip
14987 .PHONY: maybe-install-html-gzip install-html-gzip
14988 maybe-install-html-gzip:
14989 @if gzip
14990 maybe-install-html-gzip: install-html-gzip
14992 install-html-gzip: \
14993 configure-gzip \
14994 html-gzip
14995 @: $(MAKE); $(unstage)
14996 @[ -f ./gzip/Makefile ] || exit 0; \
14997 r=`${PWD_COMMAND}`; export r; \
14998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14999 $(HOST_EXPORTS) \
15000 for flag in $(EXTRA_HOST_FLAGS) ; do \
15001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15002 done; \
15003 echo "Doing install-html in gzip" ; \
15004 (cd $(HOST_SUBDIR)/gzip && \
15005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15007 "RANLIB=$${RANLIB}" \
15008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15009 install-html) \
15010 || exit 1
15012 @endif gzip
15014 .PHONY: maybe-installcheck-gzip installcheck-gzip
15015 maybe-installcheck-gzip:
15016 @if gzip
15017 maybe-installcheck-gzip: installcheck-gzip
15019 installcheck-gzip: \
15020 configure-gzip
15021 @: $(MAKE); $(unstage)
15022 @[ -f ./gzip/Makefile ] || exit 0; \
15023 r=`${PWD_COMMAND}`; export r; \
15024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15025 $(HOST_EXPORTS) \
15026 for flag in $(EXTRA_HOST_FLAGS) ; do \
15027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15028 done; \
15029 echo "Doing installcheck in gzip" ; \
15030 (cd $(HOST_SUBDIR)/gzip && \
15031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15033 "RANLIB=$${RANLIB}" \
15034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15035 installcheck) \
15036 || exit 1
15038 @endif gzip
15040 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
15041 maybe-mostlyclean-gzip:
15042 @if gzip
15043 maybe-mostlyclean-gzip: mostlyclean-gzip
15045 mostlyclean-gzip:
15046 @: $(MAKE); $(unstage)
15047 @[ -f ./gzip/Makefile ] || exit 0; \
15048 r=`${PWD_COMMAND}`; export r; \
15049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050 $(HOST_EXPORTS) \
15051 for flag in $(EXTRA_HOST_FLAGS) ; do \
15052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15053 done; \
15054 echo "Doing mostlyclean in gzip" ; \
15055 (cd $(HOST_SUBDIR)/gzip && \
15056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15058 "RANLIB=$${RANLIB}" \
15059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15060 mostlyclean) \
15061 || exit 1
15063 @endif gzip
15065 .PHONY: maybe-clean-gzip clean-gzip
15066 maybe-clean-gzip:
15067 @if gzip
15068 maybe-clean-gzip: clean-gzip
15070 clean-gzip:
15071 @: $(MAKE); $(unstage)
15072 @[ -f ./gzip/Makefile ] || exit 0; \
15073 r=`${PWD_COMMAND}`; export r; \
15074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15075 $(HOST_EXPORTS) \
15076 for flag in $(EXTRA_HOST_FLAGS) ; do \
15077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15078 done; \
15079 echo "Doing clean in gzip" ; \
15080 (cd $(HOST_SUBDIR)/gzip && \
15081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15083 "RANLIB=$${RANLIB}" \
15084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15085 clean) \
15086 || exit 1
15088 @endif gzip
15090 .PHONY: maybe-distclean-gzip distclean-gzip
15091 maybe-distclean-gzip:
15092 @if gzip
15093 maybe-distclean-gzip: distclean-gzip
15095 distclean-gzip:
15096 @: $(MAKE); $(unstage)
15097 @[ -f ./gzip/Makefile ] || exit 0; \
15098 r=`${PWD_COMMAND}`; export r; \
15099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15100 $(HOST_EXPORTS) \
15101 for flag in $(EXTRA_HOST_FLAGS) ; do \
15102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15103 done; \
15104 echo "Doing distclean in gzip" ; \
15105 (cd $(HOST_SUBDIR)/gzip && \
15106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15108 "RANLIB=$${RANLIB}" \
15109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15110 distclean) \
15111 || exit 1
15113 @endif gzip
15115 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
15116 maybe-maintainer-clean-gzip:
15117 @if gzip
15118 maybe-maintainer-clean-gzip: maintainer-clean-gzip
15120 maintainer-clean-gzip:
15121 @: $(MAKE); $(unstage)
15122 @[ -f ./gzip/Makefile ] || exit 0; \
15123 r=`${PWD_COMMAND}`; export r; \
15124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15125 $(HOST_EXPORTS) \
15126 for flag in $(EXTRA_HOST_FLAGS) ; do \
15127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15128 done; \
15129 echo "Doing maintainer-clean in gzip" ; \
15130 (cd $(HOST_SUBDIR)/gzip && \
15131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15133 "RANLIB=$${RANLIB}" \
15134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15135 maintainer-clean) \
15136 || exit 1
15138 @endif gzip
15142 .PHONY: configure-hello maybe-configure-hello
15143 maybe-configure-hello:
15144 @if gcc-bootstrap
15145 configure-hello: stage_current
15146 @endif gcc-bootstrap
15147 @if hello
15148 maybe-configure-hello: configure-hello
15149 configure-hello:
15150 @: $(MAKE); $(unstage)
15151 @r=`${PWD_COMMAND}`; export r; \
15152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15153 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
15154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
15155 $(HOST_EXPORTS) \
15156 echo Configuring in $(HOST_SUBDIR)/hello; \
15157 cd "$(HOST_SUBDIR)/hello" || exit 1; \
15158 case $(srcdir) in \
15159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15160 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
15161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15162 esac; \
15163 srcdiroption="--srcdir=$${topdir}/hello"; \
15164 libsrcdir="$$s/hello"; \
15165 $(SHELL) $${libsrcdir}/configure \
15166 $(HOST_CONFIGARGS) $${srcdiroption} \
15167 || exit 1
15168 @endif hello
15174 .PHONY: all-hello maybe-all-hello
15175 maybe-all-hello:
15176 @if gcc-bootstrap
15177 all-hello: stage_current
15178 @endif gcc-bootstrap
15179 @if hello
15180 TARGET-hello=all
15181 maybe-all-hello: all-hello
15182 all-hello: configure-hello
15183 @: $(MAKE); $(unstage)
15184 @r=`${PWD_COMMAND}`; export r; \
15185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15186 $(HOST_EXPORTS) \
15187 (cd $(HOST_SUBDIR)/hello && \
15188 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
15189 @endif hello
15194 .PHONY: check-hello maybe-check-hello
15195 maybe-check-hello:
15196 @if hello
15197 maybe-check-hello: check-hello
15199 check-hello:
15200 @: $(MAKE); $(unstage)
15201 @r=`${PWD_COMMAND}`; export r; \
15202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15203 $(HOST_EXPORTS) \
15204 (cd $(HOST_SUBDIR)/hello && \
15205 $(MAKE) $(FLAGS_TO_PASS) check)
15207 @endif hello
15209 .PHONY: install-hello maybe-install-hello
15210 maybe-install-hello:
15211 @if hello
15212 maybe-install-hello: install-hello
15214 install-hello: installdirs
15215 @: $(MAKE); $(unstage)
15216 @r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 $(HOST_EXPORTS) \
15219 (cd $(HOST_SUBDIR)/hello && \
15220 $(MAKE) $(FLAGS_TO_PASS) install)
15222 @endif hello
15224 # Other targets (info, dvi, pdf, etc.)
15226 .PHONY: maybe-info-hello info-hello
15227 maybe-info-hello:
15228 @if hello
15229 maybe-info-hello: info-hello
15231 info-hello: \
15232 configure-hello
15233 @: $(MAKE); $(unstage)
15234 @[ -f ./hello/Makefile ] || exit 0; \
15235 r=`${PWD_COMMAND}`; export r; \
15236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15237 $(HOST_EXPORTS) \
15238 for flag in $(EXTRA_HOST_FLAGS) ; do \
15239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15240 done; \
15241 echo "Doing info in hello" ; \
15242 (cd $(HOST_SUBDIR)/hello && \
15243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15245 "RANLIB=$${RANLIB}" \
15246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15247 info) \
15248 || exit 1
15250 @endif hello
15252 .PHONY: maybe-dvi-hello dvi-hello
15253 maybe-dvi-hello:
15254 @if hello
15255 maybe-dvi-hello: dvi-hello
15257 dvi-hello: \
15258 configure-hello
15259 @: $(MAKE); $(unstage)
15260 @[ -f ./hello/Makefile ] || exit 0; \
15261 r=`${PWD_COMMAND}`; export r; \
15262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15263 $(HOST_EXPORTS) \
15264 for flag in $(EXTRA_HOST_FLAGS) ; do \
15265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15266 done; \
15267 echo "Doing dvi in hello" ; \
15268 (cd $(HOST_SUBDIR)/hello && \
15269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15271 "RANLIB=$${RANLIB}" \
15272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15273 dvi) \
15274 || exit 1
15276 @endif hello
15278 .PHONY: maybe-pdf-hello pdf-hello
15279 maybe-pdf-hello:
15280 @if hello
15281 maybe-pdf-hello: pdf-hello
15283 pdf-hello: \
15284 configure-hello
15285 @: $(MAKE); $(unstage)
15286 @[ -f ./hello/Makefile ] || exit 0; \
15287 r=`${PWD_COMMAND}`; export r; \
15288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15289 $(HOST_EXPORTS) \
15290 for flag in $(EXTRA_HOST_FLAGS) ; do \
15291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15292 done; \
15293 echo "Doing pdf in hello" ; \
15294 (cd $(HOST_SUBDIR)/hello && \
15295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15297 "RANLIB=$${RANLIB}" \
15298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15299 pdf) \
15300 || exit 1
15302 @endif hello
15304 .PHONY: maybe-html-hello html-hello
15305 maybe-html-hello:
15306 @if hello
15307 maybe-html-hello: html-hello
15309 html-hello: \
15310 configure-hello
15311 @: $(MAKE); $(unstage)
15312 @[ -f ./hello/Makefile ] || exit 0; \
15313 r=`${PWD_COMMAND}`; export r; \
15314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15315 $(HOST_EXPORTS) \
15316 for flag in $(EXTRA_HOST_FLAGS) ; do \
15317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15318 done; \
15319 echo "Doing html in hello" ; \
15320 (cd $(HOST_SUBDIR)/hello && \
15321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15323 "RANLIB=$${RANLIB}" \
15324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15325 html) \
15326 || exit 1
15328 @endif hello
15330 .PHONY: maybe-TAGS-hello TAGS-hello
15331 maybe-TAGS-hello:
15332 @if hello
15333 maybe-TAGS-hello: TAGS-hello
15335 TAGS-hello: \
15336 configure-hello
15337 @: $(MAKE); $(unstage)
15338 @[ -f ./hello/Makefile ] || exit 0; \
15339 r=`${PWD_COMMAND}`; export r; \
15340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15341 $(HOST_EXPORTS) \
15342 for flag in $(EXTRA_HOST_FLAGS) ; do \
15343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15344 done; \
15345 echo "Doing TAGS in hello" ; \
15346 (cd $(HOST_SUBDIR)/hello && \
15347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15349 "RANLIB=$${RANLIB}" \
15350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15351 TAGS) \
15352 || exit 1
15354 @endif hello
15356 .PHONY: maybe-install-info-hello install-info-hello
15357 maybe-install-info-hello:
15358 @if hello
15359 maybe-install-info-hello: install-info-hello
15361 install-info-hello: \
15362 configure-hello \
15363 info-hello
15364 @: $(MAKE); $(unstage)
15365 @[ -f ./hello/Makefile ] || exit 0; \
15366 r=`${PWD_COMMAND}`; export r; \
15367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15368 $(HOST_EXPORTS) \
15369 for flag in $(EXTRA_HOST_FLAGS) ; do \
15370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15371 done; \
15372 echo "Doing install-info in hello" ; \
15373 (cd $(HOST_SUBDIR)/hello && \
15374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15376 "RANLIB=$${RANLIB}" \
15377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15378 install-info) \
15379 || exit 1
15381 @endif hello
15383 .PHONY: maybe-install-html-hello install-html-hello
15384 maybe-install-html-hello:
15385 @if hello
15386 maybe-install-html-hello: install-html-hello
15388 install-html-hello: \
15389 configure-hello \
15390 html-hello
15391 @: $(MAKE); $(unstage)
15392 @[ -f ./hello/Makefile ] || exit 0; \
15393 r=`${PWD_COMMAND}`; export r; \
15394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15395 $(HOST_EXPORTS) \
15396 for flag in $(EXTRA_HOST_FLAGS) ; do \
15397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15398 done; \
15399 echo "Doing install-html in hello" ; \
15400 (cd $(HOST_SUBDIR)/hello && \
15401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15403 "RANLIB=$${RANLIB}" \
15404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15405 install-html) \
15406 || exit 1
15408 @endif hello
15410 .PHONY: maybe-installcheck-hello installcheck-hello
15411 maybe-installcheck-hello:
15412 @if hello
15413 maybe-installcheck-hello: installcheck-hello
15415 installcheck-hello: \
15416 configure-hello
15417 @: $(MAKE); $(unstage)
15418 @[ -f ./hello/Makefile ] || exit 0; \
15419 r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15421 $(HOST_EXPORTS) \
15422 for flag in $(EXTRA_HOST_FLAGS) ; do \
15423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15424 done; \
15425 echo "Doing installcheck in hello" ; \
15426 (cd $(HOST_SUBDIR)/hello && \
15427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15429 "RANLIB=$${RANLIB}" \
15430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15431 installcheck) \
15432 || exit 1
15434 @endif hello
15436 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
15437 maybe-mostlyclean-hello:
15438 @if hello
15439 maybe-mostlyclean-hello: mostlyclean-hello
15441 mostlyclean-hello:
15442 @: $(MAKE); $(unstage)
15443 @[ -f ./hello/Makefile ] || exit 0; \
15444 r=`${PWD_COMMAND}`; export r; \
15445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15446 $(HOST_EXPORTS) \
15447 for flag in $(EXTRA_HOST_FLAGS) ; do \
15448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15449 done; \
15450 echo "Doing mostlyclean in hello" ; \
15451 (cd $(HOST_SUBDIR)/hello && \
15452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15454 "RANLIB=$${RANLIB}" \
15455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15456 mostlyclean) \
15457 || exit 1
15459 @endif hello
15461 .PHONY: maybe-clean-hello clean-hello
15462 maybe-clean-hello:
15463 @if hello
15464 maybe-clean-hello: clean-hello
15466 clean-hello:
15467 @: $(MAKE); $(unstage)
15468 @[ -f ./hello/Makefile ] || exit 0; \
15469 r=`${PWD_COMMAND}`; export r; \
15470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15471 $(HOST_EXPORTS) \
15472 for flag in $(EXTRA_HOST_FLAGS) ; do \
15473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15474 done; \
15475 echo "Doing clean in hello" ; \
15476 (cd $(HOST_SUBDIR)/hello && \
15477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15479 "RANLIB=$${RANLIB}" \
15480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15481 clean) \
15482 || exit 1
15484 @endif hello
15486 .PHONY: maybe-distclean-hello distclean-hello
15487 maybe-distclean-hello:
15488 @if hello
15489 maybe-distclean-hello: distclean-hello
15491 distclean-hello:
15492 @: $(MAKE); $(unstage)
15493 @[ -f ./hello/Makefile ] || exit 0; \
15494 r=`${PWD_COMMAND}`; export r; \
15495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15496 $(HOST_EXPORTS) \
15497 for flag in $(EXTRA_HOST_FLAGS) ; do \
15498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15499 done; \
15500 echo "Doing distclean in hello" ; \
15501 (cd $(HOST_SUBDIR)/hello && \
15502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15504 "RANLIB=$${RANLIB}" \
15505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15506 distclean) \
15507 || exit 1
15509 @endif hello
15511 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
15512 maybe-maintainer-clean-hello:
15513 @if hello
15514 maybe-maintainer-clean-hello: maintainer-clean-hello
15516 maintainer-clean-hello:
15517 @: $(MAKE); $(unstage)
15518 @[ -f ./hello/Makefile ] || exit 0; \
15519 r=`${PWD_COMMAND}`; export r; \
15520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15521 $(HOST_EXPORTS) \
15522 for flag in $(EXTRA_HOST_FLAGS) ; do \
15523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15524 done; \
15525 echo "Doing maintainer-clean in hello" ; \
15526 (cd $(HOST_SUBDIR)/hello && \
15527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15529 "RANLIB=$${RANLIB}" \
15530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15531 maintainer-clean) \
15532 || exit 1
15534 @endif hello
15538 .PHONY: configure-indent maybe-configure-indent
15539 maybe-configure-indent:
15540 @if gcc-bootstrap
15541 configure-indent: stage_current
15542 @endif gcc-bootstrap
15543 @if indent
15544 maybe-configure-indent: configure-indent
15545 configure-indent:
15546 @: $(MAKE); $(unstage)
15547 @r=`${PWD_COMMAND}`; export r; \
15548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15549 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
15550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
15551 $(HOST_EXPORTS) \
15552 echo Configuring in $(HOST_SUBDIR)/indent; \
15553 cd "$(HOST_SUBDIR)/indent" || exit 1; \
15554 case $(srcdir) in \
15555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15556 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
15557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15558 esac; \
15559 srcdiroption="--srcdir=$${topdir}/indent"; \
15560 libsrcdir="$$s/indent"; \
15561 $(SHELL) $${libsrcdir}/configure \
15562 $(HOST_CONFIGARGS) $${srcdiroption} \
15563 || exit 1
15564 @endif indent
15570 .PHONY: all-indent maybe-all-indent
15571 maybe-all-indent:
15572 @if gcc-bootstrap
15573 all-indent: stage_current
15574 @endif gcc-bootstrap
15575 @if indent
15576 TARGET-indent=all
15577 maybe-all-indent: all-indent
15578 all-indent: configure-indent
15579 @: $(MAKE); $(unstage)
15580 @r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 $(HOST_EXPORTS) \
15583 (cd $(HOST_SUBDIR)/indent && \
15584 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
15585 @endif indent
15590 .PHONY: check-indent maybe-check-indent
15591 maybe-check-indent:
15592 @if indent
15593 maybe-check-indent: check-indent
15595 check-indent:
15596 @: $(MAKE); $(unstage)
15597 @r=`${PWD_COMMAND}`; export r; \
15598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15599 $(HOST_EXPORTS) \
15600 (cd $(HOST_SUBDIR)/indent && \
15601 $(MAKE) $(FLAGS_TO_PASS) check)
15603 @endif indent
15605 .PHONY: install-indent maybe-install-indent
15606 maybe-install-indent:
15607 @if indent
15608 maybe-install-indent: install-indent
15610 install-indent: installdirs
15611 @: $(MAKE); $(unstage)
15612 @r=`${PWD_COMMAND}`; export r; \
15613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15614 $(HOST_EXPORTS) \
15615 (cd $(HOST_SUBDIR)/indent && \
15616 $(MAKE) $(FLAGS_TO_PASS) install)
15618 @endif indent
15620 # Other targets (info, dvi, pdf, etc.)
15622 .PHONY: maybe-info-indent info-indent
15623 maybe-info-indent:
15624 @if indent
15625 maybe-info-indent: info-indent
15627 info-indent: \
15628 configure-indent
15629 @: $(MAKE); $(unstage)
15630 @[ -f ./indent/Makefile ] || exit 0; \
15631 r=`${PWD_COMMAND}`; export r; \
15632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 $(HOST_EXPORTS) \
15634 for flag in $(EXTRA_HOST_FLAGS) ; do \
15635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15636 done; \
15637 echo "Doing info in indent" ; \
15638 (cd $(HOST_SUBDIR)/indent && \
15639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15641 "RANLIB=$${RANLIB}" \
15642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15643 info) \
15644 || exit 1
15646 @endif indent
15648 .PHONY: maybe-dvi-indent dvi-indent
15649 maybe-dvi-indent:
15650 @if indent
15651 maybe-dvi-indent: dvi-indent
15653 dvi-indent: \
15654 configure-indent
15655 @: $(MAKE); $(unstage)
15656 @[ -f ./indent/Makefile ] || exit 0; \
15657 r=`${PWD_COMMAND}`; export r; \
15658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15659 $(HOST_EXPORTS) \
15660 for flag in $(EXTRA_HOST_FLAGS) ; do \
15661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15662 done; \
15663 echo "Doing dvi in indent" ; \
15664 (cd $(HOST_SUBDIR)/indent && \
15665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15667 "RANLIB=$${RANLIB}" \
15668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15669 dvi) \
15670 || exit 1
15672 @endif indent
15674 .PHONY: maybe-pdf-indent pdf-indent
15675 maybe-pdf-indent:
15676 @if indent
15677 maybe-pdf-indent: pdf-indent
15679 pdf-indent: \
15680 configure-indent
15681 @: $(MAKE); $(unstage)
15682 @[ -f ./indent/Makefile ] || exit 0; \
15683 r=`${PWD_COMMAND}`; export r; \
15684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15685 $(HOST_EXPORTS) \
15686 for flag in $(EXTRA_HOST_FLAGS) ; do \
15687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15688 done; \
15689 echo "Doing pdf in indent" ; \
15690 (cd $(HOST_SUBDIR)/indent && \
15691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15693 "RANLIB=$${RANLIB}" \
15694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15695 pdf) \
15696 || exit 1
15698 @endif indent
15700 .PHONY: maybe-html-indent html-indent
15701 maybe-html-indent:
15702 @if indent
15703 maybe-html-indent: html-indent
15705 html-indent: \
15706 configure-indent
15707 @: $(MAKE); $(unstage)
15708 @[ -f ./indent/Makefile ] || exit 0; \
15709 r=`${PWD_COMMAND}`; export r; \
15710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711 $(HOST_EXPORTS) \
15712 for flag in $(EXTRA_HOST_FLAGS) ; do \
15713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15714 done; \
15715 echo "Doing html in indent" ; \
15716 (cd $(HOST_SUBDIR)/indent && \
15717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15719 "RANLIB=$${RANLIB}" \
15720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15721 html) \
15722 || exit 1
15724 @endif indent
15726 .PHONY: maybe-TAGS-indent TAGS-indent
15727 maybe-TAGS-indent:
15728 @if indent
15729 maybe-TAGS-indent: TAGS-indent
15731 TAGS-indent: \
15732 configure-indent
15733 @: $(MAKE); $(unstage)
15734 @[ -f ./indent/Makefile ] || exit 0; \
15735 r=`${PWD_COMMAND}`; export r; \
15736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15737 $(HOST_EXPORTS) \
15738 for flag in $(EXTRA_HOST_FLAGS) ; do \
15739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15740 done; \
15741 echo "Doing TAGS in indent" ; \
15742 (cd $(HOST_SUBDIR)/indent && \
15743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15745 "RANLIB=$${RANLIB}" \
15746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15747 TAGS) \
15748 || exit 1
15750 @endif indent
15752 .PHONY: maybe-install-info-indent install-info-indent
15753 maybe-install-info-indent:
15754 @if indent
15755 maybe-install-info-indent: install-info-indent
15757 install-info-indent: \
15758 configure-indent \
15759 info-indent
15760 @: $(MAKE); $(unstage)
15761 @[ -f ./indent/Makefile ] || exit 0; \
15762 r=`${PWD_COMMAND}`; export r; \
15763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15764 $(HOST_EXPORTS) \
15765 for flag in $(EXTRA_HOST_FLAGS) ; do \
15766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15767 done; \
15768 echo "Doing install-info in indent" ; \
15769 (cd $(HOST_SUBDIR)/indent && \
15770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15772 "RANLIB=$${RANLIB}" \
15773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15774 install-info) \
15775 || exit 1
15777 @endif indent
15779 .PHONY: maybe-install-html-indent install-html-indent
15780 maybe-install-html-indent:
15781 @if indent
15782 maybe-install-html-indent: install-html-indent
15784 install-html-indent: \
15785 configure-indent \
15786 html-indent
15787 @: $(MAKE); $(unstage)
15788 @[ -f ./indent/Makefile ] || exit 0; \
15789 r=`${PWD_COMMAND}`; export r; \
15790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15791 $(HOST_EXPORTS) \
15792 for flag in $(EXTRA_HOST_FLAGS) ; do \
15793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15794 done; \
15795 echo "Doing install-html in indent" ; \
15796 (cd $(HOST_SUBDIR)/indent && \
15797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15799 "RANLIB=$${RANLIB}" \
15800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15801 install-html) \
15802 || exit 1
15804 @endif indent
15806 .PHONY: maybe-installcheck-indent installcheck-indent
15807 maybe-installcheck-indent:
15808 @if indent
15809 maybe-installcheck-indent: installcheck-indent
15811 installcheck-indent: \
15812 configure-indent
15813 @: $(MAKE); $(unstage)
15814 @[ -f ./indent/Makefile ] || exit 0; \
15815 r=`${PWD_COMMAND}`; export r; \
15816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15817 $(HOST_EXPORTS) \
15818 for flag in $(EXTRA_HOST_FLAGS) ; do \
15819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15820 done; \
15821 echo "Doing installcheck in indent" ; \
15822 (cd $(HOST_SUBDIR)/indent && \
15823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15825 "RANLIB=$${RANLIB}" \
15826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15827 installcheck) \
15828 || exit 1
15830 @endif indent
15832 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
15833 maybe-mostlyclean-indent:
15834 @if indent
15835 maybe-mostlyclean-indent: mostlyclean-indent
15837 mostlyclean-indent:
15838 @: $(MAKE); $(unstage)
15839 @[ -f ./indent/Makefile ] || exit 0; \
15840 r=`${PWD_COMMAND}`; export r; \
15841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15842 $(HOST_EXPORTS) \
15843 for flag in $(EXTRA_HOST_FLAGS) ; do \
15844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15845 done; \
15846 echo "Doing mostlyclean in indent" ; \
15847 (cd $(HOST_SUBDIR)/indent && \
15848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15850 "RANLIB=$${RANLIB}" \
15851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15852 mostlyclean) \
15853 || exit 1
15855 @endif indent
15857 .PHONY: maybe-clean-indent clean-indent
15858 maybe-clean-indent:
15859 @if indent
15860 maybe-clean-indent: clean-indent
15862 clean-indent:
15863 @: $(MAKE); $(unstage)
15864 @[ -f ./indent/Makefile ] || exit 0; \
15865 r=`${PWD_COMMAND}`; export r; \
15866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15867 $(HOST_EXPORTS) \
15868 for flag in $(EXTRA_HOST_FLAGS) ; do \
15869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15870 done; \
15871 echo "Doing clean in indent" ; \
15872 (cd $(HOST_SUBDIR)/indent && \
15873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15875 "RANLIB=$${RANLIB}" \
15876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15877 clean) \
15878 || exit 1
15880 @endif indent
15882 .PHONY: maybe-distclean-indent distclean-indent
15883 maybe-distclean-indent:
15884 @if indent
15885 maybe-distclean-indent: distclean-indent
15887 distclean-indent:
15888 @: $(MAKE); $(unstage)
15889 @[ -f ./indent/Makefile ] || exit 0; \
15890 r=`${PWD_COMMAND}`; export r; \
15891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15892 $(HOST_EXPORTS) \
15893 for flag in $(EXTRA_HOST_FLAGS) ; do \
15894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15895 done; \
15896 echo "Doing distclean in indent" ; \
15897 (cd $(HOST_SUBDIR)/indent && \
15898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15900 "RANLIB=$${RANLIB}" \
15901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15902 distclean) \
15903 || exit 1
15905 @endif indent
15907 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
15908 maybe-maintainer-clean-indent:
15909 @if indent
15910 maybe-maintainer-clean-indent: maintainer-clean-indent
15912 maintainer-clean-indent:
15913 @: $(MAKE); $(unstage)
15914 @[ -f ./indent/Makefile ] || exit 0; \
15915 r=`${PWD_COMMAND}`; export r; \
15916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15917 $(HOST_EXPORTS) \
15918 for flag in $(EXTRA_HOST_FLAGS) ; do \
15919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15920 done; \
15921 echo "Doing maintainer-clean in indent" ; \
15922 (cd $(HOST_SUBDIR)/indent && \
15923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15925 "RANLIB=$${RANLIB}" \
15926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15927 maintainer-clean) \
15928 || exit 1
15930 @endif indent
15934 .PHONY: configure-intl maybe-configure-intl
15935 maybe-configure-intl:
15936 @if gcc-bootstrap
15937 configure-intl: stage_current
15938 @endif gcc-bootstrap
15939 @if intl
15940 maybe-configure-intl: configure-intl
15941 configure-intl:
15942 @r=`${PWD_COMMAND}`; export r; \
15943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15944 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15946 $(HOST_EXPORTS) \
15947 echo Configuring in $(HOST_SUBDIR)/intl; \
15948 cd "$(HOST_SUBDIR)/intl" || exit 1; \
15949 case $(srcdir) in \
15950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15951 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15953 esac; \
15954 srcdiroption="--srcdir=$${topdir}/intl"; \
15955 libsrcdir="$$s/intl"; \
15956 $(SHELL) $${libsrcdir}/configure \
15957 $(HOST_CONFIGARGS) $${srcdiroption} \
15958 || exit 1
15959 @endif intl
15963 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
15964 maybe-configure-stage1-intl:
15965 @if intl-bootstrap
15966 maybe-configure-stage1-intl: configure-stage1-intl
15967 configure-stage1-intl:
15968 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15970 @r=`${PWD_COMMAND}`; export r; \
15971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15972 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15973 $(HOST_EXPORTS) \
15974 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
15975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15976 cd $(HOST_SUBDIR)/intl || exit 1; \
15977 case $(srcdir) in \
15978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15979 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15981 esac; \
15982 srcdiroption="--srcdir=$${topdir}/intl"; \
15983 libsrcdir="$$s/intl"; \
15984 $(SHELL) $${libsrcdir}/configure \
15985 $(HOST_CONFIGARGS) $${srcdiroption} \
15987 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15988 @endif intl-bootstrap
15990 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
15991 maybe-configure-stage2-intl:
15992 @if intl-bootstrap
15993 maybe-configure-stage2-intl: configure-stage2-intl
15994 configure-stage2-intl:
15995 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15997 @r=`${PWD_COMMAND}`; export r; \
15998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15999 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16000 $(HOST_EXPORTS) \
16001 $(POSTSTAGE1_HOST_EXPORTS) \
16002 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16004 cd $(HOST_SUBDIR)/intl || exit 1; \
16005 case $(srcdir) in \
16006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16007 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16009 esac; \
16010 srcdiroption="--srcdir=$${topdir}/intl"; \
16011 libsrcdir="$$s/intl"; \
16012 $(SHELL) $${libsrcdir}/configure \
16013 $(HOST_CONFIGARGS) $${srcdiroption} \
16014 --with-build-libsubdir=$(HOST_SUBDIR) \
16015 @stage2_werror_flag@
16016 @endif intl-bootstrap
16018 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16019 maybe-configure-stage3-intl:
16020 @if intl-bootstrap
16021 maybe-configure-stage3-intl: configure-stage3-intl
16022 configure-stage3-intl:
16023 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16025 @r=`${PWD_COMMAND}`; export r; \
16026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16027 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16028 $(HOST_EXPORTS) \
16029 $(POSTSTAGE1_HOST_EXPORTS) \
16030 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16032 cd $(HOST_SUBDIR)/intl || exit 1; \
16033 case $(srcdir) in \
16034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16035 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16037 esac; \
16038 srcdiroption="--srcdir=$${topdir}/intl"; \
16039 libsrcdir="$$s/intl"; \
16040 $(SHELL) $${libsrcdir}/configure \
16041 $(HOST_CONFIGARGS) $${srcdiroption} \
16042 --with-build-libsubdir=$(HOST_SUBDIR) \
16043 @stage2_werror_flag@
16044 @endif intl-bootstrap
16046 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16047 maybe-configure-stage4-intl:
16048 @if intl-bootstrap
16049 maybe-configure-stage4-intl: configure-stage4-intl
16050 configure-stage4-intl:
16051 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16053 @r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16055 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16056 $(HOST_EXPORTS) \
16057 $(POSTSTAGE1_HOST_EXPORTS) \
16058 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16060 cd $(HOST_SUBDIR)/intl || exit 1; \
16061 case $(srcdir) in \
16062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16063 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16065 esac; \
16066 srcdiroption="--srcdir=$${topdir}/intl"; \
16067 libsrcdir="$$s/intl"; \
16068 $(SHELL) $${libsrcdir}/configure \
16069 $(HOST_CONFIGARGS) $${srcdiroption} \
16070 --with-build-libsubdir=$(HOST_SUBDIR) \
16071 @stage2_werror_flag@
16072 @endif intl-bootstrap
16074 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16075 maybe-configure-stageprofile-intl:
16076 @if intl-bootstrap
16077 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16078 configure-stageprofile-intl:
16079 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16081 @r=`${PWD_COMMAND}`; export r; \
16082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16083 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16084 $(HOST_EXPORTS) \
16085 $(POSTSTAGE1_HOST_EXPORTS) \
16086 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16088 cd $(HOST_SUBDIR)/intl || exit 1; \
16089 case $(srcdir) in \
16090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16091 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16093 esac; \
16094 srcdiroption="--srcdir=$${topdir}/intl"; \
16095 libsrcdir="$$s/intl"; \
16096 $(SHELL) $${libsrcdir}/configure \
16097 $(HOST_CONFIGARGS) $${srcdiroption} \
16098 --with-build-libsubdir=$(HOST_SUBDIR) \
16099 @stage2_werror_flag@
16100 @endif intl-bootstrap
16102 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16103 maybe-configure-stagefeedback-intl:
16104 @if intl-bootstrap
16105 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16106 configure-stagefeedback-intl:
16107 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16109 @r=`${PWD_COMMAND}`; export r; \
16110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16111 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16112 $(HOST_EXPORTS) \
16113 $(POSTSTAGE1_HOST_EXPORTS) \
16114 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16116 cd $(HOST_SUBDIR)/intl || exit 1; \
16117 case $(srcdir) in \
16118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16119 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16121 esac; \
16122 srcdiroption="--srcdir=$${topdir}/intl"; \
16123 libsrcdir="$$s/intl"; \
16124 $(SHELL) $${libsrcdir}/configure \
16125 $(HOST_CONFIGARGS) $${srcdiroption} \
16126 --with-build-libsubdir=$(HOST_SUBDIR) \
16127 @stage2_werror_flag@
16128 @endif intl-bootstrap
16134 .PHONY: all-intl maybe-all-intl
16135 maybe-all-intl:
16136 @if gcc-bootstrap
16137 all-intl: stage_current
16138 @endif gcc-bootstrap
16139 @if intl
16140 TARGET-intl=all
16141 maybe-all-intl: all-intl
16142 all-intl: configure-intl
16143 @r=`${PWD_COMMAND}`; export r; \
16144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 $(HOST_EXPORTS) \
16146 (cd $(HOST_SUBDIR)/intl && \
16147 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
16148 @endif intl
16152 .PHONY: all-stage1-intl maybe-all-stage1-intl
16153 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16154 maybe-all-stage1-intl:
16155 maybe-clean-stage1-intl:
16156 @if intl-bootstrap
16157 maybe-all-stage1-intl: all-stage1-intl
16158 all-stage1: all-stage1-intl
16159 TARGET-stage1-intl = $(TARGET-intl)
16160 all-stage1-intl: configure-stage1-intl
16161 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16162 @r=`${PWD_COMMAND}`; export r; \
16163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16164 $(HOST_EXPORTS) \
16165 cd $(HOST_SUBDIR)/intl && \
16166 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16167 $(TARGET-stage1-intl)
16169 maybe-clean-stage1-intl: clean-stage1-intl
16170 clean-stage1: clean-stage1-intl
16171 clean-stage1-intl:
16172 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
16173 || exit 0 ; \
16174 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16175 cd $(HOST_SUBDIR)/intl && \
16176 $(MAKE) $(FLAGS_TO_PASS) \
16177 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16178 @endif intl-bootstrap
16181 .PHONY: all-stage2-intl maybe-all-stage2-intl
16182 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16183 maybe-all-stage2-intl:
16184 maybe-clean-stage2-intl:
16185 @if intl-bootstrap
16186 maybe-all-stage2-intl: all-stage2-intl
16187 all-stage2: all-stage2-intl
16188 TARGET-stage2-intl = $(TARGET-intl)
16189 all-stage2-intl: configure-stage2-intl
16190 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16191 @r=`${PWD_COMMAND}`; export r; \
16192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16193 $(HOST_EXPORTS) \
16194 $(POSTSTAGE1_HOST_EXPORTS) \
16195 cd $(HOST_SUBDIR)/intl && \
16196 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16197 $(TARGET-stage2-intl)
16199 maybe-clean-stage2-intl: clean-stage2-intl
16200 clean-stage2: clean-stage2-intl
16201 clean-stage2-intl:
16202 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
16203 || exit 0 ; \
16204 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16205 cd $(HOST_SUBDIR)/intl && \
16206 $(MAKE) $(FLAGS_TO_PASS) \
16207 $(POSTSTAGE1_FLAGS_TO_PASS) \
16208 clean
16209 @endif intl-bootstrap
16212 .PHONY: all-stage3-intl maybe-all-stage3-intl
16213 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16214 maybe-all-stage3-intl:
16215 maybe-clean-stage3-intl:
16216 @if intl-bootstrap
16217 maybe-all-stage3-intl: all-stage3-intl
16218 all-stage3: all-stage3-intl
16219 TARGET-stage3-intl = $(TARGET-intl)
16220 all-stage3-intl: configure-stage3-intl
16221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16222 @r=`${PWD_COMMAND}`; export r; \
16223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16224 $(HOST_EXPORTS) \
16225 $(POSTSTAGE1_HOST_EXPORTS) \
16226 cd $(HOST_SUBDIR)/intl && \
16227 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16228 $(TARGET-stage3-intl)
16230 maybe-clean-stage3-intl: clean-stage3-intl
16231 clean-stage3: clean-stage3-intl
16232 clean-stage3-intl:
16233 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
16234 || exit 0 ; \
16235 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16236 cd $(HOST_SUBDIR)/intl && \
16237 $(MAKE) $(FLAGS_TO_PASS) \
16238 $(POSTSTAGE1_FLAGS_TO_PASS) \
16239 clean
16240 @endif intl-bootstrap
16243 .PHONY: all-stage4-intl maybe-all-stage4-intl
16244 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16245 maybe-all-stage4-intl:
16246 maybe-clean-stage4-intl:
16247 @if intl-bootstrap
16248 maybe-all-stage4-intl: all-stage4-intl
16249 all-stage4: all-stage4-intl
16250 TARGET-stage4-intl = $(TARGET-intl)
16251 all-stage4-intl: configure-stage4-intl
16252 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16253 @r=`${PWD_COMMAND}`; export r; \
16254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16255 $(HOST_EXPORTS) \
16256 $(POSTSTAGE1_HOST_EXPORTS) \
16257 cd $(HOST_SUBDIR)/intl && \
16258 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16259 $(TARGET-stage4-intl)
16261 maybe-clean-stage4-intl: clean-stage4-intl
16262 clean-stage4: clean-stage4-intl
16263 clean-stage4-intl:
16264 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
16265 || exit 0 ; \
16266 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16267 cd $(HOST_SUBDIR)/intl && \
16268 $(MAKE) $(FLAGS_TO_PASS) \
16269 $(POSTSTAGE1_FLAGS_TO_PASS) \
16270 clean
16271 @endif intl-bootstrap
16274 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
16275 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
16276 maybe-all-stageprofile-intl:
16277 maybe-clean-stageprofile-intl:
16278 @if intl-bootstrap
16279 maybe-all-stageprofile-intl: all-stageprofile-intl
16280 all-stageprofile: all-stageprofile-intl
16281 TARGET-stageprofile-intl = $(TARGET-intl)
16282 all-stageprofile-intl: configure-stageprofile-intl
16283 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16284 @r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(HOST_EXPORTS) \
16287 $(POSTSTAGE1_HOST_EXPORTS) \
16288 cd $(HOST_SUBDIR)/intl && \
16289 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16290 $(TARGET-stageprofile-intl)
16292 maybe-clean-stageprofile-intl: clean-stageprofile-intl
16293 clean-stageprofile: clean-stageprofile-intl
16294 clean-stageprofile-intl:
16295 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
16296 || exit 0 ; \
16297 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16298 cd $(HOST_SUBDIR)/intl && \
16299 $(MAKE) $(FLAGS_TO_PASS) \
16300 $(POSTSTAGE1_FLAGS_TO_PASS) \
16301 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16302 @endif intl-bootstrap
16305 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
16306 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
16307 maybe-all-stagefeedback-intl:
16308 maybe-clean-stagefeedback-intl:
16309 @if intl-bootstrap
16310 maybe-all-stagefeedback-intl: all-stagefeedback-intl
16311 all-stagefeedback: all-stagefeedback-intl
16312 TARGET-stagefeedback-intl = $(TARGET-intl)
16313 all-stagefeedback-intl: configure-stagefeedback-intl
16314 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16315 @r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(HOST_EXPORTS) \
16318 $(POSTSTAGE1_HOST_EXPORTS) \
16319 cd $(HOST_SUBDIR)/intl && \
16320 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16321 $(TARGET-stagefeedback-intl)
16323 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
16324 clean-stagefeedback: clean-stagefeedback-intl
16325 clean-stagefeedback-intl:
16326 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
16327 || exit 0 ; \
16328 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16329 cd $(HOST_SUBDIR)/intl && \
16330 $(MAKE) $(FLAGS_TO_PASS) \
16331 $(POSTSTAGE1_FLAGS_TO_PASS) \
16332 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16333 @endif intl-bootstrap
16339 .PHONY: check-intl maybe-check-intl
16340 maybe-check-intl:
16341 @if intl
16342 maybe-check-intl: check-intl
16344 check-intl:
16345 @: $(MAKE); $(unstage)
16346 @r=`${PWD_COMMAND}`; export r; \
16347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16348 $(HOST_EXPORTS) \
16349 (cd $(HOST_SUBDIR)/intl && \
16350 $(MAKE) $(FLAGS_TO_PASS) check)
16352 @endif intl
16354 .PHONY: install-intl maybe-install-intl
16355 maybe-install-intl:
16356 @if intl
16357 maybe-install-intl: install-intl
16359 install-intl: installdirs
16360 @: $(MAKE); $(unstage)
16361 @r=`${PWD_COMMAND}`; export r; \
16362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16363 $(HOST_EXPORTS) \
16364 (cd $(HOST_SUBDIR)/intl && \
16365 $(MAKE) $(FLAGS_TO_PASS) install)
16367 @endif intl
16369 # Other targets (info, dvi, pdf, etc.)
16371 .PHONY: maybe-info-intl info-intl
16372 maybe-info-intl:
16373 @if intl
16374 maybe-info-intl: info-intl
16376 info-intl: \
16377 configure-intl
16378 @[ -f ./intl/Makefile ] || exit 0; \
16379 r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(HOST_EXPORTS) \
16382 for flag in $(EXTRA_HOST_FLAGS) ; do \
16383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16384 done; \
16385 echo "Doing info in intl" ; \
16386 (cd $(HOST_SUBDIR)/intl && \
16387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16389 "RANLIB=$${RANLIB}" \
16390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16391 info) \
16392 || exit 1
16394 @endif intl
16396 .PHONY: maybe-dvi-intl dvi-intl
16397 maybe-dvi-intl:
16398 @if intl
16399 maybe-dvi-intl: dvi-intl
16401 dvi-intl: \
16402 configure-intl
16403 @[ -f ./intl/Makefile ] || exit 0; \
16404 r=`${PWD_COMMAND}`; export r; \
16405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16406 $(HOST_EXPORTS) \
16407 for flag in $(EXTRA_HOST_FLAGS) ; do \
16408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16409 done; \
16410 echo "Doing dvi in intl" ; \
16411 (cd $(HOST_SUBDIR)/intl && \
16412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16414 "RANLIB=$${RANLIB}" \
16415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16416 dvi) \
16417 || exit 1
16419 @endif intl
16421 .PHONY: maybe-pdf-intl pdf-intl
16422 maybe-pdf-intl:
16423 @if intl
16424 maybe-pdf-intl: pdf-intl
16426 pdf-intl: \
16427 configure-intl
16428 @[ -f ./intl/Makefile ] || exit 0; \
16429 r=`${PWD_COMMAND}`; export r; \
16430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16431 $(HOST_EXPORTS) \
16432 for flag in $(EXTRA_HOST_FLAGS) ; do \
16433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16434 done; \
16435 echo "Doing pdf in intl" ; \
16436 (cd $(HOST_SUBDIR)/intl && \
16437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16439 "RANLIB=$${RANLIB}" \
16440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16441 pdf) \
16442 || exit 1
16444 @endif intl
16446 .PHONY: maybe-html-intl html-intl
16447 maybe-html-intl:
16448 @if intl
16449 maybe-html-intl: html-intl
16451 html-intl: \
16452 configure-intl
16453 @[ -f ./intl/Makefile ] || exit 0; \
16454 r=`${PWD_COMMAND}`; export r; \
16455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16456 $(HOST_EXPORTS) \
16457 for flag in $(EXTRA_HOST_FLAGS) ; do \
16458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16459 done; \
16460 echo "Doing html in intl" ; \
16461 (cd $(HOST_SUBDIR)/intl && \
16462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16464 "RANLIB=$${RANLIB}" \
16465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16466 html) \
16467 || exit 1
16469 @endif intl
16471 .PHONY: maybe-TAGS-intl TAGS-intl
16472 maybe-TAGS-intl:
16473 @if intl
16474 maybe-TAGS-intl: TAGS-intl
16476 TAGS-intl: \
16477 configure-intl
16478 @[ -f ./intl/Makefile ] || exit 0; \
16479 r=`${PWD_COMMAND}`; export r; \
16480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16481 $(HOST_EXPORTS) \
16482 for flag in $(EXTRA_HOST_FLAGS) ; do \
16483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16484 done; \
16485 echo "Doing TAGS in intl" ; \
16486 (cd $(HOST_SUBDIR)/intl && \
16487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16489 "RANLIB=$${RANLIB}" \
16490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16491 TAGS) \
16492 || exit 1
16494 @endif intl
16496 .PHONY: maybe-install-info-intl install-info-intl
16497 maybe-install-info-intl:
16498 @if intl
16499 maybe-install-info-intl: install-info-intl
16501 install-info-intl: \
16502 configure-intl \
16503 info-intl
16504 @[ -f ./intl/Makefile ] || exit 0; \
16505 r=`${PWD_COMMAND}`; export r; \
16506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16507 $(HOST_EXPORTS) \
16508 for flag in $(EXTRA_HOST_FLAGS) ; do \
16509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16510 done; \
16511 echo "Doing install-info in intl" ; \
16512 (cd $(HOST_SUBDIR)/intl && \
16513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16515 "RANLIB=$${RANLIB}" \
16516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16517 install-info) \
16518 || exit 1
16520 @endif intl
16522 .PHONY: maybe-install-html-intl install-html-intl
16523 maybe-install-html-intl:
16524 @if intl
16525 maybe-install-html-intl: install-html-intl
16527 install-html-intl: \
16528 configure-intl \
16529 html-intl
16530 @[ -f ./intl/Makefile ] || exit 0; \
16531 r=`${PWD_COMMAND}`; export r; \
16532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16533 $(HOST_EXPORTS) \
16534 for flag in $(EXTRA_HOST_FLAGS) ; do \
16535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16536 done; \
16537 echo "Doing install-html in intl" ; \
16538 (cd $(HOST_SUBDIR)/intl && \
16539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16541 "RANLIB=$${RANLIB}" \
16542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16543 install-html) \
16544 || exit 1
16546 @endif intl
16548 .PHONY: maybe-installcheck-intl installcheck-intl
16549 maybe-installcheck-intl:
16550 @if intl
16551 maybe-installcheck-intl: installcheck-intl
16553 installcheck-intl: \
16554 configure-intl
16555 @[ -f ./intl/Makefile ] || exit 0; \
16556 r=`${PWD_COMMAND}`; export r; \
16557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16558 $(HOST_EXPORTS) \
16559 for flag in $(EXTRA_HOST_FLAGS) ; do \
16560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16561 done; \
16562 echo "Doing installcheck in intl" ; \
16563 (cd $(HOST_SUBDIR)/intl && \
16564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16566 "RANLIB=$${RANLIB}" \
16567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16568 installcheck) \
16569 || exit 1
16571 @endif intl
16573 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
16574 maybe-mostlyclean-intl:
16575 @if intl
16576 maybe-mostlyclean-intl: mostlyclean-intl
16578 mostlyclean-intl:
16579 @[ -f ./intl/Makefile ] || exit 0; \
16580 r=`${PWD_COMMAND}`; export r; \
16581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16582 $(HOST_EXPORTS) \
16583 for flag in $(EXTRA_HOST_FLAGS) ; do \
16584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16585 done; \
16586 echo "Doing mostlyclean in intl" ; \
16587 (cd $(HOST_SUBDIR)/intl && \
16588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16590 "RANLIB=$${RANLIB}" \
16591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16592 mostlyclean) \
16593 || exit 1
16595 @endif intl
16597 .PHONY: maybe-clean-intl clean-intl
16598 maybe-clean-intl:
16599 @if intl
16600 maybe-clean-intl: clean-intl
16602 clean-intl:
16603 @[ -f ./intl/Makefile ] || exit 0; \
16604 r=`${PWD_COMMAND}`; export r; \
16605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16606 $(HOST_EXPORTS) \
16607 for flag in $(EXTRA_HOST_FLAGS) ; do \
16608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16609 done; \
16610 echo "Doing clean in intl" ; \
16611 (cd $(HOST_SUBDIR)/intl && \
16612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16614 "RANLIB=$${RANLIB}" \
16615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16616 clean) \
16617 || exit 1
16619 @endif intl
16621 .PHONY: maybe-distclean-intl distclean-intl
16622 maybe-distclean-intl:
16623 @if intl
16624 maybe-distclean-intl: distclean-intl
16626 distclean-intl:
16627 @[ -f ./intl/Makefile ] || exit 0; \
16628 r=`${PWD_COMMAND}`; export r; \
16629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16630 $(HOST_EXPORTS) \
16631 for flag in $(EXTRA_HOST_FLAGS) ; do \
16632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16633 done; \
16634 echo "Doing distclean in intl" ; \
16635 (cd $(HOST_SUBDIR)/intl && \
16636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16638 "RANLIB=$${RANLIB}" \
16639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16640 distclean) \
16641 || exit 1
16643 @endif intl
16645 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16646 maybe-maintainer-clean-intl:
16647 @if intl
16648 maybe-maintainer-clean-intl: maintainer-clean-intl
16650 maintainer-clean-intl:
16651 @[ -f ./intl/Makefile ] || exit 0; \
16652 r=`${PWD_COMMAND}`; export r; \
16653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16654 $(HOST_EXPORTS) \
16655 for flag in $(EXTRA_HOST_FLAGS) ; do \
16656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16657 done; \
16658 echo "Doing maintainer-clean in intl" ; \
16659 (cd $(HOST_SUBDIR)/intl && \
16660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16662 "RANLIB=$${RANLIB}" \
16663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16664 maintainer-clean) \
16665 || exit 1
16667 @endif intl
16671 .PHONY: configure-tcl maybe-configure-tcl
16672 maybe-configure-tcl:
16673 @if gcc-bootstrap
16674 configure-tcl: stage_current
16675 @endif gcc-bootstrap
16676 @if tcl
16677 maybe-configure-tcl: configure-tcl
16678 configure-tcl:
16679 @: $(MAKE); $(unstage)
16680 @r=`${PWD_COMMAND}`; export r; \
16681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16682 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
16683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
16684 $(HOST_EXPORTS) \
16685 echo Configuring in $(HOST_SUBDIR)/tcl; \
16686 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
16687 case $(srcdir) in \
16688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16689 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
16690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16691 esac; \
16692 srcdiroption="--srcdir=$${topdir}/tcl"; \
16693 libsrcdir="$$s/tcl"; \
16694 $(SHELL) $${libsrcdir}/configure \
16695 $(HOST_CONFIGARGS) $${srcdiroption} \
16696 || exit 1
16697 @endif tcl
16703 .PHONY: all-tcl maybe-all-tcl
16704 maybe-all-tcl:
16705 @if gcc-bootstrap
16706 all-tcl: stage_current
16707 @endif gcc-bootstrap
16708 @if tcl
16709 TARGET-tcl=all
16710 maybe-all-tcl: all-tcl
16711 all-tcl: configure-tcl
16712 @: $(MAKE); $(unstage)
16713 @r=`${PWD_COMMAND}`; export r; \
16714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16715 $(HOST_EXPORTS) \
16716 (cd $(HOST_SUBDIR)/tcl && \
16717 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
16718 @endif tcl
16723 .PHONY: check-tcl maybe-check-tcl
16724 maybe-check-tcl:
16725 @if tcl
16726 maybe-check-tcl: check-tcl
16728 check-tcl:
16729 @: $(MAKE); $(unstage)
16730 @r=`${PWD_COMMAND}`; export r; \
16731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16732 $(HOST_EXPORTS) \
16733 (cd $(HOST_SUBDIR)/tcl && \
16734 $(MAKE) $(FLAGS_TO_PASS) check)
16736 @endif tcl
16738 .PHONY: install-tcl maybe-install-tcl
16739 maybe-install-tcl:
16740 @if tcl
16741 maybe-install-tcl: install-tcl
16743 install-tcl: installdirs
16744 @: $(MAKE); $(unstage)
16745 @r=`${PWD_COMMAND}`; export r; \
16746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16747 $(HOST_EXPORTS) \
16748 (cd $(HOST_SUBDIR)/tcl && \
16749 $(MAKE) $(FLAGS_TO_PASS) install)
16751 @endif tcl
16753 # Other targets (info, dvi, pdf, etc.)
16755 .PHONY: maybe-info-tcl info-tcl
16756 maybe-info-tcl:
16757 @if tcl
16758 maybe-info-tcl: info-tcl
16760 info-tcl: \
16761 configure-tcl
16762 @: $(MAKE); $(unstage)
16763 @[ -f ./tcl/Makefile ] || exit 0; \
16764 r=`${PWD_COMMAND}`; export r; \
16765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16766 $(HOST_EXPORTS) \
16767 for flag in $(EXTRA_HOST_FLAGS) ; do \
16768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16769 done; \
16770 echo "Doing info in tcl" ; \
16771 (cd $(HOST_SUBDIR)/tcl && \
16772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16774 "RANLIB=$${RANLIB}" \
16775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16776 info) \
16777 || exit 1
16779 @endif tcl
16781 .PHONY: maybe-dvi-tcl dvi-tcl
16782 maybe-dvi-tcl:
16783 @if tcl
16784 maybe-dvi-tcl: dvi-tcl
16786 dvi-tcl: \
16787 configure-tcl
16788 @: $(MAKE); $(unstage)
16789 @[ -f ./tcl/Makefile ] || exit 0; \
16790 r=`${PWD_COMMAND}`; export r; \
16791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16792 $(HOST_EXPORTS) \
16793 for flag in $(EXTRA_HOST_FLAGS) ; do \
16794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16795 done; \
16796 echo "Doing dvi in tcl" ; \
16797 (cd $(HOST_SUBDIR)/tcl && \
16798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16800 "RANLIB=$${RANLIB}" \
16801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16802 dvi) \
16803 || exit 1
16805 @endif tcl
16807 .PHONY: maybe-pdf-tcl pdf-tcl
16808 maybe-pdf-tcl:
16809 @if tcl
16810 maybe-pdf-tcl: pdf-tcl
16812 pdf-tcl: \
16813 configure-tcl
16814 @: $(MAKE); $(unstage)
16815 @[ -f ./tcl/Makefile ] || exit 0; \
16816 r=`${PWD_COMMAND}`; export r; \
16817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16818 $(HOST_EXPORTS) \
16819 for flag in $(EXTRA_HOST_FLAGS) ; do \
16820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16821 done; \
16822 echo "Doing pdf in tcl" ; \
16823 (cd $(HOST_SUBDIR)/tcl && \
16824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16826 "RANLIB=$${RANLIB}" \
16827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16828 pdf) \
16829 || exit 1
16831 @endif tcl
16833 .PHONY: maybe-html-tcl html-tcl
16834 maybe-html-tcl:
16835 @if tcl
16836 maybe-html-tcl: html-tcl
16838 html-tcl: \
16839 configure-tcl
16840 @: $(MAKE); $(unstage)
16841 @[ -f ./tcl/Makefile ] || exit 0; \
16842 r=`${PWD_COMMAND}`; export r; \
16843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16844 $(HOST_EXPORTS) \
16845 for flag in $(EXTRA_HOST_FLAGS) ; do \
16846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16847 done; \
16848 echo "Doing html in tcl" ; \
16849 (cd $(HOST_SUBDIR)/tcl && \
16850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16852 "RANLIB=$${RANLIB}" \
16853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16854 html) \
16855 || exit 1
16857 @endif tcl
16859 .PHONY: maybe-TAGS-tcl TAGS-tcl
16860 maybe-TAGS-tcl:
16861 @if tcl
16862 maybe-TAGS-tcl: TAGS-tcl
16864 TAGS-tcl: \
16865 configure-tcl
16866 @: $(MAKE); $(unstage)
16867 @[ -f ./tcl/Makefile ] || exit 0; \
16868 r=`${PWD_COMMAND}`; export r; \
16869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16870 $(HOST_EXPORTS) \
16871 for flag in $(EXTRA_HOST_FLAGS) ; do \
16872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16873 done; \
16874 echo "Doing TAGS in tcl" ; \
16875 (cd $(HOST_SUBDIR)/tcl && \
16876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16878 "RANLIB=$${RANLIB}" \
16879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16880 TAGS) \
16881 || exit 1
16883 @endif tcl
16885 .PHONY: maybe-install-info-tcl install-info-tcl
16886 maybe-install-info-tcl:
16887 @if tcl
16888 maybe-install-info-tcl: install-info-tcl
16890 install-info-tcl: \
16891 configure-tcl \
16892 info-tcl
16893 @: $(MAKE); $(unstage)
16894 @[ -f ./tcl/Makefile ] || exit 0; \
16895 r=`${PWD_COMMAND}`; export r; \
16896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16897 $(HOST_EXPORTS) \
16898 for flag in $(EXTRA_HOST_FLAGS) ; do \
16899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16900 done; \
16901 echo "Doing install-info in tcl" ; \
16902 (cd $(HOST_SUBDIR)/tcl && \
16903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16905 "RANLIB=$${RANLIB}" \
16906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16907 install-info) \
16908 || exit 1
16910 @endif tcl
16912 .PHONY: maybe-install-html-tcl install-html-tcl
16913 maybe-install-html-tcl:
16914 @if tcl
16915 maybe-install-html-tcl: install-html-tcl
16917 install-html-tcl: \
16918 configure-tcl \
16919 html-tcl
16920 @: $(MAKE); $(unstage)
16921 @[ -f ./tcl/Makefile ] || exit 0; \
16922 r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(HOST_EXPORTS) \
16925 for flag in $(EXTRA_HOST_FLAGS) ; do \
16926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16927 done; \
16928 echo "Doing install-html in tcl" ; \
16929 (cd $(HOST_SUBDIR)/tcl && \
16930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16932 "RANLIB=$${RANLIB}" \
16933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16934 install-html) \
16935 || exit 1
16937 @endif tcl
16939 .PHONY: maybe-installcheck-tcl installcheck-tcl
16940 maybe-installcheck-tcl:
16941 @if tcl
16942 maybe-installcheck-tcl: installcheck-tcl
16944 installcheck-tcl: \
16945 configure-tcl
16946 @: $(MAKE); $(unstage)
16947 @[ -f ./tcl/Makefile ] || exit 0; \
16948 r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(HOST_EXPORTS) \
16951 for flag in $(EXTRA_HOST_FLAGS) ; do \
16952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16953 done; \
16954 echo "Doing installcheck in tcl" ; \
16955 (cd $(HOST_SUBDIR)/tcl && \
16956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16958 "RANLIB=$${RANLIB}" \
16959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16960 installcheck) \
16961 || exit 1
16963 @endif tcl
16965 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
16966 maybe-mostlyclean-tcl:
16967 @if tcl
16968 maybe-mostlyclean-tcl: mostlyclean-tcl
16970 # tcl doesn't support mostlyclean.
16971 mostlyclean-tcl:
16973 @endif tcl
16975 .PHONY: maybe-clean-tcl clean-tcl
16976 maybe-clean-tcl:
16977 @if tcl
16978 maybe-clean-tcl: clean-tcl
16980 clean-tcl:
16981 @: $(MAKE); $(unstage)
16982 @[ -f ./tcl/Makefile ] || exit 0; \
16983 r=`${PWD_COMMAND}`; export r; \
16984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16985 $(HOST_EXPORTS) \
16986 for flag in $(EXTRA_HOST_FLAGS) ; do \
16987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16988 done; \
16989 echo "Doing clean in tcl" ; \
16990 (cd $(HOST_SUBDIR)/tcl && \
16991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16993 "RANLIB=$${RANLIB}" \
16994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16995 clean) \
16996 || exit 1
16998 @endif tcl
17000 .PHONY: maybe-distclean-tcl distclean-tcl
17001 maybe-distclean-tcl:
17002 @if tcl
17003 maybe-distclean-tcl: distclean-tcl
17005 distclean-tcl:
17006 @: $(MAKE); $(unstage)
17007 @[ -f ./tcl/Makefile ] || exit 0; \
17008 r=`${PWD_COMMAND}`; export r; \
17009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17010 $(HOST_EXPORTS) \
17011 for flag in $(EXTRA_HOST_FLAGS) ; do \
17012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17013 done; \
17014 echo "Doing distclean in tcl" ; \
17015 (cd $(HOST_SUBDIR)/tcl && \
17016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17018 "RANLIB=$${RANLIB}" \
17019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17020 distclean) \
17021 || exit 1
17023 @endif tcl
17025 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17026 maybe-maintainer-clean-tcl:
17027 @if tcl
17028 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17030 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
17046 || exit 1
17048 @endif tcl
17052 .PHONY: configure-itcl maybe-configure-itcl
17053 maybe-configure-itcl:
17054 @if gcc-bootstrap
17055 configure-itcl: stage_current
17056 @endif gcc-bootstrap
17057 @if itcl
17058 maybe-configure-itcl: configure-itcl
17059 configure-itcl:
17060 @: $(MAKE); $(unstage)
17061 @r=`${PWD_COMMAND}`; export r; \
17062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17063 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17065 $(HOST_EXPORTS) \
17066 echo Configuring in $(HOST_SUBDIR)/itcl; \
17067 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17068 case $(srcdir) in \
17069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17070 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17072 esac; \
17073 srcdiroption="--srcdir=$${topdir}/itcl"; \
17074 libsrcdir="$$s/itcl"; \
17075 $(SHELL) $${libsrcdir}/configure \
17076 $(HOST_CONFIGARGS) $${srcdiroption} \
17077 || exit 1
17078 @endif itcl
17084 .PHONY: all-itcl maybe-all-itcl
17085 maybe-all-itcl:
17086 @if gcc-bootstrap
17087 all-itcl: stage_current
17088 @endif gcc-bootstrap
17089 @if itcl
17090 TARGET-itcl=all
17091 maybe-all-itcl: all-itcl
17092 all-itcl: configure-itcl
17093 @: $(MAKE); $(unstage)
17094 @r=`${PWD_COMMAND}`; export r; \
17095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17096 $(HOST_EXPORTS) \
17097 (cd $(HOST_SUBDIR)/itcl && \
17098 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
17099 @endif itcl
17104 .PHONY: check-itcl maybe-check-itcl
17105 maybe-check-itcl:
17106 @if itcl
17107 maybe-check-itcl: check-itcl
17109 check-itcl:
17110 @: $(MAKE); $(unstage)
17111 @r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 $(HOST_EXPORTS) \
17114 (cd $(HOST_SUBDIR)/itcl && \
17115 $(MAKE) $(FLAGS_TO_PASS) check)
17117 @endif itcl
17119 .PHONY: install-itcl maybe-install-itcl
17120 maybe-install-itcl:
17121 @if itcl
17122 maybe-install-itcl: install-itcl
17124 install-itcl: installdirs
17125 @: $(MAKE); $(unstage)
17126 @r=`${PWD_COMMAND}`; export r; \
17127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17128 $(HOST_EXPORTS) \
17129 (cd $(HOST_SUBDIR)/itcl && \
17130 $(MAKE) $(FLAGS_TO_PASS) install)
17132 @endif itcl
17134 # Other targets (info, dvi, pdf, etc.)
17136 .PHONY: maybe-info-itcl info-itcl
17137 maybe-info-itcl:
17138 @if itcl
17139 maybe-info-itcl: info-itcl
17141 info-itcl: \
17142 configure-itcl
17143 @: $(MAKE); $(unstage)
17144 @[ -f ./itcl/Makefile ] || exit 0; \
17145 r=`${PWD_COMMAND}`; export r; \
17146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17147 $(HOST_EXPORTS) \
17148 for flag in $(EXTRA_HOST_FLAGS) ; do \
17149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17150 done; \
17151 echo "Doing info in itcl" ; \
17152 (cd $(HOST_SUBDIR)/itcl && \
17153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17155 "RANLIB=$${RANLIB}" \
17156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17157 info) \
17158 || exit 1
17160 @endif itcl
17162 .PHONY: maybe-dvi-itcl dvi-itcl
17163 maybe-dvi-itcl:
17164 @if itcl
17165 maybe-dvi-itcl: dvi-itcl
17167 dvi-itcl: \
17168 configure-itcl
17169 @: $(MAKE); $(unstage)
17170 @[ -f ./itcl/Makefile ] || exit 0; \
17171 r=`${PWD_COMMAND}`; export r; \
17172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17173 $(HOST_EXPORTS) \
17174 for flag in $(EXTRA_HOST_FLAGS) ; do \
17175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17176 done; \
17177 echo "Doing dvi in itcl" ; \
17178 (cd $(HOST_SUBDIR)/itcl && \
17179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17181 "RANLIB=$${RANLIB}" \
17182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17183 dvi) \
17184 || exit 1
17186 @endif itcl
17188 .PHONY: maybe-pdf-itcl pdf-itcl
17189 maybe-pdf-itcl:
17190 @if itcl
17191 maybe-pdf-itcl: pdf-itcl
17193 pdf-itcl: \
17194 configure-itcl
17195 @: $(MAKE); $(unstage)
17196 @[ -f ./itcl/Makefile ] || exit 0; \
17197 r=`${PWD_COMMAND}`; export r; \
17198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17199 $(HOST_EXPORTS) \
17200 for flag in $(EXTRA_HOST_FLAGS) ; do \
17201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17202 done; \
17203 echo "Doing pdf in itcl" ; \
17204 (cd $(HOST_SUBDIR)/itcl && \
17205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17207 "RANLIB=$${RANLIB}" \
17208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17209 pdf) \
17210 || exit 1
17212 @endif itcl
17214 .PHONY: maybe-html-itcl html-itcl
17215 maybe-html-itcl:
17216 @if itcl
17217 maybe-html-itcl: html-itcl
17219 html-itcl: \
17220 configure-itcl
17221 @: $(MAKE); $(unstage)
17222 @[ -f ./itcl/Makefile ] || exit 0; \
17223 r=`${PWD_COMMAND}`; export r; \
17224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17225 $(HOST_EXPORTS) \
17226 for flag in $(EXTRA_HOST_FLAGS) ; do \
17227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17228 done; \
17229 echo "Doing html in itcl" ; \
17230 (cd $(HOST_SUBDIR)/itcl && \
17231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17233 "RANLIB=$${RANLIB}" \
17234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17235 html) \
17236 || exit 1
17238 @endif itcl
17240 .PHONY: maybe-TAGS-itcl TAGS-itcl
17241 maybe-TAGS-itcl:
17242 @if itcl
17243 maybe-TAGS-itcl: TAGS-itcl
17245 TAGS-itcl: \
17246 configure-itcl
17247 @: $(MAKE); $(unstage)
17248 @[ -f ./itcl/Makefile ] || exit 0; \
17249 r=`${PWD_COMMAND}`; export r; \
17250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17251 $(HOST_EXPORTS) \
17252 for flag in $(EXTRA_HOST_FLAGS) ; do \
17253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17254 done; \
17255 echo "Doing TAGS in itcl" ; \
17256 (cd $(HOST_SUBDIR)/itcl && \
17257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17259 "RANLIB=$${RANLIB}" \
17260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17261 TAGS) \
17262 || exit 1
17264 @endif itcl
17266 .PHONY: maybe-install-info-itcl install-info-itcl
17267 maybe-install-info-itcl:
17268 @if itcl
17269 maybe-install-info-itcl: install-info-itcl
17271 install-info-itcl: \
17272 configure-itcl \
17273 info-itcl
17274 @: $(MAKE); $(unstage)
17275 @[ -f ./itcl/Makefile ] || exit 0; \
17276 r=`${PWD_COMMAND}`; export r; \
17277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17278 $(HOST_EXPORTS) \
17279 for flag in $(EXTRA_HOST_FLAGS) ; do \
17280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17281 done; \
17282 echo "Doing install-info in itcl" ; \
17283 (cd $(HOST_SUBDIR)/itcl && \
17284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17286 "RANLIB=$${RANLIB}" \
17287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17288 install-info) \
17289 || exit 1
17291 @endif itcl
17293 .PHONY: maybe-install-html-itcl install-html-itcl
17294 maybe-install-html-itcl:
17295 @if itcl
17296 maybe-install-html-itcl: install-html-itcl
17298 install-html-itcl: \
17299 configure-itcl \
17300 html-itcl
17301 @: $(MAKE); $(unstage)
17302 @[ -f ./itcl/Makefile ] || exit 0; \
17303 r=`${PWD_COMMAND}`; export r; \
17304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17305 $(HOST_EXPORTS) \
17306 for flag in $(EXTRA_HOST_FLAGS) ; do \
17307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17308 done; \
17309 echo "Doing install-html in itcl" ; \
17310 (cd $(HOST_SUBDIR)/itcl && \
17311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17313 "RANLIB=$${RANLIB}" \
17314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17315 install-html) \
17316 || exit 1
17318 @endif itcl
17320 .PHONY: maybe-installcheck-itcl installcheck-itcl
17321 maybe-installcheck-itcl:
17322 @if itcl
17323 maybe-installcheck-itcl: installcheck-itcl
17325 installcheck-itcl: \
17326 configure-itcl
17327 @: $(MAKE); $(unstage)
17328 @[ -f ./itcl/Makefile ] || exit 0; \
17329 r=`${PWD_COMMAND}`; export r; \
17330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17331 $(HOST_EXPORTS) \
17332 for flag in $(EXTRA_HOST_FLAGS) ; do \
17333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17334 done; \
17335 echo "Doing installcheck in itcl" ; \
17336 (cd $(HOST_SUBDIR)/itcl && \
17337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17339 "RANLIB=$${RANLIB}" \
17340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17341 installcheck) \
17342 || exit 1
17344 @endif itcl
17346 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
17347 maybe-mostlyclean-itcl:
17348 @if itcl
17349 maybe-mostlyclean-itcl: mostlyclean-itcl
17351 mostlyclean-itcl:
17352 @: $(MAKE); $(unstage)
17353 @[ -f ./itcl/Makefile ] || exit 0; \
17354 r=`${PWD_COMMAND}`; export r; \
17355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17356 $(HOST_EXPORTS) \
17357 for flag in $(EXTRA_HOST_FLAGS) ; do \
17358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17359 done; \
17360 echo "Doing mostlyclean in itcl" ; \
17361 (cd $(HOST_SUBDIR)/itcl && \
17362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17364 "RANLIB=$${RANLIB}" \
17365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17366 mostlyclean) \
17367 || exit 1
17369 @endif itcl
17371 .PHONY: maybe-clean-itcl clean-itcl
17372 maybe-clean-itcl:
17373 @if itcl
17374 maybe-clean-itcl: clean-itcl
17376 clean-itcl:
17377 @: $(MAKE); $(unstage)
17378 @[ -f ./itcl/Makefile ] || exit 0; \
17379 r=`${PWD_COMMAND}`; export r; \
17380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17381 $(HOST_EXPORTS) \
17382 for flag in $(EXTRA_HOST_FLAGS) ; do \
17383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17384 done; \
17385 echo "Doing clean in itcl" ; \
17386 (cd $(HOST_SUBDIR)/itcl && \
17387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17389 "RANLIB=$${RANLIB}" \
17390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17391 clean) \
17392 || exit 1
17394 @endif itcl
17396 .PHONY: maybe-distclean-itcl distclean-itcl
17397 maybe-distclean-itcl:
17398 @if itcl
17399 maybe-distclean-itcl: distclean-itcl
17401 distclean-itcl:
17402 @: $(MAKE); $(unstage)
17403 @[ -f ./itcl/Makefile ] || exit 0; \
17404 r=`${PWD_COMMAND}`; export r; \
17405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17406 $(HOST_EXPORTS) \
17407 for flag in $(EXTRA_HOST_FLAGS) ; do \
17408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17409 done; \
17410 echo "Doing distclean in itcl" ; \
17411 (cd $(HOST_SUBDIR)/itcl && \
17412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17414 "RANLIB=$${RANLIB}" \
17415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17416 distclean) \
17417 || exit 1
17419 @endif itcl
17421 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
17422 maybe-maintainer-clean-itcl:
17423 @if itcl
17424 maybe-maintainer-clean-itcl: maintainer-clean-itcl
17426 maintainer-clean-itcl:
17427 @: $(MAKE); $(unstage)
17428 @[ -f ./itcl/Makefile ] || exit 0; \
17429 r=`${PWD_COMMAND}`; export r; \
17430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17431 $(HOST_EXPORTS) \
17432 for flag in $(EXTRA_HOST_FLAGS) ; do \
17433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17434 done; \
17435 echo "Doing maintainer-clean in itcl" ; \
17436 (cd $(HOST_SUBDIR)/itcl && \
17437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17439 "RANLIB=$${RANLIB}" \
17440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17441 maintainer-clean) \
17442 || exit 1
17444 @endif itcl
17448 .PHONY: configure-ld maybe-configure-ld
17449 maybe-configure-ld:
17450 @if gcc-bootstrap
17451 configure-ld: stage_current
17452 @endif gcc-bootstrap
17453 @if ld
17454 maybe-configure-ld: configure-ld
17455 configure-ld:
17456 @r=`${PWD_COMMAND}`; export r; \
17457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17458 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17460 $(HOST_EXPORTS) \
17461 echo Configuring in $(HOST_SUBDIR)/ld; \
17462 cd "$(HOST_SUBDIR)/ld" || exit 1; \
17463 case $(srcdir) in \
17464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17465 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17467 esac; \
17468 srcdiroption="--srcdir=$${topdir}/ld"; \
17469 libsrcdir="$$s/ld"; \
17470 $(SHELL) $${libsrcdir}/configure \
17471 $(HOST_CONFIGARGS) $${srcdiroption} \
17472 || exit 1
17473 @endif ld
17477 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
17478 maybe-configure-stage1-ld:
17479 @if ld-bootstrap
17480 maybe-configure-stage1-ld: configure-stage1-ld
17481 configure-stage1-ld:
17482 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17483 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17484 @r=`${PWD_COMMAND}`; export r; \
17485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17486 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17487 $(HOST_EXPORTS) \
17488 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
17489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17490 cd $(HOST_SUBDIR)/ld || exit 1; \
17491 case $(srcdir) in \
17492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17493 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17495 esac; \
17496 srcdiroption="--srcdir=$${topdir}/ld"; \
17497 libsrcdir="$$s/ld"; \
17498 $(SHELL) $${libsrcdir}/configure \
17499 $(HOST_CONFIGARGS) $${srcdiroption} \
17501 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17502 @endif ld-bootstrap
17504 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
17505 maybe-configure-stage2-ld:
17506 @if ld-bootstrap
17507 maybe-configure-stage2-ld: configure-stage2-ld
17508 configure-stage2-ld:
17509 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17511 @r=`${PWD_COMMAND}`; export r; \
17512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17513 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17514 $(HOST_EXPORTS) \
17515 $(POSTSTAGE1_HOST_EXPORTS) \
17516 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
17517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17518 cd $(HOST_SUBDIR)/ld || exit 1; \
17519 case $(srcdir) in \
17520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17521 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17523 esac; \
17524 srcdiroption="--srcdir=$${topdir}/ld"; \
17525 libsrcdir="$$s/ld"; \
17526 $(SHELL) $${libsrcdir}/configure \
17527 $(HOST_CONFIGARGS) $${srcdiroption} \
17528 --with-build-libsubdir=$(HOST_SUBDIR) \
17529 @stage2_werror_flag@
17530 @endif ld-bootstrap
17532 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
17533 maybe-configure-stage3-ld:
17534 @if ld-bootstrap
17535 maybe-configure-stage3-ld: configure-stage3-ld
17536 configure-stage3-ld:
17537 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17539 @r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17542 $(HOST_EXPORTS) \
17543 $(POSTSTAGE1_HOST_EXPORTS) \
17544 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
17545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17546 cd $(HOST_SUBDIR)/ld || exit 1; \
17547 case $(srcdir) in \
17548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17549 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17551 esac; \
17552 srcdiroption="--srcdir=$${topdir}/ld"; \
17553 libsrcdir="$$s/ld"; \
17554 $(SHELL) $${libsrcdir}/configure \
17555 $(HOST_CONFIGARGS) $${srcdiroption} \
17556 --with-build-libsubdir=$(HOST_SUBDIR) \
17557 @stage2_werror_flag@
17558 @endif ld-bootstrap
17560 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
17561 maybe-configure-stage4-ld:
17562 @if ld-bootstrap
17563 maybe-configure-stage4-ld: configure-stage4-ld
17564 configure-stage4-ld:
17565 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/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 $(HOST_EXPORTS) \
17571 $(POSTSTAGE1_HOST_EXPORTS) \
17572 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
17573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17574 cd $(HOST_SUBDIR)/ld || exit 1; \
17575 case $(srcdir) in \
17576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17577 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17579 esac; \
17580 srcdiroption="--srcdir=$${topdir}/ld"; \
17581 libsrcdir="$$s/ld"; \
17582 $(SHELL) $${libsrcdir}/configure \
17583 $(HOST_CONFIGARGS) $${srcdiroption} \
17584 --with-build-libsubdir=$(HOST_SUBDIR) \
17585 @stage2_werror_flag@
17586 @endif ld-bootstrap
17588 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
17589 maybe-configure-stageprofile-ld:
17590 @if ld-bootstrap
17591 maybe-configure-stageprofile-ld: configure-stageprofile-ld
17592 configure-stageprofile-ld:
17593 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-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 $(POSTSTAGE1_HOST_EXPORTS) \
17600 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
17601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17602 cd $(HOST_SUBDIR)/ld || exit 1; \
17603 case $(srcdir) in \
17604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17605 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17607 esac; \
17608 srcdiroption="--srcdir=$${topdir}/ld"; \
17609 libsrcdir="$$s/ld"; \
17610 $(SHELL) $${libsrcdir}/configure \
17611 $(HOST_CONFIGARGS) $${srcdiroption} \
17612 --with-build-libsubdir=$(HOST_SUBDIR) \
17613 @stage2_werror_flag@
17614 @endif ld-bootstrap
17616 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
17617 maybe-configure-stagefeedback-ld:
17618 @if ld-bootstrap
17619 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
17620 configure-stagefeedback-ld:
17621 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17622 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17623 @r=`${PWD_COMMAND}`; export r; \
17624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17625 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17626 $(HOST_EXPORTS) \
17627 $(POSTSTAGE1_HOST_EXPORTS) \
17628 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
17629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17630 cd $(HOST_SUBDIR)/ld || exit 1; \
17631 case $(srcdir) in \
17632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17633 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17635 esac; \
17636 srcdiroption="--srcdir=$${topdir}/ld"; \
17637 libsrcdir="$$s/ld"; \
17638 $(SHELL) $${libsrcdir}/configure \
17639 $(HOST_CONFIGARGS) $${srcdiroption} \
17640 --with-build-libsubdir=$(HOST_SUBDIR) \
17641 @stage2_werror_flag@
17642 @endif ld-bootstrap
17648 .PHONY: all-ld maybe-all-ld
17649 maybe-all-ld:
17650 @if gcc-bootstrap
17651 all-ld: stage_current
17652 @endif gcc-bootstrap
17653 @if ld
17654 TARGET-ld=all
17655 maybe-all-ld: all-ld
17656 all-ld: configure-ld
17657 @r=`${PWD_COMMAND}`; export r; \
17658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17659 $(HOST_EXPORTS) \
17660 (cd $(HOST_SUBDIR)/ld && \
17661 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
17662 @endif ld
17666 .PHONY: all-stage1-ld maybe-all-stage1-ld
17667 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
17668 maybe-all-stage1-ld:
17669 maybe-clean-stage1-ld:
17670 @if ld-bootstrap
17671 maybe-all-stage1-ld: all-stage1-ld
17672 all-stage1: all-stage1-ld
17673 TARGET-stage1-ld = $(TARGET-ld)
17674 all-stage1-ld: configure-stage1-ld
17675 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17676 @r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 $(HOST_EXPORTS) \
17679 cd $(HOST_SUBDIR)/ld && \
17680 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17681 $(TARGET-stage1-ld)
17683 maybe-clean-stage1-ld: clean-stage1-ld
17684 clean-stage1: clean-stage1-ld
17685 clean-stage1-ld:
17686 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
17687 || exit 0 ; \
17688 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17689 cd $(HOST_SUBDIR)/ld && \
17690 $(MAKE) $(FLAGS_TO_PASS) \
17691 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17692 @endif ld-bootstrap
17695 .PHONY: all-stage2-ld maybe-all-stage2-ld
17696 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
17697 maybe-all-stage2-ld:
17698 maybe-clean-stage2-ld:
17699 @if ld-bootstrap
17700 maybe-all-stage2-ld: all-stage2-ld
17701 all-stage2: all-stage2-ld
17702 TARGET-stage2-ld = $(TARGET-ld)
17703 all-stage2-ld: configure-stage2-ld
17704 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17705 @r=`${PWD_COMMAND}`; export r; \
17706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17707 $(HOST_EXPORTS) \
17708 $(POSTSTAGE1_HOST_EXPORTS) \
17709 cd $(HOST_SUBDIR)/ld && \
17710 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17711 $(TARGET-stage2-ld)
17713 maybe-clean-stage2-ld: clean-stage2-ld
17714 clean-stage2: clean-stage2-ld
17715 clean-stage2-ld:
17716 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
17717 || exit 0 ; \
17718 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17719 cd $(HOST_SUBDIR)/ld && \
17720 $(MAKE) $(FLAGS_TO_PASS) \
17721 $(POSTSTAGE1_FLAGS_TO_PASS) \
17722 clean
17723 @endif ld-bootstrap
17726 .PHONY: all-stage3-ld maybe-all-stage3-ld
17727 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
17728 maybe-all-stage3-ld:
17729 maybe-clean-stage3-ld:
17730 @if ld-bootstrap
17731 maybe-all-stage3-ld: all-stage3-ld
17732 all-stage3: all-stage3-ld
17733 TARGET-stage3-ld = $(TARGET-ld)
17734 all-stage3-ld: configure-stage3-ld
17735 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17736 @r=`${PWD_COMMAND}`; export r; \
17737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17738 $(HOST_EXPORTS) \
17739 $(POSTSTAGE1_HOST_EXPORTS) \
17740 cd $(HOST_SUBDIR)/ld && \
17741 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17742 $(TARGET-stage3-ld)
17744 maybe-clean-stage3-ld: clean-stage3-ld
17745 clean-stage3: clean-stage3-ld
17746 clean-stage3-ld:
17747 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
17748 || exit 0 ; \
17749 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17750 cd $(HOST_SUBDIR)/ld && \
17751 $(MAKE) $(FLAGS_TO_PASS) \
17752 $(POSTSTAGE1_FLAGS_TO_PASS) \
17753 clean
17754 @endif ld-bootstrap
17757 .PHONY: all-stage4-ld maybe-all-stage4-ld
17758 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
17759 maybe-all-stage4-ld:
17760 maybe-clean-stage4-ld:
17761 @if ld-bootstrap
17762 maybe-all-stage4-ld: all-stage4-ld
17763 all-stage4: all-stage4-ld
17764 TARGET-stage4-ld = $(TARGET-ld)
17765 all-stage4-ld: configure-stage4-ld
17766 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17767 @r=`${PWD_COMMAND}`; export r; \
17768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17769 $(HOST_EXPORTS) \
17770 $(POSTSTAGE1_HOST_EXPORTS) \
17771 cd $(HOST_SUBDIR)/ld && \
17772 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17773 $(TARGET-stage4-ld)
17775 maybe-clean-stage4-ld: clean-stage4-ld
17776 clean-stage4: clean-stage4-ld
17777 clean-stage4-ld:
17778 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
17779 || exit 0 ; \
17780 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17781 cd $(HOST_SUBDIR)/ld && \
17782 $(MAKE) $(FLAGS_TO_PASS) \
17783 $(POSTSTAGE1_FLAGS_TO_PASS) \
17784 clean
17785 @endif ld-bootstrap
17788 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
17789 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
17790 maybe-all-stageprofile-ld:
17791 maybe-clean-stageprofile-ld:
17792 @if ld-bootstrap
17793 maybe-all-stageprofile-ld: all-stageprofile-ld
17794 all-stageprofile: all-stageprofile-ld
17795 TARGET-stageprofile-ld = $(TARGET-ld)
17796 all-stageprofile-ld: configure-stageprofile-ld
17797 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17798 @r=`${PWD_COMMAND}`; export r; \
17799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17800 $(HOST_EXPORTS) \
17801 $(POSTSTAGE1_HOST_EXPORTS) \
17802 cd $(HOST_SUBDIR)/ld && \
17803 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17804 $(TARGET-stageprofile-ld)
17806 maybe-clean-stageprofile-ld: clean-stageprofile-ld
17807 clean-stageprofile: clean-stageprofile-ld
17808 clean-stageprofile-ld:
17809 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
17810 || exit 0 ; \
17811 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17812 cd $(HOST_SUBDIR)/ld && \
17813 $(MAKE) $(FLAGS_TO_PASS) \
17814 $(POSTSTAGE1_FLAGS_TO_PASS) \
17815 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17816 @endif ld-bootstrap
17819 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
17820 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
17821 maybe-all-stagefeedback-ld:
17822 maybe-clean-stagefeedback-ld:
17823 @if ld-bootstrap
17824 maybe-all-stagefeedback-ld: all-stagefeedback-ld
17825 all-stagefeedback: all-stagefeedback-ld
17826 TARGET-stagefeedback-ld = $(TARGET-ld)
17827 all-stagefeedback-ld: configure-stagefeedback-ld
17828 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17829 @r=`${PWD_COMMAND}`; export r; \
17830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17831 $(HOST_EXPORTS) \
17832 $(POSTSTAGE1_HOST_EXPORTS) \
17833 cd $(HOST_SUBDIR)/ld && \
17834 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17835 $(TARGET-stagefeedback-ld)
17837 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
17838 clean-stagefeedback: clean-stagefeedback-ld
17839 clean-stagefeedback-ld:
17840 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
17841 || exit 0 ; \
17842 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17843 cd $(HOST_SUBDIR)/ld && \
17844 $(MAKE) $(FLAGS_TO_PASS) \
17845 $(POSTSTAGE1_FLAGS_TO_PASS) \
17846 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17847 @endif ld-bootstrap
17853 .PHONY: check-ld maybe-check-ld
17854 maybe-check-ld:
17855 @if ld
17856 maybe-check-ld: check-ld
17858 check-ld:
17859 @: $(MAKE); $(unstage)
17860 @r=`${PWD_COMMAND}`; export r; \
17861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17862 $(HOST_EXPORTS) \
17863 (cd $(HOST_SUBDIR)/ld && \
17864 $(MAKE) $(FLAGS_TO_PASS) check)
17866 @endif ld
17868 .PHONY: install-ld maybe-install-ld
17869 maybe-install-ld:
17870 @if ld
17871 maybe-install-ld: install-ld
17873 install-ld: installdirs
17874 @: $(MAKE); $(unstage)
17875 @r=`${PWD_COMMAND}`; export r; \
17876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17877 $(HOST_EXPORTS) \
17878 (cd $(HOST_SUBDIR)/ld && \
17879 $(MAKE) $(FLAGS_TO_PASS) install)
17881 @endif ld
17883 # Other targets (info, dvi, pdf, etc.)
17885 .PHONY: maybe-info-ld info-ld
17886 maybe-info-ld:
17887 @if ld
17888 maybe-info-ld: info-ld
17890 info-ld: \
17891 configure-ld
17892 @[ -f ./ld/Makefile ] || exit 0; \
17893 r=`${PWD_COMMAND}`; export r; \
17894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17895 $(HOST_EXPORTS) \
17896 for flag in $(EXTRA_HOST_FLAGS) ; do \
17897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17898 done; \
17899 echo "Doing info in ld" ; \
17900 (cd $(HOST_SUBDIR)/ld && \
17901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17903 "RANLIB=$${RANLIB}" \
17904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17905 info) \
17906 || exit 1
17908 @endif ld
17910 .PHONY: maybe-dvi-ld dvi-ld
17911 maybe-dvi-ld:
17912 @if ld
17913 maybe-dvi-ld: dvi-ld
17915 dvi-ld: \
17916 configure-ld
17917 @[ -f ./ld/Makefile ] || exit 0; \
17918 r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 $(HOST_EXPORTS) \
17921 for flag in $(EXTRA_HOST_FLAGS) ; do \
17922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17923 done; \
17924 echo "Doing dvi in ld" ; \
17925 (cd $(HOST_SUBDIR)/ld && \
17926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17928 "RANLIB=$${RANLIB}" \
17929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17930 dvi) \
17931 || exit 1
17933 @endif ld
17935 .PHONY: maybe-pdf-ld pdf-ld
17936 maybe-pdf-ld:
17937 @if ld
17938 maybe-pdf-ld: pdf-ld
17940 pdf-ld: \
17941 configure-ld
17942 @[ -f ./ld/Makefile ] || exit 0; \
17943 r=`${PWD_COMMAND}`; export r; \
17944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17945 $(HOST_EXPORTS) \
17946 for flag in $(EXTRA_HOST_FLAGS) ; do \
17947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17948 done; \
17949 echo "Doing pdf in ld" ; \
17950 (cd $(HOST_SUBDIR)/ld && \
17951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17953 "RANLIB=$${RANLIB}" \
17954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17955 pdf) \
17956 || exit 1
17958 @endif ld
17960 .PHONY: maybe-html-ld html-ld
17961 maybe-html-ld:
17962 @if ld
17963 maybe-html-ld: html-ld
17965 html-ld: \
17966 configure-ld
17967 @[ -f ./ld/Makefile ] || exit 0; \
17968 r=`${PWD_COMMAND}`; export r; \
17969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17970 $(HOST_EXPORTS) \
17971 for flag in $(EXTRA_HOST_FLAGS) ; do \
17972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17973 done; \
17974 echo "Doing html in ld" ; \
17975 (cd $(HOST_SUBDIR)/ld && \
17976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17978 "RANLIB=$${RANLIB}" \
17979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17980 html) \
17981 || exit 1
17983 @endif ld
17985 .PHONY: maybe-TAGS-ld TAGS-ld
17986 maybe-TAGS-ld:
17987 @if ld
17988 maybe-TAGS-ld: TAGS-ld
17990 TAGS-ld: \
17991 configure-ld
17992 @[ -f ./ld/Makefile ] || exit 0; \
17993 r=`${PWD_COMMAND}`; export r; \
17994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17995 $(HOST_EXPORTS) \
17996 for flag in $(EXTRA_HOST_FLAGS) ; do \
17997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17998 done; \
17999 echo "Doing TAGS in ld" ; \
18000 (cd $(HOST_SUBDIR)/ld && \
18001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18003 "RANLIB=$${RANLIB}" \
18004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18005 TAGS) \
18006 || exit 1
18008 @endif ld
18010 .PHONY: maybe-install-info-ld install-info-ld
18011 maybe-install-info-ld:
18012 @if ld
18013 maybe-install-info-ld: install-info-ld
18015 install-info-ld: \
18016 configure-ld \
18017 info-ld
18018 @[ -f ./ld/Makefile ] || exit 0; \
18019 r=`${PWD_COMMAND}`; export r; \
18020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18021 $(HOST_EXPORTS) \
18022 for flag in $(EXTRA_HOST_FLAGS) ; do \
18023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18024 done; \
18025 echo "Doing install-info in ld" ; \
18026 (cd $(HOST_SUBDIR)/ld && \
18027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18029 "RANLIB=$${RANLIB}" \
18030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18031 install-info) \
18032 || exit 1
18034 @endif ld
18036 .PHONY: maybe-install-html-ld install-html-ld
18037 maybe-install-html-ld:
18038 @if ld
18039 maybe-install-html-ld: install-html-ld
18041 install-html-ld: \
18042 configure-ld \
18043 html-ld
18044 @[ -f ./ld/Makefile ] || exit 0; \
18045 r=`${PWD_COMMAND}`; export r; \
18046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18047 $(HOST_EXPORTS) \
18048 for flag in $(EXTRA_HOST_FLAGS) ; do \
18049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18050 done; \
18051 echo "Doing install-html in ld" ; \
18052 (cd $(HOST_SUBDIR)/ld && \
18053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18055 "RANLIB=$${RANLIB}" \
18056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18057 install-html) \
18058 || exit 1
18060 @endif ld
18062 .PHONY: maybe-installcheck-ld installcheck-ld
18063 maybe-installcheck-ld:
18064 @if ld
18065 maybe-installcheck-ld: installcheck-ld
18067 installcheck-ld: \
18068 configure-ld
18069 @[ -f ./ld/Makefile ] || exit 0; \
18070 r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072 $(HOST_EXPORTS) \
18073 for flag in $(EXTRA_HOST_FLAGS) ; do \
18074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18075 done; \
18076 echo "Doing installcheck in ld" ; \
18077 (cd $(HOST_SUBDIR)/ld && \
18078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18080 "RANLIB=$${RANLIB}" \
18081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18082 installcheck) \
18083 || exit 1
18085 @endif ld
18087 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
18088 maybe-mostlyclean-ld:
18089 @if ld
18090 maybe-mostlyclean-ld: mostlyclean-ld
18092 mostlyclean-ld:
18093 @[ -f ./ld/Makefile ] || exit 0; \
18094 r=`${PWD_COMMAND}`; export r; \
18095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096 $(HOST_EXPORTS) \
18097 for flag in $(EXTRA_HOST_FLAGS) ; do \
18098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18099 done; \
18100 echo "Doing mostlyclean in ld" ; \
18101 (cd $(HOST_SUBDIR)/ld && \
18102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18104 "RANLIB=$${RANLIB}" \
18105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18106 mostlyclean) \
18107 || exit 1
18109 @endif ld
18111 .PHONY: maybe-clean-ld clean-ld
18112 maybe-clean-ld:
18113 @if ld
18114 maybe-clean-ld: clean-ld
18116 clean-ld:
18117 @[ -f ./ld/Makefile ] || exit 0; \
18118 r=`${PWD_COMMAND}`; export r; \
18119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 $(HOST_EXPORTS) \
18121 for flag in $(EXTRA_HOST_FLAGS) ; do \
18122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18123 done; \
18124 echo "Doing clean in ld" ; \
18125 (cd $(HOST_SUBDIR)/ld && \
18126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18128 "RANLIB=$${RANLIB}" \
18129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18130 clean) \
18131 || exit 1
18133 @endif ld
18135 .PHONY: maybe-distclean-ld distclean-ld
18136 maybe-distclean-ld:
18137 @if ld
18138 maybe-distclean-ld: distclean-ld
18140 distclean-ld:
18141 @[ -f ./ld/Makefile ] || exit 0; \
18142 r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18144 $(HOST_EXPORTS) \
18145 for flag in $(EXTRA_HOST_FLAGS) ; do \
18146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18147 done; \
18148 echo "Doing distclean in ld" ; \
18149 (cd $(HOST_SUBDIR)/ld && \
18150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18152 "RANLIB=$${RANLIB}" \
18153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18154 distclean) \
18155 || exit 1
18157 @endif ld
18159 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
18160 maybe-maintainer-clean-ld:
18161 @if ld
18162 maybe-maintainer-clean-ld: maintainer-clean-ld
18164 maintainer-clean-ld:
18165 @[ -f ./ld/Makefile ] || exit 0; \
18166 r=`${PWD_COMMAND}`; export r; \
18167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18168 $(HOST_EXPORTS) \
18169 for flag in $(EXTRA_HOST_FLAGS) ; do \
18170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18171 done; \
18172 echo "Doing maintainer-clean in ld" ; \
18173 (cd $(HOST_SUBDIR)/ld && \
18174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18176 "RANLIB=$${RANLIB}" \
18177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18178 maintainer-clean) \
18179 || exit 1
18181 @endif ld
18185 .PHONY: configure-libcpp maybe-configure-libcpp
18186 maybe-configure-libcpp:
18187 @if gcc-bootstrap
18188 configure-libcpp: stage_current
18189 @endif gcc-bootstrap
18190 @if libcpp
18191 maybe-configure-libcpp: configure-libcpp
18192 configure-libcpp:
18193 @r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18195 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18197 $(HOST_EXPORTS) \
18198 echo Configuring in $(HOST_SUBDIR)/libcpp; \
18199 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
18200 case $(srcdir) in \
18201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18202 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18204 esac; \
18205 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18206 libsrcdir="$$s/libcpp"; \
18207 $(SHELL) $${libsrcdir}/configure \
18208 $(HOST_CONFIGARGS) $${srcdiroption} \
18209 || exit 1
18210 @endif libcpp
18214 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
18215 maybe-configure-stage1-libcpp:
18216 @if libcpp-bootstrap
18217 maybe-configure-stage1-libcpp: configure-stage1-libcpp
18218 configure-stage1-libcpp:
18219 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18220 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18221 @r=`${PWD_COMMAND}`; export r; \
18222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18223 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18224 $(HOST_EXPORTS) \
18225 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
18226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18227 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18228 case $(srcdir) in \
18229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18230 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18232 esac; \
18233 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18234 libsrcdir="$$s/libcpp"; \
18235 $(SHELL) $${libsrcdir}/configure \
18236 $(HOST_CONFIGARGS) $${srcdiroption} \
18238 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18239 @endif libcpp-bootstrap
18241 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
18242 maybe-configure-stage2-libcpp:
18243 @if libcpp-bootstrap
18244 maybe-configure-stage2-libcpp: configure-stage2-libcpp
18245 configure-stage2-libcpp:
18246 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18248 @r=`${PWD_COMMAND}`; export r; \
18249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18250 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18251 $(HOST_EXPORTS) \
18252 $(POSTSTAGE1_HOST_EXPORTS) \
18253 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
18254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18255 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18256 case $(srcdir) in \
18257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18258 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18260 esac; \
18261 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18262 libsrcdir="$$s/libcpp"; \
18263 $(SHELL) $${libsrcdir}/configure \
18264 $(HOST_CONFIGARGS) $${srcdiroption} \
18265 --with-build-libsubdir=$(HOST_SUBDIR) \
18266 @stage2_werror_flag@
18267 @endif libcpp-bootstrap
18269 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
18270 maybe-configure-stage3-libcpp:
18271 @if libcpp-bootstrap
18272 maybe-configure-stage3-libcpp: configure-stage3-libcpp
18273 configure-stage3-libcpp:
18274 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18276 @r=`${PWD_COMMAND}`; export r; \
18277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18279 $(HOST_EXPORTS) \
18280 $(POSTSTAGE1_HOST_EXPORTS) \
18281 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
18282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18283 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18284 case $(srcdir) in \
18285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18286 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18288 esac; \
18289 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18290 libsrcdir="$$s/libcpp"; \
18291 $(SHELL) $${libsrcdir}/configure \
18292 $(HOST_CONFIGARGS) $${srcdiroption} \
18293 --with-build-libsubdir=$(HOST_SUBDIR) \
18294 @stage2_werror_flag@
18295 @endif libcpp-bootstrap
18297 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
18298 maybe-configure-stage4-libcpp:
18299 @if libcpp-bootstrap
18300 maybe-configure-stage4-libcpp: configure-stage4-libcpp
18301 configure-stage4-libcpp:
18302 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18304 @r=`${PWD_COMMAND}`; export r; \
18305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18306 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18307 $(HOST_EXPORTS) \
18308 $(POSTSTAGE1_HOST_EXPORTS) \
18309 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
18310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18311 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18312 case $(srcdir) in \
18313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18314 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18316 esac; \
18317 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18318 libsrcdir="$$s/libcpp"; \
18319 $(SHELL) $${libsrcdir}/configure \
18320 $(HOST_CONFIGARGS) $${srcdiroption} \
18321 --with-build-libsubdir=$(HOST_SUBDIR) \
18322 @stage2_werror_flag@
18323 @endif libcpp-bootstrap
18325 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
18326 maybe-configure-stageprofile-libcpp:
18327 @if libcpp-bootstrap
18328 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
18329 configure-stageprofile-libcpp:
18330 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18332 @r=`${PWD_COMMAND}`; export r; \
18333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18334 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18335 $(HOST_EXPORTS) \
18336 $(POSTSTAGE1_HOST_EXPORTS) \
18337 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
18338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18339 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18340 case $(srcdir) in \
18341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18342 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18344 esac; \
18345 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18346 libsrcdir="$$s/libcpp"; \
18347 $(SHELL) $${libsrcdir}/configure \
18348 $(HOST_CONFIGARGS) $${srcdiroption} \
18349 --with-build-libsubdir=$(HOST_SUBDIR) \
18350 @stage2_werror_flag@
18351 @endif libcpp-bootstrap
18353 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
18354 maybe-configure-stagefeedback-libcpp:
18355 @if libcpp-bootstrap
18356 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
18357 configure-stagefeedback-libcpp:
18358 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18360 @r=`${PWD_COMMAND}`; export r; \
18361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18362 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18363 $(HOST_EXPORTS) \
18364 $(POSTSTAGE1_HOST_EXPORTS) \
18365 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
18366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18367 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18368 case $(srcdir) in \
18369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18370 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18372 esac; \
18373 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18374 libsrcdir="$$s/libcpp"; \
18375 $(SHELL) $${libsrcdir}/configure \
18376 $(HOST_CONFIGARGS) $${srcdiroption} \
18377 --with-build-libsubdir=$(HOST_SUBDIR) \
18378 @stage2_werror_flag@
18379 @endif libcpp-bootstrap
18385 .PHONY: all-libcpp maybe-all-libcpp
18386 maybe-all-libcpp:
18387 @if gcc-bootstrap
18388 all-libcpp: stage_current
18389 @endif gcc-bootstrap
18390 @if libcpp
18391 TARGET-libcpp=all
18392 maybe-all-libcpp: all-libcpp
18393 all-libcpp: configure-libcpp
18394 @r=`${PWD_COMMAND}`; export r; \
18395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18396 $(HOST_EXPORTS) \
18397 (cd $(HOST_SUBDIR)/libcpp && \
18398 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
18399 @endif libcpp
18403 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
18404 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
18405 maybe-all-stage1-libcpp:
18406 maybe-clean-stage1-libcpp:
18407 @if libcpp-bootstrap
18408 maybe-all-stage1-libcpp: all-stage1-libcpp
18409 all-stage1: all-stage1-libcpp
18410 TARGET-stage1-libcpp = $(TARGET-libcpp)
18411 all-stage1-libcpp: configure-stage1-libcpp
18412 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18413 @r=`${PWD_COMMAND}`; export r; \
18414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18415 $(HOST_EXPORTS) \
18416 cd $(HOST_SUBDIR)/libcpp && \
18417 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18418 $(TARGET-stage1-libcpp)
18420 maybe-clean-stage1-libcpp: clean-stage1-libcpp
18421 clean-stage1: clean-stage1-libcpp
18422 clean-stage1-libcpp:
18423 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
18424 || exit 0 ; \
18425 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
18426 cd $(HOST_SUBDIR)/libcpp && \
18427 $(MAKE) $(FLAGS_TO_PASS) \
18428 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18429 @endif libcpp-bootstrap
18432 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
18433 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
18434 maybe-all-stage2-libcpp:
18435 maybe-clean-stage2-libcpp:
18436 @if libcpp-bootstrap
18437 maybe-all-stage2-libcpp: all-stage2-libcpp
18438 all-stage2: all-stage2-libcpp
18439 TARGET-stage2-libcpp = $(TARGET-libcpp)
18440 all-stage2-libcpp: configure-stage2-libcpp
18441 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18442 @r=`${PWD_COMMAND}`; export r; \
18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 $(HOST_EXPORTS) \
18445 $(POSTSTAGE1_HOST_EXPORTS) \
18446 cd $(HOST_SUBDIR)/libcpp && \
18447 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18448 $(TARGET-stage2-libcpp)
18450 maybe-clean-stage2-libcpp: clean-stage2-libcpp
18451 clean-stage2: clean-stage2-libcpp
18452 clean-stage2-libcpp:
18453 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
18454 || exit 0 ; \
18455 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18456 cd $(HOST_SUBDIR)/libcpp && \
18457 $(MAKE) $(FLAGS_TO_PASS) \
18458 $(POSTSTAGE1_FLAGS_TO_PASS) \
18459 clean
18460 @endif libcpp-bootstrap
18463 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
18464 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
18465 maybe-all-stage3-libcpp:
18466 maybe-clean-stage3-libcpp:
18467 @if libcpp-bootstrap
18468 maybe-all-stage3-libcpp: all-stage3-libcpp
18469 all-stage3: all-stage3-libcpp
18470 TARGET-stage3-libcpp = $(TARGET-libcpp)
18471 all-stage3-libcpp: configure-stage3-libcpp
18472 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18473 @r=`${PWD_COMMAND}`; export r; \
18474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18475 $(HOST_EXPORTS) \
18476 $(POSTSTAGE1_HOST_EXPORTS) \
18477 cd $(HOST_SUBDIR)/libcpp && \
18478 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18479 $(TARGET-stage3-libcpp)
18481 maybe-clean-stage3-libcpp: clean-stage3-libcpp
18482 clean-stage3: clean-stage3-libcpp
18483 clean-stage3-libcpp:
18484 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
18485 || exit 0 ; \
18486 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18487 cd $(HOST_SUBDIR)/libcpp && \
18488 $(MAKE) $(FLAGS_TO_PASS) \
18489 $(POSTSTAGE1_FLAGS_TO_PASS) \
18490 clean
18491 @endif libcpp-bootstrap
18494 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
18495 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
18496 maybe-all-stage4-libcpp:
18497 maybe-clean-stage4-libcpp:
18498 @if libcpp-bootstrap
18499 maybe-all-stage4-libcpp: all-stage4-libcpp
18500 all-stage4: all-stage4-libcpp
18501 TARGET-stage4-libcpp = $(TARGET-libcpp)
18502 all-stage4-libcpp: configure-stage4-libcpp
18503 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18504 @r=`${PWD_COMMAND}`; export r; \
18505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 $(HOST_EXPORTS) \
18507 $(POSTSTAGE1_HOST_EXPORTS) \
18508 cd $(HOST_SUBDIR)/libcpp && \
18509 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18510 $(TARGET-stage4-libcpp)
18512 maybe-clean-stage4-libcpp: clean-stage4-libcpp
18513 clean-stage4: clean-stage4-libcpp
18514 clean-stage4-libcpp:
18515 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
18516 || exit 0 ; \
18517 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18518 cd $(HOST_SUBDIR)/libcpp && \
18519 $(MAKE) $(FLAGS_TO_PASS) \
18520 $(POSTSTAGE1_FLAGS_TO_PASS) \
18521 clean
18522 @endif libcpp-bootstrap
18525 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
18526 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
18527 maybe-all-stageprofile-libcpp:
18528 maybe-clean-stageprofile-libcpp:
18529 @if libcpp-bootstrap
18530 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
18531 all-stageprofile: all-stageprofile-libcpp
18532 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
18533 all-stageprofile-libcpp: configure-stageprofile-libcpp
18534 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18535 @r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 $(HOST_EXPORTS) \
18538 $(POSTSTAGE1_HOST_EXPORTS) \
18539 cd $(HOST_SUBDIR)/libcpp && \
18540 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18541 $(TARGET-stageprofile-libcpp)
18543 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
18544 clean-stageprofile: clean-stageprofile-libcpp
18545 clean-stageprofile-libcpp:
18546 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
18547 || exit 0 ; \
18548 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18549 cd $(HOST_SUBDIR)/libcpp && \
18550 $(MAKE) $(FLAGS_TO_PASS) \
18551 $(POSTSTAGE1_FLAGS_TO_PASS) \
18552 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18553 @endif libcpp-bootstrap
18556 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
18557 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
18558 maybe-all-stagefeedback-libcpp:
18559 maybe-clean-stagefeedback-libcpp:
18560 @if libcpp-bootstrap
18561 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
18562 all-stagefeedback: all-stagefeedback-libcpp
18563 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
18564 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
18565 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18566 @r=`${PWD_COMMAND}`; export r; \
18567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18568 $(HOST_EXPORTS) \
18569 $(POSTSTAGE1_HOST_EXPORTS) \
18570 cd $(HOST_SUBDIR)/libcpp && \
18571 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18572 $(TARGET-stagefeedback-libcpp)
18574 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
18575 clean-stagefeedback: clean-stagefeedback-libcpp
18576 clean-stagefeedback-libcpp:
18577 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
18578 || exit 0 ; \
18579 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18580 cd $(HOST_SUBDIR)/libcpp && \
18581 $(MAKE) $(FLAGS_TO_PASS) \
18582 $(POSTSTAGE1_FLAGS_TO_PASS) \
18583 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18584 @endif libcpp-bootstrap
18590 .PHONY: check-libcpp maybe-check-libcpp
18591 maybe-check-libcpp:
18592 @if libcpp
18593 maybe-check-libcpp: check-libcpp
18595 check-libcpp:
18596 @: $(MAKE); $(unstage)
18597 @r=`${PWD_COMMAND}`; export r; \
18598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18599 $(HOST_EXPORTS) \
18600 (cd $(HOST_SUBDIR)/libcpp && \
18601 $(MAKE) $(FLAGS_TO_PASS) check)
18603 @endif libcpp
18605 .PHONY: install-libcpp maybe-install-libcpp
18606 maybe-install-libcpp:
18607 @if libcpp
18608 maybe-install-libcpp: install-libcpp
18610 install-libcpp: installdirs
18611 @: $(MAKE); $(unstage)
18612 @r=`${PWD_COMMAND}`; export r; \
18613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18614 $(HOST_EXPORTS) \
18615 (cd $(HOST_SUBDIR)/libcpp && \
18616 $(MAKE) $(FLAGS_TO_PASS) install)
18618 @endif libcpp
18620 # Other targets (info, dvi, pdf, etc.)
18622 .PHONY: maybe-info-libcpp info-libcpp
18623 maybe-info-libcpp:
18624 @if libcpp
18625 maybe-info-libcpp: info-libcpp
18627 info-libcpp: \
18628 configure-libcpp
18629 @[ -f ./libcpp/Makefile ] || exit 0; \
18630 r=`${PWD_COMMAND}`; export r; \
18631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18632 $(HOST_EXPORTS) \
18633 for flag in $(EXTRA_HOST_FLAGS) ; do \
18634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18635 done; \
18636 echo "Doing info in libcpp" ; \
18637 (cd $(HOST_SUBDIR)/libcpp && \
18638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18640 "RANLIB=$${RANLIB}" \
18641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18642 info) \
18643 || exit 1
18645 @endif libcpp
18647 .PHONY: maybe-dvi-libcpp dvi-libcpp
18648 maybe-dvi-libcpp:
18649 @if libcpp
18650 maybe-dvi-libcpp: dvi-libcpp
18652 dvi-libcpp: \
18653 configure-libcpp
18654 @[ -f ./libcpp/Makefile ] || exit 0; \
18655 r=`${PWD_COMMAND}`; export r; \
18656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18657 $(HOST_EXPORTS) \
18658 for flag in $(EXTRA_HOST_FLAGS) ; do \
18659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18660 done; \
18661 echo "Doing dvi in libcpp" ; \
18662 (cd $(HOST_SUBDIR)/libcpp && \
18663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18665 "RANLIB=$${RANLIB}" \
18666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18667 dvi) \
18668 || exit 1
18670 @endif libcpp
18672 .PHONY: maybe-pdf-libcpp pdf-libcpp
18673 maybe-pdf-libcpp:
18674 @if libcpp
18675 maybe-pdf-libcpp: pdf-libcpp
18677 pdf-libcpp: \
18678 configure-libcpp
18679 @[ -f ./libcpp/Makefile ] || exit 0; \
18680 r=`${PWD_COMMAND}`; export r; \
18681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18682 $(HOST_EXPORTS) \
18683 for flag in $(EXTRA_HOST_FLAGS) ; do \
18684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18685 done; \
18686 echo "Doing pdf in libcpp" ; \
18687 (cd $(HOST_SUBDIR)/libcpp && \
18688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18690 "RANLIB=$${RANLIB}" \
18691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18692 pdf) \
18693 || exit 1
18695 @endif libcpp
18697 .PHONY: maybe-html-libcpp html-libcpp
18698 maybe-html-libcpp:
18699 @if libcpp
18700 maybe-html-libcpp: html-libcpp
18702 html-libcpp: \
18703 configure-libcpp
18704 @[ -f ./libcpp/Makefile ] || exit 0; \
18705 r=`${PWD_COMMAND}`; export r; \
18706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18707 $(HOST_EXPORTS) \
18708 for flag in $(EXTRA_HOST_FLAGS) ; do \
18709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18710 done; \
18711 echo "Doing html in libcpp" ; \
18712 (cd $(HOST_SUBDIR)/libcpp && \
18713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18715 "RANLIB=$${RANLIB}" \
18716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18717 html) \
18718 || exit 1
18720 @endif libcpp
18722 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
18723 maybe-TAGS-libcpp:
18724 @if libcpp
18725 maybe-TAGS-libcpp: TAGS-libcpp
18727 TAGS-libcpp: \
18728 configure-libcpp
18729 @[ -f ./libcpp/Makefile ] || exit 0; \
18730 r=`${PWD_COMMAND}`; export r; \
18731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18732 $(HOST_EXPORTS) \
18733 for flag in $(EXTRA_HOST_FLAGS) ; do \
18734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18735 done; \
18736 echo "Doing TAGS in libcpp" ; \
18737 (cd $(HOST_SUBDIR)/libcpp && \
18738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18740 "RANLIB=$${RANLIB}" \
18741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18742 TAGS) \
18743 || exit 1
18745 @endif libcpp
18747 .PHONY: maybe-install-info-libcpp install-info-libcpp
18748 maybe-install-info-libcpp:
18749 @if libcpp
18750 maybe-install-info-libcpp: install-info-libcpp
18752 install-info-libcpp: \
18753 configure-libcpp \
18754 info-libcpp
18755 @[ -f ./libcpp/Makefile ] || exit 0; \
18756 r=`${PWD_COMMAND}`; export r; \
18757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18758 $(HOST_EXPORTS) \
18759 for flag in $(EXTRA_HOST_FLAGS) ; do \
18760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18761 done; \
18762 echo "Doing install-info in libcpp" ; \
18763 (cd $(HOST_SUBDIR)/libcpp && \
18764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18766 "RANLIB=$${RANLIB}" \
18767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18768 install-info) \
18769 || exit 1
18771 @endif libcpp
18773 .PHONY: maybe-install-html-libcpp install-html-libcpp
18774 maybe-install-html-libcpp:
18775 @if libcpp
18776 maybe-install-html-libcpp: install-html-libcpp
18778 install-html-libcpp: \
18779 configure-libcpp \
18780 html-libcpp
18781 @[ -f ./libcpp/Makefile ] || exit 0; \
18782 r=`${PWD_COMMAND}`; export r; \
18783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18784 $(HOST_EXPORTS) \
18785 for flag in $(EXTRA_HOST_FLAGS) ; do \
18786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18787 done; \
18788 echo "Doing install-html in libcpp" ; \
18789 (cd $(HOST_SUBDIR)/libcpp && \
18790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18792 "RANLIB=$${RANLIB}" \
18793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18794 install-html) \
18795 || exit 1
18797 @endif libcpp
18799 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
18800 maybe-installcheck-libcpp:
18801 @if libcpp
18802 maybe-installcheck-libcpp: installcheck-libcpp
18804 installcheck-libcpp: \
18805 configure-libcpp
18806 @[ -f ./libcpp/Makefile ] || exit 0; \
18807 r=`${PWD_COMMAND}`; export r; \
18808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18809 $(HOST_EXPORTS) \
18810 for flag in $(EXTRA_HOST_FLAGS) ; do \
18811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18812 done; \
18813 echo "Doing installcheck in libcpp" ; \
18814 (cd $(HOST_SUBDIR)/libcpp && \
18815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18817 "RANLIB=$${RANLIB}" \
18818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18819 installcheck) \
18820 || exit 1
18822 @endif libcpp
18824 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
18825 maybe-mostlyclean-libcpp:
18826 @if libcpp
18827 maybe-mostlyclean-libcpp: mostlyclean-libcpp
18829 mostlyclean-libcpp:
18830 @[ -f ./libcpp/Makefile ] || exit 0; \
18831 r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18833 $(HOST_EXPORTS) \
18834 for flag in $(EXTRA_HOST_FLAGS) ; do \
18835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18836 done; \
18837 echo "Doing mostlyclean in libcpp" ; \
18838 (cd $(HOST_SUBDIR)/libcpp && \
18839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18841 "RANLIB=$${RANLIB}" \
18842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18843 mostlyclean) \
18844 || exit 1
18846 @endif libcpp
18848 .PHONY: maybe-clean-libcpp clean-libcpp
18849 maybe-clean-libcpp:
18850 @if libcpp
18851 maybe-clean-libcpp: clean-libcpp
18853 clean-libcpp:
18854 @[ -f ./libcpp/Makefile ] || exit 0; \
18855 r=`${PWD_COMMAND}`; export r; \
18856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18857 $(HOST_EXPORTS) \
18858 for flag in $(EXTRA_HOST_FLAGS) ; do \
18859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18860 done; \
18861 echo "Doing clean in libcpp" ; \
18862 (cd $(HOST_SUBDIR)/libcpp && \
18863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18865 "RANLIB=$${RANLIB}" \
18866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18867 clean) \
18868 || exit 1
18870 @endif libcpp
18872 .PHONY: maybe-distclean-libcpp distclean-libcpp
18873 maybe-distclean-libcpp:
18874 @if libcpp
18875 maybe-distclean-libcpp: distclean-libcpp
18877 distclean-libcpp:
18878 @[ -f ./libcpp/Makefile ] || exit 0; \
18879 r=`${PWD_COMMAND}`; export r; \
18880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18881 $(HOST_EXPORTS) \
18882 for flag in $(EXTRA_HOST_FLAGS) ; do \
18883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18884 done; \
18885 echo "Doing distclean in libcpp" ; \
18886 (cd $(HOST_SUBDIR)/libcpp && \
18887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18889 "RANLIB=$${RANLIB}" \
18890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18891 distclean) \
18892 || exit 1
18894 @endif libcpp
18896 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
18897 maybe-maintainer-clean-libcpp:
18898 @if libcpp
18899 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
18901 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
18916 || exit 1
18918 @endif libcpp
18922 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
18923 maybe-configure-libdecnumber:
18924 @if gcc-bootstrap
18925 configure-libdecnumber: stage_current
18926 @endif gcc-bootstrap
18927 @if libdecnumber
18928 maybe-configure-libdecnumber: configure-libdecnumber
18929 configure-libdecnumber:
18930 @r=`${PWD_COMMAND}`; export r; \
18931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18932 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18934 $(HOST_EXPORTS) \
18935 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
18936 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
18937 case $(srcdir) in \
18938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18939 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18941 esac; \
18942 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18943 libsrcdir="$$s/libdecnumber"; \
18944 $(SHELL) $${libsrcdir}/configure \
18945 $(HOST_CONFIGARGS) $${srcdiroption} \
18946 || exit 1
18947 @endif libdecnumber
18951 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
18952 maybe-configure-stage1-libdecnumber:
18953 @if libdecnumber-bootstrap
18954 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
18955 configure-stage1-libdecnumber:
18956 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18957 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18958 @r=`${PWD_COMMAND}`; export r; \
18959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18960 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18961 $(HOST_EXPORTS) \
18962 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
18963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18964 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18965 case $(srcdir) in \
18966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18967 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18969 esac; \
18970 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18971 libsrcdir="$$s/libdecnumber"; \
18972 $(SHELL) $${libsrcdir}/configure \
18973 $(HOST_CONFIGARGS) $${srcdiroption} \
18975 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18976 @endif libdecnumber-bootstrap
18978 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
18979 maybe-configure-stage2-libdecnumber:
18980 @if libdecnumber-bootstrap
18981 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
18982 configure-stage2-libdecnumber:
18983 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18985 @r=`${PWD_COMMAND}`; export r; \
18986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18987 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18988 $(HOST_EXPORTS) \
18989 $(POSTSTAGE1_HOST_EXPORTS) \
18990 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
18991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18992 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18993 case $(srcdir) in \
18994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18995 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18997 esac; \
18998 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18999 libsrcdir="$$s/libdecnumber"; \
19000 $(SHELL) $${libsrcdir}/configure \
19001 $(HOST_CONFIGARGS) $${srcdiroption} \
19002 --with-build-libsubdir=$(HOST_SUBDIR) \
19003 @stage2_werror_flag@
19004 @endif libdecnumber-bootstrap
19006 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
19007 maybe-configure-stage3-libdecnumber:
19008 @if libdecnumber-bootstrap
19009 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
19010 configure-stage3-libdecnumber:
19011 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19013 @r=`${PWD_COMMAND}`; export r; \
19014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19015 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19016 $(HOST_EXPORTS) \
19017 $(POSTSTAGE1_HOST_EXPORTS) \
19018 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
19019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19020 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19021 case $(srcdir) in \
19022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19023 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19025 esac; \
19026 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19027 libsrcdir="$$s/libdecnumber"; \
19028 $(SHELL) $${libsrcdir}/configure \
19029 $(HOST_CONFIGARGS) $${srcdiroption} \
19030 --with-build-libsubdir=$(HOST_SUBDIR) \
19031 @stage2_werror_flag@
19032 @endif libdecnumber-bootstrap
19034 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
19035 maybe-configure-stage4-libdecnumber:
19036 @if libdecnumber-bootstrap
19037 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
19038 configure-stage4-libdecnumber:
19039 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19041 @r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19043 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19044 $(HOST_EXPORTS) \
19045 $(POSTSTAGE1_HOST_EXPORTS) \
19046 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
19047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19048 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19049 case $(srcdir) in \
19050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19051 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19053 esac; \
19054 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19055 libsrcdir="$$s/libdecnumber"; \
19056 $(SHELL) $${libsrcdir}/configure \
19057 $(HOST_CONFIGARGS) $${srcdiroption} \
19058 --with-build-libsubdir=$(HOST_SUBDIR) \
19059 @stage2_werror_flag@
19060 @endif libdecnumber-bootstrap
19062 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
19063 maybe-configure-stageprofile-libdecnumber:
19064 @if libdecnumber-bootstrap
19065 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19066 configure-stageprofile-libdecnumber:
19067 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19069 @r=`${PWD_COMMAND}`; export r; \
19070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19071 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19072 $(HOST_EXPORTS) \
19073 $(POSTSTAGE1_HOST_EXPORTS) \
19074 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
19075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19076 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19077 case $(srcdir) in \
19078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19079 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19081 esac; \
19082 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19083 libsrcdir="$$s/libdecnumber"; \
19084 $(SHELL) $${libsrcdir}/configure \
19085 $(HOST_CONFIGARGS) $${srcdiroption} \
19086 --with-build-libsubdir=$(HOST_SUBDIR) \
19087 @stage2_werror_flag@
19088 @endif libdecnumber-bootstrap
19090 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
19091 maybe-configure-stagefeedback-libdecnumber:
19092 @if libdecnumber-bootstrap
19093 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19094 configure-stagefeedback-libdecnumber:
19095 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19097 @r=`${PWD_COMMAND}`; export r; \
19098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19100 $(HOST_EXPORTS) \
19101 $(POSTSTAGE1_HOST_EXPORTS) \
19102 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
19103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19104 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19105 case $(srcdir) in \
19106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19107 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19109 esac; \
19110 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19111 libsrcdir="$$s/libdecnumber"; \
19112 $(SHELL) $${libsrcdir}/configure \
19113 $(HOST_CONFIGARGS) $${srcdiroption} \
19114 --with-build-libsubdir=$(HOST_SUBDIR) \
19115 @stage2_werror_flag@
19116 @endif libdecnumber-bootstrap
19122 .PHONY: all-libdecnumber maybe-all-libdecnumber
19123 maybe-all-libdecnumber:
19124 @if gcc-bootstrap
19125 all-libdecnumber: stage_current
19126 @endif gcc-bootstrap
19127 @if libdecnumber
19128 TARGET-libdecnumber=all
19129 maybe-all-libdecnumber: all-libdecnumber
19130 all-libdecnumber: configure-libdecnumber
19131 @r=`${PWD_COMMAND}`; export r; \
19132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19133 $(HOST_EXPORTS) \
19134 (cd $(HOST_SUBDIR)/libdecnumber && \
19135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
19136 @endif libdecnumber
19140 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
19141 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
19142 maybe-all-stage1-libdecnumber:
19143 maybe-clean-stage1-libdecnumber:
19144 @if libdecnumber-bootstrap
19145 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
19146 all-stage1: all-stage1-libdecnumber
19147 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
19148 all-stage1-libdecnumber: configure-stage1-libdecnumber
19149 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19150 @r=`${PWD_COMMAND}`; export r; \
19151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19152 $(HOST_EXPORTS) \
19153 cd $(HOST_SUBDIR)/libdecnumber && \
19154 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19155 $(TARGET-stage1-libdecnumber)
19157 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
19158 clean-stage1: clean-stage1-libdecnumber
19159 clean-stage1-libdecnumber:
19160 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
19161 || exit 0 ; \
19162 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
19163 cd $(HOST_SUBDIR)/libdecnumber && \
19164 $(MAKE) $(FLAGS_TO_PASS) \
19165 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19166 @endif libdecnumber-bootstrap
19169 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
19170 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
19171 maybe-all-stage2-libdecnumber:
19172 maybe-clean-stage2-libdecnumber:
19173 @if libdecnumber-bootstrap
19174 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
19175 all-stage2: all-stage2-libdecnumber
19176 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
19177 all-stage2-libdecnumber: configure-stage2-libdecnumber
19178 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19179 @r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 $(HOST_EXPORTS) \
19182 $(POSTSTAGE1_HOST_EXPORTS) \
19183 cd $(HOST_SUBDIR)/libdecnumber && \
19184 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19185 $(TARGET-stage2-libdecnumber)
19187 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
19188 clean-stage2: clean-stage2-libdecnumber
19189 clean-stage2-libdecnumber:
19190 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
19191 || exit 0 ; \
19192 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
19193 cd $(HOST_SUBDIR)/libdecnumber && \
19194 $(MAKE) $(FLAGS_TO_PASS) \
19195 $(POSTSTAGE1_FLAGS_TO_PASS) \
19196 clean
19197 @endif libdecnumber-bootstrap
19200 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
19201 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
19202 maybe-all-stage3-libdecnumber:
19203 maybe-clean-stage3-libdecnumber:
19204 @if libdecnumber-bootstrap
19205 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
19206 all-stage3: all-stage3-libdecnumber
19207 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
19208 all-stage3-libdecnumber: configure-stage3-libdecnumber
19209 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19210 @r=`${PWD_COMMAND}`; export r; \
19211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19212 $(HOST_EXPORTS) \
19213 $(POSTSTAGE1_HOST_EXPORTS) \
19214 cd $(HOST_SUBDIR)/libdecnumber && \
19215 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19216 $(TARGET-stage3-libdecnumber)
19218 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
19219 clean-stage3: clean-stage3-libdecnumber
19220 clean-stage3-libdecnumber:
19221 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
19222 || exit 0 ; \
19223 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
19224 cd $(HOST_SUBDIR)/libdecnumber && \
19225 $(MAKE) $(FLAGS_TO_PASS) \
19226 $(POSTSTAGE1_FLAGS_TO_PASS) \
19227 clean
19228 @endif libdecnumber-bootstrap
19231 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
19232 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
19233 maybe-all-stage4-libdecnumber:
19234 maybe-clean-stage4-libdecnumber:
19235 @if libdecnumber-bootstrap
19236 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
19237 all-stage4: all-stage4-libdecnumber
19238 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
19239 all-stage4-libdecnumber: configure-stage4-libdecnumber
19240 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19241 @r=`${PWD_COMMAND}`; export r; \
19242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19243 $(HOST_EXPORTS) \
19244 $(POSTSTAGE1_HOST_EXPORTS) \
19245 cd $(HOST_SUBDIR)/libdecnumber && \
19246 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19247 $(TARGET-stage4-libdecnumber)
19249 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
19250 clean-stage4: clean-stage4-libdecnumber
19251 clean-stage4-libdecnumber:
19252 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
19253 || exit 0 ; \
19254 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
19255 cd $(HOST_SUBDIR)/libdecnumber && \
19256 $(MAKE) $(FLAGS_TO_PASS) \
19257 $(POSTSTAGE1_FLAGS_TO_PASS) \
19258 clean
19259 @endif libdecnumber-bootstrap
19262 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
19263 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
19264 maybe-all-stageprofile-libdecnumber:
19265 maybe-clean-stageprofile-libdecnumber:
19266 @if libdecnumber-bootstrap
19267 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
19268 all-stageprofile: all-stageprofile-libdecnumber
19269 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
19270 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19271 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19272 @r=`${PWD_COMMAND}`; export r; \
19273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19274 $(HOST_EXPORTS) \
19275 $(POSTSTAGE1_HOST_EXPORTS) \
19276 cd $(HOST_SUBDIR)/libdecnumber && \
19277 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19278 $(TARGET-stageprofile-libdecnumber)
19280 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
19281 clean-stageprofile: clean-stageprofile-libdecnumber
19282 clean-stageprofile-libdecnumber:
19283 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
19284 || exit 0 ; \
19285 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
19286 cd $(HOST_SUBDIR)/libdecnumber && \
19287 $(MAKE) $(FLAGS_TO_PASS) \
19288 $(POSTSTAGE1_FLAGS_TO_PASS) \
19289 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19290 @endif libdecnumber-bootstrap
19293 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
19294 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
19295 maybe-all-stagefeedback-libdecnumber:
19296 maybe-clean-stagefeedback-libdecnumber:
19297 @if libdecnumber-bootstrap
19298 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
19299 all-stagefeedback: all-stagefeedback-libdecnumber
19300 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
19301 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19302 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19303 @r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 $(POSTSTAGE1_HOST_EXPORTS) \
19307 cd $(HOST_SUBDIR)/libdecnumber && \
19308 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19309 $(TARGET-stagefeedback-libdecnumber)
19311 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
19312 clean-stagefeedback: clean-stagefeedback-libdecnumber
19313 clean-stagefeedback-libdecnumber:
19314 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
19315 || exit 0 ; \
19316 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
19317 cd $(HOST_SUBDIR)/libdecnumber && \
19318 $(MAKE) $(FLAGS_TO_PASS) \
19319 $(POSTSTAGE1_FLAGS_TO_PASS) \
19320 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19321 @endif libdecnumber-bootstrap
19327 .PHONY: check-libdecnumber maybe-check-libdecnumber
19328 maybe-check-libdecnumber:
19329 @if libdecnumber
19330 maybe-check-libdecnumber: check-libdecnumber
19332 check-libdecnumber:
19333 @: $(MAKE); $(unstage)
19334 @r=`${PWD_COMMAND}`; export r; \
19335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19336 $(HOST_EXPORTS) \
19337 (cd $(HOST_SUBDIR)/libdecnumber && \
19338 $(MAKE) $(FLAGS_TO_PASS) check)
19340 @endif libdecnumber
19342 .PHONY: install-libdecnumber maybe-install-libdecnumber
19343 maybe-install-libdecnumber:
19344 @if libdecnumber
19345 maybe-install-libdecnumber: install-libdecnumber
19347 install-libdecnumber: installdirs
19348 @: $(MAKE); $(unstage)
19349 @r=`${PWD_COMMAND}`; export r; \
19350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19351 $(HOST_EXPORTS) \
19352 (cd $(HOST_SUBDIR)/libdecnumber && \
19353 $(MAKE) $(FLAGS_TO_PASS) install)
19355 @endif libdecnumber
19357 # Other targets (info, dvi, pdf, etc.)
19359 .PHONY: maybe-info-libdecnumber info-libdecnumber
19360 maybe-info-libdecnumber:
19361 @if libdecnumber
19362 maybe-info-libdecnumber: info-libdecnumber
19364 info-libdecnumber: \
19365 configure-libdecnumber
19366 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19367 r=`${PWD_COMMAND}`; export r; \
19368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19369 $(HOST_EXPORTS) \
19370 for flag in $(EXTRA_HOST_FLAGS) ; do \
19371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19372 done; \
19373 echo "Doing info in libdecnumber" ; \
19374 (cd $(HOST_SUBDIR)/libdecnumber && \
19375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19377 "RANLIB=$${RANLIB}" \
19378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19379 info) \
19380 || exit 1
19382 @endif libdecnumber
19384 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
19385 maybe-dvi-libdecnumber:
19386 @if libdecnumber
19387 maybe-dvi-libdecnumber: dvi-libdecnumber
19389 dvi-libdecnumber: \
19390 configure-libdecnumber
19391 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19392 r=`${PWD_COMMAND}`; export r; \
19393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19394 $(HOST_EXPORTS) \
19395 for flag in $(EXTRA_HOST_FLAGS) ; do \
19396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19397 done; \
19398 echo "Doing dvi in libdecnumber" ; \
19399 (cd $(HOST_SUBDIR)/libdecnumber && \
19400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19402 "RANLIB=$${RANLIB}" \
19403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19404 dvi) \
19405 || exit 1
19407 @endif libdecnumber
19409 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
19410 maybe-pdf-libdecnumber:
19411 @if libdecnumber
19412 maybe-pdf-libdecnumber: pdf-libdecnumber
19414 pdf-libdecnumber: \
19415 configure-libdecnumber
19416 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19417 r=`${PWD_COMMAND}`; export r; \
19418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19419 $(HOST_EXPORTS) \
19420 for flag in $(EXTRA_HOST_FLAGS) ; do \
19421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19422 done; \
19423 echo "Doing pdf in libdecnumber" ; \
19424 (cd $(HOST_SUBDIR)/libdecnumber && \
19425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19427 "RANLIB=$${RANLIB}" \
19428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19429 pdf) \
19430 || exit 1
19432 @endif libdecnumber
19434 .PHONY: maybe-html-libdecnumber html-libdecnumber
19435 maybe-html-libdecnumber:
19436 @if libdecnumber
19437 maybe-html-libdecnumber: html-libdecnumber
19439 html-libdecnumber: \
19440 configure-libdecnumber
19441 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19442 r=`${PWD_COMMAND}`; export r; \
19443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19444 $(HOST_EXPORTS) \
19445 for flag in $(EXTRA_HOST_FLAGS) ; do \
19446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19447 done; \
19448 echo "Doing html in libdecnumber" ; \
19449 (cd $(HOST_SUBDIR)/libdecnumber && \
19450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19452 "RANLIB=$${RANLIB}" \
19453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19454 html) \
19455 || exit 1
19457 @endif libdecnumber
19459 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
19460 maybe-TAGS-libdecnumber:
19461 @if libdecnumber
19462 maybe-TAGS-libdecnumber: TAGS-libdecnumber
19464 TAGS-libdecnumber: \
19465 configure-libdecnumber
19466 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19467 r=`${PWD_COMMAND}`; export r; \
19468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19469 $(HOST_EXPORTS) \
19470 for flag in $(EXTRA_HOST_FLAGS) ; do \
19471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19472 done; \
19473 echo "Doing TAGS in libdecnumber" ; \
19474 (cd $(HOST_SUBDIR)/libdecnumber && \
19475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19477 "RANLIB=$${RANLIB}" \
19478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19479 TAGS) \
19480 || exit 1
19482 @endif libdecnumber
19484 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
19485 maybe-install-info-libdecnumber:
19486 @if libdecnumber
19487 maybe-install-info-libdecnumber: install-info-libdecnumber
19489 install-info-libdecnumber: \
19490 configure-libdecnumber \
19491 info-libdecnumber
19492 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19493 r=`${PWD_COMMAND}`; export r; \
19494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19495 $(HOST_EXPORTS) \
19496 for flag in $(EXTRA_HOST_FLAGS) ; do \
19497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19498 done; \
19499 echo "Doing install-info in libdecnumber" ; \
19500 (cd $(HOST_SUBDIR)/libdecnumber && \
19501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19503 "RANLIB=$${RANLIB}" \
19504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19505 install-info) \
19506 || exit 1
19508 @endif libdecnumber
19510 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
19511 maybe-install-html-libdecnumber:
19512 @if libdecnumber
19513 maybe-install-html-libdecnumber: install-html-libdecnumber
19515 install-html-libdecnumber: \
19516 configure-libdecnumber \
19517 html-libdecnumber
19518 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19519 r=`${PWD_COMMAND}`; export r; \
19520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19521 $(HOST_EXPORTS) \
19522 for flag in $(EXTRA_HOST_FLAGS) ; do \
19523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19524 done; \
19525 echo "Doing install-html in libdecnumber" ; \
19526 (cd $(HOST_SUBDIR)/libdecnumber && \
19527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19529 "RANLIB=$${RANLIB}" \
19530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19531 install-html) \
19532 || exit 1
19534 @endif libdecnumber
19536 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
19537 maybe-installcheck-libdecnumber:
19538 @if libdecnumber
19539 maybe-installcheck-libdecnumber: installcheck-libdecnumber
19541 installcheck-libdecnumber: \
19542 configure-libdecnumber
19543 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19544 r=`${PWD_COMMAND}`; export r; \
19545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19546 $(HOST_EXPORTS) \
19547 for flag in $(EXTRA_HOST_FLAGS) ; do \
19548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19549 done; \
19550 echo "Doing installcheck in libdecnumber" ; \
19551 (cd $(HOST_SUBDIR)/libdecnumber && \
19552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19554 "RANLIB=$${RANLIB}" \
19555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19556 installcheck) \
19557 || exit 1
19559 @endif libdecnumber
19561 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
19562 maybe-mostlyclean-libdecnumber:
19563 @if libdecnumber
19564 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
19566 mostlyclean-libdecnumber:
19567 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19568 r=`${PWD_COMMAND}`; export r; \
19569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19570 $(HOST_EXPORTS) \
19571 for flag in $(EXTRA_HOST_FLAGS) ; do \
19572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19573 done; \
19574 echo "Doing mostlyclean in libdecnumber" ; \
19575 (cd $(HOST_SUBDIR)/libdecnumber && \
19576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19578 "RANLIB=$${RANLIB}" \
19579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19580 mostlyclean) \
19581 || exit 1
19583 @endif libdecnumber
19585 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
19586 maybe-clean-libdecnumber:
19587 @if libdecnumber
19588 maybe-clean-libdecnumber: clean-libdecnumber
19590 clean-libdecnumber:
19591 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19592 r=`${PWD_COMMAND}`; export r; \
19593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19594 $(HOST_EXPORTS) \
19595 for flag in $(EXTRA_HOST_FLAGS) ; do \
19596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19597 done; \
19598 echo "Doing clean in libdecnumber" ; \
19599 (cd $(HOST_SUBDIR)/libdecnumber && \
19600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19602 "RANLIB=$${RANLIB}" \
19603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19604 clean) \
19605 || exit 1
19607 @endif libdecnumber
19609 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
19610 maybe-distclean-libdecnumber:
19611 @if libdecnumber
19612 maybe-distclean-libdecnumber: distclean-libdecnumber
19614 distclean-libdecnumber:
19615 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19616 r=`${PWD_COMMAND}`; export r; \
19617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19618 $(HOST_EXPORTS) \
19619 for flag in $(EXTRA_HOST_FLAGS) ; do \
19620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19621 done; \
19622 echo "Doing distclean in libdecnumber" ; \
19623 (cd $(HOST_SUBDIR)/libdecnumber && \
19624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19626 "RANLIB=$${RANLIB}" \
19627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19628 distclean) \
19629 || exit 1
19631 @endif libdecnumber
19633 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
19634 maybe-maintainer-clean-libdecnumber:
19635 @if libdecnumber
19636 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
19638 maintainer-clean-libdecnumber:
19639 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19640 r=`${PWD_COMMAND}`; export r; \
19641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19642 $(HOST_EXPORTS) \
19643 for flag in $(EXTRA_HOST_FLAGS) ; do \
19644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19645 done; \
19646 echo "Doing maintainer-clean in libdecnumber" ; \
19647 (cd $(HOST_SUBDIR)/libdecnumber && \
19648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19650 "RANLIB=$${RANLIB}" \
19651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19652 maintainer-clean) \
19653 || exit 1
19655 @endif libdecnumber
19659 .PHONY: configure-libgui maybe-configure-libgui
19660 maybe-configure-libgui:
19661 @if gcc-bootstrap
19662 configure-libgui: stage_current
19663 @endif gcc-bootstrap
19664 @if libgui
19665 maybe-configure-libgui: configure-libgui
19666 configure-libgui:
19667 @: $(MAKE); $(unstage)
19668 @r=`${PWD_COMMAND}`; export r; \
19669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19670 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
19671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
19672 $(HOST_EXPORTS) \
19673 echo Configuring in $(HOST_SUBDIR)/libgui; \
19674 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
19675 case $(srcdir) in \
19676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19677 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
19678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19679 esac; \
19680 srcdiroption="--srcdir=$${topdir}/libgui"; \
19681 libsrcdir="$$s/libgui"; \
19682 $(SHELL) $${libsrcdir}/configure \
19683 $(HOST_CONFIGARGS) $${srcdiroption} \
19684 || exit 1
19685 @endif libgui
19691 .PHONY: all-libgui maybe-all-libgui
19692 maybe-all-libgui:
19693 @if gcc-bootstrap
19694 all-libgui: stage_current
19695 @endif gcc-bootstrap
19696 @if libgui
19697 TARGET-libgui=all
19698 maybe-all-libgui: all-libgui
19699 all-libgui: configure-libgui
19700 @: $(MAKE); $(unstage)
19701 @r=`${PWD_COMMAND}`; export r; \
19702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19703 $(HOST_EXPORTS) \
19704 (cd $(HOST_SUBDIR)/libgui && \
19705 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
19706 @endif libgui
19711 .PHONY: check-libgui maybe-check-libgui
19712 maybe-check-libgui:
19713 @if libgui
19714 maybe-check-libgui: check-libgui
19716 check-libgui:
19717 @: $(MAKE); $(unstage)
19718 @r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 $(HOST_EXPORTS) \
19721 (cd $(HOST_SUBDIR)/libgui && \
19722 $(MAKE) $(FLAGS_TO_PASS) check)
19724 @endif libgui
19726 .PHONY: install-libgui maybe-install-libgui
19727 maybe-install-libgui:
19728 @if libgui
19729 maybe-install-libgui: install-libgui
19731 install-libgui: installdirs
19732 @: $(MAKE); $(unstage)
19733 @r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(HOST_EXPORTS) \
19736 (cd $(HOST_SUBDIR)/libgui && \
19737 $(MAKE) $(FLAGS_TO_PASS) install)
19739 @endif libgui
19741 # Other targets (info, dvi, pdf, etc.)
19743 .PHONY: maybe-info-libgui info-libgui
19744 maybe-info-libgui:
19745 @if libgui
19746 maybe-info-libgui: info-libgui
19748 info-libgui: \
19749 configure-libgui
19750 @: $(MAKE); $(unstage)
19751 @[ -f ./libgui/Makefile ] || exit 0; \
19752 r=`${PWD_COMMAND}`; export r; \
19753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19754 $(HOST_EXPORTS) \
19755 for flag in $(EXTRA_HOST_FLAGS) ; do \
19756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19757 done; \
19758 echo "Doing info in libgui" ; \
19759 (cd $(HOST_SUBDIR)/libgui && \
19760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19762 "RANLIB=$${RANLIB}" \
19763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19764 info) \
19765 || exit 1
19767 @endif libgui
19769 .PHONY: maybe-dvi-libgui dvi-libgui
19770 maybe-dvi-libgui:
19771 @if libgui
19772 maybe-dvi-libgui: dvi-libgui
19774 dvi-libgui: \
19775 configure-libgui
19776 @: $(MAKE); $(unstage)
19777 @[ -f ./libgui/Makefile ] || exit 0; \
19778 r=`${PWD_COMMAND}`; export r; \
19779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19780 $(HOST_EXPORTS) \
19781 for flag in $(EXTRA_HOST_FLAGS) ; do \
19782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19783 done; \
19784 echo "Doing dvi in libgui" ; \
19785 (cd $(HOST_SUBDIR)/libgui && \
19786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19788 "RANLIB=$${RANLIB}" \
19789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19790 dvi) \
19791 || exit 1
19793 @endif libgui
19795 .PHONY: maybe-pdf-libgui pdf-libgui
19796 maybe-pdf-libgui:
19797 @if libgui
19798 maybe-pdf-libgui: pdf-libgui
19800 pdf-libgui: \
19801 configure-libgui
19802 @: $(MAKE); $(unstage)
19803 @[ -f ./libgui/Makefile ] || exit 0; \
19804 r=`${PWD_COMMAND}`; export r; \
19805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19806 $(HOST_EXPORTS) \
19807 for flag in $(EXTRA_HOST_FLAGS) ; do \
19808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19809 done; \
19810 echo "Doing pdf in libgui" ; \
19811 (cd $(HOST_SUBDIR)/libgui && \
19812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19814 "RANLIB=$${RANLIB}" \
19815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19816 pdf) \
19817 || exit 1
19819 @endif libgui
19821 .PHONY: maybe-html-libgui html-libgui
19822 maybe-html-libgui:
19823 @if libgui
19824 maybe-html-libgui: html-libgui
19826 html-libgui: \
19827 configure-libgui
19828 @: $(MAKE); $(unstage)
19829 @[ -f ./libgui/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(HOST_EXPORTS) \
19833 for flag in $(EXTRA_HOST_FLAGS) ; do \
19834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19835 done; \
19836 echo "Doing html in libgui" ; \
19837 (cd $(HOST_SUBDIR)/libgui && \
19838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19840 "RANLIB=$${RANLIB}" \
19841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19842 html) \
19843 || exit 1
19845 @endif libgui
19847 .PHONY: maybe-TAGS-libgui TAGS-libgui
19848 maybe-TAGS-libgui:
19849 @if libgui
19850 maybe-TAGS-libgui: TAGS-libgui
19852 TAGS-libgui: \
19853 configure-libgui
19854 @: $(MAKE); $(unstage)
19855 @[ -f ./libgui/Makefile ] || exit 0; \
19856 r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19858 $(HOST_EXPORTS) \
19859 for flag in $(EXTRA_HOST_FLAGS) ; do \
19860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19861 done; \
19862 echo "Doing TAGS in libgui" ; \
19863 (cd $(HOST_SUBDIR)/libgui && \
19864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19866 "RANLIB=$${RANLIB}" \
19867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19868 TAGS) \
19869 || exit 1
19871 @endif libgui
19873 .PHONY: maybe-install-info-libgui install-info-libgui
19874 maybe-install-info-libgui:
19875 @if libgui
19876 maybe-install-info-libgui: install-info-libgui
19878 install-info-libgui: \
19879 configure-libgui \
19880 info-libgui
19881 @: $(MAKE); $(unstage)
19882 @[ -f ./libgui/Makefile ] || exit 0; \
19883 r=`${PWD_COMMAND}`; export r; \
19884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19885 $(HOST_EXPORTS) \
19886 for flag in $(EXTRA_HOST_FLAGS) ; do \
19887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19888 done; \
19889 echo "Doing install-info in libgui" ; \
19890 (cd $(HOST_SUBDIR)/libgui && \
19891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19893 "RANLIB=$${RANLIB}" \
19894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19895 install-info) \
19896 || exit 1
19898 @endif libgui
19900 .PHONY: maybe-install-html-libgui install-html-libgui
19901 maybe-install-html-libgui:
19902 @if libgui
19903 maybe-install-html-libgui: install-html-libgui
19905 install-html-libgui: \
19906 configure-libgui \
19907 html-libgui
19908 @: $(MAKE); $(unstage)
19909 @[ -f ./libgui/Makefile ] || exit 0; \
19910 r=`${PWD_COMMAND}`; export r; \
19911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19912 $(HOST_EXPORTS) \
19913 for flag in $(EXTRA_HOST_FLAGS) ; do \
19914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19915 done; \
19916 echo "Doing install-html in libgui" ; \
19917 (cd $(HOST_SUBDIR)/libgui && \
19918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19920 "RANLIB=$${RANLIB}" \
19921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19922 install-html) \
19923 || exit 1
19925 @endif libgui
19927 .PHONY: maybe-installcheck-libgui installcheck-libgui
19928 maybe-installcheck-libgui:
19929 @if libgui
19930 maybe-installcheck-libgui: installcheck-libgui
19932 installcheck-libgui: \
19933 configure-libgui
19934 @: $(MAKE); $(unstage)
19935 @[ -f ./libgui/Makefile ] || exit 0; \
19936 r=`${PWD_COMMAND}`; export r; \
19937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19938 $(HOST_EXPORTS) \
19939 for flag in $(EXTRA_HOST_FLAGS) ; do \
19940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19941 done; \
19942 echo "Doing installcheck in libgui" ; \
19943 (cd $(HOST_SUBDIR)/libgui && \
19944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19946 "RANLIB=$${RANLIB}" \
19947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19948 installcheck) \
19949 || exit 1
19951 @endif libgui
19953 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
19954 maybe-mostlyclean-libgui:
19955 @if libgui
19956 maybe-mostlyclean-libgui: mostlyclean-libgui
19958 mostlyclean-libgui:
19959 @: $(MAKE); $(unstage)
19960 @[ -f ./libgui/Makefile ] || exit 0; \
19961 r=`${PWD_COMMAND}`; export r; \
19962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19963 $(HOST_EXPORTS) \
19964 for flag in $(EXTRA_HOST_FLAGS) ; do \
19965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19966 done; \
19967 echo "Doing mostlyclean in libgui" ; \
19968 (cd $(HOST_SUBDIR)/libgui && \
19969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19971 "RANLIB=$${RANLIB}" \
19972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19973 mostlyclean) \
19974 || exit 1
19976 @endif libgui
19978 .PHONY: maybe-clean-libgui clean-libgui
19979 maybe-clean-libgui:
19980 @if libgui
19981 maybe-clean-libgui: clean-libgui
19983 clean-libgui:
19984 @: $(MAKE); $(unstage)
19985 @[ -f ./libgui/Makefile ] || exit 0; \
19986 r=`${PWD_COMMAND}`; export r; \
19987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19988 $(HOST_EXPORTS) \
19989 for flag in $(EXTRA_HOST_FLAGS) ; do \
19990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19991 done; \
19992 echo "Doing clean in libgui" ; \
19993 (cd $(HOST_SUBDIR)/libgui && \
19994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19996 "RANLIB=$${RANLIB}" \
19997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19998 clean) \
19999 || exit 1
20001 @endif libgui
20003 .PHONY: maybe-distclean-libgui distclean-libgui
20004 maybe-distclean-libgui:
20005 @if libgui
20006 maybe-distclean-libgui: distclean-libgui
20008 distclean-libgui:
20009 @: $(MAKE); $(unstage)
20010 @[ -f ./libgui/Makefile ] || exit 0; \
20011 r=`${PWD_COMMAND}`; export r; \
20012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20013 $(HOST_EXPORTS) \
20014 for flag in $(EXTRA_HOST_FLAGS) ; do \
20015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20016 done; \
20017 echo "Doing distclean in libgui" ; \
20018 (cd $(HOST_SUBDIR)/libgui && \
20019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20021 "RANLIB=$${RANLIB}" \
20022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20023 distclean) \
20024 || exit 1
20026 @endif libgui
20028 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
20029 maybe-maintainer-clean-libgui:
20030 @if libgui
20031 maybe-maintainer-clean-libgui: maintainer-clean-libgui
20033 maintainer-clean-libgui:
20034 @: $(MAKE); $(unstage)
20035 @[ -f ./libgui/Makefile ] || exit 0; \
20036 r=`${PWD_COMMAND}`; export r; \
20037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20038 $(HOST_EXPORTS) \
20039 for flag in $(EXTRA_HOST_FLAGS) ; do \
20040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20041 done; \
20042 echo "Doing maintainer-clean in libgui" ; \
20043 (cd $(HOST_SUBDIR)/libgui && \
20044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20046 "RANLIB=$${RANLIB}" \
20047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20048 maintainer-clean) \
20049 || exit 1
20051 @endif libgui
20055 .PHONY: configure-libiberty maybe-configure-libiberty
20056 maybe-configure-libiberty:
20057 @if gcc-bootstrap
20058 configure-libiberty: stage_current
20059 @endif gcc-bootstrap
20060 @if libiberty
20061 maybe-configure-libiberty: configure-libiberty
20062 configure-libiberty:
20063 @r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20067 $(HOST_EXPORTS) \
20068 echo Configuring in $(HOST_SUBDIR)/libiberty; \
20069 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
20070 case $(srcdir) in \
20071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20072 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20074 esac; \
20075 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20076 libsrcdir="$$s/libiberty"; \
20077 $(SHELL) $${libsrcdir}/configure \
20078 $(HOST_CONFIGARGS) $${srcdiroption} \
20079 || exit 1
20080 @endif libiberty
20084 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
20085 maybe-configure-stage1-libiberty:
20086 @if libiberty-bootstrap
20087 maybe-configure-stage1-libiberty: configure-stage1-libiberty
20088 configure-stage1-libiberty:
20089 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20091 @r=`${PWD_COMMAND}`; export r; \
20092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20093 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20094 $(HOST_EXPORTS) \
20095 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
20096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20097 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20098 case $(srcdir) in \
20099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20100 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20102 esac; \
20103 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20104 libsrcdir="$$s/libiberty"; \
20105 $(SHELL) $${libsrcdir}/configure \
20106 $(HOST_CONFIGARGS) $${srcdiroption} \
20108 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20109 @endif libiberty-bootstrap
20111 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
20112 maybe-configure-stage2-libiberty:
20113 @if libiberty-bootstrap
20114 maybe-configure-stage2-libiberty: configure-stage2-libiberty
20115 configure-stage2-libiberty:
20116 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20118 @r=`${PWD_COMMAND}`; export r; \
20119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20121 $(HOST_EXPORTS) \
20122 $(POSTSTAGE1_HOST_EXPORTS) \
20123 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
20124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20125 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20126 case $(srcdir) in \
20127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20128 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20130 esac; \
20131 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20132 libsrcdir="$$s/libiberty"; \
20133 $(SHELL) $${libsrcdir}/configure \
20134 $(HOST_CONFIGARGS) $${srcdiroption} \
20135 --with-build-libsubdir=$(HOST_SUBDIR) \
20136 @stage2_werror_flag@
20137 @endif libiberty-bootstrap
20139 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
20140 maybe-configure-stage3-libiberty:
20141 @if libiberty-bootstrap
20142 maybe-configure-stage3-libiberty: configure-stage3-libiberty
20143 configure-stage3-libiberty:
20144 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20146 @r=`${PWD_COMMAND}`; export r; \
20147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20148 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20149 $(HOST_EXPORTS) \
20150 $(POSTSTAGE1_HOST_EXPORTS) \
20151 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
20152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20153 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20154 case $(srcdir) in \
20155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20156 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20158 esac; \
20159 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20160 libsrcdir="$$s/libiberty"; \
20161 $(SHELL) $${libsrcdir}/configure \
20162 $(HOST_CONFIGARGS) $${srcdiroption} \
20163 --with-build-libsubdir=$(HOST_SUBDIR) \
20164 @stage2_werror_flag@
20165 @endif libiberty-bootstrap
20167 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
20168 maybe-configure-stage4-libiberty:
20169 @if libiberty-bootstrap
20170 maybe-configure-stage4-libiberty: configure-stage4-libiberty
20171 configure-stage4-libiberty:
20172 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20174 @r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20177 $(HOST_EXPORTS) \
20178 $(POSTSTAGE1_HOST_EXPORTS) \
20179 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
20180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20181 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20182 case $(srcdir) in \
20183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20184 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20186 esac; \
20187 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20188 libsrcdir="$$s/libiberty"; \
20189 $(SHELL) $${libsrcdir}/configure \
20190 $(HOST_CONFIGARGS) $${srcdiroption} \
20191 --with-build-libsubdir=$(HOST_SUBDIR) \
20192 @stage2_werror_flag@
20193 @endif libiberty-bootstrap
20195 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
20196 maybe-configure-stageprofile-libiberty:
20197 @if libiberty-bootstrap
20198 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
20199 configure-stageprofile-libiberty:
20200 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20202 @r=`${PWD_COMMAND}`; export r; \
20203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20204 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20205 $(HOST_EXPORTS) \
20206 $(POSTSTAGE1_HOST_EXPORTS) \
20207 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
20208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20209 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20210 case $(srcdir) in \
20211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20212 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20214 esac; \
20215 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20216 libsrcdir="$$s/libiberty"; \
20217 $(SHELL) $${libsrcdir}/configure \
20218 $(HOST_CONFIGARGS) $${srcdiroption} \
20219 --with-build-libsubdir=$(HOST_SUBDIR) \
20220 @stage2_werror_flag@
20221 @endif libiberty-bootstrap
20223 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
20224 maybe-configure-stagefeedback-libiberty:
20225 @if libiberty-bootstrap
20226 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
20227 configure-stagefeedback-libiberty:
20228 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20230 @r=`${PWD_COMMAND}`; export r; \
20231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20232 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20233 $(HOST_EXPORTS) \
20234 $(POSTSTAGE1_HOST_EXPORTS) \
20235 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
20236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20237 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20238 case $(srcdir) in \
20239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20240 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20242 esac; \
20243 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20244 libsrcdir="$$s/libiberty"; \
20245 $(SHELL) $${libsrcdir}/configure \
20246 $(HOST_CONFIGARGS) $${srcdiroption} \
20247 --with-build-libsubdir=$(HOST_SUBDIR) \
20248 @stage2_werror_flag@
20249 @endif libiberty-bootstrap
20255 .PHONY: all-libiberty maybe-all-libiberty
20256 maybe-all-libiberty:
20257 @if gcc-bootstrap
20258 all-libiberty: stage_current
20259 @endif gcc-bootstrap
20260 @if libiberty
20261 TARGET-libiberty=all
20262 maybe-all-libiberty: all-libiberty
20263 all-libiberty: configure-libiberty
20264 @r=`${PWD_COMMAND}`; export r; \
20265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20266 $(HOST_EXPORTS) \
20267 (cd $(HOST_SUBDIR)/libiberty && \
20268 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
20269 @endif libiberty
20273 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
20274 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
20275 maybe-all-stage1-libiberty:
20276 maybe-clean-stage1-libiberty:
20277 @if libiberty-bootstrap
20278 maybe-all-stage1-libiberty: all-stage1-libiberty
20279 all-stage1: all-stage1-libiberty
20280 TARGET-stage1-libiberty = $(TARGET-libiberty)
20281 all-stage1-libiberty: configure-stage1-libiberty
20282 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20283 @r=`${PWD_COMMAND}`; export r; \
20284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285 $(HOST_EXPORTS) \
20286 cd $(HOST_SUBDIR)/libiberty && \
20287 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20288 $(TARGET-stage1-libiberty)
20290 maybe-clean-stage1-libiberty: clean-stage1-libiberty
20291 clean-stage1: clean-stage1-libiberty
20292 clean-stage1-libiberty:
20293 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
20294 || exit 0 ; \
20295 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
20296 cd $(HOST_SUBDIR)/libiberty && \
20297 $(MAKE) $(FLAGS_TO_PASS) \
20298 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20299 @endif libiberty-bootstrap
20302 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
20303 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
20304 maybe-all-stage2-libiberty:
20305 maybe-clean-stage2-libiberty:
20306 @if libiberty-bootstrap
20307 maybe-all-stage2-libiberty: all-stage2-libiberty
20308 all-stage2: all-stage2-libiberty
20309 TARGET-stage2-libiberty = $(TARGET-libiberty)
20310 all-stage2-libiberty: configure-stage2-libiberty
20311 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20312 @r=`${PWD_COMMAND}`; export r; \
20313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20314 $(HOST_EXPORTS) \
20315 $(POSTSTAGE1_HOST_EXPORTS) \
20316 cd $(HOST_SUBDIR)/libiberty && \
20317 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20318 $(TARGET-stage2-libiberty)
20320 maybe-clean-stage2-libiberty: clean-stage2-libiberty
20321 clean-stage2: clean-stage2-libiberty
20322 clean-stage2-libiberty:
20323 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
20324 || exit 0 ; \
20325 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
20326 cd $(HOST_SUBDIR)/libiberty && \
20327 $(MAKE) $(FLAGS_TO_PASS) \
20328 $(POSTSTAGE1_FLAGS_TO_PASS) \
20329 clean
20330 @endif libiberty-bootstrap
20333 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
20334 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
20335 maybe-all-stage3-libiberty:
20336 maybe-clean-stage3-libiberty:
20337 @if libiberty-bootstrap
20338 maybe-all-stage3-libiberty: all-stage3-libiberty
20339 all-stage3: all-stage3-libiberty
20340 TARGET-stage3-libiberty = $(TARGET-libiberty)
20341 all-stage3-libiberty: configure-stage3-libiberty
20342 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20343 @r=`${PWD_COMMAND}`; export r; \
20344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20345 $(HOST_EXPORTS) \
20346 $(POSTSTAGE1_HOST_EXPORTS) \
20347 cd $(HOST_SUBDIR)/libiberty && \
20348 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20349 $(TARGET-stage3-libiberty)
20351 maybe-clean-stage3-libiberty: clean-stage3-libiberty
20352 clean-stage3: clean-stage3-libiberty
20353 clean-stage3-libiberty:
20354 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
20355 || exit 0 ; \
20356 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
20357 cd $(HOST_SUBDIR)/libiberty && \
20358 $(MAKE) $(FLAGS_TO_PASS) \
20359 $(POSTSTAGE1_FLAGS_TO_PASS) \
20360 clean
20361 @endif libiberty-bootstrap
20364 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
20365 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
20366 maybe-all-stage4-libiberty:
20367 maybe-clean-stage4-libiberty:
20368 @if libiberty-bootstrap
20369 maybe-all-stage4-libiberty: all-stage4-libiberty
20370 all-stage4: all-stage4-libiberty
20371 TARGET-stage4-libiberty = $(TARGET-libiberty)
20372 all-stage4-libiberty: configure-stage4-libiberty
20373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20374 @r=`${PWD_COMMAND}`; export r; \
20375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20376 $(HOST_EXPORTS) \
20377 $(POSTSTAGE1_HOST_EXPORTS) \
20378 cd $(HOST_SUBDIR)/libiberty && \
20379 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20380 $(TARGET-stage4-libiberty)
20382 maybe-clean-stage4-libiberty: clean-stage4-libiberty
20383 clean-stage4: clean-stage4-libiberty
20384 clean-stage4-libiberty:
20385 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
20386 || exit 0 ; \
20387 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
20388 cd $(HOST_SUBDIR)/libiberty && \
20389 $(MAKE) $(FLAGS_TO_PASS) \
20390 $(POSTSTAGE1_FLAGS_TO_PASS) \
20391 clean
20392 @endif libiberty-bootstrap
20395 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
20396 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
20397 maybe-all-stageprofile-libiberty:
20398 maybe-clean-stageprofile-libiberty:
20399 @if libiberty-bootstrap
20400 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
20401 all-stageprofile: all-stageprofile-libiberty
20402 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
20403 all-stageprofile-libiberty: configure-stageprofile-libiberty
20404 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20405 @r=`${PWD_COMMAND}`; export r; \
20406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20407 $(HOST_EXPORTS) \
20408 $(POSTSTAGE1_HOST_EXPORTS) \
20409 cd $(HOST_SUBDIR)/libiberty && \
20410 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20411 $(TARGET-stageprofile-libiberty)
20413 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
20414 clean-stageprofile: clean-stageprofile-libiberty
20415 clean-stageprofile-libiberty:
20416 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
20417 || exit 0 ; \
20418 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
20419 cd $(HOST_SUBDIR)/libiberty && \
20420 $(MAKE) $(FLAGS_TO_PASS) \
20421 $(POSTSTAGE1_FLAGS_TO_PASS) \
20422 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20423 @endif libiberty-bootstrap
20426 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
20427 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
20428 maybe-all-stagefeedback-libiberty:
20429 maybe-clean-stagefeedback-libiberty:
20430 @if libiberty-bootstrap
20431 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
20432 all-stagefeedback: all-stagefeedback-libiberty
20433 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
20434 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
20435 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20436 @r=`${PWD_COMMAND}`; export r; \
20437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20438 $(HOST_EXPORTS) \
20439 $(POSTSTAGE1_HOST_EXPORTS) \
20440 cd $(HOST_SUBDIR)/libiberty && \
20441 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20442 $(TARGET-stagefeedback-libiberty)
20444 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
20445 clean-stagefeedback: clean-stagefeedback-libiberty
20446 clean-stagefeedback-libiberty:
20447 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
20448 || exit 0 ; \
20449 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
20450 cd $(HOST_SUBDIR)/libiberty && \
20451 $(MAKE) $(FLAGS_TO_PASS) \
20452 $(POSTSTAGE1_FLAGS_TO_PASS) \
20453 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20454 @endif libiberty-bootstrap
20460 .PHONY: check-libiberty maybe-check-libiberty
20461 maybe-check-libiberty:
20462 @if libiberty
20463 maybe-check-libiberty: check-libiberty
20465 check-libiberty:
20466 @: $(MAKE); $(unstage)
20467 @r=`${PWD_COMMAND}`; export r; \
20468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20469 $(HOST_EXPORTS) \
20470 (cd $(HOST_SUBDIR)/libiberty && \
20471 $(MAKE) $(FLAGS_TO_PASS) check)
20473 @endif libiberty
20475 .PHONY: install-libiberty maybe-install-libiberty
20476 maybe-install-libiberty:
20477 @if libiberty
20478 maybe-install-libiberty: install-libiberty
20480 install-libiberty: installdirs
20481 @: $(MAKE); $(unstage)
20482 @r=`${PWD_COMMAND}`; export r; \
20483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20484 $(HOST_EXPORTS) \
20485 (cd $(HOST_SUBDIR)/libiberty && \
20486 $(MAKE) $(FLAGS_TO_PASS) install)
20488 @endif libiberty
20490 # Other targets (info, dvi, pdf, etc.)
20492 .PHONY: maybe-info-libiberty info-libiberty
20493 maybe-info-libiberty:
20494 @if libiberty
20495 maybe-info-libiberty: info-libiberty
20497 info-libiberty: \
20498 configure-libiberty
20499 @[ -f ./libiberty/Makefile ] || exit 0; \
20500 r=`${PWD_COMMAND}`; export r; \
20501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20502 $(HOST_EXPORTS) \
20503 for flag in $(EXTRA_HOST_FLAGS) ; do \
20504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20505 done; \
20506 echo "Doing info in libiberty" ; \
20507 (cd $(HOST_SUBDIR)/libiberty && \
20508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20510 "RANLIB=$${RANLIB}" \
20511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20512 info) \
20513 || exit 1
20515 @endif libiberty
20517 .PHONY: maybe-dvi-libiberty dvi-libiberty
20518 maybe-dvi-libiberty:
20519 @if libiberty
20520 maybe-dvi-libiberty: dvi-libiberty
20522 dvi-libiberty: \
20523 configure-libiberty
20524 @[ -f ./libiberty/Makefile ] || exit 0; \
20525 r=`${PWD_COMMAND}`; export r; \
20526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20527 $(HOST_EXPORTS) \
20528 for flag in $(EXTRA_HOST_FLAGS) ; do \
20529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20530 done; \
20531 echo "Doing dvi in libiberty" ; \
20532 (cd $(HOST_SUBDIR)/libiberty && \
20533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20535 "RANLIB=$${RANLIB}" \
20536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20537 dvi) \
20538 || exit 1
20540 @endif libiberty
20542 .PHONY: maybe-pdf-libiberty pdf-libiberty
20543 maybe-pdf-libiberty:
20544 @if libiberty
20545 maybe-pdf-libiberty: pdf-libiberty
20547 pdf-libiberty: \
20548 configure-libiberty
20549 @[ -f ./libiberty/Makefile ] || exit 0; \
20550 r=`${PWD_COMMAND}`; export r; \
20551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20552 $(HOST_EXPORTS) \
20553 for flag in $(EXTRA_HOST_FLAGS) ; do \
20554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20555 done; \
20556 echo "Doing pdf in libiberty" ; \
20557 (cd $(HOST_SUBDIR)/libiberty && \
20558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20560 "RANLIB=$${RANLIB}" \
20561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20562 pdf) \
20563 || exit 1
20565 @endif libiberty
20567 .PHONY: maybe-html-libiberty html-libiberty
20568 maybe-html-libiberty:
20569 @if libiberty
20570 maybe-html-libiberty: html-libiberty
20572 html-libiberty: \
20573 configure-libiberty
20574 @[ -f ./libiberty/Makefile ] || exit 0; \
20575 r=`${PWD_COMMAND}`; export r; \
20576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20577 $(HOST_EXPORTS) \
20578 for flag in $(EXTRA_HOST_FLAGS) ; do \
20579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20580 done; \
20581 echo "Doing html in libiberty" ; \
20582 (cd $(HOST_SUBDIR)/libiberty && \
20583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20585 "RANLIB=$${RANLIB}" \
20586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20587 html) \
20588 || exit 1
20590 @endif libiberty
20592 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
20593 maybe-TAGS-libiberty:
20594 @if libiberty
20595 maybe-TAGS-libiberty: TAGS-libiberty
20597 TAGS-libiberty: \
20598 configure-libiberty
20599 @[ -f ./libiberty/Makefile ] || exit 0; \
20600 r=`${PWD_COMMAND}`; export r; \
20601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20602 $(HOST_EXPORTS) \
20603 for flag in $(EXTRA_HOST_FLAGS) ; do \
20604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20605 done; \
20606 echo "Doing TAGS in libiberty" ; \
20607 (cd $(HOST_SUBDIR)/libiberty && \
20608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20610 "RANLIB=$${RANLIB}" \
20611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20612 TAGS) \
20613 || exit 1
20615 @endif libiberty
20617 .PHONY: maybe-install-info-libiberty install-info-libiberty
20618 maybe-install-info-libiberty:
20619 @if libiberty
20620 maybe-install-info-libiberty: install-info-libiberty
20622 install-info-libiberty: \
20623 configure-libiberty \
20624 info-libiberty
20625 @[ -f ./libiberty/Makefile ] || exit 0; \
20626 r=`${PWD_COMMAND}`; export r; \
20627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20628 $(HOST_EXPORTS) \
20629 for flag in $(EXTRA_HOST_FLAGS) ; do \
20630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20631 done; \
20632 echo "Doing install-info in libiberty" ; \
20633 (cd $(HOST_SUBDIR)/libiberty && \
20634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20636 "RANLIB=$${RANLIB}" \
20637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20638 install-info) \
20639 || exit 1
20641 @endif libiberty
20643 .PHONY: maybe-install-html-libiberty install-html-libiberty
20644 maybe-install-html-libiberty:
20645 @if libiberty
20646 maybe-install-html-libiberty: install-html-libiberty
20648 install-html-libiberty: \
20649 configure-libiberty \
20650 html-libiberty
20651 @[ -f ./libiberty/Makefile ] || exit 0; \
20652 r=`${PWD_COMMAND}`; export r; \
20653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654 $(HOST_EXPORTS) \
20655 for flag in $(EXTRA_HOST_FLAGS) ; do \
20656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20657 done; \
20658 echo "Doing install-html in libiberty" ; \
20659 (cd $(HOST_SUBDIR)/libiberty && \
20660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20662 "RANLIB=$${RANLIB}" \
20663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20664 install-html) \
20665 || exit 1
20667 @endif libiberty
20669 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
20670 maybe-installcheck-libiberty:
20671 @if libiberty
20672 maybe-installcheck-libiberty: installcheck-libiberty
20674 installcheck-libiberty: \
20675 configure-libiberty
20676 @[ -f ./libiberty/Makefile ] || exit 0; \
20677 r=`${PWD_COMMAND}`; export r; \
20678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679 $(HOST_EXPORTS) \
20680 for flag in $(EXTRA_HOST_FLAGS) ; do \
20681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20682 done; \
20683 echo "Doing installcheck in libiberty" ; \
20684 (cd $(HOST_SUBDIR)/libiberty && \
20685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20687 "RANLIB=$${RANLIB}" \
20688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20689 installcheck) \
20690 || exit 1
20692 @endif libiberty
20694 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
20695 maybe-mostlyclean-libiberty:
20696 @if libiberty
20697 maybe-mostlyclean-libiberty: mostlyclean-libiberty
20699 mostlyclean-libiberty:
20700 @[ -f ./libiberty/Makefile ] || exit 0; \
20701 r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 $(HOST_EXPORTS) \
20704 for flag in $(EXTRA_HOST_FLAGS) ; do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20706 done; \
20707 echo "Doing mostlyclean in libiberty" ; \
20708 (cd $(HOST_SUBDIR)/libiberty && \
20709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20711 "RANLIB=$${RANLIB}" \
20712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20713 mostlyclean) \
20714 || exit 1
20716 @endif libiberty
20718 .PHONY: maybe-clean-libiberty clean-libiberty
20719 maybe-clean-libiberty:
20720 @if libiberty
20721 maybe-clean-libiberty: clean-libiberty
20723 clean-libiberty:
20724 @[ -f ./libiberty/Makefile ] || exit 0; \
20725 r=`${PWD_COMMAND}`; export r; \
20726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20727 $(HOST_EXPORTS) \
20728 for flag in $(EXTRA_HOST_FLAGS) ; do \
20729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20730 done; \
20731 echo "Doing clean in libiberty" ; \
20732 (cd $(HOST_SUBDIR)/libiberty && \
20733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20735 "RANLIB=$${RANLIB}" \
20736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20737 clean) \
20738 || exit 1
20740 @endif libiberty
20742 .PHONY: maybe-distclean-libiberty distclean-libiberty
20743 maybe-distclean-libiberty:
20744 @if libiberty
20745 maybe-distclean-libiberty: distclean-libiberty
20747 distclean-libiberty:
20748 @[ -f ./libiberty/Makefile ] || exit 0; \
20749 r=`${PWD_COMMAND}`; export r; \
20750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20751 $(HOST_EXPORTS) \
20752 for flag in $(EXTRA_HOST_FLAGS) ; do \
20753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20754 done; \
20755 echo "Doing distclean in libiberty" ; \
20756 (cd $(HOST_SUBDIR)/libiberty && \
20757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20759 "RANLIB=$${RANLIB}" \
20760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20761 distclean) \
20762 || exit 1
20764 @endif libiberty
20766 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
20767 maybe-maintainer-clean-libiberty:
20768 @if libiberty
20769 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
20771 maintainer-clean-libiberty:
20772 @[ -f ./libiberty/Makefile ] || exit 0; \
20773 r=`${PWD_COMMAND}`; export r; \
20774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20775 $(HOST_EXPORTS) \
20776 for flag in $(EXTRA_HOST_FLAGS) ; do \
20777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20778 done; \
20779 echo "Doing maintainer-clean in libiberty" ; \
20780 (cd $(HOST_SUBDIR)/libiberty && \
20781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20783 "RANLIB=$${RANLIB}" \
20784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20785 maintainer-clean) \
20786 || exit 1
20788 @endif libiberty
20792 .PHONY: configure-libtool maybe-configure-libtool
20793 maybe-configure-libtool:
20794 @if gcc-bootstrap
20795 configure-libtool: stage_current
20796 @endif gcc-bootstrap
20797 @if libtool
20798 maybe-configure-libtool: configure-libtool
20799 configure-libtool:
20800 @: $(MAKE); $(unstage)
20801 @r=`${PWD_COMMAND}`; export r; \
20802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20803 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
20804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
20805 $(HOST_EXPORTS) \
20806 echo Configuring in $(HOST_SUBDIR)/libtool; \
20807 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
20808 case $(srcdir) in \
20809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20810 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
20811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20812 esac; \
20813 srcdiroption="--srcdir=$${topdir}/libtool"; \
20814 libsrcdir="$$s/libtool"; \
20815 $(SHELL) $${libsrcdir}/configure \
20816 $(HOST_CONFIGARGS) $${srcdiroption} \
20817 || exit 1
20818 @endif libtool
20824 .PHONY: all-libtool maybe-all-libtool
20825 maybe-all-libtool:
20826 @if gcc-bootstrap
20827 all-libtool: stage_current
20828 @endif gcc-bootstrap
20829 @if libtool
20830 TARGET-libtool=all
20831 maybe-all-libtool: all-libtool
20832 all-libtool: configure-libtool
20833 @: $(MAKE); $(unstage)
20834 @r=`${PWD_COMMAND}`; export r; \
20835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20836 $(HOST_EXPORTS) \
20837 (cd $(HOST_SUBDIR)/libtool && \
20838 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
20839 @endif libtool
20844 .PHONY: check-libtool maybe-check-libtool
20845 maybe-check-libtool:
20846 @if libtool
20847 maybe-check-libtool: check-libtool
20849 check-libtool:
20850 @: $(MAKE); $(unstage)
20851 @r=`${PWD_COMMAND}`; export r; \
20852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20853 $(HOST_EXPORTS) \
20854 (cd $(HOST_SUBDIR)/libtool && \
20855 $(MAKE) $(FLAGS_TO_PASS) check)
20857 @endif libtool
20859 .PHONY: install-libtool maybe-install-libtool
20860 maybe-install-libtool:
20861 @if libtool
20862 maybe-install-libtool: install-libtool
20864 install-libtool: installdirs
20865 @: $(MAKE); $(unstage)
20866 @r=`${PWD_COMMAND}`; export r; \
20867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20868 $(HOST_EXPORTS) \
20869 (cd $(HOST_SUBDIR)/libtool && \
20870 $(MAKE) $(FLAGS_TO_PASS) install)
20872 @endif libtool
20874 # Other targets (info, dvi, pdf, etc.)
20876 .PHONY: maybe-info-libtool info-libtool
20877 maybe-info-libtool:
20878 @if libtool
20879 maybe-info-libtool: info-libtool
20881 info-libtool: \
20882 configure-libtool
20883 @: $(MAKE); $(unstage)
20884 @[ -f ./libtool/Makefile ] || exit 0; \
20885 r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887 $(HOST_EXPORTS) \
20888 for flag in $(EXTRA_HOST_FLAGS) ; do \
20889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20890 done; \
20891 echo "Doing info in libtool" ; \
20892 (cd $(HOST_SUBDIR)/libtool && \
20893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20895 "RANLIB=$${RANLIB}" \
20896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20897 info) \
20898 || exit 1
20900 @endif libtool
20902 .PHONY: maybe-dvi-libtool dvi-libtool
20903 maybe-dvi-libtool:
20904 @if libtool
20905 maybe-dvi-libtool: dvi-libtool
20907 dvi-libtool: \
20908 configure-libtool
20909 @: $(MAKE); $(unstage)
20910 @[ -f ./libtool/Makefile ] || exit 0; \
20911 r=`${PWD_COMMAND}`; export r; \
20912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20913 $(HOST_EXPORTS) \
20914 for flag in $(EXTRA_HOST_FLAGS) ; do \
20915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20916 done; \
20917 echo "Doing dvi in libtool" ; \
20918 (cd $(HOST_SUBDIR)/libtool && \
20919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20921 "RANLIB=$${RANLIB}" \
20922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20923 dvi) \
20924 || exit 1
20926 @endif libtool
20928 .PHONY: maybe-pdf-libtool pdf-libtool
20929 maybe-pdf-libtool:
20930 @if libtool
20931 maybe-pdf-libtool: pdf-libtool
20933 pdf-libtool: \
20934 configure-libtool
20935 @: $(MAKE); $(unstage)
20936 @[ -f ./libtool/Makefile ] || exit 0; \
20937 r=`${PWD_COMMAND}`; export r; \
20938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20939 $(HOST_EXPORTS) \
20940 for flag in $(EXTRA_HOST_FLAGS) ; do \
20941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20942 done; \
20943 echo "Doing pdf in libtool" ; \
20944 (cd $(HOST_SUBDIR)/libtool && \
20945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20947 "RANLIB=$${RANLIB}" \
20948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20949 pdf) \
20950 || exit 1
20952 @endif libtool
20954 .PHONY: maybe-html-libtool html-libtool
20955 maybe-html-libtool:
20956 @if libtool
20957 maybe-html-libtool: html-libtool
20959 html-libtool: \
20960 configure-libtool
20961 @: $(MAKE); $(unstage)
20962 @[ -f ./libtool/Makefile ] || exit 0; \
20963 r=`${PWD_COMMAND}`; export r; \
20964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20965 $(HOST_EXPORTS) \
20966 for flag in $(EXTRA_HOST_FLAGS) ; do \
20967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20968 done; \
20969 echo "Doing html in libtool" ; \
20970 (cd $(HOST_SUBDIR)/libtool && \
20971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20973 "RANLIB=$${RANLIB}" \
20974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20975 html) \
20976 || exit 1
20978 @endif libtool
20980 .PHONY: maybe-TAGS-libtool TAGS-libtool
20981 maybe-TAGS-libtool:
20982 @if libtool
20983 maybe-TAGS-libtool: TAGS-libtool
20985 TAGS-libtool: \
20986 configure-libtool
20987 @: $(MAKE); $(unstage)
20988 @[ -f ./libtool/Makefile ] || exit 0; \
20989 r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 $(HOST_EXPORTS) \
20992 for flag in $(EXTRA_HOST_FLAGS) ; do \
20993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20994 done; \
20995 echo "Doing TAGS in libtool" ; \
20996 (cd $(HOST_SUBDIR)/libtool && \
20997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20999 "RANLIB=$${RANLIB}" \
21000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21001 TAGS) \
21002 || exit 1
21004 @endif libtool
21006 .PHONY: maybe-install-info-libtool install-info-libtool
21007 maybe-install-info-libtool:
21008 @if libtool
21009 maybe-install-info-libtool: install-info-libtool
21011 install-info-libtool: \
21012 configure-libtool \
21013 info-libtool
21014 @: $(MAKE); $(unstage)
21015 @[ -f ./libtool/Makefile ] || exit 0; \
21016 r=`${PWD_COMMAND}`; export r; \
21017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21018 $(HOST_EXPORTS) \
21019 for flag in $(EXTRA_HOST_FLAGS) ; do \
21020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21021 done; \
21022 echo "Doing install-info in libtool" ; \
21023 (cd $(HOST_SUBDIR)/libtool && \
21024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21026 "RANLIB=$${RANLIB}" \
21027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21028 install-info) \
21029 || exit 1
21031 @endif libtool
21033 .PHONY: maybe-install-html-libtool install-html-libtool
21034 maybe-install-html-libtool:
21035 @if libtool
21036 maybe-install-html-libtool: install-html-libtool
21038 install-html-libtool: \
21039 configure-libtool \
21040 html-libtool
21041 @: $(MAKE); $(unstage)
21042 @[ -f ./libtool/Makefile ] || exit 0; \
21043 r=`${PWD_COMMAND}`; export r; \
21044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21045 $(HOST_EXPORTS) \
21046 for flag in $(EXTRA_HOST_FLAGS) ; do \
21047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21048 done; \
21049 echo "Doing install-html in libtool" ; \
21050 (cd $(HOST_SUBDIR)/libtool && \
21051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21053 "RANLIB=$${RANLIB}" \
21054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21055 install-html) \
21056 || exit 1
21058 @endif libtool
21060 .PHONY: maybe-installcheck-libtool installcheck-libtool
21061 maybe-installcheck-libtool:
21062 @if libtool
21063 maybe-installcheck-libtool: installcheck-libtool
21065 installcheck-libtool: \
21066 configure-libtool
21067 @: $(MAKE); $(unstage)
21068 @[ -f ./libtool/Makefile ] || exit 0; \
21069 r=`${PWD_COMMAND}`; export r; \
21070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21071 $(HOST_EXPORTS) \
21072 for flag in $(EXTRA_HOST_FLAGS) ; do \
21073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21074 done; \
21075 echo "Doing installcheck in libtool" ; \
21076 (cd $(HOST_SUBDIR)/libtool && \
21077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21079 "RANLIB=$${RANLIB}" \
21080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21081 installcheck) \
21082 || exit 1
21084 @endif libtool
21086 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
21087 maybe-mostlyclean-libtool:
21088 @if libtool
21089 maybe-mostlyclean-libtool: mostlyclean-libtool
21091 mostlyclean-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 mostlyclean 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 mostlyclean) \
21107 || exit 1
21109 @endif libtool
21111 .PHONY: maybe-clean-libtool clean-libtool
21112 maybe-clean-libtool:
21113 @if libtool
21114 maybe-clean-libtool: clean-libtool
21116 clean-libtool:
21117 @: $(MAKE); $(unstage)
21118 @[ -f ./libtool/Makefile ] || exit 0; \
21119 r=`${PWD_COMMAND}`; export r; \
21120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21121 $(HOST_EXPORTS) \
21122 for flag in $(EXTRA_HOST_FLAGS) ; do \
21123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21124 done; \
21125 echo "Doing clean in libtool" ; \
21126 (cd $(HOST_SUBDIR)/libtool && \
21127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21129 "RANLIB=$${RANLIB}" \
21130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21131 clean) \
21132 || exit 1
21134 @endif libtool
21136 .PHONY: maybe-distclean-libtool distclean-libtool
21137 maybe-distclean-libtool:
21138 @if libtool
21139 maybe-distclean-libtool: distclean-libtool
21141 distclean-libtool:
21142 @: $(MAKE); $(unstage)
21143 @[ -f ./libtool/Makefile ] || exit 0; \
21144 r=`${PWD_COMMAND}`; export r; \
21145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21146 $(HOST_EXPORTS) \
21147 for flag in $(EXTRA_HOST_FLAGS) ; do \
21148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21149 done; \
21150 echo "Doing distclean in libtool" ; \
21151 (cd $(HOST_SUBDIR)/libtool && \
21152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21154 "RANLIB=$${RANLIB}" \
21155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21156 distclean) \
21157 || exit 1
21159 @endif libtool
21161 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
21162 maybe-maintainer-clean-libtool:
21163 @if libtool
21164 maybe-maintainer-clean-libtool: maintainer-clean-libtool
21166 maintainer-clean-libtool:
21167 @: $(MAKE); $(unstage)
21168 @[ -f ./libtool/Makefile ] || exit 0; \
21169 r=`${PWD_COMMAND}`; export r; \
21170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21171 $(HOST_EXPORTS) \
21172 for flag in $(EXTRA_HOST_FLAGS) ; do \
21173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21174 done; \
21175 echo "Doing maintainer-clean in libtool" ; \
21176 (cd $(HOST_SUBDIR)/libtool && \
21177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21179 "RANLIB=$${RANLIB}" \
21180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21181 maintainer-clean) \
21182 || exit 1
21184 @endif libtool
21188 .PHONY: configure-m4 maybe-configure-m4
21189 maybe-configure-m4:
21190 @if gcc-bootstrap
21191 configure-m4: stage_current
21192 @endif gcc-bootstrap
21193 @if m4
21194 maybe-configure-m4: configure-m4
21195 configure-m4:
21196 @: $(MAKE); $(unstage)
21197 @r=`${PWD_COMMAND}`; export r; \
21198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21199 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
21200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
21201 $(HOST_EXPORTS) \
21202 echo Configuring in $(HOST_SUBDIR)/m4; \
21203 cd "$(HOST_SUBDIR)/m4" || exit 1; \
21204 case $(srcdir) in \
21205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21206 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
21207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21208 esac; \
21209 srcdiroption="--srcdir=$${topdir}/m4"; \
21210 libsrcdir="$$s/m4"; \
21211 $(SHELL) $${libsrcdir}/configure \
21212 $(HOST_CONFIGARGS) $${srcdiroption} \
21213 || exit 1
21214 @endif m4
21220 .PHONY: all-m4 maybe-all-m4
21221 maybe-all-m4:
21222 @if gcc-bootstrap
21223 all-m4: stage_current
21224 @endif gcc-bootstrap
21225 @if m4
21226 TARGET-m4=all
21227 maybe-all-m4: all-m4
21228 all-m4: configure-m4
21229 @: $(MAKE); $(unstage)
21230 @r=`${PWD_COMMAND}`; export r; \
21231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21232 $(HOST_EXPORTS) \
21233 (cd $(HOST_SUBDIR)/m4 && \
21234 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
21235 @endif m4
21240 .PHONY: check-m4 maybe-check-m4
21241 maybe-check-m4:
21242 @if m4
21243 maybe-check-m4: check-m4
21245 check-m4:
21246 @: $(MAKE); $(unstage)
21247 @r=`${PWD_COMMAND}`; export r; \
21248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21249 $(HOST_EXPORTS) \
21250 (cd $(HOST_SUBDIR)/m4 && \
21251 $(MAKE) $(FLAGS_TO_PASS) check)
21253 @endif m4
21255 .PHONY: install-m4 maybe-install-m4
21256 maybe-install-m4:
21257 @if m4
21258 maybe-install-m4: install-m4
21260 install-m4: installdirs
21261 @: $(MAKE); $(unstage)
21262 @r=`${PWD_COMMAND}`; export r; \
21263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264 $(HOST_EXPORTS) \
21265 (cd $(HOST_SUBDIR)/m4 && \
21266 $(MAKE) $(FLAGS_TO_PASS) install)
21268 @endif m4
21270 # Other targets (info, dvi, pdf, etc.)
21272 .PHONY: maybe-info-m4 info-m4
21273 maybe-info-m4:
21274 @if m4
21275 maybe-info-m4: info-m4
21277 info-m4: \
21278 configure-m4
21279 @: $(MAKE); $(unstage)
21280 @[ -f ./m4/Makefile ] || exit 0; \
21281 r=`${PWD_COMMAND}`; export r; \
21282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21283 $(HOST_EXPORTS) \
21284 for flag in $(EXTRA_HOST_FLAGS) ; do \
21285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21286 done; \
21287 echo "Doing info in m4" ; \
21288 (cd $(HOST_SUBDIR)/m4 && \
21289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21291 "RANLIB=$${RANLIB}" \
21292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21293 info) \
21294 || exit 1
21296 @endif m4
21298 .PHONY: maybe-dvi-m4 dvi-m4
21299 maybe-dvi-m4:
21300 @if m4
21301 maybe-dvi-m4: dvi-m4
21303 dvi-m4: \
21304 configure-m4
21305 @: $(MAKE); $(unstage)
21306 @[ -f ./m4/Makefile ] || exit 0; \
21307 r=`${PWD_COMMAND}`; export r; \
21308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21309 $(HOST_EXPORTS) \
21310 for flag in $(EXTRA_HOST_FLAGS) ; do \
21311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21312 done; \
21313 echo "Doing dvi in m4" ; \
21314 (cd $(HOST_SUBDIR)/m4 && \
21315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21317 "RANLIB=$${RANLIB}" \
21318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21319 dvi) \
21320 || exit 1
21322 @endif m4
21324 .PHONY: maybe-pdf-m4 pdf-m4
21325 maybe-pdf-m4:
21326 @if m4
21327 maybe-pdf-m4: pdf-m4
21329 pdf-m4: \
21330 configure-m4
21331 @: $(MAKE); $(unstage)
21332 @[ -f ./m4/Makefile ] || exit 0; \
21333 r=`${PWD_COMMAND}`; export r; \
21334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21335 $(HOST_EXPORTS) \
21336 for flag in $(EXTRA_HOST_FLAGS) ; do \
21337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21338 done; \
21339 echo "Doing pdf in m4" ; \
21340 (cd $(HOST_SUBDIR)/m4 && \
21341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21343 "RANLIB=$${RANLIB}" \
21344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21345 pdf) \
21346 || exit 1
21348 @endif m4
21350 .PHONY: maybe-html-m4 html-m4
21351 maybe-html-m4:
21352 @if m4
21353 maybe-html-m4: html-m4
21355 html-m4: \
21356 configure-m4
21357 @: $(MAKE); $(unstage)
21358 @[ -f ./m4/Makefile ] || exit 0; \
21359 r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 $(HOST_EXPORTS) \
21362 for flag in $(EXTRA_HOST_FLAGS) ; do \
21363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21364 done; \
21365 echo "Doing html in m4" ; \
21366 (cd $(HOST_SUBDIR)/m4 && \
21367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21369 "RANLIB=$${RANLIB}" \
21370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21371 html) \
21372 || exit 1
21374 @endif m4
21376 .PHONY: maybe-TAGS-m4 TAGS-m4
21377 maybe-TAGS-m4:
21378 @if m4
21379 maybe-TAGS-m4: TAGS-m4
21381 TAGS-m4: \
21382 configure-m4
21383 @: $(MAKE); $(unstage)
21384 @[ -f ./m4/Makefile ] || exit 0; \
21385 r=`${PWD_COMMAND}`; export r; \
21386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21387 $(HOST_EXPORTS) \
21388 for flag in $(EXTRA_HOST_FLAGS) ; do \
21389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21390 done; \
21391 echo "Doing TAGS in m4" ; \
21392 (cd $(HOST_SUBDIR)/m4 && \
21393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21395 "RANLIB=$${RANLIB}" \
21396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21397 TAGS) \
21398 || exit 1
21400 @endif m4
21402 .PHONY: maybe-install-info-m4 install-info-m4
21403 maybe-install-info-m4:
21404 @if m4
21405 maybe-install-info-m4: install-info-m4
21407 install-info-m4: \
21408 configure-m4 \
21409 info-m4
21410 @: $(MAKE); $(unstage)
21411 @[ -f ./m4/Makefile ] || exit 0; \
21412 r=`${PWD_COMMAND}`; export r; \
21413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21414 $(HOST_EXPORTS) \
21415 for flag in $(EXTRA_HOST_FLAGS) ; do \
21416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21417 done; \
21418 echo "Doing install-info in m4" ; \
21419 (cd $(HOST_SUBDIR)/m4 && \
21420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21422 "RANLIB=$${RANLIB}" \
21423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21424 install-info) \
21425 || exit 1
21427 @endif m4
21429 .PHONY: maybe-install-html-m4 install-html-m4
21430 maybe-install-html-m4:
21431 @if m4
21432 maybe-install-html-m4: install-html-m4
21434 install-html-m4: \
21435 configure-m4 \
21436 html-m4
21437 @: $(MAKE); $(unstage)
21438 @[ -f ./m4/Makefile ] || exit 0; \
21439 r=`${PWD_COMMAND}`; export r; \
21440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21441 $(HOST_EXPORTS) \
21442 for flag in $(EXTRA_HOST_FLAGS) ; do \
21443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21444 done; \
21445 echo "Doing install-html in m4" ; \
21446 (cd $(HOST_SUBDIR)/m4 && \
21447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21449 "RANLIB=$${RANLIB}" \
21450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21451 install-html) \
21452 || exit 1
21454 @endif m4
21456 .PHONY: maybe-installcheck-m4 installcheck-m4
21457 maybe-installcheck-m4:
21458 @if m4
21459 maybe-installcheck-m4: installcheck-m4
21461 installcheck-m4: \
21462 configure-m4
21463 @: $(MAKE); $(unstage)
21464 @[ -f ./m4/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(HOST_EXPORTS) \
21468 for flag in $(EXTRA_HOST_FLAGS) ; do \
21469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21470 done; \
21471 echo "Doing installcheck in m4" ; \
21472 (cd $(HOST_SUBDIR)/m4 && \
21473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21475 "RANLIB=$${RANLIB}" \
21476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21477 installcheck) \
21478 || exit 1
21480 @endif m4
21482 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
21483 maybe-mostlyclean-m4:
21484 @if m4
21485 maybe-mostlyclean-m4: mostlyclean-m4
21487 mostlyclean-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 mostlyclean 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 mostlyclean) \
21503 || exit 1
21505 @endif m4
21507 .PHONY: maybe-clean-m4 clean-m4
21508 maybe-clean-m4:
21509 @if m4
21510 maybe-clean-m4: clean-m4
21512 clean-m4:
21513 @: $(MAKE); $(unstage)
21514 @[ -f ./m4/Makefile ] || exit 0; \
21515 r=`${PWD_COMMAND}`; export r; \
21516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21517 $(HOST_EXPORTS) \
21518 for flag in $(EXTRA_HOST_FLAGS) ; do \
21519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21520 done; \
21521 echo "Doing clean in m4" ; \
21522 (cd $(HOST_SUBDIR)/m4 && \
21523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21525 "RANLIB=$${RANLIB}" \
21526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21527 clean) \
21528 || exit 1
21530 @endif m4
21532 .PHONY: maybe-distclean-m4 distclean-m4
21533 maybe-distclean-m4:
21534 @if m4
21535 maybe-distclean-m4: distclean-m4
21537 distclean-m4:
21538 @: $(MAKE); $(unstage)
21539 @[ -f ./m4/Makefile ] || exit 0; \
21540 r=`${PWD_COMMAND}`; export r; \
21541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21542 $(HOST_EXPORTS) \
21543 for flag in $(EXTRA_HOST_FLAGS) ; do \
21544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21545 done; \
21546 echo "Doing distclean in m4" ; \
21547 (cd $(HOST_SUBDIR)/m4 && \
21548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21550 "RANLIB=$${RANLIB}" \
21551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21552 distclean) \
21553 || exit 1
21555 @endif m4
21557 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
21558 maybe-maintainer-clean-m4:
21559 @if m4
21560 maybe-maintainer-clean-m4: maintainer-clean-m4
21562 maintainer-clean-m4:
21563 @: $(MAKE); $(unstage)
21564 @[ -f ./m4/Makefile ] || exit 0; \
21565 r=`${PWD_COMMAND}`; export r; \
21566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21567 $(HOST_EXPORTS) \
21568 for flag in $(EXTRA_HOST_FLAGS) ; do \
21569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21570 done; \
21571 echo "Doing maintainer-clean in m4" ; \
21572 (cd $(HOST_SUBDIR)/m4 && \
21573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21575 "RANLIB=$${RANLIB}" \
21576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21577 maintainer-clean) \
21578 || exit 1
21580 @endif m4
21584 .PHONY: configure-make maybe-configure-make
21585 maybe-configure-make:
21586 @if gcc-bootstrap
21587 configure-make: stage_current
21588 @endif gcc-bootstrap
21589 @if make
21590 maybe-configure-make: configure-make
21591 configure-make:
21592 @: $(MAKE); $(unstage)
21593 @r=`${PWD_COMMAND}`; export r; \
21594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21595 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
21596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
21597 $(HOST_EXPORTS) \
21598 echo Configuring in $(HOST_SUBDIR)/make; \
21599 cd "$(HOST_SUBDIR)/make" || exit 1; \
21600 case $(srcdir) in \
21601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21602 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
21603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21604 esac; \
21605 srcdiroption="--srcdir=$${topdir}/make"; \
21606 libsrcdir="$$s/make"; \
21607 $(SHELL) $${libsrcdir}/configure \
21608 $(HOST_CONFIGARGS) $${srcdiroption} \
21609 || exit 1
21610 @endif make
21616 .PHONY: all-make maybe-all-make
21617 maybe-all-make:
21618 @if gcc-bootstrap
21619 all-make: stage_current
21620 @endif gcc-bootstrap
21621 @if make
21622 TARGET-make=all
21623 maybe-all-make: all-make
21624 all-make: configure-make
21625 @: $(MAKE); $(unstage)
21626 @r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 $(HOST_EXPORTS) \
21629 (cd $(HOST_SUBDIR)/make && \
21630 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
21631 @endif make
21636 .PHONY: check-make maybe-check-make
21637 maybe-check-make:
21638 @if make
21639 maybe-check-make: check-make
21641 check-make:
21642 @: $(MAKE); $(unstage)
21643 @r=`${PWD_COMMAND}`; export r; \
21644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21645 $(HOST_EXPORTS) \
21646 (cd $(HOST_SUBDIR)/make && \
21647 $(MAKE) $(FLAGS_TO_PASS) check)
21649 @endif make
21651 .PHONY: install-make maybe-install-make
21652 maybe-install-make:
21653 @if make
21654 maybe-install-make: install-make
21656 install-make: installdirs
21657 @: $(MAKE); $(unstage)
21658 @r=`${PWD_COMMAND}`; export r; \
21659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21660 $(HOST_EXPORTS) \
21661 (cd $(HOST_SUBDIR)/make && \
21662 $(MAKE) $(FLAGS_TO_PASS) install)
21664 @endif make
21666 # Other targets (info, dvi, pdf, etc.)
21668 .PHONY: maybe-info-make info-make
21669 maybe-info-make:
21670 @if make
21671 maybe-info-make: info-make
21673 info-make: \
21674 configure-make
21675 @: $(MAKE); $(unstage)
21676 @[ -f ./make/Makefile ] || exit 0; \
21677 r=`${PWD_COMMAND}`; export r; \
21678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21679 $(HOST_EXPORTS) \
21680 for flag in $(EXTRA_HOST_FLAGS) ; do \
21681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21682 done; \
21683 echo "Doing info in make" ; \
21684 (cd $(HOST_SUBDIR)/make && \
21685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21687 "RANLIB=$${RANLIB}" \
21688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21689 info) \
21690 || exit 1
21692 @endif make
21694 .PHONY: maybe-dvi-make dvi-make
21695 maybe-dvi-make:
21696 @if make
21697 maybe-dvi-make: dvi-make
21699 dvi-make: \
21700 configure-make
21701 @: $(MAKE); $(unstage)
21702 @[ -f ./make/Makefile ] || exit 0; \
21703 r=`${PWD_COMMAND}`; export r; \
21704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21705 $(HOST_EXPORTS) \
21706 for flag in $(EXTRA_HOST_FLAGS) ; do \
21707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21708 done; \
21709 echo "Doing dvi in make" ; \
21710 (cd $(HOST_SUBDIR)/make && \
21711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21713 "RANLIB=$${RANLIB}" \
21714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21715 dvi) \
21716 || exit 1
21718 @endif make
21720 .PHONY: maybe-pdf-make pdf-make
21721 maybe-pdf-make:
21722 @if make
21723 maybe-pdf-make: pdf-make
21725 pdf-make: \
21726 configure-make
21727 @: $(MAKE); $(unstage)
21728 @[ -f ./make/Makefile ] || exit 0; \
21729 r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 $(HOST_EXPORTS) \
21732 for flag in $(EXTRA_HOST_FLAGS) ; do \
21733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21734 done; \
21735 echo "Doing pdf in make" ; \
21736 (cd $(HOST_SUBDIR)/make && \
21737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21739 "RANLIB=$${RANLIB}" \
21740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21741 pdf) \
21742 || exit 1
21744 @endif make
21746 .PHONY: maybe-html-make html-make
21747 maybe-html-make:
21748 @if make
21749 maybe-html-make: html-make
21751 html-make: \
21752 configure-make
21753 @: $(MAKE); $(unstage)
21754 @[ -f ./make/Makefile ] || exit 0; \
21755 r=`${PWD_COMMAND}`; export r; \
21756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 $(HOST_EXPORTS) \
21758 for flag in $(EXTRA_HOST_FLAGS) ; do \
21759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21760 done; \
21761 echo "Doing html in make" ; \
21762 (cd $(HOST_SUBDIR)/make && \
21763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21765 "RANLIB=$${RANLIB}" \
21766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21767 html) \
21768 || exit 1
21770 @endif make
21772 .PHONY: maybe-TAGS-make TAGS-make
21773 maybe-TAGS-make:
21774 @if make
21775 maybe-TAGS-make: TAGS-make
21777 TAGS-make: \
21778 configure-make
21779 @: $(MAKE); $(unstage)
21780 @[ -f ./make/Makefile ] || exit 0; \
21781 r=`${PWD_COMMAND}`; export r; \
21782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 $(HOST_EXPORTS) \
21784 for flag in $(EXTRA_HOST_FLAGS) ; do \
21785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21786 done; \
21787 echo "Doing TAGS in make" ; \
21788 (cd $(HOST_SUBDIR)/make && \
21789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21791 "RANLIB=$${RANLIB}" \
21792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21793 TAGS) \
21794 || exit 1
21796 @endif make
21798 .PHONY: maybe-install-info-make install-info-make
21799 maybe-install-info-make:
21800 @if make
21801 maybe-install-info-make: install-info-make
21803 install-info-make: \
21804 configure-make \
21805 info-make
21806 @: $(MAKE); $(unstage)
21807 @[ -f ./make/Makefile ] || exit 0; \
21808 r=`${PWD_COMMAND}`; export r; \
21809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21810 $(HOST_EXPORTS) \
21811 for flag in $(EXTRA_HOST_FLAGS) ; do \
21812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21813 done; \
21814 echo "Doing install-info in make" ; \
21815 (cd $(HOST_SUBDIR)/make && \
21816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21818 "RANLIB=$${RANLIB}" \
21819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21820 install-info) \
21821 || exit 1
21823 @endif make
21825 .PHONY: maybe-install-html-make install-html-make
21826 maybe-install-html-make:
21827 @if make
21828 maybe-install-html-make: install-html-make
21830 install-html-make: \
21831 configure-make \
21832 html-make
21833 @: $(MAKE); $(unstage)
21834 @[ -f ./make/Makefile ] || exit 0; \
21835 r=`${PWD_COMMAND}`; export r; \
21836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21837 $(HOST_EXPORTS) \
21838 for flag in $(EXTRA_HOST_FLAGS) ; do \
21839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21840 done; \
21841 echo "Doing install-html in make" ; \
21842 (cd $(HOST_SUBDIR)/make && \
21843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21845 "RANLIB=$${RANLIB}" \
21846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21847 install-html) \
21848 || exit 1
21850 @endif make
21852 .PHONY: maybe-installcheck-make installcheck-make
21853 maybe-installcheck-make:
21854 @if make
21855 maybe-installcheck-make: installcheck-make
21857 installcheck-make: \
21858 configure-make
21859 @: $(MAKE); $(unstage)
21860 @[ -f ./make/Makefile ] || exit 0; \
21861 r=`${PWD_COMMAND}`; export r; \
21862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21863 $(HOST_EXPORTS) \
21864 for flag in $(EXTRA_HOST_FLAGS) ; do \
21865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21866 done; \
21867 echo "Doing installcheck in make" ; \
21868 (cd $(HOST_SUBDIR)/make && \
21869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21871 "RANLIB=$${RANLIB}" \
21872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21873 installcheck) \
21874 || exit 1
21876 @endif make
21878 .PHONY: maybe-mostlyclean-make mostlyclean-make
21879 maybe-mostlyclean-make:
21880 @if make
21881 maybe-mostlyclean-make: mostlyclean-make
21883 mostlyclean-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 mostlyclean 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 mostlyclean) \
21899 || exit 1
21901 @endif make
21903 .PHONY: maybe-clean-make clean-make
21904 maybe-clean-make:
21905 @if make
21906 maybe-clean-make: clean-make
21908 clean-make:
21909 @: $(MAKE); $(unstage)
21910 @[ -f ./make/Makefile ] || exit 0; \
21911 r=`${PWD_COMMAND}`; export r; \
21912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913 $(HOST_EXPORTS) \
21914 for flag in $(EXTRA_HOST_FLAGS) ; do \
21915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21916 done; \
21917 echo "Doing clean in make" ; \
21918 (cd $(HOST_SUBDIR)/make && \
21919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21921 "RANLIB=$${RANLIB}" \
21922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21923 clean) \
21924 || exit 1
21926 @endif make
21928 .PHONY: maybe-distclean-make distclean-make
21929 maybe-distclean-make:
21930 @if make
21931 maybe-distclean-make: distclean-make
21933 distclean-make:
21934 @: $(MAKE); $(unstage)
21935 @[ -f ./make/Makefile ] || exit 0; \
21936 r=`${PWD_COMMAND}`; export r; \
21937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21938 $(HOST_EXPORTS) \
21939 for flag in $(EXTRA_HOST_FLAGS) ; do \
21940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21941 done; \
21942 echo "Doing distclean in make" ; \
21943 (cd $(HOST_SUBDIR)/make && \
21944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21946 "RANLIB=$${RANLIB}" \
21947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21948 distclean) \
21949 || exit 1
21951 @endif make
21953 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
21954 maybe-maintainer-clean-make:
21955 @if make
21956 maybe-maintainer-clean-make: maintainer-clean-make
21958 maintainer-clean-make:
21959 @: $(MAKE); $(unstage)
21960 @[ -f ./make/Makefile ] || exit 0; \
21961 r=`${PWD_COMMAND}`; export r; \
21962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 $(HOST_EXPORTS) \
21964 for flag in $(EXTRA_HOST_FLAGS) ; do \
21965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21966 done; \
21967 echo "Doing maintainer-clean in make" ; \
21968 (cd $(HOST_SUBDIR)/make && \
21969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21971 "RANLIB=$${RANLIB}" \
21972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21973 maintainer-clean) \
21974 || exit 1
21976 @endif make
21980 .PHONY: configure-mmalloc maybe-configure-mmalloc
21981 maybe-configure-mmalloc:
21982 @if gcc-bootstrap
21983 configure-mmalloc: stage_current
21984 @endif gcc-bootstrap
21985 @if mmalloc
21986 maybe-configure-mmalloc: configure-mmalloc
21987 configure-mmalloc:
21988 @: $(MAKE); $(unstage)
21989 @r=`${PWD_COMMAND}`; export r; \
21990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21991 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
21992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
21993 $(HOST_EXPORTS) \
21994 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
21995 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
21996 case $(srcdir) in \
21997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21998 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
21999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22000 esac; \
22001 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
22002 libsrcdir="$$s/mmalloc"; \
22003 $(SHELL) $${libsrcdir}/configure \
22004 $(HOST_CONFIGARGS) $${srcdiroption} \
22005 || exit 1
22006 @endif mmalloc
22012 .PHONY: all-mmalloc maybe-all-mmalloc
22013 maybe-all-mmalloc:
22014 @if gcc-bootstrap
22015 all-mmalloc: stage_current
22016 @endif gcc-bootstrap
22017 @if mmalloc
22018 TARGET-mmalloc=all
22019 maybe-all-mmalloc: all-mmalloc
22020 all-mmalloc: configure-mmalloc
22021 @: $(MAKE); $(unstage)
22022 @r=`${PWD_COMMAND}`; export r; \
22023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22024 $(HOST_EXPORTS) \
22025 (cd $(HOST_SUBDIR)/mmalloc && \
22026 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
22027 @endif mmalloc
22032 .PHONY: check-mmalloc maybe-check-mmalloc
22033 maybe-check-mmalloc:
22034 @if mmalloc
22035 maybe-check-mmalloc: check-mmalloc
22037 check-mmalloc:
22039 @endif mmalloc
22041 .PHONY: install-mmalloc maybe-install-mmalloc
22042 maybe-install-mmalloc:
22043 @if mmalloc
22044 maybe-install-mmalloc: install-mmalloc
22046 install-mmalloc: installdirs
22047 @: $(MAKE); $(unstage)
22048 @r=`${PWD_COMMAND}`; export r; \
22049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22050 $(HOST_EXPORTS) \
22051 (cd $(HOST_SUBDIR)/mmalloc && \
22052 $(MAKE) $(FLAGS_TO_PASS) install)
22054 @endif mmalloc
22056 # Other targets (info, dvi, pdf, etc.)
22058 .PHONY: maybe-info-mmalloc info-mmalloc
22059 maybe-info-mmalloc:
22060 @if mmalloc
22061 maybe-info-mmalloc: info-mmalloc
22063 info-mmalloc: \
22064 configure-mmalloc
22065 @: $(MAKE); $(unstage)
22066 @[ -f ./mmalloc/Makefile ] || exit 0; \
22067 r=`${PWD_COMMAND}`; export r; \
22068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22069 $(HOST_EXPORTS) \
22070 for flag in $(EXTRA_HOST_FLAGS) ; do \
22071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22072 done; \
22073 echo "Doing info in mmalloc" ; \
22074 (cd $(HOST_SUBDIR)/mmalloc && \
22075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22077 "RANLIB=$${RANLIB}" \
22078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22079 info) \
22080 || exit 1
22082 @endif mmalloc
22084 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
22085 maybe-dvi-mmalloc:
22086 @if mmalloc
22087 maybe-dvi-mmalloc: dvi-mmalloc
22089 dvi-mmalloc: \
22090 configure-mmalloc
22091 @: $(MAKE); $(unstage)
22092 @[ -f ./mmalloc/Makefile ] || exit 0; \
22093 r=`${PWD_COMMAND}`; export r; \
22094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22095 $(HOST_EXPORTS) \
22096 for flag in $(EXTRA_HOST_FLAGS) ; do \
22097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22098 done; \
22099 echo "Doing dvi in mmalloc" ; \
22100 (cd $(HOST_SUBDIR)/mmalloc && \
22101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22103 "RANLIB=$${RANLIB}" \
22104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22105 dvi) \
22106 || exit 1
22108 @endif mmalloc
22110 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
22111 maybe-pdf-mmalloc:
22112 @if mmalloc
22113 maybe-pdf-mmalloc: pdf-mmalloc
22115 pdf-mmalloc: \
22116 configure-mmalloc
22117 @: $(MAKE); $(unstage)
22118 @[ -f ./mmalloc/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 pdf in mmalloc" ; \
22126 (cd $(HOST_SUBDIR)/mmalloc && \
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 pdf) \
22132 || exit 1
22134 @endif mmalloc
22136 .PHONY: maybe-html-mmalloc html-mmalloc
22137 maybe-html-mmalloc:
22138 @if mmalloc
22139 maybe-html-mmalloc: html-mmalloc
22141 html-mmalloc: \
22142 configure-mmalloc
22143 @: $(MAKE); $(unstage)
22144 @[ -f ./mmalloc/Makefile ] || exit 0; \
22145 r=`${PWD_COMMAND}`; export r; \
22146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22147 $(HOST_EXPORTS) \
22148 for flag in $(EXTRA_HOST_FLAGS) ; do \
22149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22150 done; \
22151 echo "Doing html in mmalloc" ; \
22152 (cd $(HOST_SUBDIR)/mmalloc && \
22153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22155 "RANLIB=$${RANLIB}" \
22156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22157 html) \
22158 || exit 1
22160 @endif mmalloc
22162 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
22163 maybe-TAGS-mmalloc:
22164 @if mmalloc
22165 maybe-TAGS-mmalloc: TAGS-mmalloc
22167 TAGS-mmalloc: \
22168 configure-mmalloc
22169 @: $(MAKE); $(unstage)
22170 @[ -f ./mmalloc/Makefile ] || exit 0; \
22171 r=`${PWD_COMMAND}`; export r; \
22172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22173 $(HOST_EXPORTS) \
22174 for flag in $(EXTRA_HOST_FLAGS) ; do \
22175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22176 done; \
22177 echo "Doing TAGS in mmalloc" ; \
22178 (cd $(HOST_SUBDIR)/mmalloc && \
22179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22181 "RANLIB=$${RANLIB}" \
22182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22183 TAGS) \
22184 || exit 1
22186 @endif mmalloc
22188 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
22189 maybe-install-info-mmalloc:
22190 @if mmalloc
22191 maybe-install-info-mmalloc: install-info-mmalloc
22193 install-info-mmalloc: \
22194 configure-mmalloc \
22195 info-mmalloc
22196 @: $(MAKE); $(unstage)
22197 @[ -f ./mmalloc/Makefile ] || exit 0; \
22198 r=`${PWD_COMMAND}`; export r; \
22199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22200 $(HOST_EXPORTS) \
22201 for flag in $(EXTRA_HOST_FLAGS) ; do \
22202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22203 done; \
22204 echo "Doing install-info in mmalloc" ; \
22205 (cd $(HOST_SUBDIR)/mmalloc && \
22206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22208 "RANLIB=$${RANLIB}" \
22209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22210 install-info) \
22211 || exit 1
22213 @endif mmalloc
22215 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
22216 maybe-install-html-mmalloc:
22217 @if mmalloc
22218 maybe-install-html-mmalloc: install-html-mmalloc
22220 install-html-mmalloc: \
22221 configure-mmalloc \
22222 html-mmalloc
22223 @: $(MAKE); $(unstage)
22224 @[ -f ./mmalloc/Makefile ] || exit 0; \
22225 r=`${PWD_COMMAND}`; export r; \
22226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22227 $(HOST_EXPORTS) \
22228 for flag in $(EXTRA_HOST_FLAGS) ; do \
22229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22230 done; \
22231 echo "Doing install-html in mmalloc" ; \
22232 (cd $(HOST_SUBDIR)/mmalloc && \
22233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22235 "RANLIB=$${RANLIB}" \
22236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22237 install-html) \
22238 || exit 1
22240 @endif mmalloc
22242 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
22243 maybe-installcheck-mmalloc:
22244 @if mmalloc
22245 maybe-installcheck-mmalloc: installcheck-mmalloc
22247 installcheck-mmalloc: \
22248 configure-mmalloc
22249 @: $(MAKE); $(unstage)
22250 @[ -f ./mmalloc/Makefile ] || exit 0; \
22251 r=`${PWD_COMMAND}`; export r; \
22252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22253 $(HOST_EXPORTS) \
22254 for flag in $(EXTRA_HOST_FLAGS) ; do \
22255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22256 done; \
22257 echo "Doing installcheck in mmalloc" ; \
22258 (cd $(HOST_SUBDIR)/mmalloc && \
22259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22261 "RANLIB=$${RANLIB}" \
22262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22263 installcheck) \
22264 || exit 1
22266 @endif mmalloc
22268 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
22269 maybe-mostlyclean-mmalloc:
22270 @if mmalloc
22271 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
22273 mostlyclean-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 mostlyclean 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 mostlyclean) \
22289 || exit 1
22291 @endif mmalloc
22293 .PHONY: maybe-clean-mmalloc clean-mmalloc
22294 maybe-clean-mmalloc:
22295 @if mmalloc
22296 maybe-clean-mmalloc: clean-mmalloc
22298 clean-mmalloc:
22299 @: $(MAKE); $(unstage)
22300 @[ -f ./mmalloc/Makefile ] || exit 0; \
22301 r=`${PWD_COMMAND}`; export r; \
22302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22303 $(HOST_EXPORTS) \
22304 for flag in $(EXTRA_HOST_FLAGS) ; do \
22305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22306 done; \
22307 echo "Doing clean in mmalloc" ; \
22308 (cd $(HOST_SUBDIR)/mmalloc && \
22309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22311 "RANLIB=$${RANLIB}" \
22312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22313 clean) \
22314 || exit 1
22316 @endif mmalloc
22318 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
22319 maybe-distclean-mmalloc:
22320 @if mmalloc
22321 maybe-distclean-mmalloc: distclean-mmalloc
22323 distclean-mmalloc:
22324 @: $(MAKE); $(unstage)
22325 @[ -f ./mmalloc/Makefile ] || exit 0; \
22326 r=`${PWD_COMMAND}`; export r; \
22327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22328 $(HOST_EXPORTS) \
22329 for flag in $(EXTRA_HOST_FLAGS) ; do \
22330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22331 done; \
22332 echo "Doing distclean in mmalloc" ; \
22333 (cd $(HOST_SUBDIR)/mmalloc && \
22334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22336 "RANLIB=$${RANLIB}" \
22337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22338 distclean) \
22339 || exit 1
22341 @endif mmalloc
22343 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
22344 maybe-maintainer-clean-mmalloc:
22345 @if mmalloc
22346 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
22348 maintainer-clean-mmalloc:
22349 @: $(MAKE); $(unstage)
22350 @[ -f ./mmalloc/Makefile ] || exit 0; \
22351 r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 $(HOST_EXPORTS) \
22354 for flag in $(EXTRA_HOST_FLAGS) ; do \
22355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22356 done; \
22357 echo "Doing maintainer-clean in mmalloc" ; \
22358 (cd $(HOST_SUBDIR)/mmalloc && \
22359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22361 "RANLIB=$${RANLIB}" \
22362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22363 maintainer-clean) \
22364 || exit 1
22366 @endif mmalloc
22370 .PHONY: configure-patch maybe-configure-patch
22371 maybe-configure-patch:
22372 @if gcc-bootstrap
22373 configure-patch: stage_current
22374 @endif gcc-bootstrap
22375 @if patch
22376 maybe-configure-patch: configure-patch
22377 configure-patch:
22378 @: $(MAKE); $(unstage)
22379 @r=`${PWD_COMMAND}`; export r; \
22380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22381 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
22382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
22383 $(HOST_EXPORTS) \
22384 echo Configuring in $(HOST_SUBDIR)/patch; \
22385 cd "$(HOST_SUBDIR)/patch" || exit 1; \
22386 case $(srcdir) in \
22387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22388 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
22389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22390 esac; \
22391 srcdiroption="--srcdir=$${topdir}/patch"; \
22392 libsrcdir="$$s/patch"; \
22393 $(SHELL) $${libsrcdir}/configure \
22394 $(HOST_CONFIGARGS) $${srcdiroption} \
22395 || exit 1
22396 @endif patch
22402 .PHONY: all-patch maybe-all-patch
22403 maybe-all-patch:
22404 @if gcc-bootstrap
22405 all-patch: stage_current
22406 @endif gcc-bootstrap
22407 @if patch
22408 TARGET-patch=all
22409 maybe-all-patch: all-patch
22410 all-patch: configure-patch
22411 @: $(MAKE); $(unstage)
22412 @r=`${PWD_COMMAND}`; export r; \
22413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22414 $(HOST_EXPORTS) \
22415 (cd $(HOST_SUBDIR)/patch && \
22416 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
22417 @endif patch
22422 .PHONY: check-patch maybe-check-patch
22423 maybe-check-patch:
22424 @if patch
22425 maybe-check-patch: check-patch
22427 check-patch:
22428 @: $(MAKE); $(unstage)
22429 @r=`${PWD_COMMAND}`; export r; \
22430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22431 $(HOST_EXPORTS) \
22432 (cd $(HOST_SUBDIR)/patch && \
22433 $(MAKE) $(FLAGS_TO_PASS) check)
22435 @endif patch
22437 .PHONY: install-patch maybe-install-patch
22438 maybe-install-patch:
22439 @if patch
22440 maybe-install-patch: install-patch
22442 install-patch: installdirs
22443 @: $(MAKE); $(unstage)
22444 @r=`${PWD_COMMAND}`; export r; \
22445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22446 $(HOST_EXPORTS) \
22447 (cd $(HOST_SUBDIR)/patch && \
22448 $(MAKE) $(FLAGS_TO_PASS) install)
22450 @endif patch
22452 # Other targets (info, dvi, pdf, etc.)
22454 .PHONY: maybe-info-patch info-patch
22455 maybe-info-patch:
22456 @if patch
22457 maybe-info-patch: info-patch
22459 info-patch: \
22460 configure-patch
22461 @: $(MAKE); $(unstage)
22462 @[ -f ./patch/Makefile ] || exit 0; \
22463 r=`${PWD_COMMAND}`; export r; \
22464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22465 $(HOST_EXPORTS) \
22466 for flag in $(EXTRA_HOST_FLAGS) ; do \
22467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22468 done; \
22469 echo "Doing info in patch" ; \
22470 (cd $(HOST_SUBDIR)/patch && \
22471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22473 "RANLIB=$${RANLIB}" \
22474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22475 info) \
22476 || exit 1
22478 @endif patch
22480 .PHONY: maybe-dvi-patch dvi-patch
22481 maybe-dvi-patch:
22482 @if patch
22483 maybe-dvi-patch: dvi-patch
22485 dvi-patch: \
22486 configure-patch
22487 @: $(MAKE); $(unstage)
22488 @[ -f ./patch/Makefile ] || exit 0; \
22489 r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491 $(HOST_EXPORTS) \
22492 for flag in $(EXTRA_HOST_FLAGS) ; do \
22493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22494 done; \
22495 echo "Doing dvi in patch" ; \
22496 (cd $(HOST_SUBDIR)/patch && \
22497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22499 "RANLIB=$${RANLIB}" \
22500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22501 dvi) \
22502 || exit 1
22504 @endif patch
22506 .PHONY: maybe-pdf-patch pdf-patch
22507 maybe-pdf-patch:
22508 @if patch
22509 maybe-pdf-patch: pdf-patch
22511 pdf-patch: \
22512 configure-patch
22513 @: $(MAKE); $(unstage)
22514 @[ -f ./patch/Makefile ] || exit 0; \
22515 r=`${PWD_COMMAND}`; export r; \
22516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22517 $(HOST_EXPORTS) \
22518 for flag in $(EXTRA_HOST_FLAGS) ; do \
22519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22520 done; \
22521 echo "Doing pdf in patch" ; \
22522 (cd $(HOST_SUBDIR)/patch && \
22523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22525 "RANLIB=$${RANLIB}" \
22526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22527 pdf) \
22528 || exit 1
22530 @endif patch
22532 .PHONY: maybe-html-patch html-patch
22533 maybe-html-patch:
22534 @if patch
22535 maybe-html-patch: html-patch
22537 html-patch: \
22538 configure-patch
22539 @: $(MAKE); $(unstage)
22540 @[ -f ./patch/Makefile ] || exit 0; \
22541 r=`${PWD_COMMAND}`; export r; \
22542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22543 $(HOST_EXPORTS) \
22544 for flag in $(EXTRA_HOST_FLAGS) ; do \
22545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22546 done; \
22547 echo "Doing html in patch" ; \
22548 (cd $(HOST_SUBDIR)/patch && \
22549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22551 "RANLIB=$${RANLIB}" \
22552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22553 html) \
22554 || exit 1
22556 @endif patch
22558 .PHONY: maybe-TAGS-patch TAGS-patch
22559 maybe-TAGS-patch:
22560 @if patch
22561 maybe-TAGS-patch: TAGS-patch
22563 TAGS-patch: \
22564 configure-patch
22565 @: $(MAKE); $(unstage)
22566 @[ -f ./patch/Makefile ] || exit 0; \
22567 r=`${PWD_COMMAND}`; export r; \
22568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 $(HOST_EXPORTS) \
22570 for flag in $(EXTRA_HOST_FLAGS) ; do \
22571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22572 done; \
22573 echo "Doing TAGS in patch" ; \
22574 (cd $(HOST_SUBDIR)/patch && \
22575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22577 "RANLIB=$${RANLIB}" \
22578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22579 TAGS) \
22580 || exit 1
22582 @endif patch
22584 .PHONY: maybe-install-info-patch install-info-patch
22585 maybe-install-info-patch:
22586 @if patch
22587 maybe-install-info-patch: install-info-patch
22589 install-info-patch: \
22590 configure-patch \
22591 info-patch
22592 @: $(MAKE); $(unstage)
22593 @[ -f ./patch/Makefile ] || exit 0; \
22594 r=`${PWD_COMMAND}`; export r; \
22595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22596 $(HOST_EXPORTS) \
22597 for flag in $(EXTRA_HOST_FLAGS) ; do \
22598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22599 done; \
22600 echo "Doing install-info in patch" ; \
22601 (cd $(HOST_SUBDIR)/patch && \
22602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22604 "RANLIB=$${RANLIB}" \
22605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22606 install-info) \
22607 || exit 1
22609 @endif patch
22611 .PHONY: maybe-install-html-patch install-html-patch
22612 maybe-install-html-patch:
22613 @if patch
22614 maybe-install-html-patch: install-html-patch
22616 install-html-patch: \
22617 configure-patch \
22618 html-patch
22619 @: $(MAKE); $(unstage)
22620 @[ -f ./patch/Makefile ] || exit 0; \
22621 r=`${PWD_COMMAND}`; export r; \
22622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22623 $(HOST_EXPORTS) \
22624 for flag in $(EXTRA_HOST_FLAGS) ; do \
22625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22626 done; \
22627 echo "Doing install-html in patch" ; \
22628 (cd $(HOST_SUBDIR)/patch && \
22629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22631 "RANLIB=$${RANLIB}" \
22632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22633 install-html) \
22634 || exit 1
22636 @endif patch
22638 .PHONY: maybe-installcheck-patch installcheck-patch
22639 maybe-installcheck-patch:
22640 @if patch
22641 maybe-installcheck-patch: installcheck-patch
22643 installcheck-patch: \
22644 configure-patch
22645 @: $(MAKE); $(unstage)
22646 @[ -f ./patch/Makefile ] || exit 0; \
22647 r=`${PWD_COMMAND}`; export r; \
22648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649 $(HOST_EXPORTS) \
22650 for flag in $(EXTRA_HOST_FLAGS) ; do \
22651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22652 done; \
22653 echo "Doing installcheck in patch" ; \
22654 (cd $(HOST_SUBDIR)/patch && \
22655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22657 "RANLIB=$${RANLIB}" \
22658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22659 installcheck) \
22660 || exit 1
22662 @endif patch
22664 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
22665 maybe-mostlyclean-patch:
22666 @if patch
22667 maybe-mostlyclean-patch: mostlyclean-patch
22669 mostlyclean-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 mostlyclean 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 mostlyclean) \
22685 || exit 1
22687 @endif patch
22689 .PHONY: maybe-clean-patch clean-patch
22690 maybe-clean-patch:
22691 @if patch
22692 maybe-clean-patch: clean-patch
22694 clean-patch:
22695 @: $(MAKE); $(unstage)
22696 @[ -f ./patch/Makefile ] || exit 0; \
22697 r=`${PWD_COMMAND}`; export r; \
22698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 $(HOST_EXPORTS) \
22700 for flag in $(EXTRA_HOST_FLAGS) ; do \
22701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22702 done; \
22703 echo "Doing clean in patch" ; \
22704 (cd $(HOST_SUBDIR)/patch && \
22705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22707 "RANLIB=$${RANLIB}" \
22708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22709 clean) \
22710 || exit 1
22712 @endif patch
22714 .PHONY: maybe-distclean-patch distclean-patch
22715 maybe-distclean-patch:
22716 @if patch
22717 maybe-distclean-patch: distclean-patch
22719 distclean-patch:
22720 @: $(MAKE); $(unstage)
22721 @[ -f ./patch/Makefile ] || exit 0; \
22722 r=`${PWD_COMMAND}`; export r; \
22723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22724 $(HOST_EXPORTS) \
22725 for flag in $(EXTRA_HOST_FLAGS) ; do \
22726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22727 done; \
22728 echo "Doing distclean in patch" ; \
22729 (cd $(HOST_SUBDIR)/patch && \
22730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22732 "RANLIB=$${RANLIB}" \
22733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22734 distclean) \
22735 || exit 1
22737 @endif patch
22739 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
22740 maybe-maintainer-clean-patch:
22741 @if patch
22742 maybe-maintainer-clean-patch: maintainer-clean-patch
22744 maintainer-clean-patch:
22745 @: $(MAKE); $(unstage)
22746 @[ -f ./patch/Makefile ] || exit 0; \
22747 r=`${PWD_COMMAND}`; export r; \
22748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 $(HOST_EXPORTS) \
22750 for flag in $(EXTRA_HOST_FLAGS) ; do \
22751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22752 done; \
22753 echo "Doing maintainer-clean in patch" ; \
22754 (cd $(HOST_SUBDIR)/patch && \
22755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22757 "RANLIB=$${RANLIB}" \
22758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22759 maintainer-clean) \
22760 || exit 1
22762 @endif patch
22766 .PHONY: configure-perl maybe-configure-perl
22767 maybe-configure-perl:
22768 @if gcc-bootstrap
22769 configure-perl: stage_current
22770 @endif gcc-bootstrap
22771 @if perl
22772 maybe-configure-perl: configure-perl
22773 configure-perl:
22774 @: $(MAKE); $(unstage)
22775 @r=`${PWD_COMMAND}`; export r; \
22776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22777 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
22778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
22779 $(HOST_EXPORTS) \
22780 echo Configuring in $(HOST_SUBDIR)/perl; \
22781 cd "$(HOST_SUBDIR)/perl" || exit 1; \
22782 case $(srcdir) in \
22783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22784 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
22785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22786 esac; \
22787 srcdiroption="--srcdir=$${topdir}/perl"; \
22788 libsrcdir="$$s/perl"; \
22789 $(SHELL) $${libsrcdir}/configure \
22790 $(HOST_CONFIGARGS) $${srcdiroption} \
22791 || exit 1
22792 @endif perl
22798 .PHONY: all-perl maybe-all-perl
22799 maybe-all-perl:
22800 @if gcc-bootstrap
22801 all-perl: stage_current
22802 @endif gcc-bootstrap
22803 @if perl
22804 TARGET-perl=all
22805 maybe-all-perl: all-perl
22806 all-perl: configure-perl
22807 @: $(MAKE); $(unstage)
22808 @r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22810 $(HOST_EXPORTS) \
22811 (cd $(HOST_SUBDIR)/perl && \
22812 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
22813 @endif perl
22818 .PHONY: check-perl maybe-check-perl
22819 maybe-check-perl:
22820 @if perl
22821 maybe-check-perl: check-perl
22823 check-perl:
22824 @: $(MAKE); $(unstage)
22825 @r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 $(HOST_EXPORTS) \
22828 (cd $(HOST_SUBDIR)/perl && \
22829 $(MAKE) $(FLAGS_TO_PASS) check)
22831 @endif perl
22833 .PHONY: install-perl maybe-install-perl
22834 maybe-install-perl:
22835 @if perl
22836 maybe-install-perl: install-perl
22838 install-perl: installdirs
22839 @: $(MAKE); $(unstage)
22840 @r=`${PWD_COMMAND}`; export r; \
22841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22842 $(HOST_EXPORTS) \
22843 (cd $(HOST_SUBDIR)/perl && \
22844 $(MAKE) $(FLAGS_TO_PASS) install)
22846 @endif perl
22848 # Other targets (info, dvi, pdf, etc.)
22850 .PHONY: maybe-info-perl info-perl
22851 maybe-info-perl:
22852 @if perl
22853 maybe-info-perl: info-perl
22855 info-perl: \
22856 configure-perl
22857 @: $(MAKE); $(unstage)
22858 @[ -f ./perl/Makefile ] || exit 0; \
22859 r=`${PWD_COMMAND}`; export r; \
22860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22861 $(HOST_EXPORTS) \
22862 for flag in $(EXTRA_HOST_FLAGS) ; do \
22863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22864 done; \
22865 echo "Doing info in perl" ; \
22866 (cd $(HOST_SUBDIR)/perl && \
22867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22869 "RANLIB=$${RANLIB}" \
22870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22871 info) \
22872 || exit 1
22874 @endif perl
22876 .PHONY: maybe-dvi-perl dvi-perl
22877 maybe-dvi-perl:
22878 @if perl
22879 maybe-dvi-perl: dvi-perl
22881 dvi-perl: \
22882 configure-perl
22883 @: $(MAKE); $(unstage)
22884 @[ -f ./perl/Makefile ] || exit 0; \
22885 r=`${PWD_COMMAND}`; export r; \
22886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22887 $(HOST_EXPORTS) \
22888 for flag in $(EXTRA_HOST_FLAGS) ; do \
22889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22890 done; \
22891 echo "Doing dvi in perl" ; \
22892 (cd $(HOST_SUBDIR)/perl && \
22893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22895 "RANLIB=$${RANLIB}" \
22896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22897 dvi) \
22898 || exit 1
22900 @endif perl
22902 .PHONY: maybe-pdf-perl pdf-perl
22903 maybe-pdf-perl:
22904 @if perl
22905 maybe-pdf-perl: pdf-perl
22907 pdf-perl: \
22908 configure-perl
22909 @: $(MAKE); $(unstage)
22910 @[ -f ./perl/Makefile ] || exit 0; \
22911 r=`${PWD_COMMAND}`; export r; \
22912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22913 $(HOST_EXPORTS) \
22914 for flag in $(EXTRA_HOST_FLAGS) ; do \
22915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22916 done; \
22917 echo "Doing pdf in perl" ; \
22918 (cd $(HOST_SUBDIR)/perl && \
22919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22921 "RANLIB=$${RANLIB}" \
22922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22923 pdf) \
22924 || exit 1
22926 @endif perl
22928 .PHONY: maybe-html-perl html-perl
22929 maybe-html-perl:
22930 @if perl
22931 maybe-html-perl: html-perl
22933 html-perl: \
22934 configure-perl
22935 @: $(MAKE); $(unstage)
22936 @[ -f ./perl/Makefile ] || exit 0; \
22937 r=`${PWD_COMMAND}`; export r; \
22938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22939 $(HOST_EXPORTS) \
22940 for flag in $(EXTRA_HOST_FLAGS) ; do \
22941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22942 done; \
22943 echo "Doing html in perl" ; \
22944 (cd $(HOST_SUBDIR)/perl && \
22945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22947 "RANLIB=$${RANLIB}" \
22948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22949 html) \
22950 || exit 1
22952 @endif perl
22954 .PHONY: maybe-TAGS-perl TAGS-perl
22955 maybe-TAGS-perl:
22956 @if perl
22957 maybe-TAGS-perl: TAGS-perl
22959 TAGS-perl: \
22960 configure-perl
22961 @: $(MAKE); $(unstage)
22962 @[ -f ./perl/Makefile ] || exit 0; \
22963 r=`${PWD_COMMAND}`; export r; \
22964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22965 $(HOST_EXPORTS) \
22966 for flag in $(EXTRA_HOST_FLAGS) ; do \
22967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22968 done; \
22969 echo "Doing TAGS in perl" ; \
22970 (cd $(HOST_SUBDIR)/perl && \
22971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22973 "RANLIB=$${RANLIB}" \
22974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22975 TAGS) \
22976 || exit 1
22978 @endif perl
22980 .PHONY: maybe-install-info-perl install-info-perl
22981 maybe-install-info-perl:
22982 @if perl
22983 maybe-install-info-perl: install-info-perl
22985 install-info-perl: \
22986 configure-perl \
22987 info-perl
22988 @: $(MAKE); $(unstage)
22989 @[ -f ./perl/Makefile ] || exit 0; \
22990 r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992 $(HOST_EXPORTS) \
22993 for flag in $(EXTRA_HOST_FLAGS) ; do \
22994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22995 done; \
22996 echo "Doing install-info in perl" ; \
22997 (cd $(HOST_SUBDIR)/perl && \
22998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23000 "RANLIB=$${RANLIB}" \
23001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23002 install-info) \
23003 || exit 1
23005 @endif perl
23007 .PHONY: maybe-install-html-perl install-html-perl
23008 maybe-install-html-perl:
23009 @if perl
23010 maybe-install-html-perl: install-html-perl
23012 install-html-perl: \
23013 configure-perl \
23014 html-perl
23015 @: $(MAKE); $(unstage)
23016 @[ -f ./perl/Makefile ] || exit 0; \
23017 r=`${PWD_COMMAND}`; export r; \
23018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23019 $(HOST_EXPORTS) \
23020 for flag in $(EXTRA_HOST_FLAGS) ; do \
23021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23022 done; \
23023 echo "Doing install-html in perl" ; \
23024 (cd $(HOST_SUBDIR)/perl && \
23025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23027 "RANLIB=$${RANLIB}" \
23028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23029 install-html) \
23030 || exit 1
23032 @endif perl
23034 .PHONY: maybe-installcheck-perl installcheck-perl
23035 maybe-installcheck-perl:
23036 @if perl
23037 maybe-installcheck-perl: installcheck-perl
23039 installcheck-perl: \
23040 configure-perl
23041 @: $(MAKE); $(unstage)
23042 @[ -f ./perl/Makefile ] || exit 0; \
23043 r=`${PWD_COMMAND}`; export r; \
23044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23045 $(HOST_EXPORTS) \
23046 for flag in $(EXTRA_HOST_FLAGS) ; do \
23047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23048 done; \
23049 echo "Doing installcheck in perl" ; \
23050 (cd $(HOST_SUBDIR)/perl && \
23051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23053 "RANLIB=$${RANLIB}" \
23054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23055 installcheck) \
23056 || exit 1
23058 @endif perl
23060 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
23061 maybe-mostlyclean-perl:
23062 @if perl
23063 maybe-mostlyclean-perl: mostlyclean-perl
23065 mostlyclean-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 mostlyclean 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 mostlyclean) \
23081 || exit 1
23083 @endif perl
23085 .PHONY: maybe-clean-perl clean-perl
23086 maybe-clean-perl:
23087 @if perl
23088 maybe-clean-perl: clean-perl
23090 clean-perl:
23091 @: $(MAKE); $(unstage)
23092 @[ -f ./perl/Makefile ] || exit 0; \
23093 r=`${PWD_COMMAND}`; export r; \
23094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23095 $(HOST_EXPORTS) \
23096 for flag in $(EXTRA_HOST_FLAGS) ; do \
23097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23098 done; \
23099 echo "Doing clean in perl" ; \
23100 (cd $(HOST_SUBDIR)/perl && \
23101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23103 "RANLIB=$${RANLIB}" \
23104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23105 clean) \
23106 || exit 1
23108 @endif perl
23110 .PHONY: maybe-distclean-perl distclean-perl
23111 maybe-distclean-perl:
23112 @if perl
23113 maybe-distclean-perl: distclean-perl
23115 distclean-perl:
23116 @: $(MAKE); $(unstage)
23117 @[ -f ./perl/Makefile ] || exit 0; \
23118 r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120 $(HOST_EXPORTS) \
23121 for flag in $(EXTRA_HOST_FLAGS) ; do \
23122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23123 done; \
23124 echo "Doing distclean in perl" ; \
23125 (cd $(HOST_SUBDIR)/perl && \
23126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23128 "RANLIB=$${RANLIB}" \
23129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23130 distclean) \
23131 || exit 1
23133 @endif perl
23135 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
23136 maybe-maintainer-clean-perl:
23137 @if perl
23138 maybe-maintainer-clean-perl: maintainer-clean-perl
23140 maintainer-clean-perl:
23141 @: $(MAKE); $(unstage)
23142 @[ -f ./perl/Makefile ] || exit 0; \
23143 r=`${PWD_COMMAND}`; export r; \
23144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23145 $(HOST_EXPORTS) \
23146 for flag in $(EXTRA_HOST_FLAGS) ; do \
23147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23148 done; \
23149 echo "Doing maintainer-clean in perl" ; \
23150 (cd $(HOST_SUBDIR)/perl && \
23151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23153 "RANLIB=$${RANLIB}" \
23154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23155 maintainer-clean) \
23156 || exit 1
23158 @endif perl
23162 .PHONY: configure-prms maybe-configure-prms
23163 maybe-configure-prms:
23164 @if gcc-bootstrap
23165 configure-prms: stage_current
23166 @endif gcc-bootstrap
23167 @if prms
23168 maybe-configure-prms: configure-prms
23169 configure-prms:
23170 @: $(MAKE); $(unstage)
23171 @r=`${PWD_COMMAND}`; export r; \
23172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23173 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
23174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
23175 $(HOST_EXPORTS) \
23176 echo Configuring in $(HOST_SUBDIR)/prms; \
23177 cd "$(HOST_SUBDIR)/prms" || exit 1; \
23178 case $(srcdir) in \
23179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23180 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
23181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23182 esac; \
23183 srcdiroption="--srcdir=$${topdir}/prms"; \
23184 libsrcdir="$$s/prms"; \
23185 $(SHELL) $${libsrcdir}/configure \
23186 $(HOST_CONFIGARGS) $${srcdiroption} \
23187 || exit 1
23188 @endif prms
23194 .PHONY: all-prms maybe-all-prms
23195 maybe-all-prms:
23196 @if gcc-bootstrap
23197 all-prms: stage_current
23198 @endif gcc-bootstrap
23199 @if prms
23200 TARGET-prms=all
23201 maybe-all-prms: all-prms
23202 all-prms: configure-prms
23203 @: $(MAKE); $(unstage)
23204 @r=`${PWD_COMMAND}`; export r; \
23205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23206 $(HOST_EXPORTS) \
23207 (cd $(HOST_SUBDIR)/prms && \
23208 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
23209 @endif prms
23214 .PHONY: check-prms maybe-check-prms
23215 maybe-check-prms:
23216 @if prms
23217 maybe-check-prms: check-prms
23219 check-prms:
23220 @: $(MAKE); $(unstage)
23221 @r=`${PWD_COMMAND}`; export r; \
23222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23223 $(HOST_EXPORTS) \
23224 (cd $(HOST_SUBDIR)/prms && \
23225 $(MAKE) $(FLAGS_TO_PASS) check)
23227 @endif prms
23229 .PHONY: install-prms maybe-install-prms
23230 maybe-install-prms:
23231 @if prms
23232 maybe-install-prms: install-prms
23234 install-prms: installdirs
23235 @: $(MAKE); $(unstage)
23236 @r=`${PWD_COMMAND}`; export r; \
23237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23238 $(HOST_EXPORTS) \
23239 (cd $(HOST_SUBDIR)/prms && \
23240 $(MAKE) $(FLAGS_TO_PASS) install)
23242 @endif prms
23244 # Other targets (info, dvi, pdf, etc.)
23246 .PHONY: maybe-info-prms info-prms
23247 maybe-info-prms:
23248 @if prms
23249 maybe-info-prms: info-prms
23251 info-prms: \
23252 configure-prms
23253 @: $(MAKE); $(unstage)
23254 @[ -f ./prms/Makefile ] || exit 0; \
23255 r=`${PWD_COMMAND}`; export r; \
23256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23257 $(HOST_EXPORTS) \
23258 for flag in $(EXTRA_HOST_FLAGS) ; do \
23259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23260 done; \
23261 echo "Doing info in prms" ; \
23262 (cd $(HOST_SUBDIR)/prms && \
23263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23265 "RANLIB=$${RANLIB}" \
23266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23267 info) \
23268 || exit 1
23270 @endif prms
23272 .PHONY: maybe-dvi-prms dvi-prms
23273 maybe-dvi-prms:
23274 @if prms
23275 maybe-dvi-prms: dvi-prms
23277 dvi-prms: \
23278 configure-prms
23279 @: $(MAKE); $(unstage)
23280 @[ -f ./prms/Makefile ] || exit 0; \
23281 r=`${PWD_COMMAND}`; export r; \
23282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23283 $(HOST_EXPORTS) \
23284 for flag in $(EXTRA_HOST_FLAGS) ; do \
23285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23286 done; \
23287 echo "Doing dvi in prms" ; \
23288 (cd $(HOST_SUBDIR)/prms && \
23289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23291 "RANLIB=$${RANLIB}" \
23292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23293 dvi) \
23294 || exit 1
23296 @endif prms
23298 .PHONY: maybe-pdf-prms pdf-prms
23299 maybe-pdf-prms:
23300 @if prms
23301 maybe-pdf-prms: pdf-prms
23303 pdf-prms: \
23304 configure-prms
23305 @: $(MAKE); $(unstage)
23306 @[ -f ./prms/Makefile ] || exit 0; \
23307 r=`${PWD_COMMAND}`; export r; \
23308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23309 $(HOST_EXPORTS) \
23310 for flag in $(EXTRA_HOST_FLAGS) ; do \
23311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23312 done; \
23313 echo "Doing pdf in prms" ; \
23314 (cd $(HOST_SUBDIR)/prms && \
23315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23317 "RANLIB=$${RANLIB}" \
23318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23319 pdf) \
23320 || exit 1
23322 @endif prms
23324 .PHONY: maybe-html-prms html-prms
23325 maybe-html-prms:
23326 @if prms
23327 maybe-html-prms: html-prms
23329 html-prms: \
23330 configure-prms
23331 @: $(MAKE); $(unstage)
23332 @[ -f ./prms/Makefile ] || exit 0; \
23333 r=`${PWD_COMMAND}`; export r; \
23334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 $(HOST_EXPORTS) \
23336 for flag in $(EXTRA_HOST_FLAGS) ; do \
23337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23338 done; \
23339 echo "Doing html in prms" ; \
23340 (cd $(HOST_SUBDIR)/prms && \
23341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23343 "RANLIB=$${RANLIB}" \
23344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23345 html) \
23346 || exit 1
23348 @endif prms
23350 .PHONY: maybe-TAGS-prms TAGS-prms
23351 maybe-TAGS-prms:
23352 @if prms
23353 maybe-TAGS-prms: TAGS-prms
23355 TAGS-prms: \
23356 configure-prms
23357 @: $(MAKE); $(unstage)
23358 @[ -f ./prms/Makefile ] || exit 0; \
23359 r=`${PWD_COMMAND}`; export r; \
23360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23361 $(HOST_EXPORTS) \
23362 for flag in $(EXTRA_HOST_FLAGS) ; do \
23363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23364 done; \
23365 echo "Doing TAGS in prms" ; \
23366 (cd $(HOST_SUBDIR)/prms && \
23367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23369 "RANLIB=$${RANLIB}" \
23370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23371 TAGS) \
23372 || exit 1
23374 @endif prms
23376 .PHONY: maybe-install-info-prms install-info-prms
23377 maybe-install-info-prms:
23378 @if prms
23379 maybe-install-info-prms: install-info-prms
23381 install-info-prms: \
23382 configure-prms \
23383 info-prms
23384 @: $(MAKE); $(unstage)
23385 @[ -f ./prms/Makefile ] || exit 0; \
23386 r=`${PWD_COMMAND}`; export r; \
23387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23388 $(HOST_EXPORTS) \
23389 for flag in $(EXTRA_HOST_FLAGS) ; do \
23390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23391 done; \
23392 echo "Doing install-info in prms" ; \
23393 (cd $(HOST_SUBDIR)/prms && \
23394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23396 "RANLIB=$${RANLIB}" \
23397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23398 install-info) \
23399 || exit 1
23401 @endif prms
23403 .PHONY: maybe-install-html-prms install-html-prms
23404 maybe-install-html-prms:
23405 @if prms
23406 maybe-install-html-prms: install-html-prms
23408 install-html-prms: \
23409 configure-prms \
23410 html-prms
23411 @: $(MAKE); $(unstage)
23412 @[ -f ./prms/Makefile ] || exit 0; \
23413 r=`${PWD_COMMAND}`; export r; \
23414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23415 $(HOST_EXPORTS) \
23416 for flag in $(EXTRA_HOST_FLAGS) ; do \
23417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23418 done; \
23419 echo "Doing install-html in prms" ; \
23420 (cd $(HOST_SUBDIR)/prms && \
23421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23423 "RANLIB=$${RANLIB}" \
23424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23425 install-html) \
23426 || exit 1
23428 @endif prms
23430 .PHONY: maybe-installcheck-prms installcheck-prms
23431 maybe-installcheck-prms:
23432 @if prms
23433 maybe-installcheck-prms: installcheck-prms
23435 installcheck-prms: \
23436 configure-prms
23437 @: $(MAKE); $(unstage)
23438 @[ -f ./prms/Makefile ] || exit 0; \
23439 r=`${PWD_COMMAND}`; export r; \
23440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23441 $(HOST_EXPORTS) \
23442 for flag in $(EXTRA_HOST_FLAGS) ; do \
23443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23444 done; \
23445 echo "Doing installcheck in prms" ; \
23446 (cd $(HOST_SUBDIR)/prms && \
23447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23449 "RANLIB=$${RANLIB}" \
23450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23451 installcheck) \
23452 || exit 1
23454 @endif prms
23456 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
23457 maybe-mostlyclean-prms:
23458 @if prms
23459 maybe-mostlyclean-prms: mostlyclean-prms
23461 mostlyclean-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 mostlyclean 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 mostlyclean) \
23477 || exit 1
23479 @endif prms
23481 .PHONY: maybe-clean-prms clean-prms
23482 maybe-clean-prms:
23483 @if prms
23484 maybe-clean-prms: clean-prms
23486 clean-prms:
23487 @: $(MAKE); $(unstage)
23488 @[ -f ./prms/Makefile ] || exit 0; \
23489 r=`${PWD_COMMAND}`; export r; \
23490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23491 $(HOST_EXPORTS) \
23492 for flag in $(EXTRA_HOST_FLAGS) ; do \
23493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23494 done; \
23495 echo "Doing clean in prms" ; \
23496 (cd $(HOST_SUBDIR)/prms && \
23497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23499 "RANLIB=$${RANLIB}" \
23500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23501 clean) \
23502 || exit 1
23504 @endif prms
23506 .PHONY: maybe-distclean-prms distclean-prms
23507 maybe-distclean-prms:
23508 @if prms
23509 maybe-distclean-prms: distclean-prms
23511 distclean-prms:
23512 @: $(MAKE); $(unstage)
23513 @[ -f ./prms/Makefile ] || exit 0; \
23514 r=`${PWD_COMMAND}`; export r; \
23515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23516 $(HOST_EXPORTS) \
23517 for flag in $(EXTRA_HOST_FLAGS) ; do \
23518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23519 done; \
23520 echo "Doing distclean in prms" ; \
23521 (cd $(HOST_SUBDIR)/prms && \
23522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23524 "RANLIB=$${RANLIB}" \
23525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23526 distclean) \
23527 || exit 1
23529 @endif prms
23531 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
23532 maybe-maintainer-clean-prms:
23533 @if prms
23534 maybe-maintainer-clean-prms: maintainer-clean-prms
23536 maintainer-clean-prms:
23537 @: $(MAKE); $(unstage)
23538 @[ -f ./prms/Makefile ] || exit 0; \
23539 r=`${PWD_COMMAND}`; export r; \
23540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 $(HOST_EXPORTS) \
23542 for flag in $(EXTRA_HOST_FLAGS) ; do \
23543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23544 done; \
23545 echo "Doing maintainer-clean in prms" ; \
23546 (cd $(HOST_SUBDIR)/prms && \
23547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23549 "RANLIB=$${RANLIB}" \
23550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23551 maintainer-clean) \
23552 || exit 1
23554 @endif prms
23558 .PHONY: configure-rcs maybe-configure-rcs
23559 maybe-configure-rcs:
23560 @if gcc-bootstrap
23561 configure-rcs: stage_current
23562 @endif gcc-bootstrap
23563 @if rcs
23564 maybe-configure-rcs: configure-rcs
23565 configure-rcs:
23566 @: $(MAKE); $(unstage)
23567 @r=`${PWD_COMMAND}`; export r; \
23568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23569 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
23570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
23571 $(HOST_EXPORTS) \
23572 echo Configuring in $(HOST_SUBDIR)/rcs; \
23573 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
23574 case $(srcdir) in \
23575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23576 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
23577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23578 esac; \
23579 srcdiroption="--srcdir=$${topdir}/rcs"; \
23580 libsrcdir="$$s/rcs"; \
23581 $(SHELL) $${libsrcdir}/configure \
23582 $(HOST_CONFIGARGS) $${srcdiroption} \
23583 || exit 1
23584 @endif rcs
23590 .PHONY: all-rcs maybe-all-rcs
23591 maybe-all-rcs:
23592 @if gcc-bootstrap
23593 all-rcs: stage_current
23594 @endif gcc-bootstrap
23595 @if rcs
23596 TARGET-rcs=all
23597 maybe-all-rcs: all-rcs
23598 all-rcs: configure-rcs
23599 @: $(MAKE); $(unstage)
23600 @r=`${PWD_COMMAND}`; export r; \
23601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23602 $(HOST_EXPORTS) \
23603 (cd $(HOST_SUBDIR)/rcs && \
23604 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
23605 @endif rcs
23610 .PHONY: check-rcs maybe-check-rcs
23611 maybe-check-rcs:
23612 @if rcs
23613 maybe-check-rcs: check-rcs
23615 check-rcs:
23616 @: $(MAKE); $(unstage)
23617 @r=`${PWD_COMMAND}`; export r; \
23618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23619 $(HOST_EXPORTS) \
23620 (cd $(HOST_SUBDIR)/rcs && \
23621 $(MAKE) $(FLAGS_TO_PASS) check)
23623 @endif rcs
23625 .PHONY: install-rcs maybe-install-rcs
23626 maybe-install-rcs:
23627 @if rcs
23628 maybe-install-rcs: install-rcs
23630 install-rcs: installdirs
23631 @: $(MAKE); $(unstage)
23632 @r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(HOST_EXPORTS) \
23635 (cd $(HOST_SUBDIR)/rcs && \
23636 $(MAKE) $(FLAGS_TO_PASS) install)
23638 @endif rcs
23640 # Other targets (info, dvi, pdf, etc.)
23642 .PHONY: maybe-info-rcs info-rcs
23643 maybe-info-rcs:
23644 @if rcs
23645 maybe-info-rcs: info-rcs
23647 info-rcs: \
23648 configure-rcs
23649 @: $(MAKE); $(unstage)
23650 @[ -f ./rcs/Makefile ] || exit 0; \
23651 r=`${PWD_COMMAND}`; export r; \
23652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23653 $(HOST_EXPORTS) \
23654 for flag in $(EXTRA_HOST_FLAGS) ; do \
23655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23656 done; \
23657 echo "Doing info in rcs" ; \
23658 (cd $(HOST_SUBDIR)/rcs && \
23659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23661 "RANLIB=$${RANLIB}" \
23662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23663 info) \
23664 || exit 1
23666 @endif rcs
23668 .PHONY: maybe-dvi-rcs dvi-rcs
23669 maybe-dvi-rcs:
23670 @if rcs
23671 maybe-dvi-rcs: dvi-rcs
23673 dvi-rcs: \
23674 configure-rcs
23675 @: $(MAKE); $(unstage)
23676 @[ -f ./rcs/Makefile ] || exit 0; \
23677 r=`${PWD_COMMAND}`; export r; \
23678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23679 $(HOST_EXPORTS) \
23680 for flag in $(EXTRA_HOST_FLAGS) ; do \
23681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23682 done; \
23683 echo "Doing dvi in rcs" ; \
23684 (cd $(HOST_SUBDIR)/rcs && \
23685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23687 "RANLIB=$${RANLIB}" \
23688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23689 dvi) \
23690 || exit 1
23692 @endif rcs
23694 .PHONY: maybe-pdf-rcs pdf-rcs
23695 maybe-pdf-rcs:
23696 @if rcs
23697 maybe-pdf-rcs: pdf-rcs
23699 pdf-rcs: \
23700 configure-rcs
23701 @: $(MAKE); $(unstage)
23702 @[ -f ./rcs/Makefile ] || exit 0; \
23703 r=`${PWD_COMMAND}`; export r; \
23704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23705 $(HOST_EXPORTS) \
23706 for flag in $(EXTRA_HOST_FLAGS) ; do \
23707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23708 done; \
23709 echo "Doing pdf in rcs" ; \
23710 (cd $(HOST_SUBDIR)/rcs && \
23711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23713 "RANLIB=$${RANLIB}" \
23714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23715 pdf) \
23716 || exit 1
23718 @endif rcs
23720 .PHONY: maybe-html-rcs html-rcs
23721 maybe-html-rcs:
23722 @if rcs
23723 maybe-html-rcs: html-rcs
23725 html-rcs: \
23726 configure-rcs
23727 @: $(MAKE); $(unstage)
23728 @[ -f ./rcs/Makefile ] || exit 0; \
23729 r=`${PWD_COMMAND}`; export r; \
23730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23731 $(HOST_EXPORTS) \
23732 for flag in $(EXTRA_HOST_FLAGS) ; do \
23733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23734 done; \
23735 echo "Doing html in rcs" ; \
23736 (cd $(HOST_SUBDIR)/rcs && \
23737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23739 "RANLIB=$${RANLIB}" \
23740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23741 html) \
23742 || exit 1
23744 @endif rcs
23746 .PHONY: maybe-TAGS-rcs TAGS-rcs
23747 maybe-TAGS-rcs:
23748 @if rcs
23749 maybe-TAGS-rcs: TAGS-rcs
23751 TAGS-rcs: \
23752 configure-rcs
23753 @: $(MAKE); $(unstage)
23754 @[ -f ./rcs/Makefile ] || exit 0; \
23755 r=`${PWD_COMMAND}`; export r; \
23756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23757 $(HOST_EXPORTS) \
23758 for flag in $(EXTRA_HOST_FLAGS) ; do \
23759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23760 done; \
23761 echo "Doing TAGS in rcs" ; \
23762 (cd $(HOST_SUBDIR)/rcs && \
23763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23765 "RANLIB=$${RANLIB}" \
23766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23767 TAGS) \
23768 || exit 1
23770 @endif rcs
23772 .PHONY: maybe-install-info-rcs install-info-rcs
23773 maybe-install-info-rcs:
23774 @if rcs
23775 maybe-install-info-rcs: install-info-rcs
23777 install-info-rcs: \
23778 configure-rcs \
23779 info-rcs
23780 @: $(MAKE); $(unstage)
23781 @[ -f ./rcs/Makefile ] || exit 0; \
23782 r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784 $(HOST_EXPORTS) \
23785 for flag in $(EXTRA_HOST_FLAGS) ; do \
23786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23787 done; \
23788 echo "Doing install-info in rcs" ; \
23789 (cd $(HOST_SUBDIR)/rcs && \
23790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23792 "RANLIB=$${RANLIB}" \
23793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23794 install-info) \
23795 || exit 1
23797 @endif rcs
23799 .PHONY: maybe-install-html-rcs install-html-rcs
23800 maybe-install-html-rcs:
23801 @if rcs
23802 maybe-install-html-rcs: install-html-rcs
23804 install-html-rcs: \
23805 configure-rcs \
23806 html-rcs
23807 @: $(MAKE); $(unstage)
23808 @[ -f ./rcs/Makefile ] || exit 0; \
23809 r=`${PWD_COMMAND}`; export r; \
23810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23811 $(HOST_EXPORTS) \
23812 for flag in $(EXTRA_HOST_FLAGS) ; do \
23813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23814 done; \
23815 echo "Doing install-html in rcs" ; \
23816 (cd $(HOST_SUBDIR)/rcs && \
23817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23819 "RANLIB=$${RANLIB}" \
23820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23821 install-html) \
23822 || exit 1
23824 @endif rcs
23826 .PHONY: maybe-installcheck-rcs installcheck-rcs
23827 maybe-installcheck-rcs:
23828 @if rcs
23829 maybe-installcheck-rcs: installcheck-rcs
23831 installcheck-rcs: \
23832 configure-rcs
23833 @: $(MAKE); $(unstage)
23834 @[ -f ./rcs/Makefile ] || exit 0; \
23835 r=`${PWD_COMMAND}`; export r; \
23836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23837 $(HOST_EXPORTS) \
23838 for flag in $(EXTRA_HOST_FLAGS) ; do \
23839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23840 done; \
23841 echo "Doing installcheck in rcs" ; \
23842 (cd $(HOST_SUBDIR)/rcs && \
23843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23845 "RANLIB=$${RANLIB}" \
23846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23847 installcheck) \
23848 || exit 1
23850 @endif rcs
23852 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
23853 maybe-mostlyclean-rcs:
23854 @if rcs
23855 maybe-mostlyclean-rcs: mostlyclean-rcs
23857 mostlyclean-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 mostlyclean 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 mostlyclean) \
23873 || exit 1
23875 @endif rcs
23877 .PHONY: maybe-clean-rcs clean-rcs
23878 maybe-clean-rcs:
23879 @if rcs
23880 maybe-clean-rcs: clean-rcs
23882 clean-rcs:
23883 @: $(MAKE); $(unstage)
23884 @[ -f ./rcs/Makefile ] || exit 0; \
23885 r=`${PWD_COMMAND}`; export r; \
23886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23887 $(HOST_EXPORTS) \
23888 for flag in $(EXTRA_HOST_FLAGS) ; do \
23889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23890 done; \
23891 echo "Doing clean in rcs" ; \
23892 (cd $(HOST_SUBDIR)/rcs && \
23893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23895 "RANLIB=$${RANLIB}" \
23896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23897 clean) \
23898 || exit 1
23900 @endif rcs
23902 .PHONY: maybe-distclean-rcs distclean-rcs
23903 maybe-distclean-rcs:
23904 @if rcs
23905 maybe-distclean-rcs: distclean-rcs
23907 distclean-rcs:
23908 @: $(MAKE); $(unstage)
23909 @[ -f ./rcs/Makefile ] || exit 0; \
23910 r=`${PWD_COMMAND}`; export r; \
23911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23912 $(HOST_EXPORTS) \
23913 for flag in $(EXTRA_HOST_FLAGS) ; do \
23914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23915 done; \
23916 echo "Doing distclean in rcs" ; \
23917 (cd $(HOST_SUBDIR)/rcs && \
23918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23920 "RANLIB=$${RANLIB}" \
23921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23922 distclean) \
23923 || exit 1
23925 @endif rcs
23927 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
23928 maybe-maintainer-clean-rcs:
23929 @if rcs
23930 maybe-maintainer-clean-rcs: maintainer-clean-rcs
23932 maintainer-clean-rcs:
23933 @: $(MAKE); $(unstage)
23934 @[ -f ./rcs/Makefile ] || exit 0; \
23935 r=`${PWD_COMMAND}`; export r; \
23936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23937 $(HOST_EXPORTS) \
23938 for flag in $(EXTRA_HOST_FLAGS) ; do \
23939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23940 done; \
23941 echo "Doing maintainer-clean in rcs" ; \
23942 (cd $(HOST_SUBDIR)/rcs && \
23943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23945 "RANLIB=$${RANLIB}" \
23946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23947 maintainer-clean) \
23948 || exit 1
23950 @endif rcs
23954 .PHONY: configure-readline maybe-configure-readline
23955 maybe-configure-readline:
23956 @if gcc-bootstrap
23957 configure-readline: stage_current
23958 @endif gcc-bootstrap
23959 @if readline
23960 maybe-configure-readline: configure-readline
23961 configure-readline:
23962 @: $(MAKE); $(unstage)
23963 @r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23966 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23967 $(HOST_EXPORTS) \
23968 echo Configuring in $(HOST_SUBDIR)/readline; \
23969 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23970 case $(srcdir) in \
23971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23972 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23974 esac; \
23975 srcdiroption="--srcdir=$${topdir}/readline"; \
23976 libsrcdir="$$s/readline"; \
23977 $(SHELL) $${libsrcdir}/configure \
23978 $(HOST_CONFIGARGS) $${srcdiroption} \
23979 || exit 1
23980 @endif readline
23986 .PHONY: all-readline maybe-all-readline
23987 maybe-all-readline:
23988 @if gcc-bootstrap
23989 all-readline: stage_current
23990 @endif gcc-bootstrap
23991 @if readline
23992 TARGET-readline=all
23993 maybe-all-readline: all-readline
23994 all-readline: configure-readline
23995 @: $(MAKE); $(unstage)
23996 @r=`${PWD_COMMAND}`; export r; \
23997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23998 $(HOST_EXPORTS) \
23999 (cd $(HOST_SUBDIR)/readline && \
24000 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
24001 @endif readline
24006 .PHONY: check-readline maybe-check-readline
24007 maybe-check-readline:
24008 @if readline
24009 maybe-check-readline: check-readline
24011 check-readline:
24012 @: $(MAKE); $(unstage)
24013 @r=`${PWD_COMMAND}`; export r; \
24014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24015 $(HOST_EXPORTS) \
24016 (cd $(HOST_SUBDIR)/readline && \
24017 $(MAKE) $(FLAGS_TO_PASS) check)
24019 @endif readline
24021 .PHONY: install-readline maybe-install-readline
24022 maybe-install-readline:
24023 @if readline
24024 maybe-install-readline: install-readline
24026 install-readline: installdirs
24027 @: $(MAKE); $(unstage)
24028 @r=`${PWD_COMMAND}`; export r; \
24029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24030 $(HOST_EXPORTS) \
24031 (cd $(HOST_SUBDIR)/readline && \
24032 $(MAKE) $(FLAGS_TO_PASS) install)
24034 @endif readline
24036 # Other targets (info, dvi, pdf, etc.)
24038 .PHONY: maybe-info-readline info-readline
24039 maybe-info-readline:
24040 @if readline
24041 maybe-info-readline: info-readline
24043 info-readline: \
24044 configure-readline
24045 @: $(MAKE); $(unstage)
24046 @[ -f ./readline/Makefile ] || exit 0; \
24047 r=`${PWD_COMMAND}`; export r; \
24048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24049 $(HOST_EXPORTS) \
24050 for flag in $(EXTRA_HOST_FLAGS) ; do \
24051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24052 done; \
24053 echo "Doing info in readline" ; \
24054 (cd $(HOST_SUBDIR)/readline && \
24055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24057 "RANLIB=$${RANLIB}" \
24058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24059 info) \
24060 || exit 1
24062 @endif readline
24064 .PHONY: maybe-dvi-readline dvi-readline
24065 maybe-dvi-readline:
24066 @if readline
24067 maybe-dvi-readline: dvi-readline
24069 dvi-readline: \
24070 configure-readline
24071 @: $(MAKE); $(unstage)
24072 @[ -f ./readline/Makefile ] || exit 0; \
24073 r=`${PWD_COMMAND}`; export r; \
24074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24075 $(HOST_EXPORTS) \
24076 for flag in $(EXTRA_HOST_FLAGS) ; do \
24077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24078 done; \
24079 echo "Doing dvi in readline" ; \
24080 (cd $(HOST_SUBDIR)/readline && \
24081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24083 "RANLIB=$${RANLIB}" \
24084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24085 dvi) \
24086 || exit 1
24088 @endif readline
24090 .PHONY: maybe-pdf-readline pdf-readline
24091 maybe-pdf-readline:
24092 @if readline
24093 maybe-pdf-readline: pdf-readline
24095 pdf-readline: \
24096 configure-readline
24097 @: $(MAKE); $(unstage)
24098 @[ -f ./readline/Makefile ] || exit 0; \
24099 r=`${PWD_COMMAND}`; export r; \
24100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24101 $(HOST_EXPORTS) \
24102 for flag in $(EXTRA_HOST_FLAGS) ; do \
24103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24104 done; \
24105 echo "Doing pdf in readline" ; \
24106 (cd $(HOST_SUBDIR)/readline && \
24107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24109 "RANLIB=$${RANLIB}" \
24110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24111 pdf) \
24112 || exit 1
24114 @endif readline
24116 .PHONY: maybe-html-readline html-readline
24117 maybe-html-readline:
24118 @if readline
24119 maybe-html-readline: html-readline
24121 html-readline: \
24122 configure-readline
24123 @: $(MAKE); $(unstage)
24124 @[ -f ./readline/Makefile ] || exit 0; \
24125 r=`${PWD_COMMAND}`; export r; \
24126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24127 $(HOST_EXPORTS) \
24128 for flag in $(EXTRA_HOST_FLAGS) ; do \
24129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24130 done; \
24131 echo "Doing html in readline" ; \
24132 (cd $(HOST_SUBDIR)/readline && \
24133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24135 "RANLIB=$${RANLIB}" \
24136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24137 html) \
24138 || exit 1
24140 @endif readline
24142 .PHONY: maybe-TAGS-readline TAGS-readline
24143 maybe-TAGS-readline:
24144 @if readline
24145 maybe-TAGS-readline: TAGS-readline
24147 TAGS-readline: \
24148 configure-readline
24149 @: $(MAKE); $(unstage)
24150 @[ -f ./readline/Makefile ] || exit 0; \
24151 r=`${PWD_COMMAND}`; export r; \
24152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24153 $(HOST_EXPORTS) \
24154 for flag in $(EXTRA_HOST_FLAGS) ; do \
24155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24156 done; \
24157 echo "Doing TAGS in readline" ; \
24158 (cd $(HOST_SUBDIR)/readline && \
24159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24161 "RANLIB=$${RANLIB}" \
24162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24163 TAGS) \
24164 || exit 1
24166 @endif readline
24168 .PHONY: maybe-install-info-readline install-info-readline
24169 maybe-install-info-readline:
24170 @if readline
24171 maybe-install-info-readline: install-info-readline
24173 install-info-readline: \
24174 configure-readline \
24175 info-readline
24176 @: $(MAKE); $(unstage)
24177 @[ -f ./readline/Makefile ] || exit 0; \
24178 r=`${PWD_COMMAND}`; export r; \
24179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24180 $(HOST_EXPORTS) \
24181 for flag in $(EXTRA_HOST_FLAGS) ; do \
24182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24183 done; \
24184 echo "Doing install-info in readline" ; \
24185 (cd $(HOST_SUBDIR)/readline && \
24186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24188 "RANLIB=$${RANLIB}" \
24189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24190 install-info) \
24191 || exit 1
24193 @endif readline
24195 .PHONY: maybe-install-html-readline install-html-readline
24196 maybe-install-html-readline:
24197 @if readline
24198 maybe-install-html-readline: install-html-readline
24200 install-html-readline: \
24201 configure-readline \
24202 html-readline
24203 @: $(MAKE); $(unstage)
24204 @[ -f ./readline/Makefile ] || exit 0; \
24205 r=`${PWD_COMMAND}`; export r; \
24206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24207 $(HOST_EXPORTS) \
24208 for flag in $(EXTRA_HOST_FLAGS) ; do \
24209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24210 done; \
24211 echo "Doing install-html in readline" ; \
24212 (cd $(HOST_SUBDIR)/readline && \
24213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24215 "RANLIB=$${RANLIB}" \
24216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24217 install-html) \
24218 || exit 1
24220 @endif readline
24222 .PHONY: maybe-installcheck-readline installcheck-readline
24223 maybe-installcheck-readline:
24224 @if readline
24225 maybe-installcheck-readline: installcheck-readline
24227 installcheck-readline: \
24228 configure-readline
24229 @: $(MAKE); $(unstage)
24230 @[ -f ./readline/Makefile ] || exit 0; \
24231 r=`${PWD_COMMAND}`; export r; \
24232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24233 $(HOST_EXPORTS) \
24234 for flag in $(EXTRA_HOST_FLAGS) ; do \
24235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24236 done; \
24237 echo "Doing installcheck in readline" ; \
24238 (cd $(HOST_SUBDIR)/readline && \
24239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24241 "RANLIB=$${RANLIB}" \
24242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24243 installcheck) \
24244 || exit 1
24246 @endif readline
24248 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24249 maybe-mostlyclean-readline:
24250 @if readline
24251 maybe-mostlyclean-readline: mostlyclean-readline
24253 mostlyclean-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 mostlyclean 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 mostlyclean) \
24269 || exit 1
24271 @endif readline
24273 .PHONY: maybe-clean-readline clean-readline
24274 maybe-clean-readline:
24275 @if readline
24276 maybe-clean-readline: clean-readline
24278 clean-readline:
24279 @: $(MAKE); $(unstage)
24280 @[ -f ./readline/Makefile ] || exit 0; \
24281 r=`${PWD_COMMAND}`; export r; \
24282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24283 $(HOST_EXPORTS) \
24284 for flag in $(EXTRA_HOST_FLAGS) ; do \
24285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24286 done; \
24287 echo "Doing clean in readline" ; \
24288 (cd $(HOST_SUBDIR)/readline && \
24289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24291 "RANLIB=$${RANLIB}" \
24292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24293 clean) \
24294 || exit 1
24296 @endif readline
24298 .PHONY: maybe-distclean-readline distclean-readline
24299 maybe-distclean-readline:
24300 @if readline
24301 maybe-distclean-readline: distclean-readline
24303 distclean-readline:
24304 @: $(MAKE); $(unstage)
24305 @[ -f ./readline/Makefile ] || exit 0; \
24306 r=`${PWD_COMMAND}`; export r; \
24307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24308 $(HOST_EXPORTS) \
24309 for flag in $(EXTRA_HOST_FLAGS) ; do \
24310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24311 done; \
24312 echo "Doing distclean in readline" ; \
24313 (cd $(HOST_SUBDIR)/readline && \
24314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24316 "RANLIB=$${RANLIB}" \
24317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24318 distclean) \
24319 || exit 1
24321 @endif readline
24323 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24324 maybe-maintainer-clean-readline:
24325 @if readline
24326 maybe-maintainer-clean-readline: maintainer-clean-readline
24328 maintainer-clean-readline:
24329 @: $(MAKE); $(unstage)
24330 @[ -f ./readline/Makefile ] || exit 0; \
24331 r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 $(HOST_EXPORTS) \
24334 for flag in $(EXTRA_HOST_FLAGS) ; do \
24335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24336 done; \
24337 echo "Doing maintainer-clean in readline" ; \
24338 (cd $(HOST_SUBDIR)/readline && \
24339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24341 "RANLIB=$${RANLIB}" \
24342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24343 maintainer-clean) \
24344 || exit 1
24346 @endif readline
24350 .PHONY: configure-release maybe-configure-release
24351 maybe-configure-release:
24352 @if gcc-bootstrap
24353 configure-release: stage_current
24354 @endif gcc-bootstrap
24355 @if release
24356 maybe-configure-release: configure-release
24357 configure-release:
24358 @: $(MAKE); $(unstage)
24359 @r=`${PWD_COMMAND}`; export r; \
24360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24361 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
24362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
24363 $(HOST_EXPORTS) \
24364 echo Configuring in $(HOST_SUBDIR)/release; \
24365 cd "$(HOST_SUBDIR)/release" || exit 1; \
24366 case $(srcdir) in \
24367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24368 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
24369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24370 esac; \
24371 srcdiroption="--srcdir=$${topdir}/release"; \
24372 libsrcdir="$$s/release"; \
24373 $(SHELL) $${libsrcdir}/configure \
24374 $(HOST_CONFIGARGS) $${srcdiroption} \
24375 || exit 1
24376 @endif release
24382 .PHONY: all-release maybe-all-release
24383 maybe-all-release:
24384 @if gcc-bootstrap
24385 all-release: stage_current
24386 @endif gcc-bootstrap
24387 @if release
24388 TARGET-release=all
24389 maybe-all-release: all-release
24390 all-release: configure-release
24391 @: $(MAKE); $(unstage)
24392 @r=`${PWD_COMMAND}`; export r; \
24393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24394 $(HOST_EXPORTS) \
24395 (cd $(HOST_SUBDIR)/release && \
24396 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
24397 @endif release
24402 .PHONY: check-release maybe-check-release
24403 maybe-check-release:
24404 @if release
24405 maybe-check-release: check-release
24407 check-release:
24409 @endif release
24411 .PHONY: install-release maybe-install-release
24412 maybe-install-release:
24413 @if release
24414 maybe-install-release: install-release
24416 install-release:
24418 @endif release
24420 # Other targets (info, dvi, pdf, etc.)
24422 .PHONY: maybe-info-release info-release
24423 maybe-info-release:
24424 @if release
24425 maybe-info-release: info-release
24427 info-release: \
24428 configure-release
24429 @: $(MAKE); $(unstage)
24430 @[ -f ./release/Makefile ] || exit 0; \
24431 r=`${PWD_COMMAND}`; export r; \
24432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24433 $(HOST_EXPORTS) \
24434 for flag in $(EXTRA_HOST_FLAGS) ; do \
24435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24436 done; \
24437 echo "Doing info in release" ; \
24438 (cd $(HOST_SUBDIR)/release && \
24439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24441 "RANLIB=$${RANLIB}" \
24442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24443 info) \
24444 || exit 1
24446 @endif release
24448 .PHONY: maybe-dvi-release dvi-release
24449 maybe-dvi-release:
24450 @if release
24451 maybe-dvi-release: dvi-release
24453 dvi-release: \
24454 configure-release
24455 @: $(MAKE); $(unstage)
24456 @[ -f ./release/Makefile ] || exit 0; \
24457 r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 $(HOST_EXPORTS) \
24460 for flag in $(EXTRA_HOST_FLAGS) ; do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24462 done; \
24463 echo "Doing dvi in release" ; \
24464 (cd $(HOST_SUBDIR)/release && \
24465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24467 "RANLIB=$${RANLIB}" \
24468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24469 dvi) \
24470 || exit 1
24472 @endif release
24474 .PHONY: maybe-pdf-release pdf-release
24475 maybe-pdf-release:
24476 @if release
24477 maybe-pdf-release: pdf-release
24479 pdf-release: \
24480 configure-release
24481 @: $(MAKE); $(unstage)
24482 @[ -f ./release/Makefile ] || exit 0; \
24483 r=`${PWD_COMMAND}`; export r; \
24484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24485 $(HOST_EXPORTS) \
24486 for flag in $(EXTRA_HOST_FLAGS) ; do \
24487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24488 done; \
24489 echo "Doing pdf in release" ; \
24490 (cd $(HOST_SUBDIR)/release && \
24491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24493 "RANLIB=$${RANLIB}" \
24494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24495 pdf) \
24496 || exit 1
24498 @endif release
24500 .PHONY: maybe-html-release html-release
24501 maybe-html-release:
24502 @if release
24503 maybe-html-release: html-release
24505 html-release: \
24506 configure-release
24507 @: $(MAKE); $(unstage)
24508 @[ -f ./release/Makefile ] || exit 0; \
24509 r=`${PWD_COMMAND}`; export r; \
24510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24511 $(HOST_EXPORTS) \
24512 for flag in $(EXTRA_HOST_FLAGS) ; do \
24513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24514 done; \
24515 echo "Doing html in release" ; \
24516 (cd $(HOST_SUBDIR)/release && \
24517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24519 "RANLIB=$${RANLIB}" \
24520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24521 html) \
24522 || exit 1
24524 @endif release
24526 .PHONY: maybe-TAGS-release TAGS-release
24527 maybe-TAGS-release:
24528 @if release
24529 maybe-TAGS-release: TAGS-release
24531 TAGS-release: \
24532 configure-release
24533 @: $(MAKE); $(unstage)
24534 @[ -f ./release/Makefile ] || exit 0; \
24535 r=`${PWD_COMMAND}`; export r; \
24536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24537 $(HOST_EXPORTS) \
24538 for flag in $(EXTRA_HOST_FLAGS) ; do \
24539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24540 done; \
24541 echo "Doing TAGS in release" ; \
24542 (cd $(HOST_SUBDIR)/release && \
24543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24545 "RANLIB=$${RANLIB}" \
24546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24547 TAGS) \
24548 || exit 1
24550 @endif release
24552 .PHONY: maybe-install-info-release install-info-release
24553 maybe-install-info-release:
24554 @if release
24555 maybe-install-info-release: install-info-release
24557 install-info-release: \
24558 configure-release \
24559 info-release
24560 @: $(MAKE); $(unstage)
24561 @[ -f ./release/Makefile ] || exit 0; \
24562 r=`${PWD_COMMAND}`; export r; \
24563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24564 $(HOST_EXPORTS) \
24565 for flag in $(EXTRA_HOST_FLAGS) ; do \
24566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24567 done; \
24568 echo "Doing install-info in release" ; \
24569 (cd $(HOST_SUBDIR)/release && \
24570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24572 "RANLIB=$${RANLIB}" \
24573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24574 install-info) \
24575 || exit 1
24577 @endif release
24579 .PHONY: maybe-install-html-release install-html-release
24580 maybe-install-html-release:
24581 @if release
24582 maybe-install-html-release: install-html-release
24584 install-html-release: \
24585 configure-release \
24586 html-release
24587 @: $(MAKE); $(unstage)
24588 @[ -f ./release/Makefile ] || exit 0; \
24589 r=`${PWD_COMMAND}`; export r; \
24590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24591 $(HOST_EXPORTS) \
24592 for flag in $(EXTRA_HOST_FLAGS) ; do \
24593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24594 done; \
24595 echo "Doing install-html in release" ; \
24596 (cd $(HOST_SUBDIR)/release && \
24597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24599 "RANLIB=$${RANLIB}" \
24600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24601 install-html) \
24602 || exit 1
24604 @endif release
24606 .PHONY: maybe-installcheck-release installcheck-release
24607 maybe-installcheck-release:
24608 @if release
24609 maybe-installcheck-release: installcheck-release
24611 installcheck-release: \
24612 configure-release
24613 @: $(MAKE); $(unstage)
24614 @[ -f ./release/Makefile ] || exit 0; \
24615 r=`${PWD_COMMAND}`; export r; \
24616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(HOST_EXPORTS) \
24618 for flag in $(EXTRA_HOST_FLAGS) ; do \
24619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24620 done; \
24621 echo "Doing installcheck in release" ; \
24622 (cd $(HOST_SUBDIR)/release && \
24623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24625 "RANLIB=$${RANLIB}" \
24626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24627 installcheck) \
24628 || exit 1
24630 @endif release
24632 .PHONY: maybe-mostlyclean-release mostlyclean-release
24633 maybe-mostlyclean-release:
24634 @if release
24635 maybe-mostlyclean-release: mostlyclean-release
24637 mostlyclean-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 mostlyclean 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 mostlyclean) \
24653 || exit 1
24655 @endif release
24657 .PHONY: maybe-clean-release clean-release
24658 maybe-clean-release:
24659 @if release
24660 maybe-clean-release: clean-release
24662 clean-release:
24663 @: $(MAKE); $(unstage)
24664 @[ -f ./release/Makefile ] || exit 0; \
24665 r=`${PWD_COMMAND}`; export r; \
24666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24667 $(HOST_EXPORTS) \
24668 for flag in $(EXTRA_HOST_FLAGS) ; do \
24669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24670 done; \
24671 echo "Doing clean in release" ; \
24672 (cd $(HOST_SUBDIR)/release && \
24673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24675 "RANLIB=$${RANLIB}" \
24676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24677 clean) \
24678 || exit 1
24680 @endif release
24682 .PHONY: maybe-distclean-release distclean-release
24683 maybe-distclean-release:
24684 @if release
24685 maybe-distclean-release: distclean-release
24687 distclean-release:
24688 @: $(MAKE); $(unstage)
24689 @[ -f ./release/Makefile ] || exit 0; \
24690 r=`${PWD_COMMAND}`; export r; \
24691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24692 $(HOST_EXPORTS) \
24693 for flag in $(EXTRA_HOST_FLAGS) ; do \
24694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24695 done; \
24696 echo "Doing distclean in release" ; \
24697 (cd $(HOST_SUBDIR)/release && \
24698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24700 "RANLIB=$${RANLIB}" \
24701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24702 distclean) \
24703 || exit 1
24705 @endif release
24707 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
24708 maybe-maintainer-clean-release:
24709 @if release
24710 maybe-maintainer-clean-release: maintainer-clean-release
24712 maintainer-clean-release:
24713 @: $(MAKE); $(unstage)
24714 @[ -f ./release/Makefile ] || exit 0; \
24715 r=`${PWD_COMMAND}`; export r; \
24716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 $(HOST_EXPORTS) \
24718 for flag in $(EXTRA_HOST_FLAGS) ; do \
24719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24720 done; \
24721 echo "Doing maintainer-clean in release" ; \
24722 (cd $(HOST_SUBDIR)/release && \
24723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24725 "RANLIB=$${RANLIB}" \
24726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24727 maintainer-clean) \
24728 || exit 1
24730 @endif release
24734 .PHONY: configure-recode maybe-configure-recode
24735 maybe-configure-recode:
24736 @if gcc-bootstrap
24737 configure-recode: stage_current
24738 @endif gcc-bootstrap
24739 @if recode
24740 maybe-configure-recode: configure-recode
24741 configure-recode:
24742 @: $(MAKE); $(unstage)
24743 @r=`${PWD_COMMAND}`; export r; \
24744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24745 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
24746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
24747 $(HOST_EXPORTS) \
24748 echo Configuring in $(HOST_SUBDIR)/recode; \
24749 cd "$(HOST_SUBDIR)/recode" || exit 1; \
24750 case $(srcdir) in \
24751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24752 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
24753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24754 esac; \
24755 srcdiroption="--srcdir=$${topdir}/recode"; \
24756 libsrcdir="$$s/recode"; \
24757 $(SHELL) $${libsrcdir}/configure \
24758 $(HOST_CONFIGARGS) $${srcdiroption} \
24759 || exit 1
24760 @endif recode
24766 .PHONY: all-recode maybe-all-recode
24767 maybe-all-recode:
24768 @if gcc-bootstrap
24769 all-recode: stage_current
24770 @endif gcc-bootstrap
24771 @if recode
24772 TARGET-recode=all
24773 maybe-all-recode: all-recode
24774 all-recode: configure-recode
24775 @: $(MAKE); $(unstage)
24776 @r=`${PWD_COMMAND}`; export r; \
24777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24778 $(HOST_EXPORTS) \
24779 (cd $(HOST_SUBDIR)/recode && \
24780 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
24781 @endif recode
24786 .PHONY: check-recode maybe-check-recode
24787 maybe-check-recode:
24788 @if recode
24789 maybe-check-recode: check-recode
24791 check-recode:
24792 @: $(MAKE); $(unstage)
24793 @r=`${PWD_COMMAND}`; export r; \
24794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24795 $(HOST_EXPORTS) \
24796 (cd $(HOST_SUBDIR)/recode && \
24797 $(MAKE) $(FLAGS_TO_PASS) check)
24799 @endif recode
24801 .PHONY: install-recode maybe-install-recode
24802 maybe-install-recode:
24803 @if recode
24804 maybe-install-recode: install-recode
24806 install-recode: installdirs
24807 @: $(MAKE); $(unstage)
24808 @r=`${PWD_COMMAND}`; export r; \
24809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24810 $(HOST_EXPORTS) \
24811 (cd $(HOST_SUBDIR)/recode && \
24812 $(MAKE) $(FLAGS_TO_PASS) install)
24814 @endif recode
24816 # Other targets (info, dvi, pdf, etc.)
24818 .PHONY: maybe-info-recode info-recode
24819 maybe-info-recode:
24820 @if recode
24821 maybe-info-recode: info-recode
24823 info-recode: \
24824 configure-recode
24825 @: $(MAKE); $(unstage)
24826 @[ -f ./recode/Makefile ] || exit 0; \
24827 r=`${PWD_COMMAND}`; export r; \
24828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24829 $(HOST_EXPORTS) \
24830 for flag in $(EXTRA_HOST_FLAGS) ; do \
24831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24832 done; \
24833 echo "Doing info in recode" ; \
24834 (cd $(HOST_SUBDIR)/recode && \
24835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24837 "RANLIB=$${RANLIB}" \
24838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24839 info) \
24840 || exit 1
24842 @endif recode
24844 .PHONY: maybe-dvi-recode dvi-recode
24845 maybe-dvi-recode:
24846 @if recode
24847 maybe-dvi-recode: dvi-recode
24849 dvi-recode: \
24850 configure-recode
24851 @: $(MAKE); $(unstage)
24852 @[ -f ./recode/Makefile ] || exit 0; \
24853 r=`${PWD_COMMAND}`; export r; \
24854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24855 $(HOST_EXPORTS) \
24856 for flag in $(EXTRA_HOST_FLAGS) ; do \
24857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24858 done; \
24859 echo "Doing dvi in recode" ; \
24860 (cd $(HOST_SUBDIR)/recode && \
24861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24863 "RANLIB=$${RANLIB}" \
24864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24865 dvi) \
24866 || exit 1
24868 @endif recode
24870 .PHONY: maybe-pdf-recode pdf-recode
24871 maybe-pdf-recode:
24872 @if recode
24873 maybe-pdf-recode: pdf-recode
24875 pdf-recode: \
24876 configure-recode
24877 @: $(MAKE); $(unstage)
24878 @[ -f ./recode/Makefile ] || exit 0; \
24879 r=`${PWD_COMMAND}`; export r; \
24880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24881 $(HOST_EXPORTS) \
24882 for flag in $(EXTRA_HOST_FLAGS) ; do \
24883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24884 done; \
24885 echo "Doing pdf in recode" ; \
24886 (cd $(HOST_SUBDIR)/recode && \
24887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24889 "RANLIB=$${RANLIB}" \
24890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24891 pdf) \
24892 || exit 1
24894 @endif recode
24896 .PHONY: maybe-html-recode html-recode
24897 maybe-html-recode:
24898 @if recode
24899 maybe-html-recode: html-recode
24901 html-recode: \
24902 configure-recode
24903 @: $(MAKE); $(unstage)
24904 @[ -f ./recode/Makefile ] || exit 0; \
24905 r=`${PWD_COMMAND}`; export r; \
24906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24907 $(HOST_EXPORTS) \
24908 for flag in $(EXTRA_HOST_FLAGS) ; do \
24909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24910 done; \
24911 echo "Doing html in recode" ; \
24912 (cd $(HOST_SUBDIR)/recode && \
24913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24915 "RANLIB=$${RANLIB}" \
24916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24917 html) \
24918 || exit 1
24920 @endif recode
24922 .PHONY: maybe-TAGS-recode TAGS-recode
24923 maybe-TAGS-recode:
24924 @if recode
24925 maybe-TAGS-recode: TAGS-recode
24927 TAGS-recode: \
24928 configure-recode
24929 @: $(MAKE); $(unstage)
24930 @[ -f ./recode/Makefile ] || exit 0; \
24931 r=`${PWD_COMMAND}`; export r; \
24932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24933 $(HOST_EXPORTS) \
24934 for flag in $(EXTRA_HOST_FLAGS) ; do \
24935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24936 done; \
24937 echo "Doing TAGS in recode" ; \
24938 (cd $(HOST_SUBDIR)/recode && \
24939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24941 "RANLIB=$${RANLIB}" \
24942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24943 TAGS) \
24944 || exit 1
24946 @endif recode
24948 .PHONY: maybe-install-info-recode install-info-recode
24949 maybe-install-info-recode:
24950 @if recode
24951 maybe-install-info-recode: install-info-recode
24953 install-info-recode: \
24954 configure-recode \
24955 info-recode
24956 @: $(MAKE); $(unstage)
24957 @[ -f ./recode/Makefile ] || exit 0; \
24958 r=`${PWD_COMMAND}`; export r; \
24959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24960 $(HOST_EXPORTS) \
24961 for flag in $(EXTRA_HOST_FLAGS) ; do \
24962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24963 done; \
24964 echo "Doing install-info in recode" ; \
24965 (cd $(HOST_SUBDIR)/recode && \
24966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24968 "RANLIB=$${RANLIB}" \
24969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24970 install-info) \
24971 || exit 1
24973 @endif recode
24975 .PHONY: maybe-install-html-recode install-html-recode
24976 maybe-install-html-recode:
24977 @if recode
24978 maybe-install-html-recode: install-html-recode
24980 install-html-recode: \
24981 configure-recode \
24982 html-recode
24983 @: $(MAKE); $(unstage)
24984 @[ -f ./recode/Makefile ] || exit 0; \
24985 r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 $(HOST_EXPORTS) \
24988 for flag in $(EXTRA_HOST_FLAGS) ; do \
24989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24990 done; \
24991 echo "Doing install-html in recode" ; \
24992 (cd $(HOST_SUBDIR)/recode && \
24993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24995 "RANLIB=$${RANLIB}" \
24996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24997 install-html) \
24998 || exit 1
25000 @endif recode
25002 .PHONY: maybe-installcheck-recode installcheck-recode
25003 maybe-installcheck-recode:
25004 @if recode
25005 maybe-installcheck-recode: installcheck-recode
25007 installcheck-recode: \
25008 configure-recode
25009 @: $(MAKE); $(unstage)
25010 @[ -f ./recode/Makefile ] || exit 0; \
25011 r=`${PWD_COMMAND}`; export r; \
25012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25013 $(HOST_EXPORTS) \
25014 for flag in $(EXTRA_HOST_FLAGS) ; do \
25015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25016 done; \
25017 echo "Doing installcheck in recode" ; \
25018 (cd $(HOST_SUBDIR)/recode && \
25019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25021 "RANLIB=$${RANLIB}" \
25022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25023 installcheck) \
25024 || exit 1
25026 @endif recode
25028 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
25029 maybe-mostlyclean-recode:
25030 @if recode
25031 maybe-mostlyclean-recode: mostlyclean-recode
25033 mostlyclean-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 mostlyclean 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 mostlyclean) \
25049 || exit 1
25051 @endif recode
25053 .PHONY: maybe-clean-recode clean-recode
25054 maybe-clean-recode:
25055 @if recode
25056 maybe-clean-recode: clean-recode
25058 clean-recode:
25059 @: $(MAKE); $(unstage)
25060 @[ -f ./recode/Makefile ] || exit 0; \
25061 r=`${PWD_COMMAND}`; export r; \
25062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25063 $(HOST_EXPORTS) \
25064 for flag in $(EXTRA_HOST_FLAGS) ; do \
25065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25066 done; \
25067 echo "Doing clean in recode" ; \
25068 (cd $(HOST_SUBDIR)/recode && \
25069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25071 "RANLIB=$${RANLIB}" \
25072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25073 clean) \
25074 || exit 1
25076 @endif recode
25078 .PHONY: maybe-distclean-recode distclean-recode
25079 maybe-distclean-recode:
25080 @if recode
25081 maybe-distclean-recode: distclean-recode
25083 distclean-recode:
25084 @: $(MAKE); $(unstage)
25085 @[ -f ./recode/Makefile ] || exit 0; \
25086 r=`${PWD_COMMAND}`; export r; \
25087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25088 $(HOST_EXPORTS) \
25089 for flag in $(EXTRA_HOST_FLAGS) ; do \
25090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25091 done; \
25092 echo "Doing distclean in recode" ; \
25093 (cd $(HOST_SUBDIR)/recode && \
25094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25096 "RANLIB=$${RANLIB}" \
25097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25098 distclean) \
25099 || exit 1
25101 @endif recode
25103 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
25104 maybe-maintainer-clean-recode:
25105 @if recode
25106 maybe-maintainer-clean-recode: maintainer-clean-recode
25108 maintainer-clean-recode:
25109 @: $(MAKE); $(unstage)
25110 @[ -f ./recode/Makefile ] || exit 0; \
25111 r=`${PWD_COMMAND}`; export r; \
25112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25113 $(HOST_EXPORTS) \
25114 for flag in $(EXTRA_HOST_FLAGS) ; do \
25115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25116 done; \
25117 echo "Doing maintainer-clean in recode" ; \
25118 (cd $(HOST_SUBDIR)/recode && \
25119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25121 "RANLIB=$${RANLIB}" \
25122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25123 maintainer-clean) \
25124 || exit 1
25126 @endif recode
25130 .PHONY: configure-sed maybe-configure-sed
25131 maybe-configure-sed:
25132 @if gcc-bootstrap
25133 configure-sed: stage_current
25134 @endif gcc-bootstrap
25135 @if sed
25136 maybe-configure-sed: configure-sed
25137 configure-sed:
25138 @: $(MAKE); $(unstage)
25139 @r=`${PWD_COMMAND}`; export r; \
25140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25141 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
25142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
25143 $(HOST_EXPORTS) \
25144 echo Configuring in $(HOST_SUBDIR)/sed; \
25145 cd "$(HOST_SUBDIR)/sed" || exit 1; \
25146 case $(srcdir) in \
25147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25148 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
25149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25150 esac; \
25151 srcdiroption="--srcdir=$${topdir}/sed"; \
25152 libsrcdir="$$s/sed"; \
25153 $(SHELL) $${libsrcdir}/configure \
25154 $(HOST_CONFIGARGS) $${srcdiroption} \
25155 || exit 1
25156 @endif sed
25162 .PHONY: all-sed maybe-all-sed
25163 maybe-all-sed:
25164 @if gcc-bootstrap
25165 all-sed: stage_current
25166 @endif gcc-bootstrap
25167 @if sed
25168 TARGET-sed=all
25169 maybe-all-sed: all-sed
25170 all-sed: configure-sed
25171 @: $(MAKE); $(unstage)
25172 @r=`${PWD_COMMAND}`; export r; \
25173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25174 $(HOST_EXPORTS) \
25175 (cd $(HOST_SUBDIR)/sed && \
25176 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
25177 @endif sed
25182 .PHONY: check-sed maybe-check-sed
25183 maybe-check-sed:
25184 @if sed
25185 maybe-check-sed: check-sed
25187 check-sed:
25188 @: $(MAKE); $(unstage)
25189 @r=`${PWD_COMMAND}`; export r; \
25190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25191 $(HOST_EXPORTS) \
25192 (cd $(HOST_SUBDIR)/sed && \
25193 $(MAKE) $(FLAGS_TO_PASS) check)
25195 @endif sed
25197 .PHONY: install-sed maybe-install-sed
25198 maybe-install-sed:
25199 @if sed
25200 maybe-install-sed: install-sed
25202 install-sed: installdirs
25203 @: $(MAKE); $(unstage)
25204 @r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 $(HOST_EXPORTS) \
25207 (cd $(HOST_SUBDIR)/sed && \
25208 $(MAKE) $(FLAGS_TO_PASS) install)
25210 @endif sed
25212 # Other targets (info, dvi, pdf, etc.)
25214 .PHONY: maybe-info-sed info-sed
25215 maybe-info-sed:
25216 @if sed
25217 maybe-info-sed: info-sed
25219 info-sed: \
25220 configure-sed
25221 @: $(MAKE); $(unstage)
25222 @[ -f ./sed/Makefile ] || exit 0; \
25223 r=`${PWD_COMMAND}`; export r; \
25224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25225 $(HOST_EXPORTS) \
25226 for flag in $(EXTRA_HOST_FLAGS) ; do \
25227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25228 done; \
25229 echo "Doing info in sed" ; \
25230 (cd $(HOST_SUBDIR)/sed && \
25231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25233 "RANLIB=$${RANLIB}" \
25234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25235 info) \
25236 || exit 1
25238 @endif sed
25240 .PHONY: maybe-dvi-sed dvi-sed
25241 maybe-dvi-sed:
25242 @if sed
25243 maybe-dvi-sed: dvi-sed
25245 dvi-sed: \
25246 configure-sed
25247 @: $(MAKE); $(unstage)
25248 @[ -f ./sed/Makefile ] || exit 0; \
25249 r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 $(HOST_EXPORTS) \
25252 for flag in $(EXTRA_HOST_FLAGS) ; do \
25253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25254 done; \
25255 echo "Doing dvi in sed" ; \
25256 (cd $(HOST_SUBDIR)/sed && \
25257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25259 "RANLIB=$${RANLIB}" \
25260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25261 dvi) \
25262 || exit 1
25264 @endif sed
25266 .PHONY: maybe-pdf-sed pdf-sed
25267 maybe-pdf-sed:
25268 @if sed
25269 maybe-pdf-sed: pdf-sed
25271 pdf-sed: \
25272 configure-sed
25273 @: $(MAKE); $(unstage)
25274 @[ -f ./sed/Makefile ] || exit 0; \
25275 r=`${PWD_COMMAND}`; export r; \
25276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25277 $(HOST_EXPORTS) \
25278 for flag in $(EXTRA_HOST_FLAGS) ; do \
25279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25280 done; \
25281 echo "Doing pdf in sed" ; \
25282 (cd $(HOST_SUBDIR)/sed && \
25283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25285 "RANLIB=$${RANLIB}" \
25286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25287 pdf) \
25288 || exit 1
25290 @endif sed
25292 .PHONY: maybe-html-sed html-sed
25293 maybe-html-sed:
25294 @if sed
25295 maybe-html-sed: html-sed
25297 html-sed: \
25298 configure-sed
25299 @: $(MAKE); $(unstage)
25300 @[ -f ./sed/Makefile ] || exit 0; \
25301 r=`${PWD_COMMAND}`; export r; \
25302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25303 $(HOST_EXPORTS) \
25304 for flag in $(EXTRA_HOST_FLAGS) ; do \
25305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25306 done; \
25307 echo "Doing html in sed" ; \
25308 (cd $(HOST_SUBDIR)/sed && \
25309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25311 "RANLIB=$${RANLIB}" \
25312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25313 html) \
25314 || exit 1
25316 @endif sed
25318 .PHONY: maybe-TAGS-sed TAGS-sed
25319 maybe-TAGS-sed:
25320 @if sed
25321 maybe-TAGS-sed: TAGS-sed
25323 TAGS-sed: \
25324 configure-sed
25325 @: $(MAKE); $(unstage)
25326 @[ -f ./sed/Makefile ] || exit 0; \
25327 r=`${PWD_COMMAND}`; export r; \
25328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25329 $(HOST_EXPORTS) \
25330 for flag in $(EXTRA_HOST_FLAGS) ; do \
25331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25332 done; \
25333 echo "Doing TAGS in sed" ; \
25334 (cd $(HOST_SUBDIR)/sed && \
25335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25337 "RANLIB=$${RANLIB}" \
25338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25339 TAGS) \
25340 || exit 1
25342 @endif sed
25344 .PHONY: maybe-install-info-sed install-info-sed
25345 maybe-install-info-sed:
25346 @if sed
25347 maybe-install-info-sed: install-info-sed
25349 install-info-sed: \
25350 configure-sed \
25351 info-sed
25352 @: $(MAKE); $(unstage)
25353 @[ -f ./sed/Makefile ] || exit 0; \
25354 r=`${PWD_COMMAND}`; export r; \
25355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25356 $(HOST_EXPORTS) \
25357 for flag in $(EXTRA_HOST_FLAGS) ; do \
25358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25359 done; \
25360 echo "Doing install-info in sed" ; \
25361 (cd $(HOST_SUBDIR)/sed && \
25362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25364 "RANLIB=$${RANLIB}" \
25365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25366 install-info) \
25367 || exit 1
25369 @endif sed
25371 .PHONY: maybe-install-html-sed install-html-sed
25372 maybe-install-html-sed:
25373 @if sed
25374 maybe-install-html-sed: install-html-sed
25376 install-html-sed: \
25377 configure-sed \
25378 html-sed
25379 @: $(MAKE); $(unstage)
25380 @[ -f ./sed/Makefile ] || exit 0; \
25381 r=`${PWD_COMMAND}`; export r; \
25382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25383 $(HOST_EXPORTS) \
25384 for flag in $(EXTRA_HOST_FLAGS) ; do \
25385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25386 done; \
25387 echo "Doing install-html in sed" ; \
25388 (cd $(HOST_SUBDIR)/sed && \
25389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25391 "RANLIB=$${RANLIB}" \
25392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25393 install-html) \
25394 || exit 1
25396 @endif sed
25398 .PHONY: maybe-installcheck-sed installcheck-sed
25399 maybe-installcheck-sed:
25400 @if sed
25401 maybe-installcheck-sed: installcheck-sed
25403 installcheck-sed: \
25404 configure-sed
25405 @: $(MAKE); $(unstage)
25406 @[ -f ./sed/Makefile ] || exit 0; \
25407 r=`${PWD_COMMAND}`; export r; \
25408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25409 $(HOST_EXPORTS) \
25410 for flag in $(EXTRA_HOST_FLAGS) ; do \
25411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25412 done; \
25413 echo "Doing installcheck in sed" ; \
25414 (cd $(HOST_SUBDIR)/sed && \
25415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25417 "RANLIB=$${RANLIB}" \
25418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25419 installcheck) \
25420 || exit 1
25422 @endif sed
25424 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
25425 maybe-mostlyclean-sed:
25426 @if sed
25427 maybe-mostlyclean-sed: mostlyclean-sed
25429 mostlyclean-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 mostlyclean 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 mostlyclean) \
25445 || exit 1
25447 @endif sed
25449 .PHONY: maybe-clean-sed clean-sed
25450 maybe-clean-sed:
25451 @if sed
25452 maybe-clean-sed: clean-sed
25454 clean-sed:
25455 @: $(MAKE); $(unstage)
25456 @[ -f ./sed/Makefile ] || exit 0; \
25457 r=`${PWD_COMMAND}`; export r; \
25458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25459 $(HOST_EXPORTS) \
25460 for flag in $(EXTRA_HOST_FLAGS) ; do \
25461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25462 done; \
25463 echo "Doing clean in sed" ; \
25464 (cd $(HOST_SUBDIR)/sed && \
25465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25467 "RANLIB=$${RANLIB}" \
25468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25469 clean) \
25470 || exit 1
25472 @endif sed
25474 .PHONY: maybe-distclean-sed distclean-sed
25475 maybe-distclean-sed:
25476 @if sed
25477 maybe-distclean-sed: distclean-sed
25479 distclean-sed:
25480 @: $(MAKE); $(unstage)
25481 @[ -f ./sed/Makefile ] || exit 0; \
25482 r=`${PWD_COMMAND}`; export r; \
25483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25484 $(HOST_EXPORTS) \
25485 for flag in $(EXTRA_HOST_FLAGS) ; do \
25486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25487 done; \
25488 echo "Doing distclean in sed" ; \
25489 (cd $(HOST_SUBDIR)/sed && \
25490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25492 "RANLIB=$${RANLIB}" \
25493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25494 distclean) \
25495 || exit 1
25497 @endif sed
25499 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
25500 maybe-maintainer-clean-sed:
25501 @if sed
25502 maybe-maintainer-clean-sed: maintainer-clean-sed
25504 maintainer-clean-sed:
25505 @: $(MAKE); $(unstage)
25506 @[ -f ./sed/Makefile ] || exit 0; \
25507 r=`${PWD_COMMAND}`; export r; \
25508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 $(HOST_EXPORTS) \
25510 for flag in $(EXTRA_HOST_FLAGS) ; do \
25511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25512 done; \
25513 echo "Doing maintainer-clean in sed" ; \
25514 (cd $(HOST_SUBDIR)/sed && \
25515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25517 "RANLIB=$${RANLIB}" \
25518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25519 maintainer-clean) \
25520 || exit 1
25522 @endif sed
25526 .PHONY: configure-send-pr maybe-configure-send-pr
25527 maybe-configure-send-pr:
25528 @if gcc-bootstrap
25529 configure-send-pr: stage_current
25530 @endif gcc-bootstrap
25531 @if send-pr
25532 maybe-configure-send-pr: configure-send-pr
25533 configure-send-pr:
25534 @: $(MAKE); $(unstage)
25535 @r=`${PWD_COMMAND}`; export r; \
25536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25537 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
25538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
25539 $(HOST_EXPORTS) \
25540 echo Configuring in $(HOST_SUBDIR)/send-pr; \
25541 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
25542 case $(srcdir) in \
25543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25544 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
25545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25546 esac; \
25547 srcdiroption="--srcdir=$${topdir}/send-pr"; \
25548 libsrcdir="$$s/send-pr"; \
25549 $(SHELL) $${libsrcdir}/configure \
25550 $(HOST_CONFIGARGS) $${srcdiroption} \
25551 || exit 1
25552 @endif send-pr
25558 .PHONY: all-send-pr maybe-all-send-pr
25559 maybe-all-send-pr:
25560 @if gcc-bootstrap
25561 all-send-pr: stage_current
25562 @endif gcc-bootstrap
25563 @if send-pr
25564 TARGET-send-pr=all
25565 maybe-all-send-pr: all-send-pr
25566 all-send-pr: configure-send-pr
25567 @: $(MAKE); $(unstage)
25568 @r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 $(HOST_EXPORTS) \
25571 (cd $(HOST_SUBDIR)/send-pr && \
25572 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
25573 @endif send-pr
25578 .PHONY: check-send-pr maybe-check-send-pr
25579 maybe-check-send-pr:
25580 @if send-pr
25581 maybe-check-send-pr: check-send-pr
25583 check-send-pr:
25584 @: $(MAKE); $(unstage)
25585 @r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 $(HOST_EXPORTS) \
25588 (cd $(HOST_SUBDIR)/send-pr && \
25589 $(MAKE) $(FLAGS_TO_PASS) check)
25591 @endif send-pr
25593 .PHONY: install-send-pr maybe-install-send-pr
25594 maybe-install-send-pr:
25595 @if send-pr
25596 maybe-install-send-pr: install-send-pr
25598 install-send-pr: installdirs
25599 @: $(MAKE); $(unstage)
25600 @r=`${PWD_COMMAND}`; export r; \
25601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25602 $(HOST_EXPORTS) \
25603 (cd $(HOST_SUBDIR)/send-pr && \
25604 $(MAKE) $(FLAGS_TO_PASS) install)
25606 @endif send-pr
25608 # Other targets (info, dvi, pdf, etc.)
25610 .PHONY: maybe-info-send-pr info-send-pr
25611 maybe-info-send-pr:
25612 @if send-pr
25613 maybe-info-send-pr: info-send-pr
25615 info-send-pr: \
25616 configure-send-pr
25617 @: $(MAKE); $(unstage)
25618 @[ -f ./send-pr/Makefile ] || exit 0; \
25619 r=`${PWD_COMMAND}`; export r; \
25620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25621 $(HOST_EXPORTS) \
25622 for flag in $(EXTRA_HOST_FLAGS) ; do \
25623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25624 done; \
25625 echo "Doing info in send-pr" ; \
25626 (cd $(HOST_SUBDIR)/send-pr && \
25627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25629 "RANLIB=$${RANLIB}" \
25630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25631 info) \
25632 || exit 1
25634 @endif send-pr
25636 .PHONY: maybe-dvi-send-pr dvi-send-pr
25637 maybe-dvi-send-pr:
25638 @if send-pr
25639 maybe-dvi-send-pr: dvi-send-pr
25641 dvi-send-pr: \
25642 configure-send-pr
25643 @: $(MAKE); $(unstage)
25644 @[ -f ./send-pr/Makefile ] || exit 0; \
25645 r=`${PWD_COMMAND}`; export r; \
25646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25647 $(HOST_EXPORTS) \
25648 for flag in $(EXTRA_HOST_FLAGS) ; do \
25649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25650 done; \
25651 echo "Doing dvi in send-pr" ; \
25652 (cd $(HOST_SUBDIR)/send-pr && \
25653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25655 "RANLIB=$${RANLIB}" \
25656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25657 dvi) \
25658 || exit 1
25660 @endif send-pr
25662 .PHONY: maybe-pdf-send-pr pdf-send-pr
25663 maybe-pdf-send-pr:
25664 @if send-pr
25665 maybe-pdf-send-pr: pdf-send-pr
25667 pdf-send-pr: \
25668 configure-send-pr
25669 @: $(MAKE); $(unstage)
25670 @[ -f ./send-pr/Makefile ] || exit 0; \
25671 r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 $(HOST_EXPORTS) \
25674 for flag in $(EXTRA_HOST_FLAGS) ; do \
25675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25676 done; \
25677 echo "Doing pdf in send-pr" ; \
25678 (cd $(HOST_SUBDIR)/send-pr && \
25679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25681 "RANLIB=$${RANLIB}" \
25682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25683 pdf) \
25684 || exit 1
25686 @endif send-pr
25688 .PHONY: maybe-html-send-pr html-send-pr
25689 maybe-html-send-pr:
25690 @if send-pr
25691 maybe-html-send-pr: html-send-pr
25693 html-send-pr: \
25694 configure-send-pr
25695 @: $(MAKE); $(unstage)
25696 @[ -f ./send-pr/Makefile ] || exit 0; \
25697 r=`${PWD_COMMAND}`; export r; \
25698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25699 $(HOST_EXPORTS) \
25700 for flag in $(EXTRA_HOST_FLAGS) ; do \
25701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25702 done; \
25703 echo "Doing html in send-pr" ; \
25704 (cd $(HOST_SUBDIR)/send-pr && \
25705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25707 "RANLIB=$${RANLIB}" \
25708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25709 html) \
25710 || exit 1
25712 @endif send-pr
25714 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
25715 maybe-TAGS-send-pr:
25716 @if send-pr
25717 maybe-TAGS-send-pr: TAGS-send-pr
25719 TAGS-send-pr: \
25720 configure-send-pr
25721 @: $(MAKE); $(unstage)
25722 @[ -f ./send-pr/Makefile ] || exit 0; \
25723 r=`${PWD_COMMAND}`; export r; \
25724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25725 $(HOST_EXPORTS) \
25726 for flag in $(EXTRA_HOST_FLAGS) ; do \
25727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25728 done; \
25729 echo "Doing TAGS in send-pr" ; \
25730 (cd $(HOST_SUBDIR)/send-pr && \
25731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25733 "RANLIB=$${RANLIB}" \
25734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25735 TAGS) \
25736 || exit 1
25738 @endif send-pr
25740 .PHONY: maybe-install-info-send-pr install-info-send-pr
25741 maybe-install-info-send-pr:
25742 @if send-pr
25743 maybe-install-info-send-pr: install-info-send-pr
25745 install-info-send-pr: \
25746 configure-send-pr \
25747 info-send-pr
25748 @: $(MAKE); $(unstage)
25749 @[ -f ./send-pr/Makefile ] || exit 0; \
25750 r=`${PWD_COMMAND}`; export r; \
25751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25752 $(HOST_EXPORTS) \
25753 for flag in $(EXTRA_HOST_FLAGS) ; do \
25754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25755 done; \
25756 echo "Doing install-info in send-pr" ; \
25757 (cd $(HOST_SUBDIR)/send-pr && \
25758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25760 "RANLIB=$${RANLIB}" \
25761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25762 install-info) \
25763 || exit 1
25765 @endif send-pr
25767 .PHONY: maybe-install-html-send-pr install-html-send-pr
25768 maybe-install-html-send-pr:
25769 @if send-pr
25770 maybe-install-html-send-pr: install-html-send-pr
25772 install-html-send-pr: \
25773 configure-send-pr \
25774 html-send-pr
25775 @: $(MAKE); $(unstage)
25776 @[ -f ./send-pr/Makefile ] || exit 0; \
25777 r=`${PWD_COMMAND}`; export r; \
25778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779 $(HOST_EXPORTS) \
25780 for flag in $(EXTRA_HOST_FLAGS) ; do \
25781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25782 done; \
25783 echo "Doing install-html in send-pr" ; \
25784 (cd $(HOST_SUBDIR)/send-pr && \
25785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25787 "RANLIB=$${RANLIB}" \
25788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25789 install-html) \
25790 || exit 1
25792 @endif send-pr
25794 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
25795 maybe-installcheck-send-pr:
25796 @if send-pr
25797 maybe-installcheck-send-pr: installcheck-send-pr
25799 installcheck-send-pr: \
25800 configure-send-pr
25801 @: $(MAKE); $(unstage)
25802 @[ -f ./send-pr/Makefile ] || exit 0; \
25803 r=`${PWD_COMMAND}`; export r; \
25804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25805 $(HOST_EXPORTS) \
25806 for flag in $(EXTRA_HOST_FLAGS) ; do \
25807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25808 done; \
25809 echo "Doing installcheck in send-pr" ; \
25810 (cd $(HOST_SUBDIR)/send-pr && \
25811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25813 "RANLIB=$${RANLIB}" \
25814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25815 installcheck) \
25816 || exit 1
25818 @endif send-pr
25820 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
25821 maybe-mostlyclean-send-pr:
25822 @if send-pr
25823 maybe-mostlyclean-send-pr: mostlyclean-send-pr
25825 mostlyclean-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 mostlyclean 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 mostlyclean) \
25841 || exit 1
25843 @endif send-pr
25845 .PHONY: maybe-clean-send-pr clean-send-pr
25846 maybe-clean-send-pr:
25847 @if send-pr
25848 maybe-clean-send-pr: clean-send-pr
25850 clean-send-pr:
25851 @: $(MAKE); $(unstage)
25852 @[ -f ./send-pr/Makefile ] || exit 0; \
25853 r=`${PWD_COMMAND}`; export r; \
25854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25855 $(HOST_EXPORTS) \
25856 for flag in $(EXTRA_HOST_FLAGS) ; do \
25857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25858 done; \
25859 echo "Doing clean in send-pr" ; \
25860 (cd $(HOST_SUBDIR)/send-pr && \
25861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25863 "RANLIB=$${RANLIB}" \
25864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25865 clean) \
25866 || exit 1
25868 @endif send-pr
25870 .PHONY: maybe-distclean-send-pr distclean-send-pr
25871 maybe-distclean-send-pr:
25872 @if send-pr
25873 maybe-distclean-send-pr: distclean-send-pr
25875 distclean-send-pr:
25876 @: $(MAKE); $(unstage)
25877 @[ -f ./send-pr/Makefile ] || exit 0; \
25878 r=`${PWD_COMMAND}`; export r; \
25879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25880 $(HOST_EXPORTS) \
25881 for flag in $(EXTRA_HOST_FLAGS) ; do \
25882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25883 done; \
25884 echo "Doing distclean in send-pr" ; \
25885 (cd $(HOST_SUBDIR)/send-pr && \
25886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25888 "RANLIB=$${RANLIB}" \
25889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25890 distclean) \
25891 || exit 1
25893 @endif send-pr
25895 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
25896 maybe-maintainer-clean-send-pr:
25897 @if send-pr
25898 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
25900 maintainer-clean-send-pr:
25901 @: $(MAKE); $(unstage)
25902 @[ -f ./send-pr/Makefile ] || exit 0; \
25903 r=`${PWD_COMMAND}`; export r; \
25904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25905 $(HOST_EXPORTS) \
25906 for flag in $(EXTRA_HOST_FLAGS) ; do \
25907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25908 done; \
25909 echo "Doing maintainer-clean in send-pr" ; \
25910 (cd $(HOST_SUBDIR)/send-pr && \
25911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25913 "RANLIB=$${RANLIB}" \
25914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25915 maintainer-clean) \
25916 || exit 1
25918 @endif send-pr
25922 .PHONY: configure-shellutils maybe-configure-shellutils
25923 maybe-configure-shellutils:
25924 @if gcc-bootstrap
25925 configure-shellutils: stage_current
25926 @endif gcc-bootstrap
25927 @if shellutils
25928 maybe-configure-shellutils: configure-shellutils
25929 configure-shellutils:
25930 @: $(MAKE); $(unstage)
25931 @r=`${PWD_COMMAND}`; export r; \
25932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25933 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
25934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
25935 $(HOST_EXPORTS) \
25936 echo Configuring in $(HOST_SUBDIR)/shellutils; \
25937 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
25938 case $(srcdir) in \
25939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25940 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
25941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25942 esac; \
25943 srcdiroption="--srcdir=$${topdir}/shellutils"; \
25944 libsrcdir="$$s/shellutils"; \
25945 $(SHELL) $${libsrcdir}/configure \
25946 $(HOST_CONFIGARGS) $${srcdiroption} \
25947 || exit 1
25948 @endif shellutils
25954 .PHONY: all-shellutils maybe-all-shellutils
25955 maybe-all-shellutils:
25956 @if gcc-bootstrap
25957 all-shellutils: stage_current
25958 @endif gcc-bootstrap
25959 @if shellutils
25960 TARGET-shellutils=all
25961 maybe-all-shellutils: all-shellutils
25962 all-shellutils: configure-shellutils
25963 @: $(MAKE); $(unstage)
25964 @r=`${PWD_COMMAND}`; export r; \
25965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25966 $(HOST_EXPORTS) \
25967 (cd $(HOST_SUBDIR)/shellutils && \
25968 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
25969 @endif shellutils
25974 .PHONY: check-shellutils maybe-check-shellutils
25975 maybe-check-shellutils:
25976 @if shellutils
25977 maybe-check-shellutils: check-shellutils
25979 check-shellutils:
25980 @: $(MAKE); $(unstage)
25981 @r=`${PWD_COMMAND}`; export r; \
25982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25983 $(HOST_EXPORTS) \
25984 (cd $(HOST_SUBDIR)/shellutils && \
25985 $(MAKE) $(FLAGS_TO_PASS) check)
25987 @endif shellutils
25989 .PHONY: install-shellutils maybe-install-shellutils
25990 maybe-install-shellutils:
25991 @if shellutils
25992 maybe-install-shellutils: install-shellutils
25994 install-shellutils: installdirs
25995 @: $(MAKE); $(unstage)
25996 @r=`${PWD_COMMAND}`; export r; \
25997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25998 $(HOST_EXPORTS) \
25999 (cd $(HOST_SUBDIR)/shellutils && \
26000 $(MAKE) $(FLAGS_TO_PASS) install)
26002 @endif shellutils
26004 # Other targets (info, dvi, pdf, etc.)
26006 .PHONY: maybe-info-shellutils info-shellutils
26007 maybe-info-shellutils:
26008 @if shellutils
26009 maybe-info-shellutils: info-shellutils
26011 info-shellutils: \
26012 configure-shellutils
26013 @: $(MAKE); $(unstage)
26014 @[ -f ./shellutils/Makefile ] || exit 0; \
26015 r=`${PWD_COMMAND}`; export r; \
26016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26017 $(HOST_EXPORTS) \
26018 for flag in $(EXTRA_HOST_FLAGS) ; do \
26019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26020 done; \
26021 echo "Doing info in shellutils" ; \
26022 (cd $(HOST_SUBDIR)/shellutils && \
26023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26025 "RANLIB=$${RANLIB}" \
26026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26027 info) \
26028 || exit 1
26030 @endif shellutils
26032 .PHONY: maybe-dvi-shellutils dvi-shellutils
26033 maybe-dvi-shellutils:
26034 @if shellutils
26035 maybe-dvi-shellutils: dvi-shellutils
26037 dvi-shellutils: \
26038 configure-shellutils
26039 @: $(MAKE); $(unstage)
26040 @[ -f ./shellutils/Makefile ] || exit 0; \
26041 r=`${PWD_COMMAND}`; export r; \
26042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26043 $(HOST_EXPORTS) \
26044 for flag in $(EXTRA_HOST_FLAGS) ; do \
26045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26046 done; \
26047 echo "Doing dvi in shellutils" ; \
26048 (cd $(HOST_SUBDIR)/shellutils && \
26049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26051 "RANLIB=$${RANLIB}" \
26052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26053 dvi) \
26054 || exit 1
26056 @endif shellutils
26058 .PHONY: maybe-pdf-shellutils pdf-shellutils
26059 maybe-pdf-shellutils:
26060 @if shellutils
26061 maybe-pdf-shellutils: pdf-shellutils
26063 pdf-shellutils: \
26064 configure-shellutils
26065 @: $(MAKE); $(unstage)
26066 @[ -f ./shellutils/Makefile ] || exit 0; \
26067 r=`${PWD_COMMAND}`; export r; \
26068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26069 $(HOST_EXPORTS) \
26070 for flag in $(EXTRA_HOST_FLAGS) ; do \
26071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26072 done; \
26073 echo "Doing pdf in shellutils" ; \
26074 (cd $(HOST_SUBDIR)/shellutils && \
26075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26077 "RANLIB=$${RANLIB}" \
26078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26079 pdf) \
26080 || exit 1
26082 @endif shellutils
26084 .PHONY: maybe-html-shellutils html-shellutils
26085 maybe-html-shellutils:
26086 @if shellutils
26087 maybe-html-shellutils: html-shellutils
26089 html-shellutils: \
26090 configure-shellutils
26091 @: $(MAKE); $(unstage)
26092 @[ -f ./shellutils/Makefile ] || exit 0; \
26093 r=`${PWD_COMMAND}`; export r; \
26094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26095 $(HOST_EXPORTS) \
26096 for flag in $(EXTRA_HOST_FLAGS) ; do \
26097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26098 done; \
26099 echo "Doing html in shellutils" ; \
26100 (cd $(HOST_SUBDIR)/shellutils && \
26101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26103 "RANLIB=$${RANLIB}" \
26104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26105 html) \
26106 || exit 1
26108 @endif shellutils
26110 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
26111 maybe-TAGS-shellutils:
26112 @if shellutils
26113 maybe-TAGS-shellutils: TAGS-shellutils
26115 TAGS-shellutils: \
26116 configure-shellutils
26117 @: $(MAKE); $(unstage)
26118 @[ -f ./shellutils/Makefile ] || exit 0; \
26119 r=`${PWD_COMMAND}`; export r; \
26120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26121 $(HOST_EXPORTS) \
26122 for flag in $(EXTRA_HOST_FLAGS) ; do \
26123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26124 done; \
26125 echo "Doing TAGS in shellutils" ; \
26126 (cd $(HOST_SUBDIR)/shellutils && \
26127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26129 "RANLIB=$${RANLIB}" \
26130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26131 TAGS) \
26132 || exit 1
26134 @endif shellutils
26136 .PHONY: maybe-install-info-shellutils install-info-shellutils
26137 maybe-install-info-shellutils:
26138 @if shellutils
26139 maybe-install-info-shellutils: install-info-shellutils
26141 install-info-shellutils: \
26142 configure-shellutils \
26143 info-shellutils
26144 @: $(MAKE); $(unstage)
26145 @[ -f ./shellutils/Makefile ] || exit 0; \
26146 r=`${PWD_COMMAND}`; export r; \
26147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26148 $(HOST_EXPORTS) \
26149 for flag in $(EXTRA_HOST_FLAGS) ; do \
26150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26151 done; \
26152 echo "Doing install-info in shellutils" ; \
26153 (cd $(HOST_SUBDIR)/shellutils && \
26154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26156 "RANLIB=$${RANLIB}" \
26157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26158 install-info) \
26159 || exit 1
26161 @endif shellutils
26163 .PHONY: maybe-install-html-shellutils install-html-shellutils
26164 maybe-install-html-shellutils:
26165 @if shellutils
26166 maybe-install-html-shellutils: install-html-shellutils
26168 install-html-shellutils: \
26169 configure-shellutils \
26170 html-shellutils
26171 @: $(MAKE); $(unstage)
26172 @[ -f ./shellutils/Makefile ] || exit 0; \
26173 r=`${PWD_COMMAND}`; export r; \
26174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26175 $(HOST_EXPORTS) \
26176 for flag in $(EXTRA_HOST_FLAGS) ; do \
26177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26178 done; \
26179 echo "Doing install-html in shellutils" ; \
26180 (cd $(HOST_SUBDIR)/shellutils && \
26181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26183 "RANLIB=$${RANLIB}" \
26184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26185 install-html) \
26186 || exit 1
26188 @endif shellutils
26190 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
26191 maybe-installcheck-shellutils:
26192 @if shellutils
26193 maybe-installcheck-shellutils: installcheck-shellutils
26195 installcheck-shellutils: \
26196 configure-shellutils
26197 @: $(MAKE); $(unstage)
26198 @[ -f ./shellutils/Makefile ] || exit 0; \
26199 r=`${PWD_COMMAND}`; export r; \
26200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26201 $(HOST_EXPORTS) \
26202 for flag in $(EXTRA_HOST_FLAGS) ; do \
26203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26204 done; \
26205 echo "Doing installcheck in shellutils" ; \
26206 (cd $(HOST_SUBDIR)/shellutils && \
26207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26209 "RANLIB=$${RANLIB}" \
26210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26211 installcheck) \
26212 || exit 1
26214 @endif shellutils
26216 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
26217 maybe-mostlyclean-shellutils:
26218 @if shellutils
26219 maybe-mostlyclean-shellutils: mostlyclean-shellutils
26221 mostlyclean-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 mostlyclean 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 mostlyclean) \
26237 || exit 1
26239 @endif shellutils
26241 .PHONY: maybe-clean-shellutils clean-shellutils
26242 maybe-clean-shellutils:
26243 @if shellutils
26244 maybe-clean-shellutils: clean-shellutils
26246 clean-shellutils:
26247 @: $(MAKE); $(unstage)
26248 @[ -f ./shellutils/Makefile ] || exit 0; \
26249 r=`${PWD_COMMAND}`; export r; \
26250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26251 $(HOST_EXPORTS) \
26252 for flag in $(EXTRA_HOST_FLAGS) ; do \
26253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26254 done; \
26255 echo "Doing clean in shellutils" ; \
26256 (cd $(HOST_SUBDIR)/shellutils && \
26257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26259 "RANLIB=$${RANLIB}" \
26260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26261 clean) \
26262 || exit 1
26264 @endif shellutils
26266 .PHONY: maybe-distclean-shellutils distclean-shellutils
26267 maybe-distclean-shellutils:
26268 @if shellutils
26269 maybe-distclean-shellutils: distclean-shellutils
26271 distclean-shellutils:
26272 @: $(MAKE); $(unstage)
26273 @[ -f ./shellutils/Makefile ] || exit 0; \
26274 r=`${PWD_COMMAND}`; export r; \
26275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26276 $(HOST_EXPORTS) \
26277 for flag in $(EXTRA_HOST_FLAGS) ; do \
26278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26279 done; \
26280 echo "Doing distclean in shellutils" ; \
26281 (cd $(HOST_SUBDIR)/shellutils && \
26282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26284 "RANLIB=$${RANLIB}" \
26285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26286 distclean) \
26287 || exit 1
26289 @endif shellutils
26291 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
26292 maybe-maintainer-clean-shellutils:
26293 @if shellutils
26294 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
26296 maintainer-clean-shellutils:
26297 @: $(MAKE); $(unstage)
26298 @[ -f ./shellutils/Makefile ] || exit 0; \
26299 r=`${PWD_COMMAND}`; export r; \
26300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26301 $(HOST_EXPORTS) \
26302 for flag in $(EXTRA_HOST_FLAGS) ; do \
26303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26304 done; \
26305 echo "Doing maintainer-clean in shellutils" ; \
26306 (cd $(HOST_SUBDIR)/shellutils && \
26307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26309 "RANLIB=$${RANLIB}" \
26310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26311 maintainer-clean) \
26312 || exit 1
26314 @endif shellutils
26318 .PHONY: configure-sid maybe-configure-sid
26319 maybe-configure-sid:
26320 @if gcc-bootstrap
26321 configure-sid: stage_current
26322 @endif gcc-bootstrap
26323 @if sid
26324 maybe-configure-sid: configure-sid
26325 configure-sid:
26326 @: $(MAKE); $(unstage)
26327 @r=`${PWD_COMMAND}`; export r; \
26328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26329 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26331 $(HOST_EXPORTS) \
26332 echo Configuring in $(HOST_SUBDIR)/sid; \
26333 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26334 case $(srcdir) in \
26335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26336 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26338 esac; \
26339 srcdiroption="--srcdir=$${topdir}/sid"; \
26340 libsrcdir="$$s/sid"; \
26341 $(SHELL) $${libsrcdir}/configure \
26342 $(HOST_CONFIGARGS) $${srcdiroption} \
26343 || exit 1
26344 @endif sid
26350 .PHONY: all-sid maybe-all-sid
26351 maybe-all-sid:
26352 @if gcc-bootstrap
26353 all-sid: stage_current
26354 @endif gcc-bootstrap
26355 @if sid
26356 TARGET-sid=all
26357 maybe-all-sid: all-sid
26358 all-sid: configure-sid
26359 @: $(MAKE); $(unstage)
26360 @r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 $(HOST_EXPORTS) \
26363 (cd $(HOST_SUBDIR)/sid && \
26364 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
26365 @endif sid
26370 .PHONY: check-sid maybe-check-sid
26371 maybe-check-sid:
26372 @if sid
26373 maybe-check-sid: check-sid
26375 check-sid:
26376 @: $(MAKE); $(unstage)
26377 @r=`${PWD_COMMAND}`; export r; \
26378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26379 $(HOST_EXPORTS) \
26380 (cd $(HOST_SUBDIR)/sid && \
26381 $(MAKE) $(FLAGS_TO_PASS) check)
26383 @endif sid
26385 .PHONY: install-sid maybe-install-sid
26386 maybe-install-sid:
26387 @if sid
26388 maybe-install-sid: install-sid
26390 install-sid: installdirs
26391 @: $(MAKE); $(unstage)
26392 @r=`${PWD_COMMAND}`; export r; \
26393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26394 $(HOST_EXPORTS) \
26395 (cd $(HOST_SUBDIR)/sid && \
26396 $(MAKE) $(FLAGS_TO_PASS) install)
26398 @endif sid
26400 # Other targets (info, dvi, pdf, etc.)
26402 .PHONY: maybe-info-sid info-sid
26403 maybe-info-sid:
26404 @if sid
26405 maybe-info-sid: info-sid
26407 info-sid: \
26408 configure-sid
26409 @: $(MAKE); $(unstage)
26410 @[ -f ./sid/Makefile ] || exit 0; \
26411 r=`${PWD_COMMAND}`; export r; \
26412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26413 $(HOST_EXPORTS) \
26414 for flag in $(EXTRA_HOST_FLAGS) ; do \
26415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26416 done; \
26417 echo "Doing info in sid" ; \
26418 (cd $(HOST_SUBDIR)/sid && \
26419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26421 "RANLIB=$${RANLIB}" \
26422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26423 info) \
26424 || exit 1
26426 @endif sid
26428 .PHONY: maybe-dvi-sid dvi-sid
26429 maybe-dvi-sid:
26430 @if sid
26431 maybe-dvi-sid: dvi-sid
26433 dvi-sid: \
26434 configure-sid
26435 @: $(MAKE); $(unstage)
26436 @[ -f ./sid/Makefile ] || exit 0; \
26437 r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 $(HOST_EXPORTS) \
26440 for flag in $(EXTRA_HOST_FLAGS) ; do \
26441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442 done; \
26443 echo "Doing dvi in sid" ; \
26444 (cd $(HOST_SUBDIR)/sid && \
26445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26447 "RANLIB=$${RANLIB}" \
26448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26449 dvi) \
26450 || exit 1
26452 @endif sid
26454 .PHONY: maybe-pdf-sid pdf-sid
26455 maybe-pdf-sid:
26456 @if sid
26457 maybe-pdf-sid: pdf-sid
26459 pdf-sid: \
26460 configure-sid
26461 @: $(MAKE); $(unstage)
26462 @[ -f ./sid/Makefile ] || exit 0; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(HOST_EXPORTS) \
26466 for flag in $(EXTRA_HOST_FLAGS) ; do \
26467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26468 done; \
26469 echo "Doing pdf in sid" ; \
26470 (cd $(HOST_SUBDIR)/sid && \
26471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26473 "RANLIB=$${RANLIB}" \
26474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26475 pdf) \
26476 || exit 1
26478 @endif sid
26480 .PHONY: maybe-html-sid html-sid
26481 maybe-html-sid:
26482 @if sid
26483 maybe-html-sid: html-sid
26485 html-sid: \
26486 configure-sid
26487 @: $(MAKE); $(unstage)
26488 @[ -f ./sid/Makefile ] || exit 0; \
26489 r=`${PWD_COMMAND}`; export r; \
26490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26491 $(HOST_EXPORTS) \
26492 for flag in $(EXTRA_HOST_FLAGS) ; do \
26493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26494 done; \
26495 echo "Doing html in sid" ; \
26496 (cd $(HOST_SUBDIR)/sid && \
26497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26499 "RANLIB=$${RANLIB}" \
26500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26501 html) \
26502 || exit 1
26504 @endif sid
26506 .PHONY: maybe-TAGS-sid TAGS-sid
26507 maybe-TAGS-sid:
26508 @if sid
26509 maybe-TAGS-sid: TAGS-sid
26511 TAGS-sid: \
26512 configure-sid
26513 @: $(MAKE); $(unstage)
26514 @[ -f ./sid/Makefile ] || exit 0; \
26515 r=`${PWD_COMMAND}`; export r; \
26516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26517 $(HOST_EXPORTS) \
26518 for flag in $(EXTRA_HOST_FLAGS) ; do \
26519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26520 done; \
26521 echo "Doing TAGS in sid" ; \
26522 (cd $(HOST_SUBDIR)/sid && \
26523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26525 "RANLIB=$${RANLIB}" \
26526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26527 TAGS) \
26528 || exit 1
26530 @endif sid
26532 .PHONY: maybe-install-info-sid install-info-sid
26533 maybe-install-info-sid:
26534 @if sid
26535 maybe-install-info-sid: install-info-sid
26537 install-info-sid: \
26538 configure-sid \
26539 info-sid
26540 @: $(MAKE); $(unstage)
26541 @[ -f ./sid/Makefile ] || exit 0; \
26542 r=`${PWD_COMMAND}`; export r; \
26543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26544 $(HOST_EXPORTS) \
26545 for flag in $(EXTRA_HOST_FLAGS) ; do \
26546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26547 done; \
26548 echo "Doing install-info in sid" ; \
26549 (cd $(HOST_SUBDIR)/sid && \
26550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26552 "RANLIB=$${RANLIB}" \
26553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26554 install-info) \
26555 || exit 1
26557 @endif sid
26559 .PHONY: maybe-install-html-sid install-html-sid
26560 maybe-install-html-sid:
26561 @if sid
26562 maybe-install-html-sid: install-html-sid
26564 install-html-sid: \
26565 configure-sid \
26566 html-sid
26567 @: $(MAKE); $(unstage)
26568 @[ -f ./sid/Makefile ] || exit 0; \
26569 r=`${PWD_COMMAND}`; export r; \
26570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26571 $(HOST_EXPORTS) \
26572 for flag in $(EXTRA_HOST_FLAGS) ; do \
26573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26574 done; \
26575 echo "Doing install-html in sid" ; \
26576 (cd $(HOST_SUBDIR)/sid && \
26577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26579 "RANLIB=$${RANLIB}" \
26580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26581 install-html) \
26582 || exit 1
26584 @endif sid
26586 .PHONY: maybe-installcheck-sid installcheck-sid
26587 maybe-installcheck-sid:
26588 @if sid
26589 maybe-installcheck-sid: installcheck-sid
26591 installcheck-sid: \
26592 configure-sid
26593 @: $(MAKE); $(unstage)
26594 @[ -f ./sid/Makefile ] || exit 0; \
26595 r=`${PWD_COMMAND}`; export r; \
26596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26597 $(HOST_EXPORTS) \
26598 for flag in $(EXTRA_HOST_FLAGS) ; do \
26599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26600 done; \
26601 echo "Doing installcheck in sid" ; \
26602 (cd $(HOST_SUBDIR)/sid && \
26603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26605 "RANLIB=$${RANLIB}" \
26606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26607 installcheck) \
26608 || exit 1
26610 @endif sid
26612 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26613 maybe-mostlyclean-sid:
26614 @if sid
26615 maybe-mostlyclean-sid: mostlyclean-sid
26617 mostlyclean-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 mostlyclean 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 mostlyclean) \
26633 || exit 1
26635 @endif sid
26637 .PHONY: maybe-clean-sid clean-sid
26638 maybe-clean-sid:
26639 @if sid
26640 maybe-clean-sid: clean-sid
26642 clean-sid:
26643 @: $(MAKE); $(unstage)
26644 @[ -f ./sid/Makefile ] || exit 0; \
26645 r=`${PWD_COMMAND}`; export r; \
26646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26647 $(HOST_EXPORTS) \
26648 for flag in $(EXTRA_HOST_FLAGS) ; do \
26649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26650 done; \
26651 echo "Doing clean in sid" ; \
26652 (cd $(HOST_SUBDIR)/sid && \
26653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26655 "RANLIB=$${RANLIB}" \
26656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26657 clean) \
26658 || exit 1
26660 @endif sid
26662 .PHONY: maybe-distclean-sid distclean-sid
26663 maybe-distclean-sid:
26664 @if sid
26665 maybe-distclean-sid: distclean-sid
26667 distclean-sid:
26668 @: $(MAKE); $(unstage)
26669 @[ -f ./sid/Makefile ] || exit 0; \
26670 r=`${PWD_COMMAND}`; export r; \
26671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26672 $(HOST_EXPORTS) \
26673 for flag in $(EXTRA_HOST_FLAGS) ; do \
26674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26675 done; \
26676 echo "Doing distclean in sid" ; \
26677 (cd $(HOST_SUBDIR)/sid && \
26678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26680 "RANLIB=$${RANLIB}" \
26681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26682 distclean) \
26683 || exit 1
26685 @endif sid
26687 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26688 maybe-maintainer-clean-sid:
26689 @if sid
26690 maybe-maintainer-clean-sid: maintainer-clean-sid
26692 maintainer-clean-sid:
26693 @: $(MAKE); $(unstage)
26694 @[ -f ./sid/Makefile ] || exit 0; \
26695 r=`${PWD_COMMAND}`; export r; \
26696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26697 $(HOST_EXPORTS) \
26698 for flag in $(EXTRA_HOST_FLAGS) ; do \
26699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26700 done; \
26701 echo "Doing maintainer-clean in sid" ; \
26702 (cd $(HOST_SUBDIR)/sid && \
26703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26705 "RANLIB=$${RANLIB}" \
26706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26707 maintainer-clean) \
26708 || exit 1
26710 @endif sid
26714 .PHONY: configure-sim maybe-configure-sim
26715 maybe-configure-sim:
26716 @if gcc-bootstrap
26717 configure-sim: stage_current
26718 @endif gcc-bootstrap
26719 @if sim
26720 maybe-configure-sim: configure-sim
26721 configure-sim:
26722 @: $(MAKE); $(unstage)
26723 @r=`${PWD_COMMAND}`; export r; \
26724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26725 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26727 $(HOST_EXPORTS) \
26728 echo Configuring in $(HOST_SUBDIR)/sim; \
26729 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26730 case $(srcdir) in \
26731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26732 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26734 esac; \
26735 srcdiroption="--srcdir=$${topdir}/sim"; \
26736 libsrcdir="$$s/sim"; \
26737 $(SHELL) $${libsrcdir}/configure \
26738 $(HOST_CONFIGARGS) $${srcdiroption} \
26739 || exit 1
26740 @endif sim
26746 .PHONY: all-sim maybe-all-sim
26747 maybe-all-sim:
26748 @if gcc-bootstrap
26749 all-sim: stage_current
26750 @endif gcc-bootstrap
26751 @if sim
26752 TARGET-sim=all
26753 maybe-all-sim: all-sim
26754 all-sim: configure-sim
26755 @: $(MAKE); $(unstage)
26756 @r=`${PWD_COMMAND}`; export r; \
26757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26758 $(HOST_EXPORTS) \
26759 (cd $(HOST_SUBDIR)/sim && \
26760 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
26761 @endif sim
26766 .PHONY: check-sim maybe-check-sim
26767 maybe-check-sim:
26768 @if sim
26769 maybe-check-sim: check-sim
26771 check-sim:
26772 @: $(MAKE); $(unstage)
26773 @r=`${PWD_COMMAND}`; export r; \
26774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26775 $(HOST_EXPORTS) \
26776 (cd $(HOST_SUBDIR)/sim && \
26777 $(MAKE) $(FLAGS_TO_PASS) check)
26779 @endif sim
26781 .PHONY: install-sim maybe-install-sim
26782 maybe-install-sim:
26783 @if sim
26784 maybe-install-sim: install-sim
26786 install-sim: installdirs
26787 @: $(MAKE); $(unstage)
26788 @r=`${PWD_COMMAND}`; export r; \
26789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26790 $(HOST_EXPORTS) \
26791 (cd $(HOST_SUBDIR)/sim && \
26792 $(MAKE) $(FLAGS_TO_PASS) install)
26794 @endif sim
26796 # Other targets (info, dvi, pdf, etc.)
26798 .PHONY: maybe-info-sim info-sim
26799 maybe-info-sim:
26800 @if sim
26801 maybe-info-sim: info-sim
26803 info-sim: \
26804 configure-sim
26805 @: $(MAKE); $(unstage)
26806 @[ -f ./sim/Makefile ] || exit 0; \
26807 r=`${PWD_COMMAND}`; export r; \
26808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26809 $(HOST_EXPORTS) \
26810 for flag in $(EXTRA_HOST_FLAGS) ; do \
26811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26812 done; \
26813 echo "Doing info in sim" ; \
26814 (cd $(HOST_SUBDIR)/sim && \
26815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26817 "RANLIB=$${RANLIB}" \
26818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26819 info) \
26820 || exit 1
26822 @endif sim
26824 .PHONY: maybe-dvi-sim dvi-sim
26825 maybe-dvi-sim:
26826 @if sim
26827 maybe-dvi-sim: dvi-sim
26829 dvi-sim: \
26830 configure-sim
26831 @: $(MAKE); $(unstage)
26832 @[ -f ./sim/Makefile ] || exit 0; \
26833 r=`${PWD_COMMAND}`; export r; \
26834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26835 $(HOST_EXPORTS) \
26836 for flag in $(EXTRA_HOST_FLAGS) ; do \
26837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26838 done; \
26839 echo "Doing dvi in sim" ; \
26840 (cd $(HOST_SUBDIR)/sim && \
26841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26843 "RANLIB=$${RANLIB}" \
26844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26845 dvi) \
26846 || exit 1
26848 @endif sim
26850 .PHONY: maybe-pdf-sim pdf-sim
26851 maybe-pdf-sim:
26852 @if sim
26853 maybe-pdf-sim: pdf-sim
26855 pdf-sim: \
26856 configure-sim
26857 @: $(MAKE); $(unstage)
26858 @[ -f ./sim/Makefile ] || exit 0; \
26859 r=`${PWD_COMMAND}`; export r; \
26860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26861 $(HOST_EXPORTS) \
26862 for flag in $(EXTRA_HOST_FLAGS) ; do \
26863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26864 done; \
26865 echo "Doing pdf in sim" ; \
26866 (cd $(HOST_SUBDIR)/sim && \
26867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26869 "RANLIB=$${RANLIB}" \
26870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26871 pdf) \
26872 || exit 1
26874 @endif sim
26876 .PHONY: maybe-html-sim html-sim
26877 maybe-html-sim:
26878 @if sim
26879 maybe-html-sim: html-sim
26881 html-sim: \
26882 configure-sim
26883 @: $(MAKE); $(unstage)
26884 @[ -f ./sim/Makefile ] || exit 0; \
26885 r=`${PWD_COMMAND}`; export r; \
26886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26887 $(HOST_EXPORTS) \
26888 for flag in $(EXTRA_HOST_FLAGS) ; do \
26889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26890 done; \
26891 echo "Doing html in sim" ; \
26892 (cd $(HOST_SUBDIR)/sim && \
26893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26895 "RANLIB=$${RANLIB}" \
26896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26897 html) \
26898 || exit 1
26900 @endif sim
26902 .PHONY: maybe-TAGS-sim TAGS-sim
26903 maybe-TAGS-sim:
26904 @if sim
26905 maybe-TAGS-sim: TAGS-sim
26907 TAGS-sim: \
26908 configure-sim
26909 @: $(MAKE); $(unstage)
26910 @[ -f ./sim/Makefile ] || exit 0; \
26911 r=`${PWD_COMMAND}`; export r; \
26912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26913 $(HOST_EXPORTS) \
26914 for flag in $(EXTRA_HOST_FLAGS) ; do \
26915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26916 done; \
26917 echo "Doing TAGS in sim" ; \
26918 (cd $(HOST_SUBDIR)/sim && \
26919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26921 "RANLIB=$${RANLIB}" \
26922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26923 TAGS) \
26924 || exit 1
26926 @endif sim
26928 .PHONY: maybe-install-info-sim install-info-sim
26929 maybe-install-info-sim:
26930 @if sim
26931 maybe-install-info-sim: install-info-sim
26933 install-info-sim: \
26934 configure-sim \
26935 info-sim
26936 @: $(MAKE); $(unstage)
26937 @[ -f ./sim/Makefile ] || exit 0; \
26938 r=`${PWD_COMMAND}`; export r; \
26939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26940 $(HOST_EXPORTS) \
26941 for flag in $(EXTRA_HOST_FLAGS) ; do \
26942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26943 done; \
26944 echo "Doing install-info in sim" ; \
26945 (cd $(HOST_SUBDIR)/sim && \
26946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26948 "RANLIB=$${RANLIB}" \
26949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26950 install-info) \
26951 || exit 1
26953 @endif sim
26955 .PHONY: maybe-install-html-sim install-html-sim
26956 maybe-install-html-sim:
26957 @if sim
26958 maybe-install-html-sim: install-html-sim
26960 install-html-sim: \
26961 configure-sim \
26962 html-sim
26963 @: $(MAKE); $(unstage)
26964 @[ -f ./sim/Makefile ] || exit 0; \
26965 r=`${PWD_COMMAND}`; export r; \
26966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26967 $(HOST_EXPORTS) \
26968 for flag in $(EXTRA_HOST_FLAGS) ; do \
26969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26970 done; \
26971 echo "Doing install-html in sim" ; \
26972 (cd $(HOST_SUBDIR)/sim && \
26973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26975 "RANLIB=$${RANLIB}" \
26976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26977 install-html) \
26978 || exit 1
26980 @endif sim
26982 .PHONY: maybe-installcheck-sim installcheck-sim
26983 maybe-installcheck-sim:
26984 @if sim
26985 maybe-installcheck-sim: installcheck-sim
26987 installcheck-sim: \
26988 configure-sim
26989 @: $(MAKE); $(unstage)
26990 @[ -f ./sim/Makefile ] || exit 0; \
26991 r=`${PWD_COMMAND}`; export r; \
26992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993 $(HOST_EXPORTS) \
26994 for flag in $(EXTRA_HOST_FLAGS) ; do \
26995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26996 done; \
26997 echo "Doing installcheck in sim" ; \
26998 (cd $(HOST_SUBDIR)/sim && \
26999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27001 "RANLIB=$${RANLIB}" \
27002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27003 installcheck) \
27004 || exit 1
27006 @endif sim
27008 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
27009 maybe-mostlyclean-sim:
27010 @if sim
27011 maybe-mostlyclean-sim: mostlyclean-sim
27013 mostlyclean-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 mostlyclean 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 mostlyclean) \
27029 || exit 1
27031 @endif sim
27033 .PHONY: maybe-clean-sim clean-sim
27034 maybe-clean-sim:
27035 @if sim
27036 maybe-clean-sim: clean-sim
27038 clean-sim:
27039 @: $(MAKE); $(unstage)
27040 @[ -f ./sim/Makefile ] || exit 0; \
27041 r=`${PWD_COMMAND}`; export r; \
27042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27043 $(HOST_EXPORTS) \
27044 for flag in $(EXTRA_HOST_FLAGS) ; do \
27045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27046 done; \
27047 echo "Doing clean in sim" ; \
27048 (cd $(HOST_SUBDIR)/sim && \
27049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27051 "RANLIB=$${RANLIB}" \
27052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27053 clean) \
27054 || exit 1
27056 @endif sim
27058 .PHONY: maybe-distclean-sim distclean-sim
27059 maybe-distclean-sim:
27060 @if sim
27061 maybe-distclean-sim: distclean-sim
27063 distclean-sim:
27064 @: $(MAKE); $(unstage)
27065 @[ -f ./sim/Makefile ] || exit 0; \
27066 r=`${PWD_COMMAND}`; export r; \
27067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27068 $(HOST_EXPORTS) \
27069 for flag in $(EXTRA_HOST_FLAGS) ; do \
27070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27071 done; \
27072 echo "Doing distclean in sim" ; \
27073 (cd $(HOST_SUBDIR)/sim && \
27074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27076 "RANLIB=$${RANLIB}" \
27077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27078 distclean) \
27079 || exit 1
27081 @endif sim
27083 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
27084 maybe-maintainer-clean-sim:
27085 @if sim
27086 maybe-maintainer-clean-sim: maintainer-clean-sim
27088 maintainer-clean-sim:
27089 @: $(MAKE); $(unstage)
27090 @[ -f ./sim/Makefile ] || exit 0; \
27091 r=`${PWD_COMMAND}`; export r; \
27092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27093 $(HOST_EXPORTS) \
27094 for flag in $(EXTRA_HOST_FLAGS) ; do \
27095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27096 done; \
27097 echo "Doing maintainer-clean in sim" ; \
27098 (cd $(HOST_SUBDIR)/sim && \
27099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27101 "RANLIB=$${RANLIB}" \
27102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27103 maintainer-clean) \
27104 || exit 1
27106 @endif sim
27110 .PHONY: configure-tar maybe-configure-tar
27111 maybe-configure-tar:
27112 @if gcc-bootstrap
27113 configure-tar: stage_current
27114 @endif gcc-bootstrap
27115 @if tar
27116 maybe-configure-tar: configure-tar
27117 configure-tar:
27118 @: $(MAKE); $(unstage)
27119 @r=`${PWD_COMMAND}`; export r; \
27120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27121 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
27122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
27123 $(HOST_EXPORTS) \
27124 echo Configuring in $(HOST_SUBDIR)/tar; \
27125 cd "$(HOST_SUBDIR)/tar" || exit 1; \
27126 case $(srcdir) in \
27127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27128 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
27129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27130 esac; \
27131 srcdiroption="--srcdir=$${topdir}/tar"; \
27132 libsrcdir="$$s/tar"; \
27133 $(SHELL) $${libsrcdir}/configure \
27134 $(HOST_CONFIGARGS) $${srcdiroption} \
27135 || exit 1
27136 @endif tar
27142 .PHONY: all-tar maybe-all-tar
27143 maybe-all-tar:
27144 @if gcc-bootstrap
27145 all-tar: stage_current
27146 @endif gcc-bootstrap
27147 @if tar
27148 TARGET-tar=all
27149 maybe-all-tar: all-tar
27150 all-tar: configure-tar
27151 @: $(MAKE); $(unstage)
27152 @r=`${PWD_COMMAND}`; export r; \
27153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27154 $(HOST_EXPORTS) \
27155 (cd $(HOST_SUBDIR)/tar && \
27156 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
27157 @endif tar
27162 .PHONY: check-tar maybe-check-tar
27163 maybe-check-tar:
27164 @if tar
27165 maybe-check-tar: check-tar
27167 check-tar:
27168 @: $(MAKE); $(unstage)
27169 @r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171 $(HOST_EXPORTS) \
27172 (cd $(HOST_SUBDIR)/tar && \
27173 $(MAKE) $(FLAGS_TO_PASS) check)
27175 @endif tar
27177 .PHONY: install-tar maybe-install-tar
27178 maybe-install-tar:
27179 @if tar
27180 maybe-install-tar: install-tar
27182 install-tar: installdirs
27183 @: $(MAKE); $(unstage)
27184 @r=`${PWD_COMMAND}`; export r; \
27185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27186 $(HOST_EXPORTS) \
27187 (cd $(HOST_SUBDIR)/tar && \
27188 $(MAKE) $(FLAGS_TO_PASS) install)
27190 @endif tar
27192 # Other targets (info, dvi, pdf, etc.)
27194 .PHONY: maybe-info-tar info-tar
27195 maybe-info-tar:
27196 @if tar
27197 maybe-info-tar: info-tar
27199 info-tar: \
27200 configure-tar
27201 @: $(MAKE); $(unstage)
27202 @[ -f ./tar/Makefile ] || exit 0; \
27203 r=`${PWD_COMMAND}`; export r; \
27204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27205 $(HOST_EXPORTS) \
27206 for flag in $(EXTRA_HOST_FLAGS) ; do \
27207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27208 done; \
27209 echo "Doing info in tar" ; \
27210 (cd $(HOST_SUBDIR)/tar && \
27211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27213 "RANLIB=$${RANLIB}" \
27214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27215 info) \
27216 || exit 1
27218 @endif tar
27220 .PHONY: maybe-dvi-tar dvi-tar
27221 maybe-dvi-tar:
27222 @if tar
27223 maybe-dvi-tar: dvi-tar
27225 dvi-tar: \
27226 configure-tar
27227 @: $(MAKE); $(unstage)
27228 @[ -f ./tar/Makefile ] || exit 0; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231 $(HOST_EXPORTS) \
27232 for flag in $(EXTRA_HOST_FLAGS) ; do \
27233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27234 done; \
27235 echo "Doing dvi in tar" ; \
27236 (cd $(HOST_SUBDIR)/tar && \
27237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27239 "RANLIB=$${RANLIB}" \
27240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27241 dvi) \
27242 || exit 1
27244 @endif tar
27246 .PHONY: maybe-pdf-tar pdf-tar
27247 maybe-pdf-tar:
27248 @if tar
27249 maybe-pdf-tar: pdf-tar
27251 pdf-tar: \
27252 configure-tar
27253 @: $(MAKE); $(unstage)
27254 @[ -f ./tar/Makefile ] || exit 0; \
27255 r=`${PWD_COMMAND}`; export r; \
27256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27257 $(HOST_EXPORTS) \
27258 for flag in $(EXTRA_HOST_FLAGS) ; do \
27259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27260 done; \
27261 echo "Doing pdf in tar" ; \
27262 (cd $(HOST_SUBDIR)/tar && \
27263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27265 "RANLIB=$${RANLIB}" \
27266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27267 pdf) \
27268 || exit 1
27270 @endif tar
27272 .PHONY: maybe-html-tar html-tar
27273 maybe-html-tar:
27274 @if tar
27275 maybe-html-tar: html-tar
27277 html-tar: \
27278 configure-tar
27279 @: $(MAKE); $(unstage)
27280 @[ -f ./tar/Makefile ] || exit 0; \
27281 r=`${PWD_COMMAND}`; export r; \
27282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27283 $(HOST_EXPORTS) \
27284 for flag in $(EXTRA_HOST_FLAGS) ; do \
27285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27286 done; \
27287 echo "Doing html in tar" ; \
27288 (cd $(HOST_SUBDIR)/tar && \
27289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27291 "RANLIB=$${RANLIB}" \
27292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27293 html) \
27294 || exit 1
27296 @endif tar
27298 .PHONY: maybe-TAGS-tar TAGS-tar
27299 maybe-TAGS-tar:
27300 @if tar
27301 maybe-TAGS-tar: TAGS-tar
27303 TAGS-tar: \
27304 configure-tar
27305 @: $(MAKE); $(unstage)
27306 @[ -f ./tar/Makefile ] || exit 0; \
27307 r=`${PWD_COMMAND}`; export r; \
27308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27309 $(HOST_EXPORTS) \
27310 for flag in $(EXTRA_HOST_FLAGS) ; do \
27311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27312 done; \
27313 echo "Doing TAGS in tar" ; \
27314 (cd $(HOST_SUBDIR)/tar && \
27315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27317 "RANLIB=$${RANLIB}" \
27318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27319 TAGS) \
27320 || exit 1
27322 @endif tar
27324 .PHONY: maybe-install-info-tar install-info-tar
27325 maybe-install-info-tar:
27326 @if tar
27327 maybe-install-info-tar: install-info-tar
27329 install-info-tar: \
27330 configure-tar \
27331 info-tar
27332 @: $(MAKE); $(unstage)
27333 @[ -f ./tar/Makefile ] || exit 0; \
27334 r=`${PWD_COMMAND}`; export r; \
27335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27336 $(HOST_EXPORTS) \
27337 for flag in $(EXTRA_HOST_FLAGS) ; do \
27338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27339 done; \
27340 echo "Doing install-info in tar" ; \
27341 (cd $(HOST_SUBDIR)/tar && \
27342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27344 "RANLIB=$${RANLIB}" \
27345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27346 install-info) \
27347 || exit 1
27349 @endif tar
27351 .PHONY: maybe-install-html-tar install-html-tar
27352 maybe-install-html-tar:
27353 @if tar
27354 maybe-install-html-tar: install-html-tar
27356 install-html-tar: \
27357 configure-tar \
27358 html-tar
27359 @: $(MAKE); $(unstage)
27360 @[ -f ./tar/Makefile ] || exit 0; \
27361 r=`${PWD_COMMAND}`; export r; \
27362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27363 $(HOST_EXPORTS) \
27364 for flag in $(EXTRA_HOST_FLAGS) ; do \
27365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27366 done; \
27367 echo "Doing install-html in tar" ; \
27368 (cd $(HOST_SUBDIR)/tar && \
27369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27371 "RANLIB=$${RANLIB}" \
27372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27373 install-html) \
27374 || exit 1
27376 @endif tar
27378 .PHONY: maybe-installcheck-tar installcheck-tar
27379 maybe-installcheck-tar:
27380 @if tar
27381 maybe-installcheck-tar: installcheck-tar
27383 installcheck-tar: \
27384 configure-tar
27385 @: $(MAKE); $(unstage)
27386 @[ -f ./tar/Makefile ] || exit 0; \
27387 r=`${PWD_COMMAND}`; export r; \
27388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27389 $(HOST_EXPORTS) \
27390 for flag in $(EXTRA_HOST_FLAGS) ; do \
27391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27392 done; \
27393 echo "Doing installcheck in tar" ; \
27394 (cd $(HOST_SUBDIR)/tar && \
27395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27397 "RANLIB=$${RANLIB}" \
27398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27399 installcheck) \
27400 || exit 1
27402 @endif tar
27404 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
27405 maybe-mostlyclean-tar:
27406 @if tar
27407 maybe-mostlyclean-tar: mostlyclean-tar
27409 mostlyclean-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 mostlyclean 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 mostlyclean) \
27425 || exit 1
27427 @endif tar
27429 .PHONY: maybe-clean-tar clean-tar
27430 maybe-clean-tar:
27431 @if tar
27432 maybe-clean-tar: clean-tar
27434 clean-tar:
27435 @: $(MAKE); $(unstage)
27436 @[ -f ./tar/Makefile ] || exit 0; \
27437 r=`${PWD_COMMAND}`; export r; \
27438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27439 $(HOST_EXPORTS) \
27440 for flag in $(EXTRA_HOST_FLAGS) ; do \
27441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27442 done; \
27443 echo "Doing clean in tar" ; \
27444 (cd $(HOST_SUBDIR)/tar && \
27445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27447 "RANLIB=$${RANLIB}" \
27448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27449 clean) \
27450 || exit 1
27452 @endif tar
27454 .PHONY: maybe-distclean-tar distclean-tar
27455 maybe-distclean-tar:
27456 @if tar
27457 maybe-distclean-tar: distclean-tar
27459 distclean-tar:
27460 @: $(MAKE); $(unstage)
27461 @[ -f ./tar/Makefile ] || exit 0; \
27462 r=`${PWD_COMMAND}`; export r; \
27463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27464 $(HOST_EXPORTS) \
27465 for flag in $(EXTRA_HOST_FLAGS) ; do \
27466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27467 done; \
27468 echo "Doing distclean in tar" ; \
27469 (cd $(HOST_SUBDIR)/tar && \
27470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27472 "RANLIB=$${RANLIB}" \
27473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27474 distclean) \
27475 || exit 1
27477 @endif tar
27479 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
27480 maybe-maintainer-clean-tar:
27481 @if tar
27482 maybe-maintainer-clean-tar: maintainer-clean-tar
27484 maintainer-clean-tar:
27485 @: $(MAKE); $(unstage)
27486 @[ -f ./tar/Makefile ] || exit 0; \
27487 r=`${PWD_COMMAND}`; export r; \
27488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27489 $(HOST_EXPORTS) \
27490 for flag in $(EXTRA_HOST_FLAGS) ; do \
27491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27492 done; \
27493 echo "Doing maintainer-clean in tar" ; \
27494 (cd $(HOST_SUBDIR)/tar && \
27495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27497 "RANLIB=$${RANLIB}" \
27498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27499 maintainer-clean) \
27500 || exit 1
27502 @endif tar
27506 .PHONY: configure-texinfo maybe-configure-texinfo
27507 maybe-configure-texinfo:
27508 @if gcc-bootstrap
27509 configure-texinfo: stage_current
27510 @endif gcc-bootstrap
27511 @if texinfo
27512 maybe-configure-texinfo: configure-texinfo
27513 configure-texinfo:
27514 @: $(MAKE); $(unstage)
27515 @r=`${PWD_COMMAND}`; export r; \
27516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27517 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27519 $(HOST_EXPORTS) \
27520 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27521 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27522 case $(srcdir) in \
27523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27524 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27526 esac; \
27527 srcdiroption="--srcdir=$${topdir}/texinfo"; \
27528 libsrcdir="$$s/texinfo"; \
27529 $(SHELL) $${libsrcdir}/configure \
27530 $(HOST_CONFIGARGS) $${srcdiroption} \
27531 || exit 1
27532 @endif texinfo
27538 .PHONY: all-texinfo maybe-all-texinfo
27539 maybe-all-texinfo:
27540 @if gcc-bootstrap
27541 all-texinfo: stage_current
27542 @endif gcc-bootstrap
27543 @if texinfo
27544 TARGET-texinfo=all
27545 maybe-all-texinfo: all-texinfo
27546 all-texinfo: configure-texinfo
27547 @: $(MAKE); $(unstage)
27548 @r=`${PWD_COMMAND}`; export r; \
27549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27550 $(HOST_EXPORTS) \
27551 (cd $(HOST_SUBDIR)/texinfo && \
27552 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
27553 @endif texinfo
27558 .PHONY: check-texinfo maybe-check-texinfo
27559 maybe-check-texinfo:
27560 @if texinfo
27561 maybe-check-texinfo: check-texinfo
27563 check-texinfo:
27564 @: $(MAKE); $(unstage)
27565 @r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27567 $(HOST_EXPORTS) \
27568 (cd $(HOST_SUBDIR)/texinfo && \
27569 $(MAKE) $(FLAGS_TO_PASS) check)
27571 @endif texinfo
27573 .PHONY: install-texinfo maybe-install-texinfo
27574 maybe-install-texinfo:
27575 @if texinfo
27576 maybe-install-texinfo: install-texinfo
27578 install-texinfo:
27580 @endif texinfo
27582 # Other targets (info, dvi, pdf, etc.)
27584 .PHONY: maybe-info-texinfo info-texinfo
27585 maybe-info-texinfo:
27586 @if texinfo
27587 maybe-info-texinfo: info-texinfo
27589 info-texinfo: \
27590 configure-texinfo
27591 @: $(MAKE); $(unstage)
27592 @[ -f ./texinfo/Makefile ] || exit 0; \
27593 r=`${PWD_COMMAND}`; export r; \
27594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27595 $(HOST_EXPORTS) \
27596 for flag in $(EXTRA_HOST_FLAGS) ; do \
27597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27598 done; \
27599 echo "Doing info in texinfo" ; \
27600 (cd $(HOST_SUBDIR)/texinfo && \
27601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27603 "RANLIB=$${RANLIB}" \
27604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27605 info) \
27606 || exit 1
27608 @endif texinfo
27610 .PHONY: maybe-dvi-texinfo dvi-texinfo
27611 maybe-dvi-texinfo:
27612 @if texinfo
27613 maybe-dvi-texinfo: dvi-texinfo
27615 dvi-texinfo: \
27616 configure-texinfo
27617 @: $(MAKE); $(unstage)
27618 @[ -f ./texinfo/Makefile ] || exit 0; \
27619 r=`${PWD_COMMAND}`; export r; \
27620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27621 $(HOST_EXPORTS) \
27622 for flag in $(EXTRA_HOST_FLAGS) ; do \
27623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27624 done; \
27625 echo "Doing dvi in texinfo" ; \
27626 (cd $(HOST_SUBDIR)/texinfo && \
27627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27629 "RANLIB=$${RANLIB}" \
27630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27631 dvi) \
27632 || exit 1
27634 @endif texinfo
27636 .PHONY: maybe-pdf-texinfo pdf-texinfo
27637 maybe-pdf-texinfo:
27638 @if texinfo
27639 maybe-pdf-texinfo: pdf-texinfo
27641 pdf-texinfo: \
27642 configure-texinfo
27643 @: $(MAKE); $(unstage)
27644 @[ -f ./texinfo/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 pdf in texinfo" ; \
27652 (cd $(HOST_SUBDIR)/texinfo && \
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 pdf) \
27658 || exit 1
27660 @endif texinfo
27662 .PHONY: maybe-html-texinfo html-texinfo
27663 maybe-html-texinfo:
27664 @if texinfo
27665 maybe-html-texinfo: html-texinfo
27667 html-texinfo: \
27668 configure-texinfo
27669 @: $(MAKE); $(unstage)
27670 @[ -f ./texinfo/Makefile ] || exit 0; \
27671 r=`${PWD_COMMAND}`; export r; \
27672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27673 $(HOST_EXPORTS) \
27674 for flag in $(EXTRA_HOST_FLAGS) ; do \
27675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27676 done; \
27677 echo "Doing html in texinfo" ; \
27678 (cd $(HOST_SUBDIR)/texinfo && \
27679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27681 "RANLIB=$${RANLIB}" \
27682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27683 html) \
27684 || exit 1
27686 @endif texinfo
27688 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27689 maybe-TAGS-texinfo:
27690 @if texinfo
27691 maybe-TAGS-texinfo: TAGS-texinfo
27693 TAGS-texinfo: \
27694 configure-texinfo
27695 @: $(MAKE); $(unstage)
27696 @[ -f ./texinfo/Makefile ] || exit 0; \
27697 r=`${PWD_COMMAND}`; export r; \
27698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27699 $(HOST_EXPORTS) \
27700 for flag in $(EXTRA_HOST_FLAGS) ; do \
27701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27702 done; \
27703 echo "Doing TAGS in texinfo" ; \
27704 (cd $(HOST_SUBDIR)/texinfo && \
27705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27707 "RANLIB=$${RANLIB}" \
27708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27709 TAGS) \
27710 || exit 1
27712 @endif texinfo
27714 .PHONY: maybe-install-info-texinfo install-info-texinfo
27715 maybe-install-info-texinfo:
27716 @if texinfo
27717 maybe-install-info-texinfo: install-info-texinfo
27719 install-info-texinfo: \
27720 configure-texinfo \
27721 info-texinfo
27722 @: $(MAKE); $(unstage)
27723 @[ -f ./texinfo/Makefile ] || exit 0; \
27724 r=`${PWD_COMMAND}`; export r; \
27725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27726 $(HOST_EXPORTS) \
27727 for flag in $(EXTRA_HOST_FLAGS) ; do \
27728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27729 done; \
27730 echo "Doing install-info in texinfo" ; \
27731 (cd $(HOST_SUBDIR)/texinfo && \
27732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27734 "RANLIB=$${RANLIB}" \
27735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27736 install-info) \
27737 || exit 1
27739 @endif texinfo
27741 .PHONY: maybe-install-html-texinfo install-html-texinfo
27742 maybe-install-html-texinfo:
27743 @if texinfo
27744 maybe-install-html-texinfo: install-html-texinfo
27746 install-html-texinfo: \
27747 configure-texinfo \
27748 html-texinfo
27749 @: $(MAKE); $(unstage)
27750 @[ -f ./texinfo/Makefile ] || exit 0; \
27751 r=`${PWD_COMMAND}`; export r; \
27752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27753 $(HOST_EXPORTS) \
27754 for flag in $(EXTRA_HOST_FLAGS) ; do \
27755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27756 done; \
27757 echo "Doing install-html in texinfo" ; \
27758 (cd $(HOST_SUBDIR)/texinfo && \
27759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27761 "RANLIB=$${RANLIB}" \
27762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27763 install-html) \
27764 || exit 1
27766 @endif texinfo
27768 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27769 maybe-installcheck-texinfo:
27770 @if texinfo
27771 maybe-installcheck-texinfo: installcheck-texinfo
27773 installcheck-texinfo: \
27774 configure-texinfo
27775 @: $(MAKE); $(unstage)
27776 @[ -f ./texinfo/Makefile ] || exit 0; \
27777 r=`${PWD_COMMAND}`; export r; \
27778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27779 $(HOST_EXPORTS) \
27780 for flag in $(EXTRA_HOST_FLAGS) ; do \
27781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27782 done; \
27783 echo "Doing installcheck in texinfo" ; \
27784 (cd $(HOST_SUBDIR)/texinfo && \
27785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27787 "RANLIB=$${RANLIB}" \
27788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27789 installcheck) \
27790 || exit 1
27792 @endif texinfo
27794 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27795 maybe-mostlyclean-texinfo:
27796 @if texinfo
27797 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27799 mostlyclean-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 mostlyclean 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 mostlyclean) \
27815 || exit 1
27817 @endif texinfo
27819 .PHONY: maybe-clean-texinfo clean-texinfo
27820 maybe-clean-texinfo:
27821 @if texinfo
27822 maybe-clean-texinfo: clean-texinfo
27824 clean-texinfo:
27825 @: $(MAKE); $(unstage)
27826 @[ -f ./texinfo/Makefile ] || exit 0; \
27827 r=`${PWD_COMMAND}`; export r; \
27828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27829 $(HOST_EXPORTS) \
27830 for flag in $(EXTRA_HOST_FLAGS) ; do \
27831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27832 done; \
27833 echo "Doing clean in texinfo" ; \
27834 (cd $(HOST_SUBDIR)/texinfo && \
27835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27837 "RANLIB=$${RANLIB}" \
27838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27839 clean) \
27840 || exit 1
27842 @endif texinfo
27844 .PHONY: maybe-distclean-texinfo distclean-texinfo
27845 maybe-distclean-texinfo:
27846 @if texinfo
27847 maybe-distclean-texinfo: distclean-texinfo
27849 distclean-texinfo:
27850 @: $(MAKE); $(unstage)
27851 @[ -f ./texinfo/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(HOST_EXPORTS) \
27855 for flag in $(EXTRA_HOST_FLAGS) ; do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27857 done; \
27858 echo "Doing distclean in texinfo" ; \
27859 (cd $(HOST_SUBDIR)/texinfo && \
27860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27862 "RANLIB=$${RANLIB}" \
27863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27864 distclean) \
27865 || exit 1
27867 @endif texinfo
27869 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
27870 maybe-maintainer-clean-texinfo:
27871 @if texinfo
27872 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
27874 maintainer-clean-texinfo:
27875 @: $(MAKE); $(unstage)
27876 @[ -f ./texinfo/Makefile ] || exit 0; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(HOST_EXPORTS) \
27880 for flag in $(EXTRA_HOST_FLAGS) ; do \
27881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27882 done; \
27883 echo "Doing maintainer-clean in texinfo" ; \
27884 (cd $(HOST_SUBDIR)/texinfo && \
27885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27887 "RANLIB=$${RANLIB}" \
27888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27889 maintainer-clean) \
27890 || exit 1
27892 @endif texinfo
27896 .PHONY: configure-textutils maybe-configure-textutils
27897 maybe-configure-textutils:
27898 @if gcc-bootstrap
27899 configure-textutils: stage_current
27900 @endif gcc-bootstrap
27901 @if textutils
27902 maybe-configure-textutils: configure-textutils
27903 configure-textutils:
27904 @: $(MAKE); $(unstage)
27905 @r=`${PWD_COMMAND}`; export r; \
27906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27907 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
27908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
27909 $(HOST_EXPORTS) \
27910 echo Configuring in $(HOST_SUBDIR)/textutils; \
27911 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
27912 case $(srcdir) in \
27913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27914 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
27915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27916 esac; \
27917 srcdiroption="--srcdir=$${topdir}/textutils"; \
27918 libsrcdir="$$s/textutils"; \
27919 $(SHELL) $${libsrcdir}/configure \
27920 $(HOST_CONFIGARGS) $${srcdiroption} \
27921 || exit 1
27922 @endif textutils
27928 .PHONY: all-textutils maybe-all-textutils
27929 maybe-all-textutils:
27930 @if gcc-bootstrap
27931 all-textutils: stage_current
27932 @endif gcc-bootstrap
27933 @if textutils
27934 TARGET-textutils=all
27935 maybe-all-textutils: all-textutils
27936 all-textutils: configure-textutils
27937 @: $(MAKE); $(unstage)
27938 @r=`${PWD_COMMAND}`; export r; \
27939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27940 $(HOST_EXPORTS) \
27941 (cd $(HOST_SUBDIR)/textutils && \
27942 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
27943 @endif textutils
27948 .PHONY: check-textutils maybe-check-textutils
27949 maybe-check-textutils:
27950 @if textutils
27951 maybe-check-textutils: check-textutils
27953 check-textutils:
27954 @: $(MAKE); $(unstage)
27955 @r=`${PWD_COMMAND}`; export r; \
27956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 $(HOST_EXPORTS) \
27958 (cd $(HOST_SUBDIR)/textutils && \
27959 $(MAKE) $(FLAGS_TO_PASS) check)
27961 @endif textutils
27963 .PHONY: install-textutils maybe-install-textutils
27964 maybe-install-textutils:
27965 @if textutils
27966 maybe-install-textutils: install-textutils
27968 install-textutils: installdirs
27969 @: $(MAKE); $(unstage)
27970 @r=`${PWD_COMMAND}`; export r; \
27971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27972 $(HOST_EXPORTS) \
27973 (cd $(HOST_SUBDIR)/textutils && \
27974 $(MAKE) $(FLAGS_TO_PASS) install)
27976 @endif textutils
27978 # Other targets (info, dvi, pdf, etc.)
27980 .PHONY: maybe-info-textutils info-textutils
27981 maybe-info-textutils:
27982 @if textutils
27983 maybe-info-textutils: info-textutils
27985 info-textutils: \
27986 configure-textutils
27987 @: $(MAKE); $(unstage)
27988 @[ -f ./textutils/Makefile ] || exit 0; \
27989 r=`${PWD_COMMAND}`; export r; \
27990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27991 $(HOST_EXPORTS) \
27992 for flag in $(EXTRA_HOST_FLAGS) ; do \
27993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27994 done; \
27995 echo "Doing info in textutils" ; \
27996 (cd $(HOST_SUBDIR)/textutils && \
27997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27999 "RANLIB=$${RANLIB}" \
28000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28001 info) \
28002 || exit 1
28004 @endif textutils
28006 .PHONY: maybe-dvi-textutils dvi-textutils
28007 maybe-dvi-textutils:
28008 @if textutils
28009 maybe-dvi-textutils: dvi-textutils
28011 dvi-textutils: \
28012 configure-textutils
28013 @: $(MAKE); $(unstage)
28014 @[ -f ./textutils/Makefile ] || exit 0; \
28015 r=`${PWD_COMMAND}`; export r; \
28016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28017 $(HOST_EXPORTS) \
28018 for flag in $(EXTRA_HOST_FLAGS) ; do \
28019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28020 done; \
28021 echo "Doing dvi in textutils" ; \
28022 (cd $(HOST_SUBDIR)/textutils && \
28023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28025 "RANLIB=$${RANLIB}" \
28026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28027 dvi) \
28028 || exit 1
28030 @endif textutils
28032 .PHONY: maybe-pdf-textutils pdf-textutils
28033 maybe-pdf-textutils:
28034 @if textutils
28035 maybe-pdf-textutils: pdf-textutils
28037 pdf-textutils: \
28038 configure-textutils
28039 @: $(MAKE); $(unstage)
28040 @[ -f ./textutils/Makefile ] || exit 0; \
28041 r=`${PWD_COMMAND}`; export r; \
28042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28043 $(HOST_EXPORTS) \
28044 for flag in $(EXTRA_HOST_FLAGS) ; do \
28045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28046 done; \
28047 echo "Doing pdf in textutils" ; \
28048 (cd $(HOST_SUBDIR)/textutils && \
28049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28051 "RANLIB=$${RANLIB}" \
28052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28053 pdf) \
28054 || exit 1
28056 @endif textutils
28058 .PHONY: maybe-html-textutils html-textutils
28059 maybe-html-textutils:
28060 @if textutils
28061 maybe-html-textutils: html-textutils
28063 html-textutils: \
28064 configure-textutils
28065 @: $(MAKE); $(unstage)
28066 @[ -f ./textutils/Makefile ] || exit 0; \
28067 r=`${PWD_COMMAND}`; export r; \
28068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28069 $(HOST_EXPORTS) \
28070 for flag in $(EXTRA_HOST_FLAGS) ; do \
28071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28072 done; \
28073 echo "Doing html in textutils" ; \
28074 (cd $(HOST_SUBDIR)/textutils && \
28075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28077 "RANLIB=$${RANLIB}" \
28078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28079 html) \
28080 || exit 1
28082 @endif textutils
28084 .PHONY: maybe-TAGS-textutils TAGS-textutils
28085 maybe-TAGS-textutils:
28086 @if textutils
28087 maybe-TAGS-textutils: TAGS-textutils
28089 TAGS-textutils: \
28090 configure-textutils
28091 @: $(MAKE); $(unstage)
28092 @[ -f ./textutils/Makefile ] || exit 0; \
28093 r=`${PWD_COMMAND}`; export r; \
28094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28095 $(HOST_EXPORTS) \
28096 for flag in $(EXTRA_HOST_FLAGS) ; do \
28097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28098 done; \
28099 echo "Doing TAGS in textutils" ; \
28100 (cd $(HOST_SUBDIR)/textutils && \
28101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28103 "RANLIB=$${RANLIB}" \
28104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28105 TAGS) \
28106 || exit 1
28108 @endif textutils
28110 .PHONY: maybe-install-info-textutils install-info-textutils
28111 maybe-install-info-textutils:
28112 @if textutils
28113 maybe-install-info-textutils: install-info-textutils
28115 install-info-textutils: \
28116 configure-textutils \
28117 info-textutils
28118 @: $(MAKE); $(unstage)
28119 @[ -f ./textutils/Makefile ] || exit 0; \
28120 r=`${PWD_COMMAND}`; export r; \
28121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28122 $(HOST_EXPORTS) \
28123 for flag in $(EXTRA_HOST_FLAGS) ; do \
28124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28125 done; \
28126 echo "Doing install-info in textutils" ; \
28127 (cd $(HOST_SUBDIR)/textutils && \
28128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28130 "RANLIB=$${RANLIB}" \
28131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28132 install-info) \
28133 || exit 1
28135 @endif textutils
28137 .PHONY: maybe-install-html-textutils install-html-textutils
28138 maybe-install-html-textutils:
28139 @if textutils
28140 maybe-install-html-textutils: install-html-textutils
28142 install-html-textutils: \
28143 configure-textutils \
28144 html-textutils
28145 @: $(MAKE); $(unstage)
28146 @[ -f ./textutils/Makefile ] || exit 0; \
28147 r=`${PWD_COMMAND}`; export r; \
28148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28149 $(HOST_EXPORTS) \
28150 for flag in $(EXTRA_HOST_FLAGS) ; do \
28151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28152 done; \
28153 echo "Doing install-html in textutils" ; \
28154 (cd $(HOST_SUBDIR)/textutils && \
28155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28157 "RANLIB=$${RANLIB}" \
28158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28159 install-html) \
28160 || exit 1
28162 @endif textutils
28164 .PHONY: maybe-installcheck-textutils installcheck-textutils
28165 maybe-installcheck-textutils:
28166 @if textutils
28167 maybe-installcheck-textutils: installcheck-textutils
28169 installcheck-textutils: \
28170 configure-textutils
28171 @: $(MAKE); $(unstage)
28172 @[ -f ./textutils/Makefile ] || exit 0; \
28173 r=`${PWD_COMMAND}`; export r; \
28174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28175 $(HOST_EXPORTS) \
28176 for flag in $(EXTRA_HOST_FLAGS) ; do \
28177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28178 done; \
28179 echo "Doing installcheck in textutils" ; \
28180 (cd $(HOST_SUBDIR)/textutils && \
28181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28183 "RANLIB=$${RANLIB}" \
28184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28185 installcheck) \
28186 || exit 1
28188 @endif textutils
28190 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
28191 maybe-mostlyclean-textutils:
28192 @if textutils
28193 maybe-mostlyclean-textutils: mostlyclean-textutils
28195 mostlyclean-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 mostlyclean 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 mostlyclean) \
28211 || exit 1
28213 @endif textutils
28215 .PHONY: maybe-clean-textutils clean-textutils
28216 maybe-clean-textutils:
28217 @if textutils
28218 maybe-clean-textutils: clean-textutils
28220 clean-textutils:
28221 @: $(MAKE); $(unstage)
28222 @[ -f ./textutils/Makefile ] || exit 0; \
28223 r=`${PWD_COMMAND}`; export r; \
28224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28225 $(HOST_EXPORTS) \
28226 for flag in $(EXTRA_HOST_FLAGS) ; do \
28227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28228 done; \
28229 echo "Doing clean in textutils" ; \
28230 (cd $(HOST_SUBDIR)/textutils && \
28231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28233 "RANLIB=$${RANLIB}" \
28234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28235 clean) \
28236 || exit 1
28238 @endif textutils
28240 .PHONY: maybe-distclean-textutils distclean-textutils
28241 maybe-distclean-textutils:
28242 @if textutils
28243 maybe-distclean-textutils: distclean-textutils
28245 distclean-textutils:
28246 @: $(MAKE); $(unstage)
28247 @[ -f ./textutils/Makefile ] || exit 0; \
28248 r=`${PWD_COMMAND}`; export r; \
28249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28250 $(HOST_EXPORTS) \
28251 for flag in $(EXTRA_HOST_FLAGS) ; do \
28252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28253 done; \
28254 echo "Doing distclean in textutils" ; \
28255 (cd $(HOST_SUBDIR)/textutils && \
28256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28258 "RANLIB=$${RANLIB}" \
28259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28260 distclean) \
28261 || exit 1
28263 @endif textutils
28265 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
28266 maybe-maintainer-clean-textutils:
28267 @if textutils
28268 maybe-maintainer-clean-textutils: maintainer-clean-textutils
28270 maintainer-clean-textutils:
28271 @: $(MAKE); $(unstage)
28272 @[ -f ./textutils/Makefile ] || exit 0; \
28273 r=`${PWD_COMMAND}`; export r; \
28274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28275 $(HOST_EXPORTS) \
28276 for flag in $(EXTRA_HOST_FLAGS) ; do \
28277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28278 done; \
28279 echo "Doing maintainer-clean in textutils" ; \
28280 (cd $(HOST_SUBDIR)/textutils && \
28281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28283 "RANLIB=$${RANLIB}" \
28284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28285 maintainer-clean) \
28286 || exit 1
28288 @endif textutils
28292 .PHONY: configure-time maybe-configure-time
28293 maybe-configure-time:
28294 @if gcc-bootstrap
28295 configure-time: stage_current
28296 @endif gcc-bootstrap
28297 @if time
28298 maybe-configure-time: configure-time
28299 configure-time:
28300 @: $(MAKE); $(unstage)
28301 @r=`${PWD_COMMAND}`; export r; \
28302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28303 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
28304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
28305 $(HOST_EXPORTS) \
28306 echo Configuring in $(HOST_SUBDIR)/time; \
28307 cd "$(HOST_SUBDIR)/time" || exit 1; \
28308 case $(srcdir) in \
28309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28310 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
28311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28312 esac; \
28313 srcdiroption="--srcdir=$${topdir}/time"; \
28314 libsrcdir="$$s/time"; \
28315 $(SHELL) $${libsrcdir}/configure \
28316 $(HOST_CONFIGARGS) $${srcdiroption} \
28317 || exit 1
28318 @endif time
28324 .PHONY: all-time maybe-all-time
28325 maybe-all-time:
28326 @if gcc-bootstrap
28327 all-time: stage_current
28328 @endif gcc-bootstrap
28329 @if time
28330 TARGET-time=all
28331 maybe-all-time: all-time
28332 all-time: configure-time
28333 @: $(MAKE); $(unstage)
28334 @r=`${PWD_COMMAND}`; export r; \
28335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28336 $(HOST_EXPORTS) \
28337 (cd $(HOST_SUBDIR)/time && \
28338 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
28339 @endif time
28344 .PHONY: check-time maybe-check-time
28345 maybe-check-time:
28346 @if time
28347 maybe-check-time: check-time
28349 check-time:
28350 @: $(MAKE); $(unstage)
28351 @r=`${PWD_COMMAND}`; export r; \
28352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28353 $(HOST_EXPORTS) \
28354 (cd $(HOST_SUBDIR)/time && \
28355 $(MAKE) $(FLAGS_TO_PASS) check)
28357 @endif time
28359 .PHONY: install-time maybe-install-time
28360 maybe-install-time:
28361 @if time
28362 maybe-install-time: install-time
28364 install-time: installdirs
28365 @: $(MAKE); $(unstage)
28366 @r=`${PWD_COMMAND}`; export r; \
28367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28368 $(HOST_EXPORTS) \
28369 (cd $(HOST_SUBDIR)/time && \
28370 $(MAKE) $(FLAGS_TO_PASS) install)
28372 @endif time
28374 # Other targets (info, dvi, pdf, etc.)
28376 .PHONY: maybe-info-time info-time
28377 maybe-info-time:
28378 @if time
28379 maybe-info-time: info-time
28381 info-time: \
28382 configure-time
28383 @: $(MAKE); $(unstage)
28384 @[ -f ./time/Makefile ] || exit 0; \
28385 r=`${PWD_COMMAND}`; export r; \
28386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28387 $(HOST_EXPORTS) \
28388 for flag in $(EXTRA_HOST_FLAGS) ; do \
28389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28390 done; \
28391 echo "Doing info in time" ; \
28392 (cd $(HOST_SUBDIR)/time && \
28393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28395 "RANLIB=$${RANLIB}" \
28396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28397 info) \
28398 || exit 1
28400 @endif time
28402 .PHONY: maybe-dvi-time dvi-time
28403 maybe-dvi-time:
28404 @if time
28405 maybe-dvi-time: dvi-time
28407 dvi-time: \
28408 configure-time
28409 @: $(MAKE); $(unstage)
28410 @[ -f ./time/Makefile ] || exit 0; \
28411 r=`${PWD_COMMAND}`; export r; \
28412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28413 $(HOST_EXPORTS) \
28414 for flag in $(EXTRA_HOST_FLAGS) ; do \
28415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28416 done; \
28417 echo "Doing dvi in time" ; \
28418 (cd $(HOST_SUBDIR)/time && \
28419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28421 "RANLIB=$${RANLIB}" \
28422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28423 dvi) \
28424 || exit 1
28426 @endif time
28428 .PHONY: maybe-pdf-time pdf-time
28429 maybe-pdf-time:
28430 @if time
28431 maybe-pdf-time: pdf-time
28433 pdf-time: \
28434 configure-time
28435 @: $(MAKE); $(unstage)
28436 @[ -f ./time/Makefile ] || exit 0; \
28437 r=`${PWD_COMMAND}`; export r; \
28438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28439 $(HOST_EXPORTS) \
28440 for flag in $(EXTRA_HOST_FLAGS) ; do \
28441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28442 done; \
28443 echo "Doing pdf in time" ; \
28444 (cd $(HOST_SUBDIR)/time && \
28445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28447 "RANLIB=$${RANLIB}" \
28448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28449 pdf) \
28450 || exit 1
28452 @endif time
28454 .PHONY: maybe-html-time html-time
28455 maybe-html-time:
28456 @if time
28457 maybe-html-time: html-time
28459 html-time: \
28460 configure-time
28461 @: $(MAKE); $(unstage)
28462 @[ -f ./time/Makefile ] || exit 0; \
28463 r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(HOST_EXPORTS) \
28466 for flag in $(EXTRA_HOST_FLAGS) ; do \
28467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28468 done; \
28469 echo "Doing html in time" ; \
28470 (cd $(HOST_SUBDIR)/time && \
28471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28473 "RANLIB=$${RANLIB}" \
28474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28475 html) \
28476 || exit 1
28478 @endif time
28480 .PHONY: maybe-TAGS-time TAGS-time
28481 maybe-TAGS-time:
28482 @if time
28483 maybe-TAGS-time: TAGS-time
28485 TAGS-time: \
28486 configure-time
28487 @: $(MAKE); $(unstage)
28488 @[ -f ./time/Makefile ] || exit 0; \
28489 r=`${PWD_COMMAND}`; export r; \
28490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28491 $(HOST_EXPORTS) \
28492 for flag in $(EXTRA_HOST_FLAGS) ; do \
28493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28494 done; \
28495 echo "Doing TAGS in time" ; \
28496 (cd $(HOST_SUBDIR)/time && \
28497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28499 "RANLIB=$${RANLIB}" \
28500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28501 TAGS) \
28502 || exit 1
28504 @endif time
28506 .PHONY: maybe-install-info-time install-info-time
28507 maybe-install-info-time:
28508 @if time
28509 maybe-install-info-time: install-info-time
28511 install-info-time: \
28512 configure-time \
28513 info-time
28514 @: $(MAKE); $(unstage)
28515 @[ -f ./time/Makefile ] || exit 0; \
28516 r=`${PWD_COMMAND}`; export r; \
28517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28518 $(HOST_EXPORTS) \
28519 for flag in $(EXTRA_HOST_FLAGS) ; do \
28520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28521 done; \
28522 echo "Doing install-info in time" ; \
28523 (cd $(HOST_SUBDIR)/time && \
28524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28526 "RANLIB=$${RANLIB}" \
28527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28528 install-info) \
28529 || exit 1
28531 @endif time
28533 .PHONY: maybe-install-html-time install-html-time
28534 maybe-install-html-time:
28535 @if time
28536 maybe-install-html-time: install-html-time
28538 install-html-time: \
28539 configure-time \
28540 html-time
28541 @: $(MAKE); $(unstage)
28542 @[ -f ./time/Makefile ] || exit 0; \
28543 r=`${PWD_COMMAND}`; export r; \
28544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28545 $(HOST_EXPORTS) \
28546 for flag in $(EXTRA_HOST_FLAGS) ; do \
28547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28548 done; \
28549 echo "Doing install-html in time" ; \
28550 (cd $(HOST_SUBDIR)/time && \
28551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28553 "RANLIB=$${RANLIB}" \
28554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28555 install-html) \
28556 || exit 1
28558 @endif time
28560 .PHONY: maybe-installcheck-time installcheck-time
28561 maybe-installcheck-time:
28562 @if time
28563 maybe-installcheck-time: installcheck-time
28565 installcheck-time: \
28566 configure-time
28567 @: $(MAKE); $(unstage)
28568 @[ -f ./time/Makefile ] || exit 0; \
28569 r=`${PWD_COMMAND}`; export r; \
28570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28571 $(HOST_EXPORTS) \
28572 for flag in $(EXTRA_HOST_FLAGS) ; do \
28573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28574 done; \
28575 echo "Doing installcheck in time" ; \
28576 (cd $(HOST_SUBDIR)/time && \
28577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28579 "RANLIB=$${RANLIB}" \
28580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28581 installcheck) \
28582 || exit 1
28584 @endif time
28586 .PHONY: maybe-mostlyclean-time mostlyclean-time
28587 maybe-mostlyclean-time:
28588 @if time
28589 maybe-mostlyclean-time: mostlyclean-time
28591 mostlyclean-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 mostlyclean 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 mostlyclean) \
28607 || exit 1
28609 @endif time
28611 .PHONY: maybe-clean-time clean-time
28612 maybe-clean-time:
28613 @if time
28614 maybe-clean-time: clean-time
28616 clean-time:
28617 @: $(MAKE); $(unstage)
28618 @[ -f ./time/Makefile ] || exit 0; \
28619 r=`${PWD_COMMAND}`; export r; \
28620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28621 $(HOST_EXPORTS) \
28622 for flag in $(EXTRA_HOST_FLAGS) ; do \
28623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28624 done; \
28625 echo "Doing clean in time" ; \
28626 (cd $(HOST_SUBDIR)/time && \
28627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28629 "RANLIB=$${RANLIB}" \
28630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28631 clean) \
28632 || exit 1
28634 @endif time
28636 .PHONY: maybe-distclean-time distclean-time
28637 maybe-distclean-time:
28638 @if time
28639 maybe-distclean-time: distclean-time
28641 distclean-time:
28642 @: $(MAKE); $(unstage)
28643 @[ -f ./time/Makefile ] || exit 0; \
28644 r=`${PWD_COMMAND}`; export r; \
28645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28646 $(HOST_EXPORTS) \
28647 for flag in $(EXTRA_HOST_FLAGS) ; do \
28648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28649 done; \
28650 echo "Doing distclean in time" ; \
28651 (cd $(HOST_SUBDIR)/time && \
28652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28654 "RANLIB=$${RANLIB}" \
28655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28656 distclean) \
28657 || exit 1
28659 @endif time
28661 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
28662 maybe-maintainer-clean-time:
28663 @if time
28664 maybe-maintainer-clean-time: maintainer-clean-time
28666 maintainer-clean-time:
28667 @: $(MAKE); $(unstage)
28668 @[ -f ./time/Makefile ] || exit 0; \
28669 r=`${PWD_COMMAND}`; export r; \
28670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28671 $(HOST_EXPORTS) \
28672 for flag in $(EXTRA_HOST_FLAGS) ; do \
28673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28674 done; \
28675 echo "Doing maintainer-clean in time" ; \
28676 (cd $(HOST_SUBDIR)/time && \
28677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28679 "RANLIB=$${RANLIB}" \
28680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28681 maintainer-clean) \
28682 || exit 1
28684 @endif time
28688 .PHONY: configure-uudecode maybe-configure-uudecode
28689 maybe-configure-uudecode:
28690 @if gcc-bootstrap
28691 configure-uudecode: stage_current
28692 @endif gcc-bootstrap
28693 @if uudecode
28694 maybe-configure-uudecode: configure-uudecode
28695 configure-uudecode:
28696 @: $(MAKE); $(unstage)
28697 @r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
28700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
28701 $(HOST_EXPORTS) \
28702 echo Configuring in $(HOST_SUBDIR)/uudecode; \
28703 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
28704 case $(srcdir) in \
28705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28706 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
28707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28708 esac; \
28709 srcdiroption="--srcdir=$${topdir}/uudecode"; \
28710 libsrcdir="$$s/uudecode"; \
28711 $(SHELL) $${libsrcdir}/configure \
28712 $(HOST_CONFIGARGS) $${srcdiroption} \
28713 || exit 1
28714 @endif uudecode
28720 .PHONY: all-uudecode maybe-all-uudecode
28721 maybe-all-uudecode:
28722 @if gcc-bootstrap
28723 all-uudecode: stage_current
28724 @endif gcc-bootstrap
28725 @if uudecode
28726 TARGET-uudecode=all
28727 maybe-all-uudecode: all-uudecode
28728 all-uudecode: configure-uudecode
28729 @: $(MAKE); $(unstage)
28730 @r=`${PWD_COMMAND}`; export r; \
28731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28732 $(HOST_EXPORTS) \
28733 (cd $(HOST_SUBDIR)/uudecode && \
28734 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
28735 @endif uudecode
28740 .PHONY: check-uudecode maybe-check-uudecode
28741 maybe-check-uudecode:
28742 @if uudecode
28743 maybe-check-uudecode: check-uudecode
28745 check-uudecode:
28746 @: $(MAKE); $(unstage)
28747 @r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(HOST_EXPORTS) \
28750 (cd $(HOST_SUBDIR)/uudecode && \
28751 $(MAKE) $(FLAGS_TO_PASS) check)
28753 @endif uudecode
28755 .PHONY: install-uudecode maybe-install-uudecode
28756 maybe-install-uudecode:
28757 @if uudecode
28758 maybe-install-uudecode: install-uudecode
28760 install-uudecode: installdirs
28761 @: $(MAKE); $(unstage)
28762 @r=`${PWD_COMMAND}`; export r; \
28763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28764 $(HOST_EXPORTS) \
28765 (cd $(HOST_SUBDIR)/uudecode && \
28766 $(MAKE) $(FLAGS_TO_PASS) install)
28768 @endif uudecode
28770 # Other targets (info, dvi, pdf, etc.)
28772 .PHONY: maybe-info-uudecode info-uudecode
28773 maybe-info-uudecode:
28774 @if uudecode
28775 maybe-info-uudecode: info-uudecode
28777 info-uudecode: \
28778 configure-uudecode
28779 @: $(MAKE); $(unstage)
28780 @[ -f ./uudecode/Makefile ] || exit 0; \
28781 r=`${PWD_COMMAND}`; export r; \
28782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28783 $(HOST_EXPORTS) \
28784 for flag in $(EXTRA_HOST_FLAGS) ; do \
28785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28786 done; \
28787 echo "Doing info in uudecode" ; \
28788 (cd $(HOST_SUBDIR)/uudecode && \
28789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28791 "RANLIB=$${RANLIB}" \
28792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28793 info) \
28794 || exit 1
28796 @endif uudecode
28798 .PHONY: maybe-dvi-uudecode dvi-uudecode
28799 maybe-dvi-uudecode:
28800 @if uudecode
28801 maybe-dvi-uudecode: dvi-uudecode
28803 dvi-uudecode: \
28804 configure-uudecode
28805 @: $(MAKE); $(unstage)
28806 @[ -f ./uudecode/Makefile ] || exit 0; \
28807 r=`${PWD_COMMAND}`; export r; \
28808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28809 $(HOST_EXPORTS) \
28810 for flag in $(EXTRA_HOST_FLAGS) ; do \
28811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28812 done; \
28813 echo "Doing dvi in uudecode" ; \
28814 (cd $(HOST_SUBDIR)/uudecode && \
28815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28817 "RANLIB=$${RANLIB}" \
28818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28819 dvi) \
28820 || exit 1
28822 @endif uudecode
28824 .PHONY: maybe-pdf-uudecode pdf-uudecode
28825 maybe-pdf-uudecode:
28826 @if uudecode
28827 maybe-pdf-uudecode: pdf-uudecode
28829 pdf-uudecode: \
28830 configure-uudecode
28831 @: $(MAKE); $(unstage)
28832 @[ -f ./uudecode/Makefile ] || exit 0; \
28833 r=`${PWD_COMMAND}`; export r; \
28834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28835 $(HOST_EXPORTS) \
28836 for flag in $(EXTRA_HOST_FLAGS) ; do \
28837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28838 done; \
28839 echo "Doing pdf in uudecode" ; \
28840 (cd $(HOST_SUBDIR)/uudecode && \
28841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28843 "RANLIB=$${RANLIB}" \
28844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28845 pdf) \
28846 || exit 1
28848 @endif uudecode
28850 .PHONY: maybe-html-uudecode html-uudecode
28851 maybe-html-uudecode:
28852 @if uudecode
28853 maybe-html-uudecode: html-uudecode
28855 html-uudecode: \
28856 configure-uudecode
28857 @: $(MAKE); $(unstage)
28858 @[ -f ./uudecode/Makefile ] || exit 0; \
28859 r=`${PWD_COMMAND}`; export r; \
28860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28861 $(HOST_EXPORTS) \
28862 for flag in $(EXTRA_HOST_FLAGS) ; do \
28863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28864 done; \
28865 echo "Doing html in uudecode" ; \
28866 (cd $(HOST_SUBDIR)/uudecode && \
28867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28869 "RANLIB=$${RANLIB}" \
28870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28871 html) \
28872 || exit 1
28874 @endif uudecode
28876 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
28877 maybe-TAGS-uudecode:
28878 @if uudecode
28879 maybe-TAGS-uudecode: TAGS-uudecode
28881 TAGS-uudecode: \
28882 configure-uudecode
28883 @: $(MAKE); $(unstage)
28884 @[ -f ./uudecode/Makefile ] || exit 0; \
28885 r=`${PWD_COMMAND}`; export r; \
28886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28887 $(HOST_EXPORTS) \
28888 for flag in $(EXTRA_HOST_FLAGS) ; do \
28889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28890 done; \
28891 echo "Doing TAGS in uudecode" ; \
28892 (cd $(HOST_SUBDIR)/uudecode && \
28893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28895 "RANLIB=$${RANLIB}" \
28896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28897 TAGS) \
28898 || exit 1
28900 @endif uudecode
28902 .PHONY: maybe-install-info-uudecode install-info-uudecode
28903 maybe-install-info-uudecode:
28904 @if uudecode
28905 maybe-install-info-uudecode: install-info-uudecode
28907 install-info-uudecode: \
28908 configure-uudecode \
28909 info-uudecode
28910 @: $(MAKE); $(unstage)
28911 @[ -f ./uudecode/Makefile ] || exit 0; \
28912 r=`${PWD_COMMAND}`; export r; \
28913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28914 $(HOST_EXPORTS) \
28915 for flag in $(EXTRA_HOST_FLAGS) ; do \
28916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28917 done; \
28918 echo "Doing install-info in uudecode" ; \
28919 (cd $(HOST_SUBDIR)/uudecode && \
28920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28922 "RANLIB=$${RANLIB}" \
28923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28924 install-info) \
28925 || exit 1
28927 @endif uudecode
28929 .PHONY: maybe-install-html-uudecode install-html-uudecode
28930 maybe-install-html-uudecode:
28931 @if uudecode
28932 maybe-install-html-uudecode: install-html-uudecode
28934 install-html-uudecode: \
28935 configure-uudecode \
28936 html-uudecode
28937 @: $(MAKE); $(unstage)
28938 @[ -f ./uudecode/Makefile ] || exit 0; \
28939 r=`${PWD_COMMAND}`; export r; \
28940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28941 $(HOST_EXPORTS) \
28942 for flag in $(EXTRA_HOST_FLAGS) ; do \
28943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28944 done; \
28945 echo "Doing install-html in uudecode" ; \
28946 (cd $(HOST_SUBDIR)/uudecode && \
28947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28949 "RANLIB=$${RANLIB}" \
28950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28951 install-html) \
28952 || exit 1
28954 @endif uudecode
28956 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
28957 maybe-installcheck-uudecode:
28958 @if uudecode
28959 maybe-installcheck-uudecode: installcheck-uudecode
28961 installcheck-uudecode: \
28962 configure-uudecode
28963 @: $(MAKE); $(unstage)
28964 @[ -f ./uudecode/Makefile ] || exit 0; \
28965 r=`${PWD_COMMAND}`; export r; \
28966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28967 $(HOST_EXPORTS) \
28968 for flag in $(EXTRA_HOST_FLAGS) ; do \
28969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28970 done; \
28971 echo "Doing installcheck in uudecode" ; \
28972 (cd $(HOST_SUBDIR)/uudecode && \
28973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28975 "RANLIB=$${RANLIB}" \
28976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28977 installcheck) \
28978 || exit 1
28980 @endif uudecode
28982 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
28983 maybe-mostlyclean-uudecode:
28984 @if uudecode
28985 maybe-mostlyclean-uudecode: mostlyclean-uudecode
28987 mostlyclean-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 mostlyclean 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 mostlyclean) \
29003 || exit 1
29005 @endif uudecode
29007 .PHONY: maybe-clean-uudecode clean-uudecode
29008 maybe-clean-uudecode:
29009 @if uudecode
29010 maybe-clean-uudecode: clean-uudecode
29012 clean-uudecode:
29013 @: $(MAKE); $(unstage)
29014 @[ -f ./uudecode/Makefile ] || exit 0; \
29015 r=`${PWD_COMMAND}`; export r; \
29016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29017 $(HOST_EXPORTS) \
29018 for flag in $(EXTRA_HOST_FLAGS) ; do \
29019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29020 done; \
29021 echo "Doing clean in uudecode" ; \
29022 (cd $(HOST_SUBDIR)/uudecode && \
29023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29025 "RANLIB=$${RANLIB}" \
29026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29027 clean) \
29028 || exit 1
29030 @endif uudecode
29032 .PHONY: maybe-distclean-uudecode distclean-uudecode
29033 maybe-distclean-uudecode:
29034 @if uudecode
29035 maybe-distclean-uudecode: distclean-uudecode
29037 distclean-uudecode:
29038 @: $(MAKE); $(unstage)
29039 @[ -f ./uudecode/Makefile ] || exit 0; \
29040 r=`${PWD_COMMAND}`; export r; \
29041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29042 $(HOST_EXPORTS) \
29043 for flag in $(EXTRA_HOST_FLAGS) ; do \
29044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29045 done; \
29046 echo "Doing distclean in uudecode" ; \
29047 (cd $(HOST_SUBDIR)/uudecode && \
29048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29050 "RANLIB=$${RANLIB}" \
29051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29052 distclean) \
29053 || exit 1
29055 @endif uudecode
29057 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
29058 maybe-maintainer-clean-uudecode:
29059 @if uudecode
29060 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
29062 maintainer-clean-uudecode:
29063 @: $(MAKE); $(unstage)
29064 @[ -f ./uudecode/Makefile ] || exit 0; \
29065 r=`${PWD_COMMAND}`; export r; \
29066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29067 $(HOST_EXPORTS) \
29068 for flag in $(EXTRA_HOST_FLAGS) ; do \
29069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29070 done; \
29071 echo "Doing maintainer-clean in uudecode" ; \
29072 (cd $(HOST_SUBDIR)/uudecode && \
29073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29075 "RANLIB=$${RANLIB}" \
29076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29077 maintainer-clean) \
29078 || exit 1
29080 @endif uudecode
29084 .PHONY: configure-wdiff maybe-configure-wdiff
29085 maybe-configure-wdiff:
29086 @if gcc-bootstrap
29087 configure-wdiff: stage_current
29088 @endif gcc-bootstrap
29089 @if wdiff
29090 maybe-configure-wdiff: configure-wdiff
29091 configure-wdiff:
29092 @: $(MAKE); $(unstage)
29093 @r=`${PWD_COMMAND}`; export r; \
29094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29095 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
29096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
29097 $(HOST_EXPORTS) \
29098 echo Configuring in $(HOST_SUBDIR)/wdiff; \
29099 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
29100 case $(srcdir) in \
29101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29102 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
29103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29104 esac; \
29105 srcdiroption="--srcdir=$${topdir}/wdiff"; \
29106 libsrcdir="$$s/wdiff"; \
29107 $(SHELL) $${libsrcdir}/configure \
29108 $(HOST_CONFIGARGS) $${srcdiroption} \
29109 || exit 1
29110 @endif wdiff
29116 .PHONY: all-wdiff maybe-all-wdiff
29117 maybe-all-wdiff:
29118 @if gcc-bootstrap
29119 all-wdiff: stage_current
29120 @endif gcc-bootstrap
29121 @if wdiff
29122 TARGET-wdiff=all
29123 maybe-all-wdiff: all-wdiff
29124 all-wdiff: configure-wdiff
29125 @: $(MAKE); $(unstage)
29126 @r=`${PWD_COMMAND}`; export r; \
29127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29128 $(HOST_EXPORTS) \
29129 (cd $(HOST_SUBDIR)/wdiff && \
29130 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
29131 @endif wdiff
29136 .PHONY: check-wdiff maybe-check-wdiff
29137 maybe-check-wdiff:
29138 @if wdiff
29139 maybe-check-wdiff: check-wdiff
29141 check-wdiff:
29142 @: $(MAKE); $(unstage)
29143 @r=`${PWD_COMMAND}`; export r; \
29144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29145 $(HOST_EXPORTS) \
29146 (cd $(HOST_SUBDIR)/wdiff && \
29147 $(MAKE) $(FLAGS_TO_PASS) check)
29149 @endif wdiff
29151 .PHONY: install-wdiff maybe-install-wdiff
29152 maybe-install-wdiff:
29153 @if wdiff
29154 maybe-install-wdiff: install-wdiff
29156 install-wdiff: installdirs
29157 @: $(MAKE); $(unstage)
29158 @r=`${PWD_COMMAND}`; export r; \
29159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29160 $(HOST_EXPORTS) \
29161 (cd $(HOST_SUBDIR)/wdiff && \
29162 $(MAKE) $(FLAGS_TO_PASS) install)
29164 @endif wdiff
29166 # Other targets (info, dvi, pdf, etc.)
29168 .PHONY: maybe-info-wdiff info-wdiff
29169 maybe-info-wdiff:
29170 @if wdiff
29171 maybe-info-wdiff: info-wdiff
29173 info-wdiff: \
29174 configure-wdiff
29175 @: $(MAKE); $(unstage)
29176 @[ -f ./wdiff/Makefile ] || exit 0; \
29177 r=`${PWD_COMMAND}`; export r; \
29178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29179 $(HOST_EXPORTS) \
29180 for flag in $(EXTRA_HOST_FLAGS) ; do \
29181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29182 done; \
29183 echo "Doing info in wdiff" ; \
29184 (cd $(HOST_SUBDIR)/wdiff && \
29185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29187 "RANLIB=$${RANLIB}" \
29188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29189 info) \
29190 || exit 1
29192 @endif wdiff
29194 .PHONY: maybe-dvi-wdiff dvi-wdiff
29195 maybe-dvi-wdiff:
29196 @if wdiff
29197 maybe-dvi-wdiff: dvi-wdiff
29199 dvi-wdiff: \
29200 configure-wdiff
29201 @: $(MAKE); $(unstage)
29202 @[ -f ./wdiff/Makefile ] || exit 0; \
29203 r=`${PWD_COMMAND}`; export r; \
29204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29205 $(HOST_EXPORTS) \
29206 for flag in $(EXTRA_HOST_FLAGS) ; do \
29207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29208 done; \
29209 echo "Doing dvi in wdiff" ; \
29210 (cd $(HOST_SUBDIR)/wdiff && \
29211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29213 "RANLIB=$${RANLIB}" \
29214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29215 dvi) \
29216 || exit 1
29218 @endif wdiff
29220 .PHONY: maybe-pdf-wdiff pdf-wdiff
29221 maybe-pdf-wdiff:
29222 @if wdiff
29223 maybe-pdf-wdiff: pdf-wdiff
29225 pdf-wdiff: \
29226 configure-wdiff
29227 @: $(MAKE); $(unstage)
29228 @[ -f ./wdiff/Makefile ] || exit 0; \
29229 r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 $(HOST_EXPORTS) \
29232 for flag in $(EXTRA_HOST_FLAGS) ; do \
29233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29234 done; \
29235 echo "Doing pdf in wdiff" ; \
29236 (cd $(HOST_SUBDIR)/wdiff && \
29237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29239 "RANLIB=$${RANLIB}" \
29240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29241 pdf) \
29242 || exit 1
29244 @endif wdiff
29246 .PHONY: maybe-html-wdiff html-wdiff
29247 maybe-html-wdiff:
29248 @if wdiff
29249 maybe-html-wdiff: html-wdiff
29251 html-wdiff: \
29252 configure-wdiff
29253 @: $(MAKE); $(unstage)
29254 @[ -f ./wdiff/Makefile ] || exit 0; \
29255 r=`${PWD_COMMAND}`; export r; \
29256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29257 $(HOST_EXPORTS) \
29258 for flag in $(EXTRA_HOST_FLAGS) ; do \
29259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29260 done; \
29261 echo "Doing html in wdiff" ; \
29262 (cd $(HOST_SUBDIR)/wdiff && \
29263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29265 "RANLIB=$${RANLIB}" \
29266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29267 html) \
29268 || exit 1
29270 @endif wdiff
29272 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
29273 maybe-TAGS-wdiff:
29274 @if wdiff
29275 maybe-TAGS-wdiff: TAGS-wdiff
29277 TAGS-wdiff: \
29278 configure-wdiff
29279 @: $(MAKE); $(unstage)
29280 @[ -f ./wdiff/Makefile ] || exit 0; \
29281 r=`${PWD_COMMAND}`; export r; \
29282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29283 $(HOST_EXPORTS) \
29284 for flag in $(EXTRA_HOST_FLAGS) ; do \
29285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29286 done; \
29287 echo "Doing TAGS in wdiff" ; \
29288 (cd $(HOST_SUBDIR)/wdiff && \
29289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29291 "RANLIB=$${RANLIB}" \
29292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29293 TAGS) \
29294 || exit 1
29296 @endif wdiff
29298 .PHONY: maybe-install-info-wdiff install-info-wdiff
29299 maybe-install-info-wdiff:
29300 @if wdiff
29301 maybe-install-info-wdiff: install-info-wdiff
29303 install-info-wdiff: \
29304 configure-wdiff \
29305 info-wdiff
29306 @: $(MAKE); $(unstage)
29307 @[ -f ./wdiff/Makefile ] || exit 0; \
29308 r=`${PWD_COMMAND}`; export r; \
29309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29310 $(HOST_EXPORTS) \
29311 for flag in $(EXTRA_HOST_FLAGS) ; do \
29312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29313 done; \
29314 echo "Doing install-info in wdiff" ; \
29315 (cd $(HOST_SUBDIR)/wdiff && \
29316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29318 "RANLIB=$${RANLIB}" \
29319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29320 install-info) \
29321 || exit 1
29323 @endif wdiff
29325 .PHONY: maybe-install-html-wdiff install-html-wdiff
29326 maybe-install-html-wdiff:
29327 @if wdiff
29328 maybe-install-html-wdiff: install-html-wdiff
29330 install-html-wdiff: \
29331 configure-wdiff \
29332 html-wdiff
29333 @: $(MAKE); $(unstage)
29334 @[ -f ./wdiff/Makefile ] || exit 0; \
29335 r=`${PWD_COMMAND}`; export r; \
29336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29337 $(HOST_EXPORTS) \
29338 for flag in $(EXTRA_HOST_FLAGS) ; do \
29339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29340 done; \
29341 echo "Doing install-html in wdiff" ; \
29342 (cd $(HOST_SUBDIR)/wdiff && \
29343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29345 "RANLIB=$${RANLIB}" \
29346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29347 install-html) \
29348 || exit 1
29350 @endif wdiff
29352 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
29353 maybe-installcheck-wdiff:
29354 @if wdiff
29355 maybe-installcheck-wdiff: installcheck-wdiff
29357 installcheck-wdiff: \
29358 configure-wdiff
29359 @: $(MAKE); $(unstage)
29360 @[ -f ./wdiff/Makefile ] || exit 0; \
29361 r=`${PWD_COMMAND}`; export r; \
29362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29363 $(HOST_EXPORTS) \
29364 for flag in $(EXTRA_HOST_FLAGS) ; do \
29365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29366 done; \
29367 echo "Doing installcheck in wdiff" ; \
29368 (cd $(HOST_SUBDIR)/wdiff && \
29369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29371 "RANLIB=$${RANLIB}" \
29372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29373 installcheck) \
29374 || exit 1
29376 @endif wdiff
29378 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
29379 maybe-mostlyclean-wdiff:
29380 @if wdiff
29381 maybe-mostlyclean-wdiff: mostlyclean-wdiff
29383 mostlyclean-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 mostlyclean 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 mostlyclean) \
29399 || exit 1
29401 @endif wdiff
29403 .PHONY: maybe-clean-wdiff clean-wdiff
29404 maybe-clean-wdiff:
29405 @if wdiff
29406 maybe-clean-wdiff: clean-wdiff
29408 clean-wdiff:
29409 @: $(MAKE); $(unstage)
29410 @[ -f ./wdiff/Makefile ] || exit 0; \
29411 r=`${PWD_COMMAND}`; export r; \
29412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29413 $(HOST_EXPORTS) \
29414 for flag in $(EXTRA_HOST_FLAGS) ; do \
29415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29416 done; \
29417 echo "Doing clean in wdiff" ; \
29418 (cd $(HOST_SUBDIR)/wdiff && \
29419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29421 "RANLIB=$${RANLIB}" \
29422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29423 clean) \
29424 || exit 1
29426 @endif wdiff
29428 .PHONY: maybe-distclean-wdiff distclean-wdiff
29429 maybe-distclean-wdiff:
29430 @if wdiff
29431 maybe-distclean-wdiff: distclean-wdiff
29433 distclean-wdiff:
29434 @: $(MAKE); $(unstage)
29435 @[ -f ./wdiff/Makefile ] || exit 0; \
29436 r=`${PWD_COMMAND}`; export r; \
29437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29438 $(HOST_EXPORTS) \
29439 for flag in $(EXTRA_HOST_FLAGS) ; do \
29440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29441 done; \
29442 echo "Doing distclean in wdiff" ; \
29443 (cd $(HOST_SUBDIR)/wdiff && \
29444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29446 "RANLIB=$${RANLIB}" \
29447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29448 distclean) \
29449 || exit 1
29451 @endif wdiff
29453 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
29454 maybe-maintainer-clean-wdiff:
29455 @if wdiff
29456 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
29458 maintainer-clean-wdiff:
29459 @: $(MAKE); $(unstage)
29460 @[ -f ./wdiff/Makefile ] || exit 0; \
29461 r=`${PWD_COMMAND}`; export r; \
29462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29463 $(HOST_EXPORTS) \
29464 for flag in $(EXTRA_HOST_FLAGS) ; do \
29465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29466 done; \
29467 echo "Doing maintainer-clean in wdiff" ; \
29468 (cd $(HOST_SUBDIR)/wdiff && \
29469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29471 "RANLIB=$${RANLIB}" \
29472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29473 maintainer-clean) \
29474 || exit 1
29476 @endif wdiff
29480 .PHONY: configure-zip maybe-configure-zip
29481 maybe-configure-zip:
29482 @if gcc-bootstrap
29483 configure-zip: stage_current
29484 @endif gcc-bootstrap
29485 @if zip
29486 maybe-configure-zip: configure-zip
29487 configure-zip:
29488 @: $(MAKE); $(unstage)
29489 @r=`${PWD_COMMAND}`; export r; \
29490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29491 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
29492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
29493 $(HOST_EXPORTS) \
29494 echo Configuring in $(HOST_SUBDIR)/zip; \
29495 cd "$(HOST_SUBDIR)/zip" || exit 1; \
29496 case $(srcdir) in \
29497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29498 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
29499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29500 esac; \
29501 srcdiroption="--srcdir=$${topdir}/zip"; \
29502 libsrcdir="$$s/zip"; \
29503 $(SHELL) $${libsrcdir}/configure \
29504 $(HOST_CONFIGARGS) $${srcdiroption} \
29505 || exit 1
29506 @endif zip
29512 .PHONY: all-zip maybe-all-zip
29513 maybe-all-zip:
29514 @if gcc-bootstrap
29515 all-zip: stage_current
29516 @endif gcc-bootstrap
29517 @if zip
29518 TARGET-zip=all
29519 maybe-all-zip: all-zip
29520 all-zip: configure-zip
29521 @: $(MAKE); $(unstage)
29522 @r=`${PWD_COMMAND}`; export r; \
29523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29524 $(HOST_EXPORTS) \
29525 (cd $(HOST_SUBDIR)/zip && \
29526 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
29527 @endif zip
29532 .PHONY: check-zip maybe-check-zip
29533 maybe-check-zip:
29534 @if zip
29535 maybe-check-zip: check-zip
29537 # This module is only tested in a native toolchain.
29538 check-zip:
29539 @: $(MAKE); $(unstage)
29540 @if [ '$(host)' = '$(target)' ] ; then \
29541 r=`${PWD_COMMAND}`; export r; \
29542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29543 $(HOST_EXPORTS) \
29544 (cd $(HOST_SUBDIR)/zip && \
29545 $(MAKE) $(FLAGS_TO_PASS) check); \
29548 @endif zip
29550 .PHONY: install-zip maybe-install-zip
29551 maybe-install-zip:
29552 @if zip
29553 maybe-install-zip: install-zip
29555 install-zip: installdirs
29556 @: $(MAKE); $(unstage)
29557 @r=`${PWD_COMMAND}`; export r; \
29558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29559 $(HOST_EXPORTS) \
29560 (cd $(HOST_SUBDIR)/zip && \
29561 $(MAKE) $(FLAGS_TO_PASS) install)
29563 @endif zip
29565 # Other targets (info, dvi, pdf, etc.)
29567 .PHONY: maybe-info-zip info-zip
29568 maybe-info-zip:
29569 @if zip
29570 maybe-info-zip: info-zip
29572 info-zip: \
29573 configure-zip
29574 @: $(MAKE); $(unstage)
29575 @[ -f ./zip/Makefile ] || exit 0; \
29576 r=`${PWD_COMMAND}`; export r; \
29577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29578 $(HOST_EXPORTS) \
29579 for flag in $(EXTRA_HOST_FLAGS) ; do \
29580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29581 done; \
29582 echo "Doing info in zip" ; \
29583 (cd $(HOST_SUBDIR)/zip && \
29584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29586 "RANLIB=$${RANLIB}" \
29587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29588 info) \
29589 || exit 1
29591 @endif zip
29593 .PHONY: maybe-dvi-zip dvi-zip
29594 maybe-dvi-zip:
29595 @if zip
29596 maybe-dvi-zip: dvi-zip
29598 dvi-zip: \
29599 configure-zip
29600 @: $(MAKE); $(unstage)
29601 @[ -f ./zip/Makefile ] || exit 0; \
29602 r=`${PWD_COMMAND}`; export r; \
29603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29604 $(HOST_EXPORTS) \
29605 for flag in $(EXTRA_HOST_FLAGS) ; do \
29606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29607 done; \
29608 echo "Doing dvi in zip" ; \
29609 (cd $(HOST_SUBDIR)/zip && \
29610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29612 "RANLIB=$${RANLIB}" \
29613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29614 dvi) \
29615 || exit 1
29617 @endif zip
29619 .PHONY: maybe-pdf-zip pdf-zip
29620 maybe-pdf-zip:
29621 @if zip
29622 maybe-pdf-zip: pdf-zip
29624 pdf-zip: \
29625 configure-zip
29626 @: $(MAKE); $(unstage)
29627 @[ -f ./zip/Makefile ] || exit 0; \
29628 r=`${PWD_COMMAND}`; export r; \
29629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29630 $(HOST_EXPORTS) \
29631 for flag in $(EXTRA_HOST_FLAGS) ; do \
29632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29633 done; \
29634 echo "Doing pdf in zip" ; \
29635 (cd $(HOST_SUBDIR)/zip && \
29636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29638 "RANLIB=$${RANLIB}" \
29639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29640 pdf) \
29641 || exit 1
29643 @endif zip
29645 .PHONY: maybe-html-zip html-zip
29646 maybe-html-zip:
29647 @if zip
29648 maybe-html-zip: html-zip
29650 html-zip: \
29651 configure-zip
29652 @: $(MAKE); $(unstage)
29653 @[ -f ./zip/Makefile ] || exit 0; \
29654 r=`${PWD_COMMAND}`; export r; \
29655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29656 $(HOST_EXPORTS) \
29657 for flag in $(EXTRA_HOST_FLAGS) ; do \
29658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29659 done; \
29660 echo "Doing html in zip" ; \
29661 (cd $(HOST_SUBDIR)/zip && \
29662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29664 "RANLIB=$${RANLIB}" \
29665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29666 html) \
29667 || exit 1
29669 @endif zip
29671 .PHONY: maybe-TAGS-zip TAGS-zip
29672 maybe-TAGS-zip:
29673 @if zip
29674 maybe-TAGS-zip: TAGS-zip
29676 TAGS-zip: \
29677 configure-zip
29678 @: $(MAKE); $(unstage)
29679 @[ -f ./zip/Makefile ] || exit 0; \
29680 r=`${PWD_COMMAND}`; export r; \
29681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29682 $(HOST_EXPORTS) \
29683 for flag in $(EXTRA_HOST_FLAGS) ; do \
29684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29685 done; \
29686 echo "Doing TAGS in zip" ; \
29687 (cd $(HOST_SUBDIR)/zip && \
29688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29690 "RANLIB=$${RANLIB}" \
29691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29692 TAGS) \
29693 || exit 1
29695 @endif zip
29697 .PHONY: maybe-install-info-zip install-info-zip
29698 maybe-install-info-zip:
29699 @if zip
29700 maybe-install-info-zip: install-info-zip
29702 install-info-zip: \
29703 configure-zip \
29704 info-zip
29705 @: $(MAKE); $(unstage)
29706 @[ -f ./zip/Makefile ] || exit 0; \
29707 r=`${PWD_COMMAND}`; export r; \
29708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29709 $(HOST_EXPORTS) \
29710 for flag in $(EXTRA_HOST_FLAGS) ; do \
29711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29712 done; \
29713 echo "Doing install-info in zip" ; \
29714 (cd $(HOST_SUBDIR)/zip && \
29715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29717 "RANLIB=$${RANLIB}" \
29718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29719 install-info) \
29720 || exit 1
29722 @endif zip
29724 .PHONY: maybe-install-html-zip install-html-zip
29725 maybe-install-html-zip:
29726 @if zip
29727 maybe-install-html-zip: install-html-zip
29729 install-html-zip: \
29730 configure-zip \
29731 html-zip
29732 @: $(MAKE); $(unstage)
29733 @[ -f ./zip/Makefile ] || exit 0; \
29734 r=`${PWD_COMMAND}`; export r; \
29735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29736 $(HOST_EXPORTS) \
29737 for flag in $(EXTRA_HOST_FLAGS) ; do \
29738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29739 done; \
29740 echo "Doing install-html in zip" ; \
29741 (cd $(HOST_SUBDIR)/zip && \
29742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29744 "RANLIB=$${RANLIB}" \
29745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29746 install-html) \
29747 || exit 1
29749 @endif zip
29751 .PHONY: maybe-installcheck-zip installcheck-zip
29752 maybe-installcheck-zip:
29753 @if zip
29754 maybe-installcheck-zip: installcheck-zip
29756 installcheck-zip: \
29757 configure-zip
29758 @: $(MAKE); $(unstage)
29759 @[ -f ./zip/Makefile ] || exit 0; \
29760 r=`${PWD_COMMAND}`; export r; \
29761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29762 $(HOST_EXPORTS) \
29763 for flag in $(EXTRA_HOST_FLAGS) ; do \
29764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29765 done; \
29766 echo "Doing installcheck in zip" ; \
29767 (cd $(HOST_SUBDIR)/zip && \
29768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29770 "RANLIB=$${RANLIB}" \
29771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29772 installcheck) \
29773 || exit 1
29775 @endif zip
29777 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
29778 maybe-mostlyclean-zip:
29779 @if zip
29780 maybe-mostlyclean-zip: mostlyclean-zip
29782 mostlyclean-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 mostlyclean 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 mostlyclean) \
29798 || exit 1
29800 @endif zip
29802 .PHONY: maybe-clean-zip clean-zip
29803 maybe-clean-zip:
29804 @if zip
29805 maybe-clean-zip: clean-zip
29807 clean-zip:
29808 @: $(MAKE); $(unstage)
29809 @[ -f ./zip/Makefile ] || exit 0; \
29810 r=`${PWD_COMMAND}`; export r; \
29811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29812 $(HOST_EXPORTS) \
29813 for flag in $(EXTRA_HOST_FLAGS) ; do \
29814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29815 done; \
29816 echo "Doing clean in zip" ; \
29817 (cd $(HOST_SUBDIR)/zip && \
29818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29820 "RANLIB=$${RANLIB}" \
29821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29822 clean) \
29823 || exit 1
29825 @endif zip
29827 .PHONY: maybe-distclean-zip distclean-zip
29828 maybe-distclean-zip:
29829 @if zip
29830 maybe-distclean-zip: distclean-zip
29832 distclean-zip:
29833 @: $(MAKE); $(unstage)
29834 @[ -f ./zip/Makefile ] || exit 0; \
29835 r=`${PWD_COMMAND}`; export r; \
29836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29837 $(HOST_EXPORTS) \
29838 for flag in $(EXTRA_HOST_FLAGS) ; do \
29839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29840 done; \
29841 echo "Doing distclean in zip" ; \
29842 (cd $(HOST_SUBDIR)/zip && \
29843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29845 "RANLIB=$${RANLIB}" \
29846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29847 distclean) \
29848 || exit 1
29850 @endif zip
29852 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
29853 maybe-maintainer-clean-zip:
29854 @if zip
29855 maybe-maintainer-clean-zip: maintainer-clean-zip
29857 maintainer-clean-zip:
29858 @: $(MAKE); $(unstage)
29859 @[ -f ./zip/Makefile ] || exit 0; \
29860 r=`${PWD_COMMAND}`; export r; \
29861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29862 $(HOST_EXPORTS) \
29863 for flag in $(EXTRA_HOST_FLAGS) ; do \
29864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29865 done; \
29866 echo "Doing maintainer-clean in zip" ; \
29867 (cd $(HOST_SUBDIR)/zip && \
29868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29870 "RANLIB=$${RANLIB}" \
29871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29872 maintainer-clean) \
29873 || exit 1
29875 @endif zip
29879 .PHONY: configure-zlib maybe-configure-zlib
29880 maybe-configure-zlib:
29881 @if gcc-bootstrap
29882 configure-zlib: stage_current
29883 @endif gcc-bootstrap
29884 @if zlib
29885 maybe-configure-zlib: configure-zlib
29886 configure-zlib:
29887 @r=`${PWD_COMMAND}`; export r; \
29888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29889 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
29890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
29891 $(HOST_EXPORTS) \
29892 echo Configuring in $(HOST_SUBDIR)/zlib; \
29893 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
29894 case $(srcdir) in \
29895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29896 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
29897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29898 esac; \
29899 srcdiroption="--srcdir=$${topdir}/zlib"; \
29900 libsrcdir="$$s/zlib"; \
29901 $(SHELL) $${libsrcdir}/configure \
29902 $(HOST_CONFIGARGS) $${srcdiroption} \
29903 || exit 1
29904 @endif zlib
29908 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
29909 maybe-configure-stage1-zlib:
29910 @if zlib-bootstrap
29911 maybe-configure-stage1-zlib: configure-stage1-zlib
29912 configure-stage1-zlib:
29913 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29914 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
29915 @r=`${PWD_COMMAND}`; export r; \
29916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29917 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
29918 $(HOST_EXPORTS) \
29919 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
29920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
29921 cd $(HOST_SUBDIR)/zlib || exit 1; \
29922 case $(srcdir) in \
29923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29924 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
29925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29926 esac; \
29927 srcdiroption="--srcdir=$${topdir}/zlib"; \
29928 libsrcdir="$$s/zlib"; \
29929 $(SHELL) $${libsrcdir}/configure \
29930 $(HOST_CONFIGARGS) $${srcdiroption} \
29932 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29933 @endif zlib-bootstrap
29935 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29936 maybe-configure-stage2-zlib:
29937 @if zlib-bootstrap
29938 maybe-configure-stage2-zlib: configure-stage2-zlib
29939 configure-stage2-zlib:
29940 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
29942 @r=`${PWD_COMMAND}`; export r; \
29943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29944 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
29945 $(HOST_EXPORTS) \
29946 $(POSTSTAGE1_HOST_EXPORTS) \
29947 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
29948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
29949 cd $(HOST_SUBDIR)/zlib || exit 1; \
29950 case $(srcdir) in \
29951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29952 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
29953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29954 esac; \
29955 srcdiroption="--srcdir=$${topdir}/zlib"; \
29956 libsrcdir="$$s/zlib"; \
29957 $(SHELL) $${libsrcdir}/configure \
29958 $(HOST_CONFIGARGS) $${srcdiroption} \
29959 --with-build-libsubdir=$(HOST_SUBDIR) \
29960 @stage2_werror_flag@
29961 @endif zlib-bootstrap
29963 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
29964 maybe-configure-stage3-zlib:
29965 @if zlib-bootstrap
29966 maybe-configure-stage3-zlib: configure-stage3-zlib
29967 configure-stage3-zlib:
29968 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
29970 @r=`${PWD_COMMAND}`; export r; \
29971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29972 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
29973 $(HOST_EXPORTS) \
29974 $(POSTSTAGE1_HOST_EXPORTS) \
29975 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
29976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
29977 cd $(HOST_SUBDIR)/zlib || exit 1; \
29978 case $(srcdir) in \
29979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29980 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
29981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29982 esac; \
29983 srcdiroption="--srcdir=$${topdir}/zlib"; \
29984 libsrcdir="$$s/zlib"; \
29985 $(SHELL) $${libsrcdir}/configure \
29986 $(HOST_CONFIGARGS) $${srcdiroption} \
29987 --with-build-libsubdir=$(HOST_SUBDIR) \
29988 @stage2_werror_flag@
29989 @endif zlib-bootstrap
29991 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
29992 maybe-configure-stage4-zlib:
29993 @if zlib-bootstrap
29994 maybe-configure-stage4-zlib: configure-stage4-zlib
29995 configure-stage4-zlib:
29996 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
29998 @r=`${PWD_COMMAND}`; export r; \
29999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30000 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30001 $(HOST_EXPORTS) \
30002 $(POSTSTAGE1_HOST_EXPORTS) \
30003 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
30004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30005 cd $(HOST_SUBDIR)/zlib || exit 1; \
30006 case $(srcdir) in \
30007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30008 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30010 esac; \
30011 srcdiroption="--srcdir=$${topdir}/zlib"; \
30012 libsrcdir="$$s/zlib"; \
30013 $(SHELL) $${libsrcdir}/configure \
30014 $(HOST_CONFIGARGS) $${srcdiroption} \
30015 --with-build-libsubdir=$(HOST_SUBDIR) \
30016 @stage2_werror_flag@
30017 @endif zlib-bootstrap
30019 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30020 maybe-configure-stageprofile-zlib:
30021 @if zlib-bootstrap
30022 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30023 configure-stageprofile-zlib:
30024 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30026 @r=`${PWD_COMMAND}`; export r; \
30027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30028 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30029 $(HOST_EXPORTS) \
30030 $(POSTSTAGE1_HOST_EXPORTS) \
30031 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
30032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30033 cd $(HOST_SUBDIR)/zlib || exit 1; \
30034 case $(srcdir) in \
30035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30036 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30038 esac; \
30039 srcdiroption="--srcdir=$${topdir}/zlib"; \
30040 libsrcdir="$$s/zlib"; \
30041 $(SHELL) $${libsrcdir}/configure \
30042 $(HOST_CONFIGARGS) $${srcdiroption} \
30043 --with-build-libsubdir=$(HOST_SUBDIR) \
30044 @stage2_werror_flag@
30045 @endif zlib-bootstrap
30047 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30048 maybe-configure-stagefeedback-zlib:
30049 @if zlib-bootstrap
30050 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30051 configure-stagefeedback-zlib:
30052 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30054 @r=`${PWD_COMMAND}`; export r; \
30055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30056 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30057 $(HOST_EXPORTS) \
30058 $(POSTSTAGE1_HOST_EXPORTS) \
30059 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
30060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30061 cd $(HOST_SUBDIR)/zlib || exit 1; \
30062 case $(srcdir) in \
30063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30064 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30066 esac; \
30067 srcdiroption="--srcdir=$${topdir}/zlib"; \
30068 libsrcdir="$$s/zlib"; \
30069 $(SHELL) $${libsrcdir}/configure \
30070 $(HOST_CONFIGARGS) $${srcdiroption} \
30071 --with-build-libsubdir=$(HOST_SUBDIR) \
30072 @stage2_werror_flag@
30073 @endif zlib-bootstrap
30079 .PHONY: all-zlib maybe-all-zlib
30080 maybe-all-zlib:
30081 @if gcc-bootstrap
30082 all-zlib: stage_current
30083 @endif gcc-bootstrap
30084 @if zlib
30085 TARGET-zlib=all
30086 maybe-all-zlib: all-zlib
30087 all-zlib: configure-zlib
30088 @r=`${PWD_COMMAND}`; export r; \
30089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30090 $(HOST_EXPORTS) \
30091 (cd $(HOST_SUBDIR)/zlib && \
30092 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
30093 @endif zlib
30097 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30098 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30099 maybe-all-stage1-zlib:
30100 maybe-clean-stage1-zlib:
30101 @if zlib-bootstrap
30102 maybe-all-stage1-zlib: all-stage1-zlib
30103 all-stage1: all-stage1-zlib
30104 TARGET-stage1-zlib = $(TARGET-zlib)
30105 all-stage1-zlib: configure-stage1-zlib
30106 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30107 @r=`${PWD_COMMAND}`; export r; \
30108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30109 $(HOST_EXPORTS) \
30110 cd $(HOST_SUBDIR)/zlib && \
30111 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
30112 $(TARGET-stage1-zlib)
30114 maybe-clean-stage1-zlib: clean-stage1-zlib
30115 clean-stage1: clean-stage1-zlib
30116 clean-stage1-zlib:
30117 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
30118 || exit 0 ; \
30119 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
30120 cd $(HOST_SUBDIR)/zlib && \
30121 $(MAKE) $(FLAGS_TO_PASS) \
30122 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
30123 @endif zlib-bootstrap
30126 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30127 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30128 maybe-all-stage2-zlib:
30129 maybe-clean-stage2-zlib:
30130 @if zlib-bootstrap
30131 maybe-all-stage2-zlib: all-stage2-zlib
30132 all-stage2: all-stage2-zlib
30133 TARGET-stage2-zlib = $(TARGET-zlib)
30134 all-stage2-zlib: configure-stage2-zlib
30135 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30136 @r=`${PWD_COMMAND}`; export r; \
30137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30138 $(HOST_EXPORTS) \
30139 $(POSTSTAGE1_HOST_EXPORTS) \
30140 cd $(HOST_SUBDIR)/zlib && \
30141 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30142 $(TARGET-stage2-zlib)
30144 maybe-clean-stage2-zlib: clean-stage2-zlib
30145 clean-stage2: clean-stage2-zlib
30146 clean-stage2-zlib:
30147 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
30148 || exit 0 ; \
30149 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
30150 cd $(HOST_SUBDIR)/zlib && \
30151 $(MAKE) $(FLAGS_TO_PASS) \
30152 $(POSTSTAGE1_FLAGS_TO_PASS) \
30153 clean
30154 @endif zlib-bootstrap
30157 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30158 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30159 maybe-all-stage3-zlib:
30160 maybe-clean-stage3-zlib:
30161 @if zlib-bootstrap
30162 maybe-all-stage3-zlib: all-stage3-zlib
30163 all-stage3: all-stage3-zlib
30164 TARGET-stage3-zlib = $(TARGET-zlib)
30165 all-stage3-zlib: configure-stage3-zlib
30166 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30167 @r=`${PWD_COMMAND}`; export r; \
30168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30169 $(HOST_EXPORTS) \
30170 $(POSTSTAGE1_HOST_EXPORTS) \
30171 cd $(HOST_SUBDIR)/zlib && \
30172 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30173 $(TARGET-stage3-zlib)
30175 maybe-clean-stage3-zlib: clean-stage3-zlib
30176 clean-stage3: clean-stage3-zlib
30177 clean-stage3-zlib:
30178 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
30179 || exit 0 ; \
30180 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
30181 cd $(HOST_SUBDIR)/zlib && \
30182 $(MAKE) $(FLAGS_TO_PASS) \
30183 $(POSTSTAGE1_FLAGS_TO_PASS) \
30184 clean
30185 @endif zlib-bootstrap
30188 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30189 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30190 maybe-all-stage4-zlib:
30191 maybe-clean-stage4-zlib:
30192 @if zlib-bootstrap
30193 maybe-all-stage4-zlib: all-stage4-zlib
30194 all-stage4: all-stage4-zlib
30195 TARGET-stage4-zlib = $(TARGET-zlib)
30196 all-stage4-zlib: configure-stage4-zlib
30197 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30198 @r=`${PWD_COMMAND}`; export r; \
30199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30200 $(HOST_EXPORTS) \
30201 $(POSTSTAGE1_HOST_EXPORTS) \
30202 cd $(HOST_SUBDIR)/zlib && \
30203 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30204 $(TARGET-stage4-zlib)
30206 maybe-clean-stage4-zlib: clean-stage4-zlib
30207 clean-stage4: clean-stage4-zlib
30208 clean-stage4-zlib:
30209 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
30210 || exit 0 ; \
30211 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
30212 cd $(HOST_SUBDIR)/zlib && \
30213 $(MAKE) $(FLAGS_TO_PASS) \
30214 $(POSTSTAGE1_FLAGS_TO_PASS) \
30215 clean
30216 @endif zlib-bootstrap
30219 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30220 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30221 maybe-all-stageprofile-zlib:
30222 maybe-clean-stageprofile-zlib:
30223 @if zlib-bootstrap
30224 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30225 all-stageprofile: all-stageprofile-zlib
30226 TARGET-stageprofile-zlib = $(TARGET-zlib)
30227 all-stageprofile-zlib: configure-stageprofile-zlib
30228 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30229 @r=`${PWD_COMMAND}`; export r; \
30230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30231 $(HOST_EXPORTS) \
30232 $(POSTSTAGE1_HOST_EXPORTS) \
30233 cd $(HOST_SUBDIR)/zlib && \
30234 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
30235 $(TARGET-stageprofile-zlib)
30237 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30238 clean-stageprofile: clean-stageprofile-zlib
30239 clean-stageprofile-zlib:
30240 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
30241 || exit 0 ; \
30242 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
30243 cd $(HOST_SUBDIR)/zlib && \
30244 $(MAKE) $(FLAGS_TO_PASS) \
30245 $(POSTSTAGE1_FLAGS_TO_PASS) \
30246 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30247 @endif zlib-bootstrap
30250 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30251 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30252 maybe-all-stagefeedback-zlib:
30253 maybe-clean-stagefeedback-zlib:
30254 @if zlib-bootstrap
30255 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30256 all-stagefeedback: all-stagefeedback-zlib
30257 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30258 all-stagefeedback-zlib: configure-stagefeedback-zlib
30259 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30260 @r=`${PWD_COMMAND}`; export r; \
30261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30262 $(HOST_EXPORTS) \
30263 $(POSTSTAGE1_HOST_EXPORTS) \
30264 cd $(HOST_SUBDIR)/zlib && \
30265 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
30266 $(TARGET-stagefeedback-zlib)
30268 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30269 clean-stagefeedback: clean-stagefeedback-zlib
30270 clean-stagefeedback-zlib:
30271 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
30272 || exit 0 ; \
30273 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
30274 cd $(HOST_SUBDIR)/zlib && \
30275 $(MAKE) $(FLAGS_TO_PASS) \
30276 $(POSTSTAGE1_FLAGS_TO_PASS) \
30277 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
30278 @endif zlib-bootstrap
30284 .PHONY: check-zlib maybe-check-zlib
30285 maybe-check-zlib:
30286 @if zlib
30287 maybe-check-zlib: check-zlib
30289 check-zlib:
30291 @endif zlib
30293 .PHONY: install-zlib maybe-install-zlib
30294 maybe-install-zlib:
30295 @if zlib
30296 maybe-install-zlib: install-zlib
30298 install-zlib:
30300 @endif zlib
30302 # Other targets (info, dvi, pdf, etc.)
30304 .PHONY: maybe-info-zlib info-zlib
30305 maybe-info-zlib:
30306 @if zlib
30307 maybe-info-zlib: info-zlib
30309 info-zlib: \
30310 configure-zlib
30311 @[ -f ./zlib/Makefile ] || exit 0; \
30312 r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30314 $(HOST_EXPORTS) \
30315 for flag in $(EXTRA_HOST_FLAGS) ; do \
30316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30317 done; \
30318 echo "Doing info in zlib" ; \
30319 (cd $(HOST_SUBDIR)/zlib && \
30320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30322 "RANLIB=$${RANLIB}" \
30323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30324 info) \
30325 || exit 1
30327 @endif zlib
30329 .PHONY: maybe-dvi-zlib dvi-zlib
30330 maybe-dvi-zlib:
30331 @if zlib
30332 maybe-dvi-zlib: dvi-zlib
30334 dvi-zlib: \
30335 configure-zlib
30336 @[ -f ./zlib/Makefile ] || exit 0; \
30337 r=`${PWD_COMMAND}`; export r; \
30338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30339 $(HOST_EXPORTS) \
30340 for flag in $(EXTRA_HOST_FLAGS) ; do \
30341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30342 done; \
30343 echo "Doing dvi in zlib" ; \
30344 (cd $(HOST_SUBDIR)/zlib && \
30345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30347 "RANLIB=$${RANLIB}" \
30348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30349 dvi) \
30350 || exit 1
30352 @endif zlib
30354 .PHONY: maybe-pdf-zlib pdf-zlib
30355 maybe-pdf-zlib:
30356 @if zlib
30357 maybe-pdf-zlib: pdf-zlib
30359 pdf-zlib: \
30360 configure-zlib
30361 @[ -f ./zlib/Makefile ] || exit 0; \
30362 r=`${PWD_COMMAND}`; export r; \
30363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30364 $(HOST_EXPORTS) \
30365 for flag in $(EXTRA_HOST_FLAGS) ; do \
30366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30367 done; \
30368 echo "Doing pdf in zlib" ; \
30369 (cd $(HOST_SUBDIR)/zlib && \
30370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30372 "RANLIB=$${RANLIB}" \
30373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30374 pdf) \
30375 || exit 1
30377 @endif zlib
30379 .PHONY: maybe-html-zlib html-zlib
30380 maybe-html-zlib:
30381 @if zlib
30382 maybe-html-zlib: html-zlib
30384 html-zlib: \
30385 configure-zlib
30386 @[ -f ./zlib/Makefile ] || exit 0; \
30387 r=`${PWD_COMMAND}`; export r; \
30388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30389 $(HOST_EXPORTS) \
30390 for flag in $(EXTRA_HOST_FLAGS) ; do \
30391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30392 done; \
30393 echo "Doing html in zlib" ; \
30394 (cd $(HOST_SUBDIR)/zlib && \
30395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30397 "RANLIB=$${RANLIB}" \
30398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30399 html) \
30400 || exit 1
30402 @endif zlib
30404 .PHONY: maybe-TAGS-zlib TAGS-zlib
30405 maybe-TAGS-zlib:
30406 @if zlib
30407 maybe-TAGS-zlib: TAGS-zlib
30409 TAGS-zlib: \
30410 configure-zlib
30411 @[ -f ./zlib/Makefile ] || exit 0; \
30412 r=`${PWD_COMMAND}`; export r; \
30413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 $(HOST_EXPORTS) \
30415 for flag in $(EXTRA_HOST_FLAGS) ; do \
30416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30417 done; \
30418 echo "Doing TAGS in zlib" ; \
30419 (cd $(HOST_SUBDIR)/zlib && \
30420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30422 "RANLIB=$${RANLIB}" \
30423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30424 TAGS) \
30425 || exit 1
30427 @endif zlib
30429 .PHONY: maybe-install-info-zlib install-info-zlib
30430 maybe-install-info-zlib:
30431 @if zlib
30432 maybe-install-info-zlib: install-info-zlib
30434 install-info-zlib: \
30435 configure-zlib \
30436 info-zlib
30437 @[ -f ./zlib/Makefile ] || exit 0; \
30438 r=`${PWD_COMMAND}`; export r; \
30439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30440 $(HOST_EXPORTS) \
30441 for flag in $(EXTRA_HOST_FLAGS) ; do \
30442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30443 done; \
30444 echo "Doing install-info in zlib" ; \
30445 (cd $(HOST_SUBDIR)/zlib && \
30446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30448 "RANLIB=$${RANLIB}" \
30449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30450 install-info) \
30451 || exit 1
30453 @endif zlib
30455 .PHONY: maybe-install-html-zlib install-html-zlib
30456 maybe-install-html-zlib:
30457 @if zlib
30458 maybe-install-html-zlib: install-html-zlib
30460 install-html-zlib: \
30461 configure-zlib \
30462 html-zlib
30463 @[ -f ./zlib/Makefile ] || exit 0; \
30464 r=`${PWD_COMMAND}`; export r; \
30465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30466 $(HOST_EXPORTS) \
30467 for flag in $(EXTRA_HOST_FLAGS) ; do \
30468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30469 done; \
30470 echo "Doing install-html in zlib" ; \
30471 (cd $(HOST_SUBDIR)/zlib && \
30472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30474 "RANLIB=$${RANLIB}" \
30475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30476 install-html) \
30477 || exit 1
30479 @endif zlib
30481 .PHONY: maybe-installcheck-zlib installcheck-zlib
30482 maybe-installcheck-zlib:
30483 @if zlib
30484 maybe-installcheck-zlib: installcheck-zlib
30486 installcheck-zlib: \
30487 configure-zlib
30488 @[ -f ./zlib/Makefile ] || exit 0; \
30489 r=`${PWD_COMMAND}`; export r; \
30490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30491 $(HOST_EXPORTS) \
30492 for flag in $(EXTRA_HOST_FLAGS) ; do \
30493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30494 done; \
30495 echo "Doing installcheck in zlib" ; \
30496 (cd $(HOST_SUBDIR)/zlib && \
30497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30499 "RANLIB=$${RANLIB}" \
30500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30501 installcheck) \
30502 || exit 1
30504 @endif zlib
30506 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
30507 maybe-mostlyclean-zlib:
30508 @if zlib
30509 maybe-mostlyclean-zlib: mostlyclean-zlib
30511 mostlyclean-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 mostlyclean 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 mostlyclean) \
30526 || exit 1
30528 @endif zlib
30530 .PHONY: maybe-clean-zlib clean-zlib
30531 maybe-clean-zlib:
30532 @if zlib
30533 maybe-clean-zlib: clean-zlib
30535 clean-zlib:
30536 @[ -f ./zlib/Makefile ] || exit 0; \
30537 r=`${PWD_COMMAND}`; export r; \
30538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30539 $(HOST_EXPORTS) \
30540 for flag in $(EXTRA_HOST_FLAGS) ; do \
30541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30542 done; \
30543 echo "Doing clean in zlib" ; \
30544 (cd $(HOST_SUBDIR)/zlib && \
30545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30547 "RANLIB=$${RANLIB}" \
30548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30549 clean) \
30550 || exit 1
30552 @endif zlib
30554 .PHONY: maybe-distclean-zlib distclean-zlib
30555 maybe-distclean-zlib:
30556 @if zlib
30557 maybe-distclean-zlib: distclean-zlib
30559 distclean-zlib:
30560 @[ -f ./zlib/Makefile ] || exit 0; \
30561 r=`${PWD_COMMAND}`; export r; \
30562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30563 $(HOST_EXPORTS) \
30564 for flag in $(EXTRA_HOST_FLAGS) ; do \
30565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30566 done; \
30567 echo "Doing distclean in zlib" ; \
30568 (cd $(HOST_SUBDIR)/zlib && \
30569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30571 "RANLIB=$${RANLIB}" \
30572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30573 distclean) \
30574 || exit 1
30576 @endif zlib
30578 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
30579 maybe-maintainer-clean-zlib:
30580 @if zlib
30581 maybe-maintainer-clean-zlib: maintainer-clean-zlib
30583 maintainer-clean-zlib:
30584 @[ -f ./zlib/Makefile ] || exit 0; \
30585 r=`${PWD_COMMAND}`; export r; \
30586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30587 $(HOST_EXPORTS) \
30588 for flag in $(EXTRA_HOST_FLAGS) ; do \
30589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30590 done; \
30591 echo "Doing maintainer-clean in zlib" ; \
30592 (cd $(HOST_SUBDIR)/zlib && \
30593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30595 "RANLIB=$${RANLIB}" \
30596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30597 maintainer-clean) \
30598 || exit 1
30600 @endif zlib
30604 .PHONY: configure-gdb maybe-configure-gdb
30605 maybe-configure-gdb:
30606 @if gcc-bootstrap
30607 configure-gdb: stage_current
30608 @endif gcc-bootstrap
30609 @if gdb
30610 maybe-configure-gdb: configure-gdb
30611 configure-gdb:
30612 @: $(MAKE); $(unstage)
30613 @r=`${PWD_COMMAND}`; export r; \
30614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30615 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
30616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
30617 $(HOST_EXPORTS) \
30618 echo Configuring in $(HOST_SUBDIR)/gdb; \
30619 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
30620 case $(srcdir) in \
30621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30622 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
30623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30624 esac; \
30625 srcdiroption="--srcdir=$${topdir}/gdb"; \
30626 libsrcdir="$$s/gdb"; \
30627 $(SHELL) $${libsrcdir}/configure \
30628 $(HOST_CONFIGARGS) $${srcdiroption} \
30629 || exit 1
30630 @endif gdb
30636 .PHONY: all-gdb maybe-all-gdb
30637 maybe-all-gdb:
30638 @if gcc-bootstrap
30639 all-gdb: stage_current
30640 @endif gcc-bootstrap
30641 @if gdb
30642 TARGET-gdb=all
30643 maybe-all-gdb: all-gdb
30644 all-gdb: configure-gdb
30645 @: $(MAKE); $(unstage)
30646 @r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(HOST_EXPORTS) \
30649 (cd $(HOST_SUBDIR)/gdb && \
30650 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
30651 @endif gdb
30656 .PHONY: check-gdb maybe-check-gdb
30657 maybe-check-gdb:
30658 @if gdb
30659 maybe-check-gdb: check-gdb
30661 check-gdb:
30662 @: $(MAKE); $(unstage)
30663 @r=`${PWD_COMMAND}`; export r; \
30664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30665 $(HOST_EXPORTS) \
30666 (cd $(HOST_SUBDIR)/gdb && \
30667 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30669 @endif gdb
30671 .PHONY: install-gdb maybe-install-gdb
30672 maybe-install-gdb:
30673 @if gdb
30674 maybe-install-gdb: install-gdb
30676 install-gdb: installdirs
30677 @: $(MAKE); $(unstage)
30678 @r=`${PWD_COMMAND}`; export r; \
30679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30680 $(HOST_EXPORTS) \
30681 (cd $(HOST_SUBDIR)/gdb && \
30682 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30684 @endif gdb
30686 # Other targets (info, dvi, pdf, etc.)
30688 .PHONY: maybe-info-gdb info-gdb
30689 maybe-info-gdb:
30690 @if gdb
30691 maybe-info-gdb: info-gdb
30693 info-gdb: \
30694 configure-gdb
30695 @: $(MAKE); $(unstage)
30696 @[ -f ./gdb/Makefile ] || exit 0; \
30697 r=`${PWD_COMMAND}`; export r; \
30698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30699 $(HOST_EXPORTS) \
30700 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30702 done; \
30703 echo "Doing info in gdb" ; \
30704 (cd $(HOST_SUBDIR)/gdb && \
30705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30707 "RANLIB=$${RANLIB}" \
30708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30709 info) \
30710 || exit 1
30712 @endif gdb
30714 .PHONY: maybe-dvi-gdb dvi-gdb
30715 maybe-dvi-gdb:
30716 @if gdb
30717 maybe-dvi-gdb: dvi-gdb
30719 dvi-gdb: \
30720 configure-gdb
30721 @: $(MAKE); $(unstage)
30722 @[ -f ./gdb/Makefile ] || exit 0; \
30723 r=`${PWD_COMMAND}`; export r; \
30724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30725 $(HOST_EXPORTS) \
30726 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30728 done; \
30729 echo "Doing dvi in gdb" ; \
30730 (cd $(HOST_SUBDIR)/gdb && \
30731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30733 "RANLIB=$${RANLIB}" \
30734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30735 dvi) \
30736 || exit 1
30738 @endif gdb
30740 .PHONY: maybe-pdf-gdb pdf-gdb
30741 maybe-pdf-gdb:
30742 @if gdb
30743 maybe-pdf-gdb: pdf-gdb
30745 pdf-gdb: \
30746 configure-gdb
30747 @: $(MAKE); $(unstage)
30748 @[ -f ./gdb/Makefile ] || exit 0; \
30749 r=`${PWD_COMMAND}`; export r; \
30750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30751 $(HOST_EXPORTS) \
30752 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30754 done; \
30755 echo "Doing pdf in gdb" ; \
30756 (cd $(HOST_SUBDIR)/gdb && \
30757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30759 "RANLIB=$${RANLIB}" \
30760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30761 pdf) \
30762 || exit 1
30764 @endif gdb
30766 .PHONY: maybe-html-gdb html-gdb
30767 maybe-html-gdb:
30768 @if gdb
30769 maybe-html-gdb: html-gdb
30771 html-gdb: \
30772 configure-gdb
30773 @: $(MAKE); $(unstage)
30774 @[ -f ./gdb/Makefile ] || exit 0; \
30775 r=`${PWD_COMMAND}`; export r; \
30776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30777 $(HOST_EXPORTS) \
30778 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30780 done; \
30781 echo "Doing html in gdb" ; \
30782 (cd $(HOST_SUBDIR)/gdb && \
30783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30785 "RANLIB=$${RANLIB}" \
30786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30787 html) \
30788 || exit 1
30790 @endif gdb
30792 .PHONY: maybe-TAGS-gdb TAGS-gdb
30793 maybe-TAGS-gdb:
30794 @if gdb
30795 maybe-TAGS-gdb: TAGS-gdb
30797 TAGS-gdb: \
30798 configure-gdb
30799 @: $(MAKE); $(unstage)
30800 @[ -f ./gdb/Makefile ] || exit 0; \
30801 r=`${PWD_COMMAND}`; export r; \
30802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30803 $(HOST_EXPORTS) \
30804 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30806 done; \
30807 echo "Doing TAGS in gdb" ; \
30808 (cd $(HOST_SUBDIR)/gdb && \
30809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30811 "RANLIB=$${RANLIB}" \
30812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30813 TAGS) \
30814 || exit 1
30816 @endif gdb
30818 .PHONY: maybe-install-info-gdb install-info-gdb
30819 maybe-install-info-gdb:
30820 @if gdb
30821 maybe-install-info-gdb: install-info-gdb
30823 install-info-gdb: \
30824 configure-gdb \
30825 info-gdb
30826 @: $(MAKE); $(unstage)
30827 @[ -f ./gdb/Makefile ] || exit 0; \
30828 r=`${PWD_COMMAND}`; export r; \
30829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30830 $(HOST_EXPORTS) \
30831 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30833 done; \
30834 echo "Doing install-info in gdb" ; \
30835 (cd $(HOST_SUBDIR)/gdb && \
30836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30838 "RANLIB=$${RANLIB}" \
30839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30840 install-info) \
30841 || exit 1
30843 @endif gdb
30845 .PHONY: maybe-install-html-gdb install-html-gdb
30846 maybe-install-html-gdb:
30847 @if gdb
30848 maybe-install-html-gdb: install-html-gdb
30850 install-html-gdb: \
30851 configure-gdb \
30852 html-gdb
30853 @: $(MAKE); $(unstage)
30854 @[ -f ./gdb/Makefile ] || exit 0; \
30855 r=`${PWD_COMMAND}`; export r; \
30856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30857 $(HOST_EXPORTS) \
30858 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30860 done; \
30861 echo "Doing install-html in gdb" ; \
30862 (cd $(HOST_SUBDIR)/gdb && \
30863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30865 "RANLIB=$${RANLIB}" \
30866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30867 install-html) \
30868 || exit 1
30870 @endif gdb
30872 .PHONY: maybe-installcheck-gdb installcheck-gdb
30873 maybe-installcheck-gdb:
30874 @if gdb
30875 maybe-installcheck-gdb: installcheck-gdb
30877 installcheck-gdb: \
30878 configure-gdb
30879 @: $(MAKE); $(unstage)
30880 @[ -f ./gdb/Makefile ] || exit 0; \
30881 r=`${PWD_COMMAND}`; export r; \
30882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30883 $(HOST_EXPORTS) \
30884 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30886 done; \
30887 echo "Doing installcheck in gdb" ; \
30888 (cd $(HOST_SUBDIR)/gdb && \
30889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30891 "RANLIB=$${RANLIB}" \
30892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30893 installcheck) \
30894 || exit 1
30896 @endif gdb
30898 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
30899 maybe-mostlyclean-gdb:
30900 @if gdb
30901 maybe-mostlyclean-gdb: mostlyclean-gdb
30903 mostlyclean-gdb:
30904 @: $(MAKE); $(unstage)
30905 @[ -f ./gdb/Makefile ] || exit 0; \
30906 r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 $(HOST_EXPORTS) \
30909 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30911 done; \
30912 echo "Doing mostlyclean in gdb" ; \
30913 (cd $(HOST_SUBDIR)/gdb && \
30914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30916 "RANLIB=$${RANLIB}" \
30917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30918 mostlyclean) \
30919 || exit 1
30921 @endif gdb
30923 .PHONY: maybe-clean-gdb clean-gdb
30924 maybe-clean-gdb:
30925 @if gdb
30926 maybe-clean-gdb: clean-gdb
30928 clean-gdb:
30929 @: $(MAKE); $(unstage)
30930 @[ -f ./gdb/Makefile ] || exit 0; \
30931 r=`${PWD_COMMAND}`; export r; \
30932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30933 $(HOST_EXPORTS) \
30934 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30936 done; \
30937 echo "Doing clean in gdb" ; \
30938 (cd $(HOST_SUBDIR)/gdb && \
30939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30941 "RANLIB=$${RANLIB}" \
30942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30943 clean) \
30944 || exit 1
30946 @endif gdb
30948 .PHONY: maybe-distclean-gdb distclean-gdb
30949 maybe-distclean-gdb:
30950 @if gdb
30951 maybe-distclean-gdb: distclean-gdb
30953 distclean-gdb:
30954 @: $(MAKE); $(unstage)
30955 @[ -f ./gdb/Makefile ] || exit 0; \
30956 r=`${PWD_COMMAND}`; export r; \
30957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30958 $(HOST_EXPORTS) \
30959 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30961 done; \
30962 echo "Doing distclean in gdb" ; \
30963 (cd $(HOST_SUBDIR)/gdb && \
30964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30966 "RANLIB=$${RANLIB}" \
30967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30968 distclean) \
30969 || exit 1
30971 @endif gdb
30973 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
30974 maybe-maintainer-clean-gdb:
30975 @if gdb
30976 maybe-maintainer-clean-gdb: maintainer-clean-gdb
30978 maintainer-clean-gdb:
30979 @: $(MAKE); $(unstage)
30980 @[ -f ./gdb/Makefile ] || exit 0; \
30981 r=`${PWD_COMMAND}`; export r; \
30982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30983 $(HOST_EXPORTS) \
30984 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30986 done; \
30987 echo "Doing maintainer-clean in gdb" ; \
30988 (cd $(HOST_SUBDIR)/gdb && \
30989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30991 "RANLIB=$${RANLIB}" \
30992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30993 maintainer-clean) \
30994 || exit 1
30996 @endif gdb
31000 .PHONY: configure-expect maybe-configure-expect
31001 maybe-configure-expect:
31002 @if gcc-bootstrap
31003 configure-expect: stage_current
31004 @endif gcc-bootstrap
31005 @if expect
31006 maybe-configure-expect: configure-expect
31007 configure-expect:
31008 @: $(MAKE); $(unstage)
31009 @r=`${PWD_COMMAND}`; export r; \
31010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31011 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
31013 $(HOST_EXPORTS) \
31014 echo Configuring in $(HOST_SUBDIR)/expect; \
31015 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31016 case $(srcdir) in \
31017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31018 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31020 esac; \
31021 srcdiroption="--srcdir=$${topdir}/expect"; \
31022 libsrcdir="$$s/expect"; \
31023 $(SHELL) $${libsrcdir}/configure \
31024 $(HOST_CONFIGARGS) $${srcdiroption} \
31025 || exit 1
31026 @endif expect
31032 .PHONY: all-expect maybe-all-expect
31033 maybe-all-expect:
31034 @if gcc-bootstrap
31035 all-expect: stage_current
31036 @endif gcc-bootstrap
31037 @if expect
31038 TARGET-expect=all
31039 maybe-all-expect: all-expect
31040 all-expect: configure-expect
31041 @: $(MAKE); $(unstage)
31042 @r=`${PWD_COMMAND}`; export r; \
31043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31044 $(HOST_EXPORTS) \
31045 (cd $(HOST_SUBDIR)/expect && \
31046 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
31047 @endif expect
31052 .PHONY: check-expect maybe-check-expect
31053 maybe-check-expect:
31054 @if expect
31055 maybe-check-expect: check-expect
31057 check-expect:
31058 @: $(MAKE); $(unstage)
31059 @r=`${PWD_COMMAND}`; export r; \
31060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31061 $(HOST_EXPORTS) \
31062 (cd $(HOST_SUBDIR)/expect && \
31063 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31065 @endif expect
31067 .PHONY: install-expect maybe-install-expect
31068 maybe-install-expect:
31069 @if expect
31070 maybe-install-expect: install-expect
31072 install-expect: installdirs
31073 @: $(MAKE); $(unstage)
31074 @r=`${PWD_COMMAND}`; export r; \
31075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31076 $(HOST_EXPORTS) \
31077 (cd $(HOST_SUBDIR)/expect && \
31078 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31080 @endif expect
31082 # Other targets (info, dvi, pdf, etc.)
31084 .PHONY: maybe-info-expect info-expect
31085 maybe-info-expect:
31086 @if expect
31087 maybe-info-expect: info-expect
31089 info-expect: \
31090 configure-expect
31091 @: $(MAKE); $(unstage)
31092 @[ -f ./expect/Makefile ] || exit 0; \
31093 r=`${PWD_COMMAND}`; export r; \
31094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31095 $(HOST_EXPORTS) \
31096 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31098 done; \
31099 echo "Doing info in expect" ; \
31100 (cd $(HOST_SUBDIR)/expect && \
31101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31103 "RANLIB=$${RANLIB}" \
31104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31105 info) \
31106 || exit 1
31108 @endif expect
31110 .PHONY: maybe-dvi-expect dvi-expect
31111 maybe-dvi-expect:
31112 @if expect
31113 maybe-dvi-expect: dvi-expect
31115 dvi-expect: \
31116 configure-expect
31117 @: $(MAKE); $(unstage)
31118 @[ -f ./expect/Makefile ] || exit 0; \
31119 r=`${PWD_COMMAND}`; export r; \
31120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31121 $(HOST_EXPORTS) \
31122 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31124 done; \
31125 echo "Doing dvi in expect" ; \
31126 (cd $(HOST_SUBDIR)/expect && \
31127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31129 "RANLIB=$${RANLIB}" \
31130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31131 dvi) \
31132 || exit 1
31134 @endif expect
31136 .PHONY: maybe-pdf-expect pdf-expect
31137 maybe-pdf-expect:
31138 @if expect
31139 maybe-pdf-expect: pdf-expect
31141 pdf-expect: \
31142 configure-expect
31143 @: $(MAKE); $(unstage)
31144 @[ -f ./expect/Makefile ] || exit 0; \
31145 r=`${PWD_COMMAND}`; export r; \
31146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31147 $(HOST_EXPORTS) \
31148 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31150 done; \
31151 echo "Doing pdf in expect" ; \
31152 (cd $(HOST_SUBDIR)/expect && \
31153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31155 "RANLIB=$${RANLIB}" \
31156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31157 pdf) \
31158 || exit 1
31160 @endif expect
31162 .PHONY: maybe-html-expect html-expect
31163 maybe-html-expect:
31164 @if expect
31165 maybe-html-expect: html-expect
31167 html-expect: \
31168 configure-expect
31169 @: $(MAKE); $(unstage)
31170 @[ -f ./expect/Makefile ] || exit 0; \
31171 r=`${PWD_COMMAND}`; export r; \
31172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31173 $(HOST_EXPORTS) \
31174 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31176 done; \
31177 echo "Doing html in expect" ; \
31178 (cd $(HOST_SUBDIR)/expect && \
31179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31181 "RANLIB=$${RANLIB}" \
31182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31183 html) \
31184 || exit 1
31186 @endif expect
31188 .PHONY: maybe-TAGS-expect TAGS-expect
31189 maybe-TAGS-expect:
31190 @if expect
31191 maybe-TAGS-expect: TAGS-expect
31193 TAGS-expect: \
31194 configure-expect
31195 @: $(MAKE); $(unstage)
31196 @[ -f ./expect/Makefile ] || exit 0; \
31197 r=`${PWD_COMMAND}`; export r; \
31198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31199 $(HOST_EXPORTS) \
31200 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31202 done; \
31203 echo "Doing TAGS in expect" ; \
31204 (cd $(HOST_SUBDIR)/expect && \
31205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31207 "RANLIB=$${RANLIB}" \
31208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31209 TAGS) \
31210 || exit 1
31212 @endif expect
31214 .PHONY: maybe-install-info-expect install-info-expect
31215 maybe-install-info-expect:
31216 @if expect
31217 maybe-install-info-expect: install-info-expect
31219 install-info-expect: \
31220 configure-expect \
31221 info-expect
31222 @: $(MAKE); $(unstage)
31223 @[ -f ./expect/Makefile ] || exit 0; \
31224 r=`${PWD_COMMAND}`; export r; \
31225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31226 $(HOST_EXPORTS) \
31227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31229 done; \
31230 echo "Doing install-info in expect" ; \
31231 (cd $(HOST_SUBDIR)/expect && \
31232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31234 "RANLIB=$${RANLIB}" \
31235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31236 install-info) \
31237 || exit 1
31239 @endif expect
31241 .PHONY: maybe-install-html-expect install-html-expect
31242 maybe-install-html-expect:
31243 @if expect
31244 maybe-install-html-expect: install-html-expect
31246 install-html-expect: \
31247 configure-expect \
31248 html-expect
31249 @: $(MAKE); $(unstage)
31250 @[ -f ./expect/Makefile ] || exit 0; \
31251 r=`${PWD_COMMAND}`; export r; \
31252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31253 $(HOST_EXPORTS) \
31254 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31256 done; \
31257 echo "Doing install-html in expect" ; \
31258 (cd $(HOST_SUBDIR)/expect && \
31259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31261 "RANLIB=$${RANLIB}" \
31262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31263 install-html) \
31264 || exit 1
31266 @endif expect
31268 .PHONY: maybe-installcheck-expect installcheck-expect
31269 maybe-installcheck-expect:
31270 @if expect
31271 maybe-installcheck-expect: installcheck-expect
31273 installcheck-expect: \
31274 configure-expect
31275 @: $(MAKE); $(unstage)
31276 @[ -f ./expect/Makefile ] || exit 0; \
31277 r=`${PWD_COMMAND}`; export r; \
31278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31279 $(HOST_EXPORTS) \
31280 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31282 done; \
31283 echo "Doing installcheck in expect" ; \
31284 (cd $(HOST_SUBDIR)/expect && \
31285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31287 "RANLIB=$${RANLIB}" \
31288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31289 installcheck) \
31290 || exit 1
31292 @endif expect
31294 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
31295 maybe-mostlyclean-expect:
31296 @if expect
31297 maybe-mostlyclean-expect: mostlyclean-expect
31299 mostlyclean-expect:
31300 @: $(MAKE); $(unstage)
31301 @[ -f ./expect/Makefile ] || exit 0; \
31302 r=`${PWD_COMMAND}`; export r; \
31303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31304 $(HOST_EXPORTS) \
31305 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31307 done; \
31308 echo "Doing mostlyclean in expect" ; \
31309 (cd $(HOST_SUBDIR)/expect && \
31310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31312 "RANLIB=$${RANLIB}" \
31313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31314 mostlyclean) \
31315 || exit 1
31317 @endif expect
31319 .PHONY: maybe-clean-expect clean-expect
31320 maybe-clean-expect:
31321 @if expect
31322 maybe-clean-expect: clean-expect
31324 clean-expect:
31325 @: $(MAKE); $(unstage)
31326 @[ -f ./expect/Makefile ] || exit 0; \
31327 r=`${PWD_COMMAND}`; export r; \
31328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31329 $(HOST_EXPORTS) \
31330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31332 done; \
31333 echo "Doing clean in expect" ; \
31334 (cd $(HOST_SUBDIR)/expect && \
31335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31337 "RANLIB=$${RANLIB}" \
31338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31339 clean) \
31340 || exit 1
31342 @endif expect
31344 .PHONY: maybe-distclean-expect distclean-expect
31345 maybe-distclean-expect:
31346 @if expect
31347 maybe-distclean-expect: distclean-expect
31349 distclean-expect:
31350 @: $(MAKE); $(unstage)
31351 @[ -f ./expect/Makefile ] || exit 0; \
31352 r=`${PWD_COMMAND}`; export r; \
31353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31354 $(HOST_EXPORTS) \
31355 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31357 done; \
31358 echo "Doing distclean in expect" ; \
31359 (cd $(HOST_SUBDIR)/expect && \
31360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31362 "RANLIB=$${RANLIB}" \
31363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31364 distclean) \
31365 || exit 1
31367 @endif expect
31369 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
31370 maybe-maintainer-clean-expect:
31371 @if expect
31372 maybe-maintainer-clean-expect: maintainer-clean-expect
31374 maintainer-clean-expect:
31375 @: $(MAKE); $(unstage)
31376 @[ -f ./expect/Makefile ] || exit 0; \
31377 r=`${PWD_COMMAND}`; export r; \
31378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31379 $(HOST_EXPORTS) \
31380 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31382 done; \
31383 echo "Doing maintainer-clean in expect" ; \
31384 (cd $(HOST_SUBDIR)/expect && \
31385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31387 "RANLIB=$${RANLIB}" \
31388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31389 maintainer-clean) \
31390 || exit 1
31392 @endif expect
31396 .PHONY: configure-guile maybe-configure-guile
31397 maybe-configure-guile:
31398 @if gcc-bootstrap
31399 configure-guile: stage_current
31400 @endif gcc-bootstrap
31401 @if guile
31402 maybe-configure-guile: configure-guile
31403 configure-guile:
31404 @: $(MAKE); $(unstage)
31405 @r=`${PWD_COMMAND}`; export r; \
31406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31407 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
31408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
31409 $(HOST_EXPORTS) \
31410 echo Configuring in $(HOST_SUBDIR)/guile; \
31411 cd "$(HOST_SUBDIR)/guile" || exit 1; \
31412 case $(srcdir) in \
31413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31414 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
31415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31416 esac; \
31417 srcdiroption="--srcdir=$${topdir}/guile"; \
31418 libsrcdir="$$s/guile"; \
31419 $(SHELL) $${libsrcdir}/configure \
31420 $(HOST_CONFIGARGS) $${srcdiroption} \
31421 || exit 1
31422 @endif guile
31428 .PHONY: all-guile maybe-all-guile
31429 maybe-all-guile:
31430 @if gcc-bootstrap
31431 all-guile: stage_current
31432 @endif gcc-bootstrap
31433 @if guile
31434 TARGET-guile=all
31435 maybe-all-guile: all-guile
31436 all-guile: configure-guile
31437 @: $(MAKE); $(unstage)
31438 @r=`${PWD_COMMAND}`; export r; \
31439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31440 $(HOST_EXPORTS) \
31441 (cd $(HOST_SUBDIR)/guile && \
31442 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
31443 @endif guile
31448 .PHONY: check-guile maybe-check-guile
31449 maybe-check-guile:
31450 @if guile
31451 maybe-check-guile: check-guile
31453 check-guile:
31454 @: $(MAKE); $(unstage)
31455 @r=`${PWD_COMMAND}`; export r; \
31456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31457 $(HOST_EXPORTS) \
31458 (cd $(HOST_SUBDIR)/guile && \
31459 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31461 @endif guile
31463 .PHONY: install-guile maybe-install-guile
31464 maybe-install-guile:
31465 @if guile
31466 maybe-install-guile: install-guile
31468 install-guile: installdirs
31469 @: $(MAKE); $(unstage)
31470 @r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(HOST_EXPORTS) \
31473 (cd $(HOST_SUBDIR)/guile && \
31474 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31476 @endif guile
31478 # Other targets (info, dvi, pdf, etc.)
31480 .PHONY: maybe-info-guile info-guile
31481 maybe-info-guile:
31482 @if guile
31483 maybe-info-guile: info-guile
31485 info-guile: \
31486 configure-guile
31487 @: $(MAKE); $(unstage)
31488 @[ -f ./guile/Makefile ] || exit 0; \
31489 r=`${PWD_COMMAND}`; export r; \
31490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31491 $(HOST_EXPORTS) \
31492 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31494 done; \
31495 echo "Doing info in guile" ; \
31496 (cd $(HOST_SUBDIR)/guile && \
31497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31499 "RANLIB=$${RANLIB}" \
31500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31501 info) \
31502 || exit 1
31504 @endif guile
31506 .PHONY: maybe-dvi-guile dvi-guile
31507 maybe-dvi-guile:
31508 @if guile
31509 maybe-dvi-guile: dvi-guile
31511 dvi-guile: \
31512 configure-guile
31513 @: $(MAKE); $(unstage)
31514 @[ -f ./guile/Makefile ] || exit 0; \
31515 r=`${PWD_COMMAND}`; export r; \
31516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31517 $(HOST_EXPORTS) \
31518 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31520 done; \
31521 echo "Doing dvi in guile" ; \
31522 (cd $(HOST_SUBDIR)/guile && \
31523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31525 "RANLIB=$${RANLIB}" \
31526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31527 dvi) \
31528 || exit 1
31530 @endif guile
31532 .PHONY: maybe-pdf-guile pdf-guile
31533 maybe-pdf-guile:
31534 @if guile
31535 maybe-pdf-guile: pdf-guile
31537 pdf-guile: \
31538 configure-guile
31539 @: $(MAKE); $(unstage)
31540 @[ -f ./guile/Makefile ] || exit 0; \
31541 r=`${PWD_COMMAND}`; export r; \
31542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31543 $(HOST_EXPORTS) \
31544 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31546 done; \
31547 echo "Doing pdf in guile" ; \
31548 (cd $(HOST_SUBDIR)/guile && \
31549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31551 "RANLIB=$${RANLIB}" \
31552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31553 pdf) \
31554 || exit 1
31556 @endif guile
31558 .PHONY: maybe-html-guile html-guile
31559 maybe-html-guile:
31560 @if guile
31561 maybe-html-guile: html-guile
31563 html-guile: \
31564 configure-guile
31565 @: $(MAKE); $(unstage)
31566 @[ -f ./guile/Makefile ] || exit 0; \
31567 r=`${PWD_COMMAND}`; export r; \
31568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31569 $(HOST_EXPORTS) \
31570 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31572 done; \
31573 echo "Doing html in guile" ; \
31574 (cd $(HOST_SUBDIR)/guile && \
31575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31577 "RANLIB=$${RANLIB}" \
31578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31579 html) \
31580 || exit 1
31582 @endif guile
31584 .PHONY: maybe-TAGS-guile TAGS-guile
31585 maybe-TAGS-guile:
31586 @if guile
31587 maybe-TAGS-guile: TAGS-guile
31589 TAGS-guile: \
31590 configure-guile
31591 @: $(MAKE); $(unstage)
31592 @[ -f ./guile/Makefile ] || exit 0; \
31593 r=`${PWD_COMMAND}`; export r; \
31594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31595 $(HOST_EXPORTS) \
31596 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31598 done; \
31599 echo "Doing TAGS in guile" ; \
31600 (cd $(HOST_SUBDIR)/guile && \
31601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31603 "RANLIB=$${RANLIB}" \
31604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31605 TAGS) \
31606 || exit 1
31608 @endif guile
31610 .PHONY: maybe-install-info-guile install-info-guile
31611 maybe-install-info-guile:
31612 @if guile
31613 maybe-install-info-guile: install-info-guile
31615 install-info-guile: \
31616 configure-guile \
31617 info-guile
31618 @: $(MAKE); $(unstage)
31619 @[ -f ./guile/Makefile ] || exit 0; \
31620 r=`${PWD_COMMAND}`; export r; \
31621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31622 $(HOST_EXPORTS) \
31623 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31625 done; \
31626 echo "Doing install-info in guile" ; \
31627 (cd $(HOST_SUBDIR)/guile && \
31628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31630 "RANLIB=$${RANLIB}" \
31631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31632 install-info) \
31633 || exit 1
31635 @endif guile
31637 .PHONY: maybe-install-html-guile install-html-guile
31638 maybe-install-html-guile:
31639 @if guile
31640 maybe-install-html-guile: install-html-guile
31642 install-html-guile: \
31643 configure-guile \
31644 html-guile
31645 @: $(MAKE); $(unstage)
31646 @[ -f ./guile/Makefile ] || exit 0; \
31647 r=`${PWD_COMMAND}`; export r; \
31648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31649 $(HOST_EXPORTS) \
31650 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31652 done; \
31653 echo "Doing install-html in guile" ; \
31654 (cd $(HOST_SUBDIR)/guile && \
31655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31657 "RANLIB=$${RANLIB}" \
31658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31659 install-html) \
31660 || exit 1
31662 @endif guile
31664 .PHONY: maybe-installcheck-guile installcheck-guile
31665 maybe-installcheck-guile:
31666 @if guile
31667 maybe-installcheck-guile: installcheck-guile
31669 installcheck-guile: \
31670 configure-guile
31671 @: $(MAKE); $(unstage)
31672 @[ -f ./guile/Makefile ] || exit 0; \
31673 r=`${PWD_COMMAND}`; export r; \
31674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31675 $(HOST_EXPORTS) \
31676 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31678 done; \
31679 echo "Doing installcheck in guile" ; \
31680 (cd $(HOST_SUBDIR)/guile && \
31681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31683 "RANLIB=$${RANLIB}" \
31684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31685 installcheck) \
31686 || exit 1
31688 @endif guile
31690 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
31691 maybe-mostlyclean-guile:
31692 @if guile
31693 maybe-mostlyclean-guile: mostlyclean-guile
31695 mostlyclean-guile:
31696 @: $(MAKE); $(unstage)
31697 @[ -f ./guile/Makefile ] || exit 0; \
31698 r=`${PWD_COMMAND}`; export r; \
31699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31700 $(HOST_EXPORTS) \
31701 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31703 done; \
31704 echo "Doing mostlyclean in guile" ; \
31705 (cd $(HOST_SUBDIR)/guile && \
31706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31708 "RANLIB=$${RANLIB}" \
31709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31710 mostlyclean) \
31711 || exit 1
31713 @endif guile
31715 .PHONY: maybe-clean-guile clean-guile
31716 maybe-clean-guile:
31717 @if guile
31718 maybe-clean-guile: clean-guile
31720 clean-guile:
31721 @: $(MAKE); $(unstage)
31722 @[ -f ./guile/Makefile ] || exit 0; \
31723 r=`${PWD_COMMAND}`; export r; \
31724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31725 $(HOST_EXPORTS) \
31726 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31728 done; \
31729 echo "Doing clean in guile" ; \
31730 (cd $(HOST_SUBDIR)/guile && \
31731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31733 "RANLIB=$${RANLIB}" \
31734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31735 clean) \
31736 || exit 1
31738 @endif guile
31740 .PHONY: maybe-distclean-guile distclean-guile
31741 maybe-distclean-guile:
31742 @if guile
31743 maybe-distclean-guile: distclean-guile
31745 distclean-guile:
31746 @: $(MAKE); $(unstage)
31747 @[ -f ./guile/Makefile ] || exit 0; \
31748 r=`${PWD_COMMAND}`; export r; \
31749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31750 $(HOST_EXPORTS) \
31751 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31753 done; \
31754 echo "Doing distclean in guile" ; \
31755 (cd $(HOST_SUBDIR)/guile && \
31756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31758 "RANLIB=$${RANLIB}" \
31759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31760 distclean) \
31761 || exit 1
31763 @endif guile
31765 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
31766 maybe-maintainer-clean-guile:
31767 @if guile
31768 maybe-maintainer-clean-guile: maintainer-clean-guile
31770 maintainer-clean-guile:
31771 @: $(MAKE); $(unstage)
31772 @[ -f ./guile/Makefile ] || exit 0; \
31773 r=`${PWD_COMMAND}`; export r; \
31774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31775 $(HOST_EXPORTS) \
31776 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31778 done; \
31779 echo "Doing maintainer-clean in guile" ; \
31780 (cd $(HOST_SUBDIR)/guile && \
31781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31783 "RANLIB=$${RANLIB}" \
31784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31785 maintainer-clean) \
31786 || exit 1
31788 @endif guile
31792 .PHONY: configure-tk maybe-configure-tk
31793 maybe-configure-tk:
31794 @if gcc-bootstrap
31795 configure-tk: stage_current
31796 @endif gcc-bootstrap
31797 @if tk
31798 maybe-configure-tk: configure-tk
31799 configure-tk:
31800 @: $(MAKE); $(unstage)
31801 @r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
31804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
31805 $(HOST_EXPORTS) \
31806 echo Configuring in $(HOST_SUBDIR)/tk; \
31807 cd "$(HOST_SUBDIR)/tk" || exit 1; \
31808 case $(srcdir) in \
31809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31810 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
31811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31812 esac; \
31813 srcdiroption="--srcdir=$${topdir}/tk"; \
31814 libsrcdir="$$s/tk"; \
31815 $(SHELL) $${libsrcdir}/configure \
31816 $(HOST_CONFIGARGS) $${srcdiroption} \
31817 || exit 1
31818 @endif tk
31824 .PHONY: all-tk maybe-all-tk
31825 maybe-all-tk:
31826 @if gcc-bootstrap
31827 all-tk: stage_current
31828 @endif gcc-bootstrap
31829 @if tk
31830 TARGET-tk=all
31831 maybe-all-tk: all-tk
31832 all-tk: configure-tk
31833 @: $(MAKE); $(unstage)
31834 @r=`${PWD_COMMAND}`; export r; \
31835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31836 $(HOST_EXPORTS) \
31837 (cd $(HOST_SUBDIR)/tk && \
31838 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
31839 @endif tk
31844 .PHONY: check-tk maybe-check-tk
31845 maybe-check-tk:
31846 @if tk
31847 maybe-check-tk: check-tk
31849 check-tk:
31850 @: $(MAKE); $(unstage)
31851 @r=`${PWD_COMMAND}`; export r; \
31852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31853 $(HOST_EXPORTS) \
31854 (cd $(HOST_SUBDIR)/tk && \
31855 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31857 @endif tk
31859 .PHONY: install-tk maybe-install-tk
31860 maybe-install-tk:
31861 @if tk
31862 maybe-install-tk: install-tk
31864 install-tk: installdirs
31865 @: $(MAKE); $(unstage)
31866 @r=`${PWD_COMMAND}`; export r; \
31867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31868 $(HOST_EXPORTS) \
31869 (cd $(HOST_SUBDIR)/tk && \
31870 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31872 @endif tk
31874 # Other targets (info, dvi, pdf, etc.)
31876 .PHONY: maybe-info-tk info-tk
31877 maybe-info-tk:
31878 @if tk
31879 maybe-info-tk: info-tk
31881 info-tk: \
31882 configure-tk
31883 @: $(MAKE); $(unstage)
31884 @[ -f ./tk/Makefile ] || exit 0; \
31885 r=`${PWD_COMMAND}`; export r; \
31886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31887 $(HOST_EXPORTS) \
31888 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31890 done; \
31891 echo "Doing info in tk" ; \
31892 (cd $(HOST_SUBDIR)/tk && \
31893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31895 "RANLIB=$${RANLIB}" \
31896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31897 info) \
31898 || exit 1
31900 @endif tk
31902 .PHONY: maybe-dvi-tk dvi-tk
31903 maybe-dvi-tk:
31904 @if tk
31905 maybe-dvi-tk: dvi-tk
31907 dvi-tk: \
31908 configure-tk
31909 @: $(MAKE); $(unstage)
31910 @[ -f ./tk/Makefile ] || exit 0; \
31911 r=`${PWD_COMMAND}`; export r; \
31912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31913 $(HOST_EXPORTS) \
31914 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31916 done; \
31917 echo "Doing dvi in tk" ; \
31918 (cd $(HOST_SUBDIR)/tk && \
31919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31921 "RANLIB=$${RANLIB}" \
31922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31923 dvi) \
31924 || exit 1
31926 @endif tk
31928 .PHONY: maybe-pdf-tk pdf-tk
31929 maybe-pdf-tk:
31930 @if tk
31931 maybe-pdf-tk: pdf-tk
31933 pdf-tk: \
31934 configure-tk
31935 @: $(MAKE); $(unstage)
31936 @[ -f ./tk/Makefile ] || exit 0; \
31937 r=`${PWD_COMMAND}`; export r; \
31938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31939 $(HOST_EXPORTS) \
31940 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31942 done; \
31943 echo "Doing pdf in tk" ; \
31944 (cd $(HOST_SUBDIR)/tk && \
31945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31947 "RANLIB=$${RANLIB}" \
31948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31949 pdf) \
31950 || exit 1
31952 @endif tk
31954 .PHONY: maybe-html-tk html-tk
31955 maybe-html-tk:
31956 @if tk
31957 maybe-html-tk: html-tk
31959 html-tk: \
31960 configure-tk
31961 @: $(MAKE); $(unstage)
31962 @[ -f ./tk/Makefile ] || exit 0; \
31963 r=`${PWD_COMMAND}`; export r; \
31964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31965 $(HOST_EXPORTS) \
31966 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31968 done; \
31969 echo "Doing html in tk" ; \
31970 (cd $(HOST_SUBDIR)/tk && \
31971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31973 "RANLIB=$${RANLIB}" \
31974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31975 html) \
31976 || exit 1
31978 @endif tk
31980 .PHONY: maybe-TAGS-tk TAGS-tk
31981 maybe-TAGS-tk:
31982 @if tk
31983 maybe-TAGS-tk: TAGS-tk
31985 TAGS-tk: \
31986 configure-tk
31987 @: $(MAKE); $(unstage)
31988 @[ -f ./tk/Makefile ] || exit 0; \
31989 r=`${PWD_COMMAND}`; export r; \
31990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31991 $(HOST_EXPORTS) \
31992 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31994 done; \
31995 echo "Doing TAGS in tk" ; \
31996 (cd $(HOST_SUBDIR)/tk && \
31997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31999 "RANLIB=$${RANLIB}" \
32000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32001 TAGS) \
32002 || exit 1
32004 @endif tk
32006 .PHONY: maybe-install-info-tk install-info-tk
32007 maybe-install-info-tk:
32008 @if tk
32009 maybe-install-info-tk: install-info-tk
32011 install-info-tk: \
32012 configure-tk \
32013 info-tk
32014 @: $(MAKE); $(unstage)
32015 @[ -f ./tk/Makefile ] || exit 0; \
32016 r=`${PWD_COMMAND}`; export r; \
32017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32018 $(HOST_EXPORTS) \
32019 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32021 done; \
32022 echo "Doing install-info in tk" ; \
32023 (cd $(HOST_SUBDIR)/tk && \
32024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32026 "RANLIB=$${RANLIB}" \
32027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32028 install-info) \
32029 || exit 1
32031 @endif tk
32033 .PHONY: maybe-install-html-tk install-html-tk
32034 maybe-install-html-tk:
32035 @if tk
32036 maybe-install-html-tk: install-html-tk
32038 install-html-tk: \
32039 configure-tk \
32040 html-tk
32041 @: $(MAKE); $(unstage)
32042 @[ -f ./tk/Makefile ] || exit 0; \
32043 r=`${PWD_COMMAND}`; export r; \
32044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32045 $(HOST_EXPORTS) \
32046 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32048 done; \
32049 echo "Doing install-html in tk" ; \
32050 (cd $(HOST_SUBDIR)/tk && \
32051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32053 "RANLIB=$${RANLIB}" \
32054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32055 install-html) \
32056 || exit 1
32058 @endif tk
32060 .PHONY: maybe-installcheck-tk installcheck-tk
32061 maybe-installcheck-tk:
32062 @if tk
32063 maybe-installcheck-tk: installcheck-tk
32065 installcheck-tk: \
32066 configure-tk
32067 @: $(MAKE); $(unstage)
32068 @[ -f ./tk/Makefile ] || exit 0; \
32069 r=`${PWD_COMMAND}`; export r; \
32070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32071 $(HOST_EXPORTS) \
32072 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32074 done; \
32075 echo "Doing installcheck in tk" ; \
32076 (cd $(HOST_SUBDIR)/tk && \
32077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32079 "RANLIB=$${RANLIB}" \
32080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32081 installcheck) \
32082 || exit 1
32084 @endif tk
32086 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32087 maybe-mostlyclean-tk:
32088 @if tk
32089 maybe-mostlyclean-tk: mostlyclean-tk
32091 mostlyclean-tk:
32092 @: $(MAKE); $(unstage)
32093 @[ -f ./tk/Makefile ] || exit 0; \
32094 r=`${PWD_COMMAND}`; export r; \
32095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32096 $(HOST_EXPORTS) \
32097 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32099 done; \
32100 echo "Doing mostlyclean in tk" ; \
32101 (cd $(HOST_SUBDIR)/tk && \
32102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32104 "RANLIB=$${RANLIB}" \
32105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32106 mostlyclean) \
32107 || exit 1
32109 @endif tk
32111 .PHONY: maybe-clean-tk clean-tk
32112 maybe-clean-tk:
32113 @if tk
32114 maybe-clean-tk: clean-tk
32116 clean-tk:
32117 @: $(MAKE); $(unstage)
32118 @[ -f ./tk/Makefile ] || exit 0; \
32119 r=`${PWD_COMMAND}`; export r; \
32120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32121 $(HOST_EXPORTS) \
32122 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32124 done; \
32125 echo "Doing clean in tk" ; \
32126 (cd $(HOST_SUBDIR)/tk && \
32127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32129 "RANLIB=$${RANLIB}" \
32130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32131 clean) \
32132 || exit 1
32134 @endif tk
32136 .PHONY: maybe-distclean-tk distclean-tk
32137 maybe-distclean-tk:
32138 @if tk
32139 maybe-distclean-tk: distclean-tk
32141 distclean-tk:
32142 @: $(MAKE); $(unstage)
32143 @[ -f ./tk/Makefile ] || exit 0; \
32144 r=`${PWD_COMMAND}`; export r; \
32145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32146 $(HOST_EXPORTS) \
32147 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32149 done; \
32150 echo "Doing distclean in tk" ; \
32151 (cd $(HOST_SUBDIR)/tk && \
32152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32154 "RANLIB=$${RANLIB}" \
32155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32156 distclean) \
32157 || exit 1
32159 @endif tk
32161 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
32162 maybe-maintainer-clean-tk:
32163 @if tk
32164 maybe-maintainer-clean-tk: maintainer-clean-tk
32166 maintainer-clean-tk:
32167 @: $(MAKE); $(unstage)
32168 @[ -f ./tk/Makefile ] || exit 0; \
32169 r=`${PWD_COMMAND}`; export r; \
32170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32171 $(HOST_EXPORTS) \
32172 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32174 done; \
32175 echo "Doing maintainer-clean in tk" ; \
32176 (cd $(HOST_SUBDIR)/tk && \
32177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32179 "RANLIB=$${RANLIB}" \
32180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32181 maintainer-clean) \
32182 || exit 1
32184 @endif tk
32188 .PHONY: configure-libtermcap maybe-configure-libtermcap
32189 maybe-configure-libtermcap:
32190 @if gcc-bootstrap
32191 configure-libtermcap: stage_current
32192 @endif gcc-bootstrap
32193 @if libtermcap
32194 maybe-configure-libtermcap: configure-libtermcap
32195 configure-libtermcap:
32196 @: $(MAKE); $(unstage)
32197 @r=`${PWD_COMMAND}`; export r; \
32198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32199 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
32200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
32201 $(HOST_EXPORTS) \
32202 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
32203 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
32204 case $(srcdir) in \
32205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32206 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
32207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32208 esac; \
32209 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32210 libsrcdir="$$s/libtermcap"; \
32211 $(SHELL) $${libsrcdir}/configure \
32212 $(HOST_CONFIGARGS) $${srcdiroption} \
32213 || exit 1
32214 @endif libtermcap
32220 .PHONY: all-libtermcap maybe-all-libtermcap
32221 maybe-all-libtermcap:
32222 @if gcc-bootstrap
32223 all-libtermcap: stage_current
32224 @endif gcc-bootstrap
32225 @if libtermcap
32226 TARGET-libtermcap=all
32227 maybe-all-libtermcap: all-libtermcap
32228 all-libtermcap: configure-libtermcap
32229 @: $(MAKE); $(unstage)
32230 @r=`${PWD_COMMAND}`; export r; \
32231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32232 $(HOST_EXPORTS) \
32233 (cd $(HOST_SUBDIR)/libtermcap && \
32234 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
32235 @endif libtermcap
32240 .PHONY: check-libtermcap maybe-check-libtermcap
32241 maybe-check-libtermcap:
32242 @if libtermcap
32243 maybe-check-libtermcap: check-libtermcap
32245 check-libtermcap:
32247 @endif libtermcap
32249 .PHONY: install-libtermcap maybe-install-libtermcap
32250 maybe-install-libtermcap:
32251 @if libtermcap
32252 maybe-install-libtermcap: install-libtermcap
32254 install-libtermcap: installdirs
32255 @: $(MAKE); $(unstage)
32256 @r=`${PWD_COMMAND}`; export r; \
32257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32258 $(HOST_EXPORTS) \
32259 (cd $(HOST_SUBDIR)/libtermcap && \
32260 $(MAKE) $(FLAGS_TO_PASS) install)
32262 @endif libtermcap
32264 # Other targets (info, dvi, pdf, etc.)
32266 .PHONY: maybe-info-libtermcap info-libtermcap
32267 maybe-info-libtermcap:
32268 @if libtermcap
32269 maybe-info-libtermcap: info-libtermcap
32271 info-libtermcap: \
32272 configure-libtermcap
32273 @: $(MAKE); $(unstage)
32274 @[ -f ./libtermcap/Makefile ] || exit 0; \
32275 r=`${PWD_COMMAND}`; export r; \
32276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32277 $(HOST_EXPORTS) \
32278 for flag in $(EXTRA_HOST_FLAGS) ; do \
32279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32280 done; \
32281 echo "Doing info in libtermcap" ; \
32282 (cd $(HOST_SUBDIR)/libtermcap && \
32283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32285 "RANLIB=$${RANLIB}" \
32286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32287 info) \
32288 || exit 1
32290 @endif libtermcap
32292 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
32293 maybe-dvi-libtermcap:
32294 @if libtermcap
32295 maybe-dvi-libtermcap: dvi-libtermcap
32297 dvi-libtermcap: \
32298 configure-libtermcap
32299 @: $(MAKE); $(unstage)
32300 @[ -f ./libtermcap/Makefile ] || exit 0; \
32301 r=`${PWD_COMMAND}`; export r; \
32302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32303 $(HOST_EXPORTS) \
32304 for flag in $(EXTRA_HOST_FLAGS) ; do \
32305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32306 done; \
32307 echo "Doing dvi in libtermcap" ; \
32308 (cd $(HOST_SUBDIR)/libtermcap && \
32309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32311 "RANLIB=$${RANLIB}" \
32312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32313 dvi) \
32314 || exit 1
32316 @endif libtermcap
32318 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
32319 maybe-pdf-libtermcap:
32320 @if libtermcap
32321 maybe-pdf-libtermcap: pdf-libtermcap
32323 pdf-libtermcap: \
32324 configure-libtermcap
32325 @: $(MAKE); $(unstage)
32326 @[ -f ./libtermcap/Makefile ] || exit 0; \
32327 r=`${PWD_COMMAND}`; export r; \
32328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32329 $(HOST_EXPORTS) \
32330 for flag in $(EXTRA_HOST_FLAGS) ; do \
32331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32332 done; \
32333 echo "Doing pdf in libtermcap" ; \
32334 (cd $(HOST_SUBDIR)/libtermcap && \
32335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32337 "RANLIB=$${RANLIB}" \
32338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32339 pdf) \
32340 || exit 1
32342 @endif libtermcap
32344 .PHONY: maybe-html-libtermcap html-libtermcap
32345 maybe-html-libtermcap:
32346 @if libtermcap
32347 maybe-html-libtermcap: html-libtermcap
32349 html-libtermcap: \
32350 configure-libtermcap
32351 @: $(MAKE); $(unstage)
32352 @[ -f ./libtermcap/Makefile ] || exit 0; \
32353 r=`${PWD_COMMAND}`; export r; \
32354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32355 $(HOST_EXPORTS) \
32356 for flag in $(EXTRA_HOST_FLAGS) ; do \
32357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32358 done; \
32359 echo "Doing html in libtermcap" ; \
32360 (cd $(HOST_SUBDIR)/libtermcap && \
32361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32363 "RANLIB=$${RANLIB}" \
32364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32365 html) \
32366 || exit 1
32368 @endif libtermcap
32370 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
32371 maybe-TAGS-libtermcap:
32372 @if libtermcap
32373 maybe-TAGS-libtermcap: TAGS-libtermcap
32375 TAGS-libtermcap: \
32376 configure-libtermcap
32377 @: $(MAKE); $(unstage)
32378 @[ -f ./libtermcap/Makefile ] || exit 0; \
32379 r=`${PWD_COMMAND}`; export r; \
32380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32381 $(HOST_EXPORTS) \
32382 for flag in $(EXTRA_HOST_FLAGS) ; do \
32383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32384 done; \
32385 echo "Doing TAGS in libtermcap" ; \
32386 (cd $(HOST_SUBDIR)/libtermcap && \
32387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32389 "RANLIB=$${RANLIB}" \
32390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32391 TAGS) \
32392 || exit 1
32394 @endif libtermcap
32396 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
32397 maybe-install-info-libtermcap:
32398 @if libtermcap
32399 maybe-install-info-libtermcap: install-info-libtermcap
32401 install-info-libtermcap: \
32402 configure-libtermcap \
32403 info-libtermcap
32404 @: $(MAKE); $(unstage)
32405 @[ -f ./libtermcap/Makefile ] || exit 0; \
32406 r=`${PWD_COMMAND}`; export r; \
32407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32408 $(HOST_EXPORTS) \
32409 for flag in $(EXTRA_HOST_FLAGS) ; do \
32410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32411 done; \
32412 echo "Doing install-info in libtermcap" ; \
32413 (cd $(HOST_SUBDIR)/libtermcap && \
32414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32416 "RANLIB=$${RANLIB}" \
32417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32418 install-info) \
32419 || exit 1
32421 @endif libtermcap
32423 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
32424 maybe-install-html-libtermcap:
32425 @if libtermcap
32426 maybe-install-html-libtermcap: install-html-libtermcap
32428 install-html-libtermcap: \
32429 configure-libtermcap \
32430 html-libtermcap
32431 @: $(MAKE); $(unstage)
32432 @[ -f ./libtermcap/Makefile ] || exit 0; \
32433 r=`${PWD_COMMAND}`; export r; \
32434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32435 $(HOST_EXPORTS) \
32436 for flag in $(EXTRA_HOST_FLAGS) ; do \
32437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32438 done; \
32439 echo "Doing install-html in libtermcap" ; \
32440 (cd $(HOST_SUBDIR)/libtermcap && \
32441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32443 "RANLIB=$${RANLIB}" \
32444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32445 install-html) \
32446 || exit 1
32448 @endif libtermcap
32450 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
32451 maybe-installcheck-libtermcap:
32452 @if libtermcap
32453 maybe-installcheck-libtermcap: installcheck-libtermcap
32455 installcheck-libtermcap: \
32456 configure-libtermcap
32457 @: $(MAKE); $(unstage)
32458 @[ -f ./libtermcap/Makefile ] || exit 0; \
32459 r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(HOST_EXPORTS) \
32462 for flag in $(EXTRA_HOST_FLAGS) ; do \
32463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32464 done; \
32465 echo "Doing installcheck in libtermcap" ; \
32466 (cd $(HOST_SUBDIR)/libtermcap && \
32467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32469 "RANLIB=$${RANLIB}" \
32470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32471 installcheck) \
32472 || exit 1
32474 @endif libtermcap
32476 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
32477 maybe-mostlyclean-libtermcap:
32478 @if libtermcap
32479 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
32481 # libtermcap doesn't support mostlyclean.
32482 mostlyclean-libtermcap:
32484 @endif libtermcap
32486 .PHONY: maybe-clean-libtermcap clean-libtermcap
32487 maybe-clean-libtermcap:
32488 @if libtermcap
32489 maybe-clean-libtermcap: clean-libtermcap
32491 # libtermcap doesn't support clean.
32492 clean-libtermcap:
32494 @endif libtermcap
32496 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
32497 maybe-distclean-libtermcap:
32498 @if libtermcap
32499 maybe-distclean-libtermcap: distclean-libtermcap
32501 # libtermcap doesn't support distclean.
32502 distclean-libtermcap:
32504 @endif libtermcap
32506 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
32507 maybe-maintainer-clean-libtermcap:
32508 @if libtermcap
32509 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
32511 # libtermcap doesn't support maintainer-clean.
32512 maintainer-clean-libtermcap:
32514 @endif libtermcap
32518 .PHONY: configure-utils maybe-configure-utils
32519 maybe-configure-utils:
32520 @if gcc-bootstrap
32521 configure-utils: stage_current
32522 @endif gcc-bootstrap
32523 @if utils
32524 maybe-configure-utils: configure-utils
32525 configure-utils:
32526 @: $(MAKE); $(unstage)
32527 @r=`${PWD_COMMAND}`; export r; \
32528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32529 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
32530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
32531 $(HOST_EXPORTS) \
32532 echo Configuring in $(HOST_SUBDIR)/utils; \
32533 cd "$(HOST_SUBDIR)/utils" || exit 1; \
32534 case $(srcdir) in \
32535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32536 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
32537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32538 esac; \
32539 srcdiroption="--srcdir=$${topdir}/utils"; \
32540 libsrcdir="$$s/utils"; \
32541 $(SHELL) $${libsrcdir}/configure \
32542 $(HOST_CONFIGARGS) $${srcdiroption} \
32543 || exit 1
32544 @endif utils
32550 .PHONY: all-utils maybe-all-utils
32551 maybe-all-utils:
32552 @if gcc-bootstrap
32553 all-utils: stage_current
32554 @endif gcc-bootstrap
32555 @if utils
32556 TARGET-utils=all
32557 maybe-all-utils: all-utils
32558 all-utils: configure-utils
32559 @: $(MAKE); $(unstage)
32560 @r=`${PWD_COMMAND}`; export r; \
32561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32562 $(HOST_EXPORTS) \
32563 (cd $(HOST_SUBDIR)/utils && \
32564 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
32565 @endif utils
32570 .PHONY: check-utils maybe-check-utils
32571 maybe-check-utils:
32572 @if utils
32573 maybe-check-utils: check-utils
32575 check-utils:
32577 @endif utils
32579 .PHONY: install-utils maybe-install-utils
32580 maybe-install-utils:
32581 @if utils
32582 maybe-install-utils: install-utils
32584 install-utils: installdirs
32585 @: $(MAKE); $(unstage)
32586 @r=`${PWD_COMMAND}`; export r; \
32587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32588 $(HOST_EXPORTS) \
32589 (cd $(HOST_SUBDIR)/utils && \
32590 $(MAKE) $(FLAGS_TO_PASS) install)
32592 @endif utils
32594 # Other targets (info, dvi, pdf, etc.)
32596 .PHONY: maybe-info-utils info-utils
32597 maybe-info-utils:
32598 @if utils
32599 maybe-info-utils: info-utils
32601 info-utils: \
32602 configure-utils
32603 @: $(MAKE); $(unstage)
32604 @[ -f ./utils/Makefile ] || exit 0; \
32605 r=`${PWD_COMMAND}`; export r; \
32606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32607 $(HOST_EXPORTS) \
32608 for flag in $(EXTRA_HOST_FLAGS) ; do \
32609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32610 done; \
32611 echo "Doing info in utils" ; \
32612 (cd $(HOST_SUBDIR)/utils && \
32613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32615 "RANLIB=$${RANLIB}" \
32616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32617 info) \
32618 || exit 1
32620 @endif utils
32622 .PHONY: maybe-dvi-utils dvi-utils
32623 maybe-dvi-utils:
32624 @if utils
32625 maybe-dvi-utils: dvi-utils
32627 dvi-utils: \
32628 configure-utils
32629 @: $(MAKE); $(unstage)
32630 @[ -f ./utils/Makefile ] || exit 0; \
32631 r=`${PWD_COMMAND}`; export r; \
32632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32633 $(HOST_EXPORTS) \
32634 for flag in $(EXTRA_HOST_FLAGS) ; do \
32635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32636 done; \
32637 echo "Doing dvi in utils" ; \
32638 (cd $(HOST_SUBDIR)/utils && \
32639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32641 "RANLIB=$${RANLIB}" \
32642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32643 dvi) \
32644 || exit 1
32646 @endif utils
32648 .PHONY: maybe-pdf-utils pdf-utils
32649 maybe-pdf-utils:
32650 @if utils
32651 maybe-pdf-utils: pdf-utils
32653 pdf-utils: \
32654 configure-utils
32655 @: $(MAKE); $(unstage)
32656 @[ -f ./utils/Makefile ] || exit 0; \
32657 r=`${PWD_COMMAND}`; export r; \
32658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32659 $(HOST_EXPORTS) \
32660 for flag in $(EXTRA_HOST_FLAGS) ; do \
32661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32662 done; \
32663 echo "Doing pdf in utils" ; \
32664 (cd $(HOST_SUBDIR)/utils && \
32665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32667 "RANLIB=$${RANLIB}" \
32668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32669 pdf) \
32670 || exit 1
32672 @endif utils
32674 .PHONY: maybe-html-utils html-utils
32675 maybe-html-utils:
32676 @if utils
32677 maybe-html-utils: html-utils
32679 html-utils: \
32680 configure-utils
32681 @: $(MAKE); $(unstage)
32682 @[ -f ./utils/Makefile ] || exit 0; \
32683 r=`${PWD_COMMAND}`; export r; \
32684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32685 $(HOST_EXPORTS) \
32686 for flag in $(EXTRA_HOST_FLAGS) ; do \
32687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32688 done; \
32689 echo "Doing html in utils" ; \
32690 (cd $(HOST_SUBDIR)/utils && \
32691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32693 "RANLIB=$${RANLIB}" \
32694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32695 html) \
32696 || exit 1
32698 @endif utils
32700 .PHONY: maybe-TAGS-utils TAGS-utils
32701 maybe-TAGS-utils:
32702 @if utils
32703 maybe-TAGS-utils: TAGS-utils
32705 TAGS-utils: \
32706 configure-utils
32707 @: $(MAKE); $(unstage)
32708 @[ -f ./utils/Makefile ] || exit 0; \
32709 r=`${PWD_COMMAND}`; export r; \
32710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32711 $(HOST_EXPORTS) \
32712 for flag in $(EXTRA_HOST_FLAGS) ; do \
32713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32714 done; \
32715 echo "Doing TAGS in utils" ; \
32716 (cd $(HOST_SUBDIR)/utils && \
32717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32719 "RANLIB=$${RANLIB}" \
32720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32721 TAGS) \
32722 || exit 1
32724 @endif utils
32726 .PHONY: maybe-install-info-utils install-info-utils
32727 maybe-install-info-utils:
32728 @if utils
32729 maybe-install-info-utils: install-info-utils
32731 install-info-utils: \
32732 configure-utils \
32733 info-utils
32734 @: $(MAKE); $(unstage)
32735 @[ -f ./utils/Makefile ] || exit 0; \
32736 r=`${PWD_COMMAND}`; export r; \
32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32738 $(HOST_EXPORTS) \
32739 for flag in $(EXTRA_HOST_FLAGS) ; do \
32740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32741 done; \
32742 echo "Doing install-info in utils" ; \
32743 (cd $(HOST_SUBDIR)/utils && \
32744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32746 "RANLIB=$${RANLIB}" \
32747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32748 install-info) \
32749 || exit 1
32751 @endif utils
32753 .PHONY: maybe-install-html-utils install-html-utils
32754 maybe-install-html-utils:
32755 @if utils
32756 maybe-install-html-utils: install-html-utils
32758 install-html-utils: \
32759 configure-utils \
32760 html-utils
32761 @: $(MAKE); $(unstage)
32762 @[ -f ./utils/Makefile ] || exit 0; \
32763 r=`${PWD_COMMAND}`; export r; \
32764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32765 $(HOST_EXPORTS) \
32766 for flag in $(EXTRA_HOST_FLAGS) ; do \
32767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32768 done; \
32769 echo "Doing install-html in utils" ; \
32770 (cd $(HOST_SUBDIR)/utils && \
32771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32773 "RANLIB=$${RANLIB}" \
32774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32775 install-html) \
32776 || exit 1
32778 @endif utils
32780 .PHONY: maybe-installcheck-utils installcheck-utils
32781 maybe-installcheck-utils:
32782 @if utils
32783 maybe-installcheck-utils: installcheck-utils
32785 installcheck-utils: \
32786 configure-utils
32787 @: $(MAKE); $(unstage)
32788 @[ -f ./utils/Makefile ] || exit 0; \
32789 r=`${PWD_COMMAND}`; export r; \
32790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32791 $(HOST_EXPORTS) \
32792 for flag in $(EXTRA_HOST_FLAGS) ; do \
32793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32794 done; \
32795 echo "Doing installcheck in utils" ; \
32796 (cd $(HOST_SUBDIR)/utils && \
32797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32799 "RANLIB=$${RANLIB}" \
32800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32801 installcheck) \
32802 || exit 1
32804 @endif utils
32806 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
32807 maybe-mostlyclean-utils:
32808 @if utils
32809 maybe-mostlyclean-utils: mostlyclean-utils
32811 mostlyclean-utils:
32812 @: $(MAKE); $(unstage)
32813 @[ -f ./utils/Makefile ] || exit 0; \
32814 r=`${PWD_COMMAND}`; export r; \
32815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32816 $(HOST_EXPORTS) \
32817 for flag in $(EXTRA_HOST_FLAGS) ; do \
32818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32819 done; \
32820 echo "Doing mostlyclean in utils" ; \
32821 (cd $(HOST_SUBDIR)/utils && \
32822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32824 "RANLIB=$${RANLIB}" \
32825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32826 mostlyclean) \
32827 || exit 1
32829 @endif utils
32831 .PHONY: maybe-clean-utils clean-utils
32832 maybe-clean-utils:
32833 @if utils
32834 maybe-clean-utils: clean-utils
32836 clean-utils:
32837 @: $(MAKE); $(unstage)
32838 @[ -f ./utils/Makefile ] || exit 0; \
32839 r=`${PWD_COMMAND}`; export r; \
32840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32841 $(HOST_EXPORTS) \
32842 for flag in $(EXTRA_HOST_FLAGS) ; do \
32843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32844 done; \
32845 echo "Doing clean in utils" ; \
32846 (cd $(HOST_SUBDIR)/utils && \
32847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32849 "RANLIB=$${RANLIB}" \
32850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32851 clean) \
32852 || exit 1
32854 @endif utils
32856 .PHONY: maybe-distclean-utils distclean-utils
32857 maybe-distclean-utils:
32858 @if utils
32859 maybe-distclean-utils: distclean-utils
32861 distclean-utils:
32862 @: $(MAKE); $(unstage)
32863 @[ -f ./utils/Makefile ] || exit 0; \
32864 r=`${PWD_COMMAND}`; export r; \
32865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32866 $(HOST_EXPORTS) \
32867 for flag in $(EXTRA_HOST_FLAGS) ; do \
32868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32869 done; \
32870 echo "Doing distclean in utils" ; \
32871 (cd $(HOST_SUBDIR)/utils && \
32872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32874 "RANLIB=$${RANLIB}" \
32875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32876 distclean) \
32877 || exit 1
32879 @endif utils
32881 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
32882 maybe-maintainer-clean-utils:
32883 @if utils
32884 maybe-maintainer-clean-utils: maintainer-clean-utils
32886 maintainer-clean-utils:
32887 @: $(MAKE); $(unstage)
32888 @[ -f ./utils/Makefile ] || exit 0; \
32889 r=`${PWD_COMMAND}`; export r; \
32890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32891 $(HOST_EXPORTS) \
32892 for flag in $(EXTRA_HOST_FLAGS) ; do \
32893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32894 done; \
32895 echo "Doing maintainer-clean in utils" ; \
32896 (cd $(HOST_SUBDIR)/utils && \
32897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32899 "RANLIB=$${RANLIB}" \
32900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32901 maintainer-clean) \
32902 || exit 1
32904 @endif utils
32908 .PHONY: configure-gnattools maybe-configure-gnattools
32909 maybe-configure-gnattools:
32910 @if gcc-bootstrap
32911 configure-gnattools: stage_current
32912 @endif gcc-bootstrap
32913 @if gnattools
32914 maybe-configure-gnattools: configure-gnattools
32915 configure-gnattools:
32916 @: $(MAKE); $(unstage)
32917 @r=`${PWD_COMMAND}`; export r; \
32918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32919 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
32920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
32921 $(HOST_EXPORTS) \
32922 echo Configuring in $(HOST_SUBDIR)/gnattools; \
32923 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
32924 case $(srcdir) in \
32925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32926 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
32927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32928 esac; \
32929 srcdiroption="--srcdir=$${topdir}/gnattools"; \
32930 libsrcdir="$$s/gnattools"; \
32931 $(SHELL) $${libsrcdir}/configure \
32932 $(HOST_CONFIGARGS) $${srcdiroption} \
32933 || exit 1
32934 @endif gnattools
32940 .PHONY: all-gnattools maybe-all-gnattools
32941 maybe-all-gnattools:
32942 @if gcc-bootstrap
32943 all-gnattools: stage_current
32944 @endif gcc-bootstrap
32945 @if gnattools
32946 TARGET-gnattools=all
32947 maybe-all-gnattools: all-gnattools
32948 all-gnattools: configure-gnattools
32949 @: $(MAKE); $(unstage)
32950 @r=`${PWD_COMMAND}`; export r; \
32951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32952 $(HOST_EXPORTS) \
32953 (cd $(HOST_SUBDIR)/gnattools && \
32954 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
32955 @endif gnattools
32960 .PHONY: check-gnattools maybe-check-gnattools
32961 maybe-check-gnattools:
32962 @if gnattools
32963 maybe-check-gnattools: check-gnattools
32965 check-gnattools:
32966 @: $(MAKE); $(unstage)
32967 @r=`${PWD_COMMAND}`; export r; \
32968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32969 $(HOST_EXPORTS) \
32970 (cd $(HOST_SUBDIR)/gnattools && \
32971 $(MAKE) $(FLAGS_TO_PASS) check)
32973 @endif gnattools
32975 .PHONY: install-gnattools maybe-install-gnattools
32976 maybe-install-gnattools:
32977 @if gnattools
32978 maybe-install-gnattools: install-gnattools
32980 install-gnattools: installdirs
32981 @: $(MAKE); $(unstage)
32982 @r=`${PWD_COMMAND}`; export r; \
32983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32984 $(HOST_EXPORTS) \
32985 (cd $(HOST_SUBDIR)/gnattools && \
32986 $(MAKE) $(FLAGS_TO_PASS) install)
32988 @endif gnattools
32990 # Other targets (info, dvi, pdf, etc.)
32992 .PHONY: maybe-info-gnattools info-gnattools
32993 maybe-info-gnattools:
32994 @if gnattools
32995 maybe-info-gnattools: info-gnattools
32997 info-gnattools: \
32998 configure-gnattools
32999 @: $(MAKE); $(unstage)
33000 @[ -f ./gnattools/Makefile ] || exit 0; \
33001 r=`${PWD_COMMAND}`; export r; \
33002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33003 $(HOST_EXPORTS) \
33004 for flag in $(EXTRA_HOST_FLAGS) ; do \
33005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33006 done; \
33007 echo "Doing info in gnattools" ; \
33008 (cd $(HOST_SUBDIR)/gnattools && \
33009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33011 "RANLIB=$${RANLIB}" \
33012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33013 info) \
33014 || exit 1
33016 @endif gnattools
33018 .PHONY: maybe-dvi-gnattools dvi-gnattools
33019 maybe-dvi-gnattools:
33020 @if gnattools
33021 maybe-dvi-gnattools: dvi-gnattools
33023 dvi-gnattools: \
33024 configure-gnattools
33025 @: $(MAKE); $(unstage)
33026 @[ -f ./gnattools/Makefile ] || exit 0; \
33027 r=`${PWD_COMMAND}`; export r; \
33028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33029 $(HOST_EXPORTS) \
33030 for flag in $(EXTRA_HOST_FLAGS) ; do \
33031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33032 done; \
33033 echo "Doing dvi in gnattools" ; \
33034 (cd $(HOST_SUBDIR)/gnattools && \
33035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33037 "RANLIB=$${RANLIB}" \
33038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33039 dvi) \
33040 || exit 1
33042 @endif gnattools
33044 .PHONY: maybe-pdf-gnattools pdf-gnattools
33045 maybe-pdf-gnattools:
33046 @if gnattools
33047 maybe-pdf-gnattools: pdf-gnattools
33049 pdf-gnattools: \
33050 configure-gnattools
33051 @: $(MAKE); $(unstage)
33052 @[ -f ./gnattools/Makefile ] || exit 0; \
33053 r=`${PWD_COMMAND}`; export r; \
33054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33055 $(HOST_EXPORTS) \
33056 for flag in $(EXTRA_HOST_FLAGS) ; do \
33057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33058 done; \
33059 echo "Doing pdf in gnattools" ; \
33060 (cd $(HOST_SUBDIR)/gnattools && \
33061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33063 "RANLIB=$${RANLIB}" \
33064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33065 pdf) \
33066 || exit 1
33068 @endif gnattools
33070 .PHONY: maybe-html-gnattools html-gnattools
33071 maybe-html-gnattools:
33072 @if gnattools
33073 maybe-html-gnattools: html-gnattools
33075 html-gnattools: \
33076 configure-gnattools
33077 @: $(MAKE); $(unstage)
33078 @[ -f ./gnattools/Makefile ] || exit 0; \
33079 r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 $(HOST_EXPORTS) \
33082 for flag in $(EXTRA_HOST_FLAGS) ; do \
33083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33084 done; \
33085 echo "Doing html in gnattools" ; \
33086 (cd $(HOST_SUBDIR)/gnattools && \
33087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33089 "RANLIB=$${RANLIB}" \
33090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33091 html) \
33092 || exit 1
33094 @endif gnattools
33096 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
33097 maybe-TAGS-gnattools:
33098 @if gnattools
33099 maybe-TAGS-gnattools: TAGS-gnattools
33101 TAGS-gnattools: \
33102 configure-gnattools
33103 @: $(MAKE); $(unstage)
33104 @[ -f ./gnattools/Makefile ] || exit 0; \
33105 r=`${PWD_COMMAND}`; export r; \
33106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33107 $(HOST_EXPORTS) \
33108 for flag in $(EXTRA_HOST_FLAGS) ; do \
33109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33110 done; \
33111 echo "Doing TAGS in gnattools" ; \
33112 (cd $(HOST_SUBDIR)/gnattools && \
33113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33115 "RANLIB=$${RANLIB}" \
33116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33117 TAGS) \
33118 || exit 1
33120 @endif gnattools
33122 .PHONY: maybe-install-info-gnattools install-info-gnattools
33123 maybe-install-info-gnattools:
33124 @if gnattools
33125 maybe-install-info-gnattools: install-info-gnattools
33127 install-info-gnattools: \
33128 configure-gnattools \
33129 info-gnattools
33130 @: $(MAKE); $(unstage)
33131 @[ -f ./gnattools/Makefile ] || exit 0; \
33132 r=`${PWD_COMMAND}`; export r; \
33133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33134 $(HOST_EXPORTS) \
33135 for flag in $(EXTRA_HOST_FLAGS) ; do \
33136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33137 done; \
33138 echo "Doing install-info in gnattools" ; \
33139 (cd $(HOST_SUBDIR)/gnattools && \
33140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33142 "RANLIB=$${RANLIB}" \
33143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33144 install-info) \
33145 || exit 1
33147 @endif gnattools
33149 .PHONY: maybe-install-html-gnattools install-html-gnattools
33150 maybe-install-html-gnattools:
33151 @if gnattools
33152 maybe-install-html-gnattools: install-html-gnattools
33154 install-html-gnattools: \
33155 configure-gnattools \
33156 html-gnattools
33157 @: $(MAKE); $(unstage)
33158 @[ -f ./gnattools/Makefile ] || exit 0; \
33159 r=`${PWD_COMMAND}`; export r; \
33160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33161 $(HOST_EXPORTS) \
33162 for flag in $(EXTRA_HOST_FLAGS) ; do \
33163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33164 done; \
33165 echo "Doing install-html in gnattools" ; \
33166 (cd $(HOST_SUBDIR)/gnattools && \
33167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33169 "RANLIB=$${RANLIB}" \
33170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33171 install-html) \
33172 || exit 1
33174 @endif gnattools
33176 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
33177 maybe-installcheck-gnattools:
33178 @if gnattools
33179 maybe-installcheck-gnattools: installcheck-gnattools
33181 installcheck-gnattools: \
33182 configure-gnattools
33183 @: $(MAKE); $(unstage)
33184 @[ -f ./gnattools/Makefile ] || exit 0; \
33185 r=`${PWD_COMMAND}`; export r; \
33186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33187 $(HOST_EXPORTS) \
33188 for flag in $(EXTRA_HOST_FLAGS) ; do \
33189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33190 done; \
33191 echo "Doing installcheck in gnattools" ; \
33192 (cd $(HOST_SUBDIR)/gnattools && \
33193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33195 "RANLIB=$${RANLIB}" \
33196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33197 installcheck) \
33198 || exit 1
33200 @endif gnattools
33202 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
33203 maybe-mostlyclean-gnattools:
33204 @if gnattools
33205 maybe-mostlyclean-gnattools: mostlyclean-gnattools
33207 mostlyclean-gnattools:
33208 @: $(MAKE); $(unstage)
33209 @[ -f ./gnattools/Makefile ] || exit 0; \
33210 r=`${PWD_COMMAND}`; export r; \
33211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33212 $(HOST_EXPORTS) \
33213 for flag in $(EXTRA_HOST_FLAGS) ; do \
33214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33215 done; \
33216 echo "Doing mostlyclean in gnattools" ; \
33217 (cd $(HOST_SUBDIR)/gnattools && \
33218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33220 "RANLIB=$${RANLIB}" \
33221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33222 mostlyclean) \
33223 || exit 1
33225 @endif gnattools
33227 .PHONY: maybe-clean-gnattools clean-gnattools
33228 maybe-clean-gnattools:
33229 @if gnattools
33230 maybe-clean-gnattools: clean-gnattools
33232 clean-gnattools:
33233 @: $(MAKE); $(unstage)
33234 @[ -f ./gnattools/Makefile ] || exit 0; \
33235 r=`${PWD_COMMAND}`; export r; \
33236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33237 $(HOST_EXPORTS) \
33238 for flag in $(EXTRA_HOST_FLAGS) ; do \
33239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33240 done; \
33241 echo "Doing clean in gnattools" ; \
33242 (cd $(HOST_SUBDIR)/gnattools && \
33243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33245 "RANLIB=$${RANLIB}" \
33246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33247 clean) \
33248 || exit 1
33250 @endif gnattools
33252 .PHONY: maybe-distclean-gnattools distclean-gnattools
33253 maybe-distclean-gnattools:
33254 @if gnattools
33255 maybe-distclean-gnattools: distclean-gnattools
33257 distclean-gnattools:
33258 @: $(MAKE); $(unstage)
33259 @[ -f ./gnattools/Makefile ] || exit 0; \
33260 r=`${PWD_COMMAND}`; export r; \
33261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33262 $(HOST_EXPORTS) \
33263 for flag in $(EXTRA_HOST_FLAGS) ; do \
33264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33265 done; \
33266 echo "Doing distclean in gnattools" ; \
33267 (cd $(HOST_SUBDIR)/gnattools && \
33268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33270 "RANLIB=$${RANLIB}" \
33271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33272 distclean) \
33273 || exit 1
33275 @endif gnattools
33277 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
33278 maybe-maintainer-clean-gnattools:
33279 @if gnattools
33280 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
33282 maintainer-clean-gnattools:
33283 @: $(MAKE); $(unstage)
33284 @[ -f ./gnattools/Makefile ] || exit 0; \
33285 r=`${PWD_COMMAND}`; export r; \
33286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33287 $(HOST_EXPORTS) \
33288 for flag in $(EXTRA_HOST_FLAGS) ; do \
33289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33290 done; \
33291 echo "Doing maintainer-clean in gnattools" ; \
33292 (cd $(HOST_SUBDIR)/gnattools && \
33293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33295 "RANLIB=$${RANLIB}" \
33296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33297 maintainer-clean) \
33298 || exit 1
33300 @endif gnattools
33304 # ---------------------------------------
33305 # Modules which run on the target machine
33306 # ---------------------------------------
33311 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
33312 maybe-configure-target-libstdc++-v3:
33313 @if gcc-bootstrap
33314 configure-target-libstdc++-v3: stage_current
33315 @endif gcc-bootstrap
33316 @if target-libstdc++-v3
33317 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
33318 configure-target-libstdc++-v3:
33319 @: $(MAKE); $(unstage)
33320 @r=`${PWD_COMMAND}`; export r; \
33321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33322 echo "Checking multilib configuration for libstdc++-v3..."; \
33323 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33324 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
33325 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33326 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33327 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33328 else \
33329 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33330 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33331 fi; \
33332 else \
33333 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33334 fi; \
33335 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33336 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33337 $(RAW_CXX_TARGET_EXPORTS) \
33338 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
33339 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
33340 case $(srcdir) in \
33341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33342 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33344 esac; \
33345 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
33346 libsrcdir="$$s/libstdc++-v3"; \
33347 rm -f no-such-file || : ; \
33348 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33349 $(TARGET_CONFIGARGS) $${srcdiroption} \
33350 || exit 1
33351 @endif target-libstdc++-v3
33357 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33358 maybe-all-target-libstdc++-v3:
33359 @if gcc-bootstrap
33360 all-target-libstdc++-v3: stage_current
33361 @endif gcc-bootstrap
33362 @if target-libstdc++-v3
33363 TARGET-target-libstdc++-v3=all
33364 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33365 all-target-libstdc++-v3: configure-target-libstdc++-v3
33366 @: $(MAKE); $(unstage)
33367 @r=`${PWD_COMMAND}`; export r; \
33368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33369 $(RAW_CXX_TARGET_EXPORTS) \
33370 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33371 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
33372 @endif target-libstdc++-v3
33378 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33379 maybe-check-target-libstdc++-v3:
33380 @if target-libstdc++-v3
33381 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33383 check-target-libstdc++-v3:
33384 @: $(MAKE); $(unstage)
33385 @r=`${PWD_COMMAND}`; export r; \
33386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33387 $(RAW_CXX_TARGET_EXPORTS) \
33388 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33389 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33391 @endif target-libstdc++-v3
33393 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33394 maybe-install-target-libstdc++-v3:
33395 @if target-libstdc++-v3
33396 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33398 install-target-libstdc++-v3: installdirs
33399 @: $(MAKE); $(unstage)
33400 @r=`${PWD_COMMAND}`; export r; \
33401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33402 $(RAW_CXX_TARGET_EXPORTS) \
33403 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33404 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33406 @endif target-libstdc++-v3
33408 # Other targets (info, dvi, pdf, etc.)
33410 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33411 maybe-info-target-libstdc++-v3:
33412 @if target-libstdc++-v3
33413 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33415 info-target-libstdc++-v3: \
33416 configure-target-libstdc++-v3
33417 @: $(MAKE); $(unstage)
33418 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33419 r=`${PWD_COMMAND}`; export r; \
33420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33421 $(RAW_CXX_TARGET_EXPORTS) \
33422 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33423 for flag in $(EXTRA_TARGET_FLAGS); do \
33424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33425 done; \
33426 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33429 "RANLIB=$${RANLIB}" \
33430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33431 info) \
33432 || exit 1
33434 @endif target-libstdc++-v3
33436 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33437 maybe-dvi-target-libstdc++-v3:
33438 @if target-libstdc++-v3
33439 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33441 dvi-target-libstdc++-v3: \
33442 configure-target-libstdc++-v3
33443 @: $(MAKE); $(unstage)
33444 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33445 r=`${PWD_COMMAND}`; export r; \
33446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33447 $(RAW_CXX_TARGET_EXPORTS) \
33448 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33449 for flag in $(EXTRA_TARGET_FLAGS); do \
33450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33451 done; \
33452 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33455 "RANLIB=$${RANLIB}" \
33456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33457 dvi) \
33458 || exit 1
33460 @endif target-libstdc++-v3
33462 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33463 maybe-pdf-target-libstdc++-v3:
33464 @if target-libstdc++-v3
33465 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33467 pdf-target-libstdc++-v3: \
33468 configure-target-libstdc++-v3
33469 @: $(MAKE); $(unstage)
33470 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33471 r=`${PWD_COMMAND}`; export r; \
33472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33473 $(RAW_CXX_TARGET_EXPORTS) \
33474 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33475 for flag in $(EXTRA_TARGET_FLAGS); do \
33476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33477 done; \
33478 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33481 "RANLIB=$${RANLIB}" \
33482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33483 pdf) \
33484 || exit 1
33486 @endif target-libstdc++-v3
33488 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33489 maybe-html-target-libstdc++-v3:
33490 @if target-libstdc++-v3
33491 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33493 html-target-libstdc++-v3: \
33494 configure-target-libstdc++-v3
33495 @: $(MAKE); $(unstage)
33496 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33497 r=`${PWD_COMMAND}`; export r; \
33498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33499 $(RAW_CXX_TARGET_EXPORTS) \
33500 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33501 for flag in $(EXTRA_TARGET_FLAGS); do \
33502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33503 done; \
33504 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33507 "RANLIB=$${RANLIB}" \
33508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33509 html) \
33510 || exit 1
33512 @endif target-libstdc++-v3
33514 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33515 maybe-TAGS-target-libstdc++-v3:
33516 @if target-libstdc++-v3
33517 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33519 TAGS-target-libstdc++-v3: \
33520 configure-target-libstdc++-v3
33521 @: $(MAKE); $(unstage)
33522 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33523 r=`${PWD_COMMAND}`; export r; \
33524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33525 $(RAW_CXX_TARGET_EXPORTS) \
33526 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33527 for flag in $(EXTRA_TARGET_FLAGS); do \
33528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33529 done; \
33530 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33533 "RANLIB=$${RANLIB}" \
33534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33535 TAGS) \
33536 || exit 1
33538 @endif target-libstdc++-v3
33540 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33541 maybe-install-info-target-libstdc++-v3:
33542 @if target-libstdc++-v3
33543 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33545 install-info-target-libstdc++-v3: \
33546 configure-target-libstdc++-v3 \
33547 info-target-libstdc++-v3
33548 @: $(MAKE); $(unstage)
33549 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33550 r=`${PWD_COMMAND}`; export r; \
33551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33552 $(RAW_CXX_TARGET_EXPORTS) \
33553 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33554 for flag in $(EXTRA_TARGET_FLAGS); do \
33555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33556 done; \
33557 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33560 "RANLIB=$${RANLIB}" \
33561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33562 install-info) \
33563 || exit 1
33565 @endif target-libstdc++-v3
33567 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33568 maybe-install-html-target-libstdc++-v3:
33569 @if target-libstdc++-v3
33570 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33572 install-html-target-libstdc++-v3: \
33573 configure-target-libstdc++-v3 \
33574 html-target-libstdc++-v3
33575 @: $(MAKE); $(unstage)
33576 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33577 r=`${PWD_COMMAND}`; export r; \
33578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33579 $(RAW_CXX_TARGET_EXPORTS) \
33580 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33581 for flag in $(EXTRA_TARGET_FLAGS); do \
33582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33583 done; \
33584 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33587 "RANLIB=$${RANLIB}" \
33588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33589 install-html) \
33590 || exit 1
33592 @endif target-libstdc++-v3
33594 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33595 maybe-installcheck-target-libstdc++-v3:
33596 @if target-libstdc++-v3
33597 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33599 installcheck-target-libstdc++-v3: \
33600 configure-target-libstdc++-v3
33601 @: $(MAKE); $(unstage)
33602 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33603 r=`${PWD_COMMAND}`; export r; \
33604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33605 $(RAW_CXX_TARGET_EXPORTS) \
33606 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33607 for flag in $(EXTRA_TARGET_FLAGS); do \
33608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33609 done; \
33610 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33613 "RANLIB=$${RANLIB}" \
33614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33615 installcheck) \
33616 || exit 1
33618 @endif target-libstdc++-v3
33620 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33621 maybe-mostlyclean-target-libstdc++-v3:
33622 @if target-libstdc++-v3
33623 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33625 mostlyclean-target-libstdc++-v3:
33626 @: $(MAKE); $(unstage)
33627 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33628 r=`${PWD_COMMAND}`; export r; \
33629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33630 $(RAW_CXX_TARGET_EXPORTS) \
33631 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33632 for flag in $(EXTRA_TARGET_FLAGS); do \
33633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33634 done; \
33635 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33638 "RANLIB=$${RANLIB}" \
33639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33640 mostlyclean) \
33641 || exit 1
33643 @endif target-libstdc++-v3
33645 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33646 maybe-clean-target-libstdc++-v3:
33647 @if target-libstdc++-v3
33648 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33650 clean-target-libstdc++-v3:
33651 @: $(MAKE); $(unstage)
33652 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33653 r=`${PWD_COMMAND}`; export r; \
33654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33655 $(RAW_CXX_TARGET_EXPORTS) \
33656 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33657 for flag in $(EXTRA_TARGET_FLAGS); do \
33658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33659 done; \
33660 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33663 "RANLIB=$${RANLIB}" \
33664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33665 clean) \
33666 || exit 1
33668 @endif target-libstdc++-v3
33670 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33671 maybe-distclean-target-libstdc++-v3:
33672 @if target-libstdc++-v3
33673 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33675 distclean-target-libstdc++-v3:
33676 @: $(MAKE); $(unstage)
33677 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33678 r=`${PWD_COMMAND}`; export r; \
33679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33680 $(RAW_CXX_TARGET_EXPORTS) \
33681 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33682 for flag in $(EXTRA_TARGET_FLAGS); do \
33683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33684 done; \
33685 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33688 "RANLIB=$${RANLIB}" \
33689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33690 distclean) \
33691 || exit 1
33693 @endif target-libstdc++-v3
33695 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33696 maybe-maintainer-clean-target-libstdc++-v3:
33697 @if target-libstdc++-v3
33698 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33700 maintainer-clean-target-libstdc++-v3:
33701 @: $(MAKE); $(unstage)
33702 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33703 r=`${PWD_COMMAND}`; export r; \
33704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33705 $(RAW_CXX_TARGET_EXPORTS) \
33706 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33707 for flag in $(EXTRA_TARGET_FLAGS); do \
33708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33709 done; \
33710 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33713 "RANLIB=$${RANLIB}" \
33714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33715 maintainer-clean) \
33716 || exit 1
33718 @endif target-libstdc++-v3
33724 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
33725 maybe-configure-target-libmudflap:
33726 @if gcc-bootstrap
33727 configure-target-libmudflap: stage_current
33728 @endif gcc-bootstrap
33729 @if target-libmudflap
33730 maybe-configure-target-libmudflap: configure-target-libmudflap
33731 configure-target-libmudflap:
33732 @: $(MAKE); $(unstage)
33733 @r=`${PWD_COMMAND}`; export r; \
33734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33735 echo "Checking multilib configuration for libmudflap..."; \
33736 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33737 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
33738 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33739 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33740 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
33741 else \
33742 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
33743 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33744 fi; \
33745 else \
33746 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33747 fi; \
33748 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
33749 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33750 $(NORMAL_TARGET_EXPORTS) \
33751 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
33752 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
33753 case $(srcdir) in \
33754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33755 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
33756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33757 esac; \
33758 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
33759 libsrcdir="$$s/libmudflap"; \
33760 rm -f no-such-file || : ; \
33761 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33762 $(TARGET_CONFIGARGS) $${srcdiroption} \
33763 || exit 1
33764 @endif target-libmudflap
33770 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
33771 maybe-all-target-libmudflap:
33772 @if gcc-bootstrap
33773 all-target-libmudflap: stage_current
33774 @endif gcc-bootstrap
33775 @if target-libmudflap
33776 TARGET-target-libmudflap=all
33777 maybe-all-target-libmudflap: all-target-libmudflap
33778 all-target-libmudflap: configure-target-libmudflap
33779 @: $(MAKE); $(unstage)
33780 @r=`${PWD_COMMAND}`; export r; \
33781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33782 $(NORMAL_TARGET_EXPORTS) \
33783 (cd $(TARGET_SUBDIR)/libmudflap && \
33784 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
33785 @endif target-libmudflap
33791 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
33792 maybe-check-target-libmudflap:
33793 @if target-libmudflap
33794 maybe-check-target-libmudflap: check-target-libmudflap
33796 check-target-libmudflap:
33797 @: $(MAKE); $(unstage)
33798 @r=`${PWD_COMMAND}`; export r; \
33799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33800 $(NORMAL_TARGET_EXPORTS) \
33801 (cd $(TARGET_SUBDIR)/libmudflap && \
33802 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33804 @endif target-libmudflap
33806 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
33807 maybe-install-target-libmudflap:
33808 @if target-libmudflap
33809 maybe-install-target-libmudflap: install-target-libmudflap
33811 install-target-libmudflap: installdirs
33812 @: $(MAKE); $(unstage)
33813 @r=`${PWD_COMMAND}`; export r; \
33814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33815 $(NORMAL_TARGET_EXPORTS) \
33816 (cd $(TARGET_SUBDIR)/libmudflap && \
33817 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33819 @endif target-libmudflap
33821 # Other targets (info, dvi, pdf, etc.)
33823 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
33824 maybe-info-target-libmudflap:
33825 @if target-libmudflap
33826 maybe-info-target-libmudflap: info-target-libmudflap
33828 info-target-libmudflap: \
33829 configure-target-libmudflap
33830 @: $(MAKE); $(unstage)
33831 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33832 r=`${PWD_COMMAND}`; export r; \
33833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33834 $(NORMAL_TARGET_EXPORTS) \
33835 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
33836 for flag in $(EXTRA_TARGET_FLAGS); do \
33837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33838 done; \
33839 (cd $(TARGET_SUBDIR)/libmudflap && \
33840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33842 "RANLIB=$${RANLIB}" \
33843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33844 info) \
33845 || exit 1
33847 @endif target-libmudflap
33849 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
33850 maybe-dvi-target-libmudflap:
33851 @if target-libmudflap
33852 maybe-dvi-target-libmudflap: dvi-target-libmudflap
33854 dvi-target-libmudflap: \
33855 configure-target-libmudflap
33856 @: $(MAKE); $(unstage)
33857 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33858 r=`${PWD_COMMAND}`; export r; \
33859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33860 $(NORMAL_TARGET_EXPORTS) \
33861 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
33862 for flag in $(EXTRA_TARGET_FLAGS); do \
33863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33864 done; \
33865 (cd $(TARGET_SUBDIR)/libmudflap && \
33866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33868 "RANLIB=$${RANLIB}" \
33869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33870 dvi) \
33871 || exit 1
33873 @endif target-libmudflap
33875 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
33876 maybe-pdf-target-libmudflap:
33877 @if target-libmudflap
33878 maybe-pdf-target-libmudflap: pdf-target-libmudflap
33880 pdf-target-libmudflap: \
33881 configure-target-libmudflap
33882 @: $(MAKE); $(unstage)
33883 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33884 r=`${PWD_COMMAND}`; export r; \
33885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33886 $(NORMAL_TARGET_EXPORTS) \
33887 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
33888 for flag in $(EXTRA_TARGET_FLAGS); do \
33889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33890 done; \
33891 (cd $(TARGET_SUBDIR)/libmudflap && \
33892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33894 "RANLIB=$${RANLIB}" \
33895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33896 pdf) \
33897 || exit 1
33899 @endif target-libmudflap
33901 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
33902 maybe-html-target-libmudflap:
33903 @if target-libmudflap
33904 maybe-html-target-libmudflap: html-target-libmudflap
33906 html-target-libmudflap: \
33907 configure-target-libmudflap
33908 @: $(MAKE); $(unstage)
33909 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33910 r=`${PWD_COMMAND}`; export r; \
33911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33912 $(NORMAL_TARGET_EXPORTS) \
33913 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
33914 for flag in $(EXTRA_TARGET_FLAGS); do \
33915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33916 done; \
33917 (cd $(TARGET_SUBDIR)/libmudflap && \
33918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33920 "RANLIB=$${RANLIB}" \
33921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33922 html) \
33923 || exit 1
33925 @endif target-libmudflap
33927 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
33928 maybe-TAGS-target-libmudflap:
33929 @if target-libmudflap
33930 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
33932 TAGS-target-libmudflap: \
33933 configure-target-libmudflap
33934 @: $(MAKE); $(unstage)
33935 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33936 r=`${PWD_COMMAND}`; export r; \
33937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33938 $(NORMAL_TARGET_EXPORTS) \
33939 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
33940 for flag in $(EXTRA_TARGET_FLAGS); do \
33941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33942 done; \
33943 (cd $(TARGET_SUBDIR)/libmudflap && \
33944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33946 "RANLIB=$${RANLIB}" \
33947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33948 TAGS) \
33949 || exit 1
33951 @endif target-libmudflap
33953 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
33954 maybe-install-info-target-libmudflap:
33955 @if target-libmudflap
33956 maybe-install-info-target-libmudflap: install-info-target-libmudflap
33958 install-info-target-libmudflap: \
33959 configure-target-libmudflap \
33960 info-target-libmudflap
33961 @: $(MAKE); $(unstage)
33962 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33963 r=`${PWD_COMMAND}`; export r; \
33964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33965 $(NORMAL_TARGET_EXPORTS) \
33966 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
33967 for flag in $(EXTRA_TARGET_FLAGS); do \
33968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33969 done; \
33970 (cd $(TARGET_SUBDIR)/libmudflap && \
33971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33973 "RANLIB=$${RANLIB}" \
33974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33975 install-info) \
33976 || exit 1
33978 @endif target-libmudflap
33980 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
33981 maybe-install-html-target-libmudflap:
33982 @if target-libmudflap
33983 maybe-install-html-target-libmudflap: install-html-target-libmudflap
33985 install-html-target-libmudflap: \
33986 configure-target-libmudflap \
33987 html-target-libmudflap
33988 @: $(MAKE); $(unstage)
33989 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33990 r=`${PWD_COMMAND}`; export r; \
33991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33992 $(NORMAL_TARGET_EXPORTS) \
33993 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
33994 for flag in $(EXTRA_TARGET_FLAGS); do \
33995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33996 done; \
33997 (cd $(TARGET_SUBDIR)/libmudflap && \
33998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34000 "RANLIB=$${RANLIB}" \
34001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34002 install-html) \
34003 || exit 1
34005 @endif target-libmudflap
34007 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
34008 maybe-installcheck-target-libmudflap:
34009 @if target-libmudflap
34010 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
34012 installcheck-target-libmudflap: \
34013 configure-target-libmudflap
34014 @: $(MAKE); $(unstage)
34015 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34016 r=`${PWD_COMMAND}`; export r; \
34017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34018 $(NORMAL_TARGET_EXPORTS) \
34019 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
34020 for flag in $(EXTRA_TARGET_FLAGS); do \
34021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34022 done; \
34023 (cd $(TARGET_SUBDIR)/libmudflap && \
34024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34026 "RANLIB=$${RANLIB}" \
34027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34028 installcheck) \
34029 || exit 1
34031 @endif target-libmudflap
34033 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
34034 maybe-mostlyclean-target-libmudflap:
34035 @if target-libmudflap
34036 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
34038 mostlyclean-target-libmudflap:
34039 @: $(MAKE); $(unstage)
34040 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34041 r=`${PWD_COMMAND}`; export r; \
34042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34043 $(NORMAL_TARGET_EXPORTS) \
34044 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
34045 for flag in $(EXTRA_TARGET_FLAGS); do \
34046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34047 done; \
34048 (cd $(TARGET_SUBDIR)/libmudflap && \
34049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34051 "RANLIB=$${RANLIB}" \
34052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34053 mostlyclean) \
34054 || exit 1
34056 @endif target-libmudflap
34058 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
34059 maybe-clean-target-libmudflap:
34060 @if target-libmudflap
34061 maybe-clean-target-libmudflap: clean-target-libmudflap
34063 clean-target-libmudflap:
34064 @: $(MAKE); $(unstage)
34065 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34066 r=`${PWD_COMMAND}`; export r; \
34067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34068 $(NORMAL_TARGET_EXPORTS) \
34069 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
34070 for flag in $(EXTRA_TARGET_FLAGS); do \
34071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34072 done; \
34073 (cd $(TARGET_SUBDIR)/libmudflap && \
34074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34076 "RANLIB=$${RANLIB}" \
34077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34078 clean) \
34079 || exit 1
34081 @endif target-libmudflap
34083 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
34084 maybe-distclean-target-libmudflap:
34085 @if target-libmudflap
34086 maybe-distclean-target-libmudflap: distclean-target-libmudflap
34088 distclean-target-libmudflap:
34089 @: $(MAKE); $(unstage)
34090 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34091 r=`${PWD_COMMAND}`; export r; \
34092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34093 $(NORMAL_TARGET_EXPORTS) \
34094 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
34095 for flag in $(EXTRA_TARGET_FLAGS); do \
34096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34097 done; \
34098 (cd $(TARGET_SUBDIR)/libmudflap && \
34099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34101 "RANLIB=$${RANLIB}" \
34102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34103 distclean) \
34104 || exit 1
34106 @endif target-libmudflap
34108 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
34109 maybe-maintainer-clean-target-libmudflap:
34110 @if target-libmudflap
34111 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
34113 maintainer-clean-target-libmudflap:
34114 @: $(MAKE); $(unstage)
34115 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34116 r=`${PWD_COMMAND}`; export r; \
34117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34118 $(NORMAL_TARGET_EXPORTS) \
34119 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
34120 for flag in $(EXTRA_TARGET_FLAGS); do \
34121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34122 done; \
34123 (cd $(TARGET_SUBDIR)/libmudflap && \
34124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34126 "RANLIB=$${RANLIB}" \
34127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34128 maintainer-clean) \
34129 || exit 1
34131 @endif target-libmudflap
34137 .PHONY: configure-target-libssp maybe-configure-target-libssp
34138 maybe-configure-target-libssp:
34139 @if gcc-bootstrap
34140 configure-target-libssp: stage_current
34141 @endif gcc-bootstrap
34142 @if target-libssp
34143 maybe-configure-target-libssp: configure-target-libssp
34144 configure-target-libssp:
34145 @: $(MAKE); $(unstage)
34146 @r=`${PWD_COMMAND}`; export r; \
34147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34148 echo "Checking multilib configuration for libssp..."; \
34149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34150 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34151 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34152 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34153 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34154 else \
34155 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34156 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34157 fi; \
34158 else \
34159 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34160 fi; \
34161 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34163 $(NORMAL_TARGET_EXPORTS) \
34164 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34165 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34166 case $(srcdir) in \
34167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34168 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34170 esac; \
34171 srcdiroption="--srcdir=$${topdir}/libssp"; \
34172 libsrcdir="$$s/libssp"; \
34173 rm -f no-such-file || : ; \
34174 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34175 $(TARGET_CONFIGARGS) $${srcdiroption} \
34176 || exit 1
34177 @endif target-libssp
34183 .PHONY: all-target-libssp maybe-all-target-libssp
34184 maybe-all-target-libssp:
34185 @if gcc-bootstrap
34186 all-target-libssp: stage_current
34187 @endif gcc-bootstrap
34188 @if target-libssp
34189 TARGET-target-libssp=all
34190 maybe-all-target-libssp: all-target-libssp
34191 all-target-libssp: configure-target-libssp
34192 @: $(MAKE); $(unstage)
34193 @r=`${PWD_COMMAND}`; export r; \
34194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34195 $(NORMAL_TARGET_EXPORTS) \
34196 (cd $(TARGET_SUBDIR)/libssp && \
34197 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
34198 @endif target-libssp
34204 .PHONY: check-target-libssp maybe-check-target-libssp
34205 maybe-check-target-libssp:
34206 @if target-libssp
34207 maybe-check-target-libssp: check-target-libssp
34209 check-target-libssp:
34210 @: $(MAKE); $(unstage)
34211 @r=`${PWD_COMMAND}`; export r; \
34212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34213 $(NORMAL_TARGET_EXPORTS) \
34214 (cd $(TARGET_SUBDIR)/libssp && \
34215 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34217 @endif target-libssp
34219 .PHONY: install-target-libssp maybe-install-target-libssp
34220 maybe-install-target-libssp:
34221 @if target-libssp
34222 maybe-install-target-libssp: install-target-libssp
34224 install-target-libssp: installdirs
34225 @: $(MAKE); $(unstage)
34226 @r=`${PWD_COMMAND}`; export r; \
34227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34228 $(NORMAL_TARGET_EXPORTS) \
34229 (cd $(TARGET_SUBDIR)/libssp && \
34230 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34232 @endif target-libssp
34234 # Other targets (info, dvi, pdf, etc.)
34236 .PHONY: maybe-info-target-libssp info-target-libssp
34237 maybe-info-target-libssp:
34238 @if target-libssp
34239 maybe-info-target-libssp: info-target-libssp
34241 info-target-libssp: \
34242 configure-target-libssp
34243 @: $(MAKE); $(unstage)
34244 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34245 r=`${PWD_COMMAND}`; export r; \
34246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34247 $(NORMAL_TARGET_EXPORTS) \
34248 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34249 for flag in $(EXTRA_TARGET_FLAGS); do \
34250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34251 done; \
34252 (cd $(TARGET_SUBDIR)/libssp && \
34253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34255 "RANLIB=$${RANLIB}" \
34256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34257 info) \
34258 || exit 1
34260 @endif target-libssp
34262 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34263 maybe-dvi-target-libssp:
34264 @if target-libssp
34265 maybe-dvi-target-libssp: dvi-target-libssp
34267 dvi-target-libssp: \
34268 configure-target-libssp
34269 @: $(MAKE); $(unstage)
34270 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34271 r=`${PWD_COMMAND}`; export r; \
34272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34273 $(NORMAL_TARGET_EXPORTS) \
34274 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34275 for flag in $(EXTRA_TARGET_FLAGS); do \
34276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34277 done; \
34278 (cd $(TARGET_SUBDIR)/libssp && \
34279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34281 "RANLIB=$${RANLIB}" \
34282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34283 dvi) \
34284 || exit 1
34286 @endif target-libssp
34288 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34289 maybe-pdf-target-libssp:
34290 @if target-libssp
34291 maybe-pdf-target-libssp: pdf-target-libssp
34293 pdf-target-libssp: \
34294 configure-target-libssp
34295 @: $(MAKE); $(unstage)
34296 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34297 r=`${PWD_COMMAND}`; export r; \
34298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34299 $(NORMAL_TARGET_EXPORTS) \
34300 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34301 for flag in $(EXTRA_TARGET_FLAGS); do \
34302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34303 done; \
34304 (cd $(TARGET_SUBDIR)/libssp && \
34305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34307 "RANLIB=$${RANLIB}" \
34308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34309 pdf) \
34310 || exit 1
34312 @endif target-libssp
34314 .PHONY: maybe-html-target-libssp html-target-libssp
34315 maybe-html-target-libssp:
34316 @if target-libssp
34317 maybe-html-target-libssp: html-target-libssp
34319 html-target-libssp: \
34320 configure-target-libssp
34321 @: $(MAKE); $(unstage)
34322 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34323 r=`${PWD_COMMAND}`; export r; \
34324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34325 $(NORMAL_TARGET_EXPORTS) \
34326 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34327 for flag in $(EXTRA_TARGET_FLAGS); do \
34328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34329 done; \
34330 (cd $(TARGET_SUBDIR)/libssp && \
34331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34333 "RANLIB=$${RANLIB}" \
34334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34335 html) \
34336 || exit 1
34338 @endif target-libssp
34340 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34341 maybe-TAGS-target-libssp:
34342 @if target-libssp
34343 maybe-TAGS-target-libssp: TAGS-target-libssp
34345 TAGS-target-libssp: \
34346 configure-target-libssp
34347 @: $(MAKE); $(unstage)
34348 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34349 r=`${PWD_COMMAND}`; export r; \
34350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34351 $(NORMAL_TARGET_EXPORTS) \
34352 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34353 for flag in $(EXTRA_TARGET_FLAGS); do \
34354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34355 done; \
34356 (cd $(TARGET_SUBDIR)/libssp && \
34357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34359 "RANLIB=$${RANLIB}" \
34360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34361 TAGS) \
34362 || exit 1
34364 @endif target-libssp
34366 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34367 maybe-install-info-target-libssp:
34368 @if target-libssp
34369 maybe-install-info-target-libssp: install-info-target-libssp
34371 install-info-target-libssp: \
34372 configure-target-libssp \
34373 info-target-libssp
34374 @: $(MAKE); $(unstage)
34375 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34376 r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 $(NORMAL_TARGET_EXPORTS) \
34379 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34380 for flag in $(EXTRA_TARGET_FLAGS); do \
34381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34382 done; \
34383 (cd $(TARGET_SUBDIR)/libssp && \
34384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34386 "RANLIB=$${RANLIB}" \
34387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34388 install-info) \
34389 || exit 1
34391 @endif target-libssp
34393 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34394 maybe-install-html-target-libssp:
34395 @if target-libssp
34396 maybe-install-html-target-libssp: install-html-target-libssp
34398 install-html-target-libssp: \
34399 configure-target-libssp \
34400 html-target-libssp
34401 @: $(MAKE); $(unstage)
34402 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34403 r=`${PWD_COMMAND}`; export r; \
34404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34405 $(NORMAL_TARGET_EXPORTS) \
34406 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34407 for flag in $(EXTRA_TARGET_FLAGS); do \
34408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34409 done; \
34410 (cd $(TARGET_SUBDIR)/libssp && \
34411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34413 "RANLIB=$${RANLIB}" \
34414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34415 install-html) \
34416 || exit 1
34418 @endif target-libssp
34420 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34421 maybe-installcheck-target-libssp:
34422 @if target-libssp
34423 maybe-installcheck-target-libssp: installcheck-target-libssp
34425 installcheck-target-libssp: \
34426 configure-target-libssp
34427 @: $(MAKE); $(unstage)
34428 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34429 r=`${PWD_COMMAND}`; export r; \
34430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34431 $(NORMAL_TARGET_EXPORTS) \
34432 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34433 for flag in $(EXTRA_TARGET_FLAGS); do \
34434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34435 done; \
34436 (cd $(TARGET_SUBDIR)/libssp && \
34437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34439 "RANLIB=$${RANLIB}" \
34440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34441 installcheck) \
34442 || exit 1
34444 @endif target-libssp
34446 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34447 maybe-mostlyclean-target-libssp:
34448 @if target-libssp
34449 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34451 mostlyclean-target-libssp:
34452 @: $(MAKE); $(unstage)
34453 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34454 r=`${PWD_COMMAND}`; export r; \
34455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34456 $(NORMAL_TARGET_EXPORTS) \
34457 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34458 for flag in $(EXTRA_TARGET_FLAGS); do \
34459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34460 done; \
34461 (cd $(TARGET_SUBDIR)/libssp && \
34462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34464 "RANLIB=$${RANLIB}" \
34465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34466 mostlyclean) \
34467 || exit 1
34469 @endif target-libssp
34471 .PHONY: maybe-clean-target-libssp clean-target-libssp
34472 maybe-clean-target-libssp:
34473 @if target-libssp
34474 maybe-clean-target-libssp: clean-target-libssp
34476 clean-target-libssp:
34477 @: $(MAKE); $(unstage)
34478 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34479 r=`${PWD_COMMAND}`; export r; \
34480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34481 $(NORMAL_TARGET_EXPORTS) \
34482 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34483 for flag in $(EXTRA_TARGET_FLAGS); do \
34484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34485 done; \
34486 (cd $(TARGET_SUBDIR)/libssp && \
34487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34489 "RANLIB=$${RANLIB}" \
34490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34491 clean) \
34492 || exit 1
34494 @endif target-libssp
34496 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34497 maybe-distclean-target-libssp:
34498 @if target-libssp
34499 maybe-distclean-target-libssp: distclean-target-libssp
34501 distclean-target-libssp:
34502 @: $(MAKE); $(unstage)
34503 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34504 r=`${PWD_COMMAND}`; export r; \
34505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34506 $(NORMAL_TARGET_EXPORTS) \
34507 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34508 for flag in $(EXTRA_TARGET_FLAGS); do \
34509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34510 done; \
34511 (cd $(TARGET_SUBDIR)/libssp && \
34512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34514 "RANLIB=$${RANLIB}" \
34515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34516 distclean) \
34517 || exit 1
34519 @endif target-libssp
34521 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34522 maybe-maintainer-clean-target-libssp:
34523 @if target-libssp
34524 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34526 maintainer-clean-target-libssp:
34527 @: $(MAKE); $(unstage)
34528 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34529 r=`${PWD_COMMAND}`; export r; \
34530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34531 $(NORMAL_TARGET_EXPORTS) \
34532 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34533 for flag in $(EXTRA_TARGET_FLAGS); do \
34534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34535 done; \
34536 (cd $(TARGET_SUBDIR)/libssp && \
34537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34539 "RANLIB=$${RANLIB}" \
34540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34541 maintainer-clean) \
34542 || exit 1
34544 @endif target-libssp
34550 .PHONY: configure-target-newlib maybe-configure-target-newlib
34551 maybe-configure-target-newlib:
34552 @if gcc-bootstrap
34553 configure-target-newlib: stage_current
34554 @endif gcc-bootstrap
34555 @if target-newlib
34556 maybe-configure-target-newlib: configure-target-newlib
34557 configure-target-newlib:
34558 @: $(MAKE); $(unstage)
34559 @r=`${PWD_COMMAND}`; export r; \
34560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34561 echo "Checking multilib configuration for newlib..."; \
34562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34563 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34564 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34565 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34566 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34567 else \
34568 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34569 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34570 fi; \
34571 else \
34572 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34573 fi; \
34574 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34576 $(NORMAL_TARGET_EXPORTS) \
34577 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34578 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34579 case $(srcdir) in \
34580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34581 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34583 esac; \
34584 srcdiroption="--srcdir=$${topdir}/newlib"; \
34585 libsrcdir="$$s/newlib"; \
34586 rm -f no-such-file || : ; \
34587 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34588 $(TARGET_CONFIGARGS) $${srcdiroption} \
34589 || exit 1
34590 @endif target-newlib
34596 .PHONY: all-target-newlib maybe-all-target-newlib
34597 maybe-all-target-newlib:
34598 @if gcc-bootstrap
34599 all-target-newlib: stage_current
34600 @endif gcc-bootstrap
34601 @if target-newlib
34602 TARGET-target-newlib=all
34603 maybe-all-target-newlib: all-target-newlib
34604 all-target-newlib: configure-target-newlib
34605 @: $(MAKE); $(unstage)
34606 @r=`${PWD_COMMAND}`; export r; \
34607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34608 $(NORMAL_TARGET_EXPORTS) \
34609 (cd $(TARGET_SUBDIR)/newlib && \
34610 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
34611 @endif target-newlib
34617 .PHONY: check-target-newlib maybe-check-target-newlib
34618 maybe-check-target-newlib:
34619 @if target-newlib
34620 maybe-check-target-newlib: check-target-newlib
34622 check-target-newlib:
34623 @: $(MAKE); $(unstage)
34624 @r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(NORMAL_TARGET_EXPORTS) \
34627 (cd $(TARGET_SUBDIR)/newlib && \
34628 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34630 @endif target-newlib
34632 .PHONY: install-target-newlib maybe-install-target-newlib
34633 maybe-install-target-newlib:
34634 @if target-newlib
34635 maybe-install-target-newlib: install-target-newlib
34637 install-target-newlib: installdirs
34638 @: $(MAKE); $(unstage)
34639 @r=`${PWD_COMMAND}`; export r; \
34640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34641 $(NORMAL_TARGET_EXPORTS) \
34642 (cd $(TARGET_SUBDIR)/newlib && \
34643 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34645 @endif target-newlib
34647 # Other targets (info, dvi, pdf, etc.)
34649 .PHONY: maybe-info-target-newlib info-target-newlib
34650 maybe-info-target-newlib:
34651 @if target-newlib
34652 maybe-info-target-newlib: info-target-newlib
34654 info-target-newlib: \
34655 configure-target-newlib
34656 @: $(MAKE); $(unstage)
34657 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34658 r=`${PWD_COMMAND}`; export r; \
34659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34660 $(NORMAL_TARGET_EXPORTS) \
34661 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34662 for flag in $(EXTRA_TARGET_FLAGS); do \
34663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34664 done; \
34665 (cd $(TARGET_SUBDIR)/newlib && \
34666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34668 "RANLIB=$${RANLIB}" \
34669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34670 info) \
34671 || exit 1
34673 @endif target-newlib
34675 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34676 maybe-dvi-target-newlib:
34677 @if target-newlib
34678 maybe-dvi-target-newlib: dvi-target-newlib
34680 dvi-target-newlib: \
34681 configure-target-newlib
34682 @: $(MAKE); $(unstage)
34683 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34684 r=`${PWD_COMMAND}`; export r; \
34685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34686 $(NORMAL_TARGET_EXPORTS) \
34687 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34688 for flag in $(EXTRA_TARGET_FLAGS); do \
34689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34690 done; \
34691 (cd $(TARGET_SUBDIR)/newlib && \
34692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34694 "RANLIB=$${RANLIB}" \
34695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34696 dvi) \
34697 || exit 1
34699 @endif target-newlib
34701 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34702 maybe-pdf-target-newlib:
34703 @if target-newlib
34704 maybe-pdf-target-newlib: pdf-target-newlib
34706 pdf-target-newlib: \
34707 configure-target-newlib
34708 @: $(MAKE); $(unstage)
34709 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34710 r=`${PWD_COMMAND}`; export r; \
34711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34712 $(NORMAL_TARGET_EXPORTS) \
34713 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34714 for flag in $(EXTRA_TARGET_FLAGS); do \
34715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34716 done; \
34717 (cd $(TARGET_SUBDIR)/newlib && \
34718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34720 "RANLIB=$${RANLIB}" \
34721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34722 pdf) \
34723 || exit 1
34725 @endif target-newlib
34727 .PHONY: maybe-html-target-newlib html-target-newlib
34728 maybe-html-target-newlib:
34729 @if target-newlib
34730 maybe-html-target-newlib: html-target-newlib
34732 html-target-newlib: \
34733 configure-target-newlib
34734 @: $(MAKE); $(unstage)
34735 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34736 r=`${PWD_COMMAND}`; export r; \
34737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34738 $(NORMAL_TARGET_EXPORTS) \
34739 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34740 for flag in $(EXTRA_TARGET_FLAGS); do \
34741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34742 done; \
34743 (cd $(TARGET_SUBDIR)/newlib && \
34744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34746 "RANLIB=$${RANLIB}" \
34747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34748 html) \
34749 || exit 1
34751 @endif target-newlib
34753 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34754 maybe-TAGS-target-newlib:
34755 @if target-newlib
34756 maybe-TAGS-target-newlib: TAGS-target-newlib
34758 TAGS-target-newlib: \
34759 configure-target-newlib
34760 @: $(MAKE); $(unstage)
34761 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34762 r=`${PWD_COMMAND}`; export r; \
34763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34764 $(NORMAL_TARGET_EXPORTS) \
34765 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34766 for flag in $(EXTRA_TARGET_FLAGS); do \
34767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34768 done; \
34769 (cd $(TARGET_SUBDIR)/newlib && \
34770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34772 "RANLIB=$${RANLIB}" \
34773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34774 TAGS) \
34775 || exit 1
34777 @endif target-newlib
34779 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34780 maybe-install-info-target-newlib:
34781 @if target-newlib
34782 maybe-install-info-target-newlib: install-info-target-newlib
34784 install-info-target-newlib: \
34785 configure-target-newlib \
34786 info-target-newlib
34787 @: $(MAKE); $(unstage)
34788 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34789 r=`${PWD_COMMAND}`; export r; \
34790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34791 $(NORMAL_TARGET_EXPORTS) \
34792 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
34793 for flag in $(EXTRA_TARGET_FLAGS); do \
34794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34795 done; \
34796 (cd $(TARGET_SUBDIR)/newlib && \
34797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34799 "RANLIB=$${RANLIB}" \
34800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34801 install-info) \
34802 || exit 1
34804 @endif target-newlib
34806 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
34807 maybe-install-html-target-newlib:
34808 @if target-newlib
34809 maybe-install-html-target-newlib: install-html-target-newlib
34811 install-html-target-newlib: \
34812 configure-target-newlib \
34813 html-target-newlib
34814 @: $(MAKE); $(unstage)
34815 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34816 r=`${PWD_COMMAND}`; export r; \
34817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34818 $(NORMAL_TARGET_EXPORTS) \
34819 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
34820 for flag in $(EXTRA_TARGET_FLAGS); do \
34821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34822 done; \
34823 (cd $(TARGET_SUBDIR)/newlib && \
34824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34826 "RANLIB=$${RANLIB}" \
34827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34828 install-html) \
34829 || exit 1
34831 @endif target-newlib
34833 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
34834 maybe-installcheck-target-newlib:
34835 @if target-newlib
34836 maybe-installcheck-target-newlib: installcheck-target-newlib
34838 installcheck-target-newlib: \
34839 configure-target-newlib
34840 @: $(MAKE); $(unstage)
34841 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34842 r=`${PWD_COMMAND}`; export r; \
34843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34844 $(NORMAL_TARGET_EXPORTS) \
34845 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
34846 for flag in $(EXTRA_TARGET_FLAGS); do \
34847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34848 done; \
34849 (cd $(TARGET_SUBDIR)/newlib && \
34850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34852 "RANLIB=$${RANLIB}" \
34853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34854 installcheck) \
34855 || exit 1
34857 @endif target-newlib
34859 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
34860 maybe-mostlyclean-target-newlib:
34861 @if target-newlib
34862 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
34864 mostlyclean-target-newlib:
34865 @: $(MAKE); $(unstage)
34866 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34867 r=`${PWD_COMMAND}`; export r; \
34868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34869 $(NORMAL_TARGET_EXPORTS) \
34870 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
34871 for flag in $(EXTRA_TARGET_FLAGS); do \
34872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34873 done; \
34874 (cd $(TARGET_SUBDIR)/newlib && \
34875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34877 "RANLIB=$${RANLIB}" \
34878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34879 mostlyclean) \
34880 || exit 1
34882 @endif target-newlib
34884 .PHONY: maybe-clean-target-newlib clean-target-newlib
34885 maybe-clean-target-newlib:
34886 @if target-newlib
34887 maybe-clean-target-newlib: clean-target-newlib
34889 clean-target-newlib:
34890 @: $(MAKE); $(unstage)
34891 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34892 r=`${PWD_COMMAND}`; export r; \
34893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34894 $(NORMAL_TARGET_EXPORTS) \
34895 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
34896 for flag in $(EXTRA_TARGET_FLAGS); do \
34897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34898 done; \
34899 (cd $(TARGET_SUBDIR)/newlib && \
34900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34902 "RANLIB=$${RANLIB}" \
34903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34904 clean) \
34905 || exit 1
34907 @endif target-newlib
34909 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
34910 maybe-distclean-target-newlib:
34911 @if target-newlib
34912 maybe-distclean-target-newlib: distclean-target-newlib
34914 distclean-target-newlib:
34915 @: $(MAKE); $(unstage)
34916 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34917 r=`${PWD_COMMAND}`; export r; \
34918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34919 $(NORMAL_TARGET_EXPORTS) \
34920 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
34921 for flag in $(EXTRA_TARGET_FLAGS); do \
34922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34923 done; \
34924 (cd $(TARGET_SUBDIR)/newlib && \
34925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34927 "RANLIB=$${RANLIB}" \
34928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34929 distclean) \
34930 || exit 1
34932 @endif target-newlib
34934 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
34935 maybe-maintainer-clean-target-newlib:
34936 @if target-newlib
34937 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
34939 maintainer-clean-target-newlib:
34940 @: $(MAKE); $(unstage)
34941 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34942 r=`${PWD_COMMAND}`; export r; \
34943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34944 $(NORMAL_TARGET_EXPORTS) \
34945 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
34946 for flag in $(EXTRA_TARGET_FLAGS); do \
34947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34948 done; \
34949 (cd $(TARGET_SUBDIR)/newlib && \
34950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34952 "RANLIB=$${RANLIB}" \
34953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34954 maintainer-clean) \
34955 || exit 1
34957 @endif target-newlib
34963 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
34964 maybe-configure-target-libgfortran:
34965 @if gcc-bootstrap
34966 configure-target-libgfortran: stage_current
34967 @endif gcc-bootstrap
34968 @if target-libgfortran
34969 maybe-configure-target-libgfortran: configure-target-libgfortran
34970 configure-target-libgfortran:
34971 @: $(MAKE); $(unstage)
34972 @r=`${PWD_COMMAND}`; export r; \
34973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34974 echo "Checking multilib configuration for libgfortran..."; \
34975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
34976 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
34977 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
34978 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
34979 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
34980 else \
34981 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
34982 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
34983 fi; \
34984 else \
34985 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
34986 fi; \
34987 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
34988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
34989 $(NORMAL_TARGET_EXPORTS) \
34990 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
34991 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
34992 case $(srcdir) in \
34993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34994 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
34995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34996 esac; \
34997 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
34998 libsrcdir="$$s/libgfortran"; \
34999 rm -f no-such-file || : ; \
35000 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35001 $(TARGET_CONFIGARGS) $${srcdiroption} \
35002 || exit 1
35003 @endif target-libgfortran
35009 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35010 maybe-all-target-libgfortran:
35011 @if gcc-bootstrap
35012 all-target-libgfortran: stage_current
35013 @endif gcc-bootstrap
35014 @if target-libgfortran
35015 TARGET-target-libgfortran=all
35016 maybe-all-target-libgfortran: all-target-libgfortran
35017 all-target-libgfortran: configure-target-libgfortran
35018 @: $(MAKE); $(unstage)
35019 @r=`${PWD_COMMAND}`; export r; \
35020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35021 $(NORMAL_TARGET_EXPORTS) \
35022 (cd $(TARGET_SUBDIR)/libgfortran && \
35023 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
35024 @endif target-libgfortran
35030 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35031 maybe-check-target-libgfortran:
35032 @if target-libgfortran
35033 maybe-check-target-libgfortran: check-target-libgfortran
35035 check-target-libgfortran:
35036 @: $(MAKE); $(unstage)
35037 @r=`${PWD_COMMAND}`; export r; \
35038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35039 $(NORMAL_TARGET_EXPORTS) \
35040 (cd $(TARGET_SUBDIR)/libgfortran && \
35041 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35043 @endif target-libgfortran
35045 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35046 maybe-install-target-libgfortran:
35047 @if target-libgfortran
35048 maybe-install-target-libgfortran: install-target-libgfortran
35050 install-target-libgfortran: installdirs
35051 @: $(MAKE); $(unstage)
35052 @r=`${PWD_COMMAND}`; export r; \
35053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35054 $(NORMAL_TARGET_EXPORTS) \
35055 (cd $(TARGET_SUBDIR)/libgfortran && \
35056 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35058 @endif target-libgfortran
35060 # Other targets (info, dvi, pdf, etc.)
35062 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35063 maybe-info-target-libgfortran:
35064 @if target-libgfortran
35065 maybe-info-target-libgfortran: info-target-libgfortran
35067 info-target-libgfortran: \
35068 configure-target-libgfortran
35069 @: $(MAKE); $(unstage)
35070 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35071 r=`${PWD_COMMAND}`; export r; \
35072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35073 $(NORMAL_TARGET_EXPORTS) \
35074 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35075 for flag in $(EXTRA_TARGET_FLAGS); do \
35076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35077 done; \
35078 (cd $(TARGET_SUBDIR)/libgfortran && \
35079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35081 "RANLIB=$${RANLIB}" \
35082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35083 info) \
35084 || exit 1
35086 @endif target-libgfortran
35088 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35089 maybe-dvi-target-libgfortran:
35090 @if target-libgfortran
35091 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35093 dvi-target-libgfortran: \
35094 configure-target-libgfortran
35095 @: $(MAKE); $(unstage)
35096 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35097 r=`${PWD_COMMAND}`; export r; \
35098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35099 $(NORMAL_TARGET_EXPORTS) \
35100 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35101 for flag in $(EXTRA_TARGET_FLAGS); do \
35102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35103 done; \
35104 (cd $(TARGET_SUBDIR)/libgfortran && \
35105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35107 "RANLIB=$${RANLIB}" \
35108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35109 dvi) \
35110 || exit 1
35112 @endif target-libgfortran
35114 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35115 maybe-pdf-target-libgfortran:
35116 @if target-libgfortran
35117 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35119 pdf-target-libgfortran: \
35120 configure-target-libgfortran
35121 @: $(MAKE); $(unstage)
35122 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35123 r=`${PWD_COMMAND}`; export r; \
35124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35125 $(NORMAL_TARGET_EXPORTS) \
35126 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35127 for flag in $(EXTRA_TARGET_FLAGS); do \
35128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35129 done; \
35130 (cd $(TARGET_SUBDIR)/libgfortran && \
35131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35133 "RANLIB=$${RANLIB}" \
35134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35135 pdf) \
35136 || exit 1
35138 @endif target-libgfortran
35140 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35141 maybe-html-target-libgfortran:
35142 @if target-libgfortran
35143 maybe-html-target-libgfortran: html-target-libgfortran
35145 html-target-libgfortran: \
35146 configure-target-libgfortran
35147 @: $(MAKE); $(unstage)
35148 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35149 r=`${PWD_COMMAND}`; export r; \
35150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35151 $(NORMAL_TARGET_EXPORTS) \
35152 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35153 for flag in $(EXTRA_TARGET_FLAGS); do \
35154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35155 done; \
35156 (cd $(TARGET_SUBDIR)/libgfortran && \
35157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35159 "RANLIB=$${RANLIB}" \
35160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35161 html) \
35162 || exit 1
35164 @endif target-libgfortran
35166 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35167 maybe-TAGS-target-libgfortran:
35168 @if target-libgfortran
35169 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35171 TAGS-target-libgfortran: \
35172 configure-target-libgfortran
35173 @: $(MAKE); $(unstage)
35174 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35175 r=`${PWD_COMMAND}`; export r; \
35176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35177 $(NORMAL_TARGET_EXPORTS) \
35178 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35179 for flag in $(EXTRA_TARGET_FLAGS); do \
35180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35181 done; \
35182 (cd $(TARGET_SUBDIR)/libgfortran && \
35183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35185 "RANLIB=$${RANLIB}" \
35186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35187 TAGS) \
35188 || exit 1
35190 @endif target-libgfortran
35192 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35193 maybe-install-info-target-libgfortran:
35194 @if target-libgfortran
35195 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35197 install-info-target-libgfortran: \
35198 configure-target-libgfortran \
35199 info-target-libgfortran
35200 @: $(MAKE); $(unstage)
35201 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35202 r=`${PWD_COMMAND}`; export r; \
35203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35204 $(NORMAL_TARGET_EXPORTS) \
35205 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35206 for flag in $(EXTRA_TARGET_FLAGS); do \
35207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35208 done; \
35209 (cd $(TARGET_SUBDIR)/libgfortran && \
35210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35212 "RANLIB=$${RANLIB}" \
35213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35214 install-info) \
35215 || exit 1
35217 @endif target-libgfortran
35219 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35220 maybe-install-html-target-libgfortran:
35221 @if target-libgfortran
35222 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35224 install-html-target-libgfortran: \
35225 configure-target-libgfortran \
35226 html-target-libgfortran
35227 @: $(MAKE); $(unstage)
35228 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35229 r=`${PWD_COMMAND}`; export r; \
35230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35231 $(NORMAL_TARGET_EXPORTS) \
35232 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35233 for flag in $(EXTRA_TARGET_FLAGS); do \
35234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35235 done; \
35236 (cd $(TARGET_SUBDIR)/libgfortran && \
35237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35239 "RANLIB=$${RANLIB}" \
35240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35241 install-html) \
35242 || exit 1
35244 @endif target-libgfortran
35246 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35247 maybe-installcheck-target-libgfortran:
35248 @if target-libgfortran
35249 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35251 installcheck-target-libgfortran: \
35252 configure-target-libgfortran
35253 @: $(MAKE); $(unstage)
35254 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35255 r=`${PWD_COMMAND}`; export r; \
35256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35257 $(NORMAL_TARGET_EXPORTS) \
35258 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35259 for flag in $(EXTRA_TARGET_FLAGS); do \
35260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35261 done; \
35262 (cd $(TARGET_SUBDIR)/libgfortran && \
35263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35265 "RANLIB=$${RANLIB}" \
35266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35267 installcheck) \
35268 || exit 1
35270 @endif target-libgfortran
35272 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35273 maybe-mostlyclean-target-libgfortran:
35274 @if target-libgfortran
35275 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35277 mostlyclean-target-libgfortran:
35278 @: $(MAKE); $(unstage)
35279 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35280 r=`${PWD_COMMAND}`; export r; \
35281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35282 $(NORMAL_TARGET_EXPORTS) \
35283 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35284 for flag in $(EXTRA_TARGET_FLAGS); do \
35285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35286 done; \
35287 (cd $(TARGET_SUBDIR)/libgfortran && \
35288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35290 "RANLIB=$${RANLIB}" \
35291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35292 mostlyclean) \
35293 || exit 1
35295 @endif target-libgfortran
35297 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35298 maybe-clean-target-libgfortran:
35299 @if target-libgfortran
35300 maybe-clean-target-libgfortran: clean-target-libgfortran
35302 clean-target-libgfortran:
35303 @: $(MAKE); $(unstage)
35304 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35305 r=`${PWD_COMMAND}`; export r; \
35306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35307 $(NORMAL_TARGET_EXPORTS) \
35308 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35309 for flag in $(EXTRA_TARGET_FLAGS); do \
35310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35311 done; \
35312 (cd $(TARGET_SUBDIR)/libgfortran && \
35313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35315 "RANLIB=$${RANLIB}" \
35316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35317 clean) \
35318 || exit 1
35320 @endif target-libgfortran
35322 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35323 maybe-distclean-target-libgfortran:
35324 @if target-libgfortran
35325 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35327 distclean-target-libgfortran:
35328 @: $(MAKE); $(unstage)
35329 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35330 r=`${PWD_COMMAND}`; export r; \
35331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35332 $(NORMAL_TARGET_EXPORTS) \
35333 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35334 for flag in $(EXTRA_TARGET_FLAGS); do \
35335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35336 done; \
35337 (cd $(TARGET_SUBDIR)/libgfortran && \
35338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35340 "RANLIB=$${RANLIB}" \
35341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35342 distclean) \
35343 || exit 1
35345 @endif target-libgfortran
35347 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35348 maybe-maintainer-clean-target-libgfortran:
35349 @if target-libgfortran
35350 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35352 maintainer-clean-target-libgfortran:
35353 @: $(MAKE); $(unstage)
35354 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35355 r=`${PWD_COMMAND}`; export r; \
35356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35357 $(NORMAL_TARGET_EXPORTS) \
35358 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35359 for flag in $(EXTRA_TARGET_FLAGS); do \
35360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35361 done; \
35362 (cd $(TARGET_SUBDIR)/libgfortran && \
35363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35365 "RANLIB=$${RANLIB}" \
35366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35367 maintainer-clean) \
35368 || exit 1
35370 @endif target-libgfortran
35376 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35377 maybe-configure-target-libobjc:
35378 @if gcc-bootstrap
35379 configure-target-libobjc: stage_current
35380 @endif gcc-bootstrap
35381 @if target-libobjc
35382 maybe-configure-target-libobjc: configure-target-libobjc
35383 configure-target-libobjc:
35384 @: $(MAKE); $(unstage)
35385 @r=`${PWD_COMMAND}`; export r; \
35386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35387 echo "Checking multilib configuration for libobjc..."; \
35388 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35389 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35390 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35391 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35392 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35393 else \
35394 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35395 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35396 fi; \
35397 else \
35398 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35399 fi; \
35400 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35402 $(NORMAL_TARGET_EXPORTS) \
35403 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35404 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35405 case $(srcdir) in \
35406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35407 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35409 esac; \
35410 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35411 libsrcdir="$$s/libobjc"; \
35412 rm -f no-such-file || : ; \
35413 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35414 $(TARGET_CONFIGARGS) $${srcdiroption} \
35415 || exit 1
35416 @endif target-libobjc
35422 .PHONY: all-target-libobjc maybe-all-target-libobjc
35423 maybe-all-target-libobjc:
35424 @if gcc-bootstrap
35425 all-target-libobjc: stage_current
35426 @endif gcc-bootstrap
35427 @if target-libobjc
35428 TARGET-target-libobjc=all
35429 maybe-all-target-libobjc: all-target-libobjc
35430 all-target-libobjc: configure-target-libobjc
35431 @: $(MAKE); $(unstage)
35432 @r=`${PWD_COMMAND}`; export r; \
35433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35434 $(NORMAL_TARGET_EXPORTS) \
35435 (cd $(TARGET_SUBDIR)/libobjc && \
35436 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
35437 @endif target-libobjc
35443 .PHONY: check-target-libobjc maybe-check-target-libobjc
35444 maybe-check-target-libobjc:
35445 @if target-libobjc
35446 maybe-check-target-libobjc: check-target-libobjc
35448 check-target-libobjc:
35449 @: $(MAKE); $(unstage)
35450 @r=`${PWD_COMMAND}`; export r; \
35451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35452 $(NORMAL_TARGET_EXPORTS) \
35453 (cd $(TARGET_SUBDIR)/libobjc && \
35454 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35456 @endif target-libobjc
35458 .PHONY: install-target-libobjc maybe-install-target-libobjc
35459 maybe-install-target-libobjc:
35460 @if target-libobjc
35461 maybe-install-target-libobjc: install-target-libobjc
35463 install-target-libobjc: installdirs
35464 @: $(MAKE); $(unstage)
35465 @r=`${PWD_COMMAND}`; export r; \
35466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35467 $(NORMAL_TARGET_EXPORTS) \
35468 (cd $(TARGET_SUBDIR)/libobjc && \
35469 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35471 @endif target-libobjc
35473 # Other targets (info, dvi, pdf, etc.)
35475 .PHONY: maybe-info-target-libobjc info-target-libobjc
35476 maybe-info-target-libobjc:
35477 @if target-libobjc
35478 maybe-info-target-libobjc: info-target-libobjc
35480 info-target-libobjc: \
35481 configure-target-libobjc
35482 @: $(MAKE); $(unstage)
35483 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35484 r=`${PWD_COMMAND}`; export r; \
35485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35486 $(NORMAL_TARGET_EXPORTS) \
35487 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35488 for flag in $(EXTRA_TARGET_FLAGS); do \
35489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35490 done; \
35491 (cd $(TARGET_SUBDIR)/libobjc && \
35492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35494 "RANLIB=$${RANLIB}" \
35495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35496 info) \
35497 || exit 1
35499 @endif target-libobjc
35501 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35502 maybe-dvi-target-libobjc:
35503 @if target-libobjc
35504 maybe-dvi-target-libobjc: dvi-target-libobjc
35506 dvi-target-libobjc: \
35507 configure-target-libobjc
35508 @: $(MAKE); $(unstage)
35509 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35510 r=`${PWD_COMMAND}`; export r; \
35511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35512 $(NORMAL_TARGET_EXPORTS) \
35513 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35514 for flag in $(EXTRA_TARGET_FLAGS); do \
35515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35516 done; \
35517 (cd $(TARGET_SUBDIR)/libobjc && \
35518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35520 "RANLIB=$${RANLIB}" \
35521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35522 dvi) \
35523 || exit 1
35525 @endif target-libobjc
35527 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35528 maybe-pdf-target-libobjc:
35529 @if target-libobjc
35530 maybe-pdf-target-libobjc: pdf-target-libobjc
35532 pdf-target-libobjc: \
35533 configure-target-libobjc
35534 @: $(MAKE); $(unstage)
35535 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35536 r=`${PWD_COMMAND}`; export r; \
35537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35538 $(NORMAL_TARGET_EXPORTS) \
35539 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35540 for flag in $(EXTRA_TARGET_FLAGS); do \
35541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35542 done; \
35543 (cd $(TARGET_SUBDIR)/libobjc && \
35544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35546 "RANLIB=$${RANLIB}" \
35547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35548 pdf) \
35549 || exit 1
35551 @endif target-libobjc
35553 .PHONY: maybe-html-target-libobjc html-target-libobjc
35554 maybe-html-target-libobjc:
35555 @if target-libobjc
35556 maybe-html-target-libobjc: html-target-libobjc
35558 html-target-libobjc: \
35559 configure-target-libobjc
35560 @: $(MAKE); $(unstage)
35561 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35562 r=`${PWD_COMMAND}`; export r; \
35563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35564 $(NORMAL_TARGET_EXPORTS) \
35565 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35566 for flag in $(EXTRA_TARGET_FLAGS); do \
35567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35568 done; \
35569 (cd $(TARGET_SUBDIR)/libobjc && \
35570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35572 "RANLIB=$${RANLIB}" \
35573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35574 html) \
35575 || exit 1
35577 @endif target-libobjc
35579 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35580 maybe-TAGS-target-libobjc:
35581 @if target-libobjc
35582 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35584 TAGS-target-libobjc: \
35585 configure-target-libobjc
35586 @: $(MAKE); $(unstage)
35587 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35588 r=`${PWD_COMMAND}`; export r; \
35589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35590 $(NORMAL_TARGET_EXPORTS) \
35591 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35592 for flag in $(EXTRA_TARGET_FLAGS); do \
35593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35594 done; \
35595 (cd $(TARGET_SUBDIR)/libobjc && \
35596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35598 "RANLIB=$${RANLIB}" \
35599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35600 TAGS) \
35601 || exit 1
35603 @endif target-libobjc
35605 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35606 maybe-install-info-target-libobjc:
35607 @if target-libobjc
35608 maybe-install-info-target-libobjc: install-info-target-libobjc
35610 install-info-target-libobjc: \
35611 configure-target-libobjc \
35612 info-target-libobjc
35613 @: $(MAKE); $(unstage)
35614 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35615 r=`${PWD_COMMAND}`; export r; \
35616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35617 $(NORMAL_TARGET_EXPORTS) \
35618 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35619 for flag in $(EXTRA_TARGET_FLAGS); do \
35620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35621 done; \
35622 (cd $(TARGET_SUBDIR)/libobjc && \
35623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35625 "RANLIB=$${RANLIB}" \
35626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35627 install-info) \
35628 || exit 1
35630 @endif target-libobjc
35632 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35633 maybe-install-html-target-libobjc:
35634 @if target-libobjc
35635 maybe-install-html-target-libobjc: install-html-target-libobjc
35637 install-html-target-libobjc: \
35638 configure-target-libobjc \
35639 html-target-libobjc
35640 @: $(MAKE); $(unstage)
35641 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35642 r=`${PWD_COMMAND}`; export r; \
35643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35644 $(NORMAL_TARGET_EXPORTS) \
35645 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35646 for flag in $(EXTRA_TARGET_FLAGS); do \
35647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35648 done; \
35649 (cd $(TARGET_SUBDIR)/libobjc && \
35650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35652 "RANLIB=$${RANLIB}" \
35653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35654 install-html) \
35655 || exit 1
35657 @endif target-libobjc
35659 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35660 maybe-installcheck-target-libobjc:
35661 @if target-libobjc
35662 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35664 installcheck-target-libobjc: \
35665 configure-target-libobjc
35666 @: $(MAKE); $(unstage)
35667 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35668 r=`${PWD_COMMAND}`; export r; \
35669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35670 $(NORMAL_TARGET_EXPORTS) \
35671 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35672 for flag in $(EXTRA_TARGET_FLAGS); do \
35673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35674 done; \
35675 (cd $(TARGET_SUBDIR)/libobjc && \
35676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35678 "RANLIB=$${RANLIB}" \
35679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35680 installcheck) \
35681 || exit 1
35683 @endif target-libobjc
35685 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35686 maybe-mostlyclean-target-libobjc:
35687 @if target-libobjc
35688 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35690 mostlyclean-target-libobjc:
35691 @: $(MAKE); $(unstage)
35692 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35693 r=`${PWD_COMMAND}`; export r; \
35694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35695 $(NORMAL_TARGET_EXPORTS) \
35696 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35697 for flag in $(EXTRA_TARGET_FLAGS); do \
35698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35699 done; \
35700 (cd $(TARGET_SUBDIR)/libobjc && \
35701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35703 "RANLIB=$${RANLIB}" \
35704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35705 mostlyclean) \
35706 || exit 1
35708 @endif target-libobjc
35710 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35711 maybe-clean-target-libobjc:
35712 @if target-libobjc
35713 maybe-clean-target-libobjc: clean-target-libobjc
35715 clean-target-libobjc:
35716 @: $(MAKE); $(unstage)
35717 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35718 r=`${PWD_COMMAND}`; export r; \
35719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35720 $(NORMAL_TARGET_EXPORTS) \
35721 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35722 for flag in $(EXTRA_TARGET_FLAGS); do \
35723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35724 done; \
35725 (cd $(TARGET_SUBDIR)/libobjc && \
35726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35728 "RANLIB=$${RANLIB}" \
35729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35730 clean) \
35731 || exit 1
35733 @endif target-libobjc
35735 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35736 maybe-distclean-target-libobjc:
35737 @if target-libobjc
35738 maybe-distclean-target-libobjc: distclean-target-libobjc
35740 distclean-target-libobjc:
35741 @: $(MAKE); $(unstage)
35742 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35743 r=`${PWD_COMMAND}`; export r; \
35744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35745 $(NORMAL_TARGET_EXPORTS) \
35746 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35747 for flag in $(EXTRA_TARGET_FLAGS); do \
35748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35749 done; \
35750 (cd $(TARGET_SUBDIR)/libobjc && \
35751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35753 "RANLIB=$${RANLIB}" \
35754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35755 distclean) \
35756 || exit 1
35758 @endif target-libobjc
35760 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35761 maybe-maintainer-clean-target-libobjc:
35762 @if target-libobjc
35763 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35765 maintainer-clean-target-libobjc:
35766 @: $(MAKE); $(unstage)
35767 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35768 r=`${PWD_COMMAND}`; export r; \
35769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35770 $(NORMAL_TARGET_EXPORTS) \
35771 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35772 for flag in $(EXTRA_TARGET_FLAGS); do \
35773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35774 done; \
35775 (cd $(TARGET_SUBDIR)/libobjc && \
35776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35778 "RANLIB=$${RANLIB}" \
35779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35780 maintainer-clean) \
35781 || exit 1
35783 @endif target-libobjc
35789 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35790 maybe-configure-target-libtermcap:
35791 @if gcc-bootstrap
35792 configure-target-libtermcap: stage_current
35793 @endif gcc-bootstrap
35794 @if target-libtermcap
35795 maybe-configure-target-libtermcap: configure-target-libtermcap
35796 configure-target-libtermcap:
35797 @: $(MAKE); $(unstage)
35798 @r=`${PWD_COMMAND}`; export r; \
35799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35800 echo "Checking multilib configuration for libtermcap..."; \
35801 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35802 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35803 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35804 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35805 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35806 else \
35807 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35808 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35809 fi; \
35810 else \
35811 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35812 fi; \
35813 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35814 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35815 $(NORMAL_TARGET_EXPORTS) \
35816 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35817 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35818 case $(srcdir) in \
35819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35820 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35822 esac; \
35823 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35824 libsrcdir="$$s/libtermcap"; \
35825 rm -f no-such-file || : ; \
35826 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35827 $(TARGET_CONFIGARGS) $${srcdiroption} \
35828 || exit 1
35829 @endif target-libtermcap
35835 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35836 maybe-all-target-libtermcap:
35837 @if gcc-bootstrap
35838 all-target-libtermcap: stage_current
35839 @endif gcc-bootstrap
35840 @if target-libtermcap
35841 TARGET-target-libtermcap=all
35842 maybe-all-target-libtermcap: all-target-libtermcap
35843 all-target-libtermcap: configure-target-libtermcap
35844 @: $(MAKE); $(unstage)
35845 @r=`${PWD_COMMAND}`; export r; \
35846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35847 $(NORMAL_TARGET_EXPORTS) \
35848 (cd $(TARGET_SUBDIR)/libtermcap && \
35849 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
35850 @endif target-libtermcap
35856 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35857 maybe-check-target-libtermcap:
35858 @if target-libtermcap
35859 maybe-check-target-libtermcap: check-target-libtermcap
35861 # Dummy target for uncheckable module.
35862 check-target-libtermcap:
35864 @endif target-libtermcap
35866 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35867 maybe-install-target-libtermcap:
35868 @if target-libtermcap
35869 maybe-install-target-libtermcap: install-target-libtermcap
35871 install-target-libtermcap: installdirs
35872 @: $(MAKE); $(unstage)
35873 @r=`${PWD_COMMAND}`; export r; \
35874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35875 $(NORMAL_TARGET_EXPORTS) \
35876 (cd $(TARGET_SUBDIR)/libtermcap && \
35877 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35879 @endif target-libtermcap
35881 # Other targets (info, dvi, pdf, etc.)
35883 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35884 maybe-info-target-libtermcap:
35885 @if target-libtermcap
35886 maybe-info-target-libtermcap: info-target-libtermcap
35888 info-target-libtermcap: \
35889 configure-target-libtermcap
35890 @: $(MAKE); $(unstage)
35891 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35892 r=`${PWD_COMMAND}`; export r; \
35893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35894 $(NORMAL_TARGET_EXPORTS) \
35895 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35896 for flag in $(EXTRA_TARGET_FLAGS); do \
35897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35898 done; \
35899 (cd $(TARGET_SUBDIR)/libtermcap && \
35900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35902 "RANLIB=$${RANLIB}" \
35903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35904 info) \
35905 || exit 1
35907 @endif target-libtermcap
35909 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35910 maybe-dvi-target-libtermcap:
35911 @if target-libtermcap
35912 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35914 dvi-target-libtermcap: \
35915 configure-target-libtermcap
35916 @: $(MAKE); $(unstage)
35917 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35918 r=`${PWD_COMMAND}`; export r; \
35919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35920 $(NORMAL_TARGET_EXPORTS) \
35921 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35922 for flag in $(EXTRA_TARGET_FLAGS); do \
35923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35924 done; \
35925 (cd $(TARGET_SUBDIR)/libtermcap && \
35926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35928 "RANLIB=$${RANLIB}" \
35929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35930 dvi) \
35931 || exit 1
35933 @endif target-libtermcap
35935 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35936 maybe-pdf-target-libtermcap:
35937 @if target-libtermcap
35938 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35940 pdf-target-libtermcap: \
35941 configure-target-libtermcap
35942 @: $(MAKE); $(unstage)
35943 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35944 r=`${PWD_COMMAND}`; export r; \
35945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35946 $(NORMAL_TARGET_EXPORTS) \
35947 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 pdf) \
35957 || exit 1
35959 @endif target-libtermcap
35961 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35962 maybe-html-target-libtermcap:
35963 @if target-libtermcap
35964 maybe-html-target-libtermcap: html-target-libtermcap
35966 html-target-libtermcap: \
35967 configure-target-libtermcap
35968 @: $(MAKE); $(unstage)
35969 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35970 r=`${PWD_COMMAND}`; export r; \
35971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35972 $(NORMAL_TARGET_EXPORTS) \
35973 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35974 for flag in $(EXTRA_TARGET_FLAGS); do \
35975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35976 done; \
35977 (cd $(TARGET_SUBDIR)/libtermcap && \
35978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35980 "RANLIB=$${RANLIB}" \
35981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35982 html) \
35983 || exit 1
35985 @endif target-libtermcap
35987 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35988 maybe-TAGS-target-libtermcap:
35989 @if target-libtermcap
35990 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35992 TAGS-target-libtermcap: \
35993 configure-target-libtermcap
35994 @: $(MAKE); $(unstage)
35995 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35996 r=`${PWD_COMMAND}`; export r; \
35997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35998 $(NORMAL_TARGET_EXPORTS) \
35999 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36000 for flag in $(EXTRA_TARGET_FLAGS); do \
36001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36002 done; \
36003 (cd $(TARGET_SUBDIR)/libtermcap && \
36004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36006 "RANLIB=$${RANLIB}" \
36007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36008 TAGS) \
36009 || exit 1
36011 @endif target-libtermcap
36013 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36014 maybe-install-info-target-libtermcap:
36015 @if target-libtermcap
36016 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36018 install-info-target-libtermcap: \
36019 configure-target-libtermcap \
36020 info-target-libtermcap
36021 @: $(MAKE); $(unstage)
36022 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36023 r=`${PWD_COMMAND}`; export r; \
36024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36025 $(NORMAL_TARGET_EXPORTS) \
36026 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36027 for flag in $(EXTRA_TARGET_FLAGS); do \
36028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36029 done; \
36030 (cd $(TARGET_SUBDIR)/libtermcap && \
36031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36033 "RANLIB=$${RANLIB}" \
36034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36035 install-info) \
36036 || exit 1
36038 @endif target-libtermcap
36040 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36041 maybe-install-html-target-libtermcap:
36042 @if target-libtermcap
36043 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36045 install-html-target-libtermcap: \
36046 configure-target-libtermcap \
36047 html-target-libtermcap
36048 @: $(MAKE); $(unstage)
36049 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36050 r=`${PWD_COMMAND}`; export r; \
36051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36052 $(NORMAL_TARGET_EXPORTS) \
36053 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
36054 for flag in $(EXTRA_TARGET_FLAGS); do \
36055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36056 done; \
36057 (cd $(TARGET_SUBDIR)/libtermcap && \
36058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36060 "RANLIB=$${RANLIB}" \
36061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36062 install-html) \
36063 || exit 1
36065 @endif target-libtermcap
36067 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36068 maybe-installcheck-target-libtermcap:
36069 @if target-libtermcap
36070 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36072 installcheck-target-libtermcap: \
36073 configure-target-libtermcap
36074 @: $(MAKE); $(unstage)
36075 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36076 r=`${PWD_COMMAND}`; export r; \
36077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36078 $(NORMAL_TARGET_EXPORTS) \
36079 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36080 for flag in $(EXTRA_TARGET_FLAGS); do \
36081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36082 done; \
36083 (cd $(TARGET_SUBDIR)/libtermcap && \
36084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36086 "RANLIB=$${RANLIB}" \
36087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36088 installcheck) \
36089 || exit 1
36091 @endif target-libtermcap
36093 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36094 maybe-mostlyclean-target-libtermcap:
36095 @if target-libtermcap
36096 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36098 # libtermcap doesn't support mostlyclean.
36099 mostlyclean-target-libtermcap:
36101 @endif target-libtermcap
36103 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36104 maybe-clean-target-libtermcap:
36105 @if target-libtermcap
36106 maybe-clean-target-libtermcap: clean-target-libtermcap
36108 # libtermcap doesn't support clean.
36109 clean-target-libtermcap:
36111 @endif target-libtermcap
36113 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36114 maybe-distclean-target-libtermcap:
36115 @if target-libtermcap
36116 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36118 # libtermcap doesn't support distclean.
36119 distclean-target-libtermcap:
36121 @endif target-libtermcap
36123 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36124 maybe-maintainer-clean-target-libtermcap:
36125 @if target-libtermcap
36126 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36128 # libtermcap doesn't support maintainer-clean.
36129 maintainer-clean-target-libtermcap:
36131 @endif target-libtermcap
36137 .PHONY: configure-target-winsup maybe-configure-target-winsup
36138 maybe-configure-target-winsup:
36139 @if gcc-bootstrap
36140 configure-target-winsup: stage_current
36141 @endif gcc-bootstrap
36142 @if target-winsup
36143 maybe-configure-target-winsup: configure-target-winsup
36144 configure-target-winsup:
36145 @: $(MAKE); $(unstage)
36146 @r=`${PWD_COMMAND}`; export r; \
36147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36148 echo "Checking multilib configuration for winsup..."; \
36149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36150 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36151 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36152 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36153 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36154 else \
36155 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36156 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36157 fi; \
36158 else \
36159 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36160 fi; \
36161 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36163 $(NORMAL_TARGET_EXPORTS) \
36164 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36165 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36166 case $(srcdir) in \
36167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36168 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36170 esac; \
36171 srcdiroption="--srcdir=$${topdir}/winsup"; \
36172 libsrcdir="$$s/winsup"; \
36173 rm -f no-such-file || : ; \
36174 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36175 $(TARGET_CONFIGARGS) $${srcdiroption} \
36176 || exit 1
36177 @endif target-winsup
36183 .PHONY: all-target-winsup maybe-all-target-winsup
36184 maybe-all-target-winsup:
36185 @if gcc-bootstrap
36186 all-target-winsup: stage_current
36187 @endif gcc-bootstrap
36188 @if target-winsup
36189 TARGET-target-winsup=all
36190 maybe-all-target-winsup: all-target-winsup
36191 all-target-winsup: configure-target-winsup
36192 @: $(MAKE); $(unstage)
36193 @r=`${PWD_COMMAND}`; export r; \
36194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36195 $(NORMAL_TARGET_EXPORTS) \
36196 (cd $(TARGET_SUBDIR)/winsup && \
36197 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
36198 @endif target-winsup
36204 .PHONY: check-target-winsup maybe-check-target-winsup
36205 maybe-check-target-winsup:
36206 @if target-winsup
36207 maybe-check-target-winsup: check-target-winsup
36209 check-target-winsup:
36210 @: $(MAKE); $(unstage)
36211 @r=`${PWD_COMMAND}`; export r; \
36212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36213 $(NORMAL_TARGET_EXPORTS) \
36214 (cd $(TARGET_SUBDIR)/winsup && \
36215 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36217 @endif target-winsup
36219 .PHONY: install-target-winsup maybe-install-target-winsup
36220 maybe-install-target-winsup:
36221 @if target-winsup
36222 maybe-install-target-winsup: install-target-winsup
36224 install-target-winsup: installdirs
36225 @: $(MAKE); $(unstage)
36226 @r=`${PWD_COMMAND}`; export r; \
36227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36228 $(NORMAL_TARGET_EXPORTS) \
36229 (cd $(TARGET_SUBDIR)/winsup && \
36230 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36232 @endif target-winsup
36234 # Other targets (info, dvi, pdf, etc.)
36236 .PHONY: maybe-info-target-winsup info-target-winsup
36237 maybe-info-target-winsup:
36238 @if target-winsup
36239 maybe-info-target-winsup: info-target-winsup
36241 info-target-winsup: \
36242 configure-target-winsup
36243 @: $(MAKE); $(unstage)
36244 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36245 r=`${PWD_COMMAND}`; export r; \
36246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36247 $(NORMAL_TARGET_EXPORTS) \
36248 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36249 for flag in $(EXTRA_TARGET_FLAGS); do \
36250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36251 done; \
36252 (cd $(TARGET_SUBDIR)/winsup && \
36253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36255 "RANLIB=$${RANLIB}" \
36256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36257 info) \
36258 || exit 1
36260 @endif target-winsup
36262 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36263 maybe-dvi-target-winsup:
36264 @if target-winsup
36265 maybe-dvi-target-winsup: dvi-target-winsup
36267 dvi-target-winsup: \
36268 configure-target-winsup
36269 @: $(MAKE); $(unstage)
36270 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36271 r=`${PWD_COMMAND}`; export r; \
36272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36273 $(NORMAL_TARGET_EXPORTS) \
36274 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36275 for flag in $(EXTRA_TARGET_FLAGS); do \
36276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36277 done; \
36278 (cd $(TARGET_SUBDIR)/winsup && \
36279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36281 "RANLIB=$${RANLIB}" \
36282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36283 dvi) \
36284 || exit 1
36286 @endif target-winsup
36288 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36289 maybe-pdf-target-winsup:
36290 @if target-winsup
36291 maybe-pdf-target-winsup: pdf-target-winsup
36293 pdf-target-winsup: \
36294 configure-target-winsup
36295 @: $(MAKE); $(unstage)
36296 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36297 r=`${PWD_COMMAND}`; export r; \
36298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36299 $(NORMAL_TARGET_EXPORTS) \
36300 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36301 for flag in $(EXTRA_TARGET_FLAGS); do \
36302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36303 done; \
36304 (cd $(TARGET_SUBDIR)/winsup && \
36305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36307 "RANLIB=$${RANLIB}" \
36308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36309 pdf) \
36310 || exit 1
36312 @endif target-winsup
36314 .PHONY: maybe-html-target-winsup html-target-winsup
36315 maybe-html-target-winsup:
36316 @if target-winsup
36317 maybe-html-target-winsup: html-target-winsup
36319 html-target-winsup: \
36320 configure-target-winsup
36321 @: $(MAKE); $(unstage)
36322 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36323 r=`${PWD_COMMAND}`; export r; \
36324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36325 $(NORMAL_TARGET_EXPORTS) \
36326 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36327 for flag in $(EXTRA_TARGET_FLAGS); do \
36328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36329 done; \
36330 (cd $(TARGET_SUBDIR)/winsup && \
36331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36333 "RANLIB=$${RANLIB}" \
36334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36335 html) \
36336 || exit 1
36338 @endif target-winsup
36340 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36341 maybe-TAGS-target-winsup:
36342 @if target-winsup
36343 maybe-TAGS-target-winsup: TAGS-target-winsup
36345 TAGS-target-winsup: \
36346 configure-target-winsup
36347 @: $(MAKE); $(unstage)
36348 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36349 r=`${PWD_COMMAND}`; export r; \
36350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36351 $(NORMAL_TARGET_EXPORTS) \
36352 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36353 for flag in $(EXTRA_TARGET_FLAGS); do \
36354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36355 done; \
36356 (cd $(TARGET_SUBDIR)/winsup && \
36357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36359 "RANLIB=$${RANLIB}" \
36360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36361 TAGS) \
36362 || exit 1
36364 @endif target-winsup
36366 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36367 maybe-install-info-target-winsup:
36368 @if target-winsup
36369 maybe-install-info-target-winsup: install-info-target-winsup
36371 install-info-target-winsup: \
36372 configure-target-winsup \
36373 info-target-winsup
36374 @: $(MAKE); $(unstage)
36375 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36376 r=`${PWD_COMMAND}`; export r; \
36377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36378 $(NORMAL_TARGET_EXPORTS) \
36379 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36380 for flag in $(EXTRA_TARGET_FLAGS); do \
36381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36382 done; \
36383 (cd $(TARGET_SUBDIR)/winsup && \
36384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36386 "RANLIB=$${RANLIB}" \
36387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36388 install-info) \
36389 || exit 1
36391 @endif target-winsup
36393 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
36394 maybe-install-html-target-winsup:
36395 @if target-winsup
36396 maybe-install-html-target-winsup: install-html-target-winsup
36398 install-html-target-winsup: \
36399 configure-target-winsup \
36400 html-target-winsup
36401 @: $(MAKE); $(unstage)
36402 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36403 r=`${PWD_COMMAND}`; export r; \
36404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36405 $(NORMAL_TARGET_EXPORTS) \
36406 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
36407 for flag in $(EXTRA_TARGET_FLAGS); do \
36408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36409 done; \
36410 (cd $(TARGET_SUBDIR)/winsup && \
36411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36413 "RANLIB=$${RANLIB}" \
36414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36415 install-html) \
36416 || exit 1
36418 @endif target-winsup
36420 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
36421 maybe-installcheck-target-winsup:
36422 @if target-winsup
36423 maybe-installcheck-target-winsup: installcheck-target-winsup
36425 installcheck-target-winsup: \
36426 configure-target-winsup
36427 @: $(MAKE); $(unstage)
36428 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36429 r=`${PWD_COMMAND}`; export r; \
36430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36431 $(NORMAL_TARGET_EXPORTS) \
36432 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
36433 for flag in $(EXTRA_TARGET_FLAGS); do \
36434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36435 done; \
36436 (cd $(TARGET_SUBDIR)/winsup && \
36437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36439 "RANLIB=$${RANLIB}" \
36440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36441 installcheck) \
36442 || exit 1
36444 @endif target-winsup
36446 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
36447 maybe-mostlyclean-target-winsup:
36448 @if target-winsup
36449 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
36451 mostlyclean-target-winsup:
36452 @: $(MAKE); $(unstage)
36453 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36454 r=`${PWD_COMMAND}`; export r; \
36455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36456 $(NORMAL_TARGET_EXPORTS) \
36457 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
36458 for flag in $(EXTRA_TARGET_FLAGS); do \
36459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36460 done; \
36461 (cd $(TARGET_SUBDIR)/winsup && \
36462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36464 "RANLIB=$${RANLIB}" \
36465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36466 mostlyclean) \
36467 || exit 1
36469 @endif target-winsup
36471 .PHONY: maybe-clean-target-winsup clean-target-winsup
36472 maybe-clean-target-winsup:
36473 @if target-winsup
36474 maybe-clean-target-winsup: clean-target-winsup
36476 clean-target-winsup:
36477 @: $(MAKE); $(unstage)
36478 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36479 r=`${PWD_COMMAND}`; export r; \
36480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36481 $(NORMAL_TARGET_EXPORTS) \
36482 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
36483 for flag in $(EXTRA_TARGET_FLAGS); do \
36484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36485 done; \
36486 (cd $(TARGET_SUBDIR)/winsup && \
36487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36489 "RANLIB=$${RANLIB}" \
36490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36491 clean) \
36492 || exit 1
36494 @endif target-winsup
36496 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
36497 maybe-distclean-target-winsup:
36498 @if target-winsup
36499 maybe-distclean-target-winsup: distclean-target-winsup
36501 distclean-target-winsup:
36502 @: $(MAKE); $(unstage)
36503 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36504 r=`${PWD_COMMAND}`; export r; \
36505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36506 $(NORMAL_TARGET_EXPORTS) \
36507 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
36508 for flag in $(EXTRA_TARGET_FLAGS); do \
36509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36510 done; \
36511 (cd $(TARGET_SUBDIR)/winsup && \
36512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36514 "RANLIB=$${RANLIB}" \
36515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36516 distclean) \
36517 || exit 1
36519 @endif target-winsup
36521 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
36522 maybe-maintainer-clean-target-winsup:
36523 @if target-winsup
36524 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
36526 maintainer-clean-target-winsup:
36527 @: $(MAKE); $(unstage)
36528 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36529 r=`${PWD_COMMAND}`; export r; \
36530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36531 $(NORMAL_TARGET_EXPORTS) \
36532 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36533 for flag in $(EXTRA_TARGET_FLAGS); do \
36534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36535 done; \
36536 (cd $(TARGET_SUBDIR)/winsup && \
36537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36539 "RANLIB=$${RANLIB}" \
36540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36541 maintainer-clean) \
36542 || exit 1
36544 @endif target-winsup
36550 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36551 maybe-configure-target-libgloss:
36552 @if gcc-bootstrap
36553 configure-target-libgloss: stage_current
36554 @endif gcc-bootstrap
36555 @if target-libgloss
36556 maybe-configure-target-libgloss: configure-target-libgloss
36557 configure-target-libgloss:
36558 @: $(MAKE); $(unstage)
36559 @r=`${PWD_COMMAND}`; export r; \
36560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36561 echo "Checking multilib configuration for libgloss..."; \
36562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36563 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36564 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36565 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36566 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36567 else \
36568 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36569 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36570 fi; \
36571 else \
36572 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36573 fi; \
36574 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36576 $(NORMAL_TARGET_EXPORTS) \
36577 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36578 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36579 case $(srcdir) in \
36580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36581 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36583 esac; \
36584 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36585 libsrcdir="$$s/libgloss"; \
36586 rm -f no-such-file || : ; \
36587 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36588 $(TARGET_CONFIGARGS) $${srcdiroption} \
36589 || exit 1
36590 @endif target-libgloss
36596 .PHONY: all-target-libgloss maybe-all-target-libgloss
36597 maybe-all-target-libgloss:
36598 @if gcc-bootstrap
36599 all-target-libgloss: stage_current
36600 @endif gcc-bootstrap
36601 @if target-libgloss
36602 TARGET-target-libgloss=all
36603 maybe-all-target-libgloss: all-target-libgloss
36604 all-target-libgloss: configure-target-libgloss
36605 @: $(MAKE); $(unstage)
36606 @r=`${PWD_COMMAND}`; export r; \
36607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36608 $(NORMAL_TARGET_EXPORTS) \
36609 (cd $(TARGET_SUBDIR)/libgloss && \
36610 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
36611 @endif target-libgloss
36617 .PHONY: check-target-libgloss maybe-check-target-libgloss
36618 maybe-check-target-libgloss:
36619 @if target-libgloss
36620 maybe-check-target-libgloss: check-target-libgloss
36622 # Dummy target for uncheckable module.
36623 check-target-libgloss:
36625 @endif target-libgloss
36627 .PHONY: install-target-libgloss maybe-install-target-libgloss
36628 maybe-install-target-libgloss:
36629 @if target-libgloss
36630 maybe-install-target-libgloss: install-target-libgloss
36632 install-target-libgloss: installdirs
36633 @: $(MAKE); $(unstage)
36634 @r=`${PWD_COMMAND}`; export r; \
36635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36636 $(NORMAL_TARGET_EXPORTS) \
36637 (cd $(TARGET_SUBDIR)/libgloss && \
36638 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36640 @endif target-libgloss
36642 # Other targets (info, dvi, pdf, etc.)
36644 .PHONY: maybe-info-target-libgloss info-target-libgloss
36645 maybe-info-target-libgloss:
36646 @if target-libgloss
36647 maybe-info-target-libgloss: info-target-libgloss
36649 info-target-libgloss: \
36650 configure-target-libgloss
36651 @: $(MAKE); $(unstage)
36652 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36653 r=`${PWD_COMMAND}`; export r; \
36654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36655 $(NORMAL_TARGET_EXPORTS) \
36656 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36657 for flag in $(EXTRA_TARGET_FLAGS); do \
36658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36659 done; \
36660 (cd $(TARGET_SUBDIR)/libgloss && \
36661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36663 "RANLIB=$${RANLIB}" \
36664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36665 info) \
36666 || exit 1
36668 @endif target-libgloss
36670 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36671 maybe-dvi-target-libgloss:
36672 @if target-libgloss
36673 maybe-dvi-target-libgloss: dvi-target-libgloss
36675 dvi-target-libgloss: \
36676 configure-target-libgloss
36677 @: $(MAKE); $(unstage)
36678 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36679 r=`${PWD_COMMAND}`; export r; \
36680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36681 $(NORMAL_TARGET_EXPORTS) \
36682 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36683 for flag in $(EXTRA_TARGET_FLAGS); do \
36684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36685 done; \
36686 (cd $(TARGET_SUBDIR)/libgloss && \
36687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36689 "RANLIB=$${RANLIB}" \
36690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36691 dvi) \
36692 || exit 1
36694 @endif target-libgloss
36696 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36697 maybe-pdf-target-libgloss:
36698 @if target-libgloss
36699 maybe-pdf-target-libgloss: pdf-target-libgloss
36701 pdf-target-libgloss: \
36702 configure-target-libgloss
36703 @: $(MAKE); $(unstage)
36704 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36705 r=`${PWD_COMMAND}`; export r; \
36706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36707 $(NORMAL_TARGET_EXPORTS) \
36708 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 pdf) \
36718 || exit 1
36720 @endif target-libgloss
36722 .PHONY: maybe-html-target-libgloss html-target-libgloss
36723 maybe-html-target-libgloss:
36724 @if target-libgloss
36725 maybe-html-target-libgloss: html-target-libgloss
36727 html-target-libgloss: \
36728 configure-target-libgloss
36729 @: $(MAKE); $(unstage)
36730 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36731 r=`${PWD_COMMAND}`; export r; \
36732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36733 $(NORMAL_TARGET_EXPORTS) \
36734 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36735 for flag in $(EXTRA_TARGET_FLAGS); do \
36736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36737 done; \
36738 (cd $(TARGET_SUBDIR)/libgloss && \
36739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36741 "RANLIB=$${RANLIB}" \
36742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36743 html) \
36744 || exit 1
36746 @endif target-libgloss
36748 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36749 maybe-TAGS-target-libgloss:
36750 @if target-libgloss
36751 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36753 TAGS-target-libgloss: \
36754 configure-target-libgloss
36755 @: $(MAKE); $(unstage)
36756 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36757 r=`${PWD_COMMAND}`; export r; \
36758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36759 $(NORMAL_TARGET_EXPORTS) \
36760 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36761 for flag in $(EXTRA_TARGET_FLAGS); do \
36762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36763 done; \
36764 (cd $(TARGET_SUBDIR)/libgloss && \
36765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36767 "RANLIB=$${RANLIB}" \
36768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36769 TAGS) \
36770 || exit 1
36772 @endif target-libgloss
36774 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36775 maybe-install-info-target-libgloss:
36776 @if target-libgloss
36777 maybe-install-info-target-libgloss: install-info-target-libgloss
36779 install-info-target-libgloss: \
36780 configure-target-libgloss \
36781 info-target-libgloss
36782 @: $(MAKE); $(unstage)
36783 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36784 r=`${PWD_COMMAND}`; export r; \
36785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36786 $(NORMAL_TARGET_EXPORTS) \
36787 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36788 for flag in $(EXTRA_TARGET_FLAGS); do \
36789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36790 done; \
36791 (cd $(TARGET_SUBDIR)/libgloss && \
36792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36794 "RANLIB=$${RANLIB}" \
36795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36796 install-info) \
36797 || exit 1
36799 @endif target-libgloss
36801 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36802 maybe-install-html-target-libgloss:
36803 @if target-libgloss
36804 maybe-install-html-target-libgloss: install-html-target-libgloss
36806 install-html-target-libgloss: \
36807 configure-target-libgloss \
36808 html-target-libgloss
36809 @: $(MAKE); $(unstage)
36810 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36811 r=`${PWD_COMMAND}`; export r; \
36812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36813 $(NORMAL_TARGET_EXPORTS) \
36814 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36815 for flag in $(EXTRA_TARGET_FLAGS); do \
36816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36817 done; \
36818 (cd $(TARGET_SUBDIR)/libgloss && \
36819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36821 "RANLIB=$${RANLIB}" \
36822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36823 install-html) \
36824 || exit 1
36826 @endif target-libgloss
36828 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36829 maybe-installcheck-target-libgloss:
36830 @if target-libgloss
36831 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36833 installcheck-target-libgloss: \
36834 configure-target-libgloss
36835 @: $(MAKE); $(unstage)
36836 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36837 r=`${PWD_COMMAND}`; export r; \
36838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36839 $(NORMAL_TARGET_EXPORTS) \
36840 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36841 for flag in $(EXTRA_TARGET_FLAGS); do \
36842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36843 done; \
36844 (cd $(TARGET_SUBDIR)/libgloss && \
36845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36847 "RANLIB=$${RANLIB}" \
36848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36849 installcheck) \
36850 || exit 1
36852 @endif target-libgloss
36854 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36855 maybe-mostlyclean-target-libgloss:
36856 @if target-libgloss
36857 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36859 mostlyclean-target-libgloss:
36860 @: $(MAKE); $(unstage)
36861 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36862 r=`${PWD_COMMAND}`; export r; \
36863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36864 $(NORMAL_TARGET_EXPORTS) \
36865 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36866 for flag in $(EXTRA_TARGET_FLAGS); do \
36867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36868 done; \
36869 (cd $(TARGET_SUBDIR)/libgloss && \
36870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36872 "RANLIB=$${RANLIB}" \
36873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36874 mostlyclean) \
36875 || exit 1
36877 @endif target-libgloss
36879 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36880 maybe-clean-target-libgloss:
36881 @if target-libgloss
36882 maybe-clean-target-libgloss: clean-target-libgloss
36884 clean-target-libgloss:
36885 @: $(MAKE); $(unstage)
36886 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36887 r=`${PWD_COMMAND}`; export r; \
36888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36889 $(NORMAL_TARGET_EXPORTS) \
36890 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36891 for flag in $(EXTRA_TARGET_FLAGS); do \
36892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36893 done; \
36894 (cd $(TARGET_SUBDIR)/libgloss && \
36895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36897 "RANLIB=$${RANLIB}" \
36898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36899 clean) \
36900 || exit 1
36902 @endif target-libgloss
36904 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36905 maybe-distclean-target-libgloss:
36906 @if target-libgloss
36907 maybe-distclean-target-libgloss: distclean-target-libgloss
36909 distclean-target-libgloss:
36910 @: $(MAKE); $(unstage)
36911 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36912 r=`${PWD_COMMAND}`; export r; \
36913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36914 $(NORMAL_TARGET_EXPORTS) \
36915 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36916 for flag in $(EXTRA_TARGET_FLAGS); do \
36917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36918 done; \
36919 (cd $(TARGET_SUBDIR)/libgloss && \
36920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36922 "RANLIB=$${RANLIB}" \
36923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36924 distclean) \
36925 || exit 1
36927 @endif target-libgloss
36929 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36930 maybe-maintainer-clean-target-libgloss:
36931 @if target-libgloss
36932 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36934 maintainer-clean-target-libgloss:
36935 @: $(MAKE); $(unstage)
36936 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36937 r=`${PWD_COMMAND}`; export r; \
36938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36939 $(NORMAL_TARGET_EXPORTS) \
36940 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36941 for flag in $(EXTRA_TARGET_FLAGS); do \
36942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36943 done; \
36944 (cd $(TARGET_SUBDIR)/libgloss && \
36945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36947 "RANLIB=$${RANLIB}" \
36948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36949 maintainer-clean) \
36950 || exit 1
36952 @endif target-libgloss
36958 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
36959 maybe-configure-target-libiberty:
36960 @if gcc-bootstrap
36961 configure-target-libiberty: stage_current
36962 @endif gcc-bootstrap
36963 @if target-libiberty
36964 maybe-configure-target-libiberty: configure-target-libiberty
36965 configure-target-libiberty:
36966 @: $(MAKE); $(unstage)
36967 @r=`${PWD_COMMAND}`; export r; \
36968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36969 echo "Checking multilib configuration for libiberty..."; \
36970 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
36971 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
36972 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
36973 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
36974 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
36975 else \
36976 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
36977 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
36978 fi; \
36979 else \
36980 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
36981 fi; \
36982 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
36983 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
36984 $(NORMAL_TARGET_EXPORTS) \
36985 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
36986 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
36987 case $(srcdir) in \
36988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36989 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
36990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36991 esac; \
36992 srcdiroption="--srcdir=$${topdir}/libiberty"; \
36993 libsrcdir="$$s/libiberty"; \
36994 rm -f no-such-file || : ; \
36995 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36996 $(TARGET_CONFIGARGS) $${srcdiroption} \
36997 || exit 1
36998 @endif target-libiberty
37004 .PHONY: all-target-libiberty maybe-all-target-libiberty
37005 maybe-all-target-libiberty:
37006 @if gcc-bootstrap
37007 all-target-libiberty: stage_current
37008 @endif gcc-bootstrap
37009 @if target-libiberty
37010 TARGET-target-libiberty=all
37011 maybe-all-target-libiberty: all-target-libiberty
37012 all-target-libiberty: configure-target-libiberty
37013 @: $(MAKE); $(unstage)
37014 @r=`${PWD_COMMAND}`; export r; \
37015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37016 $(NORMAL_TARGET_EXPORTS) \
37017 (cd $(TARGET_SUBDIR)/libiberty && \
37018 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
37019 @endif target-libiberty
37025 .PHONY: check-target-libiberty maybe-check-target-libiberty
37026 maybe-check-target-libiberty:
37027 @if target-libiberty
37028 maybe-check-target-libiberty: check-target-libiberty
37030 check-target-libiberty:
37031 @: $(MAKE); $(unstage)
37032 @r=`${PWD_COMMAND}`; export r; \
37033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37034 $(NORMAL_TARGET_EXPORTS) \
37035 (cd $(TARGET_SUBDIR)/libiberty && \
37036 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37038 @endif target-libiberty
37040 .PHONY: install-target-libiberty maybe-install-target-libiberty
37041 maybe-install-target-libiberty:
37042 @if target-libiberty
37043 maybe-install-target-libiberty: install-target-libiberty
37045 install-target-libiberty: installdirs
37046 @: $(MAKE); $(unstage)
37047 @r=`${PWD_COMMAND}`; export r; \
37048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37049 $(NORMAL_TARGET_EXPORTS) \
37050 (cd $(TARGET_SUBDIR)/libiberty && \
37051 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37053 @endif target-libiberty
37055 # Other targets (info, dvi, pdf, etc.)
37057 .PHONY: maybe-info-target-libiberty info-target-libiberty
37058 maybe-info-target-libiberty:
37059 @if target-libiberty
37060 maybe-info-target-libiberty: info-target-libiberty
37062 info-target-libiberty: \
37063 configure-target-libiberty
37064 @: $(MAKE); $(unstage)
37065 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37066 r=`${PWD_COMMAND}`; export r; \
37067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37068 $(NORMAL_TARGET_EXPORTS) \
37069 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
37070 for flag in $(EXTRA_TARGET_FLAGS); do \
37071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37072 done; \
37073 (cd $(TARGET_SUBDIR)/libiberty && \
37074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37076 "RANLIB=$${RANLIB}" \
37077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37078 info) \
37079 || exit 1
37081 @endif target-libiberty
37083 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
37084 maybe-dvi-target-libiberty:
37085 @if target-libiberty
37086 maybe-dvi-target-libiberty: dvi-target-libiberty
37088 dvi-target-libiberty: \
37089 configure-target-libiberty
37090 @: $(MAKE); $(unstage)
37091 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37092 r=`${PWD_COMMAND}`; export r; \
37093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37094 $(NORMAL_TARGET_EXPORTS) \
37095 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
37096 for flag in $(EXTRA_TARGET_FLAGS); do \
37097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37098 done; \
37099 (cd $(TARGET_SUBDIR)/libiberty && \
37100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37102 "RANLIB=$${RANLIB}" \
37103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37104 dvi) \
37105 || exit 1
37107 @endif target-libiberty
37109 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
37110 maybe-pdf-target-libiberty:
37111 @if target-libiberty
37112 maybe-pdf-target-libiberty: pdf-target-libiberty
37114 pdf-target-libiberty: \
37115 configure-target-libiberty
37116 @: $(MAKE); $(unstage)
37117 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37118 r=`${PWD_COMMAND}`; export r; \
37119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37120 $(NORMAL_TARGET_EXPORTS) \
37121 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
37122 for flag in $(EXTRA_TARGET_FLAGS); do \
37123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37124 done; \
37125 (cd $(TARGET_SUBDIR)/libiberty && \
37126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37128 "RANLIB=$${RANLIB}" \
37129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37130 pdf) \
37131 || exit 1
37133 @endif target-libiberty
37135 .PHONY: maybe-html-target-libiberty html-target-libiberty
37136 maybe-html-target-libiberty:
37137 @if target-libiberty
37138 maybe-html-target-libiberty: html-target-libiberty
37140 html-target-libiberty: \
37141 configure-target-libiberty
37142 @: $(MAKE); $(unstage)
37143 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37144 r=`${PWD_COMMAND}`; export r; \
37145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37146 $(NORMAL_TARGET_EXPORTS) \
37147 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
37148 for flag in $(EXTRA_TARGET_FLAGS); do \
37149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37150 done; \
37151 (cd $(TARGET_SUBDIR)/libiberty && \
37152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37154 "RANLIB=$${RANLIB}" \
37155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37156 html) \
37157 || exit 1
37159 @endif target-libiberty
37161 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
37162 maybe-TAGS-target-libiberty:
37163 @if target-libiberty
37164 maybe-TAGS-target-libiberty: TAGS-target-libiberty
37166 TAGS-target-libiberty: \
37167 configure-target-libiberty
37168 @: $(MAKE); $(unstage)
37169 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37170 r=`${PWD_COMMAND}`; export r; \
37171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37172 $(NORMAL_TARGET_EXPORTS) \
37173 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
37174 for flag in $(EXTRA_TARGET_FLAGS); do \
37175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37176 done; \
37177 (cd $(TARGET_SUBDIR)/libiberty && \
37178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37180 "RANLIB=$${RANLIB}" \
37181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37182 TAGS) \
37183 || exit 1
37185 @endif target-libiberty
37187 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
37188 maybe-install-info-target-libiberty:
37189 @if target-libiberty
37190 maybe-install-info-target-libiberty: install-info-target-libiberty
37192 install-info-target-libiberty: \
37193 configure-target-libiberty \
37194 info-target-libiberty
37195 @: $(MAKE); $(unstage)
37196 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37197 r=`${PWD_COMMAND}`; export r; \
37198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37199 $(NORMAL_TARGET_EXPORTS) \
37200 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
37201 for flag in $(EXTRA_TARGET_FLAGS); do \
37202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37203 done; \
37204 (cd $(TARGET_SUBDIR)/libiberty && \
37205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37207 "RANLIB=$${RANLIB}" \
37208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37209 install-info) \
37210 || exit 1
37212 @endif target-libiberty
37214 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
37215 maybe-install-html-target-libiberty:
37216 @if target-libiberty
37217 maybe-install-html-target-libiberty: install-html-target-libiberty
37219 install-html-target-libiberty: \
37220 configure-target-libiberty \
37221 html-target-libiberty
37222 @: $(MAKE); $(unstage)
37223 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37224 r=`${PWD_COMMAND}`; export r; \
37225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37226 $(NORMAL_TARGET_EXPORTS) \
37227 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
37228 for flag in $(EXTRA_TARGET_FLAGS); do \
37229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37230 done; \
37231 (cd $(TARGET_SUBDIR)/libiberty && \
37232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37234 "RANLIB=$${RANLIB}" \
37235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37236 install-html) \
37237 || exit 1
37239 @endif target-libiberty
37241 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
37242 maybe-installcheck-target-libiberty:
37243 @if target-libiberty
37244 maybe-installcheck-target-libiberty: installcheck-target-libiberty
37246 installcheck-target-libiberty: \
37247 configure-target-libiberty
37248 @: $(MAKE); $(unstage)
37249 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37250 r=`${PWD_COMMAND}`; export r; \
37251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37252 $(NORMAL_TARGET_EXPORTS) \
37253 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
37254 for flag in $(EXTRA_TARGET_FLAGS); do \
37255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37256 done; \
37257 (cd $(TARGET_SUBDIR)/libiberty && \
37258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37260 "RANLIB=$${RANLIB}" \
37261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37262 installcheck) \
37263 || exit 1
37265 @endif target-libiberty
37267 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
37268 maybe-mostlyclean-target-libiberty:
37269 @if target-libiberty
37270 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
37272 mostlyclean-target-libiberty:
37273 @: $(MAKE); $(unstage)
37274 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37275 r=`${PWD_COMMAND}`; export r; \
37276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37277 $(NORMAL_TARGET_EXPORTS) \
37278 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
37279 for flag in $(EXTRA_TARGET_FLAGS); do \
37280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37281 done; \
37282 (cd $(TARGET_SUBDIR)/libiberty && \
37283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37285 "RANLIB=$${RANLIB}" \
37286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37287 mostlyclean) \
37288 || exit 1
37290 @endif target-libiberty
37292 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
37293 maybe-clean-target-libiberty:
37294 @if target-libiberty
37295 maybe-clean-target-libiberty: clean-target-libiberty
37297 clean-target-libiberty:
37298 @: $(MAKE); $(unstage)
37299 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37300 r=`${PWD_COMMAND}`; export r; \
37301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37302 $(NORMAL_TARGET_EXPORTS) \
37303 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
37304 for flag in $(EXTRA_TARGET_FLAGS); do \
37305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37306 done; \
37307 (cd $(TARGET_SUBDIR)/libiberty && \
37308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37310 "RANLIB=$${RANLIB}" \
37311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37312 clean) \
37313 || exit 1
37315 @endif target-libiberty
37317 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
37318 maybe-distclean-target-libiberty:
37319 @if target-libiberty
37320 maybe-distclean-target-libiberty: distclean-target-libiberty
37322 distclean-target-libiberty:
37323 @: $(MAKE); $(unstage)
37324 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37325 r=`${PWD_COMMAND}`; export r; \
37326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37327 $(NORMAL_TARGET_EXPORTS) \
37328 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
37329 for flag in $(EXTRA_TARGET_FLAGS); do \
37330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37331 done; \
37332 (cd $(TARGET_SUBDIR)/libiberty && \
37333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37335 "RANLIB=$${RANLIB}" \
37336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37337 distclean) \
37338 || exit 1
37340 @endif target-libiberty
37342 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
37343 maybe-maintainer-clean-target-libiberty:
37344 @if target-libiberty
37345 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
37347 maintainer-clean-target-libiberty:
37348 @: $(MAKE); $(unstage)
37349 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37350 r=`${PWD_COMMAND}`; export r; \
37351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37352 $(NORMAL_TARGET_EXPORTS) \
37353 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
37354 for flag in $(EXTRA_TARGET_FLAGS); do \
37355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37356 done; \
37357 (cd $(TARGET_SUBDIR)/libiberty && \
37358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37360 "RANLIB=$${RANLIB}" \
37361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37362 maintainer-clean) \
37363 || exit 1
37365 @endif target-libiberty
37371 .PHONY: configure-target-gperf maybe-configure-target-gperf
37372 maybe-configure-target-gperf:
37373 @if gcc-bootstrap
37374 configure-target-gperf: stage_current
37375 @endif gcc-bootstrap
37376 @if target-gperf
37377 maybe-configure-target-gperf: configure-target-gperf
37378 configure-target-gperf:
37379 @: $(MAKE); $(unstage)
37380 @r=`${PWD_COMMAND}`; export r; \
37381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37382 echo "Checking multilib configuration for gperf..."; \
37383 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37384 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
37385 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
37386 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
37387 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
37388 else \
37389 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
37390 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37391 fi; \
37392 else \
37393 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37394 fi; \
37395 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
37396 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37397 $(NORMAL_TARGET_EXPORTS) \
37398 echo Configuring in $(TARGET_SUBDIR)/gperf; \
37399 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
37400 case $(srcdir) in \
37401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37402 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
37403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37404 esac; \
37405 srcdiroption="--srcdir=$${topdir}/gperf"; \
37406 libsrcdir="$$s/gperf"; \
37407 rm -f no-such-file || : ; \
37408 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37409 $(TARGET_CONFIGARGS) $${srcdiroption} \
37410 || exit 1
37411 @endif target-gperf
37417 .PHONY: all-target-gperf maybe-all-target-gperf
37418 maybe-all-target-gperf:
37419 @if gcc-bootstrap
37420 all-target-gperf: stage_current
37421 @endif gcc-bootstrap
37422 @if target-gperf
37423 TARGET-target-gperf=all
37424 maybe-all-target-gperf: all-target-gperf
37425 all-target-gperf: configure-target-gperf
37426 @: $(MAKE); $(unstage)
37427 @r=`${PWD_COMMAND}`; export r; \
37428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37429 $(NORMAL_TARGET_EXPORTS) \
37430 (cd $(TARGET_SUBDIR)/gperf && \
37431 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
37432 @endif target-gperf
37438 .PHONY: check-target-gperf maybe-check-target-gperf
37439 maybe-check-target-gperf:
37440 @if target-gperf
37441 maybe-check-target-gperf: check-target-gperf
37443 check-target-gperf:
37444 @: $(MAKE); $(unstage)
37445 @r=`${PWD_COMMAND}`; export r; \
37446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37447 $(NORMAL_TARGET_EXPORTS) \
37448 (cd $(TARGET_SUBDIR)/gperf && \
37449 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37451 @endif target-gperf
37453 .PHONY: install-target-gperf maybe-install-target-gperf
37454 maybe-install-target-gperf:
37455 @if target-gperf
37456 maybe-install-target-gperf: install-target-gperf
37458 install-target-gperf: installdirs
37459 @: $(MAKE); $(unstage)
37460 @r=`${PWD_COMMAND}`; export r; \
37461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37462 $(NORMAL_TARGET_EXPORTS) \
37463 (cd $(TARGET_SUBDIR)/gperf && \
37464 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37466 @endif target-gperf
37468 # Other targets (info, dvi, pdf, etc.)
37470 .PHONY: maybe-info-target-gperf info-target-gperf
37471 maybe-info-target-gperf:
37472 @if target-gperf
37473 maybe-info-target-gperf: info-target-gperf
37475 info-target-gperf: \
37476 configure-target-gperf
37477 @: $(MAKE); $(unstage)
37478 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37479 r=`${PWD_COMMAND}`; export r; \
37480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37481 $(NORMAL_TARGET_EXPORTS) \
37482 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
37483 for flag in $(EXTRA_TARGET_FLAGS); do \
37484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37485 done; \
37486 (cd $(TARGET_SUBDIR)/gperf && \
37487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37489 "RANLIB=$${RANLIB}" \
37490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37491 info) \
37492 || exit 1
37494 @endif target-gperf
37496 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
37497 maybe-dvi-target-gperf:
37498 @if target-gperf
37499 maybe-dvi-target-gperf: dvi-target-gperf
37501 dvi-target-gperf: \
37502 configure-target-gperf
37503 @: $(MAKE); $(unstage)
37504 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37505 r=`${PWD_COMMAND}`; export r; \
37506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37507 $(NORMAL_TARGET_EXPORTS) \
37508 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
37509 for flag in $(EXTRA_TARGET_FLAGS); do \
37510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37511 done; \
37512 (cd $(TARGET_SUBDIR)/gperf && \
37513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37515 "RANLIB=$${RANLIB}" \
37516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37517 dvi) \
37518 || exit 1
37520 @endif target-gperf
37522 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
37523 maybe-pdf-target-gperf:
37524 @if target-gperf
37525 maybe-pdf-target-gperf: pdf-target-gperf
37527 pdf-target-gperf: \
37528 configure-target-gperf
37529 @: $(MAKE); $(unstage)
37530 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37531 r=`${PWD_COMMAND}`; export r; \
37532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37533 $(NORMAL_TARGET_EXPORTS) \
37534 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
37535 for flag in $(EXTRA_TARGET_FLAGS); do \
37536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37537 done; \
37538 (cd $(TARGET_SUBDIR)/gperf && \
37539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37541 "RANLIB=$${RANLIB}" \
37542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37543 pdf) \
37544 || exit 1
37546 @endif target-gperf
37548 .PHONY: maybe-html-target-gperf html-target-gperf
37549 maybe-html-target-gperf:
37550 @if target-gperf
37551 maybe-html-target-gperf: html-target-gperf
37553 html-target-gperf: \
37554 configure-target-gperf
37555 @: $(MAKE); $(unstage)
37556 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37557 r=`${PWD_COMMAND}`; export r; \
37558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37559 $(NORMAL_TARGET_EXPORTS) \
37560 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
37561 for flag in $(EXTRA_TARGET_FLAGS); do \
37562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37563 done; \
37564 (cd $(TARGET_SUBDIR)/gperf && \
37565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37567 "RANLIB=$${RANLIB}" \
37568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37569 html) \
37570 || exit 1
37572 @endif target-gperf
37574 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
37575 maybe-TAGS-target-gperf:
37576 @if target-gperf
37577 maybe-TAGS-target-gperf: TAGS-target-gperf
37579 TAGS-target-gperf: \
37580 configure-target-gperf
37581 @: $(MAKE); $(unstage)
37582 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37583 r=`${PWD_COMMAND}`; export r; \
37584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37585 $(NORMAL_TARGET_EXPORTS) \
37586 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
37587 for flag in $(EXTRA_TARGET_FLAGS); do \
37588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37589 done; \
37590 (cd $(TARGET_SUBDIR)/gperf && \
37591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37593 "RANLIB=$${RANLIB}" \
37594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37595 TAGS) \
37596 || exit 1
37598 @endif target-gperf
37600 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
37601 maybe-install-info-target-gperf:
37602 @if target-gperf
37603 maybe-install-info-target-gperf: install-info-target-gperf
37605 install-info-target-gperf: \
37606 configure-target-gperf \
37607 info-target-gperf
37608 @: $(MAKE); $(unstage)
37609 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37610 r=`${PWD_COMMAND}`; export r; \
37611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37612 $(NORMAL_TARGET_EXPORTS) \
37613 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
37614 for flag in $(EXTRA_TARGET_FLAGS); do \
37615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37616 done; \
37617 (cd $(TARGET_SUBDIR)/gperf && \
37618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37620 "RANLIB=$${RANLIB}" \
37621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37622 install-info) \
37623 || exit 1
37625 @endif target-gperf
37627 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
37628 maybe-install-html-target-gperf:
37629 @if target-gperf
37630 maybe-install-html-target-gperf: install-html-target-gperf
37632 install-html-target-gperf: \
37633 configure-target-gperf \
37634 html-target-gperf
37635 @: $(MAKE); $(unstage)
37636 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37637 r=`${PWD_COMMAND}`; export r; \
37638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37639 $(NORMAL_TARGET_EXPORTS) \
37640 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
37641 for flag in $(EXTRA_TARGET_FLAGS); do \
37642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37643 done; \
37644 (cd $(TARGET_SUBDIR)/gperf && \
37645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37647 "RANLIB=$${RANLIB}" \
37648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37649 install-html) \
37650 || exit 1
37652 @endif target-gperf
37654 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
37655 maybe-installcheck-target-gperf:
37656 @if target-gperf
37657 maybe-installcheck-target-gperf: installcheck-target-gperf
37659 installcheck-target-gperf: \
37660 configure-target-gperf
37661 @: $(MAKE); $(unstage)
37662 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37663 r=`${PWD_COMMAND}`; export r; \
37664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37665 $(NORMAL_TARGET_EXPORTS) \
37666 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
37667 for flag in $(EXTRA_TARGET_FLAGS); do \
37668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37669 done; \
37670 (cd $(TARGET_SUBDIR)/gperf && \
37671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37673 "RANLIB=$${RANLIB}" \
37674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37675 installcheck) \
37676 || exit 1
37678 @endif target-gperf
37680 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
37681 maybe-mostlyclean-target-gperf:
37682 @if target-gperf
37683 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
37685 mostlyclean-target-gperf:
37686 @: $(MAKE); $(unstage)
37687 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37688 r=`${PWD_COMMAND}`; export r; \
37689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37690 $(NORMAL_TARGET_EXPORTS) \
37691 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
37692 for flag in $(EXTRA_TARGET_FLAGS); do \
37693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37694 done; \
37695 (cd $(TARGET_SUBDIR)/gperf && \
37696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37698 "RANLIB=$${RANLIB}" \
37699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37700 mostlyclean) \
37701 || exit 1
37703 @endif target-gperf
37705 .PHONY: maybe-clean-target-gperf clean-target-gperf
37706 maybe-clean-target-gperf:
37707 @if target-gperf
37708 maybe-clean-target-gperf: clean-target-gperf
37710 clean-target-gperf:
37711 @: $(MAKE); $(unstage)
37712 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37713 r=`${PWD_COMMAND}`; export r; \
37714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37715 $(NORMAL_TARGET_EXPORTS) \
37716 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
37717 for flag in $(EXTRA_TARGET_FLAGS); do \
37718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37719 done; \
37720 (cd $(TARGET_SUBDIR)/gperf && \
37721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37723 "RANLIB=$${RANLIB}" \
37724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37725 clean) \
37726 || exit 1
37728 @endif target-gperf
37730 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
37731 maybe-distclean-target-gperf:
37732 @if target-gperf
37733 maybe-distclean-target-gperf: distclean-target-gperf
37735 distclean-target-gperf:
37736 @: $(MAKE); $(unstage)
37737 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37738 r=`${PWD_COMMAND}`; export r; \
37739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37740 $(NORMAL_TARGET_EXPORTS) \
37741 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
37742 for flag in $(EXTRA_TARGET_FLAGS); do \
37743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37744 done; \
37745 (cd $(TARGET_SUBDIR)/gperf && \
37746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37748 "RANLIB=$${RANLIB}" \
37749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37750 distclean) \
37751 || exit 1
37753 @endif target-gperf
37755 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
37756 maybe-maintainer-clean-target-gperf:
37757 @if target-gperf
37758 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
37760 maintainer-clean-target-gperf:
37761 @: $(MAKE); $(unstage)
37762 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37763 r=`${PWD_COMMAND}`; export r; \
37764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37765 $(NORMAL_TARGET_EXPORTS) \
37766 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
37767 for flag in $(EXTRA_TARGET_FLAGS); do \
37768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37769 done; \
37770 (cd $(TARGET_SUBDIR)/gperf && \
37771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37773 "RANLIB=$${RANLIB}" \
37774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37775 maintainer-clean) \
37776 || exit 1
37778 @endif target-gperf
37784 .PHONY: configure-target-examples maybe-configure-target-examples
37785 maybe-configure-target-examples:
37786 @if gcc-bootstrap
37787 configure-target-examples: stage_current
37788 @endif gcc-bootstrap
37789 @if target-examples
37790 maybe-configure-target-examples: configure-target-examples
37791 configure-target-examples:
37792 @: $(MAKE); $(unstage)
37793 @r=`${PWD_COMMAND}`; export r; \
37794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37795 echo "Checking multilib configuration for examples..."; \
37796 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
37797 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
37798 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
37799 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
37800 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
37801 else \
37802 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
37803 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
37804 fi; \
37805 else \
37806 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
37807 fi; \
37808 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
37809 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
37810 $(NORMAL_TARGET_EXPORTS) \
37811 echo Configuring in $(TARGET_SUBDIR)/examples; \
37812 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
37813 case $(srcdir) in \
37814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37815 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
37816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37817 esac; \
37818 srcdiroption="--srcdir=$${topdir}/examples"; \
37819 libsrcdir="$$s/examples"; \
37820 rm -f no-such-file || : ; \
37821 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37822 $(TARGET_CONFIGARGS) $${srcdiroption} \
37823 || exit 1
37824 @endif target-examples
37830 .PHONY: all-target-examples maybe-all-target-examples
37831 maybe-all-target-examples:
37832 @if gcc-bootstrap
37833 all-target-examples: stage_current
37834 @endif gcc-bootstrap
37835 @if target-examples
37836 TARGET-target-examples=all
37837 maybe-all-target-examples: all-target-examples
37838 all-target-examples: configure-target-examples
37839 @: $(MAKE); $(unstage)
37840 @r=`${PWD_COMMAND}`; export r; \
37841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37842 $(NORMAL_TARGET_EXPORTS) \
37843 (cd $(TARGET_SUBDIR)/examples && \
37844 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
37845 @endif target-examples
37851 .PHONY: check-target-examples maybe-check-target-examples
37852 maybe-check-target-examples:
37853 @if target-examples
37854 maybe-check-target-examples: check-target-examples
37856 # Dummy target for uncheckable module.
37857 check-target-examples:
37859 @endif target-examples
37861 .PHONY: install-target-examples maybe-install-target-examples
37862 maybe-install-target-examples:
37863 @if target-examples
37864 maybe-install-target-examples: install-target-examples
37866 # Dummy target for uninstallable.
37867 install-target-examples:
37869 @endif target-examples
37871 # Other targets (info, dvi, pdf, etc.)
37873 .PHONY: maybe-info-target-examples info-target-examples
37874 maybe-info-target-examples:
37875 @if target-examples
37876 maybe-info-target-examples: info-target-examples
37878 info-target-examples: \
37879 configure-target-examples
37880 @: $(MAKE); $(unstage)
37881 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
37882 r=`${PWD_COMMAND}`; export r; \
37883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37884 $(NORMAL_TARGET_EXPORTS) \
37885 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
37886 for flag in $(EXTRA_TARGET_FLAGS); do \
37887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37888 done; \
37889 (cd $(TARGET_SUBDIR)/examples && \
37890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37892 "RANLIB=$${RANLIB}" \
37893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37894 info) \
37895 || exit 1
37897 @endif target-examples
37899 .PHONY: maybe-dvi-target-examples dvi-target-examples
37900 maybe-dvi-target-examples:
37901 @if target-examples
37902 maybe-dvi-target-examples: dvi-target-examples
37904 dvi-target-examples: \
37905 configure-target-examples
37906 @: $(MAKE); $(unstage)
37907 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
37908 r=`${PWD_COMMAND}`; export r; \
37909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37910 $(NORMAL_TARGET_EXPORTS) \
37911 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
37912 for flag in $(EXTRA_TARGET_FLAGS); do \
37913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37914 done; \
37915 (cd $(TARGET_SUBDIR)/examples && \
37916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37918 "RANLIB=$${RANLIB}" \
37919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37920 dvi) \
37921 || exit 1
37923 @endif target-examples
37925 .PHONY: maybe-pdf-target-examples pdf-target-examples
37926 maybe-pdf-target-examples:
37927 @if target-examples
37928 maybe-pdf-target-examples: pdf-target-examples
37930 pdf-target-examples: \
37931 configure-target-examples
37932 @: $(MAKE); $(unstage)
37933 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
37934 r=`${PWD_COMMAND}`; export r; \
37935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37936 $(NORMAL_TARGET_EXPORTS) \
37937 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
37938 for flag in $(EXTRA_TARGET_FLAGS); do \
37939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37940 done; \
37941 (cd $(TARGET_SUBDIR)/examples && \
37942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37944 "RANLIB=$${RANLIB}" \
37945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37946 pdf) \
37947 || exit 1
37949 @endif target-examples
37951 .PHONY: maybe-html-target-examples html-target-examples
37952 maybe-html-target-examples:
37953 @if target-examples
37954 maybe-html-target-examples: html-target-examples
37956 html-target-examples: \
37957 configure-target-examples
37958 @: $(MAKE); $(unstage)
37959 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
37960 r=`${PWD_COMMAND}`; export r; \
37961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37962 $(NORMAL_TARGET_EXPORTS) \
37963 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
37964 for flag in $(EXTRA_TARGET_FLAGS); do \
37965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37966 done; \
37967 (cd $(TARGET_SUBDIR)/examples && \
37968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37970 "RANLIB=$${RANLIB}" \
37971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37972 html) \
37973 || exit 1
37975 @endif target-examples
37977 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
37978 maybe-TAGS-target-examples:
37979 @if target-examples
37980 maybe-TAGS-target-examples: TAGS-target-examples
37982 TAGS-target-examples: \
37983 configure-target-examples
37984 @: $(MAKE); $(unstage)
37985 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
37986 r=`${PWD_COMMAND}`; export r; \
37987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37988 $(NORMAL_TARGET_EXPORTS) \
37989 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
37990 for flag in $(EXTRA_TARGET_FLAGS); do \
37991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37992 done; \
37993 (cd $(TARGET_SUBDIR)/examples && \
37994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37996 "RANLIB=$${RANLIB}" \
37997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37998 TAGS) \
37999 || exit 1
38001 @endif target-examples
38003 .PHONY: maybe-install-info-target-examples install-info-target-examples
38004 maybe-install-info-target-examples:
38005 @if target-examples
38006 maybe-install-info-target-examples: install-info-target-examples
38008 install-info-target-examples: \
38009 configure-target-examples \
38010 info-target-examples
38011 @: $(MAKE); $(unstage)
38012 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38013 r=`${PWD_COMMAND}`; export r; \
38014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38015 $(NORMAL_TARGET_EXPORTS) \
38016 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
38017 for flag in $(EXTRA_TARGET_FLAGS); do \
38018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38019 done; \
38020 (cd $(TARGET_SUBDIR)/examples && \
38021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38023 "RANLIB=$${RANLIB}" \
38024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38025 install-info) \
38026 || exit 1
38028 @endif target-examples
38030 .PHONY: maybe-install-html-target-examples install-html-target-examples
38031 maybe-install-html-target-examples:
38032 @if target-examples
38033 maybe-install-html-target-examples: install-html-target-examples
38035 install-html-target-examples: \
38036 configure-target-examples \
38037 html-target-examples
38038 @: $(MAKE); $(unstage)
38039 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38040 r=`${PWD_COMMAND}`; export r; \
38041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38042 $(NORMAL_TARGET_EXPORTS) \
38043 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
38044 for flag in $(EXTRA_TARGET_FLAGS); do \
38045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38046 done; \
38047 (cd $(TARGET_SUBDIR)/examples && \
38048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38050 "RANLIB=$${RANLIB}" \
38051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38052 install-html) \
38053 || exit 1
38055 @endif target-examples
38057 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
38058 maybe-installcheck-target-examples:
38059 @if target-examples
38060 maybe-installcheck-target-examples: installcheck-target-examples
38062 installcheck-target-examples: \
38063 configure-target-examples
38064 @: $(MAKE); $(unstage)
38065 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38066 r=`${PWD_COMMAND}`; export r; \
38067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38068 $(NORMAL_TARGET_EXPORTS) \
38069 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
38070 for flag in $(EXTRA_TARGET_FLAGS); do \
38071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38072 done; \
38073 (cd $(TARGET_SUBDIR)/examples && \
38074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38076 "RANLIB=$${RANLIB}" \
38077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38078 installcheck) \
38079 || exit 1
38081 @endif target-examples
38083 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
38084 maybe-mostlyclean-target-examples:
38085 @if target-examples
38086 maybe-mostlyclean-target-examples: mostlyclean-target-examples
38088 mostlyclean-target-examples:
38089 @: $(MAKE); $(unstage)
38090 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38091 r=`${PWD_COMMAND}`; export r; \
38092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38093 $(NORMAL_TARGET_EXPORTS) \
38094 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
38095 for flag in $(EXTRA_TARGET_FLAGS); do \
38096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38097 done; \
38098 (cd $(TARGET_SUBDIR)/examples && \
38099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38101 "RANLIB=$${RANLIB}" \
38102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38103 mostlyclean) \
38104 || exit 1
38106 @endif target-examples
38108 .PHONY: maybe-clean-target-examples clean-target-examples
38109 maybe-clean-target-examples:
38110 @if target-examples
38111 maybe-clean-target-examples: clean-target-examples
38113 clean-target-examples:
38114 @: $(MAKE); $(unstage)
38115 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38116 r=`${PWD_COMMAND}`; export r; \
38117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38118 $(NORMAL_TARGET_EXPORTS) \
38119 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
38120 for flag in $(EXTRA_TARGET_FLAGS); do \
38121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38122 done; \
38123 (cd $(TARGET_SUBDIR)/examples && \
38124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38126 "RANLIB=$${RANLIB}" \
38127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38128 clean) \
38129 || exit 1
38131 @endif target-examples
38133 .PHONY: maybe-distclean-target-examples distclean-target-examples
38134 maybe-distclean-target-examples:
38135 @if target-examples
38136 maybe-distclean-target-examples: distclean-target-examples
38138 distclean-target-examples:
38139 @: $(MAKE); $(unstage)
38140 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38141 r=`${PWD_COMMAND}`; export r; \
38142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38143 $(NORMAL_TARGET_EXPORTS) \
38144 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
38145 for flag in $(EXTRA_TARGET_FLAGS); do \
38146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38147 done; \
38148 (cd $(TARGET_SUBDIR)/examples && \
38149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38151 "RANLIB=$${RANLIB}" \
38152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38153 distclean) \
38154 || exit 1
38156 @endif target-examples
38158 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
38159 maybe-maintainer-clean-target-examples:
38160 @if target-examples
38161 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
38163 maintainer-clean-target-examples:
38164 @: $(MAKE); $(unstage)
38165 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38166 r=`${PWD_COMMAND}`; export r; \
38167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38168 $(NORMAL_TARGET_EXPORTS) \
38169 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
38170 for flag in $(EXTRA_TARGET_FLAGS); do \
38171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38172 done; \
38173 (cd $(TARGET_SUBDIR)/examples && \
38174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38176 "RANLIB=$${RANLIB}" \
38177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38178 maintainer-clean) \
38179 || exit 1
38181 @endif target-examples
38187 .PHONY: configure-target-libffi maybe-configure-target-libffi
38188 maybe-configure-target-libffi:
38189 @if gcc-bootstrap
38190 configure-target-libffi: stage_current
38191 @endif gcc-bootstrap
38192 @if target-libffi
38193 maybe-configure-target-libffi: configure-target-libffi
38194 configure-target-libffi:
38195 @: $(MAKE); $(unstage)
38196 @r=`${PWD_COMMAND}`; export r; \
38197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38198 echo "Checking multilib configuration for libffi..."; \
38199 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38200 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38201 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38202 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38203 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38204 else \
38205 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38206 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38207 fi; \
38208 else \
38209 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38210 fi; \
38211 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38212 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38213 $(NORMAL_TARGET_EXPORTS) \
38214 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38215 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38216 case $(srcdir) in \
38217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38218 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38220 esac; \
38221 srcdiroption="--srcdir=$${topdir}/libffi"; \
38222 libsrcdir="$$s/libffi"; \
38223 rm -f no-such-file || : ; \
38224 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38225 $(TARGET_CONFIGARGS) $${srcdiroption} \
38226 || exit 1
38227 @endif target-libffi
38233 .PHONY: all-target-libffi maybe-all-target-libffi
38234 maybe-all-target-libffi:
38235 @if gcc-bootstrap
38236 all-target-libffi: stage_current
38237 @endif gcc-bootstrap
38238 @if target-libffi
38239 TARGET-target-libffi=all
38240 maybe-all-target-libffi: all-target-libffi
38241 all-target-libffi: configure-target-libffi
38242 @: $(MAKE); $(unstage)
38243 @r=`${PWD_COMMAND}`; export r; \
38244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38245 $(NORMAL_TARGET_EXPORTS) \
38246 (cd $(TARGET_SUBDIR)/libffi && \
38247 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
38248 @endif target-libffi
38254 .PHONY: check-target-libffi maybe-check-target-libffi
38255 maybe-check-target-libffi:
38256 @if target-libffi
38257 maybe-check-target-libffi: check-target-libffi
38259 check-target-libffi:
38260 @: $(MAKE); $(unstage)
38261 @r=`${PWD_COMMAND}`; export r; \
38262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38263 $(NORMAL_TARGET_EXPORTS) \
38264 (cd $(TARGET_SUBDIR)/libffi && \
38265 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38267 @endif target-libffi
38269 .PHONY: install-target-libffi maybe-install-target-libffi
38270 maybe-install-target-libffi:
38271 @if target-libffi
38272 maybe-install-target-libffi: install-target-libffi
38274 install-target-libffi: installdirs
38275 @: $(MAKE); $(unstage)
38276 @r=`${PWD_COMMAND}`; export r; \
38277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38278 $(NORMAL_TARGET_EXPORTS) \
38279 (cd $(TARGET_SUBDIR)/libffi && \
38280 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38282 @endif target-libffi
38284 # Other targets (info, dvi, pdf, etc.)
38286 .PHONY: maybe-info-target-libffi info-target-libffi
38287 maybe-info-target-libffi:
38288 @if target-libffi
38289 maybe-info-target-libffi: info-target-libffi
38291 info-target-libffi: \
38292 configure-target-libffi
38293 @: $(MAKE); $(unstage)
38294 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38295 r=`${PWD_COMMAND}`; export r; \
38296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38297 $(NORMAL_TARGET_EXPORTS) \
38298 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38299 for flag in $(EXTRA_TARGET_FLAGS); do \
38300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38301 done; \
38302 (cd $(TARGET_SUBDIR)/libffi && \
38303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38305 "RANLIB=$${RANLIB}" \
38306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38307 info) \
38308 || exit 1
38310 @endif target-libffi
38312 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38313 maybe-dvi-target-libffi:
38314 @if target-libffi
38315 maybe-dvi-target-libffi: dvi-target-libffi
38317 dvi-target-libffi: \
38318 configure-target-libffi
38319 @: $(MAKE); $(unstage)
38320 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38321 r=`${PWD_COMMAND}`; export r; \
38322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38323 $(NORMAL_TARGET_EXPORTS) \
38324 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38325 for flag in $(EXTRA_TARGET_FLAGS); do \
38326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38327 done; \
38328 (cd $(TARGET_SUBDIR)/libffi && \
38329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38331 "RANLIB=$${RANLIB}" \
38332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38333 dvi) \
38334 || exit 1
38336 @endif target-libffi
38338 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38339 maybe-pdf-target-libffi:
38340 @if target-libffi
38341 maybe-pdf-target-libffi: pdf-target-libffi
38343 pdf-target-libffi: \
38344 configure-target-libffi
38345 @: $(MAKE); $(unstage)
38346 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38347 r=`${PWD_COMMAND}`; export r; \
38348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38349 $(NORMAL_TARGET_EXPORTS) \
38350 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38351 for flag in $(EXTRA_TARGET_FLAGS); do \
38352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38353 done; \
38354 (cd $(TARGET_SUBDIR)/libffi && \
38355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38357 "RANLIB=$${RANLIB}" \
38358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38359 pdf) \
38360 || exit 1
38362 @endif target-libffi
38364 .PHONY: maybe-html-target-libffi html-target-libffi
38365 maybe-html-target-libffi:
38366 @if target-libffi
38367 maybe-html-target-libffi: html-target-libffi
38369 html-target-libffi: \
38370 configure-target-libffi
38371 @: $(MAKE); $(unstage)
38372 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38373 r=`${PWD_COMMAND}`; export r; \
38374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38375 $(NORMAL_TARGET_EXPORTS) \
38376 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38377 for flag in $(EXTRA_TARGET_FLAGS); do \
38378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38379 done; \
38380 (cd $(TARGET_SUBDIR)/libffi && \
38381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38383 "RANLIB=$${RANLIB}" \
38384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38385 html) \
38386 || exit 1
38388 @endif target-libffi
38390 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38391 maybe-TAGS-target-libffi:
38392 @if target-libffi
38393 maybe-TAGS-target-libffi: TAGS-target-libffi
38395 TAGS-target-libffi: \
38396 configure-target-libffi
38397 @: $(MAKE); $(unstage)
38398 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38399 r=`${PWD_COMMAND}`; export r; \
38400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38401 $(NORMAL_TARGET_EXPORTS) \
38402 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38403 for flag in $(EXTRA_TARGET_FLAGS); do \
38404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38405 done; \
38406 (cd $(TARGET_SUBDIR)/libffi && \
38407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38409 "RANLIB=$${RANLIB}" \
38410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38411 TAGS) \
38412 || exit 1
38414 @endif target-libffi
38416 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38417 maybe-install-info-target-libffi:
38418 @if target-libffi
38419 maybe-install-info-target-libffi: install-info-target-libffi
38421 install-info-target-libffi: \
38422 configure-target-libffi \
38423 info-target-libffi
38424 @: $(MAKE); $(unstage)
38425 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38426 r=`${PWD_COMMAND}`; export r; \
38427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38428 $(NORMAL_TARGET_EXPORTS) \
38429 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38430 for flag in $(EXTRA_TARGET_FLAGS); do \
38431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38432 done; \
38433 (cd $(TARGET_SUBDIR)/libffi && \
38434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38436 "RANLIB=$${RANLIB}" \
38437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38438 install-info) \
38439 || exit 1
38441 @endif target-libffi
38443 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38444 maybe-install-html-target-libffi:
38445 @if target-libffi
38446 maybe-install-html-target-libffi: install-html-target-libffi
38448 install-html-target-libffi: \
38449 configure-target-libffi \
38450 html-target-libffi
38451 @: $(MAKE); $(unstage)
38452 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38453 r=`${PWD_COMMAND}`; export r; \
38454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38455 $(NORMAL_TARGET_EXPORTS) \
38456 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38457 for flag in $(EXTRA_TARGET_FLAGS); do \
38458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38459 done; \
38460 (cd $(TARGET_SUBDIR)/libffi && \
38461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38463 "RANLIB=$${RANLIB}" \
38464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38465 install-html) \
38466 || exit 1
38468 @endif target-libffi
38470 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38471 maybe-installcheck-target-libffi:
38472 @if target-libffi
38473 maybe-installcheck-target-libffi: installcheck-target-libffi
38475 installcheck-target-libffi: \
38476 configure-target-libffi
38477 @: $(MAKE); $(unstage)
38478 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38479 r=`${PWD_COMMAND}`; export r; \
38480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38481 $(NORMAL_TARGET_EXPORTS) \
38482 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38483 for flag in $(EXTRA_TARGET_FLAGS); do \
38484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38485 done; \
38486 (cd $(TARGET_SUBDIR)/libffi && \
38487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38489 "RANLIB=$${RANLIB}" \
38490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38491 installcheck) \
38492 || exit 1
38494 @endif target-libffi
38496 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38497 maybe-mostlyclean-target-libffi:
38498 @if target-libffi
38499 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38501 mostlyclean-target-libffi:
38502 @: $(MAKE); $(unstage)
38503 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38504 r=`${PWD_COMMAND}`; export r; \
38505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38506 $(NORMAL_TARGET_EXPORTS) \
38507 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38508 for flag in $(EXTRA_TARGET_FLAGS); do \
38509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38510 done; \
38511 (cd $(TARGET_SUBDIR)/libffi && \
38512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38514 "RANLIB=$${RANLIB}" \
38515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38516 mostlyclean) \
38517 || exit 1
38519 @endif target-libffi
38521 .PHONY: maybe-clean-target-libffi clean-target-libffi
38522 maybe-clean-target-libffi:
38523 @if target-libffi
38524 maybe-clean-target-libffi: clean-target-libffi
38526 clean-target-libffi:
38527 @: $(MAKE); $(unstage)
38528 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38529 r=`${PWD_COMMAND}`; export r; \
38530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38531 $(NORMAL_TARGET_EXPORTS) \
38532 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38533 for flag in $(EXTRA_TARGET_FLAGS); do \
38534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38535 done; \
38536 (cd $(TARGET_SUBDIR)/libffi && \
38537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38539 "RANLIB=$${RANLIB}" \
38540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38541 clean) \
38542 || exit 1
38544 @endif target-libffi
38546 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38547 maybe-distclean-target-libffi:
38548 @if target-libffi
38549 maybe-distclean-target-libffi: distclean-target-libffi
38551 distclean-target-libffi:
38552 @: $(MAKE); $(unstage)
38553 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38554 r=`${PWD_COMMAND}`; export r; \
38555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38556 $(NORMAL_TARGET_EXPORTS) \
38557 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38558 for flag in $(EXTRA_TARGET_FLAGS); do \
38559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38560 done; \
38561 (cd $(TARGET_SUBDIR)/libffi && \
38562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38564 "RANLIB=$${RANLIB}" \
38565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38566 distclean) \
38567 || exit 1
38569 @endif target-libffi
38571 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38572 maybe-maintainer-clean-target-libffi:
38573 @if target-libffi
38574 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38576 maintainer-clean-target-libffi:
38577 @: $(MAKE); $(unstage)
38578 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38579 r=`${PWD_COMMAND}`; export r; \
38580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38581 $(NORMAL_TARGET_EXPORTS) \
38582 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38583 for flag in $(EXTRA_TARGET_FLAGS); do \
38584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38585 done; \
38586 (cd $(TARGET_SUBDIR)/libffi && \
38587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38589 "RANLIB=$${RANLIB}" \
38590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38591 maintainer-clean) \
38592 || exit 1
38594 @endif target-libffi
38600 .PHONY: configure-target-libjava maybe-configure-target-libjava
38601 maybe-configure-target-libjava:
38602 @if gcc-bootstrap
38603 configure-target-libjava: stage_current
38604 @endif gcc-bootstrap
38605 @if target-libjava
38606 maybe-configure-target-libjava: configure-target-libjava
38607 configure-target-libjava:
38608 @: $(MAKE); $(unstage)
38609 @r=`${PWD_COMMAND}`; export r; \
38610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38611 echo "Checking multilib configuration for libjava..."; \
38612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38613 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38614 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38615 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38616 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38617 else \
38618 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38619 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38620 fi; \
38621 else \
38622 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38623 fi; \
38624 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38625 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38626 $(RAW_CXX_TARGET_EXPORTS) \
38627 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38628 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38629 case $(srcdir) in \
38630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38631 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38633 esac; \
38634 srcdiroption="--srcdir=$${topdir}/libjava"; \
38635 libsrcdir="$$s/libjava"; \
38636 rm -f no-such-file || : ; \
38637 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38638 $(TARGET_CONFIGARGS) $${srcdiroption} \
38639 || exit 1
38640 @endif target-libjava
38646 .PHONY: all-target-libjava maybe-all-target-libjava
38647 maybe-all-target-libjava:
38648 @if gcc-bootstrap
38649 all-target-libjava: stage_current
38650 @endif gcc-bootstrap
38651 @if target-libjava
38652 TARGET-target-libjava=all
38653 maybe-all-target-libjava: all-target-libjava
38654 all-target-libjava: configure-target-libjava
38655 @: $(MAKE); $(unstage)
38656 @r=`${PWD_COMMAND}`; export r; \
38657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38658 $(RAW_CXX_TARGET_EXPORTS) \
38659 (cd $(TARGET_SUBDIR)/libjava && \
38660 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
38661 @endif target-libjava
38667 .PHONY: check-target-libjava maybe-check-target-libjava
38668 maybe-check-target-libjava:
38669 @if target-libjava
38670 maybe-check-target-libjava: check-target-libjava
38672 check-target-libjava:
38673 @: $(MAKE); $(unstage)
38674 @r=`${PWD_COMMAND}`; export r; \
38675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38676 $(RAW_CXX_TARGET_EXPORTS) \
38677 (cd $(TARGET_SUBDIR)/libjava && \
38678 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38680 @endif target-libjava
38682 .PHONY: install-target-libjava maybe-install-target-libjava
38683 maybe-install-target-libjava:
38684 @if target-libjava
38685 maybe-install-target-libjava: install-target-libjava
38687 install-target-libjava: installdirs
38688 @: $(MAKE); $(unstage)
38689 @r=`${PWD_COMMAND}`; export r; \
38690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38691 $(RAW_CXX_TARGET_EXPORTS) \
38692 (cd $(TARGET_SUBDIR)/libjava && \
38693 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38695 @endif target-libjava
38697 # Other targets (info, dvi, pdf, etc.)
38699 .PHONY: maybe-info-target-libjava info-target-libjava
38700 maybe-info-target-libjava:
38701 @if target-libjava
38702 maybe-info-target-libjava: info-target-libjava
38704 info-target-libjava: \
38705 configure-target-libjava
38706 @: $(MAKE); $(unstage)
38707 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38708 r=`${PWD_COMMAND}`; export r; \
38709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38710 $(RAW_CXX_TARGET_EXPORTS) \
38711 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38712 for flag in $(EXTRA_TARGET_FLAGS); do \
38713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38714 done; \
38715 (cd $(TARGET_SUBDIR)/libjava && \
38716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38718 "RANLIB=$${RANLIB}" \
38719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38720 info) \
38721 || exit 1
38723 @endif target-libjava
38725 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38726 maybe-dvi-target-libjava:
38727 @if target-libjava
38728 maybe-dvi-target-libjava: dvi-target-libjava
38730 dvi-target-libjava: \
38731 configure-target-libjava
38732 @: $(MAKE); $(unstage)
38733 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38734 r=`${PWD_COMMAND}`; export r; \
38735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38736 $(RAW_CXX_TARGET_EXPORTS) \
38737 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38738 for flag in $(EXTRA_TARGET_FLAGS); do \
38739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38740 done; \
38741 (cd $(TARGET_SUBDIR)/libjava && \
38742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38744 "RANLIB=$${RANLIB}" \
38745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38746 dvi) \
38747 || exit 1
38749 @endif target-libjava
38751 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38752 maybe-pdf-target-libjava:
38753 @if target-libjava
38754 maybe-pdf-target-libjava: pdf-target-libjava
38756 pdf-target-libjava: \
38757 configure-target-libjava
38758 @: $(MAKE); $(unstage)
38759 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38760 r=`${PWD_COMMAND}`; export r; \
38761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38762 $(RAW_CXX_TARGET_EXPORTS) \
38763 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38764 for flag in $(EXTRA_TARGET_FLAGS); do \
38765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38766 done; \
38767 (cd $(TARGET_SUBDIR)/libjava && \
38768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38770 "RANLIB=$${RANLIB}" \
38771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38772 pdf) \
38773 || exit 1
38775 @endif target-libjava
38777 .PHONY: maybe-html-target-libjava html-target-libjava
38778 maybe-html-target-libjava:
38779 @if target-libjava
38780 maybe-html-target-libjava: html-target-libjava
38782 html-target-libjava: \
38783 configure-target-libjava
38784 @: $(MAKE); $(unstage)
38785 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38786 r=`${PWD_COMMAND}`; export r; \
38787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38788 $(RAW_CXX_TARGET_EXPORTS) \
38789 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
38790 for flag in $(EXTRA_TARGET_FLAGS); do \
38791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38792 done; \
38793 (cd $(TARGET_SUBDIR)/libjava && \
38794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38796 "RANLIB=$${RANLIB}" \
38797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38798 html) \
38799 || exit 1
38801 @endif target-libjava
38803 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
38804 maybe-TAGS-target-libjava:
38805 @if target-libjava
38806 maybe-TAGS-target-libjava: TAGS-target-libjava
38808 TAGS-target-libjava: \
38809 configure-target-libjava
38810 @: $(MAKE); $(unstage)
38811 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38812 r=`${PWD_COMMAND}`; export r; \
38813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38814 $(RAW_CXX_TARGET_EXPORTS) \
38815 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
38816 for flag in $(EXTRA_TARGET_FLAGS); do \
38817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38818 done; \
38819 (cd $(TARGET_SUBDIR)/libjava && \
38820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38822 "RANLIB=$${RANLIB}" \
38823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38824 TAGS) \
38825 || exit 1
38827 @endif target-libjava
38829 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
38830 maybe-install-info-target-libjava:
38831 @if target-libjava
38832 maybe-install-info-target-libjava: install-info-target-libjava
38834 install-info-target-libjava: \
38835 configure-target-libjava \
38836 info-target-libjava
38837 @: $(MAKE); $(unstage)
38838 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38839 r=`${PWD_COMMAND}`; export r; \
38840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38841 $(RAW_CXX_TARGET_EXPORTS) \
38842 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
38843 for flag in $(EXTRA_TARGET_FLAGS); do \
38844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38845 done; \
38846 (cd $(TARGET_SUBDIR)/libjava && \
38847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38849 "RANLIB=$${RANLIB}" \
38850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38851 install-info) \
38852 || exit 1
38854 @endif target-libjava
38856 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
38857 maybe-install-html-target-libjava:
38858 @if target-libjava
38859 maybe-install-html-target-libjava: install-html-target-libjava
38861 install-html-target-libjava: \
38862 configure-target-libjava \
38863 html-target-libjava
38864 @: $(MAKE); $(unstage)
38865 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38866 r=`${PWD_COMMAND}`; export r; \
38867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38868 $(RAW_CXX_TARGET_EXPORTS) \
38869 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
38870 for flag in $(EXTRA_TARGET_FLAGS); do \
38871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38872 done; \
38873 (cd $(TARGET_SUBDIR)/libjava && \
38874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38876 "RANLIB=$${RANLIB}" \
38877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38878 install-html) \
38879 || exit 1
38881 @endif target-libjava
38883 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
38884 maybe-installcheck-target-libjava:
38885 @if target-libjava
38886 maybe-installcheck-target-libjava: installcheck-target-libjava
38888 installcheck-target-libjava: \
38889 configure-target-libjava
38890 @: $(MAKE); $(unstage)
38891 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38892 r=`${PWD_COMMAND}`; export r; \
38893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38894 $(RAW_CXX_TARGET_EXPORTS) \
38895 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
38896 for flag in $(EXTRA_TARGET_FLAGS); do \
38897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38898 done; \
38899 (cd $(TARGET_SUBDIR)/libjava && \
38900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38902 "RANLIB=$${RANLIB}" \
38903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38904 installcheck) \
38905 || exit 1
38907 @endif target-libjava
38909 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
38910 maybe-mostlyclean-target-libjava:
38911 @if target-libjava
38912 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
38914 mostlyclean-target-libjava:
38915 @: $(MAKE); $(unstage)
38916 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38917 r=`${PWD_COMMAND}`; export r; \
38918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38919 $(RAW_CXX_TARGET_EXPORTS) \
38920 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
38921 for flag in $(EXTRA_TARGET_FLAGS); do \
38922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38923 done; \
38924 (cd $(TARGET_SUBDIR)/libjava && \
38925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38927 "RANLIB=$${RANLIB}" \
38928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38929 mostlyclean) \
38930 || exit 1
38932 @endif target-libjava
38934 .PHONY: maybe-clean-target-libjava clean-target-libjava
38935 maybe-clean-target-libjava:
38936 @if target-libjava
38937 maybe-clean-target-libjava: clean-target-libjava
38939 clean-target-libjava:
38940 @: $(MAKE); $(unstage)
38941 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38942 r=`${PWD_COMMAND}`; export r; \
38943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38944 $(RAW_CXX_TARGET_EXPORTS) \
38945 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
38946 for flag in $(EXTRA_TARGET_FLAGS); do \
38947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38948 done; \
38949 (cd $(TARGET_SUBDIR)/libjava && \
38950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38952 "RANLIB=$${RANLIB}" \
38953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38954 clean) \
38955 || exit 1
38957 @endif target-libjava
38959 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
38960 maybe-distclean-target-libjava:
38961 @if target-libjava
38962 maybe-distclean-target-libjava: distclean-target-libjava
38964 distclean-target-libjava:
38965 @: $(MAKE); $(unstage)
38966 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38967 r=`${PWD_COMMAND}`; export r; \
38968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38969 $(RAW_CXX_TARGET_EXPORTS) \
38970 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
38971 for flag in $(EXTRA_TARGET_FLAGS); do \
38972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38973 done; \
38974 (cd $(TARGET_SUBDIR)/libjava && \
38975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38977 "RANLIB=$${RANLIB}" \
38978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38979 distclean) \
38980 || exit 1
38982 @endif target-libjava
38984 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
38985 maybe-maintainer-clean-target-libjava:
38986 @if target-libjava
38987 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
38989 maintainer-clean-target-libjava:
38990 @: $(MAKE); $(unstage)
38991 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38992 r=`${PWD_COMMAND}`; export r; \
38993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38994 $(RAW_CXX_TARGET_EXPORTS) \
38995 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
38996 for flag in $(EXTRA_TARGET_FLAGS); do \
38997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38998 done; \
38999 (cd $(TARGET_SUBDIR)/libjava && \
39000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39002 "RANLIB=$${RANLIB}" \
39003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39004 maintainer-clean) \
39005 || exit 1
39007 @endif target-libjava
39013 .PHONY: configure-target-zlib maybe-configure-target-zlib
39014 maybe-configure-target-zlib:
39015 @if gcc-bootstrap
39016 configure-target-zlib: stage_current
39017 @endif gcc-bootstrap
39018 @if target-zlib
39019 maybe-configure-target-zlib: configure-target-zlib
39020 configure-target-zlib:
39021 @: $(MAKE); $(unstage)
39022 @r=`${PWD_COMMAND}`; export r; \
39023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39024 echo "Checking multilib configuration for zlib..."; \
39025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39027 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39028 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39029 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39030 else \
39031 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39032 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39033 fi; \
39034 else \
39035 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39036 fi; \
39037 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39039 $(NORMAL_TARGET_EXPORTS) \
39040 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39041 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39042 case $(srcdir) in \
39043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39044 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39046 esac; \
39047 srcdiroption="--srcdir=$${topdir}/zlib"; \
39048 libsrcdir="$$s/zlib"; \
39049 rm -f no-such-file || : ; \
39050 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39051 $(TARGET_CONFIGARGS) $${srcdiroption} \
39052 || exit 1
39053 @endif target-zlib
39059 .PHONY: all-target-zlib maybe-all-target-zlib
39060 maybe-all-target-zlib:
39061 @if gcc-bootstrap
39062 all-target-zlib: stage_current
39063 @endif gcc-bootstrap
39064 @if target-zlib
39065 TARGET-target-zlib=all
39066 maybe-all-target-zlib: all-target-zlib
39067 all-target-zlib: configure-target-zlib
39068 @: $(MAKE); $(unstage)
39069 @r=`${PWD_COMMAND}`; export r; \
39070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39071 $(NORMAL_TARGET_EXPORTS) \
39072 (cd $(TARGET_SUBDIR)/zlib && \
39073 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
39074 @endif target-zlib
39080 .PHONY: check-target-zlib maybe-check-target-zlib
39081 maybe-check-target-zlib:
39082 @if target-zlib
39083 maybe-check-target-zlib: check-target-zlib
39085 check-target-zlib:
39086 @: $(MAKE); $(unstage)
39087 @r=`${PWD_COMMAND}`; export r; \
39088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39089 $(NORMAL_TARGET_EXPORTS) \
39090 (cd $(TARGET_SUBDIR)/zlib && \
39091 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39093 @endif target-zlib
39095 .PHONY: install-target-zlib maybe-install-target-zlib
39096 maybe-install-target-zlib:
39097 @if target-zlib
39098 maybe-install-target-zlib: install-target-zlib
39100 install-target-zlib: installdirs
39101 @: $(MAKE); $(unstage)
39102 @r=`${PWD_COMMAND}`; export r; \
39103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39104 $(NORMAL_TARGET_EXPORTS) \
39105 (cd $(TARGET_SUBDIR)/zlib && \
39106 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39108 @endif target-zlib
39110 # Other targets (info, dvi, pdf, etc.)
39112 .PHONY: maybe-info-target-zlib info-target-zlib
39113 maybe-info-target-zlib:
39114 @if target-zlib
39115 maybe-info-target-zlib: info-target-zlib
39117 info-target-zlib: \
39118 configure-target-zlib
39119 @: $(MAKE); $(unstage)
39120 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39121 r=`${PWD_COMMAND}`; export r; \
39122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39123 $(NORMAL_TARGET_EXPORTS) \
39124 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39125 for flag in $(EXTRA_TARGET_FLAGS); do \
39126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39127 done; \
39128 (cd $(TARGET_SUBDIR)/zlib && \
39129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39131 "RANLIB=$${RANLIB}" \
39132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39133 info) \
39134 || exit 1
39136 @endif target-zlib
39138 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39139 maybe-dvi-target-zlib:
39140 @if target-zlib
39141 maybe-dvi-target-zlib: dvi-target-zlib
39143 dvi-target-zlib: \
39144 configure-target-zlib
39145 @: $(MAKE); $(unstage)
39146 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39147 r=`${PWD_COMMAND}`; export r; \
39148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39149 $(NORMAL_TARGET_EXPORTS) \
39150 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39151 for flag in $(EXTRA_TARGET_FLAGS); do \
39152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39153 done; \
39154 (cd $(TARGET_SUBDIR)/zlib && \
39155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39157 "RANLIB=$${RANLIB}" \
39158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39159 dvi) \
39160 || exit 1
39162 @endif target-zlib
39164 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39165 maybe-pdf-target-zlib:
39166 @if target-zlib
39167 maybe-pdf-target-zlib: pdf-target-zlib
39169 pdf-target-zlib: \
39170 configure-target-zlib
39171 @: $(MAKE); $(unstage)
39172 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39173 r=`${PWD_COMMAND}`; export r; \
39174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39175 $(NORMAL_TARGET_EXPORTS) \
39176 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39177 for flag in $(EXTRA_TARGET_FLAGS); do \
39178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39179 done; \
39180 (cd $(TARGET_SUBDIR)/zlib && \
39181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39183 "RANLIB=$${RANLIB}" \
39184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39185 pdf) \
39186 || exit 1
39188 @endif target-zlib
39190 .PHONY: maybe-html-target-zlib html-target-zlib
39191 maybe-html-target-zlib:
39192 @if target-zlib
39193 maybe-html-target-zlib: html-target-zlib
39195 html-target-zlib: \
39196 configure-target-zlib
39197 @: $(MAKE); $(unstage)
39198 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39199 r=`${PWD_COMMAND}`; export r; \
39200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39201 $(NORMAL_TARGET_EXPORTS) \
39202 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39203 for flag in $(EXTRA_TARGET_FLAGS); do \
39204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39205 done; \
39206 (cd $(TARGET_SUBDIR)/zlib && \
39207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39209 "RANLIB=$${RANLIB}" \
39210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39211 html) \
39212 || exit 1
39214 @endif target-zlib
39216 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39217 maybe-TAGS-target-zlib:
39218 @if target-zlib
39219 maybe-TAGS-target-zlib: TAGS-target-zlib
39221 TAGS-target-zlib: \
39222 configure-target-zlib
39223 @: $(MAKE); $(unstage)
39224 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39225 r=`${PWD_COMMAND}`; export r; \
39226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39227 $(NORMAL_TARGET_EXPORTS) \
39228 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39229 for flag in $(EXTRA_TARGET_FLAGS); do \
39230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39231 done; \
39232 (cd $(TARGET_SUBDIR)/zlib && \
39233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39235 "RANLIB=$${RANLIB}" \
39236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39237 TAGS) \
39238 || exit 1
39240 @endif target-zlib
39242 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39243 maybe-install-info-target-zlib:
39244 @if target-zlib
39245 maybe-install-info-target-zlib: install-info-target-zlib
39247 install-info-target-zlib: \
39248 configure-target-zlib \
39249 info-target-zlib
39250 @: $(MAKE); $(unstage)
39251 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39252 r=`${PWD_COMMAND}`; export r; \
39253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39254 $(NORMAL_TARGET_EXPORTS) \
39255 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39256 for flag in $(EXTRA_TARGET_FLAGS); do \
39257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39258 done; \
39259 (cd $(TARGET_SUBDIR)/zlib && \
39260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39262 "RANLIB=$${RANLIB}" \
39263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39264 install-info) \
39265 || exit 1
39267 @endif target-zlib
39269 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39270 maybe-install-html-target-zlib:
39271 @if target-zlib
39272 maybe-install-html-target-zlib: install-html-target-zlib
39274 install-html-target-zlib: \
39275 configure-target-zlib \
39276 html-target-zlib
39277 @: $(MAKE); $(unstage)
39278 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39279 r=`${PWD_COMMAND}`; export r; \
39280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39281 $(NORMAL_TARGET_EXPORTS) \
39282 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39283 for flag in $(EXTRA_TARGET_FLAGS); do \
39284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39285 done; \
39286 (cd $(TARGET_SUBDIR)/zlib && \
39287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39289 "RANLIB=$${RANLIB}" \
39290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39291 install-html) \
39292 || exit 1
39294 @endif target-zlib
39296 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39297 maybe-installcheck-target-zlib:
39298 @if target-zlib
39299 maybe-installcheck-target-zlib: installcheck-target-zlib
39301 installcheck-target-zlib: \
39302 configure-target-zlib
39303 @: $(MAKE); $(unstage)
39304 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39305 r=`${PWD_COMMAND}`; export r; \
39306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39307 $(NORMAL_TARGET_EXPORTS) \
39308 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39309 for flag in $(EXTRA_TARGET_FLAGS); do \
39310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39311 done; \
39312 (cd $(TARGET_SUBDIR)/zlib && \
39313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39315 "RANLIB=$${RANLIB}" \
39316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39317 installcheck) \
39318 || exit 1
39320 @endif target-zlib
39322 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39323 maybe-mostlyclean-target-zlib:
39324 @if target-zlib
39325 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39327 mostlyclean-target-zlib:
39328 @: $(MAKE); $(unstage)
39329 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39330 r=`${PWD_COMMAND}`; export r; \
39331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39332 $(NORMAL_TARGET_EXPORTS) \
39333 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39334 for flag in $(EXTRA_TARGET_FLAGS); do \
39335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39336 done; \
39337 (cd $(TARGET_SUBDIR)/zlib && \
39338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39340 "RANLIB=$${RANLIB}" \
39341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39342 mostlyclean) \
39343 || exit 1
39345 @endif target-zlib
39347 .PHONY: maybe-clean-target-zlib clean-target-zlib
39348 maybe-clean-target-zlib:
39349 @if target-zlib
39350 maybe-clean-target-zlib: clean-target-zlib
39352 clean-target-zlib:
39353 @: $(MAKE); $(unstage)
39354 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39355 r=`${PWD_COMMAND}`; export r; \
39356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39357 $(NORMAL_TARGET_EXPORTS) \
39358 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39359 for flag in $(EXTRA_TARGET_FLAGS); do \
39360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39361 done; \
39362 (cd $(TARGET_SUBDIR)/zlib && \
39363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39365 "RANLIB=$${RANLIB}" \
39366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39367 clean) \
39368 || exit 1
39370 @endif target-zlib
39372 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39373 maybe-distclean-target-zlib:
39374 @if target-zlib
39375 maybe-distclean-target-zlib: distclean-target-zlib
39377 distclean-target-zlib:
39378 @: $(MAKE); $(unstage)
39379 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39380 r=`${PWD_COMMAND}`; export r; \
39381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39382 $(NORMAL_TARGET_EXPORTS) \
39383 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39384 for flag in $(EXTRA_TARGET_FLAGS); do \
39385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39386 done; \
39387 (cd $(TARGET_SUBDIR)/zlib && \
39388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39390 "RANLIB=$${RANLIB}" \
39391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39392 distclean) \
39393 || exit 1
39395 @endif target-zlib
39397 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39398 maybe-maintainer-clean-target-zlib:
39399 @if target-zlib
39400 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39402 maintainer-clean-target-zlib:
39403 @: $(MAKE); $(unstage)
39404 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39405 r=`${PWD_COMMAND}`; export r; \
39406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39407 $(NORMAL_TARGET_EXPORTS) \
39408 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39409 for flag in $(EXTRA_TARGET_FLAGS); do \
39410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39411 done; \
39412 (cd $(TARGET_SUBDIR)/zlib && \
39413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39415 "RANLIB=$${RANLIB}" \
39416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39417 maintainer-clean) \
39418 || exit 1
39420 @endif target-zlib
39426 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39427 maybe-configure-target-boehm-gc:
39428 @if gcc-bootstrap
39429 configure-target-boehm-gc: stage_current
39430 @endif gcc-bootstrap
39431 @if target-boehm-gc
39432 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39433 configure-target-boehm-gc:
39434 @: $(MAKE); $(unstage)
39435 @r=`${PWD_COMMAND}`; export r; \
39436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39437 echo "Checking multilib configuration for boehm-gc..."; \
39438 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39439 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39440 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39441 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39442 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39443 else \
39444 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39445 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39446 fi; \
39447 else \
39448 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39449 fi; \
39450 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39451 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39452 $(NORMAL_TARGET_EXPORTS) \
39453 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39454 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39455 case $(srcdir) in \
39456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39457 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39459 esac; \
39460 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39461 libsrcdir="$$s/boehm-gc"; \
39462 rm -f no-such-file || : ; \
39463 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39464 $(TARGET_CONFIGARGS) $${srcdiroption} \
39465 || exit 1
39466 @endif target-boehm-gc
39472 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39473 maybe-all-target-boehm-gc:
39474 @if gcc-bootstrap
39475 all-target-boehm-gc: stage_current
39476 @endif gcc-bootstrap
39477 @if target-boehm-gc
39478 TARGET-target-boehm-gc=all
39479 maybe-all-target-boehm-gc: all-target-boehm-gc
39480 all-target-boehm-gc: configure-target-boehm-gc
39481 @: $(MAKE); $(unstage)
39482 @r=`${PWD_COMMAND}`; export r; \
39483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39484 $(NORMAL_TARGET_EXPORTS) \
39485 (cd $(TARGET_SUBDIR)/boehm-gc && \
39486 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
39487 @endif target-boehm-gc
39493 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39494 maybe-check-target-boehm-gc:
39495 @if target-boehm-gc
39496 maybe-check-target-boehm-gc: check-target-boehm-gc
39498 check-target-boehm-gc:
39499 @: $(MAKE); $(unstage)
39500 @r=`${PWD_COMMAND}`; export r; \
39501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39502 $(NORMAL_TARGET_EXPORTS) \
39503 (cd $(TARGET_SUBDIR)/boehm-gc && \
39504 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39506 @endif target-boehm-gc
39508 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39509 maybe-install-target-boehm-gc:
39510 @if target-boehm-gc
39511 maybe-install-target-boehm-gc: install-target-boehm-gc
39513 install-target-boehm-gc: installdirs
39514 @: $(MAKE); $(unstage)
39515 @r=`${PWD_COMMAND}`; export r; \
39516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39517 $(NORMAL_TARGET_EXPORTS) \
39518 (cd $(TARGET_SUBDIR)/boehm-gc && \
39519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39521 @endif target-boehm-gc
39523 # Other targets (info, dvi, pdf, etc.)
39525 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39526 maybe-info-target-boehm-gc:
39527 @if target-boehm-gc
39528 maybe-info-target-boehm-gc: info-target-boehm-gc
39530 info-target-boehm-gc: \
39531 configure-target-boehm-gc
39532 @: $(MAKE); $(unstage)
39533 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39534 r=`${PWD_COMMAND}`; export r; \
39535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39536 $(NORMAL_TARGET_EXPORTS) \
39537 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39538 for flag in $(EXTRA_TARGET_FLAGS); do \
39539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39540 done; \
39541 (cd $(TARGET_SUBDIR)/boehm-gc && \
39542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39544 "RANLIB=$${RANLIB}" \
39545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39546 info) \
39547 || exit 1
39549 @endif target-boehm-gc
39551 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39552 maybe-dvi-target-boehm-gc:
39553 @if target-boehm-gc
39554 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39556 dvi-target-boehm-gc: \
39557 configure-target-boehm-gc
39558 @: $(MAKE); $(unstage)
39559 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39560 r=`${PWD_COMMAND}`; export r; \
39561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39562 $(NORMAL_TARGET_EXPORTS) \
39563 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39564 for flag in $(EXTRA_TARGET_FLAGS); do \
39565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39566 done; \
39567 (cd $(TARGET_SUBDIR)/boehm-gc && \
39568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39570 "RANLIB=$${RANLIB}" \
39571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39572 dvi) \
39573 || exit 1
39575 @endif target-boehm-gc
39577 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39578 maybe-pdf-target-boehm-gc:
39579 @if target-boehm-gc
39580 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39582 pdf-target-boehm-gc: \
39583 configure-target-boehm-gc
39584 @: $(MAKE); $(unstage)
39585 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39586 r=`${PWD_COMMAND}`; export r; \
39587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39588 $(NORMAL_TARGET_EXPORTS) \
39589 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39590 for flag in $(EXTRA_TARGET_FLAGS); do \
39591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39592 done; \
39593 (cd $(TARGET_SUBDIR)/boehm-gc && \
39594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39596 "RANLIB=$${RANLIB}" \
39597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39598 pdf) \
39599 || exit 1
39601 @endif target-boehm-gc
39603 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39604 maybe-html-target-boehm-gc:
39605 @if target-boehm-gc
39606 maybe-html-target-boehm-gc: html-target-boehm-gc
39608 html-target-boehm-gc: \
39609 configure-target-boehm-gc
39610 @: $(MAKE); $(unstage)
39611 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39612 r=`${PWD_COMMAND}`; export r; \
39613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39614 $(NORMAL_TARGET_EXPORTS) \
39615 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39616 for flag in $(EXTRA_TARGET_FLAGS); do \
39617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39618 done; \
39619 (cd $(TARGET_SUBDIR)/boehm-gc && \
39620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39622 "RANLIB=$${RANLIB}" \
39623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39624 html) \
39625 || exit 1
39627 @endif target-boehm-gc
39629 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39630 maybe-TAGS-target-boehm-gc:
39631 @if target-boehm-gc
39632 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39634 TAGS-target-boehm-gc: \
39635 configure-target-boehm-gc
39636 @: $(MAKE); $(unstage)
39637 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39638 r=`${PWD_COMMAND}`; export r; \
39639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39640 $(NORMAL_TARGET_EXPORTS) \
39641 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39642 for flag in $(EXTRA_TARGET_FLAGS); do \
39643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39644 done; \
39645 (cd $(TARGET_SUBDIR)/boehm-gc && \
39646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39648 "RANLIB=$${RANLIB}" \
39649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39650 TAGS) \
39651 || exit 1
39653 @endif target-boehm-gc
39655 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39656 maybe-install-info-target-boehm-gc:
39657 @if target-boehm-gc
39658 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39660 install-info-target-boehm-gc: \
39661 configure-target-boehm-gc \
39662 info-target-boehm-gc
39663 @: $(MAKE); $(unstage)
39664 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39665 r=`${PWD_COMMAND}`; export r; \
39666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39667 $(NORMAL_TARGET_EXPORTS) \
39668 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39669 for flag in $(EXTRA_TARGET_FLAGS); do \
39670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39671 done; \
39672 (cd $(TARGET_SUBDIR)/boehm-gc && \
39673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39675 "RANLIB=$${RANLIB}" \
39676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39677 install-info) \
39678 || exit 1
39680 @endif target-boehm-gc
39682 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39683 maybe-install-html-target-boehm-gc:
39684 @if target-boehm-gc
39685 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39687 install-html-target-boehm-gc: \
39688 configure-target-boehm-gc \
39689 html-target-boehm-gc
39690 @: $(MAKE); $(unstage)
39691 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39692 r=`${PWD_COMMAND}`; export r; \
39693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39694 $(NORMAL_TARGET_EXPORTS) \
39695 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39696 for flag in $(EXTRA_TARGET_FLAGS); do \
39697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39698 done; \
39699 (cd $(TARGET_SUBDIR)/boehm-gc && \
39700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39702 "RANLIB=$${RANLIB}" \
39703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39704 install-html) \
39705 || exit 1
39707 @endif target-boehm-gc
39709 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39710 maybe-installcheck-target-boehm-gc:
39711 @if target-boehm-gc
39712 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39714 installcheck-target-boehm-gc: \
39715 configure-target-boehm-gc
39716 @: $(MAKE); $(unstage)
39717 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39718 r=`${PWD_COMMAND}`; export r; \
39719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39720 $(NORMAL_TARGET_EXPORTS) \
39721 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39722 for flag in $(EXTRA_TARGET_FLAGS); do \
39723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39724 done; \
39725 (cd $(TARGET_SUBDIR)/boehm-gc && \
39726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39728 "RANLIB=$${RANLIB}" \
39729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39730 installcheck) \
39731 || exit 1
39733 @endif target-boehm-gc
39735 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39736 maybe-mostlyclean-target-boehm-gc:
39737 @if target-boehm-gc
39738 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39740 mostlyclean-target-boehm-gc:
39741 @: $(MAKE); $(unstage)
39742 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39743 r=`${PWD_COMMAND}`; export r; \
39744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39745 $(NORMAL_TARGET_EXPORTS) \
39746 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39747 for flag in $(EXTRA_TARGET_FLAGS); do \
39748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39749 done; \
39750 (cd $(TARGET_SUBDIR)/boehm-gc && \
39751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39753 "RANLIB=$${RANLIB}" \
39754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39755 mostlyclean) \
39756 || exit 1
39758 @endif target-boehm-gc
39760 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39761 maybe-clean-target-boehm-gc:
39762 @if target-boehm-gc
39763 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39765 clean-target-boehm-gc:
39766 @: $(MAKE); $(unstage)
39767 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39768 r=`${PWD_COMMAND}`; export r; \
39769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39770 $(NORMAL_TARGET_EXPORTS) \
39771 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39772 for flag in $(EXTRA_TARGET_FLAGS); do \
39773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39774 done; \
39775 (cd $(TARGET_SUBDIR)/boehm-gc && \
39776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39778 "RANLIB=$${RANLIB}" \
39779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39780 clean) \
39781 || exit 1
39783 @endif target-boehm-gc
39785 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
39786 maybe-distclean-target-boehm-gc:
39787 @if target-boehm-gc
39788 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
39790 distclean-target-boehm-gc:
39791 @: $(MAKE); $(unstage)
39792 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39793 r=`${PWD_COMMAND}`; export r; \
39794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39795 $(NORMAL_TARGET_EXPORTS) \
39796 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39797 for flag in $(EXTRA_TARGET_FLAGS); do \
39798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39799 done; \
39800 (cd $(TARGET_SUBDIR)/boehm-gc && \
39801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39803 "RANLIB=$${RANLIB}" \
39804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39805 distclean) \
39806 || exit 1
39808 @endif target-boehm-gc
39810 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
39811 maybe-maintainer-clean-target-boehm-gc:
39812 @if target-boehm-gc
39813 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
39815 maintainer-clean-target-boehm-gc:
39816 @: $(MAKE); $(unstage)
39817 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39818 r=`${PWD_COMMAND}`; export r; \
39819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39820 $(NORMAL_TARGET_EXPORTS) \
39821 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39822 for flag in $(EXTRA_TARGET_FLAGS); do \
39823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39824 done; \
39825 (cd $(TARGET_SUBDIR)/boehm-gc && \
39826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39828 "RANLIB=$${RANLIB}" \
39829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39830 maintainer-clean) \
39831 || exit 1
39833 @endif target-boehm-gc
39839 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
39840 maybe-configure-target-qthreads:
39841 @if gcc-bootstrap
39842 configure-target-qthreads: stage_current
39843 @endif gcc-bootstrap
39844 @if target-qthreads
39845 maybe-configure-target-qthreads: configure-target-qthreads
39846 configure-target-qthreads:
39847 @: $(MAKE); $(unstage)
39848 @r=`${PWD_COMMAND}`; export r; \
39849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39850 echo "Checking multilib configuration for qthreads..."; \
39851 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
39852 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
39853 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
39854 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
39855 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
39856 else \
39857 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
39858 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
39859 fi; \
39860 else \
39861 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
39862 fi; \
39863 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
39864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
39865 $(NORMAL_TARGET_EXPORTS) \
39866 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
39867 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
39868 case $(srcdir) in \
39869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39870 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
39871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39872 esac; \
39873 srcdiroption="--srcdir=$${topdir}/qthreads"; \
39874 libsrcdir="$$s/qthreads"; \
39875 rm -f no-such-file || : ; \
39876 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39877 $(TARGET_CONFIGARGS) $${srcdiroption} \
39878 || exit 1
39879 @endif target-qthreads
39885 .PHONY: all-target-qthreads maybe-all-target-qthreads
39886 maybe-all-target-qthreads:
39887 @if gcc-bootstrap
39888 all-target-qthreads: stage_current
39889 @endif gcc-bootstrap
39890 @if target-qthreads
39891 TARGET-target-qthreads=all
39892 maybe-all-target-qthreads: all-target-qthreads
39893 all-target-qthreads: configure-target-qthreads
39894 @: $(MAKE); $(unstage)
39895 @r=`${PWD_COMMAND}`; export r; \
39896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39897 $(NORMAL_TARGET_EXPORTS) \
39898 (cd $(TARGET_SUBDIR)/qthreads && \
39899 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
39900 @endif target-qthreads
39906 .PHONY: check-target-qthreads maybe-check-target-qthreads
39907 maybe-check-target-qthreads:
39908 @if target-qthreads
39909 maybe-check-target-qthreads: check-target-qthreads
39911 check-target-qthreads:
39912 @: $(MAKE); $(unstage)
39913 @r=`${PWD_COMMAND}`; export r; \
39914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39915 $(NORMAL_TARGET_EXPORTS) \
39916 (cd $(TARGET_SUBDIR)/qthreads && \
39917 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39919 @endif target-qthreads
39921 .PHONY: install-target-qthreads maybe-install-target-qthreads
39922 maybe-install-target-qthreads:
39923 @if target-qthreads
39924 maybe-install-target-qthreads: install-target-qthreads
39926 install-target-qthreads: installdirs
39927 @: $(MAKE); $(unstage)
39928 @r=`${PWD_COMMAND}`; export r; \
39929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39930 $(NORMAL_TARGET_EXPORTS) \
39931 (cd $(TARGET_SUBDIR)/qthreads && \
39932 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39934 @endif target-qthreads
39936 # Other targets (info, dvi, pdf, etc.)
39938 .PHONY: maybe-info-target-qthreads info-target-qthreads
39939 maybe-info-target-qthreads:
39940 @if target-qthreads
39941 maybe-info-target-qthreads: info-target-qthreads
39943 info-target-qthreads: \
39944 configure-target-qthreads
39945 @: $(MAKE); $(unstage)
39946 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
39947 r=`${PWD_COMMAND}`; export r; \
39948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39949 $(NORMAL_TARGET_EXPORTS) \
39950 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
39951 for flag in $(EXTRA_TARGET_FLAGS); do \
39952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39953 done; \
39954 (cd $(TARGET_SUBDIR)/qthreads && \
39955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39957 "RANLIB=$${RANLIB}" \
39958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39959 info) \
39960 || exit 1
39962 @endif target-qthreads
39964 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
39965 maybe-dvi-target-qthreads:
39966 @if target-qthreads
39967 maybe-dvi-target-qthreads: dvi-target-qthreads
39969 dvi-target-qthreads: \
39970 configure-target-qthreads
39971 @: $(MAKE); $(unstage)
39972 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
39973 r=`${PWD_COMMAND}`; export r; \
39974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39975 $(NORMAL_TARGET_EXPORTS) \
39976 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
39977 for flag in $(EXTRA_TARGET_FLAGS); do \
39978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39979 done; \
39980 (cd $(TARGET_SUBDIR)/qthreads && \
39981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39983 "RANLIB=$${RANLIB}" \
39984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39985 dvi) \
39986 || exit 1
39988 @endif target-qthreads
39990 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
39991 maybe-pdf-target-qthreads:
39992 @if target-qthreads
39993 maybe-pdf-target-qthreads: pdf-target-qthreads
39995 pdf-target-qthreads: \
39996 configure-target-qthreads
39997 @: $(MAKE); $(unstage)
39998 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
39999 r=`${PWD_COMMAND}`; export r; \
40000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40001 $(NORMAL_TARGET_EXPORTS) \
40002 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
40003 for flag in $(EXTRA_TARGET_FLAGS); do \
40004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40005 done; \
40006 (cd $(TARGET_SUBDIR)/qthreads && \
40007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40009 "RANLIB=$${RANLIB}" \
40010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40011 pdf) \
40012 || exit 1
40014 @endif target-qthreads
40016 .PHONY: maybe-html-target-qthreads html-target-qthreads
40017 maybe-html-target-qthreads:
40018 @if target-qthreads
40019 maybe-html-target-qthreads: html-target-qthreads
40021 html-target-qthreads: \
40022 configure-target-qthreads
40023 @: $(MAKE); $(unstage)
40024 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40025 r=`${PWD_COMMAND}`; export r; \
40026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40027 $(NORMAL_TARGET_EXPORTS) \
40028 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
40029 for flag in $(EXTRA_TARGET_FLAGS); do \
40030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40031 done; \
40032 (cd $(TARGET_SUBDIR)/qthreads && \
40033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40035 "RANLIB=$${RANLIB}" \
40036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40037 html) \
40038 || exit 1
40040 @endif target-qthreads
40042 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
40043 maybe-TAGS-target-qthreads:
40044 @if target-qthreads
40045 maybe-TAGS-target-qthreads: TAGS-target-qthreads
40047 TAGS-target-qthreads: \
40048 configure-target-qthreads
40049 @: $(MAKE); $(unstage)
40050 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40051 r=`${PWD_COMMAND}`; export r; \
40052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40053 $(NORMAL_TARGET_EXPORTS) \
40054 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
40055 for flag in $(EXTRA_TARGET_FLAGS); do \
40056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40057 done; \
40058 (cd $(TARGET_SUBDIR)/qthreads && \
40059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40061 "RANLIB=$${RANLIB}" \
40062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40063 TAGS) \
40064 || exit 1
40066 @endif target-qthreads
40068 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
40069 maybe-install-info-target-qthreads:
40070 @if target-qthreads
40071 maybe-install-info-target-qthreads: install-info-target-qthreads
40073 install-info-target-qthreads: \
40074 configure-target-qthreads \
40075 info-target-qthreads
40076 @: $(MAKE); $(unstage)
40077 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40078 r=`${PWD_COMMAND}`; export r; \
40079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40080 $(NORMAL_TARGET_EXPORTS) \
40081 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
40082 for flag in $(EXTRA_TARGET_FLAGS); do \
40083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40084 done; \
40085 (cd $(TARGET_SUBDIR)/qthreads && \
40086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40088 "RANLIB=$${RANLIB}" \
40089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40090 install-info) \
40091 || exit 1
40093 @endif target-qthreads
40095 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
40096 maybe-install-html-target-qthreads:
40097 @if target-qthreads
40098 maybe-install-html-target-qthreads: install-html-target-qthreads
40100 install-html-target-qthreads: \
40101 configure-target-qthreads \
40102 html-target-qthreads
40103 @: $(MAKE); $(unstage)
40104 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40105 r=`${PWD_COMMAND}`; export r; \
40106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40107 $(NORMAL_TARGET_EXPORTS) \
40108 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
40109 for flag in $(EXTRA_TARGET_FLAGS); do \
40110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40111 done; \
40112 (cd $(TARGET_SUBDIR)/qthreads && \
40113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40115 "RANLIB=$${RANLIB}" \
40116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40117 install-html) \
40118 || exit 1
40120 @endif target-qthreads
40122 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
40123 maybe-installcheck-target-qthreads:
40124 @if target-qthreads
40125 maybe-installcheck-target-qthreads: installcheck-target-qthreads
40127 installcheck-target-qthreads: \
40128 configure-target-qthreads
40129 @: $(MAKE); $(unstage)
40130 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40131 r=`${PWD_COMMAND}`; export r; \
40132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40133 $(NORMAL_TARGET_EXPORTS) \
40134 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
40135 for flag in $(EXTRA_TARGET_FLAGS); do \
40136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40137 done; \
40138 (cd $(TARGET_SUBDIR)/qthreads && \
40139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40141 "RANLIB=$${RANLIB}" \
40142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40143 installcheck) \
40144 || exit 1
40146 @endif target-qthreads
40148 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
40149 maybe-mostlyclean-target-qthreads:
40150 @if target-qthreads
40151 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
40153 mostlyclean-target-qthreads:
40154 @: $(MAKE); $(unstage)
40155 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40156 r=`${PWD_COMMAND}`; export r; \
40157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40158 $(NORMAL_TARGET_EXPORTS) \
40159 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
40160 for flag in $(EXTRA_TARGET_FLAGS); do \
40161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40162 done; \
40163 (cd $(TARGET_SUBDIR)/qthreads && \
40164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40166 "RANLIB=$${RANLIB}" \
40167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40168 mostlyclean) \
40169 || exit 1
40171 @endif target-qthreads
40173 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
40174 maybe-clean-target-qthreads:
40175 @if target-qthreads
40176 maybe-clean-target-qthreads: clean-target-qthreads
40178 clean-target-qthreads:
40179 @: $(MAKE); $(unstage)
40180 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40181 r=`${PWD_COMMAND}`; export r; \
40182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40183 $(NORMAL_TARGET_EXPORTS) \
40184 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
40185 for flag in $(EXTRA_TARGET_FLAGS); do \
40186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40187 done; \
40188 (cd $(TARGET_SUBDIR)/qthreads && \
40189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40191 "RANLIB=$${RANLIB}" \
40192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40193 clean) \
40194 || exit 1
40196 @endif target-qthreads
40198 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
40199 maybe-distclean-target-qthreads:
40200 @if target-qthreads
40201 maybe-distclean-target-qthreads: distclean-target-qthreads
40203 distclean-target-qthreads:
40204 @: $(MAKE); $(unstage)
40205 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40206 r=`${PWD_COMMAND}`; export r; \
40207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40208 $(NORMAL_TARGET_EXPORTS) \
40209 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
40210 for flag in $(EXTRA_TARGET_FLAGS); do \
40211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40212 done; \
40213 (cd $(TARGET_SUBDIR)/qthreads && \
40214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40216 "RANLIB=$${RANLIB}" \
40217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40218 distclean) \
40219 || exit 1
40221 @endif target-qthreads
40223 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
40224 maybe-maintainer-clean-target-qthreads:
40225 @if target-qthreads
40226 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
40228 maintainer-clean-target-qthreads:
40229 @: $(MAKE); $(unstage)
40230 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40231 r=`${PWD_COMMAND}`; export r; \
40232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40233 $(NORMAL_TARGET_EXPORTS) \
40234 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
40235 for flag in $(EXTRA_TARGET_FLAGS); do \
40236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40237 done; \
40238 (cd $(TARGET_SUBDIR)/qthreads && \
40239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40241 "RANLIB=$${RANLIB}" \
40242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40243 maintainer-clean) \
40244 || exit 1
40246 @endif target-qthreads
40252 .PHONY: configure-target-rda maybe-configure-target-rda
40253 maybe-configure-target-rda:
40254 @if gcc-bootstrap
40255 configure-target-rda: stage_current
40256 @endif gcc-bootstrap
40257 @if target-rda
40258 maybe-configure-target-rda: configure-target-rda
40259 configure-target-rda:
40260 @: $(MAKE); $(unstage)
40261 @r=`${PWD_COMMAND}`; export r; \
40262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40263 echo "Checking multilib configuration for rda..."; \
40264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40265 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40266 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40267 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40268 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40269 else \
40270 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40271 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40272 fi; \
40273 else \
40274 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40275 fi; \
40276 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40278 $(NORMAL_TARGET_EXPORTS) \
40279 echo Configuring in $(TARGET_SUBDIR)/rda; \
40280 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40281 case $(srcdir) in \
40282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40283 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40285 esac; \
40286 srcdiroption="--srcdir=$${topdir}/rda"; \
40287 libsrcdir="$$s/rda"; \
40288 rm -f no-such-file || : ; \
40289 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40290 $(TARGET_CONFIGARGS) $${srcdiroption} \
40291 || exit 1
40292 @endif target-rda
40298 .PHONY: all-target-rda maybe-all-target-rda
40299 maybe-all-target-rda:
40300 @if gcc-bootstrap
40301 all-target-rda: stage_current
40302 @endif gcc-bootstrap
40303 @if target-rda
40304 TARGET-target-rda=all
40305 maybe-all-target-rda: all-target-rda
40306 all-target-rda: configure-target-rda
40307 @: $(MAKE); $(unstage)
40308 @r=`${PWD_COMMAND}`; export r; \
40309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40310 $(NORMAL_TARGET_EXPORTS) \
40311 (cd $(TARGET_SUBDIR)/rda && \
40312 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
40313 @endif target-rda
40319 .PHONY: check-target-rda maybe-check-target-rda
40320 maybe-check-target-rda:
40321 @if target-rda
40322 maybe-check-target-rda: check-target-rda
40324 check-target-rda:
40325 @: $(MAKE); $(unstage)
40326 @r=`${PWD_COMMAND}`; export r; \
40327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40328 $(NORMAL_TARGET_EXPORTS) \
40329 (cd $(TARGET_SUBDIR)/rda && \
40330 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40332 @endif target-rda
40334 .PHONY: install-target-rda maybe-install-target-rda
40335 maybe-install-target-rda:
40336 @if target-rda
40337 maybe-install-target-rda: install-target-rda
40339 install-target-rda: installdirs
40340 @: $(MAKE); $(unstage)
40341 @r=`${PWD_COMMAND}`; export r; \
40342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40343 $(NORMAL_TARGET_EXPORTS) \
40344 (cd $(TARGET_SUBDIR)/rda && \
40345 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40347 @endif target-rda
40349 # Other targets (info, dvi, pdf, etc.)
40351 .PHONY: maybe-info-target-rda info-target-rda
40352 maybe-info-target-rda:
40353 @if target-rda
40354 maybe-info-target-rda: info-target-rda
40356 info-target-rda: \
40357 configure-target-rda
40358 @: $(MAKE); $(unstage)
40359 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40360 r=`${PWD_COMMAND}`; export r; \
40361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40362 $(NORMAL_TARGET_EXPORTS) \
40363 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40364 for flag in $(EXTRA_TARGET_FLAGS); do \
40365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40366 done; \
40367 (cd $(TARGET_SUBDIR)/rda && \
40368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40370 "RANLIB=$${RANLIB}" \
40371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40372 info) \
40373 || exit 1
40375 @endif target-rda
40377 .PHONY: maybe-dvi-target-rda dvi-target-rda
40378 maybe-dvi-target-rda:
40379 @if target-rda
40380 maybe-dvi-target-rda: dvi-target-rda
40382 dvi-target-rda: \
40383 configure-target-rda
40384 @: $(MAKE); $(unstage)
40385 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40386 r=`${PWD_COMMAND}`; export r; \
40387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40388 $(NORMAL_TARGET_EXPORTS) \
40389 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40390 for flag in $(EXTRA_TARGET_FLAGS); do \
40391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40392 done; \
40393 (cd $(TARGET_SUBDIR)/rda && \
40394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40396 "RANLIB=$${RANLIB}" \
40397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40398 dvi) \
40399 || exit 1
40401 @endif target-rda
40403 .PHONY: maybe-pdf-target-rda pdf-target-rda
40404 maybe-pdf-target-rda:
40405 @if target-rda
40406 maybe-pdf-target-rda: pdf-target-rda
40408 pdf-target-rda: \
40409 configure-target-rda
40410 @: $(MAKE); $(unstage)
40411 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40412 r=`${PWD_COMMAND}`; export r; \
40413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40414 $(NORMAL_TARGET_EXPORTS) \
40415 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40416 for flag in $(EXTRA_TARGET_FLAGS); do \
40417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40418 done; \
40419 (cd $(TARGET_SUBDIR)/rda && \
40420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40422 "RANLIB=$${RANLIB}" \
40423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40424 pdf) \
40425 || exit 1
40427 @endif target-rda
40429 .PHONY: maybe-html-target-rda html-target-rda
40430 maybe-html-target-rda:
40431 @if target-rda
40432 maybe-html-target-rda: html-target-rda
40434 html-target-rda: \
40435 configure-target-rda
40436 @: $(MAKE); $(unstage)
40437 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40438 r=`${PWD_COMMAND}`; export r; \
40439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40440 $(NORMAL_TARGET_EXPORTS) \
40441 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40442 for flag in $(EXTRA_TARGET_FLAGS); do \
40443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40444 done; \
40445 (cd $(TARGET_SUBDIR)/rda && \
40446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40448 "RANLIB=$${RANLIB}" \
40449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40450 html) \
40451 || exit 1
40453 @endif target-rda
40455 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40456 maybe-TAGS-target-rda:
40457 @if target-rda
40458 maybe-TAGS-target-rda: TAGS-target-rda
40460 TAGS-target-rda: \
40461 configure-target-rda
40462 @: $(MAKE); $(unstage)
40463 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40464 r=`${PWD_COMMAND}`; export r; \
40465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40466 $(NORMAL_TARGET_EXPORTS) \
40467 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40468 for flag in $(EXTRA_TARGET_FLAGS); do \
40469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40470 done; \
40471 (cd $(TARGET_SUBDIR)/rda && \
40472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40474 "RANLIB=$${RANLIB}" \
40475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40476 TAGS) \
40477 || exit 1
40479 @endif target-rda
40481 .PHONY: maybe-install-info-target-rda install-info-target-rda
40482 maybe-install-info-target-rda:
40483 @if target-rda
40484 maybe-install-info-target-rda: install-info-target-rda
40486 install-info-target-rda: \
40487 configure-target-rda \
40488 info-target-rda
40489 @: $(MAKE); $(unstage)
40490 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40491 r=`${PWD_COMMAND}`; export r; \
40492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40493 $(NORMAL_TARGET_EXPORTS) \
40494 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40495 for flag in $(EXTRA_TARGET_FLAGS); do \
40496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40497 done; \
40498 (cd $(TARGET_SUBDIR)/rda && \
40499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40501 "RANLIB=$${RANLIB}" \
40502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40503 install-info) \
40504 || exit 1
40506 @endif target-rda
40508 .PHONY: maybe-install-html-target-rda install-html-target-rda
40509 maybe-install-html-target-rda:
40510 @if target-rda
40511 maybe-install-html-target-rda: install-html-target-rda
40513 install-html-target-rda: \
40514 configure-target-rda \
40515 html-target-rda
40516 @: $(MAKE); $(unstage)
40517 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40518 r=`${PWD_COMMAND}`; export r; \
40519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40520 $(NORMAL_TARGET_EXPORTS) \
40521 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40522 for flag in $(EXTRA_TARGET_FLAGS); do \
40523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40524 done; \
40525 (cd $(TARGET_SUBDIR)/rda && \
40526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40528 "RANLIB=$${RANLIB}" \
40529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40530 install-html) \
40531 || exit 1
40533 @endif target-rda
40535 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40536 maybe-installcheck-target-rda:
40537 @if target-rda
40538 maybe-installcheck-target-rda: installcheck-target-rda
40540 installcheck-target-rda: \
40541 configure-target-rda
40542 @: $(MAKE); $(unstage)
40543 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40544 r=`${PWD_COMMAND}`; export r; \
40545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40546 $(NORMAL_TARGET_EXPORTS) \
40547 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40548 for flag in $(EXTRA_TARGET_FLAGS); do \
40549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40550 done; \
40551 (cd $(TARGET_SUBDIR)/rda && \
40552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40554 "RANLIB=$${RANLIB}" \
40555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40556 installcheck) \
40557 || exit 1
40559 @endif target-rda
40561 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40562 maybe-mostlyclean-target-rda:
40563 @if target-rda
40564 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40566 mostlyclean-target-rda:
40567 @: $(MAKE); $(unstage)
40568 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40569 r=`${PWD_COMMAND}`; export r; \
40570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40571 $(NORMAL_TARGET_EXPORTS) \
40572 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40573 for flag in $(EXTRA_TARGET_FLAGS); do \
40574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40575 done; \
40576 (cd $(TARGET_SUBDIR)/rda && \
40577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40579 "RANLIB=$${RANLIB}" \
40580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40581 mostlyclean) \
40582 || exit 1
40584 @endif target-rda
40586 .PHONY: maybe-clean-target-rda clean-target-rda
40587 maybe-clean-target-rda:
40588 @if target-rda
40589 maybe-clean-target-rda: clean-target-rda
40591 clean-target-rda:
40592 @: $(MAKE); $(unstage)
40593 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40594 r=`${PWD_COMMAND}`; export r; \
40595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40596 $(NORMAL_TARGET_EXPORTS) \
40597 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40598 for flag in $(EXTRA_TARGET_FLAGS); do \
40599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40600 done; \
40601 (cd $(TARGET_SUBDIR)/rda && \
40602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40604 "RANLIB=$${RANLIB}" \
40605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40606 clean) \
40607 || exit 1
40609 @endif target-rda
40611 .PHONY: maybe-distclean-target-rda distclean-target-rda
40612 maybe-distclean-target-rda:
40613 @if target-rda
40614 maybe-distclean-target-rda: distclean-target-rda
40616 distclean-target-rda:
40617 @: $(MAKE); $(unstage)
40618 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40619 r=`${PWD_COMMAND}`; export r; \
40620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40621 $(NORMAL_TARGET_EXPORTS) \
40622 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40623 for flag in $(EXTRA_TARGET_FLAGS); do \
40624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40625 done; \
40626 (cd $(TARGET_SUBDIR)/rda && \
40627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40629 "RANLIB=$${RANLIB}" \
40630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40631 distclean) \
40632 || exit 1
40634 @endif target-rda
40636 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40637 maybe-maintainer-clean-target-rda:
40638 @if target-rda
40639 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40641 maintainer-clean-target-rda:
40642 @: $(MAKE); $(unstage)
40643 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40644 r=`${PWD_COMMAND}`; export r; \
40645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40646 $(NORMAL_TARGET_EXPORTS) \
40647 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40648 for flag in $(EXTRA_TARGET_FLAGS); do \
40649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40650 done; \
40651 (cd $(TARGET_SUBDIR)/rda && \
40652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40654 "RANLIB=$${RANLIB}" \
40655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40656 maintainer-clean) \
40657 || exit 1
40659 @endif target-rda
40665 .PHONY: configure-target-libada maybe-configure-target-libada
40666 maybe-configure-target-libada:
40667 @if gcc-bootstrap
40668 configure-target-libada: stage_current
40669 @endif gcc-bootstrap
40670 @if target-libada
40671 maybe-configure-target-libada: configure-target-libada
40672 configure-target-libada:
40673 @: $(MAKE); $(unstage)
40674 @r=`${PWD_COMMAND}`; export r; \
40675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40676 echo "Checking multilib configuration for libada..."; \
40677 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40678 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40679 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40680 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40681 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40682 else \
40683 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40684 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40685 fi; \
40686 else \
40687 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40688 fi; \
40689 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40690 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40691 $(NORMAL_TARGET_EXPORTS) \
40692 echo Configuring in $(TARGET_SUBDIR)/libada; \
40693 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40694 case $(srcdir) in \
40695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40696 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40698 esac; \
40699 srcdiroption="--srcdir=$${topdir}/libada"; \
40700 libsrcdir="$$s/libada"; \
40701 rm -f no-such-file || : ; \
40702 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40703 $(TARGET_CONFIGARGS) $${srcdiroption} \
40704 || exit 1
40705 @endif target-libada
40711 .PHONY: all-target-libada maybe-all-target-libada
40712 maybe-all-target-libada:
40713 @if gcc-bootstrap
40714 all-target-libada: stage_current
40715 @endif gcc-bootstrap
40716 @if target-libada
40717 TARGET-target-libada=all
40718 maybe-all-target-libada: all-target-libada
40719 all-target-libada: configure-target-libada
40720 @: $(MAKE); $(unstage)
40721 @r=`${PWD_COMMAND}`; export r; \
40722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40723 $(NORMAL_TARGET_EXPORTS) \
40724 (cd $(TARGET_SUBDIR)/libada && \
40725 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
40726 @endif target-libada
40732 .PHONY: check-target-libada maybe-check-target-libada
40733 maybe-check-target-libada:
40734 @if target-libada
40735 maybe-check-target-libada: check-target-libada
40737 check-target-libada:
40738 @: $(MAKE); $(unstage)
40739 @r=`${PWD_COMMAND}`; export r; \
40740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40741 $(NORMAL_TARGET_EXPORTS) \
40742 (cd $(TARGET_SUBDIR)/libada && \
40743 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40745 @endif target-libada
40747 .PHONY: install-target-libada maybe-install-target-libada
40748 maybe-install-target-libada:
40749 @if target-libada
40750 maybe-install-target-libada: install-target-libada
40752 install-target-libada: installdirs
40753 @: $(MAKE); $(unstage)
40754 @r=`${PWD_COMMAND}`; export r; \
40755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40756 $(NORMAL_TARGET_EXPORTS) \
40757 (cd $(TARGET_SUBDIR)/libada && \
40758 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40760 @endif target-libada
40762 # Other targets (info, dvi, pdf, etc.)
40764 .PHONY: maybe-info-target-libada info-target-libada
40765 maybe-info-target-libada:
40766 @if target-libada
40767 maybe-info-target-libada: info-target-libada
40769 info-target-libada: \
40770 configure-target-libada
40771 @: $(MAKE); $(unstage)
40772 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40773 r=`${PWD_COMMAND}`; export r; \
40774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40775 $(NORMAL_TARGET_EXPORTS) \
40776 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40777 for flag in $(EXTRA_TARGET_FLAGS); do \
40778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40779 done; \
40780 (cd $(TARGET_SUBDIR)/libada && \
40781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40783 "RANLIB=$${RANLIB}" \
40784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40785 info) \
40786 || exit 1
40788 @endif target-libada
40790 .PHONY: maybe-dvi-target-libada dvi-target-libada
40791 maybe-dvi-target-libada:
40792 @if target-libada
40793 maybe-dvi-target-libada: dvi-target-libada
40795 dvi-target-libada: \
40796 configure-target-libada
40797 @: $(MAKE); $(unstage)
40798 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40799 r=`${PWD_COMMAND}`; export r; \
40800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40801 $(NORMAL_TARGET_EXPORTS) \
40802 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
40803 for flag in $(EXTRA_TARGET_FLAGS); do \
40804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40805 done; \
40806 (cd $(TARGET_SUBDIR)/libada && \
40807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40809 "RANLIB=$${RANLIB}" \
40810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40811 dvi) \
40812 || exit 1
40814 @endif target-libada
40816 .PHONY: maybe-pdf-target-libada pdf-target-libada
40817 maybe-pdf-target-libada:
40818 @if target-libada
40819 maybe-pdf-target-libada: pdf-target-libada
40821 pdf-target-libada: \
40822 configure-target-libada
40823 @: $(MAKE); $(unstage)
40824 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40825 r=`${PWD_COMMAND}`; export r; \
40826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40827 $(NORMAL_TARGET_EXPORTS) \
40828 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
40829 for flag in $(EXTRA_TARGET_FLAGS); do \
40830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40831 done; \
40832 (cd $(TARGET_SUBDIR)/libada && \
40833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40835 "RANLIB=$${RANLIB}" \
40836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40837 pdf) \
40838 || exit 1
40840 @endif target-libada
40842 .PHONY: maybe-html-target-libada html-target-libada
40843 maybe-html-target-libada:
40844 @if target-libada
40845 maybe-html-target-libada: html-target-libada
40847 html-target-libada: \
40848 configure-target-libada
40849 @: $(MAKE); $(unstage)
40850 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40851 r=`${PWD_COMMAND}`; export r; \
40852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40853 $(NORMAL_TARGET_EXPORTS) \
40854 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
40855 for flag in $(EXTRA_TARGET_FLAGS); do \
40856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40857 done; \
40858 (cd $(TARGET_SUBDIR)/libada && \
40859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40861 "RANLIB=$${RANLIB}" \
40862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40863 html) \
40864 || exit 1
40866 @endif target-libada
40868 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
40869 maybe-TAGS-target-libada:
40870 @if target-libada
40871 maybe-TAGS-target-libada: TAGS-target-libada
40873 TAGS-target-libada: \
40874 configure-target-libada
40875 @: $(MAKE); $(unstage)
40876 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40877 r=`${PWD_COMMAND}`; export r; \
40878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40879 $(NORMAL_TARGET_EXPORTS) \
40880 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
40881 for flag in $(EXTRA_TARGET_FLAGS); do \
40882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40883 done; \
40884 (cd $(TARGET_SUBDIR)/libada && \
40885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40887 "RANLIB=$${RANLIB}" \
40888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40889 TAGS) \
40890 || exit 1
40892 @endif target-libada
40894 .PHONY: maybe-install-info-target-libada install-info-target-libada
40895 maybe-install-info-target-libada:
40896 @if target-libada
40897 maybe-install-info-target-libada: install-info-target-libada
40899 install-info-target-libada: \
40900 configure-target-libada \
40901 info-target-libada
40902 @: $(MAKE); $(unstage)
40903 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40904 r=`${PWD_COMMAND}`; export r; \
40905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40906 $(NORMAL_TARGET_EXPORTS) \
40907 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
40908 for flag in $(EXTRA_TARGET_FLAGS); do \
40909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40910 done; \
40911 (cd $(TARGET_SUBDIR)/libada && \
40912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40914 "RANLIB=$${RANLIB}" \
40915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40916 install-info) \
40917 || exit 1
40919 @endif target-libada
40921 .PHONY: maybe-install-html-target-libada install-html-target-libada
40922 maybe-install-html-target-libada:
40923 @if target-libada
40924 maybe-install-html-target-libada: install-html-target-libada
40926 install-html-target-libada: \
40927 configure-target-libada \
40928 html-target-libada
40929 @: $(MAKE); $(unstage)
40930 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40931 r=`${PWD_COMMAND}`; export r; \
40932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40933 $(NORMAL_TARGET_EXPORTS) \
40934 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
40935 for flag in $(EXTRA_TARGET_FLAGS); do \
40936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40937 done; \
40938 (cd $(TARGET_SUBDIR)/libada && \
40939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40941 "RANLIB=$${RANLIB}" \
40942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40943 install-html) \
40944 || exit 1
40946 @endif target-libada
40948 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
40949 maybe-installcheck-target-libada:
40950 @if target-libada
40951 maybe-installcheck-target-libada: installcheck-target-libada
40953 installcheck-target-libada: \
40954 configure-target-libada
40955 @: $(MAKE); $(unstage)
40956 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40957 r=`${PWD_COMMAND}`; export r; \
40958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40959 $(NORMAL_TARGET_EXPORTS) \
40960 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
40961 for flag in $(EXTRA_TARGET_FLAGS); do \
40962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40963 done; \
40964 (cd $(TARGET_SUBDIR)/libada && \
40965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40967 "RANLIB=$${RANLIB}" \
40968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40969 installcheck) \
40970 || exit 1
40972 @endif target-libada
40974 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
40975 maybe-mostlyclean-target-libada:
40976 @if target-libada
40977 maybe-mostlyclean-target-libada: mostlyclean-target-libada
40979 mostlyclean-target-libada:
40980 @: $(MAKE); $(unstage)
40981 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40982 r=`${PWD_COMMAND}`; export r; \
40983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40984 $(NORMAL_TARGET_EXPORTS) \
40985 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
40986 for flag in $(EXTRA_TARGET_FLAGS); do \
40987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40988 done; \
40989 (cd $(TARGET_SUBDIR)/libada && \
40990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40992 "RANLIB=$${RANLIB}" \
40993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40994 mostlyclean) \
40995 || exit 1
40997 @endif target-libada
40999 .PHONY: maybe-clean-target-libada clean-target-libada
41000 maybe-clean-target-libada:
41001 @if target-libada
41002 maybe-clean-target-libada: clean-target-libada
41004 clean-target-libada:
41005 @: $(MAKE); $(unstage)
41006 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41007 r=`${PWD_COMMAND}`; export r; \
41008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41009 $(NORMAL_TARGET_EXPORTS) \
41010 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41011 for flag in $(EXTRA_TARGET_FLAGS); do \
41012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41013 done; \
41014 (cd $(TARGET_SUBDIR)/libada && \
41015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41017 "RANLIB=$${RANLIB}" \
41018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41019 clean) \
41020 || exit 1
41022 @endif target-libada
41024 .PHONY: maybe-distclean-target-libada distclean-target-libada
41025 maybe-distclean-target-libada:
41026 @if target-libada
41027 maybe-distclean-target-libada: distclean-target-libada
41029 distclean-target-libada:
41030 @: $(MAKE); $(unstage)
41031 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41032 r=`${PWD_COMMAND}`; export r; \
41033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41034 $(NORMAL_TARGET_EXPORTS) \
41035 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41036 for flag in $(EXTRA_TARGET_FLAGS); do \
41037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41038 done; \
41039 (cd $(TARGET_SUBDIR)/libada && \
41040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41042 "RANLIB=$${RANLIB}" \
41043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41044 distclean) \
41045 || exit 1
41047 @endif target-libada
41049 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41050 maybe-maintainer-clean-target-libada:
41051 @if target-libada
41052 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41054 maintainer-clean-target-libada:
41055 @: $(MAKE); $(unstage)
41056 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41057 r=`${PWD_COMMAND}`; export r; \
41058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41059 $(NORMAL_TARGET_EXPORTS) \
41060 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41061 for flag in $(EXTRA_TARGET_FLAGS); do \
41062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41063 done; \
41064 (cd $(TARGET_SUBDIR)/libada && \
41065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41067 "RANLIB=$${RANLIB}" \
41068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41069 maintainer-clean) \
41070 || exit 1
41072 @endif target-libada
41078 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41079 maybe-configure-target-libgomp:
41080 @if gcc-bootstrap
41081 configure-target-libgomp: stage_current
41082 @endif gcc-bootstrap
41083 @if target-libgomp
41084 maybe-configure-target-libgomp: configure-target-libgomp
41085 configure-target-libgomp:
41086 @: $(MAKE); $(unstage)
41087 @r=`${PWD_COMMAND}`; export r; \
41088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41089 echo "Checking multilib configuration for libgomp..."; \
41090 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41091 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41092 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41093 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41094 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41095 else \
41096 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41097 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41098 fi; \
41099 else \
41100 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41101 fi; \
41102 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41103 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41104 $(NORMAL_TARGET_EXPORTS) \
41105 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41106 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41107 case $(srcdir) in \
41108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41109 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41111 esac; \
41112 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41113 libsrcdir="$$s/libgomp"; \
41114 rm -f no-such-file || : ; \
41115 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41116 $(TARGET_CONFIGARGS) $${srcdiroption} \
41117 || exit 1
41118 @endif target-libgomp
41124 .PHONY: all-target-libgomp maybe-all-target-libgomp
41125 maybe-all-target-libgomp:
41126 @if gcc-bootstrap
41127 all-target-libgomp: stage_current
41128 @endif gcc-bootstrap
41129 @if target-libgomp
41130 TARGET-target-libgomp=all
41131 maybe-all-target-libgomp: all-target-libgomp
41132 all-target-libgomp: configure-target-libgomp
41133 @: $(MAKE); $(unstage)
41134 @r=`${PWD_COMMAND}`; export r; \
41135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41136 $(NORMAL_TARGET_EXPORTS) \
41137 (cd $(TARGET_SUBDIR)/libgomp && \
41138 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
41139 @endif target-libgomp
41145 .PHONY: check-target-libgomp maybe-check-target-libgomp
41146 maybe-check-target-libgomp:
41147 @if target-libgomp
41148 maybe-check-target-libgomp: check-target-libgomp
41150 check-target-libgomp:
41151 @: $(MAKE); $(unstage)
41152 @r=`${PWD_COMMAND}`; export r; \
41153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41154 $(NORMAL_TARGET_EXPORTS) \
41155 (cd $(TARGET_SUBDIR)/libgomp && \
41156 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41158 @endif target-libgomp
41160 .PHONY: install-target-libgomp maybe-install-target-libgomp
41161 maybe-install-target-libgomp:
41162 @if target-libgomp
41163 maybe-install-target-libgomp: install-target-libgomp
41165 install-target-libgomp: installdirs
41166 @: $(MAKE); $(unstage)
41167 @r=`${PWD_COMMAND}`; export r; \
41168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41169 $(NORMAL_TARGET_EXPORTS) \
41170 (cd $(TARGET_SUBDIR)/libgomp && \
41171 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41173 @endif target-libgomp
41175 # Other targets (info, dvi, pdf, etc.)
41177 .PHONY: maybe-info-target-libgomp info-target-libgomp
41178 maybe-info-target-libgomp:
41179 @if target-libgomp
41180 maybe-info-target-libgomp: info-target-libgomp
41182 info-target-libgomp: \
41183 configure-target-libgomp
41184 @: $(MAKE); $(unstage)
41185 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41186 r=`${PWD_COMMAND}`; export r; \
41187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41188 $(NORMAL_TARGET_EXPORTS) \
41189 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41190 for flag in $(EXTRA_TARGET_FLAGS); do \
41191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41192 done; \
41193 (cd $(TARGET_SUBDIR)/libgomp && \
41194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41196 "RANLIB=$${RANLIB}" \
41197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41198 info) \
41199 || exit 1
41201 @endif target-libgomp
41203 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41204 maybe-dvi-target-libgomp:
41205 @if target-libgomp
41206 maybe-dvi-target-libgomp: dvi-target-libgomp
41208 dvi-target-libgomp: \
41209 configure-target-libgomp
41210 @: $(MAKE); $(unstage)
41211 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41212 r=`${PWD_COMMAND}`; export r; \
41213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41214 $(NORMAL_TARGET_EXPORTS) \
41215 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41216 for flag in $(EXTRA_TARGET_FLAGS); do \
41217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41218 done; \
41219 (cd $(TARGET_SUBDIR)/libgomp && \
41220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41222 "RANLIB=$${RANLIB}" \
41223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41224 dvi) \
41225 || exit 1
41227 @endif target-libgomp
41229 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41230 maybe-pdf-target-libgomp:
41231 @if target-libgomp
41232 maybe-pdf-target-libgomp: pdf-target-libgomp
41234 pdf-target-libgomp: \
41235 configure-target-libgomp
41236 @: $(MAKE); $(unstage)
41237 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41238 r=`${PWD_COMMAND}`; export r; \
41239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41240 $(NORMAL_TARGET_EXPORTS) \
41241 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41242 for flag in $(EXTRA_TARGET_FLAGS); do \
41243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41244 done; \
41245 (cd $(TARGET_SUBDIR)/libgomp && \
41246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41248 "RANLIB=$${RANLIB}" \
41249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41250 pdf) \
41251 || exit 1
41253 @endif target-libgomp
41255 .PHONY: maybe-html-target-libgomp html-target-libgomp
41256 maybe-html-target-libgomp:
41257 @if target-libgomp
41258 maybe-html-target-libgomp: html-target-libgomp
41260 html-target-libgomp: \
41261 configure-target-libgomp
41262 @: $(MAKE); $(unstage)
41263 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41264 r=`${PWD_COMMAND}`; export r; \
41265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41266 $(NORMAL_TARGET_EXPORTS) \
41267 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41268 for flag in $(EXTRA_TARGET_FLAGS); do \
41269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41270 done; \
41271 (cd $(TARGET_SUBDIR)/libgomp && \
41272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41274 "RANLIB=$${RANLIB}" \
41275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41276 html) \
41277 || exit 1
41279 @endif target-libgomp
41281 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41282 maybe-TAGS-target-libgomp:
41283 @if target-libgomp
41284 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41286 TAGS-target-libgomp: \
41287 configure-target-libgomp
41288 @: $(MAKE); $(unstage)
41289 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41290 r=`${PWD_COMMAND}`; export r; \
41291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41292 $(NORMAL_TARGET_EXPORTS) \
41293 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41294 for flag in $(EXTRA_TARGET_FLAGS); do \
41295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41296 done; \
41297 (cd $(TARGET_SUBDIR)/libgomp && \
41298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41300 "RANLIB=$${RANLIB}" \
41301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41302 TAGS) \
41303 || exit 1
41305 @endif target-libgomp
41307 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41308 maybe-install-info-target-libgomp:
41309 @if target-libgomp
41310 maybe-install-info-target-libgomp: install-info-target-libgomp
41312 install-info-target-libgomp: \
41313 configure-target-libgomp \
41314 info-target-libgomp
41315 @: $(MAKE); $(unstage)
41316 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41317 r=`${PWD_COMMAND}`; export r; \
41318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41319 $(NORMAL_TARGET_EXPORTS) \
41320 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41321 for flag in $(EXTRA_TARGET_FLAGS); do \
41322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41323 done; \
41324 (cd $(TARGET_SUBDIR)/libgomp && \
41325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41327 "RANLIB=$${RANLIB}" \
41328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41329 install-info) \
41330 || exit 1
41332 @endif target-libgomp
41334 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41335 maybe-install-html-target-libgomp:
41336 @if target-libgomp
41337 maybe-install-html-target-libgomp: install-html-target-libgomp
41339 install-html-target-libgomp: \
41340 configure-target-libgomp \
41341 html-target-libgomp
41342 @: $(MAKE); $(unstage)
41343 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41344 r=`${PWD_COMMAND}`; export r; \
41345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41346 $(NORMAL_TARGET_EXPORTS) \
41347 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41348 for flag in $(EXTRA_TARGET_FLAGS); do \
41349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41350 done; \
41351 (cd $(TARGET_SUBDIR)/libgomp && \
41352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41354 "RANLIB=$${RANLIB}" \
41355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41356 install-html) \
41357 || exit 1
41359 @endif target-libgomp
41361 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41362 maybe-installcheck-target-libgomp:
41363 @if target-libgomp
41364 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41366 installcheck-target-libgomp: \
41367 configure-target-libgomp
41368 @: $(MAKE); $(unstage)
41369 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41370 r=`${PWD_COMMAND}`; export r; \
41371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41372 $(NORMAL_TARGET_EXPORTS) \
41373 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41374 for flag in $(EXTRA_TARGET_FLAGS); do \
41375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41376 done; \
41377 (cd $(TARGET_SUBDIR)/libgomp && \
41378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41380 "RANLIB=$${RANLIB}" \
41381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41382 installcheck) \
41383 || exit 1
41385 @endif target-libgomp
41387 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41388 maybe-mostlyclean-target-libgomp:
41389 @if target-libgomp
41390 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41392 mostlyclean-target-libgomp:
41393 @: $(MAKE); $(unstage)
41394 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41395 r=`${PWD_COMMAND}`; export r; \
41396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41397 $(NORMAL_TARGET_EXPORTS) \
41398 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41399 for flag in $(EXTRA_TARGET_FLAGS); do \
41400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41401 done; \
41402 (cd $(TARGET_SUBDIR)/libgomp && \
41403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41405 "RANLIB=$${RANLIB}" \
41406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41407 mostlyclean) \
41408 || exit 1
41410 @endif target-libgomp
41412 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41413 maybe-clean-target-libgomp:
41414 @if target-libgomp
41415 maybe-clean-target-libgomp: clean-target-libgomp
41417 clean-target-libgomp:
41418 @: $(MAKE); $(unstage)
41419 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41420 r=`${PWD_COMMAND}`; export r; \
41421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41422 $(NORMAL_TARGET_EXPORTS) \
41423 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41424 for flag in $(EXTRA_TARGET_FLAGS); do \
41425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41426 done; \
41427 (cd $(TARGET_SUBDIR)/libgomp && \
41428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41430 "RANLIB=$${RANLIB}" \
41431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41432 clean) \
41433 || exit 1
41435 @endif target-libgomp
41437 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41438 maybe-distclean-target-libgomp:
41439 @if target-libgomp
41440 maybe-distclean-target-libgomp: distclean-target-libgomp
41442 distclean-target-libgomp:
41443 @: $(MAKE); $(unstage)
41444 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41445 r=`${PWD_COMMAND}`; export r; \
41446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41447 $(NORMAL_TARGET_EXPORTS) \
41448 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41449 for flag in $(EXTRA_TARGET_FLAGS); do \
41450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41451 done; \
41452 (cd $(TARGET_SUBDIR)/libgomp && \
41453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41455 "RANLIB=$${RANLIB}" \
41456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41457 distclean) \
41458 || exit 1
41460 @endif target-libgomp
41462 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41463 maybe-maintainer-clean-target-libgomp:
41464 @if target-libgomp
41465 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41467 maintainer-clean-target-libgomp:
41468 @: $(MAKE); $(unstage)
41469 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41470 r=`${PWD_COMMAND}`; export r; \
41471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41472 $(NORMAL_TARGET_EXPORTS) \
41473 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41474 for flag in $(EXTRA_TARGET_FLAGS); do \
41475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41476 done; \
41477 (cd $(TARGET_SUBDIR)/libgomp && \
41478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41480 "RANLIB=$${RANLIB}" \
41481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41482 maintainer-clean) \
41483 || exit 1
41485 @endif target-libgomp
41489 # ----------
41490 # GCC module
41491 # ----------
41493 @if gcc-no-bootstrap
41494 # GCC has some more recursive targets, which trigger the old
41495 # (but still current, until the toplevel bootstrap project
41496 # is finished) compiler bootstrapping rules.
41498 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
41499 .PHONY: $(GCC_STRAP_TARGETS)
41500 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
41501 @r=`${PWD_COMMAND}`; export r; \
41502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41503 $(HOST_EXPORTS) \
41504 echo "Bootstrapping the compiler"; \
41505 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41506 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
41507 @r=`${PWD_COMMAND}`; export r; \
41508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41509 case "$@" in \
41510 *bootstrap4-lean ) \
41511 msg="Comparing stage3 and stage4 of the compiler"; \
41512 compare=compare3-lean ;; \
41513 *bootstrap4 ) \
41514 msg="Comparing stage3 and stage4 of the compiler"; \
41515 compare=compare3 ;; \
41516 *-lean ) \
41517 msg="Comparing stage2 and stage3 of the compiler"; \
41518 compare=compare-lean ;; \
41519 * ) \
41520 msg="Comparing stage2 and stage3 of the compiler"; \
41521 compare=compare ;; \
41522 esac; \
41523 $(HOST_EXPORTS) \
41524 echo "$$msg"; \
41525 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
41526 @r=`${PWD_COMMAND}`; export r; \
41527 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41528 echo "Building runtime libraries"; \
41529 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41531 profiledbootstrap: all-prebootstrap configure-gcc
41532 @r=`${PWD_COMMAND}`; export r; \
41533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41534 $(HOST_EXPORTS) \
41535 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41536 echo "Bootstrapping training compiler"; \
41537 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
41538 @r=`${PWD_COMMAND}`; export r; \
41539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41540 $(HOST_EXPORTS) \
41541 echo "Building feedback based compiler"; \
41542 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
41543 @r=`${PWD_COMMAND}`; export r; \
41544 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41545 echo "Building runtime libraries"; \
41546 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41548 .PHONY: cross
41549 cross: all-build all-gas all-ld
41550 @r=`${PWD_COMMAND}`; export r; \
41551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41552 $(HOST_EXPORTS) \
41553 echo "Building the C and C++ compiler"; \
41554 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41555 @r=`${PWD_COMMAND}`; export r; \
41556 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41557 echo "Building runtime libraries"; \
41558 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41559 @endif gcc-no-bootstrap
41561 @if gcc
41562 .PHONY: check-gcc-c++
41563 check-gcc-c++:
41564 @if [ -f ./gcc/Makefile ] ; then \
41565 r=`${PWD_COMMAND}`; export r; \
41566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41567 $(HOST_EXPORTS) \
41568 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
41569 else \
41570 true; \
41573 .PHONY: check-c++
41574 check-c++: check-target-libstdc++-v3 check-gcc-c++
41576 # Install the gcc headers files, but not the fixed include files,
41577 # which Cygnus is not allowed to distribute. This rule is very
41578 # dependent on the workings of the gcc Makefile.in.
41579 .PHONY: gcc-no-fixedincludes
41580 gcc-no-fixedincludes:
41581 @if [ -f ./gcc/Makefile ]; then \
41582 rm -rf gcc/tmp-include; \
41583 mv gcc/include gcc/tmp-include 2>/dev/null; \
41584 mkdir gcc/include; \
41585 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
41586 touch gcc/stmp-fixinc gcc/include/fixed; \
41587 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
41588 r=`${PWD_COMMAND}`; export r; \
41589 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41590 $(HOST_EXPORTS) \
41591 (cd ./gcc && \
41592 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
41593 rm -rf gcc/include; \
41594 mv gcc/tmp-include gcc/include 2>/dev/null; \
41595 else true; fi
41596 @endif gcc
41598 # ---------------------
41599 # GCC bootstrap support
41600 # ---------------------
41602 # We track the current stage (the one in 'gcc') in the stage_current file.
41603 # stage_last instead tracks the stage that was built last. These targets
41604 # are dummy when toplevel bootstrap is not active.
41606 # While making host and target tools, symlinks to the final stage must be
41607 # there, so $(unstage) should be run at various points. To avoid excessive
41608 # recursive invocations of make, we "inline" them using a variable. These
41609 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41610 # to avoid warnings from the GNU Make job server.
41612 unstage = :
41613 stage = :
41614 current_stage = ""
41616 @if gcc-bootstrap
41617 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
41618 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41619 current_stage = "`cat stage_current 2> /dev/null`"
41620 @endif gcc-bootstrap
41622 .PHONY: unstage stage
41623 unstage:
41624 @: $(MAKE); $(unstage)
41625 stage:
41626 @: $(MAKE); $(stage)
41628 # Disable commands for lean bootstrap.
41629 LEAN = false
41631 # We name the build directories for the various stages "stage1-gcc",
41632 # "stage2-gcc","stage3-gcc", etc.
41634 # Since the 'compare' process will fail (on debugging information) if any
41635 # directory names are different, we need to link the gcc directory for
41636 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41637 # the build directories constant as well. For the latter, we use naked names
41638 # like 'gcc', because the scripts in that directory assume it. We use
41639 # mv on platforms where symlinks to directories do not work or are not
41640 # reliable.
41642 # 'touch' doesn't work right on some platforms.
41643 STAMP = echo timestamp >
41645 # Only build the C compiler for stage1, because that is the only one that
41646 # we can guarantee will build with the native compiler, and also it is the
41647 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
41648 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
41649 # overrideable (for a bootstrap build stage1 also builds gcc.info).
41651 STAGE1_CFLAGS=@stage1_cflags@
41652 STAGE1_LANGUAGES=@stage1_languages@
41654 # We only want to compare .o files, so set this!
41655 objext = .o
41657 # Flags to pass to stage2 and later makes.
41658 POSTSTAGE1_FLAGS_TO_PASS = \
41659 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
41660 STAGE_PREFIX=$$r/prev-gcc/ \
41661 CFLAGS="$(BOOT_CFLAGS)" \
41662 LIBCFLAGS="$(BOOT_CFLAGS)" \
41663 LDFLAGS="$(BOOT_LDFLAGS)" \
41664 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
41666 # For stage 1:
41667 # * We force-disable intermodule optimizations, even if
41668 # --enable-intermodule was passed, since the installed compiler probably
41669 # can't handle them. Luckily, autoconf always respects
41670 # the last argument when conflicting --enable arguments are passed.
41671 # * Likewise, we force-disable coverage flags, since the installed compiler
41672 # probably has never heard of them.
41673 # * We build only C (and possibly Ada).
41676 .PHONY: stage1-start stage1-end
41678 stage1-start::
41679 @: $(MAKE); $(stage); \
41680 echo stage1 > stage_current ; \
41681 echo stage1 > stage_last; \
41682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41683 @if bfd
41684 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41685 mkdir stage1-bfd; \
41686 mv stage1-bfd bfd
41687 @endif bfd
41688 @if opcodes
41689 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41690 mkdir stage1-opcodes; \
41691 mv stage1-opcodes opcodes
41692 @endif opcodes
41693 @if binutils
41694 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41695 mkdir stage1-binutils; \
41696 mv stage1-binutils binutils
41697 @endif binutils
41698 @if gas
41699 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41700 mkdir stage1-gas; \
41701 mv stage1-gas gas
41702 @endif gas
41703 @if gcc
41704 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41705 mkdir stage1-gcc; \
41706 mv stage1-gcc gcc
41707 @endif gcc
41708 @if intl
41709 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41710 mkdir stage1-intl; \
41711 mv stage1-intl intl
41712 @endif intl
41713 @if ld
41714 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41715 mkdir stage1-ld; \
41716 mv stage1-ld ld
41717 @endif ld
41718 @if libcpp
41719 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41720 mkdir stage1-libcpp; \
41721 mv stage1-libcpp libcpp
41722 @endif libcpp
41723 @if libdecnumber
41724 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41725 mkdir stage1-libdecnumber; \
41726 mv stage1-libdecnumber libdecnumber
41727 @endif libdecnumber
41728 @if libiberty
41729 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41730 mkdir stage1-libiberty; \
41731 mv stage1-libiberty libiberty
41732 @endif libiberty
41733 @if zlib
41734 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41735 mkdir stage1-zlib; \
41736 mv stage1-zlib zlib
41737 @endif zlib
41738 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41739 mkdir stage1-$(TARGET_SUBDIR); \
41740 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41742 stage1-end::
41743 @if bfd
41744 @if test -d $(HOST_SUBDIR)/bfd ; then \
41745 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41747 @endif bfd
41748 @if opcodes
41749 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41750 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41752 @endif opcodes
41753 @if binutils
41754 @if test -d $(HOST_SUBDIR)/binutils ; then \
41755 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41757 @endif binutils
41758 @if gas
41759 @if test -d $(HOST_SUBDIR)/gas ; then \
41760 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41762 @endif gas
41763 @if gcc
41764 @if test -d $(HOST_SUBDIR)/gcc ; then \
41765 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41767 @endif gcc
41768 @if intl
41769 @if test -d $(HOST_SUBDIR)/intl ; then \
41770 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41772 @endif intl
41773 @if ld
41774 @if test -d $(HOST_SUBDIR)/ld ; then \
41775 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41777 @endif ld
41778 @if libcpp
41779 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41780 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41782 @endif libcpp
41783 @if libdecnumber
41784 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41785 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41787 @endif libdecnumber
41788 @if libiberty
41789 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41790 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41792 @endif libiberty
41793 @if zlib
41794 @if test -d $(HOST_SUBDIR)/zlib ; then \
41795 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41797 @endif zlib
41798 @if test -d $(TARGET_SUBDIR) ; then \
41799 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41801 rm -f stage_current
41803 # Bubble a bugfix through all the stages up to stage 1. They are
41804 # remade, but not reconfigured. The next stage (if any) will not be
41805 # reconfigured as well.
41806 .PHONY: stage1-bubble
41807 stage1-bubble::
41808 @r=`${PWD_COMMAND}`; export r; \
41809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41810 if test -f stage1-lean ; then \
41811 echo Skipping rebuild of stage1 ; \
41812 else \
41813 $(MAKE) stage1-start; \
41814 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41817 .PHONY: all-stage1 clean-stage1
41818 do-clean: clean-stage1
41820 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41821 # only possibility, but now it conflicts with no-bootstrap rules
41822 @if gcc-bootstrap
41827 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41829 .PHONY: distclean-stage1
41830 distclean-stage1::
41831 @: $(MAKE); $(stage)
41832 rm -rf stage1-*
41835 @endif gcc-bootstrap
41838 .PHONY: stage2-start stage2-end
41840 stage2-start::
41841 @: $(MAKE); $(stage); \
41842 echo stage2 > stage_current ; \
41843 echo stage2 > stage_last; \
41844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41845 @if bfd
41846 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41847 mkdir stage2-bfd; \
41848 mv stage2-bfd bfd ; \
41849 mv stage1-bfd prev-bfd || test -f stage1-lean
41850 @endif bfd
41851 @if opcodes
41852 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41853 mkdir stage2-opcodes; \
41854 mv stage2-opcodes opcodes ; \
41855 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41856 @endif opcodes
41857 @if binutils
41858 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41859 mkdir stage2-binutils; \
41860 mv stage2-binutils binutils ; \
41861 mv stage1-binutils prev-binutils || test -f stage1-lean
41862 @endif binutils
41863 @if gas
41864 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41865 mkdir stage2-gas; \
41866 mv stage2-gas gas ; \
41867 mv stage1-gas prev-gas || test -f stage1-lean
41868 @endif gas
41869 @if gcc
41870 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41871 mkdir stage2-gcc; \
41872 mv stage2-gcc gcc ; \
41873 mv stage1-gcc prev-gcc || test -f stage1-lean
41874 @endif gcc
41875 @if intl
41876 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
41877 mkdir stage2-intl; \
41878 mv stage2-intl intl ; \
41879 mv stage1-intl prev-intl || test -f stage1-lean
41880 @endif intl
41881 @if ld
41882 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
41883 mkdir stage2-ld; \
41884 mv stage2-ld ld ; \
41885 mv stage1-ld prev-ld || test -f stage1-lean
41886 @endif ld
41887 @if libcpp
41888 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
41889 mkdir stage2-libcpp; \
41890 mv stage2-libcpp libcpp ; \
41891 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41892 @endif libcpp
41893 @if libdecnumber
41894 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
41895 mkdir stage2-libdecnumber; \
41896 mv stage2-libdecnumber libdecnumber ; \
41897 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41898 @endif libdecnumber
41899 @if libiberty
41900 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
41901 mkdir stage2-libiberty; \
41902 mv stage2-libiberty libiberty ; \
41903 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41904 @endif libiberty
41905 @if zlib
41906 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
41907 mkdir stage2-zlib; \
41908 mv stage2-zlib zlib ; \
41909 mv stage1-zlib prev-zlib || test -f stage1-lean
41910 @endif zlib
41911 @[ -d stage2-$(TARGET_SUBDIR) ] || \
41912 mkdir stage2-$(TARGET_SUBDIR); \
41913 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41914 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41916 stage2-end::
41917 @if bfd
41918 @if test -d $(HOST_SUBDIR)/bfd ; then \
41919 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
41920 mv prev-bfd stage1-bfd ; : ; \
41922 @endif bfd
41923 @if opcodes
41924 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41925 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
41926 mv prev-opcodes stage1-opcodes ; : ; \
41928 @endif opcodes
41929 @if binutils
41930 @if test -d $(HOST_SUBDIR)/binutils ; then \
41931 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
41932 mv prev-binutils stage1-binutils ; : ; \
41934 @endif binutils
41935 @if gas
41936 @if test -d $(HOST_SUBDIR)/gas ; then \
41937 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
41938 mv prev-gas stage1-gas ; : ; \
41940 @endif gas
41941 @if gcc
41942 @if test -d $(HOST_SUBDIR)/gcc ; then \
41943 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
41944 mv prev-gcc stage1-gcc ; : ; \
41946 @endif gcc
41947 @if intl
41948 @if test -d $(HOST_SUBDIR)/intl ; then \
41949 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
41950 mv prev-intl stage1-intl ; : ; \
41952 @endif intl
41953 @if ld
41954 @if test -d $(HOST_SUBDIR)/ld ; then \
41955 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
41956 mv prev-ld stage1-ld ; : ; \
41958 @endif ld
41959 @if libcpp
41960 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41961 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
41962 mv prev-libcpp stage1-libcpp ; : ; \
41964 @endif libcpp
41965 @if libdecnumber
41966 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41967 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
41968 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41970 @endif libdecnumber
41971 @if libiberty
41972 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41973 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
41974 mv prev-libiberty stage1-libiberty ; : ; \
41976 @endif libiberty
41977 @if zlib
41978 @if test -d $(HOST_SUBDIR)/zlib ; then \
41979 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
41980 mv prev-zlib stage1-zlib ; : ; \
41982 @endif zlib
41983 @if test -d $(TARGET_SUBDIR) ; then \
41984 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
41985 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41987 rm -f stage_current
41989 # Bubble a bugfix through all the stages up to stage 2. They are
41990 # remade, but not reconfigured. The next stage (if any) will not be
41991 # reconfigured as well.
41992 .PHONY: stage2-bubble
41993 stage2-bubble:: stage1-bubble
41994 @r=`${PWD_COMMAND}`; export r; \
41995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41996 if test -f stage2-lean || test -f stage1-lean ; then \
41997 echo Skipping rebuild of stage2 ; \
41998 else \
41999 $(MAKE) stage2-start; \
42000 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42003 .PHONY: all-stage2 clean-stage2
42004 do-clean: clean-stage2
42006 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42007 # only possibility, but now it conflicts with no-bootstrap rules
42008 @if gcc-bootstrap
42012 .PHONY: bootstrap2 bootstrap2-lean
42013 bootstrap2:
42014 echo stage2 > stage_final
42015 @r=`${PWD_COMMAND}`; export r; \
42016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42017 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42018 @: $(MAKE); $(unstage)
42019 @r=`${PWD_COMMAND}`; export r; \
42020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42021 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42023 bootstrap2-lean:
42024 echo stage2 > stage_final
42025 @r=`${PWD_COMMAND}`; export r; \
42026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42027 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42028 @: $(MAKE); $(unstage)
42029 @r=`${PWD_COMMAND}`; export r; \
42030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42031 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42034 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42035 distclean-stage1:: distclean-stage2
42036 .PHONY: distclean-stage2
42037 distclean-stage2::
42038 @: $(MAKE); $(stage)
42039 rm -rf stage2-*
42042 @endif gcc-bootstrap
42045 .PHONY: stage3-start stage3-end
42047 stage3-start::
42048 @: $(MAKE); $(stage); \
42049 echo stage3 > stage_current ; \
42050 echo stage3 > stage_last; \
42051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42052 @if bfd
42053 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
42054 mkdir stage3-bfd; \
42055 mv stage3-bfd bfd ; \
42056 mv stage2-bfd prev-bfd || test -f stage2-lean
42057 @endif bfd
42058 @if opcodes
42059 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
42060 mkdir stage3-opcodes; \
42061 mv stage3-opcodes opcodes ; \
42062 mv stage2-opcodes prev-opcodes || test -f stage2-lean
42063 @endif opcodes
42064 @if binutils
42065 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
42066 mkdir stage3-binutils; \
42067 mv stage3-binutils binutils ; \
42068 mv stage2-binutils prev-binutils || test -f stage2-lean
42069 @endif binutils
42070 @if gas
42071 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
42072 mkdir stage3-gas; \
42073 mv stage3-gas gas ; \
42074 mv stage2-gas prev-gas || test -f stage2-lean
42075 @endif gas
42076 @if gcc
42077 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
42078 mkdir stage3-gcc; \
42079 mv stage3-gcc gcc ; \
42080 mv stage2-gcc prev-gcc || test -f stage2-lean
42081 @endif gcc
42082 @if intl
42083 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
42084 mkdir stage3-intl; \
42085 mv stage3-intl intl ; \
42086 mv stage2-intl prev-intl || test -f stage2-lean
42087 @endif intl
42088 @if ld
42089 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
42090 mkdir stage3-ld; \
42091 mv stage3-ld ld ; \
42092 mv stage2-ld prev-ld || test -f stage2-lean
42093 @endif ld
42094 @if libcpp
42095 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
42096 mkdir stage3-libcpp; \
42097 mv stage3-libcpp libcpp ; \
42098 mv stage2-libcpp prev-libcpp || test -f stage2-lean
42099 @endif libcpp
42100 @if libdecnumber
42101 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
42102 mkdir stage3-libdecnumber; \
42103 mv stage3-libdecnumber libdecnumber ; \
42104 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
42105 @endif libdecnumber
42106 @if libiberty
42107 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
42108 mkdir stage3-libiberty; \
42109 mv stage3-libiberty libiberty ; \
42110 mv stage2-libiberty prev-libiberty || test -f stage2-lean
42111 @endif libiberty
42112 @if zlib
42113 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
42114 mkdir stage3-zlib; \
42115 mv stage3-zlib zlib ; \
42116 mv stage2-zlib prev-zlib || test -f stage2-lean
42117 @endif zlib
42118 @[ -d stage3-$(TARGET_SUBDIR) ] || \
42119 mkdir stage3-$(TARGET_SUBDIR); \
42120 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42121 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
42123 stage3-end::
42124 @if bfd
42125 @if test -d $(HOST_SUBDIR)/bfd ; then \
42126 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
42127 mv prev-bfd stage2-bfd ; : ; \
42129 @endif bfd
42130 @if opcodes
42131 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42132 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
42133 mv prev-opcodes stage2-opcodes ; : ; \
42135 @endif opcodes
42136 @if binutils
42137 @if test -d $(HOST_SUBDIR)/binutils ; then \
42138 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
42139 mv prev-binutils stage2-binutils ; : ; \
42141 @endif binutils
42142 @if gas
42143 @if test -d $(HOST_SUBDIR)/gas ; then \
42144 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
42145 mv prev-gas stage2-gas ; : ; \
42147 @endif gas
42148 @if gcc
42149 @if test -d $(HOST_SUBDIR)/gcc ; then \
42150 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
42151 mv prev-gcc stage2-gcc ; : ; \
42153 @endif gcc
42154 @if intl
42155 @if test -d $(HOST_SUBDIR)/intl ; then \
42156 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42157 mv prev-intl stage2-intl ; : ; \
42159 @endif intl
42160 @if ld
42161 @if test -d $(HOST_SUBDIR)/ld ; then \
42162 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42163 mv prev-ld stage2-ld ; : ; \
42165 @endif ld
42166 @if libcpp
42167 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42168 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42169 mv prev-libcpp stage2-libcpp ; : ; \
42171 @endif libcpp
42172 @if libdecnumber
42173 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42174 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42175 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42177 @endif libdecnumber
42178 @if libiberty
42179 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42180 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42181 mv prev-libiberty stage2-libiberty ; : ; \
42183 @endif libiberty
42184 @if zlib
42185 @if test -d $(HOST_SUBDIR)/zlib ; then \
42186 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42187 mv prev-zlib stage2-zlib ; : ; \
42189 @endif zlib
42190 @if test -d $(TARGET_SUBDIR) ; then \
42191 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42192 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42194 rm -f stage_current
42196 # Bubble a bugfix through all the stages up to stage 3. They are
42197 # remade, but not reconfigured. The next stage (if any) will not be
42198 # reconfigured as well.
42199 .PHONY: stage3-bubble
42200 stage3-bubble:: stage2-bubble
42201 @r=`${PWD_COMMAND}`; export r; \
42202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42203 if test -f stage3-lean || test -f stage2-lean ; then \
42204 echo Skipping rebuild of stage3 ; \
42205 else \
42206 $(MAKE) stage3-start; \
42207 if $(LEAN); then \
42208 rm -rf stage1-* ; \
42209 $(STAMP) stage1-lean ; \
42210 fi; \
42211 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42213 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42215 .PHONY: all-stage3 clean-stage3
42216 do-clean: clean-stage3
42218 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42219 # only possibility, but now it conflicts with no-bootstrap rules
42220 @if gcc-bootstrap
42222 compare:
42223 @r=`${PWD_COMMAND}`; export r; \
42224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42225 if test -f stage2-lean; then \
42226 echo Cannot compare object files as stage 2 was deleted. ; \
42227 exit 0 ; \
42228 fi; \
42229 : $(MAKE); $(stage); \
42230 rm -f .bad_compare ; \
42231 echo Comparing stages 2 and 3 ; \
42232 cd stage3-gcc; \
42233 files=`find . -name "*$(objext)" -print` ; \
42234 cd .. ; \
42235 for file in $${files} ; do \
42236 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
42237 @do_compare@ > /dev/null 2>&1; \
42238 if test $$? -eq 1; then \
42239 case $$file in \
42240 ./cc*-checksum$(objext) | ./libgcc/* ) \
42241 echo warning: $$file differs ;; \
42242 *) \
42243 echo $$file differs >> .bad_compare ;; \
42244 esac ; \
42245 fi ; \
42246 done ; \
42247 if [ -f .bad_compare ]; then \
42248 echo "Bootstrap comparison failure!"; \
42249 cat .bad_compare; \
42250 exit 1; \
42251 else \
42252 echo Comparison successful.; \
42253 fi ; \
42254 $(STAMP) compare
42255 if $(LEAN); then \
42256 rm -rf stage2-*; \
42257 $(STAMP) stage2-lean; \
42262 .PHONY: bootstrap bootstrap-lean
42263 bootstrap:
42264 echo stage3 > stage_final
42265 @r=`${PWD_COMMAND}`; export r; \
42266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42267 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42268 @: $(MAKE); $(unstage)
42269 @r=`${PWD_COMMAND}`; export r; \
42270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42271 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42273 bootstrap-lean:
42274 echo stage3 > stage_final
42275 @r=`${PWD_COMMAND}`; export r; \
42276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42278 @: $(MAKE); $(unstage)
42279 @r=`${PWD_COMMAND}`; export r; \
42280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42281 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42284 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42285 distclean-stage2:: distclean-stage3
42286 .PHONY: distclean-stage3
42287 distclean-stage3::
42288 @: $(MAKE); $(stage)
42289 rm -rf stage3-* compare
42292 .PHONY: cleanstrap
42293 cleanstrap: distclean bootstrap
42295 @endif gcc-bootstrap
42298 .PHONY: stage4-start stage4-end
42300 stage4-start::
42301 @: $(MAKE); $(stage); \
42302 echo stage4 > stage_current ; \
42303 echo stage4 > stage_last; \
42304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42305 @if bfd
42306 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42307 mkdir stage4-bfd; \
42308 mv stage4-bfd bfd ; \
42309 mv stage3-bfd prev-bfd || test -f stage3-lean
42310 @endif bfd
42311 @if opcodes
42312 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42313 mkdir stage4-opcodes; \
42314 mv stage4-opcodes opcodes ; \
42315 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42316 @endif opcodes
42317 @if binutils
42318 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42319 mkdir stage4-binutils; \
42320 mv stage4-binutils binutils ; \
42321 mv stage3-binutils prev-binutils || test -f stage3-lean
42322 @endif binutils
42323 @if gas
42324 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42325 mkdir stage4-gas; \
42326 mv stage4-gas gas ; \
42327 mv stage3-gas prev-gas || test -f stage3-lean
42328 @endif gas
42329 @if gcc
42330 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42331 mkdir stage4-gcc; \
42332 mv stage4-gcc gcc ; \
42333 mv stage3-gcc prev-gcc || test -f stage3-lean
42334 @endif gcc
42335 @if intl
42336 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42337 mkdir stage4-intl; \
42338 mv stage4-intl intl ; \
42339 mv stage3-intl prev-intl || test -f stage3-lean
42340 @endif intl
42341 @if ld
42342 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42343 mkdir stage4-ld; \
42344 mv stage4-ld ld ; \
42345 mv stage3-ld prev-ld || test -f stage3-lean
42346 @endif ld
42347 @if libcpp
42348 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42349 mkdir stage4-libcpp; \
42350 mv stage4-libcpp libcpp ; \
42351 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42352 @endif libcpp
42353 @if libdecnumber
42354 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42355 mkdir stage4-libdecnumber; \
42356 mv stage4-libdecnumber libdecnumber ; \
42357 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42358 @endif libdecnumber
42359 @if libiberty
42360 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42361 mkdir stage4-libiberty; \
42362 mv stage4-libiberty libiberty ; \
42363 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42364 @endif libiberty
42365 @if zlib
42366 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42367 mkdir stage4-zlib; \
42368 mv stage4-zlib zlib ; \
42369 mv stage3-zlib prev-zlib || test -f stage3-lean
42370 @endif zlib
42371 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42372 mkdir stage4-$(TARGET_SUBDIR); \
42373 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42374 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42376 stage4-end::
42377 @if bfd
42378 @if test -d $(HOST_SUBDIR)/bfd ; then \
42379 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42380 mv prev-bfd stage3-bfd ; : ; \
42382 @endif bfd
42383 @if opcodes
42384 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42385 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42386 mv prev-opcodes stage3-opcodes ; : ; \
42388 @endif opcodes
42389 @if binutils
42390 @if test -d $(HOST_SUBDIR)/binutils ; then \
42391 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42392 mv prev-binutils stage3-binutils ; : ; \
42394 @endif binutils
42395 @if gas
42396 @if test -d $(HOST_SUBDIR)/gas ; then \
42397 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42398 mv prev-gas stage3-gas ; : ; \
42400 @endif gas
42401 @if gcc
42402 @if test -d $(HOST_SUBDIR)/gcc ; then \
42403 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42404 mv prev-gcc stage3-gcc ; : ; \
42406 @endif gcc
42407 @if intl
42408 @if test -d $(HOST_SUBDIR)/intl ; then \
42409 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42410 mv prev-intl stage3-intl ; : ; \
42412 @endif intl
42413 @if ld
42414 @if test -d $(HOST_SUBDIR)/ld ; then \
42415 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42416 mv prev-ld stage3-ld ; : ; \
42418 @endif ld
42419 @if libcpp
42420 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42421 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42422 mv prev-libcpp stage3-libcpp ; : ; \
42424 @endif libcpp
42425 @if libdecnumber
42426 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42427 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42428 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42430 @endif libdecnumber
42431 @if libiberty
42432 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42433 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42434 mv prev-libiberty stage3-libiberty ; : ; \
42436 @endif libiberty
42437 @if zlib
42438 @if test -d $(HOST_SUBDIR)/zlib ; then \
42439 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42440 mv prev-zlib stage3-zlib ; : ; \
42442 @endif zlib
42443 @if test -d $(TARGET_SUBDIR) ; then \
42444 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42445 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42447 rm -f stage_current
42449 # Bubble a bugfix through all the stages up to stage 4. They are
42450 # remade, but not reconfigured. The next stage (if any) will not be
42451 # reconfigured as well.
42452 .PHONY: stage4-bubble
42453 stage4-bubble:: stage3-bubble
42454 @r=`${PWD_COMMAND}`; export r; \
42455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42456 if test -f stage4-lean || test -f stage3-lean ; then \
42457 echo Skipping rebuild of stage4 ; \
42458 else \
42459 $(MAKE) stage4-start; \
42460 if $(LEAN); then \
42461 rm -rf stage2-* ; \
42462 $(STAMP) stage2-lean ; \
42463 fi; \
42464 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42466 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42468 .PHONY: all-stage4 clean-stage4
42469 do-clean: clean-stage4
42471 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42472 # only possibility, but now it conflicts with no-bootstrap rules
42473 @if gcc-bootstrap
42475 compare3:
42476 @r=`${PWD_COMMAND}`; export r; \
42477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42478 if test -f stage3-lean; then \
42479 echo Cannot compare object files as stage 3 was deleted. ; \
42480 exit 0 ; \
42481 fi; \
42482 : $(MAKE); $(stage); \
42483 rm -f .bad_compare ; \
42484 echo Comparing stages 3 and 4 ; \
42485 cd stage4-gcc; \
42486 files=`find . -name "*$(objext)" -print` ; \
42487 cd .. ; \
42488 for file in $${files} ; do \
42489 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
42490 @do_compare@ > /dev/null 2>&1; \
42491 if test $$? -eq 1; then \
42492 case $$file in \
42493 ./cc*-checksum$(objext) | ./libgcc/* ) \
42494 echo warning: $$file differs ;; \
42495 *) \
42496 echo $$file differs >> .bad_compare ;; \
42497 esac ; \
42498 fi ; \
42499 done ; \
42500 if [ -f .bad_compare ]; then \
42501 echo "Bootstrap comparison failure!"; \
42502 cat .bad_compare; \
42503 exit 1; \
42504 else \
42505 echo Comparison successful.; \
42506 fi ; \
42507 $(STAMP) compare3
42508 if $(LEAN); then \
42509 rm -rf stage3-*; \
42510 $(STAMP) stage3-lean; \
42515 .PHONY: bootstrap4 bootstrap4-lean
42516 bootstrap4:
42517 echo stage4 > stage_final
42518 @r=`${PWD_COMMAND}`; export r; \
42519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42520 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42521 @: $(MAKE); $(unstage)
42522 @r=`${PWD_COMMAND}`; export r; \
42523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42524 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42526 bootstrap4-lean:
42527 echo stage4 > stage_final
42528 @r=`${PWD_COMMAND}`; export r; \
42529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42530 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42531 @: $(MAKE); $(unstage)
42532 @r=`${PWD_COMMAND}`; export r; \
42533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42534 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42537 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42538 distclean-stage3:: distclean-stage4
42539 .PHONY: distclean-stage4
42540 distclean-stage4::
42541 @: $(MAKE); $(stage)
42542 rm -rf stage4-* compare3
42545 @endif gcc-bootstrap
42548 .PHONY: stageprofile-start stageprofile-end
42550 stageprofile-start::
42551 @: $(MAKE); $(stage); \
42552 echo stageprofile > stage_current ; \
42553 echo stageprofile > stage_last; \
42554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42555 @if bfd
42556 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42557 mkdir stageprofile-bfd; \
42558 mv stageprofile-bfd bfd ; \
42559 mv stage1-bfd prev-bfd || test -f stage1-lean
42560 @endif bfd
42561 @if opcodes
42562 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42563 mkdir stageprofile-opcodes; \
42564 mv stageprofile-opcodes opcodes ; \
42565 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42566 @endif opcodes
42567 @if binutils
42568 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42569 mkdir stageprofile-binutils; \
42570 mv stageprofile-binutils binutils ; \
42571 mv stage1-binutils prev-binutils || test -f stage1-lean
42572 @endif binutils
42573 @if gas
42574 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42575 mkdir stageprofile-gas; \
42576 mv stageprofile-gas gas ; \
42577 mv stage1-gas prev-gas || test -f stage1-lean
42578 @endif gas
42579 @if gcc
42580 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42581 mkdir stageprofile-gcc; \
42582 mv stageprofile-gcc gcc ; \
42583 mv stage1-gcc prev-gcc || test -f stage1-lean
42584 @endif gcc
42585 @if intl
42586 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42587 mkdir stageprofile-intl; \
42588 mv stageprofile-intl intl ; \
42589 mv stage1-intl prev-intl || test -f stage1-lean
42590 @endif intl
42591 @if ld
42592 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42593 mkdir stageprofile-ld; \
42594 mv stageprofile-ld ld ; \
42595 mv stage1-ld prev-ld || test -f stage1-lean
42596 @endif ld
42597 @if libcpp
42598 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42599 mkdir stageprofile-libcpp; \
42600 mv stageprofile-libcpp libcpp ; \
42601 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42602 @endif libcpp
42603 @if libdecnumber
42604 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42605 mkdir stageprofile-libdecnumber; \
42606 mv stageprofile-libdecnumber libdecnumber ; \
42607 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42608 @endif libdecnumber
42609 @if libiberty
42610 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42611 mkdir stageprofile-libiberty; \
42612 mv stageprofile-libiberty libiberty ; \
42613 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42614 @endif libiberty
42615 @if zlib
42616 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42617 mkdir stageprofile-zlib; \
42618 mv stageprofile-zlib zlib ; \
42619 mv stage1-zlib prev-zlib || test -f stage1-lean
42620 @endif zlib
42621 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42622 mkdir stageprofile-$(TARGET_SUBDIR); \
42623 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42624 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42626 stageprofile-end::
42627 @if bfd
42628 @if test -d $(HOST_SUBDIR)/bfd ; then \
42629 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42630 mv prev-bfd stage1-bfd ; : ; \
42632 @endif bfd
42633 @if opcodes
42634 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42635 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42636 mv prev-opcodes stage1-opcodes ; : ; \
42638 @endif opcodes
42639 @if binutils
42640 @if test -d $(HOST_SUBDIR)/binutils ; then \
42641 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42642 mv prev-binutils stage1-binutils ; : ; \
42644 @endif binutils
42645 @if gas
42646 @if test -d $(HOST_SUBDIR)/gas ; then \
42647 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42648 mv prev-gas stage1-gas ; : ; \
42650 @endif gas
42651 @if gcc
42652 @if test -d $(HOST_SUBDIR)/gcc ; then \
42653 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42654 mv prev-gcc stage1-gcc ; : ; \
42656 @endif gcc
42657 @if intl
42658 @if test -d $(HOST_SUBDIR)/intl ; then \
42659 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42660 mv prev-intl stage1-intl ; : ; \
42662 @endif intl
42663 @if ld
42664 @if test -d $(HOST_SUBDIR)/ld ; then \
42665 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42666 mv prev-ld stage1-ld ; : ; \
42668 @endif ld
42669 @if libcpp
42670 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42671 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42672 mv prev-libcpp stage1-libcpp ; : ; \
42674 @endif libcpp
42675 @if libdecnumber
42676 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42677 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42678 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42680 @endif libdecnumber
42681 @if libiberty
42682 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42683 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42684 mv prev-libiberty stage1-libiberty ; : ; \
42686 @endif libiberty
42687 @if zlib
42688 @if test -d $(HOST_SUBDIR)/zlib ; then \
42689 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42690 mv prev-zlib stage1-zlib ; : ; \
42692 @endif zlib
42693 @if test -d $(TARGET_SUBDIR) ; then \
42694 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42695 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42697 rm -f stage_current
42699 # Bubble a bugfix through all the stages up to stage profile. They are
42700 # remade, but not reconfigured. The next stage (if any) will not be
42701 # reconfigured as well.
42702 .PHONY: stageprofile-bubble
42703 stageprofile-bubble:: stage1-bubble
42704 @r=`${PWD_COMMAND}`; export r; \
42705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42706 if test -f stageprofile-lean || test -f stage1-lean ; then \
42707 echo Skipping rebuild of stageprofile ; \
42708 else \
42709 $(MAKE) stageprofile-start; \
42710 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42713 .PHONY: all-stageprofile clean-stageprofile
42714 do-clean: clean-stageprofile
42716 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42717 # only possibility, but now it conflicts with no-bootstrap rules
42718 @if gcc-bootstrap
42723 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42724 distclean-stage1:: distclean-stageprofile
42725 .PHONY: distclean-stageprofile
42726 distclean-stageprofile::
42727 @: $(MAKE); $(stage)
42728 rm -rf stageprofile-*
42731 @endif gcc-bootstrap
42734 .PHONY: stagefeedback-start stagefeedback-end
42736 stagefeedback-start::
42737 @: $(MAKE); $(stage); \
42738 echo stagefeedback > stage_current ; \
42739 echo stagefeedback > stage_last; \
42740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42741 @if bfd
42742 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42743 mkdir stagefeedback-bfd; \
42744 mv stagefeedback-bfd bfd ; \
42745 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42746 @endif bfd
42747 @if opcodes
42748 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42749 mkdir stagefeedback-opcodes; \
42750 mv stagefeedback-opcodes opcodes ; \
42751 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42752 @endif opcodes
42753 @if binutils
42754 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42755 mkdir stagefeedback-binutils; \
42756 mv stagefeedback-binutils binutils ; \
42757 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42758 @endif binutils
42759 @if gas
42760 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42761 mkdir stagefeedback-gas; \
42762 mv stagefeedback-gas gas ; \
42763 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42764 @endif gas
42765 @if gcc
42766 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42767 mkdir stagefeedback-gcc; \
42768 mv stagefeedback-gcc gcc ; \
42769 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42770 @endif gcc
42771 @if intl
42772 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42773 mkdir stagefeedback-intl; \
42774 mv stagefeedback-intl intl ; \
42775 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42776 @endif intl
42777 @if ld
42778 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42779 mkdir stagefeedback-ld; \
42780 mv stagefeedback-ld ld ; \
42781 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42782 @endif ld
42783 @if libcpp
42784 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42785 mkdir stagefeedback-libcpp; \
42786 mv stagefeedback-libcpp libcpp ; \
42787 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42788 @endif libcpp
42789 @if libdecnumber
42790 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42791 mkdir stagefeedback-libdecnumber; \
42792 mv stagefeedback-libdecnumber libdecnumber ; \
42793 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42794 @endif libdecnumber
42795 @if libiberty
42796 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42797 mkdir stagefeedback-libiberty; \
42798 mv stagefeedback-libiberty libiberty ; \
42799 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42800 @endif libiberty
42801 @if zlib
42802 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42803 mkdir stagefeedback-zlib; \
42804 mv stagefeedback-zlib zlib ; \
42805 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42806 @endif zlib
42807 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42808 mkdir stagefeedback-$(TARGET_SUBDIR); \
42809 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42810 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42812 stagefeedback-end::
42813 @if bfd
42814 @if test -d $(HOST_SUBDIR)/bfd ; then \
42815 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42816 mv prev-bfd stageprofile-bfd ; : ; \
42818 @endif bfd
42819 @if opcodes
42820 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42821 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42822 mv prev-opcodes stageprofile-opcodes ; : ; \
42824 @endif opcodes
42825 @if binutils
42826 @if test -d $(HOST_SUBDIR)/binutils ; then \
42827 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42828 mv prev-binutils stageprofile-binutils ; : ; \
42830 @endif binutils
42831 @if gas
42832 @if test -d $(HOST_SUBDIR)/gas ; then \
42833 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42834 mv prev-gas stageprofile-gas ; : ; \
42836 @endif gas
42837 @if gcc
42838 @if test -d $(HOST_SUBDIR)/gcc ; then \
42839 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42840 mv prev-gcc stageprofile-gcc ; : ; \
42842 @endif gcc
42843 @if intl
42844 @if test -d $(HOST_SUBDIR)/intl ; then \
42845 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42846 mv prev-intl stageprofile-intl ; : ; \
42848 @endif intl
42849 @if ld
42850 @if test -d $(HOST_SUBDIR)/ld ; then \
42851 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
42852 mv prev-ld stageprofile-ld ; : ; \
42854 @endif ld
42855 @if libcpp
42856 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42857 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
42858 mv prev-libcpp stageprofile-libcpp ; : ; \
42860 @endif libcpp
42861 @if libdecnumber
42862 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42863 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
42864 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
42866 @endif libdecnumber
42867 @if libiberty
42868 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42869 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
42870 mv prev-libiberty stageprofile-libiberty ; : ; \
42872 @endif libiberty
42873 @if zlib
42874 @if test -d $(HOST_SUBDIR)/zlib ; then \
42875 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
42876 mv prev-zlib stageprofile-zlib ; : ; \
42878 @endif zlib
42879 @if test -d $(TARGET_SUBDIR) ; then \
42880 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
42881 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
42883 rm -f stage_current
42885 # Bubble a bugfix through all the stages up to stage feedback. They are
42886 # remade, but not reconfigured. The next stage (if any) will not be
42887 # reconfigured as well.
42888 .PHONY: stagefeedback-bubble
42889 stagefeedback-bubble:: stageprofile-bubble
42890 @r=`${PWD_COMMAND}`; export r; \
42891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42892 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
42893 echo Skipping rebuild of stagefeedback ; \
42894 else \
42895 $(MAKE) stagefeedback-start; \
42896 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
42899 .PHONY: all-stagefeedback clean-stagefeedback
42900 do-clean: clean-stagefeedback
42902 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42903 # only possibility, but now it conflicts with no-bootstrap rules
42904 @if gcc-bootstrap
42908 .PHONY: profiledbootstrap profiledbootstrap-lean
42909 profiledbootstrap:
42910 echo stagefeedback > stage_final
42911 @r=`${PWD_COMMAND}`; export r; \
42912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42913 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
42914 @: $(MAKE); $(unstage)
42915 @r=`${PWD_COMMAND}`; export r; \
42916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42917 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42919 profiledbootstrap-lean:
42920 echo stagefeedback > stage_final
42921 @r=`${PWD_COMMAND}`; export r; \
42922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42923 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
42924 @: $(MAKE); $(unstage)
42925 @r=`${PWD_COMMAND}`; export r; \
42926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42927 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42930 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42931 distclean-stageprofile:: distclean-stagefeedback
42932 .PHONY: distclean-stagefeedback
42933 distclean-stagefeedback::
42934 @: $(MAKE); $(stage)
42935 rm -rf stagefeedback-*
42938 @endif gcc-bootstrap
42942 stageprofile-end::
42943 $(MAKE) distclean-stagefeedback
42945 stagefeedback-start::
42946 @r=`${PWD_COMMAND}`; export r; \
42947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42948 for i in prev-*; do \
42949 j=`echo $$i | sed s/^prev-//` ; \
42950 cd $$r/$$i && \
42951 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
42952 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
42953 done
42955 @if gcc-bootstrap
42956 do-distclean: distclean-stage1
42958 # Provide a GCC build when we're building target libraries. This does
42959 # not work as a dependency, just as the minimum necessary to avoid errors.
42960 stage_last:
42961 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
42963 # Same as unstage, but not phony and defaulting to stage1-start. We place
42964 # it in the dependency so that for example `make -j3 all-gcc' works.
42965 stage_current:
42966 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
42968 .PHONY: restrap
42969 restrap:
42970 @: $(MAKE); $(stage)
42971 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
42972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
42973 @endif gcc-bootstrap
42975 # --------------------------------------
42976 # Dependencies between different modules
42977 # --------------------------------------
42979 # Generic dependencies for target modules on host stuff, especially gcc
42980 @if gcc-bootstrap
42981 configure-target-libstdc++-v3: stage_last
42982 configure-target-libmudflap: stage_last
42983 configure-target-libssp: stage_last
42984 configure-target-newlib: stage_last
42985 configure-target-libgfortran: stage_last
42986 configure-target-libobjc: stage_last
42987 configure-target-libtermcap: stage_last
42988 configure-target-winsup: stage_last
42989 configure-target-libgloss: stage_last
42990 configure-target-libiberty: stage_last
42991 configure-target-gperf: stage_last
42992 configure-target-examples: stage_last
42993 configure-target-libffi: stage_last
42994 configure-target-libjava: stage_last
42995 configure-target-zlib: stage_last
42996 configure-target-boehm-gc: stage_last
42997 configure-target-qthreads: stage_last
42998 configure-target-rda: stage_last
42999 configure-target-libada: stage_last
43000 configure-target-libgomp: stage_last
43001 @endif gcc-bootstrap
43003 @if gcc-no-bootstrap
43004 configure-target-libstdc++-v3: maybe-all-gcc
43005 configure-target-libmudflap: maybe-all-gcc
43006 configure-target-libssp: maybe-all-gcc
43007 configure-target-newlib: maybe-all-gcc
43008 configure-target-libgfortran: maybe-all-gcc
43009 configure-target-libobjc: maybe-all-gcc
43010 configure-target-libtermcap: maybe-all-gcc
43011 configure-target-winsup: maybe-all-gcc
43012 configure-target-libgloss: maybe-all-gcc
43013 configure-target-libiberty: maybe-all-gcc
43014 configure-target-gperf: maybe-all-gcc
43015 configure-target-examples: maybe-all-gcc
43016 configure-target-libffi: maybe-all-gcc
43017 configure-target-libjava: maybe-all-gcc
43018 configure-target-zlib: maybe-all-gcc
43019 configure-target-boehm-gc: maybe-all-gcc
43020 configure-target-qthreads: maybe-all-gcc
43021 configure-target-rda: maybe-all-gcc
43022 configure-target-libada: maybe-all-gcc
43023 configure-target-libgomp: maybe-all-gcc
43024 @endif gcc-no-bootstrap
43028 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43030 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
43031 configure-target-gperf: maybe-all-target-libstdc++-v3
43033 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43035 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43037 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43039 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43040 configure-target-libjava: maybe-all-target-libstdc++-v3
43042 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43044 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43046 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43048 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43050 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43052 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
43054 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43056 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43058 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43060 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
43063 # There are two types of dependencies here: 'hard' dependencies, where one
43064 # module simply won't build without the other; and 'soft' dependencies, where
43065 # if the depended-on module is missing, the depending module will do without
43066 # or find a substitute somewhere (perhaps installed). Soft dependencies
43067 # are made here to depend on a 'maybe-' target. If you're not sure,
43068 # it's safer to use a soft dependency.
43075 # With all the machinery above in place, it is pretty easy to generate
43076 # dependencies. Host dependencies are a bit more complex because we have
43077 # to check for bootstrap/prebootstrap dependencies. To resolve
43078 # prebootstrap dependencies, prebootstrap modules are gathered in
43079 # a hash table.
43080 all-build-bison: maybe-all-build-texinfo
43081 all-build-byacc: maybe-all-build-texinfo
43082 all-build-flex: maybe-all-build-texinfo
43083 all-build-flex: maybe-all-build-bison
43084 all-build-flex: maybe-all-build-byacc
43085 all-build-flex: maybe-all-build-m4
43086 all-build-libiberty: maybe-all-build-texinfo
43087 all-build-m4: maybe-all-build-texinfo
43088 all-build-fixincludes: maybe-all-build-libiberty
43089 configure-gcc: maybe-configure-intl
43091 configure-stage1-gcc: maybe-configure-stage1-intl
43092 configure-stage2-gcc: maybe-configure-stage2-intl
43093 configure-stage3-gcc: maybe-configure-stage3-intl
43094 configure-stage4-gcc: maybe-configure-stage4-intl
43095 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43096 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43097 configure-gcc: maybe-all-binutils
43099 configure-stage1-gcc: maybe-all-stage1-binutils
43100 configure-stage2-gcc: maybe-all-stage2-binutils
43101 configure-stage3-gcc: maybe-all-stage3-binutils
43102 configure-stage4-gcc: maybe-all-stage4-binutils
43103 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43104 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43105 configure-gcc: maybe-all-gas
43107 configure-stage1-gcc: maybe-all-stage1-gas
43108 configure-stage2-gcc: maybe-all-stage2-gas
43109 configure-stage3-gcc: maybe-all-stage3-gas
43110 configure-stage4-gcc: maybe-all-stage4-gas
43111 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43112 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43113 configure-gcc: maybe-all-ld
43115 configure-stage1-gcc: maybe-all-stage1-ld
43116 configure-stage2-gcc: maybe-all-stage2-ld
43117 configure-stage3-gcc: maybe-all-stage3-ld
43118 configure-stage4-gcc: maybe-all-stage4-ld
43119 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43120 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43121 all-gcc: all-libiberty
43123 all-stage1-gcc: all-stage1-libiberty
43124 all-stage2-gcc: all-stage2-libiberty
43125 all-stage3-gcc: all-stage3-libiberty
43126 all-stage4-gcc: all-stage4-libiberty
43127 all-stageprofile-gcc: all-stageprofile-libiberty
43128 all-stagefeedback-gcc: all-stagefeedback-libiberty
43129 all-gcc: maybe-all-intl
43131 all-stage1-gcc: maybe-all-stage1-intl
43132 all-stage2-gcc: maybe-all-stage2-intl
43133 all-stage3-gcc: maybe-all-stage3-intl
43134 all-stage4-gcc: maybe-all-stage4-intl
43135 all-stageprofile-gcc: maybe-all-stageprofile-intl
43136 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43137 all-gcc: maybe-all-build-texinfo
43139 all-stage1-gcc: maybe-all-build-texinfo
43140 all-stage2-gcc: maybe-all-build-texinfo
43141 all-stage3-gcc: maybe-all-build-texinfo
43142 all-stage4-gcc: maybe-all-build-texinfo
43143 all-stageprofile-gcc: maybe-all-build-texinfo
43144 all-stagefeedback-gcc: maybe-all-build-texinfo
43145 all-prebootstrap: maybe-all-build-texinfo
43146 all-gcc: maybe-all-build-bison
43148 all-stage1-gcc: maybe-all-build-bison
43149 all-stage2-gcc: maybe-all-build-bison
43150 all-stage3-gcc: maybe-all-build-bison
43151 all-stage4-gcc: maybe-all-build-bison
43152 all-stageprofile-gcc: maybe-all-build-bison
43153 all-stagefeedback-gcc: maybe-all-build-bison
43154 all-prebootstrap: maybe-all-build-bison
43155 all-gcc: maybe-all-build-byacc
43157 all-stage1-gcc: maybe-all-build-byacc
43158 all-stage2-gcc: maybe-all-build-byacc
43159 all-stage3-gcc: maybe-all-build-byacc
43160 all-stage4-gcc: maybe-all-build-byacc
43161 all-stageprofile-gcc: maybe-all-build-byacc
43162 all-stagefeedback-gcc: maybe-all-build-byacc
43163 all-prebootstrap: maybe-all-build-byacc
43164 all-gcc: maybe-all-build-flex
43166 all-stage1-gcc: maybe-all-build-flex
43167 all-stage2-gcc: maybe-all-build-flex
43168 all-stage3-gcc: maybe-all-build-flex
43169 all-stage4-gcc: maybe-all-build-flex
43170 all-stageprofile-gcc: maybe-all-build-flex
43171 all-stagefeedback-gcc: maybe-all-build-flex
43172 all-prebootstrap: maybe-all-build-flex
43173 all-gcc: maybe-all-build-libiberty
43175 all-stage1-gcc: maybe-all-build-libiberty
43176 all-stage2-gcc: maybe-all-build-libiberty
43177 all-stage3-gcc: maybe-all-build-libiberty
43178 all-stage4-gcc: maybe-all-build-libiberty
43179 all-stageprofile-gcc: maybe-all-build-libiberty
43180 all-stagefeedback-gcc: maybe-all-build-libiberty
43181 all-prebootstrap: maybe-all-build-libiberty
43182 all-gcc: maybe-all-build-fixincludes
43184 all-stage1-gcc: maybe-all-build-fixincludes
43185 all-stage2-gcc: maybe-all-build-fixincludes
43186 all-stage3-gcc: maybe-all-build-fixincludes
43187 all-stage4-gcc: maybe-all-build-fixincludes
43188 all-stageprofile-gcc: maybe-all-build-fixincludes
43189 all-stagefeedback-gcc: maybe-all-build-fixincludes
43190 all-prebootstrap: maybe-all-build-fixincludes
43191 all-gcc: maybe-all-zlib
43193 all-stage1-gcc: maybe-all-stage1-zlib
43194 all-stage2-gcc: maybe-all-stage2-zlib
43195 all-stage3-gcc: maybe-all-stage3-zlib
43196 all-stage4-gcc: maybe-all-stage4-zlib
43197 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43198 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43199 all-gcc: all-libcpp
43201 all-stage1-gcc: all-stage1-libcpp
43202 all-stage2-gcc: all-stage2-libcpp
43203 all-stage3-gcc: all-stage3-libcpp
43204 all-stage4-gcc: all-stage4-libcpp
43205 all-stageprofile-gcc: all-stageprofile-libcpp
43206 all-stagefeedback-gcc: all-stagefeedback-libcpp
43207 all-gcc: all-libdecnumber
43209 all-stage1-gcc: all-stage1-libdecnumber
43210 all-stage2-gcc: all-stage2-libdecnumber
43211 all-stage3-gcc: all-stage3-libdecnumber
43212 all-stage4-gcc: all-stage4-libdecnumber
43213 all-stageprofile-gcc: all-stageprofile-libdecnumber
43214 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43215 all-gcc: maybe-all-libiberty
43217 all-stage1-gcc: maybe-all-stage1-libiberty
43218 all-stage2-gcc: maybe-all-stage2-libiberty
43219 all-stage3-gcc: maybe-all-stage3-libiberty
43220 all-stage4-gcc: maybe-all-stage4-libiberty
43221 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43222 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43223 all-gcc: maybe-all-fixincludes
43224 install-gcc: maybe-install-fixincludes
43225 configure-libcpp: configure-libiberty
43227 configure-stage1-libcpp: configure-stage1-libiberty
43228 configure-stage2-libcpp: configure-stage2-libiberty
43229 configure-stage3-libcpp: configure-stage3-libiberty
43230 configure-stage4-libcpp: configure-stage4-libiberty
43231 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43232 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43233 configure-libcpp: maybe-configure-intl
43235 configure-stage1-libcpp: maybe-configure-stage1-intl
43236 configure-stage2-libcpp: maybe-configure-stage2-intl
43237 configure-stage3-libcpp: maybe-configure-stage3-intl
43238 configure-stage4-libcpp: maybe-configure-stage4-intl
43239 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43240 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43241 all-libcpp: all-libiberty
43243 all-stage1-libcpp: all-stage1-libiberty
43244 all-stage2-libcpp: all-stage2-libiberty
43245 all-stage3-libcpp: all-stage3-libiberty
43246 all-stage4-libcpp: all-stage4-libiberty
43247 all-stageprofile-libcpp: all-stageprofile-libiberty
43248 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43249 all-libcpp: maybe-all-intl
43251 all-stage1-libcpp: maybe-all-stage1-intl
43252 all-stage2-libcpp: maybe-all-stage2-intl
43253 all-stage3-libcpp: maybe-all-stage3-intl
43254 all-stage4-libcpp: maybe-all-stage4-intl
43255 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43256 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43257 all-fixincludes: maybe-all-libiberty
43258 all-gnattools: maybe-all-target-libada
43259 configure-gdb: maybe-configure-intl
43260 configure-gdb: maybe-configure-sim
43261 all-gdb: maybe-all-intl
43262 all-gdb: maybe-all-libiberty
43263 all-gdb: maybe-all-opcodes
43264 all-gdb: maybe-all-bfd
43265 all-gdb: maybe-all-readline
43266 all-gdb: maybe-all-build-bison
43267 all-gdb: maybe-all-build-byacc
43268 all-gdb: maybe-all-sim
43269 configure-libgui: maybe-configure-tcl
43270 configure-libgui: maybe-configure-tk
43271 all-libgui: maybe-all-tcl
43272 all-libgui: maybe-all-tk
43273 all-libgui: maybe-all-itcl
43274 configure-bfd: configure-libiberty
43276 configure-stage1-bfd: configure-stage1-libiberty
43277 configure-stage2-bfd: configure-stage2-libiberty
43278 configure-stage3-bfd: configure-stage3-libiberty
43279 configure-stage4-bfd: configure-stage4-libiberty
43280 configure-stageprofile-bfd: configure-stageprofile-libiberty
43281 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43282 configure-bfd: maybe-configure-intl
43284 configure-stage1-bfd: maybe-configure-stage1-intl
43285 configure-stage2-bfd: maybe-configure-stage2-intl
43286 configure-stage3-bfd: maybe-configure-stage3-intl
43287 configure-stage4-bfd: maybe-configure-stage4-intl
43288 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43289 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43290 all-bfd: maybe-all-libiberty
43292 all-stage1-bfd: maybe-all-stage1-libiberty
43293 all-stage2-bfd: maybe-all-stage2-libiberty
43294 all-stage3-bfd: maybe-all-stage3-libiberty
43295 all-stage4-bfd: maybe-all-stage4-libiberty
43296 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43297 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43298 all-bfd: maybe-all-intl
43300 all-stage1-bfd: maybe-all-stage1-intl
43301 all-stage2-bfd: maybe-all-stage2-intl
43302 all-stage3-bfd: maybe-all-stage3-intl
43303 all-stage4-bfd: maybe-all-stage4-intl
43304 all-stageprofile-bfd: maybe-all-stageprofile-intl
43305 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43306 configure-binutils: maybe-configure-intl
43308 configure-stage1-binutils: maybe-configure-stage1-intl
43309 configure-stage2-binutils: maybe-configure-stage2-intl
43310 configure-stage3-binutils: maybe-configure-stage3-intl
43311 configure-stage4-binutils: maybe-configure-stage4-intl
43312 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43313 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43314 all-binutils: maybe-all-libiberty
43316 all-stage1-binutils: maybe-all-stage1-libiberty
43317 all-stage2-binutils: maybe-all-stage2-libiberty
43318 all-stage3-binutils: maybe-all-stage3-libiberty
43319 all-stage4-binutils: maybe-all-stage4-libiberty
43320 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43321 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43322 all-binutils: maybe-all-opcodes
43324 all-stage1-binutils: maybe-all-stage1-opcodes
43325 all-stage2-binutils: maybe-all-stage2-opcodes
43326 all-stage3-binutils: maybe-all-stage3-opcodes
43327 all-stage4-binutils: maybe-all-stage4-opcodes
43328 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43329 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43330 all-binutils: maybe-all-bfd
43332 all-stage1-binutils: maybe-all-stage1-bfd
43333 all-stage2-binutils: maybe-all-stage2-bfd
43334 all-stage3-binutils: maybe-all-stage3-bfd
43335 all-stage4-binutils: maybe-all-stage4-bfd
43336 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43337 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43338 all-binutils: maybe-all-build-flex
43340 all-stage1-binutils: maybe-all-build-flex
43341 all-stage2-binutils: maybe-all-build-flex
43342 all-stage3-binutils: maybe-all-build-flex
43343 all-stage4-binutils: maybe-all-build-flex
43344 all-stageprofile-binutils: maybe-all-build-flex
43345 all-stagefeedback-binutils: maybe-all-build-flex
43346 all-prebootstrap: maybe-all-build-flex
43347 all-binutils: maybe-all-build-bison
43349 all-stage1-binutils: maybe-all-build-bison
43350 all-stage2-binutils: maybe-all-build-bison
43351 all-stage3-binutils: maybe-all-build-bison
43352 all-stage4-binutils: maybe-all-build-bison
43353 all-stageprofile-binutils: maybe-all-build-bison
43354 all-stagefeedback-binutils: maybe-all-build-bison
43355 all-prebootstrap: maybe-all-build-bison
43356 all-binutils: maybe-all-build-byacc
43358 all-stage1-binutils: maybe-all-build-byacc
43359 all-stage2-binutils: maybe-all-build-byacc
43360 all-stage3-binutils: maybe-all-build-byacc
43361 all-stage4-binutils: maybe-all-build-byacc
43362 all-stageprofile-binutils: maybe-all-build-byacc
43363 all-stagefeedback-binutils: maybe-all-build-byacc
43364 all-prebootstrap: maybe-all-build-byacc
43365 all-binutils: maybe-all-intl
43367 all-stage1-binutils: maybe-all-stage1-intl
43368 all-stage2-binutils: maybe-all-stage2-intl
43369 all-stage3-binutils: maybe-all-stage3-intl
43370 all-stage4-binutils: maybe-all-stage4-intl
43371 all-stageprofile-binutils: maybe-all-stageprofile-intl
43372 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43373 install-binutils: maybe-install-opcodes
43374 install-opcodes: maybe-install-bfd
43375 configure-gas: maybe-configure-intl
43377 configure-stage1-gas: maybe-configure-stage1-intl
43378 configure-stage2-gas: maybe-configure-stage2-intl
43379 configure-stage3-gas: maybe-configure-stage3-intl
43380 configure-stage4-gas: maybe-configure-stage4-intl
43381 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43382 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43383 all-gas: maybe-all-libiberty
43385 all-stage1-gas: maybe-all-stage1-libiberty
43386 all-stage2-gas: maybe-all-stage2-libiberty
43387 all-stage3-gas: maybe-all-stage3-libiberty
43388 all-stage4-gas: maybe-all-stage4-libiberty
43389 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43390 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43391 all-gas: maybe-all-opcodes
43393 all-stage1-gas: maybe-all-stage1-opcodes
43394 all-stage2-gas: maybe-all-stage2-opcodes
43395 all-stage3-gas: maybe-all-stage3-opcodes
43396 all-stage4-gas: maybe-all-stage4-opcodes
43397 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43398 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43399 all-gas: maybe-all-bfd
43401 all-stage1-gas: maybe-all-stage1-bfd
43402 all-stage2-gas: maybe-all-stage2-bfd
43403 all-stage3-gas: maybe-all-stage3-bfd
43404 all-stage4-gas: maybe-all-stage4-bfd
43405 all-stageprofile-gas: maybe-all-stageprofile-bfd
43406 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43407 all-gas: maybe-all-intl
43409 all-stage1-gas: maybe-all-stage1-intl
43410 all-stage2-gas: maybe-all-stage2-intl
43411 all-stage3-gas: maybe-all-stage3-intl
43412 all-stage4-gas: maybe-all-stage4-intl
43413 all-stageprofile-gas: maybe-all-stageprofile-intl
43414 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43415 configure-gprof: maybe-configure-intl
43416 all-gprof: maybe-all-libiberty
43417 all-gprof: maybe-all-bfd
43418 all-gprof: maybe-all-opcodes
43419 all-gprof: maybe-all-intl
43420 configure-ld: maybe-configure-intl
43422 configure-stage1-ld: maybe-configure-stage1-intl
43423 configure-stage2-ld: maybe-configure-stage2-intl
43424 configure-stage3-ld: maybe-configure-stage3-intl
43425 configure-stage4-ld: maybe-configure-stage4-intl
43426 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43427 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43428 all-ld: maybe-all-libiberty
43430 all-stage1-ld: maybe-all-stage1-libiberty
43431 all-stage2-ld: maybe-all-stage2-libiberty
43432 all-stage3-ld: maybe-all-stage3-libiberty
43433 all-stage4-ld: maybe-all-stage4-libiberty
43434 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43435 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43436 all-ld: maybe-all-bfd
43438 all-stage1-ld: maybe-all-stage1-bfd
43439 all-stage2-ld: maybe-all-stage2-bfd
43440 all-stage3-ld: maybe-all-stage3-bfd
43441 all-stage4-ld: maybe-all-stage4-bfd
43442 all-stageprofile-ld: maybe-all-stageprofile-bfd
43443 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43444 all-ld: maybe-all-opcodes
43446 all-stage1-ld: maybe-all-stage1-opcodes
43447 all-stage2-ld: maybe-all-stage2-opcodes
43448 all-stage3-ld: maybe-all-stage3-opcodes
43449 all-stage4-ld: maybe-all-stage4-opcodes
43450 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43451 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43452 all-ld: maybe-all-build-bison
43454 all-stage1-ld: maybe-all-build-bison
43455 all-stage2-ld: maybe-all-build-bison
43456 all-stage3-ld: maybe-all-build-bison
43457 all-stage4-ld: maybe-all-build-bison
43458 all-stageprofile-ld: maybe-all-build-bison
43459 all-stagefeedback-ld: maybe-all-build-bison
43460 all-prebootstrap: maybe-all-build-bison
43461 all-ld: maybe-all-build-byacc
43463 all-stage1-ld: maybe-all-build-byacc
43464 all-stage2-ld: maybe-all-build-byacc
43465 all-stage3-ld: maybe-all-build-byacc
43466 all-stage4-ld: maybe-all-build-byacc
43467 all-stageprofile-ld: maybe-all-build-byacc
43468 all-stagefeedback-ld: maybe-all-build-byacc
43469 all-prebootstrap: maybe-all-build-byacc
43470 all-ld: maybe-all-build-flex
43472 all-stage1-ld: maybe-all-build-flex
43473 all-stage2-ld: maybe-all-build-flex
43474 all-stage3-ld: maybe-all-build-flex
43475 all-stage4-ld: maybe-all-build-flex
43476 all-stageprofile-ld: maybe-all-build-flex
43477 all-stagefeedback-ld: maybe-all-build-flex
43478 all-prebootstrap: maybe-all-build-flex
43479 all-ld: maybe-all-intl
43481 all-stage1-ld: maybe-all-stage1-intl
43482 all-stage2-ld: maybe-all-stage2-intl
43483 all-stage3-ld: maybe-all-stage3-intl
43484 all-stage4-ld: maybe-all-stage4-intl
43485 all-stageprofile-ld: maybe-all-stageprofile-intl
43486 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43487 configure-opcodes: maybe-configure-intl
43489 configure-stage1-opcodes: maybe-configure-stage1-intl
43490 configure-stage2-opcodes: maybe-configure-stage2-intl
43491 configure-stage3-opcodes: maybe-configure-stage3-intl
43492 configure-stage4-opcodes: maybe-configure-stage4-intl
43493 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43494 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43495 all-opcodes: maybe-all-bfd
43497 all-stage1-opcodes: maybe-all-stage1-bfd
43498 all-stage2-opcodes: maybe-all-stage2-bfd
43499 all-stage3-opcodes: maybe-all-stage3-bfd
43500 all-stage4-opcodes: maybe-all-stage4-bfd
43501 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43502 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43503 all-opcodes: maybe-all-libiberty
43505 all-stage1-opcodes: maybe-all-stage1-libiberty
43506 all-stage2-opcodes: maybe-all-stage2-libiberty
43507 all-stage3-opcodes: maybe-all-stage3-libiberty
43508 all-stage4-opcodes: maybe-all-stage4-libiberty
43509 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43510 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43511 all-opcodes: maybe-all-intl
43513 all-stage1-opcodes: maybe-all-stage1-intl
43514 all-stage2-opcodes: maybe-all-stage2-intl
43515 all-stage3-opcodes: maybe-all-stage3-intl
43516 all-stage4-opcodes: maybe-all-stage4-intl
43517 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43518 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43519 all-dejagnu: maybe-all-tcl
43520 all-dejagnu: maybe-all-expect
43521 all-dejagnu: maybe-all-tk
43522 configure-expect: maybe-configure-tcl
43523 configure-expect: maybe-configure-tk
43524 all-expect: maybe-all-tcl
43525 all-expect: maybe-all-tk
43526 configure-itcl: maybe-configure-tcl
43527 configure-itcl: maybe-configure-tk
43528 all-itcl: maybe-all-tcl
43529 all-itcl: maybe-all-tk
43530 install-itcl: maybe-install-tcl
43531 configure-tk: maybe-configure-tcl
43532 all-tk: maybe-all-tcl
43533 all-sid: maybe-all-libiberty
43534 all-sid: maybe-all-bfd
43535 all-sid: maybe-all-opcodes
43536 all-sid: maybe-all-tcl
43537 all-sid: maybe-all-tk
43538 install-sid: maybe-install-tcl
43539 install-sid: maybe-install-tk
43540 configure-sim: maybe-configure-intl
43541 all-sim: maybe-all-intl
43542 all-sim: maybe-all-libiberty
43543 all-sim: maybe-all-bfd
43544 all-sim: maybe-all-opcodes
43545 all-sim: maybe-all-readline
43546 all-sim: maybe-configure-gdb
43547 all-fastjar: maybe-all-zlib
43548 all-fastjar: maybe-all-build-texinfo
43549 all-fastjar: maybe-all-libiberty
43550 all-autoconf: maybe-all-m4
43551 all-autoconf: maybe-all-build-texinfo
43552 all-automake: maybe-all-m4
43553 all-automake: maybe-all-build-texinfo
43554 all-automake: maybe-all-autoconf
43555 all-bison: maybe-all-intl
43556 all-bison: maybe-all-build-texinfo
43557 all-diff: maybe-all-intl
43558 all-diff: maybe-all-build-texinfo
43559 all-fileutils: maybe-all-intl
43560 all-fileutils: maybe-all-build-texinfo
43561 all-flex: maybe-all-build-bison
43562 all-flex: maybe-all-build-byacc
43563 all-flex: maybe-all-intl
43564 all-flex: maybe-all-m4
43565 all-flex: maybe-all-build-texinfo
43566 all-gzip: maybe-all-intl
43567 all-gzip: maybe-all-zlib
43568 all-gzip: maybe-all-build-texinfo
43569 all-hello: maybe-all-intl
43570 all-hello: maybe-all-build-texinfo
43571 all-m4: maybe-all-intl
43572 all-m4: maybe-all-build-texinfo
43573 all-make: maybe-all-intl
43574 all-make: maybe-all-build-texinfo
43575 all-patch: maybe-all-build-texinfo
43576 all-make: maybe-all-build-texinfo
43577 all-prms: maybe-all-libiberty
43578 all-recode: maybe-all-build-texinfo
43579 all-sed: maybe-all-build-texinfo
43580 all-send-pr: maybe-all-prms
43581 all-tar: maybe-all-build-texinfo
43582 all-uudecode: maybe-all-build-texinfo
43583 configure-target-boehm-gc: maybe-configure-target-qthreads
43584 configure-target-fastjar: maybe-configure-target-zlib
43585 all-target-fastjar: maybe-all-target-zlib
43586 all-target-fastjar: maybe-all-target-libiberty
43587 configure-target-libjava: maybe-configure-target-zlib
43588 configure-target-libjava: maybe-configure-target-boehm-gc
43589 configure-target-libjava: maybe-configure-target-qthreads
43590 configure-target-libjava: maybe-configure-target-libffi
43591 all-target-libjava: maybe-all-fastjar
43592 all-target-libjava: maybe-all-target-zlib
43593 all-target-libjava: maybe-all-target-boehm-gc
43594 all-target-libjava: maybe-all-target-qthreads
43595 all-target-libjava: maybe-all-target-libffi
43596 configure-target-libobjc: maybe-configure-target-boehm-gc
43597 all-target-libobjc: maybe-all-target-libiberty
43598 all-target-libobjc: maybe-all-target-boehm-gc
43599 all-target-libstdc++-v3: maybe-all-target-libiberty
43600 all-target-libgloss: maybe-configure-target-newlib
43601 all-target-winsup: maybe-all-target-libiberty
43602 all-target-winsup: maybe-all-target-libtermcap
43605 # Non-toplevel bootstrap rules must depend on several packages, to be built
43606 # before gcc. Another wart that will go away, hopefully soon.
43607 @if gcc-no-bootstrap
43609 all-prebootstrap: maybe-all-bfd
43610 all-prebootstrap: maybe-all-opcodes
43611 all-prebootstrap: maybe-all-binutils
43612 all-prebootstrap: maybe-all-gas
43613 all-prebootstrap: maybe-all-intl
43614 all-prebootstrap: maybe-all-ld
43615 all-prebootstrap: maybe-all-libcpp
43616 all-prebootstrap: maybe-all-libdecnumber
43617 all-prebootstrap: maybe-all-libiberty
43618 all-prebootstrap: maybe-all-zlib
43619 @endif gcc-no-bootstrap
43621 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43622 GDB_TK = @GDB_TK@
43623 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43624 configure-gdb: $(CONFIGURE_GDB_TK)
43625 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43626 install-gdb: $(INSTALL_GDB_TK)
43628 # Serialization dependencies. Host configures don't work well in parallel to
43629 # each other, due to contention over config.cache. Target configures and
43630 # build configures are similar.
43631 @serialization_dependencies@
43633 # --------------------------------
43634 # Regenerating top level configury
43635 # --------------------------------
43637 # Rebuilding Makefile.in, using autogen.
43638 AUTOGEN = autogen
43639 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43640 cd $(srcdir) && $(AUTOGEN) Makefile.def
43642 # Rebuilding Makefile.
43643 Makefile: $(srcdir)/Makefile.in config.status
43644 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43646 config.status: configure
43647 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43649 # Rebuilding configure.
43650 AUTOCONF = autoconf
43651 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
43652 cd $(srcdir) && $(AUTOCONF)
43654 # ------------------------------
43655 # Special directives to GNU Make
43656 # ------------------------------
43658 # Don't pass command-line variables to submakes.
43659 .NOEXPORT:
43660 MAKEOVERRIDES=
43662 # end of Makefile.in