Radar 8710868: Build a separate version of libcc_kext.a for each ARM slice.
[llvm-gcc-4.2.git] / Makefile.in
blob51213993d3ffeba57087e84d3d439e04ad9ca88e
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 = @LDFLAGS@
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # Only build the C compiler for stage1, because that is the only one that
298 # we can guarantee will build with the native compiler, and also it is the
299 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
300 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
301 # overrideable (for a bootstrap build stage1 also builds gcc.info).
303 STAGE1_CFLAGS=@stage1_cflags@
304 STAGE1_CHECKING=@stage1_checking@
305 STAGE1_LANGUAGES=@stage1_languages@
307 # -----------------------------------------------
308 # Programs producing files for the TARGET machine
309 # -----------------------------------------------
311 # APPLE LOCAL 8277973 Add sysroot flag here.
312 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ $(SYSROOT_CFLAGS_FOR_TARGET)
314 AR_FOR_TARGET=@AR_FOR_TARGET@
315 AS_FOR_TARGET=@AS_FOR_TARGET@
316 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
318 # If GCC_FOR_TARGET is not overriden on the command line, then this
319 # variable is passed down to the gcc Makefile, where it is used to
320 # build libgcc2.a. We define it here so that it can itself be
321 # overridden on the command line.
322 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
323 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
324 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
325 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
326 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
327 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
328 LD_FOR_TARGET=@LD_FOR_TARGET@
330 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
331 NM_FOR_TARGET=@NM_FOR_TARGET@
332 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
333 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
334 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
335 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
337 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
338 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
339 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
341 # During gcc bootstrap, if we use some random cc for stage1 then
342 # CFLAGS will be just -g. We want to ensure that TARGET libraries
343 # (which we know are built with gcc) are built with optimizations so
344 # prepend -O2 when setting CFLAGS_FOR_TARGET.
345 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
346 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
347 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
348 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
349 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
350 LDFLAGS_FOR_TARGET =
351 PICFLAG_FOR_TARGET =
353 # ------------------------------------
354 # Miscellaneous targets and flag lists
355 # ------------------------------------
357 # The first rule in the file had better be this one. Don't put any above it.
358 # This lives here to allow makefile fragments to contain dependencies.
359 all:
361 #### host and target specific makefile fragments come in here.
362 @target_makefile_frag@
363 @alphaieee_frag@
364 @ospace_frag@
365 @host_makefile_frag@
368 # This is the list of directories that may be needed in RPATH_ENVVAR
369 # so that prorgams built for the target machine work.
370 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
372 @if target-libstdc++-v3
373 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
374 @endif target-libstdc++-v3
376 @if target-libmudflap
377 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
378 @endif target-libmudflap
380 @if target-libssp
381 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
382 @endif target-libssp
384 @if target-libgomp
385 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
386 @endif target-libgomp
390 # This is the list of directories that may be needed in RPATH_ENVVAR
391 # so that programs built for the host machine work.
392 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
394 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
395 @if gcc
396 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
397 @endif gcc
400 @if bfd
401 HOST_LIB_PATH_bfd = \
402 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
403 @endif bfd
405 @if opcodes
406 HOST_LIB_PATH_opcodes = \
407 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
408 @endif opcodes
411 # Flags to pass down to all sub-makes.
412 BASE_FLAGS_TO_PASS = \
413 "DESTDIR=$(DESTDIR)" \
414 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
415 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
416 "bindir=$(bindir)" \
417 "datadir=$(datadir)" \
418 "exec_prefix=$(exec_prefix)" \
419 "includedir=$(includedir)" \
420 "datarootdir=$(datarootdir)" \
421 "docdir=$(docdir)" \
422 "infodir=$(infodir)" \
423 "htmldir=$(htmldir)" \
424 "libdir=$(libdir)" \
425 "libexecdir=$(libexecdir)" \
426 "lispdir=$(lispdir)" \
427 "localstatedir=$(localstatedir)" \
428 "mandir=$(mandir)" \
429 "oldincludedir=$(oldincludedir)" \
430 "prefix=$(prefix)" \
431 "sbindir=$(sbindir)" \
432 "sharedstatedir=$(sharedstatedir)" \
433 "sysconfdir=$(sysconfdir)" \
434 "tooldir=$(tooldir)" \
435 "build_tooldir=$(build_tooldir)" \
436 "target_alias=$(target_alias)" \
437 "BISON=$(BISON)" \
438 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
439 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
440 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
441 "EXPECT=$(EXPECT)" \
442 "FLEX=$(FLEX)" \
443 "INSTALL=$(INSTALL)" \
444 "INSTALL_DATA=$(INSTALL_DATA)" \
445 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
446 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
447 "LEX=$(LEX)" \
448 "M4=$(M4)" \
449 "MAKE=$(MAKE)" \
450 "RUNTEST=$(RUNTEST)" \
451 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
452 "SHELL=$(SHELL)" \
453 "YACC=$(YACC)" \
454 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
455 "AR_FLAGS=$(AR_FLAGS)" \
456 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
457 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
458 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
459 "CFLAGS=$(CFLAGS)" \
460 "CXXFLAGS=$(CXXFLAGS)" \
461 "LDFLAGS=$(LDFLAGS)" \
462 "LIBCFLAGS=$(LIBCFLAGS)" \
463 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
464 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
465 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
466 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
467 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
468 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
469 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
470 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
471 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
472 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
473 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
474 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
475 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
476 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
477 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
478 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
479 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
480 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
481 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
482 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
483 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
484 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
485 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
486 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
487 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
488 "LEAN=$(LEAN)" \
489 "CONFIG_SHELL=$(SHELL)" \
490 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
492 # We leave this in just in case, but it is not needed anymore.
493 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
495 # Flags to pass down to most sub-makes, in which we're building with
496 # the host environment.
497 EXTRA_HOST_FLAGS = \
498 'AR=$(AR)' \
499 'AS=$(AS)' \
500 'CC=$(CC)' \
501 'CXX=$(CXX)' \
502 'DLLTOOL=$(DLLTOOL)' \
503 'LD=$(LD)' \
504 'LIPO=$(LIPO)' \
505 'NM=$(NM)' \
506 'OBJDUMP=$(OBJDUMP)' \
507 'RANLIB=$(RANLIB)' \
508 'STRIP=$(STRIP)' \
509 'WINDRES=$(WINDRES)'
511 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
513 # Flags that are concerned with the location of the X11 include files
514 # and library files
516 # NOTE: until the top-level is getting the values via autoconf, it only
517 # causes problems to have this top-level Makefile overriding the autoconf-set
518 # values in child directories. Only variables that don't conflict with
519 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
521 X11_FLAGS_TO_PASS = \
522 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
523 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
525 # Flags to pass to stage2 and later makes.
527 POSTSTAGE1_FLAGS_TO_PASS = \
528 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
529 STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
530 CFLAGS="$(BOOT_CFLAGS)" \
531 LIBCFLAGS="$(BOOT_CFLAGS)" \
532 LDFLAGS="$(BOOT_LDFLAGS)" \
533 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
535 # Flags to pass down to makes which are built with the target environment.
536 # The double $ decreases the length of the command line; those variables
537 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
538 # COMPILER_ prefixed variables are not passed down so we expand them here.
539 EXTRA_TARGET_FLAGS = \
540 'AR=$$(AR_FOR_TARGET)' \
541 'AS=$(COMPILER_AS_FOR_TARGET)' \
542 'CC=$$(CC_FOR_TARGET)' \
543 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
544 'CXX=$$(CXX_FOR_TARGET)' \
545 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
546 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
547 'LD=$(COMPILER_LD_FOR_TARGET)' \
548 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
549 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
550 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
551 'NM=$(COMPILER_NM_FOR_TARGET)' \
552 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
553 'RANLIB=$$(RANLIB_FOR_TARGET)' \
554 'WINDRES=$$(WINDRES_FOR_TARGET)'
556 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
558 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
559 # unfortunately needs the native compiler and the target ar and
560 # ranlib.
561 # If any variables are added here, they must be added to do-*, below.
562 # The BUILD_* variables are a special case, which are used for the gcc
563 # cross-building scheme.
564 EXTRA_GCC_FLAGS = \
565 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
566 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
567 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
568 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
569 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
570 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
572 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
574 .PHONY: configure-host
575 configure-host: \
576 maybe-configure-ash \
577 maybe-configure-autoconf \
578 maybe-configure-automake \
579 maybe-configure-bash \
580 maybe-configure-bfd \
581 maybe-configure-opcodes \
582 maybe-configure-binutils \
583 maybe-configure-bison \
584 maybe-configure-byacc \
585 maybe-configure-bzip2 \
586 maybe-configure-dejagnu \
587 maybe-configure-diff \
588 maybe-configure-dosutils \
589 maybe-configure-etc \
590 maybe-configure-fastjar \
591 maybe-configure-fileutils \
592 maybe-configure-findutils \
593 maybe-configure-find \
594 maybe-configure-fixincludes \
595 maybe-configure-flex \
596 maybe-configure-gas \
597 maybe-configure-gcc \
598 maybe-configure-gawk \
599 maybe-configure-gettext \
600 maybe-configure-gnuserv \
601 maybe-configure-gprof \
602 maybe-configure-gzip \
603 maybe-configure-hello \
604 maybe-configure-indent \
605 maybe-configure-intl \
606 maybe-configure-tcl \
607 maybe-configure-itcl \
608 maybe-configure-ld \
609 maybe-configure-libcpp \
610 maybe-configure-libdecnumber \
611 maybe-configure-libgui \
612 maybe-configure-libiberty \
613 maybe-configure-libtool \
614 maybe-configure-m4 \
615 maybe-configure-make \
616 maybe-configure-mmalloc \
617 maybe-configure-patch \
618 maybe-configure-perl \
619 maybe-configure-prms \
620 maybe-configure-rcs \
621 maybe-configure-readline \
622 maybe-configure-release \
623 maybe-configure-recode \
624 maybe-configure-sed \
625 maybe-configure-send-pr \
626 maybe-configure-shellutils \
627 maybe-configure-sid \
628 maybe-configure-sim \
629 maybe-configure-tar \
630 maybe-configure-texinfo \
631 maybe-configure-textutils \
632 maybe-configure-time \
633 maybe-configure-uudecode \
634 maybe-configure-wdiff \
635 maybe-configure-zip \
636 maybe-configure-zlib \
637 maybe-configure-gdb \
638 maybe-configure-expect \
639 maybe-configure-guile \
640 maybe-configure-tk \
641 maybe-configure-libtermcap \
642 maybe-configure-utils \
643 maybe-configure-gnattools
644 .PHONY: configure-target
645 configure-target: \
646 maybe-configure-target-libstdc++-v3 \
647 maybe-configure-target-libmudflap \
648 maybe-configure-target-libssp \
649 maybe-configure-target-newlib \
650 maybe-configure-target-libgfortran \
651 maybe-configure-target-libobjc \
652 maybe-configure-target-libtermcap \
653 maybe-configure-target-winsup \
654 maybe-configure-target-libgloss \
655 maybe-configure-target-libiberty \
656 maybe-configure-target-gperf \
657 maybe-configure-target-examples \
658 maybe-configure-target-libffi \
659 maybe-configure-target-libjava \
660 maybe-configure-target-zlib \
661 maybe-configure-target-boehm-gc \
662 maybe-configure-target-qthreads \
663 maybe-configure-target-rda \
664 maybe-configure-target-libada \
665 maybe-configure-target-libgomp
667 # The target built for a native non-bootstrap build.
668 .PHONY: all
669 all:
670 @if gcc-bootstrap
671 [ -f stage_final ] || echo stage3 > stage_final
672 @r=`${PWD_COMMAND}`; export r; \
673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
674 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
675 @endif gcc-bootstrap
676 @: $(MAKE); $(unstage)
677 @r=`${PWD_COMMAND}`; export r; \
678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
679 if [ -f stage_last ]; then \
680 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
681 else \
682 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
685 .PHONY: all-build
687 all-build: maybe-all-build-libiberty
688 all-build: maybe-all-build-bison
689 all-build: maybe-all-build-byacc
690 all-build: maybe-all-build-flex
691 all-build: maybe-all-build-m4
692 all-build: maybe-all-build-texinfo
693 all-build: maybe-all-build-fixincludes
695 .PHONY: all-host
697 all-host: maybe-all-ash
698 all-host: maybe-all-autoconf
699 all-host: maybe-all-automake
700 all-host: maybe-all-bash
701 @if bfd-no-bootstrap
702 all-host: maybe-all-bfd
703 @endif bfd-no-bootstrap
704 @if opcodes-no-bootstrap
705 all-host: maybe-all-opcodes
706 @endif opcodes-no-bootstrap
707 @if binutils-no-bootstrap
708 all-host: maybe-all-binutils
709 @endif binutils-no-bootstrap
710 all-host: maybe-all-bison
711 all-host: maybe-all-byacc
712 all-host: maybe-all-bzip2
713 all-host: maybe-all-dejagnu
714 all-host: maybe-all-diff
715 all-host: maybe-all-dosutils
716 all-host: maybe-all-etc
717 all-host: maybe-all-fastjar
718 all-host: maybe-all-fileutils
719 all-host: maybe-all-findutils
720 all-host: maybe-all-find
721 all-host: maybe-all-fixincludes
722 all-host: maybe-all-flex
723 @if gas-no-bootstrap
724 all-host: maybe-all-gas
725 @endif gas-no-bootstrap
726 @if gcc-no-bootstrap
727 all-host: maybe-all-gcc
728 @endif gcc-no-bootstrap
729 all-host: maybe-all-gawk
730 all-host: maybe-all-gettext
731 all-host: maybe-all-gnuserv
732 all-host: maybe-all-gprof
733 all-host: maybe-all-gzip
734 all-host: maybe-all-hello
735 all-host: maybe-all-indent
736 @if intl-no-bootstrap
737 all-host: maybe-all-intl
738 @endif intl-no-bootstrap
739 all-host: maybe-all-tcl
740 all-host: maybe-all-itcl
741 @if ld-no-bootstrap
742 all-host: maybe-all-ld
743 @endif ld-no-bootstrap
744 @if libcpp-no-bootstrap
745 all-host: maybe-all-libcpp
746 @endif libcpp-no-bootstrap
747 @if libdecnumber-no-bootstrap
748 all-host: maybe-all-libdecnumber
749 @endif libdecnumber-no-bootstrap
750 all-host: maybe-all-libgui
751 @if libiberty-no-bootstrap
752 all-host: maybe-all-libiberty
753 @endif libiberty-no-bootstrap
754 all-host: maybe-all-libtool
755 all-host: maybe-all-m4
756 all-host: maybe-all-make
757 all-host: maybe-all-mmalloc
758 all-host: maybe-all-patch
759 all-host: maybe-all-perl
760 all-host: maybe-all-prms
761 all-host: maybe-all-rcs
762 all-host: maybe-all-readline
763 all-host: maybe-all-release
764 all-host: maybe-all-recode
765 all-host: maybe-all-sed
766 all-host: maybe-all-send-pr
767 all-host: maybe-all-shellutils
768 all-host: maybe-all-sid
769 all-host: maybe-all-sim
770 all-host: maybe-all-tar
771 all-host: maybe-all-texinfo
772 all-host: maybe-all-textutils
773 all-host: maybe-all-time
774 all-host: maybe-all-uudecode
775 all-host: maybe-all-wdiff
776 all-host: maybe-all-zip
777 @if zlib-no-bootstrap
778 all-host: maybe-all-zlib
779 @endif zlib-no-bootstrap
780 all-host: maybe-all-gdb
781 all-host: maybe-all-expect
782 all-host: maybe-all-guile
783 all-host: maybe-all-tk
784 all-host: maybe-all-libtermcap
785 all-host: maybe-all-utils
786 all-host: maybe-all-gnattools
788 .PHONY: all-target
790 all-target: maybe-all-target-libstdc++-v3
791 all-target: maybe-all-target-libmudflap
792 all-target: maybe-all-target-libssp
793 all-target: maybe-all-target-newlib
794 all-target: maybe-all-target-libgfortran
795 all-target: maybe-all-target-libobjc
796 all-target: maybe-all-target-libtermcap
797 all-target: maybe-all-target-winsup
798 all-target: maybe-all-target-libgloss
799 all-target: maybe-all-target-libiberty
800 all-target: maybe-all-target-gperf
801 all-target: maybe-all-target-examples
802 all-target: maybe-all-target-libffi
803 all-target: maybe-all-target-libjava
804 all-target: maybe-all-target-zlib
805 all-target: maybe-all-target-boehm-gc
806 all-target: maybe-all-target-qthreads
807 all-target: maybe-all-target-rda
808 all-target: maybe-all-target-libada
809 all-target: maybe-all-target-libgomp
811 # Do a target for all the subdirectories. A ``make do-X'' will do a
812 # ``make X'' in all subdirectories (because, in general, there is a
813 # dependency (below) of X upon do-X, a ``make X'' will also do this,
814 # but it may do additional work as well).
816 .PHONY: do-info
817 do-info:
818 @: $(MAKE); $(unstage)
819 @r=`${PWD_COMMAND}`; export r; \
820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
821 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
822 info-target
825 .PHONY: info-host
827 info-host: maybe-info-ash
828 info-host: maybe-info-autoconf
829 info-host: maybe-info-automake
830 info-host: maybe-info-bash
831 info-host: maybe-info-bfd
832 info-host: maybe-info-opcodes
833 info-host: maybe-info-binutils
834 info-host: maybe-info-bison
835 info-host: maybe-info-byacc
836 info-host: maybe-info-bzip2
837 info-host: maybe-info-dejagnu
838 info-host: maybe-info-diff
839 info-host: maybe-info-dosutils
840 info-host: maybe-info-etc
841 info-host: maybe-info-fastjar
842 info-host: maybe-info-fileutils
843 info-host: maybe-info-findutils
844 info-host: maybe-info-find
845 info-host: maybe-info-fixincludes
846 info-host: maybe-info-flex
847 info-host: maybe-info-gas
848 info-host: maybe-info-gcc
849 info-host: maybe-info-gawk
850 info-host: maybe-info-gettext
851 info-host: maybe-info-gnuserv
852 info-host: maybe-info-gprof
853 info-host: maybe-info-gzip
854 info-host: maybe-info-hello
855 info-host: maybe-info-indent
856 info-host: maybe-info-intl
857 info-host: maybe-info-tcl
858 info-host: maybe-info-itcl
859 info-host: maybe-info-ld
860 info-host: maybe-info-libcpp
861 info-host: maybe-info-libdecnumber
862 info-host: maybe-info-libgui
863 info-host: maybe-info-libiberty
864 info-host: maybe-info-libtool
865 info-host: maybe-info-m4
866 info-host: maybe-info-make
867 info-host: maybe-info-mmalloc
868 info-host: maybe-info-patch
869 info-host: maybe-info-perl
870 info-host: maybe-info-prms
871 info-host: maybe-info-rcs
872 info-host: maybe-info-readline
873 info-host: maybe-info-release
874 info-host: maybe-info-recode
875 info-host: maybe-info-sed
876 info-host: maybe-info-send-pr
877 info-host: maybe-info-shellutils
878 info-host: maybe-info-sid
879 info-host: maybe-info-sim
880 info-host: maybe-info-tar
881 info-host: maybe-info-texinfo
882 info-host: maybe-info-textutils
883 info-host: maybe-info-time
884 info-host: maybe-info-uudecode
885 info-host: maybe-info-wdiff
886 info-host: maybe-info-zip
887 info-host: maybe-info-zlib
888 info-host: maybe-info-gdb
889 info-host: maybe-info-expect
890 info-host: maybe-info-guile
891 info-host: maybe-info-tk
892 info-host: maybe-info-libtermcap
893 info-host: maybe-info-utils
894 info-host: maybe-info-gnattools
896 .PHONY: info-target
898 info-target: maybe-info-target-libstdc++-v3
899 info-target: maybe-info-target-libmudflap
900 info-target: maybe-info-target-libssp
901 info-target: maybe-info-target-newlib
902 info-target: maybe-info-target-libgfortran
903 info-target: maybe-info-target-libobjc
904 info-target: maybe-info-target-libtermcap
905 info-target: maybe-info-target-winsup
906 info-target: maybe-info-target-libgloss
907 info-target: maybe-info-target-libiberty
908 info-target: maybe-info-target-gperf
909 info-target: maybe-info-target-examples
910 info-target: maybe-info-target-libffi
911 info-target: maybe-info-target-libjava
912 info-target: maybe-info-target-zlib
913 info-target: maybe-info-target-boehm-gc
914 info-target: maybe-info-target-qthreads
915 info-target: maybe-info-target-rda
916 info-target: maybe-info-target-libada
917 info-target: maybe-info-target-libgomp
919 .PHONY: do-dvi
920 do-dvi:
921 @: $(MAKE); $(unstage)
922 @r=`${PWD_COMMAND}`; export r; \
923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
924 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
925 dvi-target
928 .PHONY: dvi-host
930 dvi-host: maybe-dvi-ash
931 dvi-host: maybe-dvi-autoconf
932 dvi-host: maybe-dvi-automake
933 dvi-host: maybe-dvi-bash
934 dvi-host: maybe-dvi-bfd
935 dvi-host: maybe-dvi-opcodes
936 dvi-host: maybe-dvi-binutils
937 dvi-host: maybe-dvi-bison
938 dvi-host: maybe-dvi-byacc
939 dvi-host: maybe-dvi-bzip2
940 dvi-host: maybe-dvi-dejagnu
941 dvi-host: maybe-dvi-diff
942 dvi-host: maybe-dvi-dosutils
943 dvi-host: maybe-dvi-etc
944 dvi-host: maybe-dvi-fastjar
945 dvi-host: maybe-dvi-fileutils
946 dvi-host: maybe-dvi-findutils
947 dvi-host: maybe-dvi-find
948 dvi-host: maybe-dvi-fixincludes
949 dvi-host: maybe-dvi-flex
950 dvi-host: maybe-dvi-gas
951 dvi-host: maybe-dvi-gcc
952 dvi-host: maybe-dvi-gawk
953 dvi-host: maybe-dvi-gettext
954 dvi-host: maybe-dvi-gnuserv
955 dvi-host: maybe-dvi-gprof
956 dvi-host: maybe-dvi-gzip
957 dvi-host: maybe-dvi-hello
958 dvi-host: maybe-dvi-indent
959 dvi-host: maybe-dvi-intl
960 dvi-host: maybe-dvi-tcl
961 dvi-host: maybe-dvi-itcl
962 dvi-host: maybe-dvi-ld
963 dvi-host: maybe-dvi-libcpp
964 dvi-host: maybe-dvi-libdecnumber
965 dvi-host: maybe-dvi-libgui
966 dvi-host: maybe-dvi-libiberty
967 dvi-host: maybe-dvi-libtool
968 dvi-host: maybe-dvi-m4
969 dvi-host: maybe-dvi-make
970 dvi-host: maybe-dvi-mmalloc
971 dvi-host: maybe-dvi-patch
972 dvi-host: maybe-dvi-perl
973 dvi-host: maybe-dvi-prms
974 dvi-host: maybe-dvi-rcs
975 dvi-host: maybe-dvi-readline
976 dvi-host: maybe-dvi-release
977 dvi-host: maybe-dvi-recode
978 dvi-host: maybe-dvi-sed
979 dvi-host: maybe-dvi-send-pr
980 dvi-host: maybe-dvi-shellutils
981 dvi-host: maybe-dvi-sid
982 dvi-host: maybe-dvi-sim
983 dvi-host: maybe-dvi-tar
984 dvi-host: maybe-dvi-texinfo
985 dvi-host: maybe-dvi-textutils
986 dvi-host: maybe-dvi-time
987 dvi-host: maybe-dvi-uudecode
988 dvi-host: maybe-dvi-wdiff
989 dvi-host: maybe-dvi-zip
990 dvi-host: maybe-dvi-zlib
991 dvi-host: maybe-dvi-gdb
992 dvi-host: maybe-dvi-expect
993 dvi-host: maybe-dvi-guile
994 dvi-host: maybe-dvi-tk
995 dvi-host: maybe-dvi-libtermcap
996 dvi-host: maybe-dvi-utils
997 dvi-host: maybe-dvi-gnattools
999 .PHONY: dvi-target
1001 dvi-target: maybe-dvi-target-libstdc++-v3
1002 dvi-target: maybe-dvi-target-libmudflap
1003 dvi-target: maybe-dvi-target-libssp
1004 dvi-target: maybe-dvi-target-newlib
1005 dvi-target: maybe-dvi-target-libgfortran
1006 dvi-target: maybe-dvi-target-libobjc
1007 dvi-target: maybe-dvi-target-libtermcap
1008 dvi-target: maybe-dvi-target-winsup
1009 dvi-target: maybe-dvi-target-libgloss
1010 dvi-target: maybe-dvi-target-libiberty
1011 dvi-target: maybe-dvi-target-gperf
1012 dvi-target: maybe-dvi-target-examples
1013 dvi-target: maybe-dvi-target-libffi
1014 dvi-target: maybe-dvi-target-libjava
1015 dvi-target: maybe-dvi-target-zlib
1016 dvi-target: maybe-dvi-target-boehm-gc
1017 dvi-target: maybe-dvi-target-qthreads
1018 dvi-target: maybe-dvi-target-rda
1019 dvi-target: maybe-dvi-target-libada
1020 dvi-target: maybe-dvi-target-libgomp
1022 .PHONY: do-pdf
1023 do-pdf:
1024 @: $(MAKE); $(unstage)
1025 @r=`${PWD_COMMAND}`; export r; \
1026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1027 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1028 pdf-target
1031 .PHONY: pdf-host
1033 pdf-host: maybe-pdf-ash
1034 pdf-host: maybe-pdf-autoconf
1035 pdf-host: maybe-pdf-automake
1036 pdf-host: maybe-pdf-bash
1037 pdf-host: maybe-pdf-bfd
1038 pdf-host: maybe-pdf-opcodes
1039 pdf-host: maybe-pdf-binutils
1040 pdf-host: maybe-pdf-bison
1041 pdf-host: maybe-pdf-byacc
1042 pdf-host: maybe-pdf-bzip2
1043 pdf-host: maybe-pdf-dejagnu
1044 pdf-host: maybe-pdf-diff
1045 pdf-host: maybe-pdf-dosutils
1046 pdf-host: maybe-pdf-etc
1047 pdf-host: maybe-pdf-fastjar
1048 pdf-host: maybe-pdf-fileutils
1049 pdf-host: maybe-pdf-findutils
1050 pdf-host: maybe-pdf-find
1051 pdf-host: maybe-pdf-fixincludes
1052 pdf-host: maybe-pdf-flex
1053 pdf-host: maybe-pdf-gas
1054 pdf-host: maybe-pdf-gcc
1055 pdf-host: maybe-pdf-gawk
1056 pdf-host: maybe-pdf-gettext
1057 pdf-host: maybe-pdf-gnuserv
1058 pdf-host: maybe-pdf-gprof
1059 pdf-host: maybe-pdf-gzip
1060 pdf-host: maybe-pdf-hello
1061 pdf-host: maybe-pdf-indent
1062 pdf-host: maybe-pdf-intl
1063 pdf-host: maybe-pdf-tcl
1064 pdf-host: maybe-pdf-itcl
1065 pdf-host: maybe-pdf-ld
1066 pdf-host: maybe-pdf-libcpp
1067 pdf-host: maybe-pdf-libdecnumber
1068 pdf-host: maybe-pdf-libgui
1069 pdf-host: maybe-pdf-libiberty
1070 pdf-host: maybe-pdf-libtool
1071 pdf-host: maybe-pdf-m4
1072 pdf-host: maybe-pdf-make
1073 pdf-host: maybe-pdf-mmalloc
1074 pdf-host: maybe-pdf-patch
1075 pdf-host: maybe-pdf-perl
1076 pdf-host: maybe-pdf-prms
1077 pdf-host: maybe-pdf-rcs
1078 pdf-host: maybe-pdf-readline
1079 pdf-host: maybe-pdf-release
1080 pdf-host: maybe-pdf-recode
1081 pdf-host: maybe-pdf-sed
1082 pdf-host: maybe-pdf-send-pr
1083 pdf-host: maybe-pdf-shellutils
1084 pdf-host: maybe-pdf-sid
1085 pdf-host: maybe-pdf-sim
1086 pdf-host: maybe-pdf-tar
1087 pdf-host: maybe-pdf-texinfo
1088 pdf-host: maybe-pdf-textutils
1089 pdf-host: maybe-pdf-time
1090 pdf-host: maybe-pdf-uudecode
1091 pdf-host: maybe-pdf-wdiff
1092 pdf-host: maybe-pdf-zip
1093 pdf-host: maybe-pdf-zlib
1094 pdf-host: maybe-pdf-gdb
1095 pdf-host: maybe-pdf-expect
1096 pdf-host: maybe-pdf-guile
1097 pdf-host: maybe-pdf-tk
1098 pdf-host: maybe-pdf-libtermcap
1099 pdf-host: maybe-pdf-utils
1100 pdf-host: maybe-pdf-gnattools
1102 .PHONY: pdf-target
1104 pdf-target: maybe-pdf-target-libstdc++-v3
1105 pdf-target: maybe-pdf-target-libmudflap
1106 pdf-target: maybe-pdf-target-libssp
1107 pdf-target: maybe-pdf-target-newlib
1108 pdf-target: maybe-pdf-target-libgfortran
1109 pdf-target: maybe-pdf-target-libobjc
1110 pdf-target: maybe-pdf-target-libtermcap
1111 pdf-target: maybe-pdf-target-winsup
1112 pdf-target: maybe-pdf-target-libgloss
1113 pdf-target: maybe-pdf-target-libiberty
1114 pdf-target: maybe-pdf-target-gperf
1115 pdf-target: maybe-pdf-target-examples
1116 pdf-target: maybe-pdf-target-libffi
1117 pdf-target: maybe-pdf-target-libjava
1118 pdf-target: maybe-pdf-target-zlib
1119 pdf-target: maybe-pdf-target-boehm-gc
1120 pdf-target: maybe-pdf-target-qthreads
1121 pdf-target: maybe-pdf-target-rda
1122 pdf-target: maybe-pdf-target-libada
1123 pdf-target: maybe-pdf-target-libgomp
1125 .PHONY: do-html
1126 do-html:
1127 @: $(MAKE); $(unstage)
1128 @r=`${PWD_COMMAND}`; export r; \
1129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1130 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1131 html-target
1134 .PHONY: html-host
1136 html-host: maybe-html-ash
1137 html-host: maybe-html-autoconf
1138 html-host: maybe-html-automake
1139 html-host: maybe-html-bash
1140 html-host: maybe-html-bfd
1141 html-host: maybe-html-opcodes
1142 html-host: maybe-html-binutils
1143 html-host: maybe-html-bison
1144 html-host: maybe-html-byacc
1145 html-host: maybe-html-bzip2
1146 html-host: maybe-html-dejagnu
1147 html-host: maybe-html-diff
1148 html-host: maybe-html-dosutils
1149 html-host: maybe-html-etc
1150 html-host: maybe-html-fastjar
1151 html-host: maybe-html-fileutils
1152 html-host: maybe-html-findutils
1153 html-host: maybe-html-find
1154 html-host: maybe-html-fixincludes
1155 html-host: maybe-html-flex
1156 html-host: maybe-html-gas
1157 html-host: maybe-html-gcc
1158 html-host: maybe-html-gawk
1159 html-host: maybe-html-gettext
1160 html-host: maybe-html-gnuserv
1161 html-host: maybe-html-gprof
1162 html-host: maybe-html-gzip
1163 html-host: maybe-html-hello
1164 html-host: maybe-html-indent
1165 html-host: maybe-html-intl
1166 html-host: maybe-html-tcl
1167 html-host: maybe-html-itcl
1168 html-host: maybe-html-ld
1169 html-host: maybe-html-libcpp
1170 html-host: maybe-html-libdecnumber
1171 html-host: maybe-html-libgui
1172 html-host: maybe-html-libiberty
1173 html-host: maybe-html-libtool
1174 html-host: maybe-html-m4
1175 html-host: maybe-html-make
1176 html-host: maybe-html-mmalloc
1177 html-host: maybe-html-patch
1178 html-host: maybe-html-perl
1179 html-host: maybe-html-prms
1180 html-host: maybe-html-rcs
1181 html-host: maybe-html-readline
1182 html-host: maybe-html-release
1183 html-host: maybe-html-recode
1184 html-host: maybe-html-sed
1185 html-host: maybe-html-send-pr
1186 html-host: maybe-html-shellutils
1187 html-host: maybe-html-sid
1188 html-host: maybe-html-sim
1189 html-host: maybe-html-tar
1190 html-host: maybe-html-texinfo
1191 html-host: maybe-html-textutils
1192 html-host: maybe-html-time
1193 html-host: maybe-html-uudecode
1194 html-host: maybe-html-wdiff
1195 html-host: maybe-html-zip
1196 html-host: maybe-html-zlib
1197 html-host: maybe-html-gdb
1198 html-host: maybe-html-expect
1199 html-host: maybe-html-guile
1200 html-host: maybe-html-tk
1201 html-host: maybe-html-libtermcap
1202 html-host: maybe-html-utils
1203 html-host: maybe-html-gnattools
1205 .PHONY: html-target
1207 html-target: maybe-html-target-libstdc++-v3
1208 html-target: maybe-html-target-libmudflap
1209 html-target: maybe-html-target-libssp
1210 html-target: maybe-html-target-newlib
1211 html-target: maybe-html-target-libgfortran
1212 html-target: maybe-html-target-libobjc
1213 html-target: maybe-html-target-libtermcap
1214 html-target: maybe-html-target-winsup
1215 html-target: maybe-html-target-libgloss
1216 html-target: maybe-html-target-libiberty
1217 html-target: maybe-html-target-gperf
1218 html-target: maybe-html-target-examples
1219 html-target: maybe-html-target-libffi
1220 html-target: maybe-html-target-libjava
1221 html-target: maybe-html-target-zlib
1222 html-target: maybe-html-target-boehm-gc
1223 html-target: maybe-html-target-qthreads
1224 html-target: maybe-html-target-rda
1225 html-target: maybe-html-target-libada
1226 html-target: maybe-html-target-libgomp
1228 .PHONY: do-TAGS
1229 do-TAGS:
1230 @: $(MAKE); $(unstage)
1231 @r=`${PWD_COMMAND}`; export r; \
1232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1233 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1234 TAGS-target
1237 .PHONY: TAGS-host
1239 TAGS-host: maybe-TAGS-ash
1240 TAGS-host: maybe-TAGS-autoconf
1241 TAGS-host: maybe-TAGS-automake
1242 TAGS-host: maybe-TAGS-bash
1243 TAGS-host: maybe-TAGS-bfd
1244 TAGS-host: maybe-TAGS-opcodes
1245 TAGS-host: maybe-TAGS-binutils
1246 TAGS-host: maybe-TAGS-bison
1247 TAGS-host: maybe-TAGS-byacc
1248 TAGS-host: maybe-TAGS-bzip2
1249 TAGS-host: maybe-TAGS-dejagnu
1250 TAGS-host: maybe-TAGS-diff
1251 TAGS-host: maybe-TAGS-dosutils
1252 TAGS-host: maybe-TAGS-etc
1253 TAGS-host: maybe-TAGS-fastjar
1254 TAGS-host: maybe-TAGS-fileutils
1255 TAGS-host: maybe-TAGS-findutils
1256 TAGS-host: maybe-TAGS-find
1257 TAGS-host: maybe-TAGS-fixincludes
1258 TAGS-host: maybe-TAGS-flex
1259 TAGS-host: maybe-TAGS-gas
1260 TAGS-host: maybe-TAGS-gcc
1261 TAGS-host: maybe-TAGS-gawk
1262 TAGS-host: maybe-TAGS-gettext
1263 TAGS-host: maybe-TAGS-gnuserv
1264 TAGS-host: maybe-TAGS-gprof
1265 TAGS-host: maybe-TAGS-gzip
1266 TAGS-host: maybe-TAGS-hello
1267 TAGS-host: maybe-TAGS-indent
1268 TAGS-host: maybe-TAGS-intl
1269 TAGS-host: maybe-TAGS-tcl
1270 TAGS-host: maybe-TAGS-itcl
1271 TAGS-host: maybe-TAGS-ld
1272 TAGS-host: maybe-TAGS-libcpp
1273 TAGS-host: maybe-TAGS-libdecnumber
1274 TAGS-host: maybe-TAGS-libgui
1275 TAGS-host: maybe-TAGS-libiberty
1276 TAGS-host: maybe-TAGS-libtool
1277 TAGS-host: maybe-TAGS-m4
1278 TAGS-host: maybe-TAGS-make
1279 TAGS-host: maybe-TAGS-mmalloc
1280 TAGS-host: maybe-TAGS-patch
1281 TAGS-host: maybe-TAGS-perl
1282 TAGS-host: maybe-TAGS-prms
1283 TAGS-host: maybe-TAGS-rcs
1284 TAGS-host: maybe-TAGS-readline
1285 TAGS-host: maybe-TAGS-release
1286 TAGS-host: maybe-TAGS-recode
1287 TAGS-host: maybe-TAGS-sed
1288 TAGS-host: maybe-TAGS-send-pr
1289 TAGS-host: maybe-TAGS-shellutils
1290 TAGS-host: maybe-TAGS-sid
1291 TAGS-host: maybe-TAGS-sim
1292 TAGS-host: maybe-TAGS-tar
1293 TAGS-host: maybe-TAGS-texinfo
1294 TAGS-host: maybe-TAGS-textutils
1295 TAGS-host: maybe-TAGS-time
1296 TAGS-host: maybe-TAGS-uudecode
1297 TAGS-host: maybe-TAGS-wdiff
1298 TAGS-host: maybe-TAGS-zip
1299 TAGS-host: maybe-TAGS-zlib
1300 TAGS-host: maybe-TAGS-gdb
1301 TAGS-host: maybe-TAGS-expect
1302 TAGS-host: maybe-TAGS-guile
1303 TAGS-host: maybe-TAGS-tk
1304 TAGS-host: maybe-TAGS-libtermcap
1305 TAGS-host: maybe-TAGS-utils
1306 TAGS-host: maybe-TAGS-gnattools
1308 .PHONY: TAGS-target
1310 TAGS-target: maybe-TAGS-target-libstdc++-v3
1311 TAGS-target: maybe-TAGS-target-libmudflap
1312 TAGS-target: maybe-TAGS-target-libssp
1313 TAGS-target: maybe-TAGS-target-newlib
1314 TAGS-target: maybe-TAGS-target-libgfortran
1315 TAGS-target: maybe-TAGS-target-libobjc
1316 TAGS-target: maybe-TAGS-target-libtermcap
1317 TAGS-target: maybe-TAGS-target-winsup
1318 TAGS-target: maybe-TAGS-target-libgloss
1319 TAGS-target: maybe-TAGS-target-libiberty
1320 TAGS-target: maybe-TAGS-target-gperf
1321 TAGS-target: maybe-TAGS-target-examples
1322 TAGS-target: maybe-TAGS-target-libffi
1323 TAGS-target: maybe-TAGS-target-libjava
1324 TAGS-target: maybe-TAGS-target-zlib
1325 TAGS-target: maybe-TAGS-target-boehm-gc
1326 TAGS-target: maybe-TAGS-target-qthreads
1327 TAGS-target: maybe-TAGS-target-rda
1328 TAGS-target: maybe-TAGS-target-libada
1329 TAGS-target: maybe-TAGS-target-libgomp
1331 .PHONY: do-install-info
1332 do-install-info:
1333 @: $(MAKE); $(unstage)
1334 @r=`${PWD_COMMAND}`; export r; \
1335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1336 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1337 install-info-target
1340 .PHONY: install-info-host
1342 install-info-host: maybe-install-info-ash
1343 install-info-host: maybe-install-info-autoconf
1344 install-info-host: maybe-install-info-automake
1345 install-info-host: maybe-install-info-bash
1346 install-info-host: maybe-install-info-bfd
1347 install-info-host: maybe-install-info-opcodes
1348 install-info-host: maybe-install-info-binutils
1349 install-info-host: maybe-install-info-bison
1350 install-info-host: maybe-install-info-byacc
1351 install-info-host: maybe-install-info-bzip2
1352 install-info-host: maybe-install-info-dejagnu
1353 install-info-host: maybe-install-info-diff
1354 install-info-host: maybe-install-info-dosutils
1355 install-info-host: maybe-install-info-etc
1356 install-info-host: maybe-install-info-fastjar
1357 install-info-host: maybe-install-info-fileutils
1358 install-info-host: maybe-install-info-findutils
1359 install-info-host: maybe-install-info-find
1360 install-info-host: maybe-install-info-fixincludes
1361 install-info-host: maybe-install-info-flex
1362 install-info-host: maybe-install-info-gas
1363 install-info-host: maybe-install-info-gcc
1364 install-info-host: maybe-install-info-gawk
1365 install-info-host: maybe-install-info-gettext
1366 install-info-host: maybe-install-info-gnuserv
1367 install-info-host: maybe-install-info-gprof
1368 install-info-host: maybe-install-info-gzip
1369 install-info-host: maybe-install-info-hello
1370 install-info-host: maybe-install-info-indent
1371 install-info-host: maybe-install-info-intl
1372 install-info-host: maybe-install-info-tcl
1373 install-info-host: maybe-install-info-itcl
1374 install-info-host: maybe-install-info-ld
1375 install-info-host: maybe-install-info-libcpp
1376 install-info-host: maybe-install-info-libdecnumber
1377 install-info-host: maybe-install-info-libgui
1378 install-info-host: maybe-install-info-libiberty
1379 install-info-host: maybe-install-info-libtool
1380 install-info-host: maybe-install-info-m4
1381 install-info-host: maybe-install-info-make
1382 install-info-host: maybe-install-info-mmalloc
1383 install-info-host: maybe-install-info-patch
1384 install-info-host: maybe-install-info-perl
1385 install-info-host: maybe-install-info-prms
1386 install-info-host: maybe-install-info-rcs
1387 install-info-host: maybe-install-info-readline
1388 install-info-host: maybe-install-info-release
1389 install-info-host: maybe-install-info-recode
1390 install-info-host: maybe-install-info-sed
1391 install-info-host: maybe-install-info-send-pr
1392 install-info-host: maybe-install-info-shellutils
1393 install-info-host: maybe-install-info-sid
1394 install-info-host: maybe-install-info-sim
1395 install-info-host: maybe-install-info-tar
1396 install-info-host: maybe-install-info-texinfo
1397 install-info-host: maybe-install-info-textutils
1398 install-info-host: maybe-install-info-time
1399 install-info-host: maybe-install-info-uudecode
1400 install-info-host: maybe-install-info-wdiff
1401 install-info-host: maybe-install-info-zip
1402 install-info-host: maybe-install-info-zlib
1403 install-info-host: maybe-install-info-gdb
1404 install-info-host: maybe-install-info-expect
1405 install-info-host: maybe-install-info-guile
1406 install-info-host: maybe-install-info-tk
1407 install-info-host: maybe-install-info-libtermcap
1408 install-info-host: maybe-install-info-utils
1409 install-info-host: maybe-install-info-gnattools
1411 .PHONY: install-info-target
1413 install-info-target: maybe-install-info-target-libstdc++-v3
1414 install-info-target: maybe-install-info-target-libmudflap
1415 install-info-target: maybe-install-info-target-libssp
1416 install-info-target: maybe-install-info-target-newlib
1417 install-info-target: maybe-install-info-target-libgfortran
1418 install-info-target: maybe-install-info-target-libobjc
1419 install-info-target: maybe-install-info-target-libtermcap
1420 install-info-target: maybe-install-info-target-winsup
1421 install-info-target: maybe-install-info-target-libgloss
1422 install-info-target: maybe-install-info-target-libiberty
1423 install-info-target: maybe-install-info-target-gperf
1424 install-info-target: maybe-install-info-target-examples
1425 install-info-target: maybe-install-info-target-libffi
1426 install-info-target: maybe-install-info-target-libjava
1427 install-info-target: maybe-install-info-target-zlib
1428 install-info-target: maybe-install-info-target-boehm-gc
1429 install-info-target: maybe-install-info-target-qthreads
1430 install-info-target: maybe-install-info-target-rda
1431 install-info-target: maybe-install-info-target-libada
1432 install-info-target: maybe-install-info-target-libgomp
1434 .PHONY: do-install-html
1435 do-install-html:
1436 @: $(MAKE); $(unstage)
1437 @r=`${PWD_COMMAND}`; export r; \
1438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1439 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1440 install-html-target
1443 .PHONY: install-html-host
1445 install-html-host: maybe-install-html-ash
1446 install-html-host: maybe-install-html-autoconf
1447 install-html-host: maybe-install-html-automake
1448 install-html-host: maybe-install-html-bash
1449 install-html-host: maybe-install-html-bfd
1450 install-html-host: maybe-install-html-opcodes
1451 install-html-host: maybe-install-html-binutils
1452 install-html-host: maybe-install-html-bison
1453 install-html-host: maybe-install-html-byacc
1454 install-html-host: maybe-install-html-bzip2
1455 install-html-host: maybe-install-html-dejagnu
1456 install-html-host: maybe-install-html-diff
1457 install-html-host: maybe-install-html-dosutils
1458 install-html-host: maybe-install-html-etc
1459 install-html-host: maybe-install-html-fastjar
1460 install-html-host: maybe-install-html-fileutils
1461 install-html-host: maybe-install-html-findutils
1462 install-html-host: maybe-install-html-find
1463 install-html-host: maybe-install-html-fixincludes
1464 install-html-host: maybe-install-html-flex
1465 install-html-host: maybe-install-html-gas
1466 install-html-host: maybe-install-html-gcc
1467 install-html-host: maybe-install-html-gawk
1468 install-html-host: maybe-install-html-gettext
1469 install-html-host: maybe-install-html-gnuserv
1470 install-html-host: maybe-install-html-gprof
1471 install-html-host: maybe-install-html-gzip
1472 install-html-host: maybe-install-html-hello
1473 install-html-host: maybe-install-html-indent
1474 install-html-host: maybe-install-html-intl
1475 install-html-host: maybe-install-html-tcl
1476 install-html-host: maybe-install-html-itcl
1477 install-html-host: maybe-install-html-ld
1478 install-html-host: maybe-install-html-libcpp
1479 install-html-host: maybe-install-html-libdecnumber
1480 install-html-host: maybe-install-html-libgui
1481 install-html-host: maybe-install-html-libiberty
1482 install-html-host: maybe-install-html-libtool
1483 install-html-host: maybe-install-html-m4
1484 install-html-host: maybe-install-html-make
1485 install-html-host: maybe-install-html-mmalloc
1486 install-html-host: maybe-install-html-patch
1487 install-html-host: maybe-install-html-perl
1488 install-html-host: maybe-install-html-prms
1489 install-html-host: maybe-install-html-rcs
1490 install-html-host: maybe-install-html-readline
1491 install-html-host: maybe-install-html-release
1492 install-html-host: maybe-install-html-recode
1493 install-html-host: maybe-install-html-sed
1494 install-html-host: maybe-install-html-send-pr
1495 install-html-host: maybe-install-html-shellutils
1496 install-html-host: maybe-install-html-sid
1497 install-html-host: maybe-install-html-sim
1498 install-html-host: maybe-install-html-tar
1499 install-html-host: maybe-install-html-texinfo
1500 install-html-host: maybe-install-html-textutils
1501 install-html-host: maybe-install-html-time
1502 install-html-host: maybe-install-html-uudecode
1503 install-html-host: maybe-install-html-wdiff
1504 install-html-host: maybe-install-html-zip
1505 install-html-host: maybe-install-html-zlib
1506 install-html-host: maybe-install-html-gdb
1507 install-html-host: maybe-install-html-expect
1508 install-html-host: maybe-install-html-guile
1509 install-html-host: maybe-install-html-tk
1510 install-html-host: maybe-install-html-libtermcap
1511 install-html-host: maybe-install-html-utils
1512 install-html-host: maybe-install-html-gnattools
1514 .PHONY: install-html-target
1516 install-html-target: maybe-install-html-target-libstdc++-v3
1517 install-html-target: maybe-install-html-target-libmudflap
1518 install-html-target: maybe-install-html-target-libssp
1519 install-html-target: maybe-install-html-target-newlib
1520 install-html-target: maybe-install-html-target-libgfortran
1521 install-html-target: maybe-install-html-target-libobjc
1522 install-html-target: maybe-install-html-target-libtermcap
1523 install-html-target: maybe-install-html-target-winsup
1524 install-html-target: maybe-install-html-target-libgloss
1525 install-html-target: maybe-install-html-target-libiberty
1526 install-html-target: maybe-install-html-target-gperf
1527 install-html-target: maybe-install-html-target-examples
1528 install-html-target: maybe-install-html-target-libffi
1529 install-html-target: maybe-install-html-target-libjava
1530 install-html-target: maybe-install-html-target-zlib
1531 install-html-target: maybe-install-html-target-boehm-gc
1532 install-html-target: maybe-install-html-target-qthreads
1533 install-html-target: maybe-install-html-target-rda
1534 install-html-target: maybe-install-html-target-libada
1535 install-html-target: maybe-install-html-target-libgomp
1537 .PHONY: do-installcheck
1538 do-installcheck:
1539 @: $(MAKE); $(unstage)
1540 @r=`${PWD_COMMAND}`; export r; \
1541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1542 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1543 installcheck-target
1546 .PHONY: installcheck-host
1548 installcheck-host: maybe-installcheck-ash
1549 installcheck-host: maybe-installcheck-autoconf
1550 installcheck-host: maybe-installcheck-automake
1551 installcheck-host: maybe-installcheck-bash
1552 installcheck-host: maybe-installcheck-bfd
1553 installcheck-host: maybe-installcheck-opcodes
1554 installcheck-host: maybe-installcheck-binutils
1555 installcheck-host: maybe-installcheck-bison
1556 installcheck-host: maybe-installcheck-byacc
1557 installcheck-host: maybe-installcheck-bzip2
1558 installcheck-host: maybe-installcheck-dejagnu
1559 installcheck-host: maybe-installcheck-diff
1560 installcheck-host: maybe-installcheck-dosutils
1561 installcheck-host: maybe-installcheck-etc
1562 installcheck-host: maybe-installcheck-fastjar
1563 installcheck-host: maybe-installcheck-fileutils
1564 installcheck-host: maybe-installcheck-findutils
1565 installcheck-host: maybe-installcheck-find
1566 installcheck-host: maybe-installcheck-fixincludes
1567 installcheck-host: maybe-installcheck-flex
1568 installcheck-host: maybe-installcheck-gas
1569 installcheck-host: maybe-installcheck-gcc
1570 installcheck-host: maybe-installcheck-gawk
1571 installcheck-host: maybe-installcheck-gettext
1572 installcheck-host: maybe-installcheck-gnuserv
1573 installcheck-host: maybe-installcheck-gprof
1574 installcheck-host: maybe-installcheck-gzip
1575 installcheck-host: maybe-installcheck-hello
1576 installcheck-host: maybe-installcheck-indent
1577 installcheck-host: maybe-installcheck-intl
1578 installcheck-host: maybe-installcheck-tcl
1579 installcheck-host: maybe-installcheck-itcl
1580 installcheck-host: maybe-installcheck-ld
1581 installcheck-host: maybe-installcheck-libcpp
1582 installcheck-host: maybe-installcheck-libdecnumber
1583 installcheck-host: maybe-installcheck-libgui
1584 installcheck-host: maybe-installcheck-libiberty
1585 installcheck-host: maybe-installcheck-libtool
1586 installcheck-host: maybe-installcheck-m4
1587 installcheck-host: maybe-installcheck-make
1588 installcheck-host: maybe-installcheck-mmalloc
1589 installcheck-host: maybe-installcheck-patch
1590 installcheck-host: maybe-installcheck-perl
1591 installcheck-host: maybe-installcheck-prms
1592 installcheck-host: maybe-installcheck-rcs
1593 installcheck-host: maybe-installcheck-readline
1594 installcheck-host: maybe-installcheck-release
1595 installcheck-host: maybe-installcheck-recode
1596 installcheck-host: maybe-installcheck-sed
1597 installcheck-host: maybe-installcheck-send-pr
1598 installcheck-host: maybe-installcheck-shellutils
1599 installcheck-host: maybe-installcheck-sid
1600 installcheck-host: maybe-installcheck-sim
1601 installcheck-host: maybe-installcheck-tar
1602 installcheck-host: maybe-installcheck-texinfo
1603 installcheck-host: maybe-installcheck-textutils
1604 installcheck-host: maybe-installcheck-time
1605 installcheck-host: maybe-installcheck-uudecode
1606 installcheck-host: maybe-installcheck-wdiff
1607 installcheck-host: maybe-installcheck-zip
1608 installcheck-host: maybe-installcheck-zlib
1609 installcheck-host: maybe-installcheck-gdb
1610 installcheck-host: maybe-installcheck-expect
1611 installcheck-host: maybe-installcheck-guile
1612 installcheck-host: maybe-installcheck-tk
1613 installcheck-host: maybe-installcheck-libtermcap
1614 installcheck-host: maybe-installcheck-utils
1615 installcheck-host: maybe-installcheck-gnattools
1617 .PHONY: installcheck-target
1619 installcheck-target: maybe-installcheck-target-libstdc++-v3
1620 installcheck-target: maybe-installcheck-target-libmudflap
1621 installcheck-target: maybe-installcheck-target-libssp
1622 installcheck-target: maybe-installcheck-target-newlib
1623 installcheck-target: maybe-installcheck-target-libgfortran
1624 installcheck-target: maybe-installcheck-target-libobjc
1625 installcheck-target: maybe-installcheck-target-libtermcap
1626 installcheck-target: maybe-installcheck-target-winsup
1627 installcheck-target: maybe-installcheck-target-libgloss
1628 installcheck-target: maybe-installcheck-target-libiberty
1629 installcheck-target: maybe-installcheck-target-gperf
1630 installcheck-target: maybe-installcheck-target-examples
1631 installcheck-target: maybe-installcheck-target-libffi
1632 installcheck-target: maybe-installcheck-target-libjava
1633 installcheck-target: maybe-installcheck-target-zlib
1634 installcheck-target: maybe-installcheck-target-boehm-gc
1635 installcheck-target: maybe-installcheck-target-qthreads
1636 installcheck-target: maybe-installcheck-target-rda
1637 installcheck-target: maybe-installcheck-target-libada
1638 installcheck-target: maybe-installcheck-target-libgomp
1640 .PHONY: do-mostlyclean
1641 do-mostlyclean:
1642 @: $(MAKE); $(unstage)
1643 @r=`${PWD_COMMAND}`; export r; \
1644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1645 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1646 mostlyclean-target
1649 .PHONY: mostlyclean-host
1651 mostlyclean-host: maybe-mostlyclean-ash
1652 mostlyclean-host: maybe-mostlyclean-autoconf
1653 mostlyclean-host: maybe-mostlyclean-automake
1654 mostlyclean-host: maybe-mostlyclean-bash
1655 mostlyclean-host: maybe-mostlyclean-bfd
1656 mostlyclean-host: maybe-mostlyclean-opcodes
1657 mostlyclean-host: maybe-mostlyclean-binutils
1658 mostlyclean-host: maybe-mostlyclean-bison
1659 mostlyclean-host: maybe-mostlyclean-byacc
1660 mostlyclean-host: maybe-mostlyclean-bzip2
1661 mostlyclean-host: maybe-mostlyclean-dejagnu
1662 mostlyclean-host: maybe-mostlyclean-diff
1663 mostlyclean-host: maybe-mostlyclean-dosutils
1664 mostlyclean-host: maybe-mostlyclean-etc
1665 mostlyclean-host: maybe-mostlyclean-fastjar
1666 mostlyclean-host: maybe-mostlyclean-fileutils
1667 mostlyclean-host: maybe-mostlyclean-findutils
1668 mostlyclean-host: maybe-mostlyclean-find
1669 mostlyclean-host: maybe-mostlyclean-fixincludes
1670 mostlyclean-host: maybe-mostlyclean-flex
1671 mostlyclean-host: maybe-mostlyclean-gas
1672 mostlyclean-host: maybe-mostlyclean-gcc
1673 mostlyclean-host: maybe-mostlyclean-gawk
1674 mostlyclean-host: maybe-mostlyclean-gettext
1675 mostlyclean-host: maybe-mostlyclean-gnuserv
1676 mostlyclean-host: maybe-mostlyclean-gprof
1677 mostlyclean-host: maybe-mostlyclean-gzip
1678 mostlyclean-host: maybe-mostlyclean-hello
1679 mostlyclean-host: maybe-mostlyclean-indent
1680 mostlyclean-host: maybe-mostlyclean-intl
1681 mostlyclean-host: maybe-mostlyclean-tcl
1682 mostlyclean-host: maybe-mostlyclean-itcl
1683 mostlyclean-host: maybe-mostlyclean-ld
1684 mostlyclean-host: maybe-mostlyclean-libcpp
1685 mostlyclean-host: maybe-mostlyclean-libdecnumber
1686 mostlyclean-host: maybe-mostlyclean-libgui
1687 mostlyclean-host: maybe-mostlyclean-libiberty
1688 mostlyclean-host: maybe-mostlyclean-libtool
1689 mostlyclean-host: maybe-mostlyclean-m4
1690 mostlyclean-host: maybe-mostlyclean-make
1691 mostlyclean-host: maybe-mostlyclean-mmalloc
1692 mostlyclean-host: maybe-mostlyclean-patch
1693 mostlyclean-host: maybe-mostlyclean-perl
1694 mostlyclean-host: maybe-mostlyclean-prms
1695 mostlyclean-host: maybe-mostlyclean-rcs
1696 mostlyclean-host: maybe-mostlyclean-readline
1697 mostlyclean-host: maybe-mostlyclean-release
1698 mostlyclean-host: maybe-mostlyclean-recode
1699 mostlyclean-host: maybe-mostlyclean-sed
1700 mostlyclean-host: maybe-mostlyclean-send-pr
1701 mostlyclean-host: maybe-mostlyclean-shellutils
1702 mostlyclean-host: maybe-mostlyclean-sid
1703 mostlyclean-host: maybe-mostlyclean-sim
1704 mostlyclean-host: maybe-mostlyclean-tar
1705 mostlyclean-host: maybe-mostlyclean-texinfo
1706 mostlyclean-host: maybe-mostlyclean-textutils
1707 mostlyclean-host: maybe-mostlyclean-time
1708 mostlyclean-host: maybe-mostlyclean-uudecode
1709 mostlyclean-host: maybe-mostlyclean-wdiff
1710 mostlyclean-host: maybe-mostlyclean-zip
1711 mostlyclean-host: maybe-mostlyclean-zlib
1712 mostlyclean-host: maybe-mostlyclean-gdb
1713 mostlyclean-host: maybe-mostlyclean-expect
1714 mostlyclean-host: maybe-mostlyclean-guile
1715 mostlyclean-host: maybe-mostlyclean-tk
1716 mostlyclean-host: maybe-mostlyclean-libtermcap
1717 mostlyclean-host: maybe-mostlyclean-utils
1718 mostlyclean-host: maybe-mostlyclean-gnattools
1720 .PHONY: mostlyclean-target
1722 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1723 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1724 mostlyclean-target: maybe-mostlyclean-target-libssp
1725 mostlyclean-target: maybe-mostlyclean-target-newlib
1726 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1727 mostlyclean-target: maybe-mostlyclean-target-libobjc
1728 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1729 mostlyclean-target: maybe-mostlyclean-target-winsup
1730 mostlyclean-target: maybe-mostlyclean-target-libgloss
1731 mostlyclean-target: maybe-mostlyclean-target-libiberty
1732 mostlyclean-target: maybe-mostlyclean-target-gperf
1733 mostlyclean-target: maybe-mostlyclean-target-examples
1734 mostlyclean-target: maybe-mostlyclean-target-libffi
1735 mostlyclean-target: maybe-mostlyclean-target-libjava
1736 mostlyclean-target: maybe-mostlyclean-target-zlib
1737 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1738 mostlyclean-target: maybe-mostlyclean-target-qthreads
1739 mostlyclean-target: maybe-mostlyclean-target-rda
1740 mostlyclean-target: maybe-mostlyclean-target-libada
1741 mostlyclean-target: maybe-mostlyclean-target-libgomp
1743 .PHONY: do-clean
1744 do-clean:
1745 @: $(MAKE); $(unstage)
1746 @r=`${PWD_COMMAND}`; export r; \
1747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1748 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1749 clean-target
1752 .PHONY: clean-host
1754 clean-host: maybe-clean-ash
1755 clean-host: maybe-clean-autoconf
1756 clean-host: maybe-clean-automake
1757 clean-host: maybe-clean-bash
1758 clean-host: maybe-clean-bfd
1759 clean-host: maybe-clean-opcodes
1760 clean-host: maybe-clean-binutils
1761 clean-host: maybe-clean-bison
1762 clean-host: maybe-clean-byacc
1763 clean-host: maybe-clean-bzip2
1764 clean-host: maybe-clean-dejagnu
1765 clean-host: maybe-clean-diff
1766 clean-host: maybe-clean-dosutils
1767 clean-host: maybe-clean-etc
1768 clean-host: maybe-clean-fastjar
1769 clean-host: maybe-clean-fileutils
1770 clean-host: maybe-clean-findutils
1771 clean-host: maybe-clean-find
1772 clean-host: maybe-clean-fixincludes
1773 clean-host: maybe-clean-flex
1774 clean-host: maybe-clean-gas
1775 clean-host: maybe-clean-gcc
1776 clean-host: maybe-clean-gawk
1777 clean-host: maybe-clean-gettext
1778 clean-host: maybe-clean-gnuserv
1779 clean-host: maybe-clean-gprof
1780 clean-host: maybe-clean-gzip
1781 clean-host: maybe-clean-hello
1782 clean-host: maybe-clean-indent
1783 clean-host: maybe-clean-intl
1784 clean-host: maybe-clean-tcl
1785 clean-host: maybe-clean-itcl
1786 clean-host: maybe-clean-ld
1787 clean-host: maybe-clean-libcpp
1788 clean-host: maybe-clean-libdecnumber
1789 clean-host: maybe-clean-libgui
1790 clean-host: maybe-clean-libiberty
1791 clean-host: maybe-clean-libtool
1792 clean-host: maybe-clean-m4
1793 clean-host: maybe-clean-make
1794 clean-host: maybe-clean-mmalloc
1795 clean-host: maybe-clean-patch
1796 clean-host: maybe-clean-perl
1797 clean-host: maybe-clean-prms
1798 clean-host: maybe-clean-rcs
1799 clean-host: maybe-clean-readline
1800 clean-host: maybe-clean-release
1801 clean-host: maybe-clean-recode
1802 clean-host: maybe-clean-sed
1803 clean-host: maybe-clean-send-pr
1804 clean-host: maybe-clean-shellutils
1805 clean-host: maybe-clean-sid
1806 clean-host: maybe-clean-sim
1807 clean-host: maybe-clean-tar
1808 clean-host: maybe-clean-texinfo
1809 clean-host: maybe-clean-textutils
1810 clean-host: maybe-clean-time
1811 clean-host: maybe-clean-uudecode
1812 clean-host: maybe-clean-wdiff
1813 clean-host: maybe-clean-zip
1814 clean-host: maybe-clean-zlib
1815 clean-host: maybe-clean-gdb
1816 clean-host: maybe-clean-expect
1817 clean-host: maybe-clean-guile
1818 clean-host: maybe-clean-tk
1819 clean-host: maybe-clean-libtermcap
1820 clean-host: maybe-clean-utils
1821 clean-host: maybe-clean-gnattools
1823 .PHONY: clean-target
1825 clean-target: maybe-clean-target-libstdc++-v3
1826 clean-target: maybe-clean-target-libmudflap
1827 clean-target: maybe-clean-target-libssp
1828 clean-target: maybe-clean-target-newlib
1829 clean-target: maybe-clean-target-libgfortran
1830 clean-target: maybe-clean-target-libobjc
1831 clean-target: maybe-clean-target-libtermcap
1832 clean-target: maybe-clean-target-winsup
1833 clean-target: maybe-clean-target-libgloss
1834 clean-target: maybe-clean-target-libiberty
1835 clean-target: maybe-clean-target-gperf
1836 clean-target: maybe-clean-target-examples
1837 clean-target: maybe-clean-target-libffi
1838 clean-target: maybe-clean-target-libjava
1839 clean-target: maybe-clean-target-zlib
1840 clean-target: maybe-clean-target-boehm-gc
1841 clean-target: maybe-clean-target-qthreads
1842 clean-target: maybe-clean-target-rda
1843 clean-target: maybe-clean-target-libada
1844 clean-target: maybe-clean-target-libgomp
1846 .PHONY: do-distclean
1847 do-distclean:
1848 @: $(MAKE); $(unstage)
1849 @r=`${PWD_COMMAND}`; export r; \
1850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1851 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1852 distclean-target
1855 .PHONY: distclean-host
1857 distclean-host: maybe-distclean-ash
1858 distclean-host: maybe-distclean-autoconf
1859 distclean-host: maybe-distclean-automake
1860 distclean-host: maybe-distclean-bash
1861 distclean-host: maybe-distclean-bfd
1862 distclean-host: maybe-distclean-opcodes
1863 distclean-host: maybe-distclean-binutils
1864 distclean-host: maybe-distclean-bison
1865 distclean-host: maybe-distclean-byacc
1866 distclean-host: maybe-distclean-bzip2
1867 distclean-host: maybe-distclean-dejagnu
1868 distclean-host: maybe-distclean-diff
1869 distclean-host: maybe-distclean-dosutils
1870 distclean-host: maybe-distclean-etc
1871 distclean-host: maybe-distclean-fastjar
1872 distclean-host: maybe-distclean-fileutils
1873 distclean-host: maybe-distclean-findutils
1874 distclean-host: maybe-distclean-find
1875 distclean-host: maybe-distclean-fixincludes
1876 distclean-host: maybe-distclean-flex
1877 distclean-host: maybe-distclean-gas
1878 distclean-host: maybe-distclean-gcc
1879 distclean-host: maybe-distclean-gawk
1880 distclean-host: maybe-distclean-gettext
1881 distclean-host: maybe-distclean-gnuserv
1882 distclean-host: maybe-distclean-gprof
1883 distclean-host: maybe-distclean-gzip
1884 distclean-host: maybe-distclean-hello
1885 distclean-host: maybe-distclean-indent
1886 distclean-host: maybe-distclean-intl
1887 distclean-host: maybe-distclean-tcl
1888 distclean-host: maybe-distclean-itcl
1889 distclean-host: maybe-distclean-ld
1890 distclean-host: maybe-distclean-libcpp
1891 distclean-host: maybe-distclean-libdecnumber
1892 distclean-host: maybe-distclean-libgui
1893 distclean-host: maybe-distclean-libiberty
1894 distclean-host: maybe-distclean-libtool
1895 distclean-host: maybe-distclean-m4
1896 distclean-host: maybe-distclean-make
1897 distclean-host: maybe-distclean-mmalloc
1898 distclean-host: maybe-distclean-patch
1899 distclean-host: maybe-distclean-perl
1900 distclean-host: maybe-distclean-prms
1901 distclean-host: maybe-distclean-rcs
1902 distclean-host: maybe-distclean-readline
1903 distclean-host: maybe-distclean-release
1904 distclean-host: maybe-distclean-recode
1905 distclean-host: maybe-distclean-sed
1906 distclean-host: maybe-distclean-send-pr
1907 distclean-host: maybe-distclean-shellutils
1908 distclean-host: maybe-distclean-sid
1909 distclean-host: maybe-distclean-sim
1910 distclean-host: maybe-distclean-tar
1911 distclean-host: maybe-distclean-texinfo
1912 distclean-host: maybe-distclean-textutils
1913 distclean-host: maybe-distclean-time
1914 distclean-host: maybe-distclean-uudecode
1915 distclean-host: maybe-distclean-wdiff
1916 distclean-host: maybe-distclean-zip
1917 distclean-host: maybe-distclean-zlib
1918 distclean-host: maybe-distclean-gdb
1919 distclean-host: maybe-distclean-expect
1920 distclean-host: maybe-distclean-guile
1921 distclean-host: maybe-distclean-tk
1922 distclean-host: maybe-distclean-libtermcap
1923 distclean-host: maybe-distclean-utils
1924 distclean-host: maybe-distclean-gnattools
1926 .PHONY: distclean-target
1928 distclean-target: maybe-distclean-target-libstdc++-v3
1929 distclean-target: maybe-distclean-target-libmudflap
1930 distclean-target: maybe-distclean-target-libssp
1931 distclean-target: maybe-distclean-target-newlib
1932 distclean-target: maybe-distclean-target-libgfortran
1933 distclean-target: maybe-distclean-target-libobjc
1934 distclean-target: maybe-distclean-target-libtermcap
1935 distclean-target: maybe-distclean-target-winsup
1936 distclean-target: maybe-distclean-target-libgloss
1937 distclean-target: maybe-distclean-target-libiberty
1938 distclean-target: maybe-distclean-target-gperf
1939 distclean-target: maybe-distclean-target-examples
1940 distclean-target: maybe-distclean-target-libffi
1941 distclean-target: maybe-distclean-target-libjava
1942 distclean-target: maybe-distclean-target-zlib
1943 distclean-target: maybe-distclean-target-boehm-gc
1944 distclean-target: maybe-distclean-target-qthreads
1945 distclean-target: maybe-distclean-target-rda
1946 distclean-target: maybe-distclean-target-libada
1947 distclean-target: maybe-distclean-target-libgomp
1949 .PHONY: do-maintainer-clean
1950 do-maintainer-clean:
1951 @: $(MAKE); $(unstage)
1952 @r=`${PWD_COMMAND}`; export r; \
1953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1954 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1955 maintainer-clean-target
1958 .PHONY: maintainer-clean-host
1960 maintainer-clean-host: maybe-maintainer-clean-ash
1961 maintainer-clean-host: maybe-maintainer-clean-autoconf
1962 maintainer-clean-host: maybe-maintainer-clean-automake
1963 maintainer-clean-host: maybe-maintainer-clean-bash
1964 maintainer-clean-host: maybe-maintainer-clean-bfd
1965 maintainer-clean-host: maybe-maintainer-clean-opcodes
1966 maintainer-clean-host: maybe-maintainer-clean-binutils
1967 maintainer-clean-host: maybe-maintainer-clean-bison
1968 maintainer-clean-host: maybe-maintainer-clean-byacc
1969 maintainer-clean-host: maybe-maintainer-clean-bzip2
1970 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1971 maintainer-clean-host: maybe-maintainer-clean-diff
1972 maintainer-clean-host: maybe-maintainer-clean-dosutils
1973 maintainer-clean-host: maybe-maintainer-clean-etc
1974 maintainer-clean-host: maybe-maintainer-clean-fastjar
1975 maintainer-clean-host: maybe-maintainer-clean-fileutils
1976 maintainer-clean-host: maybe-maintainer-clean-findutils
1977 maintainer-clean-host: maybe-maintainer-clean-find
1978 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1979 maintainer-clean-host: maybe-maintainer-clean-flex
1980 maintainer-clean-host: maybe-maintainer-clean-gas
1981 maintainer-clean-host: maybe-maintainer-clean-gcc
1982 maintainer-clean-host: maybe-maintainer-clean-gawk
1983 maintainer-clean-host: maybe-maintainer-clean-gettext
1984 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1985 maintainer-clean-host: maybe-maintainer-clean-gprof
1986 maintainer-clean-host: maybe-maintainer-clean-gzip
1987 maintainer-clean-host: maybe-maintainer-clean-hello
1988 maintainer-clean-host: maybe-maintainer-clean-indent
1989 maintainer-clean-host: maybe-maintainer-clean-intl
1990 maintainer-clean-host: maybe-maintainer-clean-tcl
1991 maintainer-clean-host: maybe-maintainer-clean-itcl
1992 maintainer-clean-host: maybe-maintainer-clean-ld
1993 maintainer-clean-host: maybe-maintainer-clean-libcpp
1994 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1995 maintainer-clean-host: maybe-maintainer-clean-libgui
1996 maintainer-clean-host: maybe-maintainer-clean-libiberty
1997 maintainer-clean-host: maybe-maintainer-clean-libtool
1998 maintainer-clean-host: maybe-maintainer-clean-m4
1999 maintainer-clean-host: maybe-maintainer-clean-make
2000 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2001 maintainer-clean-host: maybe-maintainer-clean-patch
2002 maintainer-clean-host: maybe-maintainer-clean-perl
2003 maintainer-clean-host: maybe-maintainer-clean-prms
2004 maintainer-clean-host: maybe-maintainer-clean-rcs
2005 maintainer-clean-host: maybe-maintainer-clean-readline
2006 maintainer-clean-host: maybe-maintainer-clean-release
2007 maintainer-clean-host: maybe-maintainer-clean-recode
2008 maintainer-clean-host: maybe-maintainer-clean-sed
2009 maintainer-clean-host: maybe-maintainer-clean-send-pr
2010 maintainer-clean-host: maybe-maintainer-clean-shellutils
2011 maintainer-clean-host: maybe-maintainer-clean-sid
2012 maintainer-clean-host: maybe-maintainer-clean-sim
2013 maintainer-clean-host: maybe-maintainer-clean-tar
2014 maintainer-clean-host: maybe-maintainer-clean-texinfo
2015 maintainer-clean-host: maybe-maintainer-clean-textutils
2016 maintainer-clean-host: maybe-maintainer-clean-time
2017 maintainer-clean-host: maybe-maintainer-clean-uudecode
2018 maintainer-clean-host: maybe-maintainer-clean-wdiff
2019 maintainer-clean-host: maybe-maintainer-clean-zip
2020 maintainer-clean-host: maybe-maintainer-clean-zlib
2021 maintainer-clean-host: maybe-maintainer-clean-gdb
2022 maintainer-clean-host: maybe-maintainer-clean-expect
2023 maintainer-clean-host: maybe-maintainer-clean-guile
2024 maintainer-clean-host: maybe-maintainer-clean-tk
2025 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2026 maintainer-clean-host: maybe-maintainer-clean-utils
2027 maintainer-clean-host: maybe-maintainer-clean-gnattools
2029 .PHONY: maintainer-clean-target
2031 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2032 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2033 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2034 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2035 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2036 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2037 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2038 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2039 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2040 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2041 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2042 maintainer-clean-target: maybe-maintainer-clean-target-examples
2043 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2044 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2045 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2046 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2047 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2048 maintainer-clean-target: maybe-maintainer-clean-target-rda
2049 maintainer-clean-target: maybe-maintainer-clean-target-libada
2050 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2053 # Here are the targets which correspond to the do-X targets.
2055 .PHONY: info installcheck dvi pdf html install-info install-html
2056 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2057 .PHONY: local-clean local-distclean local-maintainer-clean
2058 info: do-info
2059 installcheck: do-installcheck
2060 dvi: do-dvi
2061 pdf: do-pdf
2062 html: do-html
2064 # Make sure makeinfo is built before we do a `make info', if we're
2065 # in fact building texinfo.
2066 do-info: maybe-all-texinfo
2068 install-info: do-install-info dir.info
2069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2070 if [ -f dir.info ] ; then \
2071 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2072 else true ; fi
2074 install-html: do-install-html
2076 local-clean:
2077 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2079 local-distclean:
2080 -rm -f Makefile config.status config.cache mh-frag mt-frag
2081 -rm -f maybedep.tmp serdep.tmp
2082 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2083 rm -rf $(TARGET_SUBDIR); \
2084 else true; fi
2085 -rm -rf $(BUILD_SUBDIR)
2086 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2087 rm -rf $(HOST_SUBDIR); \
2088 else true; fi
2089 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2090 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2091 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2092 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2093 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2095 local-maintainer-clean:
2096 @echo "This command is intended for maintainers to use;"
2097 @echo "it deletes files that may require special tools to rebuild."
2099 clean: do-clean local-clean
2100 mostlyclean: do-mostlyclean local-clean
2101 distclean: do-distclean local-clean local-distclean
2102 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2103 maintainer-clean: local-distclean
2104 realclean: maintainer-clean
2106 # Extra dependency for clean-target, owing to the mixed nature of gcc.
2107 clean-target: clean-target-libgcc
2108 clean-target-libgcc:
2109 if test -f gcc/Makefile; then cd gcc && $(MAKE) $@; else :; fi
2111 # Check target.
2113 .PHONY: check do-check
2114 check: do-check
2116 # Only include modules actually being configured and built.
2117 .PHONY: check-host
2118 check-host: \
2119 maybe-check-ash \
2120 maybe-check-autoconf \
2121 maybe-check-automake \
2122 maybe-check-bash \
2123 maybe-check-bfd \
2124 maybe-check-opcodes \
2125 maybe-check-binutils \
2126 maybe-check-bison \
2127 maybe-check-byacc \
2128 maybe-check-bzip2 \
2129 maybe-check-dejagnu \
2130 maybe-check-diff \
2131 maybe-check-dosutils \
2132 maybe-check-etc \
2133 maybe-check-fastjar \
2134 maybe-check-fileutils \
2135 maybe-check-findutils \
2136 maybe-check-find \
2137 maybe-check-fixincludes \
2138 maybe-check-flex \
2139 maybe-check-gas \
2140 maybe-check-gcc \
2141 maybe-check-gawk \
2142 maybe-check-gettext \
2143 maybe-check-gnuserv \
2144 maybe-check-gprof \
2145 maybe-check-gzip \
2146 maybe-check-hello \
2147 maybe-check-indent \
2148 maybe-check-intl \
2149 maybe-check-tcl \
2150 maybe-check-itcl \
2151 maybe-check-ld \
2152 maybe-check-libcpp \
2153 maybe-check-libdecnumber \
2154 maybe-check-libgui \
2155 maybe-check-libiberty \
2156 maybe-check-libtool \
2157 maybe-check-m4 \
2158 maybe-check-make \
2159 maybe-check-mmalloc \
2160 maybe-check-patch \
2161 maybe-check-perl \
2162 maybe-check-prms \
2163 maybe-check-rcs \
2164 maybe-check-readline \
2165 maybe-check-release \
2166 maybe-check-recode \
2167 maybe-check-sed \
2168 maybe-check-send-pr \
2169 maybe-check-shellutils \
2170 maybe-check-sid \
2171 maybe-check-sim \
2172 maybe-check-tar \
2173 maybe-check-texinfo \
2174 maybe-check-textutils \
2175 maybe-check-time \
2176 maybe-check-uudecode \
2177 maybe-check-wdiff \
2178 maybe-check-zip \
2179 maybe-check-zlib \
2180 maybe-check-gdb \
2181 maybe-check-expect \
2182 maybe-check-guile \
2183 maybe-check-tk \
2184 maybe-check-libtermcap \
2185 maybe-check-utils \
2186 maybe-check-gnattools
2188 .PHONY: check-target
2189 check-target: \
2190 maybe-check-target-libstdc++-v3 \
2191 maybe-check-target-libmudflap \
2192 maybe-check-target-libssp \
2193 maybe-check-target-newlib \
2194 maybe-check-target-libgfortran \
2195 maybe-check-target-libobjc \
2196 maybe-check-target-libtermcap \
2197 maybe-check-target-winsup \
2198 maybe-check-target-libgloss \
2199 maybe-check-target-libiberty \
2200 maybe-check-target-gperf \
2201 maybe-check-target-examples \
2202 maybe-check-target-libffi \
2203 maybe-check-target-libjava \
2204 maybe-check-target-zlib \
2205 maybe-check-target-boehm-gc \
2206 maybe-check-target-qthreads \
2207 maybe-check-target-rda \
2208 maybe-check-target-libada \
2209 maybe-check-target-libgomp
2211 do-check:
2212 @: $(MAKE); $(unstage)
2213 @r=`${PWD_COMMAND}`; export r; \
2214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2215 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2217 # Automated reporting of test results.
2219 warning.log: build.log
2220 $(srcdir)/contrib/warn_summary build.log > $@
2222 mail-report.log:
2223 if test x'$(BOOT_CFLAGS)' != x''; then \
2224 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2225 fi; \
2226 $(srcdir)/contrib/test_summary -t >$@
2227 chmod +x $@
2228 echo If you really want to send e-mail, run ./$@ now
2230 mail-report-with-warnings.log: warning.log
2231 if test x'$(BOOT_CFLAGS)' != x''; then \
2232 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2233 fi; \
2234 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2235 chmod +x $@
2236 echo If you really want to send e-mail, run ./$@ now
2238 # Installation targets.
2240 .PHONY: install uninstall
2241 install:
2242 @: $(MAKE); $(unstage)
2243 @r=`${PWD_COMMAND}`; export r; \
2244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2245 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2247 .PHONY: install-host-nogcc
2248 install-host-nogcc: \
2249 maybe-install-ash \
2250 maybe-install-autoconf \
2251 maybe-install-automake \
2252 maybe-install-bash \
2253 maybe-install-bfd \
2254 maybe-install-opcodes \
2255 maybe-install-binutils \
2256 maybe-install-bison \
2257 maybe-install-byacc \
2258 maybe-install-bzip2 \
2259 maybe-install-dejagnu \
2260 maybe-install-diff \
2261 maybe-install-dosutils \
2262 maybe-install-etc \
2263 maybe-install-fastjar \
2264 maybe-install-fileutils \
2265 maybe-install-findutils \
2266 maybe-install-find \
2267 maybe-install-fixincludes \
2268 maybe-install-flex \
2269 maybe-install-gas \
2270 maybe-install-gawk \
2271 maybe-install-gettext \
2272 maybe-install-gnuserv \
2273 maybe-install-gprof \
2274 maybe-install-gzip \
2275 maybe-install-hello \
2276 maybe-install-indent \
2277 maybe-install-intl \
2278 maybe-install-tcl \
2279 maybe-install-itcl \
2280 maybe-install-ld \
2281 maybe-install-libcpp \
2282 maybe-install-libdecnumber \
2283 maybe-install-libgui \
2284 maybe-install-libiberty \
2285 maybe-install-libtool \
2286 maybe-install-m4 \
2287 maybe-install-make \
2288 maybe-install-mmalloc \
2289 maybe-install-patch \
2290 maybe-install-perl \
2291 maybe-install-prms \
2292 maybe-install-rcs \
2293 maybe-install-readline \
2294 maybe-install-release \
2295 maybe-install-recode \
2296 maybe-install-sed \
2297 maybe-install-send-pr \
2298 maybe-install-shellutils \
2299 maybe-install-sid \
2300 maybe-install-sim \
2301 maybe-install-tar \
2302 maybe-install-texinfo \
2303 maybe-install-textutils \
2304 maybe-install-time \
2305 maybe-install-uudecode \
2306 maybe-install-wdiff \
2307 maybe-install-zip \
2308 maybe-install-zlib \
2309 maybe-install-gdb \
2310 maybe-install-expect \
2311 maybe-install-guile \
2312 maybe-install-tk \
2313 maybe-install-libtermcap \
2314 maybe-install-utils \
2315 maybe-install-gnattools
2317 .PHONY: install-host
2318 install-host: \
2319 maybe-install-ash \
2320 maybe-install-autoconf \
2321 maybe-install-automake \
2322 maybe-install-bash \
2323 maybe-install-bfd \
2324 maybe-install-opcodes \
2325 maybe-install-binutils \
2326 maybe-install-bison \
2327 maybe-install-byacc \
2328 maybe-install-bzip2 \
2329 maybe-install-dejagnu \
2330 maybe-install-diff \
2331 maybe-install-dosutils \
2332 maybe-install-etc \
2333 maybe-install-fastjar \
2334 maybe-install-fileutils \
2335 maybe-install-findutils \
2336 maybe-install-find \
2337 maybe-install-fixincludes \
2338 maybe-install-flex \
2339 maybe-install-gas \
2340 maybe-install-gcc \
2341 maybe-install-gawk \
2342 maybe-install-gettext \
2343 maybe-install-gnuserv \
2344 maybe-install-gprof \
2345 maybe-install-gzip \
2346 maybe-install-hello \
2347 maybe-install-indent \
2348 maybe-install-intl \
2349 maybe-install-tcl \
2350 maybe-install-itcl \
2351 maybe-install-ld \
2352 maybe-install-libcpp \
2353 maybe-install-libdecnumber \
2354 maybe-install-libgui \
2355 maybe-install-libiberty \
2356 maybe-install-libtool \
2357 maybe-install-m4 \
2358 maybe-install-make \
2359 maybe-install-mmalloc \
2360 maybe-install-patch \
2361 maybe-install-perl \
2362 maybe-install-prms \
2363 maybe-install-rcs \
2364 maybe-install-readline \
2365 maybe-install-release \
2366 maybe-install-recode \
2367 maybe-install-sed \
2368 maybe-install-send-pr \
2369 maybe-install-shellutils \
2370 maybe-install-sid \
2371 maybe-install-sim \
2372 maybe-install-tar \
2373 maybe-install-texinfo \
2374 maybe-install-textutils \
2375 maybe-install-time \
2376 maybe-install-uudecode \
2377 maybe-install-wdiff \
2378 maybe-install-zip \
2379 maybe-install-zlib \
2380 maybe-install-gdb \
2381 maybe-install-expect \
2382 maybe-install-guile \
2383 maybe-install-tk \
2384 maybe-install-libtermcap \
2385 maybe-install-utils \
2386 maybe-install-gnattools
2388 .PHONY: install-target
2389 install-target: \
2390 maybe-install-target-libstdc++-v3 \
2391 maybe-install-target-libmudflap \
2392 maybe-install-target-libssp \
2393 maybe-install-target-newlib \
2394 maybe-install-target-libgfortran \
2395 maybe-install-target-libobjc \
2396 maybe-install-target-libtermcap \
2397 maybe-install-target-winsup \
2398 maybe-install-target-libgloss \
2399 maybe-install-target-libiberty \
2400 maybe-install-target-gperf \
2401 maybe-install-target-examples \
2402 maybe-install-target-libffi \
2403 maybe-install-target-libjava \
2404 maybe-install-target-zlib \
2405 maybe-install-target-boehm-gc \
2406 maybe-install-target-qthreads \
2407 maybe-install-target-rda \
2408 maybe-install-target-libada \
2409 maybe-install-target-libgomp
2411 uninstall:
2412 @echo "the uninstall target is not supported in this tree"
2414 .PHONY: install.all
2415 install.all: install-no-fixedincludes
2416 @if [ -f ./gcc/Makefile ] ; then \
2417 r=`${PWD_COMMAND}` ; export r ; \
2418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2419 $(HOST_EXPORTS) \
2420 (cd ./gcc && \
2421 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2422 else \
2423 true ; \
2426 # install-no-fixedincludes is used because Cygnus can not distribute
2427 # the fixed header files.
2428 .PHONY: install-no-fixedincludes
2429 install-no-fixedincludes: installdirs install-host-nogcc \
2430 install-target gcc-no-fixedincludes
2432 ### other supporting targets
2434 MAKEDIRS= \
2435 $(DESTDIR)$(prefix) \
2436 $(DESTDIR)$(exec_prefix)
2437 .PHONY: installdirs
2438 installdirs: mkinstalldirs
2439 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2441 dir.info: do-install-info
2442 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2443 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2444 mv -f dir.info.new dir.info ; \
2445 else true ; \
2448 dist:
2449 @echo "Building a full distribution of this tree isn't done"
2450 @echo "via 'make dist'. Check out the etc/ subdirectory"
2452 etags tags: TAGS
2454 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2455 # ability to use several tags files at once, so there is probably no need
2456 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2457 # (if we felt like it) have this Makefile write a piece of elisp which
2458 # the user could load to tell emacs19 where all the TAGS files we just
2459 # built are.
2460 TAGS: do-TAGS
2462 # ------------------------------------
2463 # Macros for configure and all targets
2464 # ------------------------------------
2470 # --------------------------------------
2471 # Modules which run on the build machine
2472 # --------------------------------------
2475 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2476 maybe-configure-build-libiberty:
2477 @if gcc-bootstrap
2478 configure-build-libiberty: stage_current
2479 @endif gcc-bootstrap
2480 @if build-libiberty
2481 maybe-configure-build-libiberty: configure-build-libiberty
2482 configure-build-libiberty:
2483 @: $(MAKE); $(unstage)
2484 @r=`${PWD_COMMAND}`; export r; \
2485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2486 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2487 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2488 $(BUILD_EXPORTS) \
2489 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2490 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2491 case $(srcdir) in \
2492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2493 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2495 esac; \
2496 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2497 libsrcdir="$$s/libiberty"; \
2498 rm -f no-such-file || : ; \
2499 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2500 $(BUILD_CONFIGARGS) $${srcdiroption} \
2501 || exit 1
2502 @endif build-libiberty
2508 .PHONY: all-build-libiberty maybe-all-build-libiberty
2509 maybe-all-build-libiberty:
2510 @if gcc-bootstrap
2511 all-build-libiberty: stage_current
2512 @endif gcc-bootstrap
2513 @if build-libiberty
2514 TARGET-build-libiberty=all
2515 maybe-all-build-libiberty: all-build-libiberty
2516 all-build-libiberty: configure-build-libiberty
2517 @: $(MAKE); $(unstage)
2518 @r=`${PWD_COMMAND}`; export r; \
2519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2520 $(BUILD_EXPORTS) \
2521 (cd $(BUILD_SUBDIR)/libiberty && \
2522 $(MAKE) $(TARGET-build-libiberty))
2523 @endif build-libiberty
2529 .PHONY: configure-build-bison maybe-configure-build-bison
2530 maybe-configure-build-bison:
2531 @if gcc-bootstrap
2532 configure-build-bison: stage_current
2533 @endif gcc-bootstrap
2534 @if build-bison
2535 maybe-configure-build-bison: configure-build-bison
2536 configure-build-bison:
2537 @: $(MAKE); $(unstage)
2538 @r=`${PWD_COMMAND}`; export r; \
2539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2540 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2541 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2542 $(BUILD_EXPORTS) \
2543 echo Configuring in $(BUILD_SUBDIR)/bison; \
2544 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2545 case $(srcdir) in \
2546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2547 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2549 esac; \
2550 srcdiroption="--srcdir=$${topdir}/bison"; \
2551 libsrcdir="$$s/bison"; \
2552 rm -f no-such-file || : ; \
2553 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2554 $(BUILD_CONFIGARGS) $${srcdiroption} \
2555 || exit 1
2556 @endif build-bison
2562 .PHONY: all-build-bison maybe-all-build-bison
2563 maybe-all-build-bison:
2564 @if gcc-bootstrap
2565 all-build-bison: stage_current
2566 @endif gcc-bootstrap
2567 @if build-bison
2568 TARGET-build-bison=all
2569 maybe-all-build-bison: all-build-bison
2570 all-build-bison: configure-build-bison
2571 @: $(MAKE); $(unstage)
2572 @r=`${PWD_COMMAND}`; export r; \
2573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 $(BUILD_EXPORTS) \
2575 (cd $(BUILD_SUBDIR)/bison && \
2576 $(MAKE) $(TARGET-build-bison))
2577 @endif build-bison
2583 .PHONY: configure-build-byacc maybe-configure-build-byacc
2584 maybe-configure-build-byacc:
2585 @if gcc-bootstrap
2586 configure-build-byacc: stage_current
2587 @endif gcc-bootstrap
2588 @if build-byacc
2589 maybe-configure-build-byacc: configure-build-byacc
2590 configure-build-byacc:
2591 @: $(MAKE); $(unstage)
2592 @r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2594 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2595 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2596 $(BUILD_EXPORTS) \
2597 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2598 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2599 case $(srcdir) in \
2600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2601 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2603 esac; \
2604 srcdiroption="--srcdir=$${topdir}/byacc"; \
2605 libsrcdir="$$s/byacc"; \
2606 rm -f no-such-file || : ; \
2607 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2608 $(BUILD_CONFIGARGS) $${srcdiroption} \
2609 || exit 1
2610 @endif build-byacc
2616 .PHONY: all-build-byacc maybe-all-build-byacc
2617 maybe-all-build-byacc:
2618 @if gcc-bootstrap
2619 all-build-byacc: stage_current
2620 @endif gcc-bootstrap
2621 @if build-byacc
2622 TARGET-build-byacc=all
2623 maybe-all-build-byacc: all-build-byacc
2624 all-build-byacc: configure-build-byacc
2625 @: $(MAKE); $(unstage)
2626 @r=`${PWD_COMMAND}`; export r; \
2627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2628 $(BUILD_EXPORTS) \
2629 (cd $(BUILD_SUBDIR)/byacc && \
2630 $(MAKE) $(TARGET-build-byacc))
2631 @endif build-byacc
2637 .PHONY: configure-build-flex maybe-configure-build-flex
2638 maybe-configure-build-flex:
2639 @if gcc-bootstrap
2640 configure-build-flex: stage_current
2641 @endif gcc-bootstrap
2642 @if build-flex
2643 maybe-configure-build-flex: configure-build-flex
2644 configure-build-flex:
2645 @: $(MAKE); $(unstage)
2646 @r=`${PWD_COMMAND}`; export r; \
2647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2648 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2649 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2650 $(BUILD_EXPORTS) \
2651 echo Configuring in $(BUILD_SUBDIR)/flex; \
2652 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2653 case $(srcdir) in \
2654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2655 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2657 esac; \
2658 srcdiroption="--srcdir=$${topdir}/flex"; \
2659 libsrcdir="$$s/flex"; \
2660 rm -f no-such-file || : ; \
2661 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2662 $(BUILD_CONFIGARGS) $${srcdiroption} \
2663 || exit 1
2664 @endif build-flex
2670 .PHONY: all-build-flex maybe-all-build-flex
2671 maybe-all-build-flex:
2672 @if gcc-bootstrap
2673 all-build-flex: stage_current
2674 @endif gcc-bootstrap
2675 @if build-flex
2676 TARGET-build-flex=all
2677 maybe-all-build-flex: all-build-flex
2678 all-build-flex: configure-build-flex
2679 @: $(MAKE); $(unstage)
2680 @r=`${PWD_COMMAND}`; export r; \
2681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2682 $(BUILD_EXPORTS) \
2683 (cd $(BUILD_SUBDIR)/flex && \
2684 $(MAKE) $(TARGET-build-flex))
2685 @endif build-flex
2691 .PHONY: configure-build-m4 maybe-configure-build-m4
2692 maybe-configure-build-m4:
2693 @if gcc-bootstrap
2694 configure-build-m4: stage_current
2695 @endif gcc-bootstrap
2696 @if build-m4
2697 maybe-configure-build-m4: configure-build-m4
2698 configure-build-m4:
2699 @: $(MAKE); $(unstage)
2700 @r=`${PWD_COMMAND}`; export r; \
2701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2703 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2704 $(BUILD_EXPORTS) \
2705 echo Configuring in $(BUILD_SUBDIR)/m4; \
2706 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2707 case $(srcdir) in \
2708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2709 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2711 esac; \
2712 srcdiroption="--srcdir=$${topdir}/m4"; \
2713 libsrcdir="$$s/m4"; \
2714 rm -f no-such-file || : ; \
2715 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2716 $(BUILD_CONFIGARGS) $${srcdiroption} \
2717 || exit 1
2718 @endif build-m4
2724 .PHONY: all-build-m4 maybe-all-build-m4
2725 maybe-all-build-m4:
2726 @if gcc-bootstrap
2727 all-build-m4: stage_current
2728 @endif gcc-bootstrap
2729 @if build-m4
2730 TARGET-build-m4=all
2731 maybe-all-build-m4: all-build-m4
2732 all-build-m4: configure-build-m4
2733 @: $(MAKE); $(unstage)
2734 @r=`${PWD_COMMAND}`; export r; \
2735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 $(BUILD_EXPORTS) \
2737 (cd $(BUILD_SUBDIR)/m4 && \
2738 $(MAKE) $(TARGET-build-m4))
2739 @endif build-m4
2745 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2746 maybe-configure-build-texinfo:
2747 @if gcc-bootstrap
2748 configure-build-texinfo: stage_current
2749 @endif gcc-bootstrap
2750 @if build-texinfo
2751 maybe-configure-build-texinfo: configure-build-texinfo
2752 configure-build-texinfo:
2753 @: $(MAKE); $(unstage)
2754 @r=`${PWD_COMMAND}`; export r; \
2755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2756 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2757 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2758 $(BUILD_EXPORTS) \
2759 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2760 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2761 case $(srcdir) in \
2762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2763 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2765 esac; \
2766 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2767 libsrcdir="$$s/texinfo"; \
2768 rm -f no-such-file || : ; \
2769 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2770 $(BUILD_CONFIGARGS) $${srcdiroption} \
2771 || exit 1
2772 @endif build-texinfo
2778 .PHONY: all-build-texinfo maybe-all-build-texinfo
2779 maybe-all-build-texinfo:
2780 @if gcc-bootstrap
2781 all-build-texinfo: stage_current
2782 @endif gcc-bootstrap
2783 @if build-texinfo
2784 TARGET-build-texinfo=all
2785 maybe-all-build-texinfo: all-build-texinfo
2786 all-build-texinfo: configure-build-texinfo
2787 @: $(MAKE); $(unstage)
2788 @r=`${PWD_COMMAND}`; export r; \
2789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2790 $(BUILD_EXPORTS) \
2791 (cd $(BUILD_SUBDIR)/texinfo && \
2792 $(MAKE) $(TARGET-build-texinfo))
2793 @endif build-texinfo
2799 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2800 maybe-configure-build-fixincludes:
2801 @if gcc-bootstrap
2802 configure-build-fixincludes: stage_current
2803 @endif gcc-bootstrap
2804 @if build-fixincludes
2805 maybe-configure-build-fixincludes: configure-build-fixincludes
2806 configure-build-fixincludes:
2807 @: $(MAKE); $(unstage)
2808 @r=`${PWD_COMMAND}`; export r; \
2809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2810 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2811 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2812 $(BUILD_EXPORTS) \
2813 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2814 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2815 case $(srcdir) in \
2816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2817 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2819 esac; \
2820 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2821 libsrcdir="$$s/fixincludes"; \
2822 rm -f no-such-file || : ; \
2823 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2824 $(BUILD_CONFIGARGS) $${srcdiroption} \
2825 || exit 1
2826 @endif build-fixincludes
2832 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2833 maybe-all-build-fixincludes:
2834 @if gcc-bootstrap
2835 all-build-fixincludes: stage_current
2836 @endif gcc-bootstrap
2837 @if build-fixincludes
2838 TARGET-build-fixincludes=all
2839 maybe-all-build-fixincludes: all-build-fixincludes
2840 all-build-fixincludes: configure-build-fixincludes
2841 @: $(MAKE); $(unstage)
2842 @r=`${PWD_COMMAND}`; export r; \
2843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2844 $(BUILD_EXPORTS) \
2845 (cd $(BUILD_SUBDIR)/fixincludes && \
2846 $(MAKE) $(TARGET-build-fixincludes))
2847 @endif build-fixincludes
2853 # --------------------------------------
2854 # Modules which run on the host machine
2855 # --------------------------------------
2858 .PHONY: configure-ash maybe-configure-ash
2859 maybe-configure-ash:
2860 @if gcc-bootstrap
2861 configure-ash: stage_current
2862 @endif gcc-bootstrap
2863 @if ash
2864 maybe-configure-ash: configure-ash
2865 configure-ash:
2866 @: $(MAKE); $(unstage)
2867 @r=`${PWD_COMMAND}`; export r; \
2868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2869 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2871 $(HOST_EXPORTS) \
2872 echo Configuring in $(HOST_SUBDIR)/ash; \
2873 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2874 case $(srcdir) in \
2875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2876 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2878 esac; \
2879 srcdiroption="--srcdir=$${topdir}/ash"; \
2880 libsrcdir="$$s/ash"; \
2881 $(SHELL) $${libsrcdir}/configure \
2882 $(HOST_CONFIGARGS) $${srcdiroption} \
2883 || exit 1
2884 @endif ash
2890 .PHONY: all-ash maybe-all-ash
2891 maybe-all-ash:
2892 @if gcc-bootstrap
2893 all-ash: stage_current
2894 @endif gcc-bootstrap
2895 @if ash
2896 TARGET-ash=all
2897 maybe-all-ash: all-ash
2898 all-ash: configure-ash
2899 @: $(MAKE); $(unstage)
2900 @r=`${PWD_COMMAND}`; export r; \
2901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2902 $(HOST_EXPORTS) \
2903 (cd $(HOST_SUBDIR)/ash && \
2904 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2905 @endif ash
2910 .PHONY: check-ash maybe-check-ash
2911 maybe-check-ash:
2912 @if ash
2913 maybe-check-ash: check-ash
2915 check-ash:
2916 @: $(MAKE); $(unstage)
2917 @r=`${PWD_COMMAND}`; export r; \
2918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2919 $(HOST_EXPORTS) \
2920 (cd $(HOST_SUBDIR)/ash && \
2921 $(MAKE) $(FLAGS_TO_PASS) check)
2923 @endif ash
2925 .PHONY: install-ash maybe-install-ash
2926 maybe-install-ash:
2927 @if ash
2928 maybe-install-ash: install-ash
2930 install-ash: installdirs
2931 @: $(MAKE); $(unstage)
2932 @r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(HOST_EXPORTS) \
2935 (cd $(HOST_SUBDIR)/ash && \
2936 $(MAKE) $(FLAGS_TO_PASS) install)
2938 @endif ash
2940 # Other targets (info, dvi, pdf, etc.)
2942 .PHONY: maybe-info-ash info-ash
2943 maybe-info-ash:
2944 @if ash
2945 maybe-info-ash: info-ash
2947 info-ash: \
2948 configure-ash
2949 @: $(MAKE); $(unstage)
2950 @[ -f ./ash/Makefile ] || exit 0; \
2951 r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2953 $(HOST_EXPORTS) \
2954 for flag in $(EXTRA_HOST_FLAGS) ; do \
2955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2956 done; \
2957 echo "Doing info in ash" ; \
2958 (cd $(HOST_SUBDIR)/ash && \
2959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2961 "RANLIB=$${RANLIB}" \
2962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2963 info) \
2964 || exit 1
2966 @endif ash
2968 .PHONY: maybe-dvi-ash dvi-ash
2969 maybe-dvi-ash:
2970 @if ash
2971 maybe-dvi-ash: dvi-ash
2973 dvi-ash: \
2974 configure-ash
2975 @: $(MAKE); $(unstage)
2976 @[ -f ./ash/Makefile ] || exit 0; \
2977 r=`${PWD_COMMAND}`; export r; \
2978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 $(HOST_EXPORTS) \
2980 for flag in $(EXTRA_HOST_FLAGS) ; do \
2981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2982 done; \
2983 echo "Doing dvi in ash" ; \
2984 (cd $(HOST_SUBDIR)/ash && \
2985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2987 "RANLIB=$${RANLIB}" \
2988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2989 dvi) \
2990 || exit 1
2992 @endif ash
2994 .PHONY: maybe-pdf-ash pdf-ash
2995 maybe-pdf-ash:
2996 @if ash
2997 maybe-pdf-ash: pdf-ash
2999 pdf-ash: \
3000 configure-ash
3001 @: $(MAKE); $(unstage)
3002 @[ -f ./ash/Makefile ] || exit 0; \
3003 r=`${PWD_COMMAND}`; export r; \
3004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3005 $(HOST_EXPORTS) \
3006 for flag in $(EXTRA_HOST_FLAGS) ; do \
3007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3008 done; \
3009 echo "Doing pdf in ash" ; \
3010 (cd $(HOST_SUBDIR)/ash && \
3011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3013 "RANLIB=$${RANLIB}" \
3014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3015 pdf) \
3016 || exit 1
3018 @endif ash
3020 .PHONY: maybe-html-ash html-ash
3021 maybe-html-ash:
3022 @if ash
3023 maybe-html-ash: html-ash
3025 html-ash: \
3026 configure-ash
3027 @: $(MAKE); $(unstage)
3028 @[ -f ./ash/Makefile ] || exit 0; \
3029 r=`${PWD_COMMAND}`; export r; \
3030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3031 $(HOST_EXPORTS) \
3032 for flag in $(EXTRA_HOST_FLAGS) ; do \
3033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3034 done; \
3035 echo "Doing html in ash" ; \
3036 (cd $(HOST_SUBDIR)/ash && \
3037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3039 "RANLIB=$${RANLIB}" \
3040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3041 html) \
3042 || exit 1
3044 @endif ash
3046 .PHONY: maybe-TAGS-ash TAGS-ash
3047 maybe-TAGS-ash:
3048 @if ash
3049 maybe-TAGS-ash: TAGS-ash
3051 TAGS-ash: \
3052 configure-ash
3053 @: $(MAKE); $(unstage)
3054 @[ -f ./ash/Makefile ] || exit 0; \
3055 r=`${PWD_COMMAND}`; export r; \
3056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3057 $(HOST_EXPORTS) \
3058 for flag in $(EXTRA_HOST_FLAGS) ; do \
3059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3060 done; \
3061 echo "Doing TAGS in ash" ; \
3062 (cd $(HOST_SUBDIR)/ash && \
3063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3065 "RANLIB=$${RANLIB}" \
3066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3067 TAGS) \
3068 || exit 1
3070 @endif ash
3072 .PHONY: maybe-install-info-ash install-info-ash
3073 maybe-install-info-ash:
3074 @if ash
3075 maybe-install-info-ash: install-info-ash
3077 install-info-ash: \
3078 configure-ash \
3079 info-ash
3080 @: $(MAKE); $(unstage)
3081 @[ -f ./ash/Makefile ] || exit 0; \
3082 r=`${PWD_COMMAND}`; export r; \
3083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3084 $(HOST_EXPORTS) \
3085 for flag in $(EXTRA_HOST_FLAGS) ; do \
3086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3087 done; \
3088 echo "Doing install-info in ash" ; \
3089 (cd $(HOST_SUBDIR)/ash && \
3090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3092 "RANLIB=$${RANLIB}" \
3093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3094 install-info) \
3095 || exit 1
3097 @endif ash
3099 .PHONY: maybe-install-html-ash install-html-ash
3100 maybe-install-html-ash:
3101 @if ash
3102 maybe-install-html-ash: install-html-ash
3104 install-html-ash: \
3105 configure-ash \
3106 html-ash
3107 @: $(MAKE); $(unstage)
3108 @[ -f ./ash/Makefile ] || exit 0; \
3109 r=`${PWD_COMMAND}`; export r; \
3110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3111 $(HOST_EXPORTS) \
3112 for flag in $(EXTRA_HOST_FLAGS) ; do \
3113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3114 done; \
3115 echo "Doing install-html in ash" ; \
3116 (cd $(HOST_SUBDIR)/ash && \
3117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3119 "RANLIB=$${RANLIB}" \
3120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3121 install-html) \
3122 || exit 1
3124 @endif ash
3126 .PHONY: maybe-installcheck-ash installcheck-ash
3127 maybe-installcheck-ash:
3128 @if ash
3129 maybe-installcheck-ash: installcheck-ash
3131 installcheck-ash: \
3132 configure-ash
3133 @: $(MAKE); $(unstage)
3134 @[ -f ./ash/Makefile ] || exit 0; \
3135 r=`${PWD_COMMAND}`; export r; \
3136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3137 $(HOST_EXPORTS) \
3138 for flag in $(EXTRA_HOST_FLAGS) ; do \
3139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3140 done; \
3141 echo "Doing installcheck in ash" ; \
3142 (cd $(HOST_SUBDIR)/ash && \
3143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3145 "RANLIB=$${RANLIB}" \
3146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3147 installcheck) \
3148 || exit 1
3150 @endif ash
3152 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3153 maybe-mostlyclean-ash:
3154 @if ash
3155 maybe-mostlyclean-ash: mostlyclean-ash
3157 mostlyclean-ash:
3158 @: $(MAKE); $(unstage)
3159 @[ -f ./ash/Makefile ] || exit 0; \
3160 r=`${PWD_COMMAND}`; export r; \
3161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3162 $(HOST_EXPORTS) \
3163 for flag in $(EXTRA_HOST_FLAGS) ; do \
3164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3165 done; \
3166 echo "Doing mostlyclean in ash" ; \
3167 (cd $(HOST_SUBDIR)/ash && \
3168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3170 "RANLIB=$${RANLIB}" \
3171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3172 mostlyclean) \
3173 || exit 1
3175 @endif ash
3177 .PHONY: maybe-clean-ash clean-ash
3178 maybe-clean-ash:
3179 @if ash
3180 maybe-clean-ash: clean-ash
3182 clean-ash:
3183 @: $(MAKE); $(unstage)
3184 @[ -f ./ash/Makefile ] || exit 0; \
3185 r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 $(HOST_EXPORTS) \
3188 for flag in $(EXTRA_HOST_FLAGS) ; do \
3189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3190 done; \
3191 echo "Doing clean in ash" ; \
3192 (cd $(HOST_SUBDIR)/ash && \
3193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3195 "RANLIB=$${RANLIB}" \
3196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3197 clean) \
3198 || exit 1
3200 @endif ash
3202 .PHONY: maybe-distclean-ash distclean-ash
3203 maybe-distclean-ash:
3204 @if ash
3205 maybe-distclean-ash: distclean-ash
3207 distclean-ash:
3208 @: $(MAKE); $(unstage)
3209 @[ -f ./ash/Makefile ] || exit 0; \
3210 r=`${PWD_COMMAND}`; export r; \
3211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3212 $(HOST_EXPORTS) \
3213 for flag in $(EXTRA_HOST_FLAGS) ; do \
3214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3215 done; \
3216 echo "Doing distclean in ash" ; \
3217 (cd $(HOST_SUBDIR)/ash && \
3218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3220 "RANLIB=$${RANLIB}" \
3221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3222 distclean) \
3223 || exit 1
3225 @endif ash
3227 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3228 maybe-maintainer-clean-ash:
3229 @if ash
3230 maybe-maintainer-clean-ash: maintainer-clean-ash
3232 maintainer-clean-ash:
3233 @: $(MAKE); $(unstage)
3234 @[ -f ./ash/Makefile ] || exit 0; \
3235 r=`${PWD_COMMAND}`; export r; \
3236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3237 $(HOST_EXPORTS) \
3238 for flag in $(EXTRA_HOST_FLAGS) ; do \
3239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3240 done; \
3241 echo "Doing maintainer-clean in ash" ; \
3242 (cd $(HOST_SUBDIR)/ash && \
3243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3245 "RANLIB=$${RANLIB}" \
3246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3247 maintainer-clean) \
3248 || exit 1
3250 @endif ash
3254 .PHONY: configure-autoconf maybe-configure-autoconf
3255 maybe-configure-autoconf:
3256 @if gcc-bootstrap
3257 configure-autoconf: stage_current
3258 @endif gcc-bootstrap
3259 @if autoconf
3260 maybe-configure-autoconf: configure-autoconf
3261 configure-autoconf:
3262 @: $(MAKE); $(unstage)
3263 @r=`${PWD_COMMAND}`; export r; \
3264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3265 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3267 $(HOST_EXPORTS) \
3268 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3269 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3270 case $(srcdir) in \
3271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3272 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3274 esac; \
3275 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3276 libsrcdir="$$s/autoconf"; \
3277 $(SHELL) $${libsrcdir}/configure \
3278 $(HOST_CONFIGARGS) $${srcdiroption} \
3279 || exit 1
3280 @endif autoconf
3286 .PHONY: all-autoconf maybe-all-autoconf
3287 maybe-all-autoconf:
3288 @if gcc-bootstrap
3289 all-autoconf: stage_current
3290 @endif gcc-bootstrap
3291 @if autoconf
3292 TARGET-autoconf=all
3293 maybe-all-autoconf: all-autoconf
3294 all-autoconf: configure-autoconf
3295 @: $(MAKE); $(unstage)
3296 @r=`${PWD_COMMAND}`; export r; \
3297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3298 $(HOST_EXPORTS) \
3299 (cd $(HOST_SUBDIR)/autoconf && \
3300 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3301 @endif autoconf
3306 .PHONY: check-autoconf maybe-check-autoconf
3307 maybe-check-autoconf:
3308 @if autoconf
3309 maybe-check-autoconf: check-autoconf
3311 check-autoconf:
3312 @: $(MAKE); $(unstage)
3313 @r=`${PWD_COMMAND}`; export r; \
3314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3315 $(HOST_EXPORTS) \
3316 (cd $(HOST_SUBDIR)/autoconf && \
3317 $(MAKE) $(FLAGS_TO_PASS) check)
3319 @endif autoconf
3321 .PHONY: install-autoconf maybe-install-autoconf
3322 maybe-install-autoconf:
3323 @if autoconf
3324 maybe-install-autoconf: install-autoconf
3326 install-autoconf: installdirs
3327 @: $(MAKE); $(unstage)
3328 @r=`${PWD_COMMAND}`; export r; \
3329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3330 $(HOST_EXPORTS) \
3331 (cd $(HOST_SUBDIR)/autoconf && \
3332 $(MAKE) $(FLAGS_TO_PASS) install)
3334 @endif autoconf
3336 # Other targets (info, dvi, pdf, etc.)
3338 .PHONY: maybe-info-autoconf info-autoconf
3339 maybe-info-autoconf:
3340 @if autoconf
3341 maybe-info-autoconf: info-autoconf
3343 info-autoconf: \
3344 configure-autoconf
3345 @: $(MAKE); $(unstage)
3346 @[ -f ./autoconf/Makefile ] || exit 0; \
3347 r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349 $(HOST_EXPORTS) \
3350 for flag in $(EXTRA_HOST_FLAGS) ; do \
3351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3352 done; \
3353 echo "Doing info in autoconf" ; \
3354 (cd $(HOST_SUBDIR)/autoconf && \
3355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3357 "RANLIB=$${RANLIB}" \
3358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3359 info) \
3360 || exit 1
3362 @endif autoconf
3364 .PHONY: maybe-dvi-autoconf dvi-autoconf
3365 maybe-dvi-autoconf:
3366 @if autoconf
3367 maybe-dvi-autoconf: dvi-autoconf
3369 dvi-autoconf: \
3370 configure-autoconf
3371 @: $(MAKE); $(unstage)
3372 @[ -f ./autoconf/Makefile ] || exit 0; \
3373 r=`${PWD_COMMAND}`; export r; \
3374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3375 $(HOST_EXPORTS) \
3376 for flag in $(EXTRA_HOST_FLAGS) ; do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378 done; \
3379 echo "Doing dvi in autoconf" ; \
3380 (cd $(HOST_SUBDIR)/autoconf && \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3385 dvi) \
3386 || exit 1
3388 @endif autoconf
3390 .PHONY: maybe-pdf-autoconf pdf-autoconf
3391 maybe-pdf-autoconf:
3392 @if autoconf
3393 maybe-pdf-autoconf: pdf-autoconf
3395 pdf-autoconf: \
3396 configure-autoconf
3397 @: $(MAKE); $(unstage)
3398 @[ -f ./autoconf/Makefile ] || exit 0; \
3399 r=`${PWD_COMMAND}`; export r; \
3400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3401 $(HOST_EXPORTS) \
3402 for flag in $(EXTRA_HOST_FLAGS) ; do \
3403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3404 done; \
3405 echo "Doing pdf in autoconf" ; \
3406 (cd $(HOST_SUBDIR)/autoconf && \
3407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3409 "RANLIB=$${RANLIB}" \
3410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3411 pdf) \
3412 || exit 1
3414 @endif autoconf
3416 .PHONY: maybe-html-autoconf html-autoconf
3417 maybe-html-autoconf:
3418 @if autoconf
3419 maybe-html-autoconf: html-autoconf
3421 html-autoconf: \
3422 configure-autoconf
3423 @: $(MAKE); $(unstage)
3424 @[ -f ./autoconf/Makefile ] || exit 0; \
3425 r=`${PWD_COMMAND}`; export r; \
3426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3427 $(HOST_EXPORTS) \
3428 for flag in $(EXTRA_HOST_FLAGS) ; do \
3429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3430 done; \
3431 echo "Doing html in autoconf" ; \
3432 (cd $(HOST_SUBDIR)/autoconf && \
3433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3435 "RANLIB=$${RANLIB}" \
3436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3437 html) \
3438 || exit 1
3440 @endif autoconf
3442 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3443 maybe-TAGS-autoconf:
3444 @if autoconf
3445 maybe-TAGS-autoconf: TAGS-autoconf
3447 TAGS-autoconf: \
3448 configure-autoconf
3449 @: $(MAKE); $(unstage)
3450 @[ -f ./autoconf/Makefile ] || exit 0; \
3451 r=`${PWD_COMMAND}`; export r; \
3452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 $(HOST_EXPORTS) \
3454 for flag in $(EXTRA_HOST_FLAGS) ; do \
3455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3456 done; \
3457 echo "Doing TAGS in autoconf" ; \
3458 (cd $(HOST_SUBDIR)/autoconf && \
3459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3461 "RANLIB=$${RANLIB}" \
3462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3463 TAGS) \
3464 || exit 1
3466 @endif autoconf
3468 .PHONY: maybe-install-info-autoconf install-info-autoconf
3469 maybe-install-info-autoconf:
3470 @if autoconf
3471 maybe-install-info-autoconf: install-info-autoconf
3473 install-info-autoconf: \
3474 configure-autoconf \
3475 info-autoconf
3476 @: $(MAKE); $(unstage)
3477 @[ -f ./autoconf/Makefile ] || exit 0; \
3478 r=`${PWD_COMMAND}`; export r; \
3479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3480 $(HOST_EXPORTS) \
3481 for flag in $(EXTRA_HOST_FLAGS) ; do \
3482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3483 done; \
3484 echo "Doing install-info in autoconf" ; \
3485 (cd $(HOST_SUBDIR)/autoconf && \
3486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3488 "RANLIB=$${RANLIB}" \
3489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3490 install-info) \
3491 || exit 1
3493 @endif autoconf
3495 .PHONY: maybe-install-html-autoconf install-html-autoconf
3496 maybe-install-html-autoconf:
3497 @if autoconf
3498 maybe-install-html-autoconf: install-html-autoconf
3500 install-html-autoconf: \
3501 configure-autoconf \
3502 html-autoconf
3503 @: $(MAKE); $(unstage)
3504 @[ -f ./autoconf/Makefile ] || exit 0; \
3505 r=`${PWD_COMMAND}`; export r; \
3506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 $(HOST_EXPORTS) \
3508 for flag in $(EXTRA_HOST_FLAGS) ; do \
3509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3510 done; \
3511 echo "Doing install-html in autoconf" ; \
3512 (cd $(HOST_SUBDIR)/autoconf && \
3513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3515 "RANLIB=$${RANLIB}" \
3516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3517 install-html) \
3518 || exit 1
3520 @endif autoconf
3522 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3523 maybe-installcheck-autoconf:
3524 @if autoconf
3525 maybe-installcheck-autoconf: installcheck-autoconf
3527 installcheck-autoconf: \
3528 configure-autoconf
3529 @: $(MAKE); $(unstage)
3530 @[ -f ./autoconf/Makefile ] || exit 0; \
3531 r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 for flag in $(EXTRA_HOST_FLAGS) ; do \
3535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3536 done; \
3537 echo "Doing installcheck in autoconf" ; \
3538 (cd $(HOST_SUBDIR)/autoconf && \
3539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3541 "RANLIB=$${RANLIB}" \
3542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3543 installcheck) \
3544 || exit 1
3546 @endif autoconf
3548 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3549 maybe-mostlyclean-autoconf:
3550 @if autoconf
3551 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3553 mostlyclean-autoconf:
3554 @: $(MAKE); $(unstage)
3555 @[ -f ./autoconf/Makefile ] || exit 0; \
3556 r=`${PWD_COMMAND}`; export r; \
3557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3558 $(HOST_EXPORTS) \
3559 for flag in $(EXTRA_HOST_FLAGS) ; do \
3560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3561 done; \
3562 echo "Doing mostlyclean in autoconf" ; \
3563 (cd $(HOST_SUBDIR)/autoconf && \
3564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3566 "RANLIB=$${RANLIB}" \
3567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3568 mostlyclean) \
3569 || exit 1
3571 @endif autoconf
3573 .PHONY: maybe-clean-autoconf clean-autoconf
3574 maybe-clean-autoconf:
3575 @if autoconf
3576 maybe-clean-autoconf: clean-autoconf
3578 clean-autoconf:
3579 @: $(MAKE); $(unstage)
3580 @[ -f ./autoconf/Makefile ] || exit 0; \
3581 r=`${PWD_COMMAND}`; export r; \
3582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3583 $(HOST_EXPORTS) \
3584 for flag in $(EXTRA_HOST_FLAGS) ; do \
3585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3586 done; \
3587 echo "Doing clean in autoconf" ; \
3588 (cd $(HOST_SUBDIR)/autoconf && \
3589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3591 "RANLIB=$${RANLIB}" \
3592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3593 clean) \
3594 || exit 1
3596 @endif autoconf
3598 .PHONY: maybe-distclean-autoconf distclean-autoconf
3599 maybe-distclean-autoconf:
3600 @if autoconf
3601 maybe-distclean-autoconf: distclean-autoconf
3603 distclean-autoconf:
3604 @: $(MAKE); $(unstage)
3605 @[ -f ./autoconf/Makefile ] || exit 0; \
3606 r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 $(HOST_EXPORTS) \
3609 for flag in $(EXTRA_HOST_FLAGS) ; do \
3610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3611 done; \
3612 echo "Doing distclean in autoconf" ; \
3613 (cd $(HOST_SUBDIR)/autoconf && \
3614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3616 "RANLIB=$${RANLIB}" \
3617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3618 distclean) \
3619 || exit 1
3621 @endif autoconf
3623 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3624 maybe-maintainer-clean-autoconf:
3625 @if autoconf
3626 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3628 maintainer-clean-autoconf:
3629 @: $(MAKE); $(unstage)
3630 @[ -f ./autoconf/Makefile ] || exit 0; \
3631 r=`${PWD_COMMAND}`; export r; \
3632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3633 $(HOST_EXPORTS) \
3634 for flag in $(EXTRA_HOST_FLAGS) ; do \
3635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3636 done; \
3637 echo "Doing maintainer-clean in autoconf" ; \
3638 (cd $(HOST_SUBDIR)/autoconf && \
3639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3641 "RANLIB=$${RANLIB}" \
3642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3643 maintainer-clean) \
3644 || exit 1
3646 @endif autoconf
3650 .PHONY: configure-automake maybe-configure-automake
3651 maybe-configure-automake:
3652 @if gcc-bootstrap
3653 configure-automake: stage_current
3654 @endif gcc-bootstrap
3655 @if automake
3656 maybe-configure-automake: configure-automake
3657 configure-automake:
3658 @: $(MAKE); $(unstage)
3659 @r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3663 $(HOST_EXPORTS) \
3664 echo Configuring in $(HOST_SUBDIR)/automake; \
3665 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3666 case $(srcdir) in \
3667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3668 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3670 esac; \
3671 srcdiroption="--srcdir=$${topdir}/automake"; \
3672 libsrcdir="$$s/automake"; \
3673 $(SHELL) $${libsrcdir}/configure \
3674 $(HOST_CONFIGARGS) $${srcdiroption} \
3675 || exit 1
3676 @endif automake
3682 .PHONY: all-automake maybe-all-automake
3683 maybe-all-automake:
3684 @if gcc-bootstrap
3685 all-automake: stage_current
3686 @endif gcc-bootstrap
3687 @if automake
3688 TARGET-automake=all
3689 maybe-all-automake: all-automake
3690 all-automake: configure-automake
3691 @: $(MAKE); $(unstage)
3692 @r=`${PWD_COMMAND}`; export r; \
3693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3694 $(HOST_EXPORTS) \
3695 (cd $(HOST_SUBDIR)/automake && \
3696 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3697 @endif automake
3702 .PHONY: check-automake maybe-check-automake
3703 maybe-check-automake:
3704 @if automake
3705 maybe-check-automake: check-automake
3707 check-automake:
3708 @: $(MAKE); $(unstage)
3709 @r=`${PWD_COMMAND}`; export r; \
3710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3711 $(HOST_EXPORTS) \
3712 (cd $(HOST_SUBDIR)/automake && \
3713 $(MAKE) $(FLAGS_TO_PASS) check)
3715 @endif automake
3717 .PHONY: install-automake maybe-install-automake
3718 maybe-install-automake:
3719 @if automake
3720 maybe-install-automake: install-automake
3722 install-automake: installdirs
3723 @: $(MAKE); $(unstage)
3724 @r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(HOST_EXPORTS) \
3727 (cd $(HOST_SUBDIR)/automake && \
3728 $(MAKE) $(FLAGS_TO_PASS) install)
3730 @endif automake
3732 # Other targets (info, dvi, pdf, etc.)
3734 .PHONY: maybe-info-automake info-automake
3735 maybe-info-automake:
3736 @if automake
3737 maybe-info-automake: info-automake
3739 info-automake: \
3740 configure-automake
3741 @: $(MAKE); $(unstage)
3742 @[ -f ./automake/Makefile ] || exit 0; \
3743 r=`${PWD_COMMAND}`; export r; \
3744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3745 $(HOST_EXPORTS) \
3746 for flag in $(EXTRA_HOST_FLAGS) ; do \
3747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3748 done; \
3749 echo "Doing info in automake" ; \
3750 (cd $(HOST_SUBDIR)/automake && \
3751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3753 "RANLIB=$${RANLIB}" \
3754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3755 info) \
3756 || exit 1
3758 @endif automake
3760 .PHONY: maybe-dvi-automake dvi-automake
3761 maybe-dvi-automake:
3762 @if automake
3763 maybe-dvi-automake: dvi-automake
3765 dvi-automake: \
3766 configure-automake
3767 @: $(MAKE); $(unstage)
3768 @[ -f ./automake/Makefile ] || exit 0; \
3769 r=`${PWD_COMMAND}`; export r; \
3770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3771 $(HOST_EXPORTS) \
3772 for flag in $(EXTRA_HOST_FLAGS) ; do \
3773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3774 done; \
3775 echo "Doing dvi in automake" ; \
3776 (cd $(HOST_SUBDIR)/automake && \
3777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3779 "RANLIB=$${RANLIB}" \
3780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3781 dvi) \
3782 || exit 1
3784 @endif automake
3786 .PHONY: maybe-pdf-automake pdf-automake
3787 maybe-pdf-automake:
3788 @if automake
3789 maybe-pdf-automake: pdf-automake
3791 pdf-automake: \
3792 configure-automake
3793 @: $(MAKE); $(unstage)
3794 @[ -f ./automake/Makefile ] || exit 0; \
3795 r=`${PWD_COMMAND}`; export r; \
3796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3797 $(HOST_EXPORTS) \
3798 for flag in $(EXTRA_HOST_FLAGS) ; do \
3799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3800 done; \
3801 echo "Doing pdf in automake" ; \
3802 (cd $(HOST_SUBDIR)/automake && \
3803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3805 "RANLIB=$${RANLIB}" \
3806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3807 pdf) \
3808 || exit 1
3810 @endif automake
3812 .PHONY: maybe-html-automake html-automake
3813 maybe-html-automake:
3814 @if automake
3815 maybe-html-automake: html-automake
3817 html-automake: \
3818 configure-automake
3819 @: $(MAKE); $(unstage)
3820 @[ -f ./automake/Makefile ] || exit 0; \
3821 r=`${PWD_COMMAND}`; export r; \
3822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3823 $(HOST_EXPORTS) \
3824 for flag in $(EXTRA_HOST_FLAGS) ; do \
3825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3826 done; \
3827 echo "Doing html in automake" ; \
3828 (cd $(HOST_SUBDIR)/automake && \
3829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3831 "RANLIB=$${RANLIB}" \
3832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3833 html) \
3834 || exit 1
3836 @endif automake
3838 .PHONY: maybe-TAGS-automake TAGS-automake
3839 maybe-TAGS-automake:
3840 @if automake
3841 maybe-TAGS-automake: TAGS-automake
3843 TAGS-automake: \
3844 configure-automake
3845 @: $(MAKE); $(unstage)
3846 @[ -f ./automake/Makefile ] || exit 0; \
3847 r=`${PWD_COMMAND}`; export r; \
3848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3849 $(HOST_EXPORTS) \
3850 for flag in $(EXTRA_HOST_FLAGS) ; do \
3851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3852 done; \
3853 echo "Doing TAGS in automake" ; \
3854 (cd $(HOST_SUBDIR)/automake && \
3855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3857 "RANLIB=$${RANLIB}" \
3858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3859 TAGS) \
3860 || exit 1
3862 @endif automake
3864 .PHONY: maybe-install-info-automake install-info-automake
3865 maybe-install-info-automake:
3866 @if automake
3867 maybe-install-info-automake: install-info-automake
3869 install-info-automake: \
3870 configure-automake \
3871 info-automake
3872 @: $(MAKE); $(unstage)
3873 @[ -f ./automake/Makefile ] || exit 0; \
3874 r=`${PWD_COMMAND}`; export r; \
3875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3876 $(HOST_EXPORTS) \
3877 for flag in $(EXTRA_HOST_FLAGS) ; do \
3878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3879 done; \
3880 echo "Doing install-info in automake" ; \
3881 (cd $(HOST_SUBDIR)/automake && \
3882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3884 "RANLIB=$${RANLIB}" \
3885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3886 install-info) \
3887 || exit 1
3889 @endif automake
3891 .PHONY: maybe-install-html-automake install-html-automake
3892 maybe-install-html-automake:
3893 @if automake
3894 maybe-install-html-automake: install-html-automake
3896 install-html-automake: \
3897 configure-automake \
3898 html-automake
3899 @: $(MAKE); $(unstage)
3900 @[ -f ./automake/Makefile ] || exit 0; \
3901 r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3903 $(HOST_EXPORTS) \
3904 for flag in $(EXTRA_HOST_FLAGS) ; do \
3905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3906 done; \
3907 echo "Doing install-html in automake" ; \
3908 (cd $(HOST_SUBDIR)/automake && \
3909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3911 "RANLIB=$${RANLIB}" \
3912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3913 install-html) \
3914 || exit 1
3916 @endif automake
3918 .PHONY: maybe-installcheck-automake installcheck-automake
3919 maybe-installcheck-automake:
3920 @if automake
3921 maybe-installcheck-automake: installcheck-automake
3923 installcheck-automake: \
3924 configure-automake
3925 @: $(MAKE); $(unstage)
3926 @[ -f ./automake/Makefile ] || exit 0; \
3927 r=`${PWD_COMMAND}`; export r; \
3928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3929 $(HOST_EXPORTS) \
3930 for flag in $(EXTRA_HOST_FLAGS) ; do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3932 done; \
3933 echo "Doing installcheck in automake" ; \
3934 (cd $(HOST_SUBDIR)/automake && \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3939 installcheck) \
3940 || exit 1
3942 @endif automake
3944 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3945 maybe-mostlyclean-automake:
3946 @if automake
3947 maybe-mostlyclean-automake: mostlyclean-automake
3949 mostlyclean-automake:
3950 @: $(MAKE); $(unstage)
3951 @[ -f ./automake/Makefile ] || exit 0; \
3952 r=`${PWD_COMMAND}`; export r; \
3953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3954 $(HOST_EXPORTS) \
3955 for flag in $(EXTRA_HOST_FLAGS) ; do \
3956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3957 done; \
3958 echo "Doing mostlyclean in automake" ; \
3959 (cd $(HOST_SUBDIR)/automake && \
3960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3962 "RANLIB=$${RANLIB}" \
3963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3964 mostlyclean) \
3965 || exit 1
3967 @endif automake
3969 .PHONY: maybe-clean-automake clean-automake
3970 maybe-clean-automake:
3971 @if automake
3972 maybe-clean-automake: clean-automake
3974 clean-automake:
3975 @: $(MAKE); $(unstage)
3976 @[ -f ./automake/Makefile ] || exit 0; \
3977 r=`${PWD_COMMAND}`; export r; \
3978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3979 $(HOST_EXPORTS) \
3980 for flag in $(EXTRA_HOST_FLAGS) ; do \
3981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3982 done; \
3983 echo "Doing clean in automake" ; \
3984 (cd $(HOST_SUBDIR)/automake && \
3985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3987 "RANLIB=$${RANLIB}" \
3988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3989 clean) \
3990 || exit 1
3992 @endif automake
3994 .PHONY: maybe-distclean-automake distclean-automake
3995 maybe-distclean-automake:
3996 @if automake
3997 maybe-distclean-automake: distclean-automake
3999 distclean-automake:
4000 @: $(MAKE); $(unstage)
4001 @[ -f ./automake/Makefile ] || exit 0; \
4002 r=`${PWD_COMMAND}`; export r; \
4003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4004 $(HOST_EXPORTS) \
4005 for flag in $(EXTRA_HOST_FLAGS) ; do \
4006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4007 done; \
4008 echo "Doing distclean in automake" ; \
4009 (cd $(HOST_SUBDIR)/automake && \
4010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4012 "RANLIB=$${RANLIB}" \
4013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4014 distclean) \
4015 || exit 1
4017 @endif automake
4019 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4020 maybe-maintainer-clean-automake:
4021 @if automake
4022 maybe-maintainer-clean-automake: maintainer-clean-automake
4024 maintainer-clean-automake:
4025 @: $(MAKE); $(unstage)
4026 @[ -f ./automake/Makefile ] || exit 0; \
4027 r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4029 $(HOST_EXPORTS) \
4030 for flag in $(EXTRA_HOST_FLAGS) ; do \
4031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4032 done; \
4033 echo "Doing maintainer-clean in automake" ; \
4034 (cd $(HOST_SUBDIR)/automake && \
4035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4037 "RANLIB=$${RANLIB}" \
4038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4039 maintainer-clean) \
4040 || exit 1
4042 @endif automake
4046 .PHONY: configure-bash maybe-configure-bash
4047 maybe-configure-bash:
4048 @if gcc-bootstrap
4049 configure-bash: stage_current
4050 @endif gcc-bootstrap
4051 @if bash
4052 maybe-configure-bash: configure-bash
4053 configure-bash:
4054 @: $(MAKE); $(unstage)
4055 @r=`${PWD_COMMAND}`; export r; \
4056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4057 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4059 $(HOST_EXPORTS) \
4060 echo Configuring in $(HOST_SUBDIR)/bash; \
4061 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4062 case $(srcdir) in \
4063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4064 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4066 esac; \
4067 srcdiroption="--srcdir=$${topdir}/bash"; \
4068 libsrcdir="$$s/bash"; \
4069 $(SHELL) $${libsrcdir}/configure \
4070 $(HOST_CONFIGARGS) $${srcdiroption} \
4071 || exit 1
4072 @endif bash
4078 .PHONY: all-bash maybe-all-bash
4079 maybe-all-bash:
4080 @if gcc-bootstrap
4081 all-bash: stage_current
4082 @endif gcc-bootstrap
4083 @if bash
4084 TARGET-bash=all
4085 maybe-all-bash: all-bash
4086 all-bash: configure-bash
4087 @: $(MAKE); $(unstage)
4088 @r=`${PWD_COMMAND}`; export r; \
4089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4090 $(HOST_EXPORTS) \
4091 (cd $(HOST_SUBDIR)/bash && \
4092 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4093 @endif bash
4098 .PHONY: check-bash maybe-check-bash
4099 maybe-check-bash:
4100 @if bash
4101 maybe-check-bash: check-bash
4103 check-bash:
4104 @: $(MAKE); $(unstage)
4105 @r=`${PWD_COMMAND}`; export r; \
4106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4107 $(HOST_EXPORTS) \
4108 (cd $(HOST_SUBDIR)/bash && \
4109 $(MAKE) $(FLAGS_TO_PASS) check)
4111 @endif bash
4113 .PHONY: install-bash maybe-install-bash
4114 maybe-install-bash:
4115 @if bash
4116 maybe-install-bash: install-bash
4118 install-bash: installdirs
4119 @: $(MAKE); $(unstage)
4120 @r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(HOST_EXPORTS) \
4123 (cd $(HOST_SUBDIR)/bash && \
4124 $(MAKE) $(FLAGS_TO_PASS) install)
4126 @endif bash
4128 # Other targets (info, dvi, pdf, etc.)
4130 .PHONY: maybe-info-bash info-bash
4131 maybe-info-bash:
4132 @if bash
4133 maybe-info-bash: info-bash
4135 info-bash: \
4136 configure-bash
4137 @: $(MAKE); $(unstage)
4138 @[ -f ./bash/Makefile ] || exit 0; \
4139 r=`${PWD_COMMAND}`; export r; \
4140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4141 $(HOST_EXPORTS) \
4142 for flag in $(EXTRA_HOST_FLAGS) ; do \
4143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4144 done; \
4145 echo "Doing info in bash" ; \
4146 (cd $(HOST_SUBDIR)/bash && \
4147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4149 "RANLIB=$${RANLIB}" \
4150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4151 info) \
4152 || exit 1
4154 @endif bash
4156 .PHONY: maybe-dvi-bash dvi-bash
4157 maybe-dvi-bash:
4158 @if bash
4159 maybe-dvi-bash: dvi-bash
4161 dvi-bash: \
4162 configure-bash
4163 @: $(MAKE); $(unstage)
4164 @[ -f ./bash/Makefile ] || exit 0; \
4165 r=`${PWD_COMMAND}`; export r; \
4166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4167 $(HOST_EXPORTS) \
4168 for flag in $(EXTRA_HOST_FLAGS) ; do \
4169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4170 done; \
4171 echo "Doing dvi in bash" ; \
4172 (cd $(HOST_SUBDIR)/bash && \
4173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4175 "RANLIB=$${RANLIB}" \
4176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4177 dvi) \
4178 || exit 1
4180 @endif bash
4182 .PHONY: maybe-pdf-bash pdf-bash
4183 maybe-pdf-bash:
4184 @if bash
4185 maybe-pdf-bash: pdf-bash
4187 pdf-bash: \
4188 configure-bash
4189 @: $(MAKE); $(unstage)
4190 @[ -f ./bash/Makefile ] || exit 0; \
4191 r=`${PWD_COMMAND}`; export r; \
4192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4193 $(HOST_EXPORTS) \
4194 for flag in $(EXTRA_HOST_FLAGS) ; do \
4195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4196 done; \
4197 echo "Doing pdf in bash" ; \
4198 (cd $(HOST_SUBDIR)/bash && \
4199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4201 "RANLIB=$${RANLIB}" \
4202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4203 pdf) \
4204 || exit 1
4206 @endif bash
4208 .PHONY: maybe-html-bash html-bash
4209 maybe-html-bash:
4210 @if bash
4211 maybe-html-bash: html-bash
4213 html-bash: \
4214 configure-bash
4215 @: $(MAKE); $(unstage)
4216 @[ -f ./bash/Makefile ] || exit 0; \
4217 r=`${PWD_COMMAND}`; export r; \
4218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4219 $(HOST_EXPORTS) \
4220 for flag in $(EXTRA_HOST_FLAGS) ; do \
4221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4222 done; \
4223 echo "Doing html in bash" ; \
4224 (cd $(HOST_SUBDIR)/bash && \
4225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4227 "RANLIB=$${RANLIB}" \
4228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4229 html) \
4230 || exit 1
4232 @endif bash
4234 .PHONY: maybe-TAGS-bash TAGS-bash
4235 maybe-TAGS-bash:
4236 @if bash
4237 maybe-TAGS-bash: TAGS-bash
4239 TAGS-bash: \
4240 configure-bash
4241 @: $(MAKE); $(unstage)
4242 @[ -f ./bash/Makefile ] || exit 0; \
4243 r=`${PWD_COMMAND}`; export r; \
4244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4245 $(HOST_EXPORTS) \
4246 for flag in $(EXTRA_HOST_FLAGS) ; do \
4247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4248 done; \
4249 echo "Doing TAGS in bash" ; \
4250 (cd $(HOST_SUBDIR)/bash && \
4251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4253 "RANLIB=$${RANLIB}" \
4254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4255 TAGS) \
4256 || exit 1
4258 @endif bash
4260 .PHONY: maybe-install-info-bash install-info-bash
4261 maybe-install-info-bash:
4262 @if bash
4263 maybe-install-info-bash: install-info-bash
4265 install-info-bash: \
4266 configure-bash \
4267 info-bash
4268 @: $(MAKE); $(unstage)
4269 @[ -f ./bash/Makefile ] || exit 0; \
4270 r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 $(HOST_EXPORTS) \
4273 for flag in $(EXTRA_HOST_FLAGS) ; do \
4274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4275 done; \
4276 echo "Doing install-info in bash" ; \
4277 (cd $(HOST_SUBDIR)/bash && \
4278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4280 "RANLIB=$${RANLIB}" \
4281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4282 install-info) \
4283 || exit 1
4285 @endif bash
4287 .PHONY: maybe-install-html-bash install-html-bash
4288 maybe-install-html-bash:
4289 @if bash
4290 maybe-install-html-bash: install-html-bash
4292 install-html-bash: \
4293 configure-bash \
4294 html-bash
4295 @: $(MAKE); $(unstage)
4296 @[ -f ./bash/Makefile ] || exit 0; \
4297 r=`${PWD_COMMAND}`; export r; \
4298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4299 $(HOST_EXPORTS) \
4300 for flag in $(EXTRA_HOST_FLAGS) ; do \
4301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4302 done; \
4303 echo "Doing install-html in bash" ; \
4304 (cd $(HOST_SUBDIR)/bash && \
4305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4307 "RANLIB=$${RANLIB}" \
4308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4309 install-html) \
4310 || exit 1
4312 @endif bash
4314 .PHONY: maybe-installcheck-bash installcheck-bash
4315 maybe-installcheck-bash:
4316 @if bash
4317 maybe-installcheck-bash: installcheck-bash
4319 installcheck-bash: \
4320 configure-bash
4321 @: $(MAKE); $(unstage)
4322 @[ -f ./bash/Makefile ] || exit 0; \
4323 r=`${PWD_COMMAND}`; export r; \
4324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4325 $(HOST_EXPORTS) \
4326 for flag in $(EXTRA_HOST_FLAGS) ; do \
4327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4328 done; \
4329 echo "Doing installcheck in bash" ; \
4330 (cd $(HOST_SUBDIR)/bash && \
4331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4333 "RANLIB=$${RANLIB}" \
4334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4335 installcheck) \
4336 || exit 1
4338 @endif bash
4340 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4341 maybe-mostlyclean-bash:
4342 @if bash
4343 maybe-mostlyclean-bash: mostlyclean-bash
4345 mostlyclean-bash:
4346 @: $(MAKE); $(unstage)
4347 @[ -f ./bash/Makefile ] || exit 0; \
4348 r=`${PWD_COMMAND}`; export r; \
4349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 $(HOST_EXPORTS) \
4351 for flag in $(EXTRA_HOST_FLAGS) ; do \
4352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4353 done; \
4354 echo "Doing mostlyclean in bash" ; \
4355 (cd $(HOST_SUBDIR)/bash && \
4356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4358 "RANLIB=$${RANLIB}" \
4359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4360 mostlyclean) \
4361 || exit 1
4363 @endif bash
4365 .PHONY: maybe-clean-bash clean-bash
4366 maybe-clean-bash:
4367 @if bash
4368 maybe-clean-bash: clean-bash
4370 clean-bash:
4371 @: $(MAKE); $(unstage)
4372 @[ -f ./bash/Makefile ] || exit 0; \
4373 r=`${PWD_COMMAND}`; export r; \
4374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375 $(HOST_EXPORTS) \
4376 for flag in $(EXTRA_HOST_FLAGS) ; do \
4377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4378 done; \
4379 echo "Doing clean in bash" ; \
4380 (cd $(HOST_SUBDIR)/bash && \
4381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4383 "RANLIB=$${RANLIB}" \
4384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4385 clean) \
4386 || exit 1
4388 @endif bash
4390 .PHONY: maybe-distclean-bash distclean-bash
4391 maybe-distclean-bash:
4392 @if bash
4393 maybe-distclean-bash: distclean-bash
4395 distclean-bash:
4396 @: $(MAKE); $(unstage)
4397 @[ -f ./bash/Makefile ] || exit 0; \
4398 r=`${PWD_COMMAND}`; export r; \
4399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4400 $(HOST_EXPORTS) \
4401 for flag in $(EXTRA_HOST_FLAGS) ; do \
4402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4403 done; \
4404 echo "Doing distclean in bash" ; \
4405 (cd $(HOST_SUBDIR)/bash && \
4406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4408 "RANLIB=$${RANLIB}" \
4409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4410 distclean) \
4411 || exit 1
4413 @endif bash
4415 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4416 maybe-maintainer-clean-bash:
4417 @if bash
4418 maybe-maintainer-clean-bash: maintainer-clean-bash
4420 maintainer-clean-bash:
4421 @: $(MAKE); $(unstage)
4422 @[ -f ./bash/Makefile ] || exit 0; \
4423 r=`${PWD_COMMAND}`; export r; \
4424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425 $(HOST_EXPORTS) \
4426 for flag in $(EXTRA_HOST_FLAGS) ; do \
4427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4428 done; \
4429 echo "Doing maintainer-clean in bash" ; \
4430 (cd $(HOST_SUBDIR)/bash && \
4431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4433 "RANLIB=$${RANLIB}" \
4434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4435 maintainer-clean) \
4436 || exit 1
4438 @endif bash
4442 .PHONY: configure-bfd maybe-configure-bfd
4443 maybe-configure-bfd:
4444 @if gcc-bootstrap
4445 configure-bfd: stage_current
4446 @endif gcc-bootstrap
4447 @if bfd
4448 maybe-configure-bfd: configure-bfd
4449 configure-bfd:
4450 @r=`${PWD_COMMAND}`; export r; \
4451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4452 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4454 $(HOST_EXPORTS) \
4455 echo Configuring in $(HOST_SUBDIR)/bfd; \
4456 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4457 case $(srcdir) in \
4458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4459 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4461 esac; \
4462 srcdiroption="--srcdir=$${topdir}/bfd"; \
4463 libsrcdir="$$s/bfd"; \
4464 $(SHELL) $${libsrcdir}/configure \
4465 $(HOST_CONFIGARGS) $${srcdiroption} \
4466 || exit 1
4467 @endif bfd
4471 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4472 maybe-configure-stage1-bfd:
4473 @if bfd-bootstrap
4474 maybe-configure-stage1-bfd: configure-stage1-bfd
4475 configure-stage1-bfd:
4476 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4477 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4478 @r=`${PWD_COMMAND}`; export r; \
4479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4480 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4481 $(HOST_EXPORTS) \
4482 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4484 cd $(HOST_SUBDIR)/bfd || exit 1; \
4485 case $(srcdir) in \
4486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4487 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4489 esac; \
4490 srcdiroption="--srcdir=$${topdir}/bfd"; \
4491 libsrcdir="$$s/bfd"; \
4492 $(SHELL) $${libsrcdir}/configure \
4493 $(HOST_CONFIGARGS) $${srcdiroption} \
4495 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4496 @endif bfd-bootstrap
4498 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4499 maybe-configure-stage2-bfd:
4500 @if bfd-bootstrap
4501 maybe-configure-stage2-bfd: configure-stage2-bfd
4502 configure-stage2-bfd:
4503 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4504 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4505 @r=`${PWD_COMMAND}`; export r; \
4506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4507 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4508 $(HOST_EXPORTS) \
4509 $(POSTSTAGE1_HOST_EXPORTS) \
4510 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4512 cd $(HOST_SUBDIR)/bfd || exit 1; \
4513 case $(srcdir) in \
4514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4515 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4517 esac; \
4518 srcdiroption="--srcdir=$${topdir}/bfd"; \
4519 libsrcdir="$$s/bfd"; \
4520 $(SHELL) $${libsrcdir}/configure \
4521 $(HOST_CONFIGARGS) $${srcdiroption} \
4522 --with-build-libsubdir=$(HOST_SUBDIR) \
4523 @stage2_werror_flag@
4524 @endif bfd-bootstrap
4526 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4527 maybe-configure-stage3-bfd:
4528 @if bfd-bootstrap
4529 maybe-configure-stage3-bfd: configure-stage3-bfd
4530 configure-stage3-bfd:
4531 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4532 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4533 @r=`${PWD_COMMAND}`; export r; \
4534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4535 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4536 $(HOST_EXPORTS) \
4537 $(POSTSTAGE1_HOST_EXPORTS) \
4538 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4540 cd $(HOST_SUBDIR)/bfd || exit 1; \
4541 case $(srcdir) in \
4542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4543 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4545 esac; \
4546 srcdiroption="--srcdir=$${topdir}/bfd"; \
4547 libsrcdir="$$s/bfd"; \
4548 $(SHELL) $${libsrcdir}/configure \
4549 $(HOST_CONFIGARGS) $${srcdiroption} \
4550 --with-build-libsubdir=$(HOST_SUBDIR) \
4551 @stage2_werror_flag@
4552 @endif bfd-bootstrap
4554 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4555 maybe-configure-stage4-bfd:
4556 @if bfd-bootstrap
4557 maybe-configure-stage4-bfd: configure-stage4-bfd
4558 configure-stage4-bfd:
4559 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4561 @r=`${PWD_COMMAND}`; export r; \
4562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4564 $(HOST_EXPORTS) \
4565 $(POSTSTAGE1_HOST_EXPORTS) \
4566 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4568 cd $(HOST_SUBDIR)/bfd || exit 1; \
4569 case $(srcdir) in \
4570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4571 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4573 esac; \
4574 srcdiroption="--srcdir=$${topdir}/bfd"; \
4575 libsrcdir="$$s/bfd"; \
4576 $(SHELL) $${libsrcdir}/configure \
4577 $(HOST_CONFIGARGS) $${srcdiroption} \
4578 --with-build-libsubdir=$(HOST_SUBDIR) \
4579 @stage2_werror_flag@
4580 @endif bfd-bootstrap
4582 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4583 maybe-configure-stageprofile-bfd:
4584 @if bfd-bootstrap
4585 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4586 configure-stageprofile-bfd:
4587 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4589 @r=`${PWD_COMMAND}`; export r; \
4590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4591 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4592 $(HOST_EXPORTS) \
4593 $(POSTSTAGE1_HOST_EXPORTS) \
4594 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4596 cd $(HOST_SUBDIR)/bfd || exit 1; \
4597 case $(srcdir) in \
4598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4599 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4601 esac; \
4602 srcdiroption="--srcdir=$${topdir}/bfd"; \
4603 libsrcdir="$$s/bfd"; \
4604 $(SHELL) $${libsrcdir}/configure \
4605 $(HOST_CONFIGARGS) $${srcdiroption} \
4606 --with-build-libsubdir=$(HOST_SUBDIR) \
4607 @stage2_werror_flag@
4608 @endif bfd-bootstrap
4610 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4611 maybe-configure-stagefeedback-bfd:
4612 @if bfd-bootstrap
4613 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4614 configure-stagefeedback-bfd:
4615 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4617 @r=`${PWD_COMMAND}`; export r; \
4618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4619 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4620 $(HOST_EXPORTS) \
4621 $(POSTSTAGE1_HOST_EXPORTS) \
4622 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4624 cd $(HOST_SUBDIR)/bfd || exit 1; \
4625 case $(srcdir) in \
4626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4627 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4629 esac; \
4630 srcdiroption="--srcdir=$${topdir}/bfd"; \
4631 libsrcdir="$$s/bfd"; \
4632 $(SHELL) $${libsrcdir}/configure \
4633 $(HOST_CONFIGARGS) $${srcdiroption} \
4634 --with-build-libsubdir=$(HOST_SUBDIR) \
4635 @stage2_werror_flag@
4636 @endif bfd-bootstrap
4642 .PHONY: all-bfd maybe-all-bfd
4643 maybe-all-bfd:
4644 @if gcc-bootstrap
4645 all-bfd: stage_current
4646 @endif gcc-bootstrap
4647 @if bfd
4648 TARGET-bfd=all
4649 maybe-all-bfd: all-bfd
4650 all-bfd: configure-bfd
4651 @r=`${PWD_COMMAND}`; export r; \
4652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4653 $(HOST_EXPORTS) \
4654 (cd $(HOST_SUBDIR)/bfd && \
4655 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4656 @endif bfd
4660 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4661 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4662 maybe-all-stage1-bfd:
4663 maybe-clean-stage1-bfd:
4664 @if bfd-bootstrap
4665 maybe-all-stage1-bfd: all-stage1-bfd
4666 all-stage1: all-stage1-bfd
4667 TARGET-stage1-bfd = $(TARGET-bfd)
4668 all-stage1-bfd: configure-stage1-bfd
4669 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4670 @r=`${PWD_COMMAND}`; export r; \
4671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4672 $(HOST_EXPORTS) \
4673 cd $(HOST_SUBDIR)/bfd && \
4674 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4675 $(TARGET-stage1-bfd)
4677 maybe-clean-stage1-bfd: clean-stage1-bfd
4678 clean-stage1: clean-stage1-bfd
4679 clean-stage1-bfd:
4680 @if [ $(current_stage) = stage1 ]; then \
4681 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4682 else \
4683 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4684 $(MAKE) stage1-start; \
4685 fi; \
4686 cd $(HOST_SUBDIR)/bfd && \
4687 $(MAKE) $(FLAGS_TO_PASS) \
4688 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4689 @endif bfd-bootstrap
4692 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4693 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4694 maybe-all-stage2-bfd:
4695 maybe-clean-stage2-bfd:
4696 @if bfd-bootstrap
4697 maybe-all-stage2-bfd: all-stage2-bfd
4698 all-stage2: all-stage2-bfd
4699 TARGET-stage2-bfd = $(TARGET-bfd)
4700 all-stage2-bfd: configure-stage2-bfd
4701 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4702 @r=`${PWD_COMMAND}`; export r; \
4703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4704 $(HOST_EXPORTS) \
4705 $(POSTSTAGE1_HOST_EXPORTS) \
4706 cd $(HOST_SUBDIR)/bfd && \
4707 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4708 $(TARGET-stage2-bfd)
4710 maybe-clean-stage2-bfd: clean-stage2-bfd
4711 clean-stage2: clean-stage2-bfd
4712 clean-stage2-bfd:
4713 @if [ $(current_stage) = stage2 ]; then \
4714 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4715 else \
4716 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4717 $(MAKE) stage2-start; \
4718 fi; \
4719 cd $(HOST_SUBDIR)/bfd && \
4720 $(MAKE) $(FLAGS_TO_PASS) \
4721 $(POSTSTAGE1_FLAGS_TO_PASS) \
4722 clean
4723 @endif bfd-bootstrap
4726 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4727 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4728 maybe-all-stage3-bfd:
4729 maybe-clean-stage3-bfd:
4730 @if bfd-bootstrap
4731 maybe-all-stage3-bfd: all-stage3-bfd
4732 all-stage3: all-stage3-bfd
4733 TARGET-stage3-bfd = $(TARGET-bfd)
4734 all-stage3-bfd: configure-stage3-bfd
4735 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4736 @r=`${PWD_COMMAND}`; export r; \
4737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4738 $(HOST_EXPORTS) \
4739 $(POSTSTAGE1_HOST_EXPORTS) \
4740 cd $(HOST_SUBDIR)/bfd && \
4741 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4742 $(TARGET-stage3-bfd)
4744 maybe-clean-stage3-bfd: clean-stage3-bfd
4745 clean-stage3: clean-stage3-bfd
4746 clean-stage3-bfd:
4747 @if [ $(current_stage) = stage3 ]; then \
4748 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4749 else \
4750 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4751 $(MAKE) stage3-start; \
4752 fi; \
4753 cd $(HOST_SUBDIR)/bfd && \
4754 $(MAKE) $(FLAGS_TO_PASS) \
4755 $(POSTSTAGE1_FLAGS_TO_PASS) \
4756 clean
4757 @endif bfd-bootstrap
4760 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4761 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4762 maybe-all-stage4-bfd:
4763 maybe-clean-stage4-bfd:
4764 @if bfd-bootstrap
4765 maybe-all-stage4-bfd: all-stage4-bfd
4766 all-stage4: all-stage4-bfd
4767 TARGET-stage4-bfd = $(TARGET-bfd)
4768 all-stage4-bfd: configure-stage4-bfd
4769 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-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) \
4776 $(TARGET-stage4-bfd)
4778 maybe-clean-stage4-bfd: clean-stage4-bfd
4779 clean-stage4: clean-stage4-bfd
4780 clean-stage4-bfd:
4781 @if [ $(current_stage) = stage4 ]; then \
4782 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4783 else \
4784 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4785 $(MAKE) stage4-start; \
4786 fi; \
4787 cd $(HOST_SUBDIR)/bfd && \
4788 $(MAKE) $(FLAGS_TO_PASS) \
4789 $(POSTSTAGE1_FLAGS_TO_PASS) \
4790 clean
4791 @endif bfd-bootstrap
4794 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4795 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4796 maybe-all-stageprofile-bfd:
4797 maybe-clean-stageprofile-bfd:
4798 @if bfd-bootstrap
4799 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4800 all-stageprofile: all-stageprofile-bfd
4801 TARGET-stageprofile-bfd = $(TARGET-bfd)
4802 all-stageprofile-bfd: configure-stageprofile-bfd
4803 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4804 @r=`${PWD_COMMAND}`; export r; \
4805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4806 $(HOST_EXPORTS) \
4807 $(POSTSTAGE1_HOST_EXPORTS) \
4808 cd $(HOST_SUBDIR)/bfd && \
4809 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4810 $(TARGET-stageprofile-bfd)
4812 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4813 clean-stageprofile: clean-stageprofile-bfd
4814 clean-stageprofile-bfd:
4815 @if [ $(current_stage) = stageprofile ]; then \
4816 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4817 else \
4818 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4819 $(MAKE) stageprofile-start; \
4820 fi; \
4821 cd $(HOST_SUBDIR)/bfd && \
4822 $(MAKE) $(FLAGS_TO_PASS) \
4823 $(POSTSTAGE1_FLAGS_TO_PASS) \
4824 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4825 @endif bfd-bootstrap
4828 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4829 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4830 maybe-all-stagefeedback-bfd:
4831 maybe-clean-stagefeedback-bfd:
4832 @if bfd-bootstrap
4833 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4834 all-stagefeedback: all-stagefeedback-bfd
4835 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4836 all-stagefeedback-bfd: configure-stagefeedback-bfd
4837 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4838 @r=`${PWD_COMMAND}`; export r; \
4839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4840 $(HOST_EXPORTS) \
4841 $(POSTSTAGE1_HOST_EXPORTS) \
4842 cd $(HOST_SUBDIR)/bfd && \
4843 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4844 $(TARGET-stagefeedback-bfd)
4846 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4847 clean-stagefeedback: clean-stagefeedback-bfd
4848 clean-stagefeedback-bfd:
4849 @if [ $(current_stage) = stagefeedback ]; then \
4850 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4851 else \
4852 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4853 $(MAKE) stagefeedback-start; \
4854 fi; \
4855 cd $(HOST_SUBDIR)/bfd && \
4856 $(MAKE) $(FLAGS_TO_PASS) \
4857 $(POSTSTAGE1_FLAGS_TO_PASS) \
4858 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4859 @endif bfd-bootstrap
4865 .PHONY: check-bfd maybe-check-bfd
4866 maybe-check-bfd:
4867 @if bfd
4868 maybe-check-bfd: check-bfd
4870 check-bfd:
4871 @: $(MAKE); $(unstage)
4872 @r=`${PWD_COMMAND}`; export r; \
4873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4874 $(HOST_EXPORTS) \
4875 (cd $(HOST_SUBDIR)/bfd && \
4876 $(MAKE) $(FLAGS_TO_PASS) check)
4878 @endif bfd
4880 .PHONY: install-bfd maybe-install-bfd
4881 maybe-install-bfd:
4882 @if bfd
4883 maybe-install-bfd: install-bfd
4885 install-bfd: installdirs
4886 @: $(MAKE); $(unstage)
4887 @r=`${PWD_COMMAND}`; export r; \
4888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4889 $(HOST_EXPORTS) \
4890 (cd $(HOST_SUBDIR)/bfd && \
4891 $(MAKE) $(FLAGS_TO_PASS) install)
4893 @endif bfd
4895 # Other targets (info, dvi, pdf, etc.)
4897 .PHONY: maybe-info-bfd info-bfd
4898 maybe-info-bfd:
4899 @if bfd
4900 maybe-info-bfd: info-bfd
4902 info-bfd: \
4903 configure-bfd
4904 @[ -f ./bfd/Makefile ] || exit 0; \
4905 r=`${PWD_COMMAND}`; export r; \
4906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4907 $(HOST_EXPORTS) \
4908 for flag in $(EXTRA_HOST_FLAGS) ; do \
4909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4910 done; \
4911 echo "Doing info in bfd" ; \
4912 (cd $(HOST_SUBDIR)/bfd && \
4913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4915 "RANLIB=$${RANLIB}" \
4916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4917 info) \
4918 || exit 1
4920 @endif bfd
4922 .PHONY: maybe-dvi-bfd dvi-bfd
4923 maybe-dvi-bfd:
4924 @if bfd
4925 maybe-dvi-bfd: dvi-bfd
4927 dvi-bfd: \
4928 configure-bfd
4929 @[ -f ./bfd/Makefile ] || exit 0; \
4930 r=`${PWD_COMMAND}`; export r; \
4931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4932 $(HOST_EXPORTS) \
4933 for flag in $(EXTRA_HOST_FLAGS) ; do \
4934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4935 done; \
4936 echo "Doing dvi in bfd" ; \
4937 (cd $(HOST_SUBDIR)/bfd && \
4938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4940 "RANLIB=$${RANLIB}" \
4941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4942 dvi) \
4943 || exit 1
4945 @endif bfd
4947 .PHONY: maybe-pdf-bfd pdf-bfd
4948 maybe-pdf-bfd:
4949 @if bfd
4950 maybe-pdf-bfd: pdf-bfd
4952 pdf-bfd: \
4953 configure-bfd
4954 @[ -f ./bfd/Makefile ] || exit 0; \
4955 r=`${PWD_COMMAND}`; export r; \
4956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4957 $(HOST_EXPORTS) \
4958 for flag in $(EXTRA_HOST_FLAGS) ; do \
4959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4960 done; \
4961 echo "Doing pdf in bfd" ; \
4962 (cd $(HOST_SUBDIR)/bfd && \
4963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4965 "RANLIB=$${RANLIB}" \
4966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4967 pdf) \
4968 || exit 1
4970 @endif bfd
4972 .PHONY: maybe-html-bfd html-bfd
4973 maybe-html-bfd:
4974 @if bfd
4975 maybe-html-bfd: html-bfd
4977 html-bfd: \
4978 configure-bfd
4979 @[ -f ./bfd/Makefile ] || exit 0; \
4980 r=`${PWD_COMMAND}`; export r; \
4981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4982 $(HOST_EXPORTS) \
4983 for flag in $(EXTRA_HOST_FLAGS) ; do \
4984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4985 done; \
4986 echo "Doing html in bfd" ; \
4987 (cd $(HOST_SUBDIR)/bfd && \
4988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4990 "RANLIB=$${RANLIB}" \
4991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4992 html) \
4993 || exit 1
4995 @endif bfd
4997 .PHONY: maybe-TAGS-bfd TAGS-bfd
4998 maybe-TAGS-bfd:
4999 @if bfd
5000 maybe-TAGS-bfd: TAGS-bfd
5002 TAGS-bfd: \
5003 configure-bfd
5004 @[ -f ./bfd/Makefile ] || exit 0; \
5005 r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5007 $(HOST_EXPORTS) \
5008 for flag in $(EXTRA_HOST_FLAGS) ; do \
5009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5010 done; \
5011 echo "Doing TAGS in bfd" ; \
5012 (cd $(HOST_SUBDIR)/bfd && \
5013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5015 "RANLIB=$${RANLIB}" \
5016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5017 TAGS) \
5018 || exit 1
5020 @endif bfd
5022 .PHONY: maybe-install-info-bfd install-info-bfd
5023 maybe-install-info-bfd:
5024 @if bfd
5025 maybe-install-info-bfd: install-info-bfd
5027 install-info-bfd: \
5028 configure-bfd \
5029 info-bfd
5030 @[ -f ./bfd/Makefile ] || exit 0; \
5031 r=`${PWD_COMMAND}`; export r; \
5032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5033 $(HOST_EXPORTS) \
5034 for flag in $(EXTRA_HOST_FLAGS) ; do \
5035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5036 done; \
5037 echo "Doing install-info in bfd" ; \
5038 (cd $(HOST_SUBDIR)/bfd && \
5039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5041 "RANLIB=$${RANLIB}" \
5042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5043 install-info) \
5044 || exit 1
5046 @endif bfd
5048 .PHONY: maybe-install-html-bfd install-html-bfd
5049 maybe-install-html-bfd:
5050 @if bfd
5051 maybe-install-html-bfd: install-html-bfd
5053 install-html-bfd: \
5054 configure-bfd \
5055 html-bfd
5056 @[ -f ./bfd/Makefile ] || exit 0; \
5057 r=`${PWD_COMMAND}`; export r; \
5058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5059 $(HOST_EXPORTS) \
5060 for flag in $(EXTRA_HOST_FLAGS) ; do \
5061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5062 done; \
5063 echo "Doing install-html in bfd" ; \
5064 (cd $(HOST_SUBDIR)/bfd && \
5065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5067 "RANLIB=$${RANLIB}" \
5068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5069 install-html) \
5070 || exit 1
5072 @endif bfd
5074 .PHONY: maybe-installcheck-bfd installcheck-bfd
5075 maybe-installcheck-bfd:
5076 @if bfd
5077 maybe-installcheck-bfd: installcheck-bfd
5079 installcheck-bfd: \
5080 configure-bfd
5081 @[ -f ./bfd/Makefile ] || exit 0; \
5082 r=`${PWD_COMMAND}`; export r; \
5083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5084 $(HOST_EXPORTS) \
5085 for flag in $(EXTRA_HOST_FLAGS) ; do \
5086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5087 done; \
5088 echo "Doing installcheck in bfd" ; \
5089 (cd $(HOST_SUBDIR)/bfd && \
5090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5092 "RANLIB=$${RANLIB}" \
5093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5094 installcheck) \
5095 || exit 1
5097 @endif bfd
5099 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5100 maybe-mostlyclean-bfd:
5101 @if bfd
5102 maybe-mostlyclean-bfd: mostlyclean-bfd
5104 mostlyclean-bfd:
5105 @[ -f ./bfd/Makefile ] || exit 0; \
5106 r=`${PWD_COMMAND}`; export r; \
5107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5108 $(HOST_EXPORTS) \
5109 for flag in $(EXTRA_HOST_FLAGS) ; do \
5110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5111 done; \
5112 echo "Doing mostlyclean in bfd" ; \
5113 (cd $(HOST_SUBDIR)/bfd && \
5114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5116 "RANLIB=$${RANLIB}" \
5117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5118 mostlyclean) \
5119 || exit 1
5121 @endif bfd
5123 .PHONY: maybe-clean-bfd clean-bfd
5124 maybe-clean-bfd:
5125 @if bfd
5126 maybe-clean-bfd: clean-bfd
5128 clean-bfd:
5129 @[ -f ./bfd/Makefile ] || exit 0; \
5130 r=`${PWD_COMMAND}`; export r; \
5131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5132 $(HOST_EXPORTS) \
5133 for flag in $(EXTRA_HOST_FLAGS) ; do \
5134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5135 done; \
5136 echo "Doing clean in bfd" ; \
5137 (cd $(HOST_SUBDIR)/bfd && \
5138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5140 "RANLIB=$${RANLIB}" \
5141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5142 clean) \
5143 || exit 1
5145 @endif bfd
5147 .PHONY: maybe-distclean-bfd distclean-bfd
5148 maybe-distclean-bfd:
5149 @if bfd
5150 maybe-distclean-bfd: distclean-bfd
5152 distclean-bfd:
5153 @[ -f ./bfd/Makefile ] || exit 0; \
5154 r=`${PWD_COMMAND}`; export r; \
5155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5156 $(HOST_EXPORTS) \
5157 for flag in $(EXTRA_HOST_FLAGS) ; do \
5158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5159 done; \
5160 echo "Doing distclean in bfd" ; \
5161 (cd $(HOST_SUBDIR)/bfd && \
5162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5164 "RANLIB=$${RANLIB}" \
5165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5166 distclean) \
5167 || exit 1
5169 @endif bfd
5171 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5172 maybe-maintainer-clean-bfd:
5173 @if bfd
5174 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5176 maintainer-clean-bfd:
5177 @[ -f ./bfd/Makefile ] || exit 0; \
5178 r=`${PWD_COMMAND}`; export r; \
5179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5180 $(HOST_EXPORTS) \
5181 for flag in $(EXTRA_HOST_FLAGS) ; do \
5182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5183 done; \
5184 echo "Doing maintainer-clean in bfd" ; \
5185 (cd $(HOST_SUBDIR)/bfd && \
5186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5188 "RANLIB=$${RANLIB}" \
5189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5190 maintainer-clean) \
5191 || exit 1
5193 @endif bfd
5197 .PHONY: configure-opcodes maybe-configure-opcodes
5198 maybe-configure-opcodes:
5199 @if gcc-bootstrap
5200 configure-opcodes: stage_current
5201 @endif gcc-bootstrap
5202 @if opcodes
5203 maybe-configure-opcodes: configure-opcodes
5204 configure-opcodes:
5205 @r=`${PWD_COMMAND}`; export r; \
5206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5207 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5209 $(HOST_EXPORTS) \
5210 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5211 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5212 case $(srcdir) in \
5213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5214 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5216 esac; \
5217 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5218 libsrcdir="$$s/opcodes"; \
5219 $(SHELL) $${libsrcdir}/configure \
5220 $(HOST_CONFIGARGS) $${srcdiroption} \
5221 || exit 1
5222 @endif opcodes
5226 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5227 maybe-configure-stage1-opcodes:
5228 @if opcodes-bootstrap
5229 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5230 configure-stage1-opcodes:
5231 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5233 @r=`${PWD_COMMAND}`; export r; \
5234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5235 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5236 $(HOST_EXPORTS) \
5237 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5239 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5240 case $(srcdir) in \
5241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5242 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5244 esac; \
5245 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5246 libsrcdir="$$s/opcodes"; \
5247 $(SHELL) $${libsrcdir}/configure \
5248 $(HOST_CONFIGARGS) $${srcdiroption} \
5250 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5251 @endif opcodes-bootstrap
5253 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5254 maybe-configure-stage2-opcodes:
5255 @if opcodes-bootstrap
5256 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5257 configure-stage2-opcodes:
5258 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5260 @r=`${PWD_COMMAND}`; export r; \
5261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5263 $(HOST_EXPORTS) \
5264 $(POSTSTAGE1_HOST_EXPORTS) \
5265 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5267 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5268 case $(srcdir) in \
5269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5270 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5272 esac; \
5273 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5274 libsrcdir="$$s/opcodes"; \
5275 $(SHELL) $${libsrcdir}/configure \
5276 $(HOST_CONFIGARGS) $${srcdiroption} \
5277 --with-build-libsubdir=$(HOST_SUBDIR) \
5278 @stage2_werror_flag@
5279 @endif opcodes-bootstrap
5281 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5282 maybe-configure-stage3-opcodes:
5283 @if opcodes-bootstrap
5284 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5285 configure-stage3-opcodes:
5286 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5288 @r=`${PWD_COMMAND}`; export r; \
5289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5290 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5291 $(HOST_EXPORTS) \
5292 $(POSTSTAGE1_HOST_EXPORTS) \
5293 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5295 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5296 case $(srcdir) in \
5297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5298 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5300 esac; \
5301 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5302 libsrcdir="$$s/opcodes"; \
5303 $(SHELL) $${libsrcdir}/configure \
5304 $(HOST_CONFIGARGS) $${srcdiroption} \
5305 --with-build-libsubdir=$(HOST_SUBDIR) \
5306 @stage2_werror_flag@
5307 @endif opcodes-bootstrap
5309 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5310 maybe-configure-stage4-opcodes:
5311 @if opcodes-bootstrap
5312 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5313 configure-stage4-opcodes:
5314 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5316 @r=`${PWD_COMMAND}`; export r; \
5317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5318 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5319 $(HOST_EXPORTS) \
5320 $(POSTSTAGE1_HOST_EXPORTS) \
5321 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5322 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5323 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5324 case $(srcdir) in \
5325 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5326 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5327 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5328 esac; \
5329 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5330 libsrcdir="$$s/opcodes"; \
5331 $(SHELL) $${libsrcdir}/configure \
5332 $(HOST_CONFIGARGS) $${srcdiroption} \
5333 --with-build-libsubdir=$(HOST_SUBDIR) \
5334 @stage2_werror_flag@
5335 @endif opcodes-bootstrap
5337 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5338 maybe-configure-stageprofile-opcodes:
5339 @if opcodes-bootstrap
5340 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5341 configure-stageprofile-opcodes:
5342 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5344 @r=`${PWD_COMMAND}`; export r; \
5345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5346 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5347 $(HOST_EXPORTS) \
5348 $(POSTSTAGE1_HOST_EXPORTS) \
5349 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5351 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5352 case $(srcdir) in \
5353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5354 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5356 esac; \
5357 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5358 libsrcdir="$$s/opcodes"; \
5359 $(SHELL) $${libsrcdir}/configure \
5360 $(HOST_CONFIGARGS) $${srcdiroption} \
5361 --with-build-libsubdir=$(HOST_SUBDIR) \
5362 @stage2_werror_flag@
5363 @endif opcodes-bootstrap
5365 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5366 maybe-configure-stagefeedback-opcodes:
5367 @if opcodes-bootstrap
5368 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5369 configure-stagefeedback-opcodes:
5370 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5372 @r=`${PWD_COMMAND}`; export r; \
5373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5374 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5375 $(HOST_EXPORTS) \
5376 $(POSTSTAGE1_HOST_EXPORTS) \
5377 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5379 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5380 case $(srcdir) in \
5381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5382 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5384 esac; \
5385 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5386 libsrcdir="$$s/opcodes"; \
5387 $(SHELL) $${libsrcdir}/configure \
5388 $(HOST_CONFIGARGS) $${srcdiroption} \
5389 --with-build-libsubdir=$(HOST_SUBDIR) \
5390 @stage2_werror_flag@
5391 @endif opcodes-bootstrap
5397 .PHONY: all-opcodes maybe-all-opcodes
5398 maybe-all-opcodes:
5399 @if gcc-bootstrap
5400 all-opcodes: stage_current
5401 @endif gcc-bootstrap
5402 @if opcodes
5403 TARGET-opcodes=all
5404 maybe-all-opcodes: all-opcodes
5405 all-opcodes: configure-opcodes
5406 @r=`${PWD_COMMAND}`; export r; \
5407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5408 $(HOST_EXPORTS) \
5409 (cd $(HOST_SUBDIR)/opcodes && \
5410 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5411 @endif opcodes
5415 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5416 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5417 maybe-all-stage1-opcodes:
5418 maybe-clean-stage1-opcodes:
5419 @if opcodes-bootstrap
5420 maybe-all-stage1-opcodes: all-stage1-opcodes
5421 all-stage1: all-stage1-opcodes
5422 TARGET-stage1-opcodes = $(TARGET-opcodes)
5423 all-stage1-opcodes: configure-stage1-opcodes
5424 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5425 @r=`${PWD_COMMAND}`; export r; \
5426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5427 $(HOST_EXPORTS) \
5428 cd $(HOST_SUBDIR)/opcodes && \
5429 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5430 $(TARGET-stage1-opcodes)
5432 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5433 clean-stage1: clean-stage1-opcodes
5434 clean-stage1-opcodes:
5435 @if [ $(current_stage) = stage1 ]; then \
5436 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5437 else \
5438 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5439 $(MAKE) stage1-start; \
5440 fi; \
5441 cd $(HOST_SUBDIR)/opcodes && \
5442 $(MAKE) $(FLAGS_TO_PASS) \
5443 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5444 @endif opcodes-bootstrap
5447 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5448 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5449 maybe-all-stage2-opcodes:
5450 maybe-clean-stage2-opcodes:
5451 @if opcodes-bootstrap
5452 maybe-all-stage2-opcodes: all-stage2-opcodes
5453 all-stage2: all-stage2-opcodes
5454 TARGET-stage2-opcodes = $(TARGET-opcodes)
5455 all-stage2-opcodes: configure-stage2-opcodes
5456 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5457 @r=`${PWD_COMMAND}`; export r; \
5458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5459 $(HOST_EXPORTS) \
5460 $(POSTSTAGE1_HOST_EXPORTS) \
5461 cd $(HOST_SUBDIR)/opcodes && \
5462 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5463 $(TARGET-stage2-opcodes)
5465 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5466 clean-stage2: clean-stage2-opcodes
5467 clean-stage2-opcodes:
5468 @if [ $(current_stage) = stage2 ]; then \
5469 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5470 else \
5471 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5472 $(MAKE) stage2-start; \
5473 fi; \
5474 cd $(HOST_SUBDIR)/opcodes && \
5475 $(MAKE) $(FLAGS_TO_PASS) \
5476 $(POSTSTAGE1_FLAGS_TO_PASS) \
5477 clean
5478 @endif opcodes-bootstrap
5481 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5482 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5483 maybe-all-stage3-opcodes:
5484 maybe-clean-stage3-opcodes:
5485 @if opcodes-bootstrap
5486 maybe-all-stage3-opcodes: all-stage3-opcodes
5487 all-stage3: all-stage3-opcodes
5488 TARGET-stage3-opcodes = $(TARGET-opcodes)
5489 all-stage3-opcodes: configure-stage3-opcodes
5490 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5491 @r=`${PWD_COMMAND}`; export r; \
5492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5493 $(HOST_EXPORTS) \
5494 $(POSTSTAGE1_HOST_EXPORTS) \
5495 cd $(HOST_SUBDIR)/opcodes && \
5496 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5497 $(TARGET-stage3-opcodes)
5499 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5500 clean-stage3: clean-stage3-opcodes
5501 clean-stage3-opcodes:
5502 @if [ $(current_stage) = stage3 ]; then \
5503 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5504 else \
5505 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5506 $(MAKE) stage3-start; \
5507 fi; \
5508 cd $(HOST_SUBDIR)/opcodes && \
5509 $(MAKE) $(FLAGS_TO_PASS) \
5510 $(POSTSTAGE1_FLAGS_TO_PASS) \
5511 clean
5512 @endif opcodes-bootstrap
5515 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5516 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5517 maybe-all-stage4-opcodes:
5518 maybe-clean-stage4-opcodes:
5519 @if opcodes-bootstrap
5520 maybe-all-stage4-opcodes: all-stage4-opcodes
5521 all-stage4: all-stage4-opcodes
5522 TARGET-stage4-opcodes = $(TARGET-opcodes)
5523 all-stage4-opcodes: configure-stage4-opcodes
5524 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5525 @r=`${PWD_COMMAND}`; export r; \
5526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5527 $(HOST_EXPORTS) \
5528 $(POSTSTAGE1_HOST_EXPORTS) \
5529 cd $(HOST_SUBDIR)/opcodes && \
5530 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5531 $(TARGET-stage4-opcodes)
5533 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5534 clean-stage4: clean-stage4-opcodes
5535 clean-stage4-opcodes:
5536 @if [ $(current_stage) = stage4 ]; then \
5537 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5538 else \
5539 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5540 $(MAKE) stage4-start; \
5541 fi; \
5542 cd $(HOST_SUBDIR)/opcodes && \
5543 $(MAKE) $(FLAGS_TO_PASS) \
5544 $(POSTSTAGE1_FLAGS_TO_PASS) \
5545 clean
5546 @endif opcodes-bootstrap
5549 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5550 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5551 maybe-all-stageprofile-opcodes:
5552 maybe-clean-stageprofile-opcodes:
5553 @if opcodes-bootstrap
5554 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5555 all-stageprofile: all-stageprofile-opcodes
5556 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5557 all-stageprofile-opcodes: configure-stageprofile-opcodes
5558 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5559 @r=`${PWD_COMMAND}`; export r; \
5560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5561 $(HOST_EXPORTS) \
5562 $(POSTSTAGE1_HOST_EXPORTS) \
5563 cd $(HOST_SUBDIR)/opcodes && \
5564 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5565 $(TARGET-stageprofile-opcodes)
5567 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5568 clean-stageprofile: clean-stageprofile-opcodes
5569 clean-stageprofile-opcodes:
5570 @if [ $(current_stage) = stageprofile ]; then \
5571 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5572 else \
5573 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5574 $(MAKE) stageprofile-start; \
5575 fi; \
5576 cd $(HOST_SUBDIR)/opcodes && \
5577 $(MAKE) $(FLAGS_TO_PASS) \
5578 $(POSTSTAGE1_FLAGS_TO_PASS) \
5579 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5580 @endif opcodes-bootstrap
5583 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5584 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5585 maybe-all-stagefeedback-opcodes:
5586 maybe-clean-stagefeedback-opcodes:
5587 @if opcodes-bootstrap
5588 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5589 all-stagefeedback: all-stagefeedback-opcodes
5590 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5591 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5592 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5593 @r=`${PWD_COMMAND}`; export r; \
5594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5595 $(HOST_EXPORTS) \
5596 $(POSTSTAGE1_HOST_EXPORTS) \
5597 cd $(HOST_SUBDIR)/opcodes && \
5598 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5599 $(TARGET-stagefeedback-opcodes)
5601 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5602 clean-stagefeedback: clean-stagefeedback-opcodes
5603 clean-stagefeedback-opcodes:
5604 @if [ $(current_stage) = stagefeedback ]; then \
5605 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5606 else \
5607 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5608 $(MAKE) stagefeedback-start; \
5609 fi; \
5610 cd $(HOST_SUBDIR)/opcodes && \
5611 $(MAKE) $(FLAGS_TO_PASS) \
5612 $(POSTSTAGE1_FLAGS_TO_PASS) \
5613 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5614 @endif opcodes-bootstrap
5620 .PHONY: check-opcodes maybe-check-opcodes
5621 maybe-check-opcodes:
5622 @if opcodes
5623 maybe-check-opcodes: check-opcodes
5625 check-opcodes:
5626 @: $(MAKE); $(unstage)
5627 @r=`${PWD_COMMAND}`; export r; \
5628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5629 $(HOST_EXPORTS) \
5630 (cd $(HOST_SUBDIR)/opcodes && \
5631 $(MAKE) $(FLAGS_TO_PASS) check)
5633 @endif opcodes
5635 .PHONY: install-opcodes maybe-install-opcodes
5636 maybe-install-opcodes:
5637 @if opcodes
5638 maybe-install-opcodes: install-opcodes
5640 install-opcodes: installdirs
5641 @: $(MAKE); $(unstage)
5642 @r=`${PWD_COMMAND}`; export r; \
5643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5644 $(HOST_EXPORTS) \
5645 (cd $(HOST_SUBDIR)/opcodes && \
5646 $(MAKE) $(FLAGS_TO_PASS) install)
5648 @endif opcodes
5650 # Other targets (info, dvi, pdf, etc.)
5652 .PHONY: maybe-info-opcodes info-opcodes
5653 maybe-info-opcodes:
5654 @if opcodes
5655 maybe-info-opcodes: info-opcodes
5657 info-opcodes: \
5658 configure-opcodes
5659 @[ -f ./opcodes/Makefile ] || exit 0; \
5660 r=`${PWD_COMMAND}`; export r; \
5661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5662 $(HOST_EXPORTS) \
5663 for flag in $(EXTRA_HOST_FLAGS) ; do \
5664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5665 done; \
5666 echo "Doing info in opcodes" ; \
5667 (cd $(HOST_SUBDIR)/opcodes && \
5668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5670 "RANLIB=$${RANLIB}" \
5671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5672 info) \
5673 || exit 1
5675 @endif opcodes
5677 .PHONY: maybe-dvi-opcodes dvi-opcodes
5678 maybe-dvi-opcodes:
5679 @if opcodes
5680 maybe-dvi-opcodes: dvi-opcodes
5682 dvi-opcodes: \
5683 configure-opcodes
5684 @[ -f ./opcodes/Makefile ] || exit 0; \
5685 r=`${PWD_COMMAND}`; export r; \
5686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5687 $(HOST_EXPORTS) \
5688 for flag in $(EXTRA_HOST_FLAGS) ; do \
5689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5690 done; \
5691 echo "Doing dvi in opcodes" ; \
5692 (cd $(HOST_SUBDIR)/opcodes && \
5693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5695 "RANLIB=$${RANLIB}" \
5696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5697 dvi) \
5698 || exit 1
5700 @endif opcodes
5702 .PHONY: maybe-pdf-opcodes pdf-opcodes
5703 maybe-pdf-opcodes:
5704 @if opcodes
5705 maybe-pdf-opcodes: pdf-opcodes
5707 pdf-opcodes: \
5708 configure-opcodes
5709 @[ -f ./opcodes/Makefile ] || exit 0; \
5710 r=`${PWD_COMMAND}`; export r; \
5711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5712 $(HOST_EXPORTS) \
5713 for flag in $(EXTRA_HOST_FLAGS) ; do \
5714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5715 done; \
5716 echo "Doing pdf in opcodes" ; \
5717 (cd $(HOST_SUBDIR)/opcodes && \
5718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5720 "RANLIB=$${RANLIB}" \
5721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5722 pdf) \
5723 || exit 1
5725 @endif opcodes
5727 .PHONY: maybe-html-opcodes html-opcodes
5728 maybe-html-opcodes:
5729 @if opcodes
5730 maybe-html-opcodes: html-opcodes
5732 html-opcodes: \
5733 configure-opcodes
5734 @[ -f ./opcodes/Makefile ] || exit 0; \
5735 r=`${PWD_COMMAND}`; export r; \
5736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5737 $(HOST_EXPORTS) \
5738 for flag in $(EXTRA_HOST_FLAGS) ; do \
5739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5740 done; \
5741 echo "Doing html in opcodes" ; \
5742 (cd $(HOST_SUBDIR)/opcodes && \
5743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5745 "RANLIB=$${RANLIB}" \
5746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5747 html) \
5748 || exit 1
5750 @endif opcodes
5752 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5753 maybe-TAGS-opcodes:
5754 @if opcodes
5755 maybe-TAGS-opcodes: TAGS-opcodes
5757 TAGS-opcodes: \
5758 configure-opcodes
5759 @[ -f ./opcodes/Makefile ] || exit 0; \
5760 r=`${PWD_COMMAND}`; export r; \
5761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5762 $(HOST_EXPORTS) \
5763 for flag in $(EXTRA_HOST_FLAGS) ; do \
5764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5765 done; \
5766 echo "Doing TAGS in opcodes" ; \
5767 (cd $(HOST_SUBDIR)/opcodes && \
5768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5770 "RANLIB=$${RANLIB}" \
5771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5772 TAGS) \
5773 || exit 1
5775 @endif opcodes
5777 .PHONY: maybe-install-info-opcodes install-info-opcodes
5778 maybe-install-info-opcodes:
5779 @if opcodes
5780 maybe-install-info-opcodes: install-info-opcodes
5782 install-info-opcodes: \
5783 configure-opcodes \
5784 info-opcodes
5785 @[ -f ./opcodes/Makefile ] || exit 0; \
5786 r=`${PWD_COMMAND}`; export r; \
5787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5788 $(HOST_EXPORTS) \
5789 for flag in $(EXTRA_HOST_FLAGS) ; do \
5790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5791 done; \
5792 echo "Doing install-info in opcodes" ; \
5793 (cd $(HOST_SUBDIR)/opcodes && \
5794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5796 "RANLIB=$${RANLIB}" \
5797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5798 install-info) \
5799 || exit 1
5801 @endif opcodes
5803 .PHONY: maybe-install-html-opcodes install-html-opcodes
5804 maybe-install-html-opcodes:
5805 @if opcodes
5806 maybe-install-html-opcodes: install-html-opcodes
5808 install-html-opcodes: \
5809 configure-opcodes \
5810 html-opcodes
5811 @[ -f ./opcodes/Makefile ] || exit 0; \
5812 r=`${PWD_COMMAND}`; export r; \
5813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5814 $(HOST_EXPORTS) \
5815 for flag in $(EXTRA_HOST_FLAGS) ; do \
5816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5817 done; \
5818 echo "Doing install-html in opcodes" ; \
5819 (cd $(HOST_SUBDIR)/opcodes && \
5820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5822 "RANLIB=$${RANLIB}" \
5823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5824 install-html) \
5825 || exit 1
5827 @endif opcodes
5829 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5830 maybe-installcheck-opcodes:
5831 @if opcodes
5832 maybe-installcheck-opcodes: installcheck-opcodes
5834 installcheck-opcodes: \
5835 configure-opcodes
5836 @[ -f ./opcodes/Makefile ] || exit 0; \
5837 r=`${PWD_COMMAND}`; export r; \
5838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5839 $(HOST_EXPORTS) \
5840 for flag in $(EXTRA_HOST_FLAGS) ; do \
5841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5842 done; \
5843 echo "Doing installcheck in opcodes" ; \
5844 (cd $(HOST_SUBDIR)/opcodes && \
5845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5847 "RANLIB=$${RANLIB}" \
5848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5849 installcheck) \
5850 || exit 1
5852 @endif opcodes
5854 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5855 maybe-mostlyclean-opcodes:
5856 @if opcodes
5857 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5859 mostlyclean-opcodes:
5860 @[ -f ./opcodes/Makefile ] || exit 0; \
5861 r=`${PWD_COMMAND}`; export r; \
5862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5863 $(HOST_EXPORTS) \
5864 for flag in $(EXTRA_HOST_FLAGS) ; do \
5865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5866 done; \
5867 echo "Doing mostlyclean in opcodes" ; \
5868 (cd $(HOST_SUBDIR)/opcodes && \
5869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5871 "RANLIB=$${RANLIB}" \
5872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5873 mostlyclean) \
5874 || exit 1
5876 @endif opcodes
5878 .PHONY: maybe-clean-opcodes clean-opcodes
5879 maybe-clean-opcodes:
5880 @if opcodes
5881 maybe-clean-opcodes: clean-opcodes
5883 clean-opcodes:
5884 @[ -f ./opcodes/Makefile ] || exit 0; \
5885 r=`${PWD_COMMAND}`; export r; \
5886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5887 $(HOST_EXPORTS) \
5888 for flag in $(EXTRA_HOST_FLAGS) ; do \
5889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5890 done; \
5891 echo "Doing clean in opcodes" ; \
5892 (cd $(HOST_SUBDIR)/opcodes && \
5893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5895 "RANLIB=$${RANLIB}" \
5896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5897 clean) \
5898 || exit 1
5900 @endif opcodes
5902 .PHONY: maybe-distclean-opcodes distclean-opcodes
5903 maybe-distclean-opcodes:
5904 @if opcodes
5905 maybe-distclean-opcodes: distclean-opcodes
5907 distclean-opcodes:
5908 @[ -f ./opcodes/Makefile ] || exit 0; \
5909 r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 $(HOST_EXPORTS) \
5912 for flag in $(EXTRA_HOST_FLAGS) ; do \
5913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5914 done; \
5915 echo "Doing distclean in opcodes" ; \
5916 (cd $(HOST_SUBDIR)/opcodes && \
5917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5919 "RANLIB=$${RANLIB}" \
5920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5921 distclean) \
5922 || exit 1
5924 @endif opcodes
5926 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5927 maybe-maintainer-clean-opcodes:
5928 @if opcodes
5929 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5931 maintainer-clean-opcodes:
5932 @[ -f ./opcodes/Makefile ] || exit 0; \
5933 r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 $(HOST_EXPORTS) \
5936 for flag in $(EXTRA_HOST_FLAGS) ; do \
5937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5938 done; \
5939 echo "Doing maintainer-clean in opcodes" ; \
5940 (cd $(HOST_SUBDIR)/opcodes && \
5941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5943 "RANLIB=$${RANLIB}" \
5944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5945 maintainer-clean) \
5946 || exit 1
5948 @endif opcodes
5952 .PHONY: configure-binutils maybe-configure-binutils
5953 maybe-configure-binutils:
5954 @if gcc-bootstrap
5955 configure-binutils: stage_current
5956 @endif gcc-bootstrap
5957 @if binutils
5958 maybe-configure-binutils: configure-binutils
5959 configure-binutils:
5960 @r=`${PWD_COMMAND}`; export r; \
5961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5962 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5964 $(HOST_EXPORTS) \
5965 echo Configuring in $(HOST_SUBDIR)/binutils; \
5966 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5967 case $(srcdir) in \
5968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5969 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5971 esac; \
5972 srcdiroption="--srcdir=$${topdir}/binutils"; \
5973 libsrcdir="$$s/binutils"; \
5974 $(SHELL) $${libsrcdir}/configure \
5975 $(HOST_CONFIGARGS) $${srcdiroption} \
5976 || exit 1
5977 @endif binutils
5981 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5982 maybe-configure-stage1-binutils:
5983 @if binutils-bootstrap
5984 maybe-configure-stage1-binutils: configure-stage1-binutils
5985 configure-stage1-binutils:
5986 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5988 @r=`${PWD_COMMAND}`; export r; \
5989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5990 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5991 $(HOST_EXPORTS) \
5992 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5994 cd $(HOST_SUBDIR)/binutils || exit 1; \
5995 case $(srcdir) in \
5996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5997 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5999 esac; \
6000 srcdiroption="--srcdir=$${topdir}/binutils"; \
6001 libsrcdir="$$s/binutils"; \
6002 $(SHELL) $${libsrcdir}/configure \
6003 $(HOST_CONFIGARGS) $${srcdiroption} \
6005 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6006 @endif binutils-bootstrap
6008 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6009 maybe-configure-stage2-binutils:
6010 @if binutils-bootstrap
6011 maybe-configure-stage2-binutils: configure-stage2-binutils
6012 configure-stage2-binutils:
6013 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6015 @r=`${PWD_COMMAND}`; export r; \
6016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6017 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6018 $(HOST_EXPORTS) \
6019 $(POSTSTAGE1_HOST_EXPORTS) \
6020 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6022 cd $(HOST_SUBDIR)/binutils || exit 1; \
6023 case $(srcdir) in \
6024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6025 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6027 esac; \
6028 srcdiroption="--srcdir=$${topdir}/binutils"; \
6029 libsrcdir="$$s/binutils"; \
6030 $(SHELL) $${libsrcdir}/configure \
6031 $(HOST_CONFIGARGS) $${srcdiroption} \
6032 --with-build-libsubdir=$(HOST_SUBDIR) \
6033 @stage2_werror_flag@
6034 @endif binutils-bootstrap
6036 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6037 maybe-configure-stage3-binutils:
6038 @if binutils-bootstrap
6039 maybe-configure-stage3-binutils: configure-stage3-binutils
6040 configure-stage3-binutils:
6041 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6043 @r=`${PWD_COMMAND}`; export r; \
6044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6045 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6046 $(HOST_EXPORTS) \
6047 $(POSTSTAGE1_HOST_EXPORTS) \
6048 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6050 cd $(HOST_SUBDIR)/binutils || exit 1; \
6051 case $(srcdir) in \
6052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6053 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6055 esac; \
6056 srcdiroption="--srcdir=$${topdir}/binutils"; \
6057 libsrcdir="$$s/binutils"; \
6058 $(SHELL) $${libsrcdir}/configure \
6059 $(HOST_CONFIGARGS) $${srcdiroption} \
6060 --with-build-libsubdir=$(HOST_SUBDIR) \
6061 @stage2_werror_flag@
6062 @endif binutils-bootstrap
6064 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6065 maybe-configure-stage4-binutils:
6066 @if binutils-bootstrap
6067 maybe-configure-stage4-binutils: configure-stage4-binutils
6068 configure-stage4-binutils:
6069 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6071 @r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6074 $(HOST_EXPORTS) \
6075 $(POSTSTAGE1_HOST_EXPORTS) \
6076 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6078 cd $(HOST_SUBDIR)/binutils || exit 1; \
6079 case $(srcdir) in \
6080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6081 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6083 esac; \
6084 srcdiroption="--srcdir=$${topdir}/binutils"; \
6085 libsrcdir="$$s/binutils"; \
6086 $(SHELL) $${libsrcdir}/configure \
6087 $(HOST_CONFIGARGS) $${srcdiroption} \
6088 --with-build-libsubdir=$(HOST_SUBDIR) \
6089 @stage2_werror_flag@
6090 @endif binutils-bootstrap
6092 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6093 maybe-configure-stageprofile-binutils:
6094 @if binutils-bootstrap
6095 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6096 configure-stageprofile-binutils:
6097 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6098 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6099 @r=`${PWD_COMMAND}`; export r; \
6100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6101 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6102 $(HOST_EXPORTS) \
6103 $(POSTSTAGE1_HOST_EXPORTS) \
6104 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6106 cd $(HOST_SUBDIR)/binutils || exit 1; \
6107 case $(srcdir) in \
6108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6109 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6111 esac; \
6112 srcdiroption="--srcdir=$${topdir}/binutils"; \
6113 libsrcdir="$$s/binutils"; \
6114 $(SHELL) $${libsrcdir}/configure \
6115 $(HOST_CONFIGARGS) $${srcdiroption} \
6116 --with-build-libsubdir=$(HOST_SUBDIR) \
6117 @stage2_werror_flag@
6118 @endif binutils-bootstrap
6120 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6121 maybe-configure-stagefeedback-binutils:
6122 @if binutils-bootstrap
6123 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6124 configure-stagefeedback-binutils:
6125 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6127 @r=`${PWD_COMMAND}`; export r; \
6128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6129 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6130 $(HOST_EXPORTS) \
6131 $(POSTSTAGE1_HOST_EXPORTS) \
6132 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6134 cd $(HOST_SUBDIR)/binutils || exit 1; \
6135 case $(srcdir) in \
6136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6137 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6139 esac; \
6140 srcdiroption="--srcdir=$${topdir}/binutils"; \
6141 libsrcdir="$$s/binutils"; \
6142 $(SHELL) $${libsrcdir}/configure \
6143 $(HOST_CONFIGARGS) $${srcdiroption} \
6144 --with-build-libsubdir=$(HOST_SUBDIR) \
6145 @stage2_werror_flag@
6146 @endif binutils-bootstrap
6152 .PHONY: all-binutils maybe-all-binutils
6153 maybe-all-binutils:
6154 @if gcc-bootstrap
6155 all-binutils: stage_current
6156 @endif gcc-bootstrap
6157 @if binutils
6158 TARGET-binutils=all
6159 maybe-all-binutils: all-binutils
6160 all-binutils: configure-binutils
6161 @r=`${PWD_COMMAND}`; export r; \
6162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6163 $(HOST_EXPORTS) \
6164 (cd $(HOST_SUBDIR)/binutils && \
6165 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6166 @endif binutils
6170 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6171 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6172 maybe-all-stage1-binutils:
6173 maybe-clean-stage1-binutils:
6174 @if binutils-bootstrap
6175 maybe-all-stage1-binutils: all-stage1-binutils
6176 all-stage1: all-stage1-binutils
6177 TARGET-stage1-binutils = $(TARGET-binutils)
6178 all-stage1-binutils: configure-stage1-binutils
6179 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6180 @r=`${PWD_COMMAND}`; export r; \
6181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6182 $(HOST_EXPORTS) \
6183 cd $(HOST_SUBDIR)/binutils && \
6184 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6185 $(TARGET-stage1-binutils)
6187 maybe-clean-stage1-binutils: clean-stage1-binutils
6188 clean-stage1: clean-stage1-binutils
6189 clean-stage1-binutils:
6190 @if [ $(current_stage) = stage1 ]; then \
6191 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6192 else \
6193 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6194 $(MAKE) stage1-start; \
6195 fi; \
6196 cd $(HOST_SUBDIR)/binutils && \
6197 $(MAKE) $(FLAGS_TO_PASS) \
6198 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6199 @endif binutils-bootstrap
6202 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6203 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6204 maybe-all-stage2-binutils:
6205 maybe-clean-stage2-binutils:
6206 @if binutils-bootstrap
6207 maybe-all-stage2-binutils: all-stage2-binutils
6208 all-stage2: all-stage2-binutils
6209 TARGET-stage2-binutils = $(TARGET-binutils)
6210 all-stage2-binutils: configure-stage2-binutils
6211 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6212 @r=`${PWD_COMMAND}`; export r; \
6213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6214 $(HOST_EXPORTS) \
6215 $(POSTSTAGE1_HOST_EXPORTS) \
6216 cd $(HOST_SUBDIR)/binutils && \
6217 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6218 $(TARGET-stage2-binutils)
6220 maybe-clean-stage2-binutils: clean-stage2-binutils
6221 clean-stage2: clean-stage2-binutils
6222 clean-stage2-binutils:
6223 @if [ $(current_stage) = stage2 ]; then \
6224 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6225 else \
6226 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6227 $(MAKE) stage2-start; \
6228 fi; \
6229 cd $(HOST_SUBDIR)/binutils && \
6230 $(MAKE) $(FLAGS_TO_PASS) \
6231 $(POSTSTAGE1_FLAGS_TO_PASS) \
6232 clean
6233 @endif binutils-bootstrap
6236 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6237 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6238 maybe-all-stage3-binutils:
6239 maybe-clean-stage3-binutils:
6240 @if binutils-bootstrap
6241 maybe-all-stage3-binutils: all-stage3-binutils
6242 all-stage3: all-stage3-binutils
6243 TARGET-stage3-binutils = $(TARGET-binutils)
6244 all-stage3-binutils: configure-stage3-binutils
6245 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6246 @r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(HOST_EXPORTS) \
6249 $(POSTSTAGE1_HOST_EXPORTS) \
6250 cd $(HOST_SUBDIR)/binutils && \
6251 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6252 $(TARGET-stage3-binutils)
6254 maybe-clean-stage3-binutils: clean-stage3-binutils
6255 clean-stage3: clean-stage3-binutils
6256 clean-stage3-binutils:
6257 @if [ $(current_stage) = stage3 ]; then \
6258 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6259 else \
6260 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6261 $(MAKE) stage3-start; \
6262 fi; \
6263 cd $(HOST_SUBDIR)/binutils && \
6264 $(MAKE) $(FLAGS_TO_PASS) \
6265 $(POSTSTAGE1_FLAGS_TO_PASS) \
6266 clean
6267 @endif binutils-bootstrap
6270 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6271 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6272 maybe-all-stage4-binutils:
6273 maybe-clean-stage4-binutils:
6274 @if binutils-bootstrap
6275 maybe-all-stage4-binutils: all-stage4-binutils
6276 all-stage4: all-stage4-binutils
6277 TARGET-stage4-binutils = $(TARGET-binutils)
6278 all-stage4-binutils: configure-stage4-binutils
6279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6280 @r=`${PWD_COMMAND}`; export r; \
6281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6282 $(HOST_EXPORTS) \
6283 $(POSTSTAGE1_HOST_EXPORTS) \
6284 cd $(HOST_SUBDIR)/binutils && \
6285 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6286 $(TARGET-stage4-binutils)
6288 maybe-clean-stage4-binutils: clean-stage4-binutils
6289 clean-stage4: clean-stage4-binutils
6290 clean-stage4-binutils:
6291 @if [ $(current_stage) = stage4 ]; then \
6292 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6293 else \
6294 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6295 $(MAKE) stage4-start; \
6296 fi; \
6297 cd $(HOST_SUBDIR)/binutils && \
6298 $(MAKE) $(FLAGS_TO_PASS) \
6299 $(POSTSTAGE1_FLAGS_TO_PASS) \
6300 clean
6301 @endif binutils-bootstrap
6304 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6305 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6306 maybe-all-stageprofile-binutils:
6307 maybe-clean-stageprofile-binutils:
6308 @if binutils-bootstrap
6309 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6310 all-stageprofile: all-stageprofile-binutils
6311 TARGET-stageprofile-binutils = $(TARGET-binutils)
6312 all-stageprofile-binutils: configure-stageprofile-binutils
6313 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6314 @r=`${PWD_COMMAND}`; export r; \
6315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6316 $(HOST_EXPORTS) \
6317 $(POSTSTAGE1_HOST_EXPORTS) \
6318 cd $(HOST_SUBDIR)/binutils && \
6319 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6320 $(TARGET-stageprofile-binutils)
6322 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6323 clean-stageprofile: clean-stageprofile-binutils
6324 clean-stageprofile-binutils:
6325 @if [ $(current_stage) = stageprofile ]; then \
6326 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6327 else \
6328 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6329 $(MAKE) stageprofile-start; \
6330 fi; \
6331 cd $(HOST_SUBDIR)/binutils && \
6332 $(MAKE) $(FLAGS_TO_PASS) \
6333 $(POSTSTAGE1_FLAGS_TO_PASS) \
6334 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6335 @endif binutils-bootstrap
6338 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6339 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6340 maybe-all-stagefeedback-binutils:
6341 maybe-clean-stagefeedback-binutils:
6342 @if binutils-bootstrap
6343 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6344 all-stagefeedback: all-stagefeedback-binutils
6345 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6346 all-stagefeedback-binutils: configure-stagefeedback-binutils
6347 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6348 @r=`${PWD_COMMAND}`; export r; \
6349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6350 $(HOST_EXPORTS) \
6351 $(POSTSTAGE1_HOST_EXPORTS) \
6352 cd $(HOST_SUBDIR)/binutils && \
6353 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6354 $(TARGET-stagefeedback-binutils)
6356 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6357 clean-stagefeedback: clean-stagefeedback-binutils
6358 clean-stagefeedback-binutils:
6359 @if [ $(current_stage) = stagefeedback ]; then \
6360 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6361 else \
6362 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6363 $(MAKE) stagefeedback-start; \
6364 fi; \
6365 cd $(HOST_SUBDIR)/binutils && \
6366 $(MAKE) $(FLAGS_TO_PASS) \
6367 $(POSTSTAGE1_FLAGS_TO_PASS) \
6368 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6369 @endif binutils-bootstrap
6375 .PHONY: check-binutils maybe-check-binutils
6376 maybe-check-binutils:
6377 @if binutils
6378 maybe-check-binutils: check-binutils
6380 check-binutils:
6381 @: $(MAKE); $(unstage)
6382 @r=`${PWD_COMMAND}`; export r; \
6383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6384 $(HOST_EXPORTS) \
6385 (cd $(HOST_SUBDIR)/binutils && \
6386 $(MAKE) $(FLAGS_TO_PASS) check)
6388 @endif binutils
6390 .PHONY: install-binutils maybe-install-binutils
6391 maybe-install-binutils:
6392 @if binutils
6393 maybe-install-binutils: install-binutils
6395 install-binutils: installdirs
6396 @: $(MAKE); $(unstage)
6397 @r=`${PWD_COMMAND}`; export r; \
6398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6399 $(HOST_EXPORTS) \
6400 (cd $(HOST_SUBDIR)/binutils && \
6401 $(MAKE) $(FLAGS_TO_PASS) install)
6403 @endif binutils
6405 # Other targets (info, dvi, pdf, etc.)
6407 .PHONY: maybe-info-binutils info-binutils
6408 maybe-info-binutils:
6409 @if binutils
6410 maybe-info-binutils: info-binutils
6412 info-binutils: \
6413 configure-binutils
6414 @[ -f ./binutils/Makefile ] || exit 0; \
6415 r=`${PWD_COMMAND}`; export r; \
6416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6417 $(HOST_EXPORTS) \
6418 for flag in $(EXTRA_HOST_FLAGS) ; do \
6419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6420 done; \
6421 echo "Doing info in binutils" ; \
6422 (cd $(HOST_SUBDIR)/binutils && \
6423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6425 "RANLIB=$${RANLIB}" \
6426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6427 info) \
6428 || exit 1
6430 @endif binutils
6432 .PHONY: maybe-dvi-binutils dvi-binutils
6433 maybe-dvi-binutils:
6434 @if binutils
6435 maybe-dvi-binutils: dvi-binutils
6437 dvi-binutils: \
6438 configure-binutils
6439 @[ -f ./binutils/Makefile ] || exit 0; \
6440 r=`${PWD_COMMAND}`; export r; \
6441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6442 $(HOST_EXPORTS) \
6443 for flag in $(EXTRA_HOST_FLAGS) ; do \
6444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6445 done; \
6446 echo "Doing dvi in binutils" ; \
6447 (cd $(HOST_SUBDIR)/binutils && \
6448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6450 "RANLIB=$${RANLIB}" \
6451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6452 dvi) \
6453 || exit 1
6455 @endif binutils
6457 .PHONY: maybe-pdf-binutils pdf-binutils
6458 maybe-pdf-binutils:
6459 @if binutils
6460 maybe-pdf-binutils: pdf-binutils
6462 pdf-binutils: \
6463 configure-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 pdf 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 pdf) \
6478 || exit 1
6480 @endif binutils
6482 .PHONY: maybe-html-binutils html-binutils
6483 maybe-html-binutils:
6484 @if binutils
6485 maybe-html-binutils: html-binutils
6487 html-binutils: \
6488 configure-binutils
6489 @[ -f ./binutils/Makefile ] || exit 0; \
6490 r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6492 $(HOST_EXPORTS) \
6493 for flag in $(EXTRA_HOST_FLAGS) ; do \
6494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6495 done; \
6496 echo "Doing html in binutils" ; \
6497 (cd $(HOST_SUBDIR)/binutils && \
6498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6500 "RANLIB=$${RANLIB}" \
6501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6502 html) \
6503 || exit 1
6505 @endif binutils
6507 .PHONY: maybe-TAGS-binutils TAGS-binutils
6508 maybe-TAGS-binutils:
6509 @if binutils
6510 maybe-TAGS-binutils: TAGS-binutils
6512 TAGS-binutils: \
6513 configure-binutils
6514 @[ -f ./binutils/Makefile ] || exit 0; \
6515 r=`${PWD_COMMAND}`; export r; \
6516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6517 $(HOST_EXPORTS) \
6518 for flag in $(EXTRA_HOST_FLAGS) ; do \
6519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6520 done; \
6521 echo "Doing TAGS in binutils" ; \
6522 (cd $(HOST_SUBDIR)/binutils && \
6523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6525 "RANLIB=$${RANLIB}" \
6526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6527 TAGS) \
6528 || exit 1
6530 @endif binutils
6532 .PHONY: maybe-install-info-binutils install-info-binutils
6533 maybe-install-info-binutils:
6534 @if binutils
6535 maybe-install-info-binutils: install-info-binutils
6537 install-info-binutils: \
6538 configure-binutils \
6539 info-binutils
6540 @[ -f ./binutils/Makefile ] || exit 0; \
6541 r=`${PWD_COMMAND}`; export r; \
6542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6543 $(HOST_EXPORTS) \
6544 for flag in $(EXTRA_HOST_FLAGS) ; do \
6545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6546 done; \
6547 echo "Doing install-info in binutils" ; \
6548 (cd $(HOST_SUBDIR)/binutils && \
6549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6551 "RANLIB=$${RANLIB}" \
6552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6553 install-info) \
6554 || exit 1
6556 @endif binutils
6558 .PHONY: maybe-install-html-binutils install-html-binutils
6559 maybe-install-html-binutils:
6560 @if binutils
6561 maybe-install-html-binutils: install-html-binutils
6563 install-html-binutils: \
6564 configure-binutils \
6565 html-binutils
6566 @[ -f ./binutils/Makefile ] || exit 0; \
6567 r=`${PWD_COMMAND}`; export r; \
6568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6569 $(HOST_EXPORTS) \
6570 for flag in $(EXTRA_HOST_FLAGS) ; do \
6571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6572 done; \
6573 echo "Doing install-html in binutils" ; \
6574 (cd $(HOST_SUBDIR)/binutils && \
6575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6577 "RANLIB=$${RANLIB}" \
6578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6579 install-html) \
6580 || exit 1
6582 @endif binutils
6584 .PHONY: maybe-installcheck-binutils installcheck-binutils
6585 maybe-installcheck-binutils:
6586 @if binutils
6587 maybe-installcheck-binutils: installcheck-binutils
6589 installcheck-binutils: \
6590 configure-binutils
6591 @[ -f ./binutils/Makefile ] || exit 0; \
6592 r=`${PWD_COMMAND}`; export r; \
6593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6594 $(HOST_EXPORTS) \
6595 for flag in $(EXTRA_HOST_FLAGS) ; do \
6596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6597 done; \
6598 echo "Doing installcheck in binutils" ; \
6599 (cd $(HOST_SUBDIR)/binutils && \
6600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6602 "RANLIB=$${RANLIB}" \
6603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6604 installcheck) \
6605 || exit 1
6607 @endif binutils
6609 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6610 maybe-mostlyclean-binutils:
6611 @if binutils
6612 maybe-mostlyclean-binutils: mostlyclean-binutils
6614 mostlyclean-binutils:
6615 @[ -f ./binutils/Makefile ] || exit 0; \
6616 r=`${PWD_COMMAND}`; export r; \
6617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618 $(HOST_EXPORTS) \
6619 for flag in $(EXTRA_HOST_FLAGS) ; do \
6620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6621 done; \
6622 echo "Doing mostlyclean in binutils" ; \
6623 (cd $(HOST_SUBDIR)/binutils && \
6624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6626 "RANLIB=$${RANLIB}" \
6627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6628 mostlyclean) \
6629 || exit 1
6631 @endif binutils
6633 .PHONY: maybe-clean-binutils clean-binutils
6634 maybe-clean-binutils:
6635 @if binutils
6636 maybe-clean-binutils: clean-binutils
6638 clean-binutils:
6639 @[ -f ./binutils/Makefile ] || exit 0; \
6640 r=`${PWD_COMMAND}`; export r; \
6641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6642 $(HOST_EXPORTS) \
6643 for flag in $(EXTRA_HOST_FLAGS) ; do \
6644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6645 done; \
6646 echo "Doing clean in binutils" ; \
6647 (cd $(HOST_SUBDIR)/binutils && \
6648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6650 "RANLIB=$${RANLIB}" \
6651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6652 clean) \
6653 || exit 1
6655 @endif binutils
6657 .PHONY: maybe-distclean-binutils distclean-binutils
6658 maybe-distclean-binutils:
6659 @if binutils
6660 maybe-distclean-binutils: distclean-binutils
6662 distclean-binutils:
6663 @[ -f ./binutils/Makefile ] || exit 0; \
6664 r=`${PWD_COMMAND}`; export r; \
6665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6666 $(HOST_EXPORTS) \
6667 for flag in $(EXTRA_HOST_FLAGS) ; do \
6668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6669 done; \
6670 echo "Doing distclean in binutils" ; \
6671 (cd $(HOST_SUBDIR)/binutils && \
6672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6674 "RANLIB=$${RANLIB}" \
6675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6676 distclean) \
6677 || exit 1
6679 @endif binutils
6681 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6682 maybe-maintainer-clean-binutils:
6683 @if binutils
6684 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6686 maintainer-clean-binutils:
6687 @[ -f ./binutils/Makefile ] || exit 0; \
6688 r=`${PWD_COMMAND}`; export r; \
6689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6690 $(HOST_EXPORTS) \
6691 for flag in $(EXTRA_HOST_FLAGS) ; do \
6692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6693 done; \
6694 echo "Doing maintainer-clean in binutils" ; \
6695 (cd $(HOST_SUBDIR)/binutils && \
6696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6698 "RANLIB=$${RANLIB}" \
6699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6700 maintainer-clean) \
6701 || exit 1
6703 @endif binutils
6707 .PHONY: configure-bison maybe-configure-bison
6708 maybe-configure-bison:
6709 @if gcc-bootstrap
6710 configure-bison: stage_current
6711 @endif gcc-bootstrap
6712 @if bison
6713 maybe-configure-bison: configure-bison
6714 configure-bison:
6715 @: $(MAKE); $(unstage)
6716 @r=`${PWD_COMMAND}`; export r; \
6717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6718 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6720 $(HOST_EXPORTS) \
6721 echo Configuring in $(HOST_SUBDIR)/bison; \
6722 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6723 case $(srcdir) in \
6724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6725 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6727 esac; \
6728 srcdiroption="--srcdir=$${topdir}/bison"; \
6729 libsrcdir="$$s/bison"; \
6730 $(SHELL) $${libsrcdir}/configure \
6731 $(HOST_CONFIGARGS) $${srcdiroption} \
6732 || exit 1
6733 @endif bison
6739 .PHONY: all-bison maybe-all-bison
6740 maybe-all-bison:
6741 @if gcc-bootstrap
6742 all-bison: stage_current
6743 @endif gcc-bootstrap
6744 @if bison
6745 TARGET-bison=all
6746 maybe-all-bison: all-bison
6747 all-bison: configure-bison
6748 @: $(MAKE); $(unstage)
6749 @r=`${PWD_COMMAND}`; export r; \
6750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6751 $(HOST_EXPORTS) \
6752 (cd $(HOST_SUBDIR)/bison && \
6753 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6754 @endif bison
6759 .PHONY: check-bison maybe-check-bison
6760 maybe-check-bison:
6761 @if bison
6762 maybe-check-bison: check-bison
6764 # This module is only tested in a native toolchain.
6765 check-bison:
6766 @: $(MAKE); $(unstage)
6767 @if [ '$(host)' = '$(target)' ] ; then \
6768 r=`${PWD_COMMAND}`; export r; \
6769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6770 $(HOST_EXPORTS) \
6771 (cd $(HOST_SUBDIR)/bison && \
6772 $(MAKE) $(FLAGS_TO_PASS) check); \
6775 @endif bison
6777 .PHONY: install-bison maybe-install-bison
6778 maybe-install-bison:
6779 @if bison
6780 maybe-install-bison: install-bison
6782 install-bison: installdirs
6783 @: $(MAKE); $(unstage)
6784 @r=`${PWD_COMMAND}`; export r; \
6785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6786 $(HOST_EXPORTS) \
6787 (cd $(HOST_SUBDIR)/bison && \
6788 $(MAKE) $(FLAGS_TO_PASS) install)
6790 @endif bison
6792 # Other targets (info, dvi, pdf, etc.)
6794 .PHONY: maybe-info-bison info-bison
6795 maybe-info-bison:
6796 @if bison
6797 maybe-info-bison: info-bison
6799 info-bison: \
6800 configure-bison
6801 @: $(MAKE); $(unstage)
6802 @[ -f ./bison/Makefile ] || exit 0; \
6803 r=`${PWD_COMMAND}`; export r; \
6804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6805 $(HOST_EXPORTS) \
6806 for flag in $(EXTRA_HOST_FLAGS) ; do \
6807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6808 done; \
6809 echo "Doing info in bison" ; \
6810 (cd $(HOST_SUBDIR)/bison && \
6811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6813 "RANLIB=$${RANLIB}" \
6814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6815 info) \
6816 || exit 1
6818 @endif bison
6820 .PHONY: maybe-dvi-bison dvi-bison
6821 maybe-dvi-bison:
6822 @if bison
6823 maybe-dvi-bison: dvi-bison
6825 dvi-bison: \
6826 configure-bison
6827 @: $(MAKE); $(unstage)
6828 @[ -f ./bison/Makefile ] || exit 0; \
6829 r=`${PWD_COMMAND}`; export r; \
6830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6831 $(HOST_EXPORTS) \
6832 for flag in $(EXTRA_HOST_FLAGS) ; do \
6833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6834 done; \
6835 echo "Doing dvi in bison" ; \
6836 (cd $(HOST_SUBDIR)/bison && \
6837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6839 "RANLIB=$${RANLIB}" \
6840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6841 dvi) \
6842 || exit 1
6844 @endif bison
6846 .PHONY: maybe-pdf-bison pdf-bison
6847 maybe-pdf-bison:
6848 @if bison
6849 maybe-pdf-bison: pdf-bison
6851 pdf-bison: \
6852 configure-bison
6853 @: $(MAKE); $(unstage)
6854 @[ -f ./bison/Makefile ] || exit 0; \
6855 r=`${PWD_COMMAND}`; export r; \
6856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6857 $(HOST_EXPORTS) \
6858 for flag in $(EXTRA_HOST_FLAGS) ; do \
6859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6860 done; \
6861 echo "Doing pdf in bison" ; \
6862 (cd $(HOST_SUBDIR)/bison && \
6863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6865 "RANLIB=$${RANLIB}" \
6866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6867 pdf) \
6868 || exit 1
6870 @endif bison
6872 .PHONY: maybe-html-bison html-bison
6873 maybe-html-bison:
6874 @if bison
6875 maybe-html-bison: html-bison
6877 html-bison: \
6878 configure-bison
6879 @: $(MAKE); $(unstage)
6880 @[ -f ./bison/Makefile ] || exit 0; \
6881 r=`${PWD_COMMAND}`; export r; \
6882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6883 $(HOST_EXPORTS) \
6884 for flag in $(EXTRA_HOST_FLAGS) ; do \
6885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6886 done; \
6887 echo "Doing html in bison" ; \
6888 (cd $(HOST_SUBDIR)/bison && \
6889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6891 "RANLIB=$${RANLIB}" \
6892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6893 html) \
6894 || exit 1
6896 @endif bison
6898 .PHONY: maybe-TAGS-bison TAGS-bison
6899 maybe-TAGS-bison:
6900 @if bison
6901 maybe-TAGS-bison: TAGS-bison
6903 TAGS-bison: \
6904 configure-bison
6905 @: $(MAKE); $(unstage)
6906 @[ -f ./bison/Makefile ] || exit 0; \
6907 r=`${PWD_COMMAND}`; export r; \
6908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6909 $(HOST_EXPORTS) \
6910 for flag in $(EXTRA_HOST_FLAGS) ; do \
6911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6912 done; \
6913 echo "Doing TAGS in bison" ; \
6914 (cd $(HOST_SUBDIR)/bison && \
6915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6917 "RANLIB=$${RANLIB}" \
6918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6919 TAGS) \
6920 || exit 1
6922 @endif bison
6924 .PHONY: maybe-install-info-bison install-info-bison
6925 maybe-install-info-bison:
6926 @if bison
6927 maybe-install-info-bison: install-info-bison
6929 install-info-bison: \
6930 configure-bison \
6931 info-bison
6932 @: $(MAKE); $(unstage)
6933 @[ -f ./bison/Makefile ] || exit 0; \
6934 r=`${PWD_COMMAND}`; export r; \
6935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6936 $(HOST_EXPORTS) \
6937 for flag in $(EXTRA_HOST_FLAGS) ; do \
6938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6939 done; \
6940 echo "Doing install-info in bison" ; \
6941 (cd $(HOST_SUBDIR)/bison && \
6942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6944 "RANLIB=$${RANLIB}" \
6945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6946 install-info) \
6947 || exit 1
6949 @endif bison
6951 .PHONY: maybe-install-html-bison install-html-bison
6952 maybe-install-html-bison:
6953 @if bison
6954 maybe-install-html-bison: install-html-bison
6956 install-html-bison: \
6957 configure-bison \
6958 html-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 install-html 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 install-html) \
6974 || exit 1
6976 @endif bison
6978 .PHONY: maybe-installcheck-bison installcheck-bison
6979 maybe-installcheck-bison:
6980 @if bison
6981 maybe-installcheck-bison: installcheck-bison
6983 installcheck-bison: \
6984 configure-bison
6985 @: $(MAKE); $(unstage)
6986 @[ -f ./bison/Makefile ] || exit 0; \
6987 r=`${PWD_COMMAND}`; export r; \
6988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6989 $(HOST_EXPORTS) \
6990 for flag in $(EXTRA_HOST_FLAGS) ; do \
6991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6992 done; \
6993 echo "Doing installcheck in bison" ; \
6994 (cd $(HOST_SUBDIR)/bison && \
6995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6997 "RANLIB=$${RANLIB}" \
6998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6999 installcheck) \
7000 || exit 1
7002 @endif bison
7004 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7005 maybe-mostlyclean-bison:
7006 @if bison
7007 maybe-mostlyclean-bison: mostlyclean-bison
7009 mostlyclean-bison:
7010 @: $(MAKE); $(unstage)
7011 @[ -f ./bison/Makefile ] || exit 0; \
7012 r=`${PWD_COMMAND}`; export r; \
7013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7014 $(HOST_EXPORTS) \
7015 for flag in $(EXTRA_HOST_FLAGS) ; do \
7016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7017 done; \
7018 echo "Doing mostlyclean in bison" ; \
7019 (cd $(HOST_SUBDIR)/bison && \
7020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7022 "RANLIB=$${RANLIB}" \
7023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7024 mostlyclean) \
7025 || exit 1
7027 @endif bison
7029 .PHONY: maybe-clean-bison clean-bison
7030 maybe-clean-bison:
7031 @if bison
7032 maybe-clean-bison: clean-bison
7034 clean-bison:
7035 @: $(MAKE); $(unstage)
7036 @[ -f ./bison/Makefile ] || exit 0; \
7037 r=`${PWD_COMMAND}`; export r; \
7038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7039 $(HOST_EXPORTS) \
7040 for flag in $(EXTRA_HOST_FLAGS) ; do \
7041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7042 done; \
7043 echo "Doing clean in bison" ; \
7044 (cd $(HOST_SUBDIR)/bison && \
7045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7047 "RANLIB=$${RANLIB}" \
7048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7049 clean) \
7050 || exit 1
7052 @endif bison
7054 .PHONY: maybe-distclean-bison distclean-bison
7055 maybe-distclean-bison:
7056 @if bison
7057 maybe-distclean-bison: distclean-bison
7059 distclean-bison:
7060 @: $(MAKE); $(unstage)
7061 @[ -f ./bison/Makefile ] || exit 0; \
7062 r=`${PWD_COMMAND}`; export r; \
7063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7064 $(HOST_EXPORTS) \
7065 for flag in $(EXTRA_HOST_FLAGS) ; do \
7066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7067 done; \
7068 echo "Doing distclean in bison" ; \
7069 (cd $(HOST_SUBDIR)/bison && \
7070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7072 "RANLIB=$${RANLIB}" \
7073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7074 distclean) \
7075 || exit 1
7077 @endif bison
7079 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7080 maybe-maintainer-clean-bison:
7081 @if bison
7082 maybe-maintainer-clean-bison: maintainer-clean-bison
7084 maintainer-clean-bison:
7085 @: $(MAKE); $(unstage)
7086 @[ -f ./bison/Makefile ] || exit 0; \
7087 r=`${PWD_COMMAND}`; export r; \
7088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7089 $(HOST_EXPORTS) \
7090 for flag in $(EXTRA_HOST_FLAGS) ; do \
7091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7092 done; \
7093 echo "Doing maintainer-clean in bison" ; \
7094 (cd $(HOST_SUBDIR)/bison && \
7095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7097 "RANLIB=$${RANLIB}" \
7098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7099 maintainer-clean) \
7100 || exit 1
7102 @endif bison
7106 .PHONY: configure-byacc maybe-configure-byacc
7107 maybe-configure-byacc:
7108 @if gcc-bootstrap
7109 configure-byacc: stage_current
7110 @endif gcc-bootstrap
7111 @if byacc
7112 maybe-configure-byacc: configure-byacc
7113 configure-byacc:
7114 @: $(MAKE); $(unstage)
7115 @r=`${PWD_COMMAND}`; export r; \
7116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7117 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7119 $(HOST_EXPORTS) \
7120 echo Configuring in $(HOST_SUBDIR)/byacc; \
7121 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7122 case $(srcdir) in \
7123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7124 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7126 esac; \
7127 srcdiroption="--srcdir=$${topdir}/byacc"; \
7128 libsrcdir="$$s/byacc"; \
7129 $(SHELL) $${libsrcdir}/configure \
7130 $(HOST_CONFIGARGS) $${srcdiroption} \
7131 || exit 1
7132 @endif byacc
7138 .PHONY: all-byacc maybe-all-byacc
7139 maybe-all-byacc:
7140 @if gcc-bootstrap
7141 all-byacc: stage_current
7142 @endif gcc-bootstrap
7143 @if byacc
7144 TARGET-byacc=all
7145 maybe-all-byacc: all-byacc
7146 all-byacc: configure-byacc
7147 @: $(MAKE); $(unstage)
7148 @r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(HOST_EXPORTS) \
7151 (cd $(HOST_SUBDIR)/byacc && \
7152 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7153 @endif byacc
7158 .PHONY: check-byacc maybe-check-byacc
7159 maybe-check-byacc:
7160 @if byacc
7161 maybe-check-byacc: check-byacc
7163 # This module is only tested in a native toolchain.
7164 check-byacc:
7165 @: $(MAKE); $(unstage)
7166 @if [ '$(host)' = '$(target)' ] ; then \
7167 r=`${PWD_COMMAND}`; export r; \
7168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7169 $(HOST_EXPORTS) \
7170 (cd $(HOST_SUBDIR)/byacc && \
7171 $(MAKE) $(FLAGS_TO_PASS) check); \
7174 @endif byacc
7176 .PHONY: install-byacc maybe-install-byacc
7177 maybe-install-byacc:
7178 @if byacc
7179 maybe-install-byacc: install-byacc
7181 install-byacc: installdirs
7182 @: $(MAKE); $(unstage)
7183 @r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7185 $(HOST_EXPORTS) \
7186 (cd $(HOST_SUBDIR)/byacc && \
7187 $(MAKE) $(FLAGS_TO_PASS) install)
7189 @endif byacc
7191 # Other targets (info, dvi, pdf, etc.)
7193 .PHONY: maybe-info-byacc info-byacc
7194 maybe-info-byacc:
7195 @if byacc
7196 maybe-info-byacc: info-byacc
7198 info-byacc: \
7199 configure-byacc
7200 @: $(MAKE); $(unstage)
7201 @[ -f ./byacc/Makefile ] || exit 0; \
7202 r=`${PWD_COMMAND}`; export r; \
7203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7204 $(HOST_EXPORTS) \
7205 for flag in $(EXTRA_HOST_FLAGS) ; do \
7206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7207 done; \
7208 echo "Doing info in byacc" ; \
7209 (cd $(HOST_SUBDIR)/byacc && \
7210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7212 "RANLIB=$${RANLIB}" \
7213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7214 info) \
7215 || exit 1
7217 @endif byacc
7219 .PHONY: maybe-dvi-byacc dvi-byacc
7220 maybe-dvi-byacc:
7221 @if byacc
7222 maybe-dvi-byacc: dvi-byacc
7224 dvi-byacc: \
7225 configure-byacc
7226 @: $(MAKE); $(unstage)
7227 @[ -f ./byacc/Makefile ] || exit 0; \
7228 r=`${PWD_COMMAND}`; export r; \
7229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7230 $(HOST_EXPORTS) \
7231 for flag in $(EXTRA_HOST_FLAGS) ; do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7233 done; \
7234 echo "Doing dvi in byacc" ; \
7235 (cd $(HOST_SUBDIR)/byacc && \
7236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238 "RANLIB=$${RANLIB}" \
7239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7240 dvi) \
7241 || exit 1
7243 @endif byacc
7245 .PHONY: maybe-pdf-byacc pdf-byacc
7246 maybe-pdf-byacc:
7247 @if byacc
7248 maybe-pdf-byacc: pdf-byacc
7250 pdf-byacc: \
7251 configure-byacc
7252 @: $(MAKE); $(unstage)
7253 @[ -f ./byacc/Makefile ] || exit 0; \
7254 r=`${PWD_COMMAND}`; export r; \
7255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7256 $(HOST_EXPORTS) \
7257 for flag in $(EXTRA_HOST_FLAGS) ; do \
7258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7259 done; \
7260 echo "Doing pdf in byacc" ; \
7261 (cd $(HOST_SUBDIR)/byacc && \
7262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7264 "RANLIB=$${RANLIB}" \
7265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7266 pdf) \
7267 || exit 1
7269 @endif byacc
7271 .PHONY: maybe-html-byacc html-byacc
7272 maybe-html-byacc:
7273 @if byacc
7274 maybe-html-byacc: html-byacc
7276 html-byacc: \
7277 configure-byacc
7278 @: $(MAKE); $(unstage)
7279 @[ -f ./byacc/Makefile ] || exit 0; \
7280 r=`${PWD_COMMAND}`; export r; \
7281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7282 $(HOST_EXPORTS) \
7283 for flag in $(EXTRA_HOST_FLAGS) ; do \
7284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7285 done; \
7286 echo "Doing html in byacc" ; \
7287 (cd $(HOST_SUBDIR)/byacc && \
7288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7290 "RANLIB=$${RANLIB}" \
7291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7292 html) \
7293 || exit 1
7295 @endif byacc
7297 .PHONY: maybe-TAGS-byacc TAGS-byacc
7298 maybe-TAGS-byacc:
7299 @if byacc
7300 maybe-TAGS-byacc: TAGS-byacc
7302 TAGS-byacc: \
7303 configure-byacc
7304 @: $(MAKE); $(unstage)
7305 @[ -f ./byacc/Makefile ] || exit 0; \
7306 r=`${PWD_COMMAND}`; export r; \
7307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7308 $(HOST_EXPORTS) \
7309 for flag in $(EXTRA_HOST_FLAGS) ; do \
7310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7311 done; \
7312 echo "Doing TAGS in byacc" ; \
7313 (cd $(HOST_SUBDIR)/byacc && \
7314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7316 "RANLIB=$${RANLIB}" \
7317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7318 TAGS) \
7319 || exit 1
7321 @endif byacc
7323 .PHONY: maybe-install-info-byacc install-info-byacc
7324 maybe-install-info-byacc:
7325 @if byacc
7326 maybe-install-info-byacc: install-info-byacc
7328 install-info-byacc: \
7329 configure-byacc \
7330 info-byacc
7331 @: $(MAKE); $(unstage)
7332 @[ -f ./byacc/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 done; \
7339 echo "Doing install-info in byacc" ; \
7340 (cd $(HOST_SUBDIR)/byacc && \
7341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7343 "RANLIB=$${RANLIB}" \
7344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7345 install-info) \
7346 || exit 1
7348 @endif byacc
7350 .PHONY: maybe-install-html-byacc install-html-byacc
7351 maybe-install-html-byacc:
7352 @if byacc
7353 maybe-install-html-byacc: install-html-byacc
7355 install-html-byacc: \
7356 configure-byacc \
7357 html-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 install-html 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 install-html) \
7373 || exit 1
7375 @endif byacc
7377 .PHONY: maybe-installcheck-byacc installcheck-byacc
7378 maybe-installcheck-byacc:
7379 @if byacc
7380 maybe-installcheck-byacc: installcheck-byacc
7382 installcheck-byacc: \
7383 configure-byacc
7384 @: $(MAKE); $(unstage)
7385 @[ -f ./byacc/Makefile ] || exit 0; \
7386 r=`${PWD_COMMAND}`; export r; \
7387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7388 $(HOST_EXPORTS) \
7389 for flag in $(EXTRA_HOST_FLAGS) ; do \
7390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7391 done; \
7392 echo "Doing installcheck in byacc" ; \
7393 (cd $(HOST_SUBDIR)/byacc && \
7394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7396 "RANLIB=$${RANLIB}" \
7397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7398 installcheck) \
7399 || exit 1
7401 @endif byacc
7403 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7404 maybe-mostlyclean-byacc:
7405 @if byacc
7406 maybe-mostlyclean-byacc: mostlyclean-byacc
7408 mostlyclean-byacc:
7409 @: $(MAKE); $(unstage)
7410 @[ -f ./byacc/Makefile ] || exit 0; \
7411 r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 $(HOST_EXPORTS) \
7414 for flag in $(EXTRA_HOST_FLAGS) ; do \
7415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7416 done; \
7417 echo "Doing mostlyclean in byacc" ; \
7418 (cd $(HOST_SUBDIR)/byacc && \
7419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7421 "RANLIB=$${RANLIB}" \
7422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7423 mostlyclean) \
7424 || exit 1
7426 @endif byacc
7428 .PHONY: maybe-clean-byacc clean-byacc
7429 maybe-clean-byacc:
7430 @if byacc
7431 maybe-clean-byacc: clean-byacc
7433 clean-byacc:
7434 @: $(MAKE); $(unstage)
7435 @[ -f ./byacc/Makefile ] || exit 0; \
7436 r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 $(HOST_EXPORTS) \
7439 for flag in $(EXTRA_HOST_FLAGS) ; do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing clean in byacc" ; \
7443 (cd $(HOST_SUBDIR)/byacc && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 clean) \
7449 || exit 1
7451 @endif byacc
7453 .PHONY: maybe-distclean-byacc distclean-byacc
7454 maybe-distclean-byacc:
7455 @if byacc
7456 maybe-distclean-byacc: distclean-byacc
7458 distclean-byacc:
7459 @: $(MAKE); $(unstage)
7460 @[ -f ./byacc/Makefile ] || exit 0; \
7461 r=`${PWD_COMMAND}`; export r; \
7462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7463 $(HOST_EXPORTS) \
7464 for flag in $(EXTRA_HOST_FLAGS) ; do \
7465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7466 done; \
7467 echo "Doing distclean in byacc" ; \
7468 (cd $(HOST_SUBDIR)/byacc && \
7469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7471 "RANLIB=$${RANLIB}" \
7472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7473 distclean) \
7474 || exit 1
7476 @endif byacc
7478 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7479 maybe-maintainer-clean-byacc:
7480 @if byacc
7481 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7483 maintainer-clean-byacc:
7484 @: $(MAKE); $(unstage)
7485 @[ -f ./byacc/Makefile ] || exit 0; \
7486 r=`${PWD_COMMAND}`; export r; \
7487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7488 $(HOST_EXPORTS) \
7489 for flag in $(EXTRA_HOST_FLAGS) ; do \
7490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7491 done; \
7492 echo "Doing maintainer-clean in byacc" ; \
7493 (cd $(HOST_SUBDIR)/byacc && \
7494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7496 "RANLIB=$${RANLIB}" \
7497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7498 maintainer-clean) \
7499 || exit 1
7501 @endif byacc
7505 .PHONY: configure-bzip2 maybe-configure-bzip2
7506 maybe-configure-bzip2:
7507 @if gcc-bootstrap
7508 configure-bzip2: stage_current
7509 @endif gcc-bootstrap
7510 @if bzip2
7511 maybe-configure-bzip2: configure-bzip2
7512 configure-bzip2:
7513 @: $(MAKE); $(unstage)
7514 @r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7518 $(HOST_EXPORTS) \
7519 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7520 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7521 case $(srcdir) in \
7522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7523 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7525 esac; \
7526 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7527 libsrcdir="$$s/bzip2"; \
7528 $(SHELL) $${libsrcdir}/configure \
7529 $(HOST_CONFIGARGS) $${srcdiroption} \
7530 || exit 1
7531 @endif bzip2
7537 .PHONY: all-bzip2 maybe-all-bzip2
7538 maybe-all-bzip2:
7539 @if gcc-bootstrap
7540 all-bzip2: stage_current
7541 @endif gcc-bootstrap
7542 @if bzip2
7543 TARGET-bzip2=all
7544 maybe-all-bzip2: all-bzip2
7545 all-bzip2: configure-bzip2
7546 @: $(MAKE); $(unstage)
7547 @r=`${PWD_COMMAND}`; export r; \
7548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7549 $(HOST_EXPORTS) \
7550 (cd $(HOST_SUBDIR)/bzip2 && \
7551 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7552 @endif bzip2
7557 .PHONY: check-bzip2 maybe-check-bzip2
7558 maybe-check-bzip2:
7559 @if bzip2
7560 maybe-check-bzip2: check-bzip2
7562 check-bzip2:
7563 @: $(MAKE); $(unstage)
7564 @r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 (cd $(HOST_SUBDIR)/bzip2 && \
7568 $(MAKE) $(FLAGS_TO_PASS) check)
7570 @endif bzip2
7572 .PHONY: install-bzip2 maybe-install-bzip2
7573 maybe-install-bzip2:
7574 @if bzip2
7575 maybe-install-bzip2: install-bzip2
7577 install-bzip2: installdirs
7578 @: $(MAKE); $(unstage)
7579 @r=`${PWD_COMMAND}`; export r; \
7580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7581 $(HOST_EXPORTS) \
7582 (cd $(HOST_SUBDIR)/bzip2 && \
7583 $(MAKE) $(FLAGS_TO_PASS) install)
7585 @endif bzip2
7587 # Other targets (info, dvi, pdf, etc.)
7589 .PHONY: maybe-info-bzip2 info-bzip2
7590 maybe-info-bzip2:
7591 @if bzip2
7592 maybe-info-bzip2: info-bzip2
7594 info-bzip2: \
7595 configure-bzip2
7596 @: $(MAKE); $(unstage)
7597 @[ -f ./bzip2/Makefile ] || exit 0; \
7598 r=`${PWD_COMMAND}`; export r; \
7599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7600 $(HOST_EXPORTS) \
7601 for flag in $(EXTRA_HOST_FLAGS) ; do \
7602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7603 done; \
7604 echo "Doing info in bzip2" ; \
7605 (cd $(HOST_SUBDIR)/bzip2 && \
7606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7608 "RANLIB=$${RANLIB}" \
7609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7610 info) \
7611 || exit 1
7613 @endif bzip2
7615 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7616 maybe-dvi-bzip2:
7617 @if bzip2
7618 maybe-dvi-bzip2: dvi-bzip2
7620 dvi-bzip2: \
7621 configure-bzip2
7622 @: $(MAKE); $(unstage)
7623 @[ -f ./bzip2/Makefile ] || exit 0; \
7624 r=`${PWD_COMMAND}`; export r; \
7625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7626 $(HOST_EXPORTS) \
7627 for flag in $(EXTRA_HOST_FLAGS) ; do \
7628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7629 done; \
7630 echo "Doing dvi in bzip2" ; \
7631 (cd $(HOST_SUBDIR)/bzip2 && \
7632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7634 "RANLIB=$${RANLIB}" \
7635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7636 dvi) \
7637 || exit 1
7639 @endif bzip2
7641 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7642 maybe-pdf-bzip2:
7643 @if bzip2
7644 maybe-pdf-bzip2: pdf-bzip2
7646 pdf-bzip2: \
7647 configure-bzip2
7648 @: $(MAKE); $(unstage)
7649 @[ -f ./bzip2/Makefile ] || exit 0; \
7650 r=`${PWD_COMMAND}`; export r; \
7651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7652 $(HOST_EXPORTS) \
7653 for flag in $(EXTRA_HOST_FLAGS) ; do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655 done; \
7656 echo "Doing pdf in bzip2" ; \
7657 (cd $(HOST_SUBDIR)/bzip2 && \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7662 pdf) \
7663 || exit 1
7665 @endif bzip2
7667 .PHONY: maybe-html-bzip2 html-bzip2
7668 maybe-html-bzip2:
7669 @if bzip2
7670 maybe-html-bzip2: html-bzip2
7672 html-bzip2: \
7673 configure-bzip2
7674 @: $(MAKE); $(unstage)
7675 @[ -f ./bzip2/Makefile ] || exit 0; \
7676 r=`${PWD_COMMAND}`; export r; \
7677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7678 $(HOST_EXPORTS) \
7679 for flag in $(EXTRA_HOST_FLAGS) ; do \
7680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7681 done; \
7682 echo "Doing html in bzip2" ; \
7683 (cd $(HOST_SUBDIR)/bzip2 && \
7684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7686 "RANLIB=$${RANLIB}" \
7687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7688 html) \
7689 || exit 1
7691 @endif bzip2
7693 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7694 maybe-TAGS-bzip2:
7695 @if bzip2
7696 maybe-TAGS-bzip2: TAGS-bzip2
7698 TAGS-bzip2: \
7699 configure-bzip2
7700 @: $(MAKE); $(unstage)
7701 @[ -f ./bzip2/Makefile ] || exit 0; \
7702 r=`${PWD_COMMAND}`; export r; \
7703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 $(HOST_EXPORTS) \
7705 for flag in $(EXTRA_HOST_FLAGS) ; do \
7706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7707 done; \
7708 echo "Doing TAGS in bzip2" ; \
7709 (cd $(HOST_SUBDIR)/bzip2 && \
7710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7712 "RANLIB=$${RANLIB}" \
7713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7714 TAGS) \
7715 || exit 1
7717 @endif bzip2
7719 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7720 maybe-install-info-bzip2:
7721 @if bzip2
7722 maybe-install-info-bzip2: install-info-bzip2
7724 install-info-bzip2: \
7725 configure-bzip2 \
7726 info-bzip2
7727 @: $(MAKE); $(unstage)
7728 @[ -f ./bzip2/Makefile ] || exit 0; \
7729 r=`${PWD_COMMAND}`; export r; \
7730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7731 $(HOST_EXPORTS) \
7732 for flag in $(EXTRA_HOST_FLAGS) ; do \
7733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7734 done; \
7735 echo "Doing install-info in bzip2" ; \
7736 (cd $(HOST_SUBDIR)/bzip2 && \
7737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7739 "RANLIB=$${RANLIB}" \
7740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7741 install-info) \
7742 || exit 1
7744 @endif bzip2
7746 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7747 maybe-install-html-bzip2:
7748 @if bzip2
7749 maybe-install-html-bzip2: install-html-bzip2
7751 install-html-bzip2: \
7752 configure-bzip2 \
7753 html-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 install-html 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 install-html) \
7769 || exit 1
7771 @endif bzip2
7773 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7774 maybe-installcheck-bzip2:
7775 @if bzip2
7776 maybe-installcheck-bzip2: installcheck-bzip2
7778 installcheck-bzip2: \
7779 configure-bzip2
7780 @: $(MAKE); $(unstage)
7781 @[ -f ./bzip2/Makefile ] || exit 0; \
7782 r=`${PWD_COMMAND}`; export r; \
7783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7784 $(HOST_EXPORTS) \
7785 for flag in $(EXTRA_HOST_FLAGS) ; do \
7786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7787 done; \
7788 echo "Doing installcheck in bzip2" ; \
7789 (cd $(HOST_SUBDIR)/bzip2 && \
7790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7792 "RANLIB=$${RANLIB}" \
7793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7794 installcheck) \
7795 || exit 1
7797 @endif bzip2
7799 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7800 maybe-mostlyclean-bzip2:
7801 @if bzip2
7802 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7804 mostlyclean-bzip2:
7805 @: $(MAKE); $(unstage)
7806 @[ -f ./bzip2/Makefile ] || exit 0; \
7807 r=`${PWD_COMMAND}`; export r; \
7808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7809 $(HOST_EXPORTS) \
7810 for flag in $(EXTRA_HOST_FLAGS) ; do \
7811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7812 done; \
7813 echo "Doing mostlyclean in bzip2" ; \
7814 (cd $(HOST_SUBDIR)/bzip2 && \
7815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7817 "RANLIB=$${RANLIB}" \
7818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7819 mostlyclean) \
7820 || exit 1
7822 @endif bzip2
7824 .PHONY: maybe-clean-bzip2 clean-bzip2
7825 maybe-clean-bzip2:
7826 @if bzip2
7827 maybe-clean-bzip2: clean-bzip2
7829 clean-bzip2:
7830 @: $(MAKE); $(unstage)
7831 @[ -f ./bzip2/Makefile ] || exit 0; \
7832 r=`${PWD_COMMAND}`; export r; \
7833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7834 $(HOST_EXPORTS) \
7835 for flag in $(EXTRA_HOST_FLAGS) ; do \
7836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7837 done; \
7838 echo "Doing clean in bzip2" ; \
7839 (cd $(HOST_SUBDIR)/bzip2 && \
7840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7842 "RANLIB=$${RANLIB}" \
7843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7844 clean) \
7845 || exit 1
7847 @endif bzip2
7849 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7850 maybe-distclean-bzip2:
7851 @if bzip2
7852 maybe-distclean-bzip2: distclean-bzip2
7854 distclean-bzip2:
7855 @: $(MAKE); $(unstage)
7856 @[ -f ./bzip2/Makefile ] || exit 0; \
7857 r=`${PWD_COMMAND}`; export r; \
7858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7859 $(HOST_EXPORTS) \
7860 for flag in $(EXTRA_HOST_FLAGS) ; do \
7861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7862 done; \
7863 echo "Doing distclean in bzip2" ; \
7864 (cd $(HOST_SUBDIR)/bzip2 && \
7865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7867 "RANLIB=$${RANLIB}" \
7868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7869 distclean) \
7870 || exit 1
7872 @endif bzip2
7874 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7875 maybe-maintainer-clean-bzip2:
7876 @if bzip2
7877 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7879 maintainer-clean-bzip2:
7880 @: $(MAKE); $(unstage)
7881 @[ -f ./bzip2/Makefile ] || exit 0; \
7882 r=`${PWD_COMMAND}`; export r; \
7883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7884 $(HOST_EXPORTS) \
7885 for flag in $(EXTRA_HOST_FLAGS) ; do \
7886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7887 done; \
7888 echo "Doing maintainer-clean in bzip2" ; \
7889 (cd $(HOST_SUBDIR)/bzip2 && \
7890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7892 "RANLIB=$${RANLIB}" \
7893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7894 maintainer-clean) \
7895 || exit 1
7897 @endif bzip2
7901 .PHONY: configure-dejagnu maybe-configure-dejagnu
7902 maybe-configure-dejagnu:
7903 @if gcc-bootstrap
7904 configure-dejagnu: stage_current
7905 @endif gcc-bootstrap
7906 @if dejagnu
7907 maybe-configure-dejagnu: configure-dejagnu
7908 configure-dejagnu:
7909 @: $(MAKE); $(unstage)
7910 @r=`${PWD_COMMAND}`; export r; \
7911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7912 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7914 $(HOST_EXPORTS) \
7915 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7916 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7917 case $(srcdir) in \
7918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7919 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7921 esac; \
7922 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7923 libsrcdir="$$s/dejagnu"; \
7924 $(SHELL) $${libsrcdir}/configure \
7925 $(HOST_CONFIGARGS) $${srcdiroption} \
7926 || exit 1
7927 @endif dejagnu
7933 .PHONY: all-dejagnu maybe-all-dejagnu
7934 maybe-all-dejagnu:
7935 @if gcc-bootstrap
7936 all-dejagnu: stage_current
7937 @endif gcc-bootstrap
7938 @if dejagnu
7939 TARGET-dejagnu=all
7940 maybe-all-dejagnu: all-dejagnu
7941 all-dejagnu: configure-dejagnu
7942 @: $(MAKE); $(unstage)
7943 @r=`${PWD_COMMAND}`; export r; \
7944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7945 $(HOST_EXPORTS) \
7946 (cd $(HOST_SUBDIR)/dejagnu && \
7947 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7948 @endif dejagnu
7953 .PHONY: check-dejagnu maybe-check-dejagnu
7954 maybe-check-dejagnu:
7955 @if dejagnu
7956 maybe-check-dejagnu: check-dejagnu
7958 check-dejagnu:
7959 @: $(MAKE); $(unstage)
7960 @r=`${PWD_COMMAND}`; export r; \
7961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7962 $(HOST_EXPORTS) \
7963 (cd $(HOST_SUBDIR)/dejagnu && \
7964 $(MAKE) $(FLAGS_TO_PASS) check)
7966 @endif dejagnu
7968 .PHONY: install-dejagnu maybe-install-dejagnu
7969 maybe-install-dejagnu:
7970 @if dejagnu
7971 maybe-install-dejagnu: install-dejagnu
7973 install-dejagnu: installdirs
7974 @: $(MAKE); $(unstage)
7975 @r=`${PWD_COMMAND}`; export r; \
7976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7977 $(HOST_EXPORTS) \
7978 (cd $(HOST_SUBDIR)/dejagnu && \
7979 $(MAKE) $(FLAGS_TO_PASS) install)
7981 @endif dejagnu
7983 # Other targets (info, dvi, pdf, etc.)
7985 .PHONY: maybe-info-dejagnu info-dejagnu
7986 maybe-info-dejagnu:
7987 @if dejagnu
7988 maybe-info-dejagnu: info-dejagnu
7990 info-dejagnu: \
7991 configure-dejagnu
7992 @: $(MAKE); $(unstage)
7993 @[ -f ./dejagnu/Makefile ] || exit 0; \
7994 r=`${PWD_COMMAND}`; export r; \
7995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7996 $(HOST_EXPORTS) \
7997 for flag in $(EXTRA_HOST_FLAGS) ; do \
7998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7999 done; \
8000 echo "Doing info in dejagnu" ; \
8001 (cd $(HOST_SUBDIR)/dejagnu && \
8002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8004 "RANLIB=$${RANLIB}" \
8005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8006 info) \
8007 || exit 1
8009 @endif dejagnu
8011 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8012 maybe-dvi-dejagnu:
8013 @if dejagnu
8014 maybe-dvi-dejagnu: dvi-dejagnu
8016 dvi-dejagnu: \
8017 configure-dejagnu
8018 @: $(MAKE); $(unstage)
8019 @[ -f ./dejagnu/Makefile ] || exit 0; \
8020 r=`${PWD_COMMAND}`; export r; \
8021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8022 $(HOST_EXPORTS) \
8023 for flag in $(EXTRA_HOST_FLAGS) ; do \
8024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8025 done; \
8026 echo "Doing dvi in dejagnu" ; \
8027 (cd $(HOST_SUBDIR)/dejagnu && \
8028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8030 "RANLIB=$${RANLIB}" \
8031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8032 dvi) \
8033 || exit 1
8035 @endif dejagnu
8037 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8038 maybe-pdf-dejagnu:
8039 @if dejagnu
8040 maybe-pdf-dejagnu: pdf-dejagnu
8042 pdf-dejagnu: \
8043 configure-dejagnu
8044 @: $(MAKE); $(unstage)
8045 @[ -f ./dejagnu/Makefile ] || exit 0; \
8046 r=`${PWD_COMMAND}`; export r; \
8047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8048 $(HOST_EXPORTS) \
8049 for flag in $(EXTRA_HOST_FLAGS) ; do \
8050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8051 done; \
8052 echo "Doing pdf in dejagnu" ; \
8053 (cd $(HOST_SUBDIR)/dejagnu && \
8054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8056 "RANLIB=$${RANLIB}" \
8057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8058 pdf) \
8059 || exit 1
8061 @endif dejagnu
8063 .PHONY: maybe-html-dejagnu html-dejagnu
8064 maybe-html-dejagnu:
8065 @if dejagnu
8066 maybe-html-dejagnu: html-dejagnu
8068 html-dejagnu: \
8069 configure-dejagnu
8070 @: $(MAKE); $(unstage)
8071 @[ -f ./dejagnu/Makefile ] || exit 0; \
8072 r=`${PWD_COMMAND}`; export r; \
8073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8074 $(HOST_EXPORTS) \
8075 for flag in $(EXTRA_HOST_FLAGS) ; do \
8076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8077 done; \
8078 echo "Doing html in dejagnu" ; \
8079 (cd $(HOST_SUBDIR)/dejagnu && \
8080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8082 "RANLIB=$${RANLIB}" \
8083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8084 html) \
8085 || exit 1
8087 @endif dejagnu
8089 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8090 maybe-TAGS-dejagnu:
8091 @if dejagnu
8092 maybe-TAGS-dejagnu: TAGS-dejagnu
8094 TAGS-dejagnu: \
8095 configure-dejagnu
8096 @: $(MAKE); $(unstage)
8097 @[ -f ./dejagnu/Makefile ] || exit 0; \
8098 r=`${PWD_COMMAND}`; export r; \
8099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8100 $(HOST_EXPORTS) \
8101 for flag in $(EXTRA_HOST_FLAGS) ; do \
8102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8103 done; \
8104 echo "Doing TAGS in dejagnu" ; \
8105 (cd $(HOST_SUBDIR)/dejagnu && \
8106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8108 "RANLIB=$${RANLIB}" \
8109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8110 TAGS) \
8111 || exit 1
8113 @endif dejagnu
8115 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8116 maybe-install-info-dejagnu:
8117 @if dejagnu
8118 maybe-install-info-dejagnu: install-info-dejagnu
8120 install-info-dejagnu: \
8121 configure-dejagnu \
8122 info-dejagnu
8123 @: $(MAKE); $(unstage)
8124 @[ -f ./dejagnu/Makefile ] || exit 0; \
8125 r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8127 $(HOST_EXPORTS) \
8128 for flag in $(EXTRA_HOST_FLAGS) ; do \
8129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8130 done; \
8131 echo "Doing install-info in dejagnu" ; \
8132 (cd $(HOST_SUBDIR)/dejagnu && \
8133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8135 "RANLIB=$${RANLIB}" \
8136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8137 install-info) \
8138 || exit 1
8140 @endif dejagnu
8142 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8143 maybe-install-html-dejagnu:
8144 @if dejagnu
8145 maybe-install-html-dejagnu: install-html-dejagnu
8147 install-html-dejagnu: \
8148 configure-dejagnu \
8149 html-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 install-html 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 install-html) \
8165 || exit 1
8167 @endif dejagnu
8169 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8170 maybe-installcheck-dejagnu:
8171 @if dejagnu
8172 maybe-installcheck-dejagnu: installcheck-dejagnu
8174 installcheck-dejagnu: \
8175 configure-dejagnu
8176 @: $(MAKE); $(unstage)
8177 @[ -f ./dejagnu/Makefile ] || exit 0; \
8178 r=`${PWD_COMMAND}`; export r; \
8179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8180 $(HOST_EXPORTS) \
8181 for flag in $(EXTRA_HOST_FLAGS) ; do \
8182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8183 done; \
8184 echo "Doing installcheck in dejagnu" ; \
8185 (cd $(HOST_SUBDIR)/dejagnu && \
8186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8188 "RANLIB=$${RANLIB}" \
8189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8190 installcheck) \
8191 || exit 1
8193 @endif dejagnu
8195 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8196 maybe-mostlyclean-dejagnu:
8197 @if dejagnu
8198 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8200 mostlyclean-dejagnu:
8201 @: $(MAKE); $(unstage)
8202 @[ -f ./dejagnu/Makefile ] || exit 0; \
8203 r=`${PWD_COMMAND}`; export r; \
8204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8205 $(HOST_EXPORTS) \
8206 for flag in $(EXTRA_HOST_FLAGS) ; do \
8207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8208 done; \
8209 echo "Doing mostlyclean in dejagnu" ; \
8210 (cd $(HOST_SUBDIR)/dejagnu && \
8211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8213 "RANLIB=$${RANLIB}" \
8214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8215 mostlyclean) \
8216 || exit 1
8218 @endif dejagnu
8220 .PHONY: maybe-clean-dejagnu clean-dejagnu
8221 maybe-clean-dejagnu:
8222 @if dejagnu
8223 maybe-clean-dejagnu: clean-dejagnu
8225 clean-dejagnu:
8226 @: $(MAKE); $(unstage)
8227 @[ -f ./dejagnu/Makefile ] || exit 0; \
8228 r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 for flag in $(EXTRA_HOST_FLAGS) ; do \
8232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8233 done; \
8234 echo "Doing clean in dejagnu" ; \
8235 (cd $(HOST_SUBDIR)/dejagnu && \
8236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8238 "RANLIB=$${RANLIB}" \
8239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8240 clean) \
8241 || exit 1
8243 @endif dejagnu
8245 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8246 maybe-distclean-dejagnu:
8247 @if dejagnu
8248 maybe-distclean-dejagnu: distclean-dejagnu
8250 distclean-dejagnu:
8251 @: $(MAKE); $(unstage)
8252 @[ -f ./dejagnu/Makefile ] || exit 0; \
8253 r=`${PWD_COMMAND}`; export r; \
8254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8255 $(HOST_EXPORTS) \
8256 for flag in $(EXTRA_HOST_FLAGS) ; do \
8257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8258 done; \
8259 echo "Doing distclean in dejagnu" ; \
8260 (cd $(HOST_SUBDIR)/dejagnu && \
8261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8263 "RANLIB=$${RANLIB}" \
8264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8265 distclean) \
8266 || exit 1
8268 @endif dejagnu
8270 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8271 maybe-maintainer-clean-dejagnu:
8272 @if dejagnu
8273 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8275 maintainer-clean-dejagnu:
8276 @: $(MAKE); $(unstage)
8277 @[ -f ./dejagnu/Makefile ] || exit 0; \
8278 r=`${PWD_COMMAND}`; export r; \
8279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8280 $(HOST_EXPORTS) \
8281 for flag in $(EXTRA_HOST_FLAGS) ; do \
8282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8283 done; \
8284 echo "Doing maintainer-clean in dejagnu" ; \
8285 (cd $(HOST_SUBDIR)/dejagnu && \
8286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8288 "RANLIB=$${RANLIB}" \
8289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8290 maintainer-clean) \
8291 || exit 1
8293 @endif dejagnu
8297 .PHONY: configure-diff maybe-configure-diff
8298 maybe-configure-diff:
8299 @if gcc-bootstrap
8300 configure-diff: stage_current
8301 @endif gcc-bootstrap
8302 @if diff
8303 maybe-configure-diff: configure-diff
8304 configure-diff:
8305 @: $(MAKE); $(unstage)
8306 @r=`${PWD_COMMAND}`; export r; \
8307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8308 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8310 $(HOST_EXPORTS) \
8311 echo Configuring in $(HOST_SUBDIR)/diff; \
8312 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8313 case $(srcdir) in \
8314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8315 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8317 esac; \
8318 srcdiroption="--srcdir=$${topdir}/diff"; \
8319 libsrcdir="$$s/diff"; \
8320 $(SHELL) $${libsrcdir}/configure \
8321 $(HOST_CONFIGARGS) $${srcdiroption} \
8322 || exit 1
8323 @endif diff
8329 .PHONY: all-diff maybe-all-diff
8330 maybe-all-diff:
8331 @if gcc-bootstrap
8332 all-diff: stage_current
8333 @endif gcc-bootstrap
8334 @if diff
8335 TARGET-diff=all
8336 maybe-all-diff: all-diff
8337 all-diff: configure-diff
8338 @: $(MAKE); $(unstage)
8339 @r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 $(HOST_EXPORTS) \
8342 (cd $(HOST_SUBDIR)/diff && \
8343 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8344 @endif diff
8349 .PHONY: check-diff maybe-check-diff
8350 maybe-check-diff:
8351 @if diff
8352 maybe-check-diff: check-diff
8354 check-diff:
8355 @: $(MAKE); $(unstage)
8356 @r=`${PWD_COMMAND}`; export r; \
8357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8358 $(HOST_EXPORTS) \
8359 (cd $(HOST_SUBDIR)/diff && \
8360 $(MAKE) $(FLAGS_TO_PASS) check)
8362 @endif diff
8364 .PHONY: install-diff maybe-install-diff
8365 maybe-install-diff:
8366 @if diff
8367 maybe-install-diff: install-diff
8369 install-diff: installdirs
8370 @: $(MAKE); $(unstage)
8371 @r=`${PWD_COMMAND}`; export r; \
8372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8373 $(HOST_EXPORTS) \
8374 (cd $(HOST_SUBDIR)/diff && \
8375 $(MAKE) $(FLAGS_TO_PASS) install)
8377 @endif diff
8379 # Other targets (info, dvi, pdf, etc.)
8381 .PHONY: maybe-info-diff info-diff
8382 maybe-info-diff:
8383 @if diff
8384 maybe-info-diff: info-diff
8386 info-diff: \
8387 configure-diff
8388 @: $(MAKE); $(unstage)
8389 @[ -f ./diff/Makefile ] || exit 0; \
8390 r=`${PWD_COMMAND}`; export r; \
8391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8392 $(HOST_EXPORTS) \
8393 for flag in $(EXTRA_HOST_FLAGS) ; do \
8394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8395 done; \
8396 echo "Doing info in diff" ; \
8397 (cd $(HOST_SUBDIR)/diff && \
8398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8400 "RANLIB=$${RANLIB}" \
8401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8402 info) \
8403 || exit 1
8405 @endif diff
8407 .PHONY: maybe-dvi-diff dvi-diff
8408 maybe-dvi-diff:
8409 @if diff
8410 maybe-dvi-diff: dvi-diff
8412 dvi-diff: \
8413 configure-diff
8414 @: $(MAKE); $(unstage)
8415 @[ -f ./diff/Makefile ] || exit 0; \
8416 r=`${PWD_COMMAND}`; export r; \
8417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8418 $(HOST_EXPORTS) \
8419 for flag in $(EXTRA_HOST_FLAGS) ; do \
8420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8421 done; \
8422 echo "Doing dvi in diff" ; \
8423 (cd $(HOST_SUBDIR)/diff && \
8424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8426 "RANLIB=$${RANLIB}" \
8427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8428 dvi) \
8429 || exit 1
8431 @endif diff
8433 .PHONY: maybe-pdf-diff pdf-diff
8434 maybe-pdf-diff:
8435 @if diff
8436 maybe-pdf-diff: pdf-diff
8438 pdf-diff: \
8439 configure-diff
8440 @: $(MAKE); $(unstage)
8441 @[ -f ./diff/Makefile ] || exit 0; \
8442 r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(HOST_EXPORTS) \
8445 for flag in $(EXTRA_HOST_FLAGS) ; do \
8446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8447 done; \
8448 echo "Doing pdf in diff" ; \
8449 (cd $(HOST_SUBDIR)/diff && \
8450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8452 "RANLIB=$${RANLIB}" \
8453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8454 pdf) \
8455 || exit 1
8457 @endif diff
8459 .PHONY: maybe-html-diff html-diff
8460 maybe-html-diff:
8461 @if diff
8462 maybe-html-diff: html-diff
8464 html-diff: \
8465 configure-diff
8466 @: $(MAKE); $(unstage)
8467 @[ -f ./diff/Makefile ] || exit 0; \
8468 r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 $(HOST_EXPORTS) \
8471 for flag in $(EXTRA_HOST_FLAGS) ; do \
8472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 done; \
8474 echo "Doing html in diff" ; \
8475 (cd $(HOST_SUBDIR)/diff && \
8476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8478 "RANLIB=$${RANLIB}" \
8479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8480 html) \
8481 || exit 1
8483 @endif diff
8485 .PHONY: maybe-TAGS-diff TAGS-diff
8486 maybe-TAGS-diff:
8487 @if diff
8488 maybe-TAGS-diff: TAGS-diff
8490 TAGS-diff: \
8491 configure-diff
8492 @: $(MAKE); $(unstage)
8493 @[ -f ./diff/Makefile ] || exit 0; \
8494 r=`${PWD_COMMAND}`; export r; \
8495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8496 $(HOST_EXPORTS) \
8497 for flag in $(EXTRA_HOST_FLAGS) ; do \
8498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8499 done; \
8500 echo "Doing TAGS in diff" ; \
8501 (cd $(HOST_SUBDIR)/diff && \
8502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8504 "RANLIB=$${RANLIB}" \
8505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8506 TAGS) \
8507 || exit 1
8509 @endif diff
8511 .PHONY: maybe-install-info-diff install-info-diff
8512 maybe-install-info-diff:
8513 @if diff
8514 maybe-install-info-diff: install-info-diff
8516 install-info-diff: \
8517 configure-diff \
8518 info-diff
8519 @: $(MAKE); $(unstage)
8520 @[ -f ./diff/Makefile ] || exit 0; \
8521 r=`${PWD_COMMAND}`; export r; \
8522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8523 $(HOST_EXPORTS) \
8524 for flag in $(EXTRA_HOST_FLAGS) ; do \
8525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8526 done; \
8527 echo "Doing install-info in diff" ; \
8528 (cd $(HOST_SUBDIR)/diff && \
8529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8531 "RANLIB=$${RANLIB}" \
8532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8533 install-info) \
8534 || exit 1
8536 @endif diff
8538 .PHONY: maybe-install-html-diff install-html-diff
8539 maybe-install-html-diff:
8540 @if diff
8541 maybe-install-html-diff: install-html-diff
8543 install-html-diff: \
8544 configure-diff \
8545 html-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 install-html 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 install-html) \
8561 || exit 1
8563 @endif diff
8565 .PHONY: maybe-installcheck-diff installcheck-diff
8566 maybe-installcheck-diff:
8567 @if diff
8568 maybe-installcheck-diff: installcheck-diff
8570 installcheck-diff: \
8571 configure-diff
8572 @: $(MAKE); $(unstage)
8573 @[ -f ./diff/Makefile ] || exit 0; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576 $(HOST_EXPORTS) \
8577 for flag in $(EXTRA_HOST_FLAGS) ; do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8579 done; \
8580 echo "Doing installcheck in diff" ; \
8581 (cd $(HOST_SUBDIR)/diff && \
8582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584 "RANLIB=$${RANLIB}" \
8585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8586 installcheck) \
8587 || exit 1
8589 @endif diff
8591 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8592 maybe-mostlyclean-diff:
8593 @if diff
8594 maybe-mostlyclean-diff: mostlyclean-diff
8596 mostlyclean-diff:
8597 @: $(MAKE); $(unstage)
8598 @[ -f ./diff/Makefile ] || exit 0; \
8599 r=`${PWD_COMMAND}`; export r; \
8600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8601 $(HOST_EXPORTS) \
8602 for flag in $(EXTRA_HOST_FLAGS) ; do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604 done; \
8605 echo "Doing mostlyclean in diff" ; \
8606 (cd $(HOST_SUBDIR)/diff && \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8611 mostlyclean) \
8612 || exit 1
8614 @endif diff
8616 .PHONY: maybe-clean-diff clean-diff
8617 maybe-clean-diff:
8618 @if diff
8619 maybe-clean-diff: clean-diff
8621 clean-diff:
8622 @: $(MAKE); $(unstage)
8623 @[ -f ./diff/Makefile ] || exit 0; \
8624 r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 $(HOST_EXPORTS) \
8627 for flag in $(EXTRA_HOST_FLAGS) ; do \
8628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8629 done; \
8630 echo "Doing clean in diff" ; \
8631 (cd $(HOST_SUBDIR)/diff && \
8632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8634 "RANLIB=$${RANLIB}" \
8635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8636 clean) \
8637 || exit 1
8639 @endif diff
8641 .PHONY: maybe-distclean-diff distclean-diff
8642 maybe-distclean-diff:
8643 @if diff
8644 maybe-distclean-diff: distclean-diff
8646 distclean-diff:
8647 @: $(MAKE); $(unstage)
8648 @[ -f ./diff/Makefile ] || exit 0; \
8649 r=`${PWD_COMMAND}`; export r; \
8650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8651 $(HOST_EXPORTS) \
8652 for flag in $(EXTRA_HOST_FLAGS) ; do \
8653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8654 done; \
8655 echo "Doing distclean in diff" ; \
8656 (cd $(HOST_SUBDIR)/diff && \
8657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8659 "RANLIB=$${RANLIB}" \
8660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8661 distclean) \
8662 || exit 1
8664 @endif diff
8666 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8667 maybe-maintainer-clean-diff:
8668 @if diff
8669 maybe-maintainer-clean-diff: maintainer-clean-diff
8671 maintainer-clean-diff:
8672 @: $(MAKE); $(unstage)
8673 @[ -f ./diff/Makefile ] || exit 0; \
8674 r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676 $(HOST_EXPORTS) \
8677 for flag in $(EXTRA_HOST_FLAGS) ; do \
8678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8679 done; \
8680 echo "Doing maintainer-clean in diff" ; \
8681 (cd $(HOST_SUBDIR)/diff && \
8682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8684 "RANLIB=$${RANLIB}" \
8685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8686 maintainer-clean) \
8687 || exit 1
8689 @endif diff
8693 .PHONY: configure-dosutils maybe-configure-dosutils
8694 maybe-configure-dosutils:
8695 @if gcc-bootstrap
8696 configure-dosutils: stage_current
8697 @endif gcc-bootstrap
8698 @if dosutils
8699 maybe-configure-dosutils: configure-dosutils
8700 configure-dosutils:
8701 @: $(MAKE); $(unstage)
8702 @r=`${PWD_COMMAND}`; export r; \
8703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8704 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8706 $(HOST_EXPORTS) \
8707 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8708 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8709 case $(srcdir) in \
8710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8711 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8713 esac; \
8714 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8715 libsrcdir="$$s/dosutils"; \
8716 $(SHELL) $${libsrcdir}/configure \
8717 $(HOST_CONFIGARGS) $${srcdiroption} \
8718 || exit 1
8719 @endif dosutils
8725 .PHONY: all-dosutils maybe-all-dosutils
8726 maybe-all-dosutils:
8727 @if gcc-bootstrap
8728 all-dosutils: stage_current
8729 @endif gcc-bootstrap
8730 @if dosutils
8731 TARGET-dosutils=all
8732 maybe-all-dosutils: all-dosutils
8733 all-dosutils: configure-dosutils
8734 @: $(MAKE); $(unstage)
8735 @r=`${PWD_COMMAND}`; export r; \
8736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8737 $(HOST_EXPORTS) \
8738 (cd $(HOST_SUBDIR)/dosutils && \
8739 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8740 @endif dosutils
8745 .PHONY: check-dosutils maybe-check-dosutils
8746 maybe-check-dosutils:
8747 @if dosutils
8748 maybe-check-dosutils: check-dosutils
8750 check-dosutils:
8752 @endif dosutils
8754 .PHONY: install-dosutils maybe-install-dosutils
8755 maybe-install-dosutils:
8756 @if dosutils
8757 maybe-install-dosutils: install-dosutils
8759 install-dosutils: installdirs
8760 @: $(MAKE); $(unstage)
8761 @r=`${PWD_COMMAND}`; export r; \
8762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8763 $(HOST_EXPORTS) \
8764 (cd $(HOST_SUBDIR)/dosutils && \
8765 $(MAKE) $(FLAGS_TO_PASS) install)
8767 @endif dosutils
8769 # Other targets (info, dvi, pdf, etc.)
8771 .PHONY: maybe-info-dosutils info-dosutils
8772 maybe-info-dosutils:
8773 @if dosutils
8774 maybe-info-dosutils: info-dosutils
8776 info-dosutils: \
8777 configure-dosutils
8778 @: $(MAKE); $(unstage)
8779 @[ -f ./dosutils/Makefile ] || exit 0; \
8780 r=`${PWD_COMMAND}`; export r; \
8781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8782 $(HOST_EXPORTS) \
8783 for flag in $(EXTRA_HOST_FLAGS) ; do \
8784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8785 done; \
8786 echo "Doing info in dosutils" ; \
8787 (cd $(HOST_SUBDIR)/dosutils && \
8788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8790 "RANLIB=$${RANLIB}" \
8791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8792 info) \
8793 || exit 1
8795 @endif dosutils
8797 .PHONY: maybe-dvi-dosutils dvi-dosutils
8798 maybe-dvi-dosutils:
8799 @if dosutils
8800 maybe-dvi-dosutils: dvi-dosutils
8802 dvi-dosutils: \
8803 configure-dosutils
8804 @: $(MAKE); $(unstage)
8805 @[ -f ./dosutils/Makefile ] || exit 0; \
8806 r=`${PWD_COMMAND}`; export r; \
8807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8808 $(HOST_EXPORTS) \
8809 for flag in $(EXTRA_HOST_FLAGS) ; do \
8810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8811 done; \
8812 echo "Doing dvi in dosutils" ; \
8813 (cd $(HOST_SUBDIR)/dosutils && \
8814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8816 "RANLIB=$${RANLIB}" \
8817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8818 dvi) \
8819 || exit 1
8821 @endif dosutils
8823 .PHONY: maybe-pdf-dosutils pdf-dosutils
8824 maybe-pdf-dosutils:
8825 @if dosutils
8826 maybe-pdf-dosutils: pdf-dosutils
8828 pdf-dosutils: \
8829 configure-dosutils
8830 @: $(MAKE); $(unstage)
8831 @[ -f ./dosutils/Makefile ] || exit 0; \
8832 r=`${PWD_COMMAND}`; export r; \
8833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8834 $(HOST_EXPORTS) \
8835 for flag in $(EXTRA_HOST_FLAGS) ; do \
8836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8837 done; \
8838 echo "Doing pdf in dosutils" ; \
8839 (cd $(HOST_SUBDIR)/dosutils && \
8840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8842 "RANLIB=$${RANLIB}" \
8843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8844 pdf) \
8845 || exit 1
8847 @endif dosutils
8849 .PHONY: maybe-html-dosutils html-dosutils
8850 maybe-html-dosutils:
8851 @if dosutils
8852 maybe-html-dosutils: html-dosutils
8854 html-dosutils: \
8855 configure-dosutils
8856 @: $(MAKE); $(unstage)
8857 @[ -f ./dosutils/Makefile ] || exit 0; \
8858 r=`${PWD_COMMAND}`; export r; \
8859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8860 $(HOST_EXPORTS) \
8861 for flag in $(EXTRA_HOST_FLAGS) ; do \
8862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8863 done; \
8864 echo "Doing html in dosutils" ; \
8865 (cd $(HOST_SUBDIR)/dosutils && \
8866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8868 "RANLIB=$${RANLIB}" \
8869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8870 html) \
8871 || exit 1
8873 @endif dosutils
8875 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8876 maybe-TAGS-dosutils:
8877 @if dosutils
8878 maybe-TAGS-dosutils: TAGS-dosutils
8880 TAGS-dosutils: \
8881 configure-dosutils
8882 @: $(MAKE); $(unstage)
8883 @[ -f ./dosutils/Makefile ] || exit 0; \
8884 r=`${PWD_COMMAND}`; export r; \
8885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8886 $(HOST_EXPORTS) \
8887 for flag in $(EXTRA_HOST_FLAGS) ; do \
8888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8889 done; \
8890 echo "Doing TAGS in dosutils" ; \
8891 (cd $(HOST_SUBDIR)/dosutils && \
8892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8894 "RANLIB=$${RANLIB}" \
8895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8896 TAGS) \
8897 || exit 1
8899 @endif dosutils
8901 .PHONY: maybe-install-info-dosutils install-info-dosutils
8902 maybe-install-info-dosutils:
8903 @if dosutils
8904 maybe-install-info-dosutils: install-info-dosutils
8906 install-info-dosutils: \
8907 configure-dosutils \
8908 info-dosutils
8909 @: $(MAKE); $(unstage)
8910 @[ -f ./dosutils/Makefile ] || exit 0; \
8911 r=`${PWD_COMMAND}`; export r; \
8912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8913 $(HOST_EXPORTS) \
8914 for flag in $(EXTRA_HOST_FLAGS) ; do \
8915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8916 done; \
8917 echo "Doing install-info in dosutils" ; \
8918 (cd $(HOST_SUBDIR)/dosutils && \
8919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8921 "RANLIB=$${RANLIB}" \
8922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8923 install-info) \
8924 || exit 1
8926 @endif dosutils
8928 .PHONY: maybe-install-html-dosutils install-html-dosutils
8929 maybe-install-html-dosutils:
8930 @if dosutils
8931 maybe-install-html-dosutils: install-html-dosutils
8933 install-html-dosutils: \
8934 configure-dosutils \
8935 html-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 install-html 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 install-html) \
8951 || exit 1
8953 @endif dosutils
8955 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8956 maybe-installcheck-dosutils:
8957 @if dosutils
8958 maybe-installcheck-dosutils: installcheck-dosutils
8960 installcheck-dosutils: \
8961 configure-dosutils
8962 @: $(MAKE); $(unstage)
8963 @[ -f ./dosutils/Makefile ] || exit 0; \
8964 r=`${PWD_COMMAND}`; export r; \
8965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8966 $(HOST_EXPORTS) \
8967 for flag in $(EXTRA_HOST_FLAGS) ; do \
8968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8969 done; \
8970 echo "Doing installcheck in dosutils" ; \
8971 (cd $(HOST_SUBDIR)/dosutils && \
8972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8974 "RANLIB=$${RANLIB}" \
8975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8976 installcheck) \
8977 || exit 1
8979 @endif dosutils
8981 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8982 maybe-mostlyclean-dosutils:
8983 @if dosutils
8984 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8986 mostlyclean-dosutils:
8987 @: $(MAKE); $(unstage)
8988 @[ -f ./dosutils/Makefile ] || exit 0; \
8989 r=`${PWD_COMMAND}`; export r; \
8990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8991 $(HOST_EXPORTS) \
8992 for flag in $(EXTRA_HOST_FLAGS) ; do \
8993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8994 done; \
8995 echo "Doing mostlyclean in dosutils" ; \
8996 (cd $(HOST_SUBDIR)/dosutils && \
8997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8999 "RANLIB=$${RANLIB}" \
9000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9001 mostlyclean) \
9002 || exit 1
9004 @endif dosutils
9006 .PHONY: maybe-clean-dosutils clean-dosutils
9007 maybe-clean-dosutils:
9008 @if dosutils
9009 maybe-clean-dosutils: clean-dosutils
9011 clean-dosutils:
9012 @: $(MAKE); $(unstage)
9013 @[ -f ./dosutils/Makefile ] || exit 0; \
9014 r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 $(HOST_EXPORTS) \
9017 for flag in $(EXTRA_HOST_FLAGS) ; do \
9018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9019 done; \
9020 echo "Doing clean in dosutils" ; \
9021 (cd $(HOST_SUBDIR)/dosutils && \
9022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9024 "RANLIB=$${RANLIB}" \
9025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9026 clean) \
9027 || exit 1
9029 @endif dosutils
9031 .PHONY: maybe-distclean-dosutils distclean-dosutils
9032 maybe-distclean-dosutils:
9033 @if dosutils
9034 maybe-distclean-dosutils: distclean-dosutils
9036 distclean-dosutils:
9037 @: $(MAKE); $(unstage)
9038 @[ -f ./dosutils/Makefile ] || exit 0; \
9039 r=`${PWD_COMMAND}`; export r; \
9040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9041 $(HOST_EXPORTS) \
9042 for flag in $(EXTRA_HOST_FLAGS) ; do \
9043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9044 done; \
9045 echo "Doing distclean in dosutils" ; \
9046 (cd $(HOST_SUBDIR)/dosutils && \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9049 "RANLIB=$${RANLIB}" \
9050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9051 distclean) \
9052 || exit 1
9054 @endif dosutils
9056 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9057 maybe-maintainer-clean-dosutils:
9058 @if dosutils
9059 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9061 maintainer-clean-dosutils:
9062 @: $(MAKE); $(unstage)
9063 @[ -f ./dosutils/Makefile ] || exit 0; \
9064 r=`${PWD_COMMAND}`; export r; \
9065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 $(HOST_EXPORTS) \
9067 for flag in $(EXTRA_HOST_FLAGS) ; do \
9068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 done; \
9070 echo "Doing maintainer-clean in dosutils" ; \
9071 (cd $(HOST_SUBDIR)/dosutils && \
9072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9074 "RANLIB=$${RANLIB}" \
9075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9076 maintainer-clean) \
9077 || exit 1
9079 @endif dosutils
9083 .PHONY: configure-etc maybe-configure-etc
9084 maybe-configure-etc:
9085 @if gcc-bootstrap
9086 configure-etc: stage_current
9087 @endif gcc-bootstrap
9088 @if etc
9089 maybe-configure-etc: configure-etc
9090 configure-etc:
9091 @: $(MAKE); $(unstage)
9092 @r=`${PWD_COMMAND}`; export r; \
9093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9094 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9096 $(HOST_EXPORTS) \
9097 echo Configuring in $(HOST_SUBDIR)/etc; \
9098 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9099 case $(srcdir) in \
9100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9101 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9103 esac; \
9104 srcdiroption="--srcdir=$${topdir}/etc"; \
9105 libsrcdir="$$s/etc"; \
9106 $(SHELL) $${libsrcdir}/configure \
9107 $(HOST_CONFIGARGS) $${srcdiroption} \
9108 || exit 1
9109 @endif etc
9115 .PHONY: all-etc maybe-all-etc
9116 maybe-all-etc:
9117 @if gcc-bootstrap
9118 all-etc: stage_current
9119 @endif gcc-bootstrap
9120 @if etc
9121 TARGET-etc=all
9122 maybe-all-etc: all-etc
9123 all-etc: configure-etc
9124 @: $(MAKE); $(unstage)
9125 @r=`${PWD_COMMAND}`; export r; \
9126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9127 $(HOST_EXPORTS) \
9128 (cd $(HOST_SUBDIR)/etc && \
9129 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9130 @endif etc
9135 .PHONY: check-etc maybe-check-etc
9136 maybe-check-etc:
9137 @if etc
9138 maybe-check-etc: check-etc
9140 check-etc:
9141 @: $(MAKE); $(unstage)
9142 @r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(HOST_EXPORTS) \
9145 (cd $(HOST_SUBDIR)/etc && \
9146 $(MAKE) $(FLAGS_TO_PASS) check)
9148 @endif etc
9150 .PHONY: install-etc maybe-install-etc
9151 maybe-install-etc:
9152 @if etc
9153 maybe-install-etc: install-etc
9155 install-etc: installdirs
9156 @: $(MAKE); $(unstage)
9157 @r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 (cd $(HOST_SUBDIR)/etc && \
9161 $(MAKE) $(FLAGS_TO_PASS) install)
9163 @endif etc
9165 # Other targets (info, dvi, pdf, etc.)
9167 .PHONY: maybe-info-etc info-etc
9168 maybe-info-etc:
9169 @if etc
9170 maybe-info-etc: info-etc
9172 info-etc: \
9173 configure-etc
9174 @: $(MAKE); $(unstage)
9175 @[ -f ./etc/Makefile ] || exit 0; \
9176 r=`${PWD_COMMAND}`; export r; \
9177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9178 $(HOST_EXPORTS) \
9179 for flag in $(EXTRA_HOST_FLAGS) ; do \
9180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9181 done; \
9182 echo "Doing info in etc" ; \
9183 (cd $(HOST_SUBDIR)/etc && \
9184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9186 "RANLIB=$${RANLIB}" \
9187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9188 info) \
9189 || exit 1
9191 @endif etc
9193 .PHONY: maybe-dvi-etc dvi-etc
9194 maybe-dvi-etc:
9195 @if etc
9196 maybe-dvi-etc: dvi-etc
9198 dvi-etc: \
9199 configure-etc
9200 @: $(MAKE); $(unstage)
9201 @[ -f ./etc/Makefile ] || exit 0; \
9202 r=`${PWD_COMMAND}`; export r; \
9203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9204 $(HOST_EXPORTS) \
9205 for flag in $(EXTRA_HOST_FLAGS) ; do \
9206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9207 done; \
9208 echo "Doing dvi in etc" ; \
9209 (cd $(HOST_SUBDIR)/etc && \
9210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9212 "RANLIB=$${RANLIB}" \
9213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9214 dvi) \
9215 || exit 1
9217 @endif etc
9219 .PHONY: maybe-pdf-etc pdf-etc
9220 maybe-pdf-etc:
9221 @if etc
9222 maybe-pdf-etc: pdf-etc
9224 pdf-etc: \
9225 configure-etc
9226 @: $(MAKE); $(unstage)
9227 @[ -f ./etc/Makefile ] || exit 0; \
9228 r=`${PWD_COMMAND}`; export r; \
9229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 $(HOST_EXPORTS) \
9231 for flag in $(EXTRA_HOST_FLAGS) ; do \
9232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9233 done; \
9234 echo "Doing pdf in etc" ; \
9235 (cd $(HOST_SUBDIR)/etc && \
9236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9238 "RANLIB=$${RANLIB}" \
9239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9240 pdf) \
9241 || exit 1
9243 @endif etc
9245 .PHONY: maybe-html-etc html-etc
9246 maybe-html-etc:
9247 @if etc
9248 maybe-html-etc: html-etc
9250 html-etc: \
9251 configure-etc
9252 @: $(MAKE); $(unstage)
9253 @[ -f ./etc/Makefile ] || exit 0; \
9254 r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256 $(HOST_EXPORTS) \
9257 for flag in $(EXTRA_HOST_FLAGS) ; do \
9258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9259 done; \
9260 echo "Doing html in etc" ; \
9261 (cd $(HOST_SUBDIR)/etc && \
9262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9264 "RANLIB=$${RANLIB}" \
9265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9266 html) \
9267 || exit 1
9269 @endif etc
9271 .PHONY: maybe-TAGS-etc TAGS-etc
9272 maybe-TAGS-etc:
9273 @if etc
9274 maybe-TAGS-etc: TAGS-etc
9276 TAGS-etc: \
9277 configure-etc
9278 @: $(MAKE); $(unstage)
9279 @[ -f ./etc/Makefile ] || exit 0; \
9280 r=`${PWD_COMMAND}`; export r; \
9281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9282 $(HOST_EXPORTS) \
9283 for flag in $(EXTRA_HOST_FLAGS) ; do \
9284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9285 done; \
9286 echo "Doing TAGS in etc" ; \
9287 (cd $(HOST_SUBDIR)/etc && \
9288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9290 "RANLIB=$${RANLIB}" \
9291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9292 TAGS) \
9293 || exit 1
9295 @endif etc
9297 .PHONY: maybe-install-info-etc install-info-etc
9298 maybe-install-info-etc:
9299 @if etc
9300 maybe-install-info-etc: install-info-etc
9302 install-info-etc: \
9303 configure-etc \
9304 info-etc
9305 @: $(MAKE); $(unstage)
9306 @[ -f ./etc/Makefile ] || exit 0; \
9307 r=`${PWD_COMMAND}`; export r; \
9308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9309 $(HOST_EXPORTS) \
9310 for flag in $(EXTRA_HOST_FLAGS) ; do \
9311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9312 done; \
9313 echo "Doing install-info in etc" ; \
9314 (cd $(HOST_SUBDIR)/etc && \
9315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9317 "RANLIB=$${RANLIB}" \
9318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9319 install-info) \
9320 || exit 1
9322 @endif etc
9324 .PHONY: maybe-install-html-etc install-html-etc
9325 maybe-install-html-etc:
9326 @if etc
9327 maybe-install-html-etc: install-html-etc
9329 install-html-etc: \
9330 configure-etc \
9331 html-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 install-html 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 install-html) \
9347 || exit 1
9349 @endif etc
9351 .PHONY: maybe-installcheck-etc installcheck-etc
9352 maybe-installcheck-etc:
9353 @if etc
9354 maybe-installcheck-etc: installcheck-etc
9356 installcheck-etc: \
9357 configure-etc
9358 @: $(MAKE); $(unstage)
9359 @[ -f ./etc/Makefile ] || exit 0; \
9360 r=`${PWD_COMMAND}`; export r; \
9361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9362 $(HOST_EXPORTS) \
9363 for flag in $(EXTRA_HOST_FLAGS) ; do \
9364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9365 done; \
9366 echo "Doing installcheck in etc" ; \
9367 (cd $(HOST_SUBDIR)/etc && \
9368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9370 "RANLIB=$${RANLIB}" \
9371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9372 installcheck) \
9373 || exit 1
9375 @endif etc
9377 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9378 maybe-mostlyclean-etc:
9379 @if etc
9380 maybe-mostlyclean-etc: mostlyclean-etc
9382 mostlyclean-etc:
9383 @: $(MAKE); $(unstage)
9384 @[ -f ./etc/Makefile ] || exit 0; \
9385 r=`${PWD_COMMAND}`; export r; \
9386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 $(HOST_EXPORTS) \
9388 for flag in $(EXTRA_HOST_FLAGS) ; do \
9389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9390 done; \
9391 echo "Doing mostlyclean in etc" ; \
9392 (cd $(HOST_SUBDIR)/etc && \
9393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9395 "RANLIB=$${RANLIB}" \
9396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9397 mostlyclean) \
9398 || exit 1
9400 @endif etc
9402 .PHONY: maybe-clean-etc clean-etc
9403 maybe-clean-etc:
9404 @if etc
9405 maybe-clean-etc: clean-etc
9407 clean-etc:
9408 @: $(MAKE); $(unstage)
9409 @[ -f ./etc/Makefile ] || exit 0; \
9410 r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9412 $(HOST_EXPORTS) \
9413 for flag in $(EXTRA_HOST_FLAGS) ; do \
9414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9415 done; \
9416 echo "Doing clean in etc" ; \
9417 (cd $(HOST_SUBDIR)/etc && \
9418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9420 "RANLIB=$${RANLIB}" \
9421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9422 clean) \
9423 || exit 1
9425 @endif etc
9427 .PHONY: maybe-distclean-etc distclean-etc
9428 maybe-distclean-etc:
9429 @if etc
9430 maybe-distclean-etc: distclean-etc
9432 distclean-etc:
9433 @: $(MAKE); $(unstage)
9434 @[ -f ./etc/Makefile ] || exit 0; \
9435 r=`${PWD_COMMAND}`; export r; \
9436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9437 $(HOST_EXPORTS) \
9438 for flag in $(EXTRA_HOST_FLAGS) ; do \
9439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9440 done; \
9441 echo "Doing distclean in etc" ; \
9442 (cd $(HOST_SUBDIR)/etc && \
9443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9445 "RANLIB=$${RANLIB}" \
9446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9447 distclean) \
9448 || exit 1
9450 @endif etc
9452 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9453 maybe-maintainer-clean-etc:
9454 @if etc
9455 maybe-maintainer-clean-etc: maintainer-clean-etc
9457 maintainer-clean-etc:
9458 @: $(MAKE); $(unstage)
9459 @[ -f ./etc/Makefile ] || exit 0; \
9460 r=`${PWD_COMMAND}`; export r; \
9461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9462 $(HOST_EXPORTS) \
9463 for flag in $(EXTRA_HOST_FLAGS) ; do \
9464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9465 done; \
9466 echo "Doing maintainer-clean in etc" ; \
9467 (cd $(HOST_SUBDIR)/etc && \
9468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9470 "RANLIB=$${RANLIB}" \
9471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9472 maintainer-clean) \
9473 || exit 1
9475 @endif etc
9479 .PHONY: configure-fastjar maybe-configure-fastjar
9480 maybe-configure-fastjar:
9481 @if gcc-bootstrap
9482 configure-fastjar: stage_current
9483 @endif gcc-bootstrap
9484 @if fastjar
9485 maybe-configure-fastjar: configure-fastjar
9486 configure-fastjar:
9487 @: $(MAKE); $(unstage)
9488 @r=`${PWD_COMMAND}`; export r; \
9489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9490 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9492 $(HOST_EXPORTS) \
9493 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9494 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9495 case $(srcdir) in \
9496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9497 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9499 esac; \
9500 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9501 libsrcdir="$$s/fastjar"; \
9502 $(SHELL) $${libsrcdir}/configure \
9503 $(HOST_CONFIGARGS) $${srcdiroption} \
9504 || exit 1
9505 @endif fastjar
9511 .PHONY: all-fastjar maybe-all-fastjar
9512 maybe-all-fastjar:
9513 @if gcc-bootstrap
9514 all-fastjar: stage_current
9515 @endif gcc-bootstrap
9516 @if fastjar
9517 TARGET-fastjar=all
9518 maybe-all-fastjar: all-fastjar
9519 all-fastjar: configure-fastjar
9520 @: $(MAKE); $(unstage)
9521 @r=`${PWD_COMMAND}`; export r; \
9522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9523 $(HOST_EXPORTS) \
9524 (cd $(HOST_SUBDIR)/fastjar && \
9525 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9526 @endif fastjar
9531 .PHONY: check-fastjar maybe-check-fastjar
9532 maybe-check-fastjar:
9533 @if fastjar
9534 maybe-check-fastjar: check-fastjar
9536 # This module is only tested in a native toolchain.
9537 check-fastjar:
9538 @: $(MAKE); $(unstage)
9539 @if [ '$(host)' = '$(target)' ] ; then \
9540 r=`${PWD_COMMAND}`; export r; \
9541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 $(HOST_EXPORTS) \
9543 (cd $(HOST_SUBDIR)/fastjar && \
9544 $(MAKE) $(FLAGS_TO_PASS) check); \
9547 @endif fastjar
9549 .PHONY: install-fastjar maybe-install-fastjar
9550 maybe-install-fastjar:
9551 @if fastjar
9552 maybe-install-fastjar: install-fastjar
9554 install-fastjar: installdirs
9555 @: $(MAKE); $(unstage)
9556 @r=`${PWD_COMMAND}`; export r; \
9557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9558 $(HOST_EXPORTS) \
9559 (cd $(HOST_SUBDIR)/fastjar && \
9560 $(MAKE) $(FLAGS_TO_PASS) install)
9562 @endif fastjar
9564 # Other targets (info, dvi, pdf, etc.)
9566 .PHONY: maybe-info-fastjar info-fastjar
9567 maybe-info-fastjar:
9568 @if fastjar
9569 maybe-info-fastjar: info-fastjar
9571 info-fastjar: \
9572 configure-fastjar
9573 @: $(MAKE); $(unstage)
9574 @[ -f ./fastjar/Makefile ] || exit 0; \
9575 r=`${PWD_COMMAND}`; export r; \
9576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9577 $(HOST_EXPORTS) \
9578 for flag in $(EXTRA_HOST_FLAGS) ; do \
9579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9580 done; \
9581 echo "Doing info in fastjar" ; \
9582 (cd $(HOST_SUBDIR)/fastjar && \
9583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9585 "RANLIB=$${RANLIB}" \
9586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9587 info) \
9588 || exit 1
9590 @endif fastjar
9592 .PHONY: maybe-dvi-fastjar dvi-fastjar
9593 maybe-dvi-fastjar:
9594 @if fastjar
9595 maybe-dvi-fastjar: dvi-fastjar
9597 dvi-fastjar: \
9598 configure-fastjar
9599 @: $(MAKE); $(unstage)
9600 @[ -f ./fastjar/Makefile ] || exit 0; \
9601 r=`${PWD_COMMAND}`; export r; \
9602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9603 $(HOST_EXPORTS) \
9604 for flag in $(EXTRA_HOST_FLAGS) ; do \
9605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9606 done; \
9607 echo "Doing dvi in fastjar" ; \
9608 (cd $(HOST_SUBDIR)/fastjar && \
9609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9611 "RANLIB=$${RANLIB}" \
9612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9613 dvi) \
9614 || exit 1
9616 @endif fastjar
9618 .PHONY: maybe-pdf-fastjar pdf-fastjar
9619 maybe-pdf-fastjar:
9620 @if fastjar
9621 maybe-pdf-fastjar: pdf-fastjar
9623 pdf-fastjar: \
9624 configure-fastjar
9625 @: $(MAKE); $(unstage)
9626 @[ -f ./fastjar/Makefile ] || exit 0; \
9627 r=`${PWD_COMMAND}`; export r; \
9628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9629 $(HOST_EXPORTS) \
9630 for flag in $(EXTRA_HOST_FLAGS) ; do \
9631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9632 done; \
9633 echo "Doing pdf in fastjar" ; \
9634 (cd $(HOST_SUBDIR)/fastjar && \
9635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9637 "RANLIB=$${RANLIB}" \
9638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9639 pdf) \
9640 || exit 1
9642 @endif fastjar
9644 .PHONY: maybe-html-fastjar html-fastjar
9645 maybe-html-fastjar:
9646 @if fastjar
9647 maybe-html-fastjar: html-fastjar
9649 html-fastjar: \
9650 configure-fastjar
9651 @: $(MAKE); $(unstage)
9652 @[ -f ./fastjar/Makefile ] || exit 0; \
9653 r=`${PWD_COMMAND}`; export r; \
9654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9655 $(HOST_EXPORTS) \
9656 for flag in $(EXTRA_HOST_FLAGS) ; do \
9657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9658 done; \
9659 echo "Doing html in fastjar" ; \
9660 (cd $(HOST_SUBDIR)/fastjar && \
9661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9663 "RANLIB=$${RANLIB}" \
9664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9665 html) \
9666 || exit 1
9668 @endif fastjar
9670 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9671 maybe-TAGS-fastjar:
9672 @if fastjar
9673 maybe-TAGS-fastjar: TAGS-fastjar
9675 TAGS-fastjar: \
9676 configure-fastjar
9677 @: $(MAKE); $(unstage)
9678 @[ -f ./fastjar/Makefile ] || exit 0; \
9679 r=`${PWD_COMMAND}`; export r; \
9680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9681 $(HOST_EXPORTS) \
9682 for flag in $(EXTRA_HOST_FLAGS) ; do \
9683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9684 done; \
9685 echo "Doing TAGS in fastjar" ; \
9686 (cd $(HOST_SUBDIR)/fastjar && \
9687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9689 "RANLIB=$${RANLIB}" \
9690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9691 TAGS) \
9692 || exit 1
9694 @endif fastjar
9696 .PHONY: maybe-install-info-fastjar install-info-fastjar
9697 maybe-install-info-fastjar:
9698 @if fastjar
9699 maybe-install-info-fastjar: install-info-fastjar
9701 install-info-fastjar: \
9702 configure-fastjar \
9703 info-fastjar
9704 @: $(MAKE); $(unstage)
9705 @[ -f ./fastjar/Makefile ] || exit 0; \
9706 r=`${PWD_COMMAND}`; export r; \
9707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9708 $(HOST_EXPORTS) \
9709 for flag in $(EXTRA_HOST_FLAGS) ; do \
9710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9711 done; \
9712 echo "Doing install-info in fastjar" ; \
9713 (cd $(HOST_SUBDIR)/fastjar && \
9714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9716 "RANLIB=$${RANLIB}" \
9717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9718 install-info) \
9719 || exit 1
9721 @endif fastjar
9723 .PHONY: maybe-install-html-fastjar install-html-fastjar
9724 maybe-install-html-fastjar:
9725 @if fastjar
9726 maybe-install-html-fastjar: install-html-fastjar
9728 install-html-fastjar: \
9729 configure-fastjar \
9730 html-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 install-html 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 install-html) \
9746 || exit 1
9748 @endif fastjar
9750 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9751 maybe-installcheck-fastjar:
9752 @if fastjar
9753 maybe-installcheck-fastjar: installcheck-fastjar
9755 installcheck-fastjar: \
9756 configure-fastjar
9757 @: $(MAKE); $(unstage)
9758 @[ -f ./fastjar/Makefile ] || exit 0; \
9759 r=`${PWD_COMMAND}`; export r; \
9760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9761 $(HOST_EXPORTS) \
9762 for flag in $(EXTRA_HOST_FLAGS) ; do \
9763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9764 done; \
9765 echo "Doing installcheck in fastjar" ; \
9766 (cd $(HOST_SUBDIR)/fastjar && \
9767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9769 "RANLIB=$${RANLIB}" \
9770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9771 installcheck) \
9772 || exit 1
9774 @endif fastjar
9776 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9777 maybe-mostlyclean-fastjar:
9778 @if fastjar
9779 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9781 mostlyclean-fastjar:
9782 @: $(MAKE); $(unstage)
9783 @[ -f ./fastjar/Makefile ] || exit 0; \
9784 r=`${PWD_COMMAND}`; export r; \
9785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9786 $(HOST_EXPORTS) \
9787 for flag in $(EXTRA_HOST_FLAGS) ; do \
9788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9789 done; \
9790 echo "Doing mostlyclean in fastjar" ; \
9791 (cd $(HOST_SUBDIR)/fastjar && \
9792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9794 "RANLIB=$${RANLIB}" \
9795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9796 mostlyclean) \
9797 || exit 1
9799 @endif fastjar
9801 .PHONY: maybe-clean-fastjar clean-fastjar
9802 maybe-clean-fastjar:
9803 @if fastjar
9804 maybe-clean-fastjar: clean-fastjar
9806 clean-fastjar:
9807 @: $(MAKE); $(unstage)
9808 @[ -f ./fastjar/Makefile ] || exit 0; \
9809 r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811 $(HOST_EXPORTS) \
9812 for flag in $(EXTRA_HOST_FLAGS) ; do \
9813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9814 done; \
9815 echo "Doing clean in fastjar" ; \
9816 (cd $(HOST_SUBDIR)/fastjar && \
9817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9819 "RANLIB=$${RANLIB}" \
9820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9821 clean) \
9822 || exit 1
9824 @endif fastjar
9826 .PHONY: maybe-distclean-fastjar distclean-fastjar
9827 maybe-distclean-fastjar:
9828 @if fastjar
9829 maybe-distclean-fastjar: distclean-fastjar
9831 distclean-fastjar:
9832 @: $(MAKE); $(unstage)
9833 @[ -f ./fastjar/Makefile ] || exit 0; \
9834 r=`${PWD_COMMAND}`; export r; \
9835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9836 $(HOST_EXPORTS) \
9837 for flag in $(EXTRA_HOST_FLAGS) ; do \
9838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9839 done; \
9840 echo "Doing distclean in fastjar" ; \
9841 (cd $(HOST_SUBDIR)/fastjar && \
9842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9844 "RANLIB=$${RANLIB}" \
9845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9846 distclean) \
9847 || exit 1
9849 @endif fastjar
9851 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9852 maybe-maintainer-clean-fastjar:
9853 @if fastjar
9854 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9856 maintainer-clean-fastjar:
9857 @: $(MAKE); $(unstage)
9858 @[ -f ./fastjar/Makefile ] || exit 0; \
9859 r=`${PWD_COMMAND}`; export r; \
9860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9861 $(HOST_EXPORTS) \
9862 for flag in $(EXTRA_HOST_FLAGS) ; do \
9863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9864 done; \
9865 echo "Doing maintainer-clean in fastjar" ; \
9866 (cd $(HOST_SUBDIR)/fastjar && \
9867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9869 "RANLIB=$${RANLIB}" \
9870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9871 maintainer-clean) \
9872 || exit 1
9874 @endif fastjar
9878 .PHONY: configure-fileutils maybe-configure-fileutils
9879 maybe-configure-fileutils:
9880 @if gcc-bootstrap
9881 configure-fileutils: stage_current
9882 @endif gcc-bootstrap
9883 @if fileutils
9884 maybe-configure-fileutils: configure-fileutils
9885 configure-fileutils:
9886 @: $(MAKE); $(unstage)
9887 @r=`${PWD_COMMAND}`; export r; \
9888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9889 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9891 $(HOST_EXPORTS) \
9892 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9893 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9894 case $(srcdir) in \
9895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9896 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9898 esac; \
9899 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9900 libsrcdir="$$s/fileutils"; \
9901 $(SHELL) $${libsrcdir}/configure \
9902 $(HOST_CONFIGARGS) $${srcdiroption} \
9903 || exit 1
9904 @endif fileutils
9910 .PHONY: all-fileutils maybe-all-fileutils
9911 maybe-all-fileutils:
9912 @if gcc-bootstrap
9913 all-fileutils: stage_current
9914 @endif gcc-bootstrap
9915 @if fileutils
9916 TARGET-fileutils=all
9917 maybe-all-fileutils: all-fileutils
9918 all-fileutils: configure-fileutils
9919 @: $(MAKE); $(unstage)
9920 @r=`${PWD_COMMAND}`; export r; \
9921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9922 $(HOST_EXPORTS) \
9923 (cd $(HOST_SUBDIR)/fileutils && \
9924 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9925 @endif fileutils
9930 .PHONY: check-fileutils maybe-check-fileutils
9931 maybe-check-fileutils:
9932 @if fileutils
9933 maybe-check-fileutils: check-fileutils
9935 check-fileutils:
9936 @: $(MAKE); $(unstage)
9937 @r=`${PWD_COMMAND}`; export r; \
9938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9939 $(HOST_EXPORTS) \
9940 (cd $(HOST_SUBDIR)/fileutils && \
9941 $(MAKE) $(FLAGS_TO_PASS) check)
9943 @endif fileutils
9945 .PHONY: install-fileutils maybe-install-fileutils
9946 maybe-install-fileutils:
9947 @if fileutils
9948 maybe-install-fileutils: install-fileutils
9950 install-fileutils: installdirs
9951 @: $(MAKE); $(unstage)
9952 @r=`${PWD_COMMAND}`; export r; \
9953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9954 $(HOST_EXPORTS) \
9955 (cd $(HOST_SUBDIR)/fileutils && \
9956 $(MAKE) $(FLAGS_TO_PASS) install)
9958 @endif fileutils
9960 # Other targets (info, dvi, pdf, etc.)
9962 .PHONY: maybe-info-fileutils info-fileutils
9963 maybe-info-fileutils:
9964 @if fileutils
9965 maybe-info-fileutils: info-fileutils
9967 info-fileutils: \
9968 configure-fileutils
9969 @: $(MAKE); $(unstage)
9970 @[ -f ./fileutils/Makefile ] || exit 0; \
9971 r=`${PWD_COMMAND}`; export r; \
9972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9973 $(HOST_EXPORTS) \
9974 for flag in $(EXTRA_HOST_FLAGS) ; do \
9975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9976 done; \
9977 echo "Doing info in fileutils" ; \
9978 (cd $(HOST_SUBDIR)/fileutils && \
9979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9981 "RANLIB=$${RANLIB}" \
9982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9983 info) \
9984 || exit 1
9986 @endif fileutils
9988 .PHONY: maybe-dvi-fileutils dvi-fileutils
9989 maybe-dvi-fileutils:
9990 @if fileutils
9991 maybe-dvi-fileutils: dvi-fileutils
9993 dvi-fileutils: \
9994 configure-fileutils
9995 @: $(MAKE); $(unstage)
9996 @[ -f ./fileutils/Makefile ] || exit 0; \
9997 r=`${PWD_COMMAND}`; export r; \
9998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9999 $(HOST_EXPORTS) \
10000 for flag in $(EXTRA_HOST_FLAGS) ; do \
10001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10002 done; \
10003 echo "Doing dvi in fileutils" ; \
10004 (cd $(HOST_SUBDIR)/fileutils && \
10005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10007 "RANLIB=$${RANLIB}" \
10008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10009 dvi) \
10010 || exit 1
10012 @endif fileutils
10014 .PHONY: maybe-pdf-fileutils pdf-fileutils
10015 maybe-pdf-fileutils:
10016 @if fileutils
10017 maybe-pdf-fileutils: pdf-fileutils
10019 pdf-fileutils: \
10020 configure-fileutils
10021 @: $(MAKE); $(unstage)
10022 @[ -f ./fileutils/Makefile ] || exit 0; \
10023 r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10025 $(HOST_EXPORTS) \
10026 for flag in $(EXTRA_HOST_FLAGS) ; do \
10027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10028 done; \
10029 echo "Doing pdf in fileutils" ; \
10030 (cd $(HOST_SUBDIR)/fileutils && \
10031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10033 "RANLIB=$${RANLIB}" \
10034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10035 pdf) \
10036 || exit 1
10038 @endif fileutils
10040 .PHONY: maybe-html-fileutils html-fileutils
10041 maybe-html-fileutils:
10042 @if fileutils
10043 maybe-html-fileutils: html-fileutils
10045 html-fileutils: \
10046 configure-fileutils
10047 @: $(MAKE); $(unstage)
10048 @[ -f ./fileutils/Makefile ] || exit 0; \
10049 r=`${PWD_COMMAND}`; export r; \
10050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10051 $(HOST_EXPORTS) \
10052 for flag in $(EXTRA_HOST_FLAGS) ; do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10054 done; \
10055 echo "Doing html in fileutils" ; \
10056 (cd $(HOST_SUBDIR)/fileutils && \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10061 html) \
10062 || exit 1
10064 @endif fileutils
10066 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10067 maybe-TAGS-fileutils:
10068 @if fileutils
10069 maybe-TAGS-fileutils: TAGS-fileutils
10071 TAGS-fileutils: \
10072 configure-fileutils
10073 @: $(MAKE); $(unstage)
10074 @[ -f ./fileutils/Makefile ] || exit 0; \
10075 r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 $(HOST_EXPORTS) \
10078 for flag in $(EXTRA_HOST_FLAGS) ; do \
10079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10080 done; \
10081 echo "Doing TAGS in fileutils" ; \
10082 (cd $(HOST_SUBDIR)/fileutils && \
10083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10085 "RANLIB=$${RANLIB}" \
10086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10087 TAGS) \
10088 || exit 1
10090 @endif fileutils
10092 .PHONY: maybe-install-info-fileutils install-info-fileutils
10093 maybe-install-info-fileutils:
10094 @if fileutils
10095 maybe-install-info-fileutils: install-info-fileutils
10097 install-info-fileutils: \
10098 configure-fileutils \
10099 info-fileutils
10100 @: $(MAKE); $(unstage)
10101 @[ -f ./fileutils/Makefile ] || exit 0; \
10102 r=`${PWD_COMMAND}`; export r; \
10103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10104 $(HOST_EXPORTS) \
10105 for flag in $(EXTRA_HOST_FLAGS) ; do \
10106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10107 done; \
10108 echo "Doing install-info in fileutils" ; \
10109 (cd $(HOST_SUBDIR)/fileutils && \
10110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10112 "RANLIB=$${RANLIB}" \
10113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10114 install-info) \
10115 || exit 1
10117 @endif fileutils
10119 .PHONY: maybe-install-html-fileutils install-html-fileutils
10120 maybe-install-html-fileutils:
10121 @if fileutils
10122 maybe-install-html-fileutils: install-html-fileutils
10124 install-html-fileutils: \
10125 configure-fileutils \
10126 html-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 install-html 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 install-html) \
10142 || exit 1
10144 @endif fileutils
10146 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10147 maybe-installcheck-fileutils:
10148 @if fileutils
10149 maybe-installcheck-fileutils: installcheck-fileutils
10151 installcheck-fileutils: \
10152 configure-fileutils
10153 @: $(MAKE); $(unstage)
10154 @[ -f ./fileutils/Makefile ] || exit 0; \
10155 r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10157 $(HOST_EXPORTS) \
10158 for flag in $(EXTRA_HOST_FLAGS) ; do \
10159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10160 done; \
10161 echo "Doing installcheck in fileutils" ; \
10162 (cd $(HOST_SUBDIR)/fileutils && \
10163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10165 "RANLIB=$${RANLIB}" \
10166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10167 installcheck) \
10168 || exit 1
10170 @endif fileutils
10172 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10173 maybe-mostlyclean-fileutils:
10174 @if fileutils
10175 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10177 mostlyclean-fileutils:
10178 @: $(MAKE); $(unstage)
10179 @[ -f ./fileutils/Makefile ] || exit 0; \
10180 r=`${PWD_COMMAND}`; export r; \
10181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10182 $(HOST_EXPORTS) \
10183 for flag in $(EXTRA_HOST_FLAGS) ; do \
10184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10185 done; \
10186 echo "Doing mostlyclean in fileutils" ; \
10187 (cd $(HOST_SUBDIR)/fileutils && \
10188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10190 "RANLIB=$${RANLIB}" \
10191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10192 mostlyclean) \
10193 || exit 1
10195 @endif fileutils
10197 .PHONY: maybe-clean-fileutils clean-fileutils
10198 maybe-clean-fileutils:
10199 @if fileutils
10200 maybe-clean-fileutils: clean-fileutils
10202 clean-fileutils:
10203 @: $(MAKE); $(unstage)
10204 @[ -f ./fileutils/Makefile ] || exit 0; \
10205 r=`${PWD_COMMAND}`; export r; \
10206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10207 $(HOST_EXPORTS) \
10208 for flag in $(EXTRA_HOST_FLAGS) ; do \
10209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10210 done; \
10211 echo "Doing clean in fileutils" ; \
10212 (cd $(HOST_SUBDIR)/fileutils && \
10213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10215 "RANLIB=$${RANLIB}" \
10216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10217 clean) \
10218 || exit 1
10220 @endif fileutils
10222 .PHONY: maybe-distclean-fileutils distclean-fileutils
10223 maybe-distclean-fileutils:
10224 @if fileutils
10225 maybe-distclean-fileutils: distclean-fileutils
10227 distclean-fileutils:
10228 @: $(MAKE); $(unstage)
10229 @[ -f ./fileutils/Makefile ] || exit 0; \
10230 r=`${PWD_COMMAND}`; export r; \
10231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10232 $(HOST_EXPORTS) \
10233 for flag in $(EXTRA_HOST_FLAGS) ; do \
10234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10235 done; \
10236 echo "Doing distclean in fileutils" ; \
10237 (cd $(HOST_SUBDIR)/fileutils && \
10238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10240 "RANLIB=$${RANLIB}" \
10241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10242 distclean) \
10243 || exit 1
10245 @endif fileutils
10247 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10248 maybe-maintainer-clean-fileutils:
10249 @if fileutils
10250 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10252 maintainer-clean-fileutils:
10253 @: $(MAKE); $(unstage)
10254 @[ -f ./fileutils/Makefile ] || exit 0; \
10255 r=`${PWD_COMMAND}`; export r; \
10256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10257 $(HOST_EXPORTS) \
10258 for flag in $(EXTRA_HOST_FLAGS) ; do \
10259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10260 done; \
10261 echo "Doing maintainer-clean in fileutils" ; \
10262 (cd $(HOST_SUBDIR)/fileutils && \
10263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10265 "RANLIB=$${RANLIB}" \
10266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10267 maintainer-clean) \
10268 || exit 1
10270 @endif fileutils
10274 .PHONY: configure-findutils maybe-configure-findutils
10275 maybe-configure-findutils:
10276 @if gcc-bootstrap
10277 configure-findutils: stage_current
10278 @endif gcc-bootstrap
10279 @if findutils
10280 maybe-configure-findutils: configure-findutils
10281 configure-findutils:
10282 @: $(MAKE); $(unstage)
10283 @r=`${PWD_COMMAND}`; export r; \
10284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10285 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10287 $(HOST_EXPORTS) \
10288 echo Configuring in $(HOST_SUBDIR)/findutils; \
10289 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10290 case $(srcdir) in \
10291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10292 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10294 esac; \
10295 srcdiroption="--srcdir=$${topdir}/findutils"; \
10296 libsrcdir="$$s/findutils"; \
10297 $(SHELL) $${libsrcdir}/configure \
10298 $(HOST_CONFIGARGS) $${srcdiroption} \
10299 || exit 1
10300 @endif findutils
10306 .PHONY: all-findutils maybe-all-findutils
10307 maybe-all-findutils:
10308 @if gcc-bootstrap
10309 all-findutils: stage_current
10310 @endif gcc-bootstrap
10311 @if findutils
10312 TARGET-findutils=all
10313 maybe-all-findutils: all-findutils
10314 all-findutils: configure-findutils
10315 @: $(MAKE); $(unstage)
10316 @r=`${PWD_COMMAND}`; export r; \
10317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10318 $(HOST_EXPORTS) \
10319 (cd $(HOST_SUBDIR)/findutils && \
10320 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10321 @endif findutils
10326 .PHONY: check-findutils maybe-check-findutils
10327 maybe-check-findutils:
10328 @if findutils
10329 maybe-check-findutils: check-findutils
10331 check-findutils:
10332 @: $(MAKE); $(unstage)
10333 @r=`${PWD_COMMAND}`; export r; \
10334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10335 $(HOST_EXPORTS) \
10336 (cd $(HOST_SUBDIR)/findutils && \
10337 $(MAKE) $(FLAGS_TO_PASS) check)
10339 @endif findutils
10341 .PHONY: install-findutils maybe-install-findutils
10342 maybe-install-findutils:
10343 @if findutils
10344 maybe-install-findutils: install-findutils
10346 install-findutils: installdirs
10347 @: $(MAKE); $(unstage)
10348 @r=`${PWD_COMMAND}`; export r; \
10349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10350 $(HOST_EXPORTS) \
10351 (cd $(HOST_SUBDIR)/findutils && \
10352 $(MAKE) $(FLAGS_TO_PASS) install)
10354 @endif findutils
10356 # Other targets (info, dvi, pdf, etc.)
10358 .PHONY: maybe-info-findutils info-findutils
10359 maybe-info-findutils:
10360 @if findutils
10361 maybe-info-findutils: info-findutils
10363 info-findutils: \
10364 configure-findutils
10365 @: $(MAKE); $(unstage)
10366 @[ -f ./findutils/Makefile ] || exit 0; \
10367 r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10369 $(HOST_EXPORTS) \
10370 for flag in $(EXTRA_HOST_FLAGS) ; do \
10371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10372 done; \
10373 echo "Doing info in findutils" ; \
10374 (cd $(HOST_SUBDIR)/findutils && \
10375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10377 "RANLIB=$${RANLIB}" \
10378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10379 info) \
10380 || exit 1
10382 @endif findutils
10384 .PHONY: maybe-dvi-findutils dvi-findutils
10385 maybe-dvi-findutils:
10386 @if findutils
10387 maybe-dvi-findutils: dvi-findutils
10389 dvi-findutils: \
10390 configure-findutils
10391 @: $(MAKE); $(unstage)
10392 @[ -f ./findutils/Makefile ] || exit 0; \
10393 r=`${PWD_COMMAND}`; export r; \
10394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10395 $(HOST_EXPORTS) \
10396 for flag in $(EXTRA_HOST_FLAGS) ; do \
10397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10398 done; \
10399 echo "Doing dvi in findutils" ; \
10400 (cd $(HOST_SUBDIR)/findutils && \
10401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10403 "RANLIB=$${RANLIB}" \
10404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10405 dvi) \
10406 || exit 1
10408 @endif findutils
10410 .PHONY: maybe-pdf-findutils pdf-findutils
10411 maybe-pdf-findutils:
10412 @if findutils
10413 maybe-pdf-findutils: pdf-findutils
10415 pdf-findutils: \
10416 configure-findutils
10417 @: $(MAKE); $(unstage)
10418 @[ -f ./findutils/Makefile ] || exit 0; \
10419 r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 $(HOST_EXPORTS) \
10422 for flag in $(EXTRA_HOST_FLAGS) ; do \
10423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10424 done; \
10425 echo "Doing pdf in findutils" ; \
10426 (cd $(HOST_SUBDIR)/findutils && \
10427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10429 "RANLIB=$${RANLIB}" \
10430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10431 pdf) \
10432 || exit 1
10434 @endif findutils
10436 .PHONY: maybe-html-findutils html-findutils
10437 maybe-html-findutils:
10438 @if findutils
10439 maybe-html-findutils: html-findutils
10441 html-findutils: \
10442 configure-findutils
10443 @: $(MAKE); $(unstage)
10444 @[ -f ./findutils/Makefile ] || exit 0; \
10445 r=`${PWD_COMMAND}`; export r; \
10446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10447 $(HOST_EXPORTS) \
10448 for flag in $(EXTRA_HOST_FLAGS) ; do \
10449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10450 done; \
10451 echo "Doing html in findutils" ; \
10452 (cd $(HOST_SUBDIR)/findutils && \
10453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10455 "RANLIB=$${RANLIB}" \
10456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10457 html) \
10458 || exit 1
10460 @endif findutils
10462 .PHONY: maybe-TAGS-findutils TAGS-findutils
10463 maybe-TAGS-findutils:
10464 @if findutils
10465 maybe-TAGS-findutils: TAGS-findutils
10467 TAGS-findutils: \
10468 configure-findutils
10469 @: $(MAKE); $(unstage)
10470 @[ -f ./findutils/Makefile ] || exit 0; \
10471 r=`${PWD_COMMAND}`; export r; \
10472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10473 $(HOST_EXPORTS) \
10474 for flag in $(EXTRA_HOST_FLAGS) ; do \
10475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10476 done; \
10477 echo "Doing TAGS in findutils" ; \
10478 (cd $(HOST_SUBDIR)/findutils && \
10479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10481 "RANLIB=$${RANLIB}" \
10482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10483 TAGS) \
10484 || exit 1
10486 @endif findutils
10488 .PHONY: maybe-install-info-findutils install-info-findutils
10489 maybe-install-info-findutils:
10490 @if findutils
10491 maybe-install-info-findutils: install-info-findutils
10493 install-info-findutils: \
10494 configure-findutils \
10495 info-findutils
10496 @: $(MAKE); $(unstage)
10497 @[ -f ./findutils/Makefile ] || exit 0; \
10498 r=`${PWD_COMMAND}`; export r; \
10499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10500 $(HOST_EXPORTS) \
10501 for flag in $(EXTRA_HOST_FLAGS) ; do \
10502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10503 done; \
10504 echo "Doing install-info in findutils" ; \
10505 (cd $(HOST_SUBDIR)/findutils && \
10506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10508 "RANLIB=$${RANLIB}" \
10509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10510 install-info) \
10511 || exit 1
10513 @endif findutils
10515 .PHONY: maybe-install-html-findutils install-html-findutils
10516 maybe-install-html-findutils:
10517 @if findutils
10518 maybe-install-html-findutils: install-html-findutils
10520 install-html-findutils: \
10521 configure-findutils \
10522 html-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 install-html 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 install-html) \
10538 || exit 1
10540 @endif findutils
10542 .PHONY: maybe-installcheck-findutils installcheck-findutils
10543 maybe-installcheck-findutils:
10544 @if findutils
10545 maybe-installcheck-findutils: installcheck-findutils
10547 installcheck-findutils: \
10548 configure-findutils
10549 @: $(MAKE); $(unstage)
10550 @[ -f ./findutils/Makefile ] || exit 0; \
10551 r=`${PWD_COMMAND}`; export r; \
10552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10553 $(HOST_EXPORTS) \
10554 for flag in $(EXTRA_HOST_FLAGS) ; do \
10555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10556 done; \
10557 echo "Doing installcheck in findutils" ; \
10558 (cd $(HOST_SUBDIR)/findutils && \
10559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10561 "RANLIB=$${RANLIB}" \
10562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10563 installcheck) \
10564 || exit 1
10566 @endif findutils
10568 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10569 maybe-mostlyclean-findutils:
10570 @if findutils
10571 maybe-mostlyclean-findutils: mostlyclean-findutils
10573 mostlyclean-findutils:
10574 @: $(MAKE); $(unstage)
10575 @[ -f ./findutils/Makefile ] || exit 0; \
10576 r=`${PWD_COMMAND}`; export r; \
10577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10578 $(HOST_EXPORTS) \
10579 for flag in $(EXTRA_HOST_FLAGS) ; do \
10580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10581 done; \
10582 echo "Doing mostlyclean in findutils" ; \
10583 (cd $(HOST_SUBDIR)/findutils && \
10584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10586 "RANLIB=$${RANLIB}" \
10587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10588 mostlyclean) \
10589 || exit 1
10591 @endif findutils
10593 .PHONY: maybe-clean-findutils clean-findutils
10594 maybe-clean-findutils:
10595 @if findutils
10596 maybe-clean-findutils: clean-findutils
10598 clean-findutils:
10599 @: $(MAKE); $(unstage)
10600 @[ -f ./findutils/Makefile ] || exit 0; \
10601 r=`${PWD_COMMAND}`; export r; \
10602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10603 $(HOST_EXPORTS) \
10604 for flag in $(EXTRA_HOST_FLAGS) ; do \
10605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10606 done; \
10607 echo "Doing clean in findutils" ; \
10608 (cd $(HOST_SUBDIR)/findutils && \
10609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10611 "RANLIB=$${RANLIB}" \
10612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10613 clean) \
10614 || exit 1
10616 @endif findutils
10618 .PHONY: maybe-distclean-findutils distclean-findutils
10619 maybe-distclean-findutils:
10620 @if findutils
10621 maybe-distclean-findutils: distclean-findutils
10623 distclean-findutils:
10624 @: $(MAKE); $(unstage)
10625 @[ -f ./findutils/Makefile ] || exit 0; \
10626 r=`${PWD_COMMAND}`; export r; \
10627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10628 $(HOST_EXPORTS) \
10629 for flag in $(EXTRA_HOST_FLAGS) ; do \
10630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10631 done; \
10632 echo "Doing distclean in findutils" ; \
10633 (cd $(HOST_SUBDIR)/findutils && \
10634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10636 "RANLIB=$${RANLIB}" \
10637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10638 distclean) \
10639 || exit 1
10641 @endif findutils
10643 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10644 maybe-maintainer-clean-findutils:
10645 @if findutils
10646 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10648 maintainer-clean-findutils:
10649 @: $(MAKE); $(unstage)
10650 @[ -f ./findutils/Makefile ] || exit 0; \
10651 r=`${PWD_COMMAND}`; export r; \
10652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10653 $(HOST_EXPORTS) \
10654 for flag in $(EXTRA_HOST_FLAGS) ; do \
10655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10656 done; \
10657 echo "Doing maintainer-clean in findutils" ; \
10658 (cd $(HOST_SUBDIR)/findutils && \
10659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10661 "RANLIB=$${RANLIB}" \
10662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10663 maintainer-clean) \
10664 || exit 1
10666 @endif findutils
10670 .PHONY: configure-find maybe-configure-find
10671 maybe-configure-find:
10672 @if gcc-bootstrap
10673 configure-find: stage_current
10674 @endif gcc-bootstrap
10675 @if find
10676 maybe-configure-find: configure-find
10677 configure-find:
10678 @: $(MAKE); $(unstage)
10679 @r=`${PWD_COMMAND}`; export r; \
10680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10681 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10683 $(HOST_EXPORTS) \
10684 echo Configuring in $(HOST_SUBDIR)/find; \
10685 cd "$(HOST_SUBDIR)/find" || exit 1; \
10686 case $(srcdir) in \
10687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10688 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10690 esac; \
10691 srcdiroption="--srcdir=$${topdir}/find"; \
10692 libsrcdir="$$s/find"; \
10693 $(SHELL) $${libsrcdir}/configure \
10694 $(HOST_CONFIGARGS) $${srcdiroption} \
10695 || exit 1
10696 @endif find
10702 .PHONY: all-find maybe-all-find
10703 maybe-all-find:
10704 @if gcc-bootstrap
10705 all-find: stage_current
10706 @endif gcc-bootstrap
10707 @if find
10708 TARGET-find=all
10709 maybe-all-find: all-find
10710 all-find: configure-find
10711 @: $(MAKE); $(unstage)
10712 @r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 $(HOST_EXPORTS) \
10715 (cd $(HOST_SUBDIR)/find && \
10716 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10717 @endif find
10722 .PHONY: check-find maybe-check-find
10723 maybe-check-find:
10724 @if find
10725 maybe-check-find: check-find
10727 check-find:
10728 @: $(MAKE); $(unstage)
10729 @r=`${PWD_COMMAND}`; export r; \
10730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10731 $(HOST_EXPORTS) \
10732 (cd $(HOST_SUBDIR)/find && \
10733 $(MAKE) $(FLAGS_TO_PASS) check)
10735 @endif find
10737 .PHONY: install-find maybe-install-find
10738 maybe-install-find:
10739 @if find
10740 maybe-install-find: install-find
10742 install-find: installdirs
10743 @: $(MAKE); $(unstage)
10744 @r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 $(HOST_EXPORTS) \
10747 (cd $(HOST_SUBDIR)/find && \
10748 $(MAKE) $(FLAGS_TO_PASS) install)
10750 @endif find
10752 # Other targets (info, dvi, pdf, etc.)
10754 .PHONY: maybe-info-find info-find
10755 maybe-info-find:
10756 @if find
10757 maybe-info-find: info-find
10759 info-find: \
10760 configure-find
10761 @: $(MAKE); $(unstage)
10762 @[ -f ./find/Makefile ] || exit 0; \
10763 r=`${PWD_COMMAND}`; export r; \
10764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10765 $(HOST_EXPORTS) \
10766 for flag in $(EXTRA_HOST_FLAGS) ; do \
10767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10768 done; \
10769 echo "Doing info in find" ; \
10770 (cd $(HOST_SUBDIR)/find && \
10771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10773 "RANLIB=$${RANLIB}" \
10774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10775 info) \
10776 || exit 1
10778 @endif find
10780 .PHONY: maybe-dvi-find dvi-find
10781 maybe-dvi-find:
10782 @if find
10783 maybe-dvi-find: dvi-find
10785 dvi-find: \
10786 configure-find
10787 @: $(MAKE); $(unstage)
10788 @[ -f ./find/Makefile ] || exit 0; \
10789 r=`${PWD_COMMAND}`; export r; \
10790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10791 $(HOST_EXPORTS) \
10792 for flag in $(EXTRA_HOST_FLAGS) ; do \
10793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10794 done; \
10795 echo "Doing dvi in find" ; \
10796 (cd $(HOST_SUBDIR)/find && \
10797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10799 "RANLIB=$${RANLIB}" \
10800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10801 dvi) \
10802 || exit 1
10804 @endif find
10806 .PHONY: maybe-pdf-find pdf-find
10807 maybe-pdf-find:
10808 @if find
10809 maybe-pdf-find: pdf-find
10811 pdf-find: \
10812 configure-find
10813 @: $(MAKE); $(unstage)
10814 @[ -f ./find/Makefile ] || exit 0; \
10815 r=`${PWD_COMMAND}`; export r; \
10816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10817 $(HOST_EXPORTS) \
10818 for flag in $(EXTRA_HOST_FLAGS) ; do \
10819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10820 done; \
10821 echo "Doing pdf in find" ; \
10822 (cd $(HOST_SUBDIR)/find && \
10823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10825 "RANLIB=$${RANLIB}" \
10826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10827 pdf) \
10828 || exit 1
10830 @endif find
10832 .PHONY: maybe-html-find html-find
10833 maybe-html-find:
10834 @if find
10835 maybe-html-find: html-find
10837 html-find: \
10838 configure-find
10839 @: $(MAKE); $(unstage)
10840 @[ -f ./find/Makefile ] || exit 0; \
10841 r=`${PWD_COMMAND}`; export r; \
10842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10843 $(HOST_EXPORTS) \
10844 for flag in $(EXTRA_HOST_FLAGS) ; do \
10845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10846 done; \
10847 echo "Doing html in find" ; \
10848 (cd $(HOST_SUBDIR)/find && \
10849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10851 "RANLIB=$${RANLIB}" \
10852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10853 html) \
10854 || exit 1
10856 @endif find
10858 .PHONY: maybe-TAGS-find TAGS-find
10859 maybe-TAGS-find:
10860 @if find
10861 maybe-TAGS-find: TAGS-find
10863 TAGS-find: \
10864 configure-find
10865 @: $(MAKE); $(unstage)
10866 @[ -f ./find/Makefile ] || exit 0; \
10867 r=`${PWD_COMMAND}`; export r; \
10868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10869 $(HOST_EXPORTS) \
10870 for flag in $(EXTRA_HOST_FLAGS) ; do \
10871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10872 done; \
10873 echo "Doing TAGS in find" ; \
10874 (cd $(HOST_SUBDIR)/find && \
10875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10877 "RANLIB=$${RANLIB}" \
10878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10879 TAGS) \
10880 || exit 1
10882 @endif find
10884 .PHONY: maybe-install-info-find install-info-find
10885 maybe-install-info-find:
10886 @if find
10887 maybe-install-info-find: install-info-find
10889 install-info-find: \
10890 configure-find \
10891 info-find
10892 @: $(MAKE); $(unstage)
10893 @[ -f ./find/Makefile ] || exit 0; \
10894 r=`${PWD_COMMAND}`; export r; \
10895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10896 $(HOST_EXPORTS) \
10897 for flag in $(EXTRA_HOST_FLAGS) ; do \
10898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10899 done; \
10900 echo "Doing install-info in find" ; \
10901 (cd $(HOST_SUBDIR)/find && \
10902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10904 "RANLIB=$${RANLIB}" \
10905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10906 install-info) \
10907 || exit 1
10909 @endif find
10911 .PHONY: maybe-install-html-find install-html-find
10912 maybe-install-html-find:
10913 @if find
10914 maybe-install-html-find: install-html-find
10916 install-html-find: \
10917 configure-find \
10918 html-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 install-html 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 install-html) \
10934 || exit 1
10936 @endif find
10938 .PHONY: maybe-installcheck-find installcheck-find
10939 maybe-installcheck-find:
10940 @if find
10941 maybe-installcheck-find: installcheck-find
10943 installcheck-find: \
10944 configure-find
10945 @: $(MAKE); $(unstage)
10946 @[ -f ./find/Makefile ] || exit 0; \
10947 r=`${PWD_COMMAND}`; export r; \
10948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10949 $(HOST_EXPORTS) \
10950 for flag in $(EXTRA_HOST_FLAGS) ; do \
10951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10952 done; \
10953 echo "Doing installcheck in find" ; \
10954 (cd $(HOST_SUBDIR)/find && \
10955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10957 "RANLIB=$${RANLIB}" \
10958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10959 installcheck) \
10960 || exit 1
10962 @endif find
10964 .PHONY: maybe-mostlyclean-find mostlyclean-find
10965 maybe-mostlyclean-find:
10966 @if find
10967 maybe-mostlyclean-find: mostlyclean-find
10969 mostlyclean-find:
10970 @: $(MAKE); $(unstage)
10971 @[ -f ./find/Makefile ] || exit 0; \
10972 r=`${PWD_COMMAND}`; export r; \
10973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10974 $(HOST_EXPORTS) \
10975 for flag in $(EXTRA_HOST_FLAGS) ; do \
10976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10977 done; \
10978 echo "Doing mostlyclean in find" ; \
10979 (cd $(HOST_SUBDIR)/find && \
10980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10982 "RANLIB=$${RANLIB}" \
10983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10984 mostlyclean) \
10985 || exit 1
10987 @endif find
10989 .PHONY: maybe-clean-find clean-find
10990 maybe-clean-find:
10991 @if find
10992 maybe-clean-find: clean-find
10994 clean-find:
10995 @: $(MAKE); $(unstage)
10996 @[ -f ./find/Makefile ] || exit 0; \
10997 r=`${PWD_COMMAND}`; export r; \
10998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10999 $(HOST_EXPORTS) \
11000 for flag in $(EXTRA_HOST_FLAGS) ; do \
11001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11002 done; \
11003 echo "Doing clean in find" ; \
11004 (cd $(HOST_SUBDIR)/find && \
11005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11007 "RANLIB=$${RANLIB}" \
11008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11009 clean) \
11010 || exit 1
11012 @endif find
11014 .PHONY: maybe-distclean-find distclean-find
11015 maybe-distclean-find:
11016 @if find
11017 maybe-distclean-find: distclean-find
11019 distclean-find:
11020 @: $(MAKE); $(unstage)
11021 @[ -f ./find/Makefile ] || exit 0; \
11022 r=`${PWD_COMMAND}`; export r; \
11023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11024 $(HOST_EXPORTS) \
11025 for flag in $(EXTRA_HOST_FLAGS) ; do \
11026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11027 done; \
11028 echo "Doing distclean in find" ; \
11029 (cd $(HOST_SUBDIR)/find && \
11030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11032 "RANLIB=$${RANLIB}" \
11033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11034 distclean) \
11035 || exit 1
11037 @endif find
11039 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11040 maybe-maintainer-clean-find:
11041 @if find
11042 maybe-maintainer-clean-find: maintainer-clean-find
11044 maintainer-clean-find:
11045 @: $(MAKE); $(unstage)
11046 @[ -f ./find/Makefile ] || exit 0; \
11047 r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11049 $(HOST_EXPORTS) \
11050 for flag in $(EXTRA_HOST_FLAGS) ; do \
11051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11052 done; \
11053 echo "Doing maintainer-clean in find" ; \
11054 (cd $(HOST_SUBDIR)/find && \
11055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11057 "RANLIB=$${RANLIB}" \
11058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11059 maintainer-clean) \
11060 || exit 1
11062 @endif find
11066 .PHONY: configure-fixincludes maybe-configure-fixincludes
11067 maybe-configure-fixincludes:
11068 @if gcc-bootstrap
11069 configure-fixincludes: stage_current
11070 @endif gcc-bootstrap
11071 @if fixincludes
11072 maybe-configure-fixincludes: configure-fixincludes
11073 configure-fixincludes:
11074 @: $(MAKE); $(unstage)
11075 @r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11077 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11079 $(HOST_EXPORTS) \
11080 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11081 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11082 case $(srcdir) in \
11083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11084 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11086 esac; \
11087 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11088 libsrcdir="$$s/fixincludes"; \
11089 $(SHELL) $${libsrcdir}/configure \
11090 $(HOST_CONFIGARGS) $${srcdiroption} \
11091 || exit 1
11092 @endif fixincludes
11098 .PHONY: all-fixincludes maybe-all-fixincludes
11099 maybe-all-fixincludes:
11100 @if gcc-bootstrap
11101 all-fixincludes: stage_current
11102 @endif gcc-bootstrap
11103 @if fixincludes
11104 TARGET-fixincludes=all
11105 maybe-all-fixincludes: all-fixincludes
11106 all-fixincludes: configure-fixincludes
11107 @: $(MAKE); $(unstage)
11108 @r=`${PWD_COMMAND}`; export r; \
11109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11110 $(HOST_EXPORTS) \
11111 (cd $(HOST_SUBDIR)/fixincludes && \
11112 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11113 @endif fixincludes
11118 .PHONY: check-fixincludes maybe-check-fixincludes
11119 maybe-check-fixincludes:
11120 @if fixincludes
11121 maybe-check-fixincludes: check-fixincludes
11123 check-fixincludes:
11124 @: $(MAKE); $(unstage)
11125 @r=`${PWD_COMMAND}`; export r; \
11126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11127 $(HOST_EXPORTS) \
11128 (cd $(HOST_SUBDIR)/fixincludes && \
11129 $(MAKE) $(FLAGS_TO_PASS) check)
11131 @endif fixincludes
11133 .PHONY: install-fixincludes maybe-install-fixincludes
11134 maybe-install-fixincludes:
11135 @if fixincludes
11136 maybe-install-fixincludes: install-fixincludes
11138 install-fixincludes: installdirs
11139 @: $(MAKE); $(unstage)
11140 @r=`${PWD_COMMAND}`; export r; \
11141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11142 $(HOST_EXPORTS) \
11143 (cd $(HOST_SUBDIR)/fixincludes && \
11144 $(MAKE) $(FLAGS_TO_PASS) install)
11146 @endif fixincludes
11148 # Other targets (info, dvi, pdf, etc.)
11150 .PHONY: maybe-info-fixincludes info-fixincludes
11151 maybe-info-fixincludes:
11152 @if fixincludes
11153 maybe-info-fixincludes: info-fixincludes
11155 # fixincludes doesn't support info.
11156 info-fixincludes:
11158 @endif fixincludes
11160 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11161 maybe-dvi-fixincludes:
11162 @if fixincludes
11163 maybe-dvi-fixincludes: dvi-fixincludes
11165 # fixincludes doesn't support dvi.
11166 dvi-fixincludes:
11168 @endif fixincludes
11170 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11171 maybe-pdf-fixincludes:
11172 @if fixincludes
11173 maybe-pdf-fixincludes: pdf-fixincludes
11175 # fixincludes doesn't support pdf.
11176 pdf-fixincludes:
11178 @endif fixincludes
11180 .PHONY: maybe-html-fixincludes html-fixincludes
11181 maybe-html-fixincludes:
11182 @if fixincludes
11183 maybe-html-fixincludes: html-fixincludes
11185 html-fixincludes: \
11186 configure-fixincludes
11187 @: $(MAKE); $(unstage)
11188 @[ -f ./fixincludes/Makefile ] || exit 0; \
11189 r=`${PWD_COMMAND}`; export r; \
11190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11191 $(HOST_EXPORTS) \
11192 for flag in $(EXTRA_HOST_FLAGS) ; do \
11193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11194 done; \
11195 echo "Doing html in fixincludes" ; \
11196 (cd $(HOST_SUBDIR)/fixincludes && \
11197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11199 "RANLIB=$${RANLIB}" \
11200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11201 html) \
11202 || exit 1
11204 @endif fixincludes
11206 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11207 maybe-TAGS-fixincludes:
11208 @if fixincludes
11209 maybe-TAGS-fixincludes: TAGS-fixincludes
11211 # fixincludes doesn't support TAGS.
11212 TAGS-fixincludes:
11214 @endif fixincludes
11216 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11217 maybe-install-info-fixincludes:
11218 @if fixincludes
11219 maybe-install-info-fixincludes: install-info-fixincludes
11221 # fixincludes doesn't support install-info.
11222 install-info-fixincludes:
11224 @endif fixincludes
11226 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11227 maybe-install-html-fixincludes:
11228 @if fixincludes
11229 maybe-install-html-fixincludes: install-html-fixincludes
11231 install-html-fixincludes: \
11232 configure-fixincludes \
11233 html-fixincludes
11234 @: $(MAKE); $(unstage)
11235 @[ -f ./fixincludes/Makefile ] || exit 0; \
11236 r=`${PWD_COMMAND}`; export r; \
11237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11238 $(HOST_EXPORTS) \
11239 for flag in $(EXTRA_HOST_FLAGS) ; do \
11240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11241 done; \
11242 echo "Doing install-html in fixincludes" ; \
11243 (cd $(HOST_SUBDIR)/fixincludes && \
11244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11246 "RANLIB=$${RANLIB}" \
11247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11248 install-html) \
11249 || exit 1
11251 @endif fixincludes
11253 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11254 maybe-installcheck-fixincludes:
11255 @if fixincludes
11256 maybe-installcheck-fixincludes: installcheck-fixincludes
11258 # fixincludes doesn't support installcheck.
11259 installcheck-fixincludes:
11261 @endif fixincludes
11263 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11264 maybe-mostlyclean-fixincludes:
11265 @if fixincludes
11266 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11268 mostlyclean-fixincludes:
11269 @: $(MAKE); $(unstage)
11270 @[ -f ./fixincludes/Makefile ] || exit 0; \
11271 r=`${PWD_COMMAND}`; export r; \
11272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11273 $(HOST_EXPORTS) \
11274 for flag in $(EXTRA_HOST_FLAGS) ; do \
11275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11276 done; \
11277 echo "Doing mostlyclean in fixincludes" ; \
11278 (cd $(HOST_SUBDIR)/fixincludes && \
11279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11281 "RANLIB=$${RANLIB}" \
11282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11283 mostlyclean) \
11284 || exit 1
11286 @endif fixincludes
11288 .PHONY: maybe-clean-fixincludes clean-fixincludes
11289 maybe-clean-fixincludes:
11290 @if fixincludes
11291 maybe-clean-fixincludes: clean-fixincludes
11293 clean-fixincludes:
11294 @: $(MAKE); $(unstage)
11295 @[ -f ./fixincludes/Makefile ] || exit 0; \
11296 r=`${PWD_COMMAND}`; export r; \
11297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11298 $(HOST_EXPORTS) \
11299 for flag in $(EXTRA_HOST_FLAGS) ; do \
11300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11301 done; \
11302 echo "Doing clean in fixincludes" ; \
11303 (cd $(HOST_SUBDIR)/fixincludes && \
11304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11306 "RANLIB=$${RANLIB}" \
11307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11308 clean) \
11309 || exit 1
11311 @endif fixincludes
11313 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11314 maybe-distclean-fixincludes:
11315 @if fixincludes
11316 maybe-distclean-fixincludes: distclean-fixincludes
11318 distclean-fixincludes:
11319 @: $(MAKE); $(unstage)
11320 @[ -f ./fixincludes/Makefile ] || exit 0; \
11321 r=`${PWD_COMMAND}`; export r; \
11322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11323 $(HOST_EXPORTS) \
11324 for flag in $(EXTRA_HOST_FLAGS) ; do \
11325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11326 done; \
11327 echo "Doing distclean in fixincludes" ; \
11328 (cd $(HOST_SUBDIR)/fixincludes && \
11329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11331 "RANLIB=$${RANLIB}" \
11332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11333 distclean) \
11334 || exit 1
11336 @endif fixincludes
11338 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11339 maybe-maintainer-clean-fixincludes:
11340 @if fixincludes
11341 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11343 maintainer-clean-fixincludes:
11344 @: $(MAKE); $(unstage)
11345 @[ -f ./fixincludes/Makefile ] || exit 0; \
11346 r=`${PWD_COMMAND}`; export r; \
11347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11348 $(HOST_EXPORTS) \
11349 for flag in $(EXTRA_HOST_FLAGS) ; do \
11350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11351 done; \
11352 echo "Doing maintainer-clean in fixincludes" ; \
11353 (cd $(HOST_SUBDIR)/fixincludes && \
11354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11356 "RANLIB=$${RANLIB}" \
11357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11358 maintainer-clean) \
11359 || exit 1
11361 @endif fixincludes
11365 .PHONY: configure-flex maybe-configure-flex
11366 maybe-configure-flex:
11367 @if gcc-bootstrap
11368 configure-flex: stage_current
11369 @endif gcc-bootstrap
11370 @if flex
11371 maybe-configure-flex: configure-flex
11372 configure-flex:
11373 @: $(MAKE); $(unstage)
11374 @r=`${PWD_COMMAND}`; export r; \
11375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11376 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11378 $(HOST_EXPORTS) \
11379 echo Configuring in $(HOST_SUBDIR)/flex; \
11380 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11381 case $(srcdir) in \
11382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11383 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11385 esac; \
11386 srcdiroption="--srcdir=$${topdir}/flex"; \
11387 libsrcdir="$$s/flex"; \
11388 $(SHELL) $${libsrcdir}/configure \
11389 $(HOST_CONFIGARGS) $${srcdiroption} \
11390 || exit 1
11391 @endif flex
11397 .PHONY: all-flex maybe-all-flex
11398 maybe-all-flex:
11399 @if gcc-bootstrap
11400 all-flex: stage_current
11401 @endif gcc-bootstrap
11402 @if flex
11403 TARGET-flex=all
11404 maybe-all-flex: all-flex
11405 all-flex: configure-flex
11406 @: $(MAKE); $(unstage)
11407 @r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 $(HOST_EXPORTS) \
11410 (cd $(HOST_SUBDIR)/flex && \
11411 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11412 @endif flex
11417 .PHONY: check-flex maybe-check-flex
11418 maybe-check-flex:
11419 @if flex
11420 maybe-check-flex: check-flex
11422 # This module is only tested in a native toolchain.
11423 check-flex:
11424 @: $(MAKE); $(unstage)
11425 @if [ '$(host)' = '$(target)' ] ; then \
11426 r=`${PWD_COMMAND}`; export r; \
11427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11428 $(HOST_EXPORTS) \
11429 (cd $(HOST_SUBDIR)/flex && \
11430 $(MAKE) $(FLAGS_TO_PASS) check); \
11433 @endif flex
11435 .PHONY: install-flex maybe-install-flex
11436 maybe-install-flex:
11437 @if flex
11438 maybe-install-flex: install-flex
11440 install-flex: installdirs
11441 @: $(MAKE); $(unstage)
11442 @r=`${PWD_COMMAND}`; export r; \
11443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11444 $(HOST_EXPORTS) \
11445 (cd $(HOST_SUBDIR)/flex && \
11446 $(MAKE) $(FLAGS_TO_PASS) install)
11448 @endif flex
11450 # Other targets (info, dvi, pdf, etc.)
11452 .PHONY: maybe-info-flex info-flex
11453 maybe-info-flex:
11454 @if flex
11455 maybe-info-flex: info-flex
11457 info-flex: \
11458 configure-flex
11459 @: $(MAKE); $(unstage)
11460 @[ -f ./flex/Makefile ] || exit 0; \
11461 r=`${PWD_COMMAND}`; export r; \
11462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11463 $(HOST_EXPORTS) \
11464 for flag in $(EXTRA_HOST_FLAGS) ; do \
11465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11466 done; \
11467 echo "Doing info in flex" ; \
11468 (cd $(HOST_SUBDIR)/flex && \
11469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11471 "RANLIB=$${RANLIB}" \
11472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11473 info) \
11474 || exit 1
11476 @endif flex
11478 .PHONY: maybe-dvi-flex dvi-flex
11479 maybe-dvi-flex:
11480 @if flex
11481 maybe-dvi-flex: dvi-flex
11483 dvi-flex: \
11484 configure-flex
11485 @: $(MAKE); $(unstage)
11486 @[ -f ./flex/Makefile ] || exit 0; \
11487 r=`${PWD_COMMAND}`; export r; \
11488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11489 $(HOST_EXPORTS) \
11490 for flag in $(EXTRA_HOST_FLAGS) ; do \
11491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11492 done; \
11493 echo "Doing dvi in flex" ; \
11494 (cd $(HOST_SUBDIR)/flex && \
11495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11497 "RANLIB=$${RANLIB}" \
11498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11499 dvi) \
11500 || exit 1
11502 @endif flex
11504 .PHONY: maybe-pdf-flex pdf-flex
11505 maybe-pdf-flex:
11506 @if flex
11507 maybe-pdf-flex: pdf-flex
11509 pdf-flex: \
11510 configure-flex
11511 @: $(MAKE); $(unstage)
11512 @[ -f ./flex/Makefile ] || exit 0; \
11513 r=`${PWD_COMMAND}`; export r; \
11514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11515 $(HOST_EXPORTS) \
11516 for flag in $(EXTRA_HOST_FLAGS) ; do \
11517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11518 done; \
11519 echo "Doing pdf in flex" ; \
11520 (cd $(HOST_SUBDIR)/flex && \
11521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11523 "RANLIB=$${RANLIB}" \
11524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11525 pdf) \
11526 || exit 1
11528 @endif flex
11530 .PHONY: maybe-html-flex html-flex
11531 maybe-html-flex:
11532 @if flex
11533 maybe-html-flex: html-flex
11535 html-flex: \
11536 configure-flex
11537 @: $(MAKE); $(unstage)
11538 @[ -f ./flex/Makefile ] || exit 0; \
11539 r=`${PWD_COMMAND}`; export r; \
11540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11541 $(HOST_EXPORTS) \
11542 for flag in $(EXTRA_HOST_FLAGS) ; do \
11543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11544 done; \
11545 echo "Doing html in flex" ; \
11546 (cd $(HOST_SUBDIR)/flex && \
11547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11549 "RANLIB=$${RANLIB}" \
11550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11551 html) \
11552 || exit 1
11554 @endif flex
11556 .PHONY: maybe-TAGS-flex TAGS-flex
11557 maybe-TAGS-flex:
11558 @if flex
11559 maybe-TAGS-flex: TAGS-flex
11561 TAGS-flex: \
11562 configure-flex
11563 @: $(MAKE); $(unstage)
11564 @[ -f ./flex/Makefile ] || exit 0; \
11565 r=`${PWD_COMMAND}`; export r; \
11566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11567 $(HOST_EXPORTS) \
11568 for flag in $(EXTRA_HOST_FLAGS) ; do \
11569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11570 done; \
11571 echo "Doing TAGS in flex" ; \
11572 (cd $(HOST_SUBDIR)/flex && \
11573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11575 "RANLIB=$${RANLIB}" \
11576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11577 TAGS) \
11578 || exit 1
11580 @endif flex
11582 .PHONY: maybe-install-info-flex install-info-flex
11583 maybe-install-info-flex:
11584 @if flex
11585 maybe-install-info-flex: install-info-flex
11587 install-info-flex: \
11588 configure-flex \
11589 info-flex
11590 @: $(MAKE); $(unstage)
11591 @[ -f ./flex/Makefile ] || exit 0; \
11592 r=`${PWD_COMMAND}`; export r; \
11593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 $(HOST_EXPORTS) \
11595 for flag in $(EXTRA_HOST_FLAGS) ; do \
11596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11597 done; \
11598 echo "Doing install-info in flex" ; \
11599 (cd $(HOST_SUBDIR)/flex && \
11600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11602 "RANLIB=$${RANLIB}" \
11603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11604 install-info) \
11605 || exit 1
11607 @endif flex
11609 .PHONY: maybe-install-html-flex install-html-flex
11610 maybe-install-html-flex:
11611 @if flex
11612 maybe-install-html-flex: install-html-flex
11614 install-html-flex: \
11615 configure-flex \
11616 html-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 install-html 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 install-html) \
11632 || exit 1
11634 @endif flex
11636 .PHONY: maybe-installcheck-flex installcheck-flex
11637 maybe-installcheck-flex:
11638 @if flex
11639 maybe-installcheck-flex: installcheck-flex
11641 installcheck-flex: \
11642 configure-flex
11643 @: $(MAKE); $(unstage)
11644 @[ -f ./flex/Makefile ] || exit 0; \
11645 r=`${PWD_COMMAND}`; export r; \
11646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11647 $(HOST_EXPORTS) \
11648 for flag in $(EXTRA_HOST_FLAGS) ; do \
11649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11650 done; \
11651 echo "Doing installcheck in flex" ; \
11652 (cd $(HOST_SUBDIR)/flex && \
11653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11655 "RANLIB=$${RANLIB}" \
11656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11657 installcheck) \
11658 || exit 1
11660 @endif flex
11662 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11663 maybe-mostlyclean-flex:
11664 @if flex
11665 maybe-mostlyclean-flex: mostlyclean-flex
11667 mostlyclean-flex:
11668 @: $(MAKE); $(unstage)
11669 @[ -f ./flex/Makefile ] || exit 0; \
11670 r=`${PWD_COMMAND}`; export r; \
11671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11672 $(HOST_EXPORTS) \
11673 for flag in $(EXTRA_HOST_FLAGS) ; do \
11674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11675 done; \
11676 echo "Doing mostlyclean in flex" ; \
11677 (cd $(HOST_SUBDIR)/flex && \
11678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11680 "RANLIB=$${RANLIB}" \
11681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11682 mostlyclean) \
11683 || exit 1
11685 @endif flex
11687 .PHONY: maybe-clean-flex clean-flex
11688 maybe-clean-flex:
11689 @if flex
11690 maybe-clean-flex: clean-flex
11692 clean-flex:
11693 @: $(MAKE); $(unstage)
11694 @[ -f ./flex/Makefile ] || exit 0; \
11695 r=`${PWD_COMMAND}`; export r; \
11696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11697 $(HOST_EXPORTS) \
11698 for flag in $(EXTRA_HOST_FLAGS) ; do \
11699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11700 done; \
11701 echo "Doing clean in flex" ; \
11702 (cd $(HOST_SUBDIR)/flex && \
11703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11705 "RANLIB=$${RANLIB}" \
11706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11707 clean) \
11708 || exit 1
11710 @endif flex
11712 .PHONY: maybe-distclean-flex distclean-flex
11713 maybe-distclean-flex:
11714 @if flex
11715 maybe-distclean-flex: distclean-flex
11717 distclean-flex:
11718 @: $(MAKE); $(unstage)
11719 @[ -f ./flex/Makefile ] || exit 0; \
11720 r=`${PWD_COMMAND}`; export r; \
11721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11722 $(HOST_EXPORTS) \
11723 for flag in $(EXTRA_HOST_FLAGS) ; do \
11724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11725 done; \
11726 echo "Doing distclean in flex" ; \
11727 (cd $(HOST_SUBDIR)/flex && \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730 "RANLIB=$${RANLIB}" \
11731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11732 distclean) \
11733 || exit 1
11735 @endif flex
11737 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11738 maybe-maintainer-clean-flex:
11739 @if flex
11740 maybe-maintainer-clean-flex: maintainer-clean-flex
11742 maintainer-clean-flex:
11743 @: $(MAKE); $(unstage)
11744 @[ -f ./flex/Makefile ] || exit 0; \
11745 r=`${PWD_COMMAND}`; export r; \
11746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11747 $(HOST_EXPORTS) \
11748 for flag in $(EXTRA_HOST_FLAGS) ; do \
11749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11750 done; \
11751 echo "Doing maintainer-clean in flex" ; \
11752 (cd $(HOST_SUBDIR)/flex && \
11753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11755 "RANLIB=$${RANLIB}" \
11756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11757 maintainer-clean) \
11758 || exit 1
11760 @endif flex
11764 .PHONY: configure-gas maybe-configure-gas
11765 maybe-configure-gas:
11766 @if gcc-bootstrap
11767 configure-gas: stage_current
11768 @endif gcc-bootstrap
11769 @if gas
11770 maybe-configure-gas: configure-gas
11771 configure-gas:
11772 @r=`${PWD_COMMAND}`; export r; \
11773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11774 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11776 $(HOST_EXPORTS) \
11777 echo Configuring in $(HOST_SUBDIR)/gas; \
11778 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11779 case $(srcdir) in \
11780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11781 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11783 esac; \
11784 srcdiroption="--srcdir=$${topdir}/gas"; \
11785 libsrcdir="$$s/gas"; \
11786 $(SHELL) $${libsrcdir}/configure \
11787 $(HOST_CONFIGARGS) $${srcdiroption} \
11788 || exit 1
11789 @endif gas
11793 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11794 maybe-configure-stage1-gas:
11795 @if gas-bootstrap
11796 maybe-configure-stage1-gas: configure-stage1-gas
11797 configure-stage1-gas:
11798 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11800 @r=`${PWD_COMMAND}`; export r; \
11801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11802 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11803 $(HOST_EXPORTS) \
11804 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11806 cd $(HOST_SUBDIR)/gas || exit 1; \
11807 case $(srcdir) in \
11808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11809 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11811 esac; \
11812 srcdiroption="--srcdir=$${topdir}/gas"; \
11813 libsrcdir="$$s/gas"; \
11814 $(SHELL) $${libsrcdir}/configure \
11815 $(HOST_CONFIGARGS) $${srcdiroption} \
11817 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11818 @endif gas-bootstrap
11820 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11821 maybe-configure-stage2-gas:
11822 @if gas-bootstrap
11823 maybe-configure-stage2-gas: configure-stage2-gas
11824 configure-stage2-gas:
11825 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11827 @r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11830 $(HOST_EXPORTS) \
11831 $(POSTSTAGE1_HOST_EXPORTS) \
11832 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11834 cd $(HOST_SUBDIR)/gas || exit 1; \
11835 case $(srcdir) in \
11836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11837 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11839 esac; \
11840 srcdiroption="--srcdir=$${topdir}/gas"; \
11841 libsrcdir="$$s/gas"; \
11842 $(SHELL) $${libsrcdir}/configure \
11843 $(HOST_CONFIGARGS) $${srcdiroption} \
11844 --with-build-libsubdir=$(HOST_SUBDIR) \
11845 @stage2_werror_flag@
11846 @endif gas-bootstrap
11848 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11849 maybe-configure-stage3-gas:
11850 @if gas-bootstrap
11851 maybe-configure-stage3-gas: configure-stage3-gas
11852 configure-stage3-gas:
11853 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11855 @r=`${PWD_COMMAND}`; export r; \
11856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11857 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11858 $(HOST_EXPORTS) \
11859 $(POSTSTAGE1_HOST_EXPORTS) \
11860 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11862 cd $(HOST_SUBDIR)/gas || exit 1; \
11863 case $(srcdir) in \
11864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11865 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11867 esac; \
11868 srcdiroption="--srcdir=$${topdir}/gas"; \
11869 libsrcdir="$$s/gas"; \
11870 $(SHELL) $${libsrcdir}/configure \
11871 $(HOST_CONFIGARGS) $${srcdiroption} \
11872 --with-build-libsubdir=$(HOST_SUBDIR) \
11873 @stage2_werror_flag@
11874 @endif gas-bootstrap
11876 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11877 maybe-configure-stage4-gas:
11878 @if gas-bootstrap
11879 maybe-configure-stage4-gas: configure-stage4-gas
11880 configure-stage4-gas:
11881 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11883 @r=`${PWD_COMMAND}`; export r; \
11884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11885 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11886 $(HOST_EXPORTS) \
11887 $(POSTSTAGE1_HOST_EXPORTS) \
11888 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11890 cd $(HOST_SUBDIR)/gas || exit 1; \
11891 case $(srcdir) in \
11892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11893 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11895 esac; \
11896 srcdiroption="--srcdir=$${topdir}/gas"; \
11897 libsrcdir="$$s/gas"; \
11898 $(SHELL) $${libsrcdir}/configure \
11899 $(HOST_CONFIGARGS) $${srcdiroption} \
11900 --with-build-libsubdir=$(HOST_SUBDIR) \
11901 @stage2_werror_flag@
11902 @endif gas-bootstrap
11904 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11905 maybe-configure-stageprofile-gas:
11906 @if gas-bootstrap
11907 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11908 configure-stageprofile-gas:
11909 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11911 @r=`${PWD_COMMAND}`; export r; \
11912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11913 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11914 $(HOST_EXPORTS) \
11915 $(POSTSTAGE1_HOST_EXPORTS) \
11916 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11918 cd $(HOST_SUBDIR)/gas || exit 1; \
11919 case $(srcdir) in \
11920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11921 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11923 esac; \
11924 srcdiroption="--srcdir=$${topdir}/gas"; \
11925 libsrcdir="$$s/gas"; \
11926 $(SHELL) $${libsrcdir}/configure \
11927 $(HOST_CONFIGARGS) $${srcdiroption} \
11928 --with-build-libsubdir=$(HOST_SUBDIR) \
11929 @stage2_werror_flag@
11930 @endif gas-bootstrap
11932 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11933 maybe-configure-stagefeedback-gas:
11934 @if gas-bootstrap
11935 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11936 configure-stagefeedback-gas:
11937 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11938 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11939 @r=`${PWD_COMMAND}`; export r; \
11940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11941 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11942 $(HOST_EXPORTS) \
11943 $(POSTSTAGE1_HOST_EXPORTS) \
11944 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11946 cd $(HOST_SUBDIR)/gas || exit 1; \
11947 case $(srcdir) in \
11948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11949 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11951 esac; \
11952 srcdiroption="--srcdir=$${topdir}/gas"; \
11953 libsrcdir="$$s/gas"; \
11954 $(SHELL) $${libsrcdir}/configure \
11955 $(HOST_CONFIGARGS) $${srcdiroption} \
11956 --with-build-libsubdir=$(HOST_SUBDIR) \
11957 @stage2_werror_flag@
11958 @endif gas-bootstrap
11964 .PHONY: all-gas maybe-all-gas
11965 maybe-all-gas:
11966 @if gcc-bootstrap
11967 all-gas: stage_current
11968 @endif gcc-bootstrap
11969 @if gas
11970 TARGET-gas=all
11971 maybe-all-gas: all-gas
11972 all-gas: configure-gas
11973 @r=`${PWD_COMMAND}`; export r; \
11974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11975 $(HOST_EXPORTS) \
11976 (cd $(HOST_SUBDIR)/gas && \
11977 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11978 @endif gas
11982 .PHONY: all-stage1-gas maybe-all-stage1-gas
11983 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11984 maybe-all-stage1-gas:
11985 maybe-clean-stage1-gas:
11986 @if gas-bootstrap
11987 maybe-all-stage1-gas: all-stage1-gas
11988 all-stage1: all-stage1-gas
11989 TARGET-stage1-gas = $(TARGET-gas)
11990 all-stage1-gas: configure-stage1-gas
11991 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11992 @r=`${PWD_COMMAND}`; export r; \
11993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11994 $(HOST_EXPORTS) \
11995 cd $(HOST_SUBDIR)/gas && \
11996 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11997 $(TARGET-stage1-gas)
11999 maybe-clean-stage1-gas: clean-stage1-gas
12000 clean-stage1: clean-stage1-gas
12001 clean-stage1-gas:
12002 @if [ $(current_stage) = stage1 ]; then \
12003 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12004 else \
12005 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
12006 $(MAKE) stage1-start; \
12007 fi; \
12008 cd $(HOST_SUBDIR)/gas && \
12009 $(MAKE) $(FLAGS_TO_PASS) \
12010 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
12011 @endif gas-bootstrap
12014 .PHONY: all-stage2-gas maybe-all-stage2-gas
12015 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
12016 maybe-all-stage2-gas:
12017 maybe-clean-stage2-gas:
12018 @if gas-bootstrap
12019 maybe-all-stage2-gas: all-stage2-gas
12020 all-stage2: all-stage2-gas
12021 TARGET-stage2-gas = $(TARGET-gas)
12022 all-stage2-gas: configure-stage2-gas
12023 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12024 @r=`${PWD_COMMAND}`; export r; \
12025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12026 $(HOST_EXPORTS) \
12027 $(POSTSTAGE1_HOST_EXPORTS) \
12028 cd $(HOST_SUBDIR)/gas && \
12029 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12030 $(TARGET-stage2-gas)
12032 maybe-clean-stage2-gas: clean-stage2-gas
12033 clean-stage2: clean-stage2-gas
12034 clean-stage2-gas:
12035 @if [ $(current_stage) = stage2 ]; then \
12036 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12037 else \
12038 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12039 $(MAKE) stage2-start; \
12040 fi; \
12041 cd $(HOST_SUBDIR)/gas && \
12042 $(MAKE) $(FLAGS_TO_PASS) \
12043 $(POSTSTAGE1_FLAGS_TO_PASS) \
12044 clean
12045 @endif gas-bootstrap
12048 .PHONY: all-stage3-gas maybe-all-stage3-gas
12049 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12050 maybe-all-stage3-gas:
12051 maybe-clean-stage3-gas:
12052 @if gas-bootstrap
12053 maybe-all-stage3-gas: all-stage3-gas
12054 all-stage3: all-stage3-gas
12055 TARGET-stage3-gas = $(TARGET-gas)
12056 all-stage3-gas: configure-stage3-gas
12057 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12058 @r=`${PWD_COMMAND}`; export r; \
12059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12060 $(HOST_EXPORTS) \
12061 $(POSTSTAGE1_HOST_EXPORTS) \
12062 cd $(HOST_SUBDIR)/gas && \
12063 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12064 $(TARGET-stage3-gas)
12066 maybe-clean-stage3-gas: clean-stage3-gas
12067 clean-stage3: clean-stage3-gas
12068 clean-stage3-gas:
12069 @if [ $(current_stage) = stage3 ]; then \
12070 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12071 else \
12072 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12073 $(MAKE) stage3-start; \
12074 fi; \
12075 cd $(HOST_SUBDIR)/gas && \
12076 $(MAKE) $(FLAGS_TO_PASS) \
12077 $(POSTSTAGE1_FLAGS_TO_PASS) \
12078 clean
12079 @endif gas-bootstrap
12082 .PHONY: all-stage4-gas maybe-all-stage4-gas
12083 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12084 maybe-all-stage4-gas:
12085 maybe-clean-stage4-gas:
12086 @if gas-bootstrap
12087 maybe-all-stage4-gas: all-stage4-gas
12088 all-stage4: all-stage4-gas
12089 TARGET-stage4-gas = $(TARGET-gas)
12090 all-stage4-gas: configure-stage4-gas
12091 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12092 @r=`${PWD_COMMAND}`; export r; \
12093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12094 $(HOST_EXPORTS) \
12095 $(POSTSTAGE1_HOST_EXPORTS) \
12096 cd $(HOST_SUBDIR)/gas && \
12097 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12098 $(TARGET-stage4-gas)
12100 maybe-clean-stage4-gas: clean-stage4-gas
12101 clean-stage4: clean-stage4-gas
12102 clean-stage4-gas:
12103 @if [ $(current_stage) = stage4 ]; then \
12104 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12105 else \
12106 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12107 $(MAKE) stage4-start; \
12108 fi; \
12109 cd $(HOST_SUBDIR)/gas && \
12110 $(MAKE) $(FLAGS_TO_PASS) \
12111 $(POSTSTAGE1_FLAGS_TO_PASS) \
12112 clean
12113 @endif gas-bootstrap
12116 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12117 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12118 maybe-all-stageprofile-gas:
12119 maybe-clean-stageprofile-gas:
12120 @if gas-bootstrap
12121 maybe-all-stageprofile-gas: all-stageprofile-gas
12122 all-stageprofile: all-stageprofile-gas
12123 TARGET-stageprofile-gas = $(TARGET-gas)
12124 all-stageprofile-gas: configure-stageprofile-gas
12125 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12126 @r=`${PWD_COMMAND}`; export r; \
12127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12128 $(HOST_EXPORTS) \
12129 $(POSTSTAGE1_HOST_EXPORTS) \
12130 cd $(HOST_SUBDIR)/gas && \
12131 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12132 $(TARGET-stageprofile-gas)
12134 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12135 clean-stageprofile: clean-stageprofile-gas
12136 clean-stageprofile-gas:
12137 @if [ $(current_stage) = stageprofile ]; then \
12138 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12139 else \
12140 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12141 $(MAKE) stageprofile-start; \
12142 fi; \
12143 cd $(HOST_SUBDIR)/gas && \
12144 $(MAKE) $(FLAGS_TO_PASS) \
12145 $(POSTSTAGE1_FLAGS_TO_PASS) \
12146 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12147 @endif gas-bootstrap
12150 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12151 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12152 maybe-all-stagefeedback-gas:
12153 maybe-clean-stagefeedback-gas:
12154 @if gas-bootstrap
12155 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12156 all-stagefeedback: all-stagefeedback-gas
12157 TARGET-stagefeedback-gas = $(TARGET-gas)
12158 all-stagefeedback-gas: configure-stagefeedback-gas
12159 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12160 @r=`${PWD_COMMAND}`; export r; \
12161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12162 $(HOST_EXPORTS) \
12163 $(POSTSTAGE1_HOST_EXPORTS) \
12164 cd $(HOST_SUBDIR)/gas && \
12165 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12166 $(TARGET-stagefeedback-gas)
12168 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12169 clean-stagefeedback: clean-stagefeedback-gas
12170 clean-stagefeedback-gas:
12171 @if [ $(current_stage) = stagefeedback ]; then \
12172 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12173 else \
12174 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12175 $(MAKE) stagefeedback-start; \
12176 fi; \
12177 cd $(HOST_SUBDIR)/gas && \
12178 $(MAKE) $(FLAGS_TO_PASS) \
12179 $(POSTSTAGE1_FLAGS_TO_PASS) \
12180 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12181 @endif gas-bootstrap
12187 .PHONY: check-gas maybe-check-gas
12188 maybe-check-gas:
12189 @if gas
12190 maybe-check-gas: check-gas
12192 check-gas:
12193 @: $(MAKE); $(unstage)
12194 @r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196 $(HOST_EXPORTS) \
12197 (cd $(HOST_SUBDIR)/gas && \
12198 $(MAKE) $(FLAGS_TO_PASS) check)
12200 @endif gas
12202 .PHONY: install-gas maybe-install-gas
12203 maybe-install-gas:
12204 @if gas
12205 maybe-install-gas: install-gas
12207 install-gas: installdirs
12208 @: $(MAKE); $(unstage)
12209 @r=`${PWD_COMMAND}`; export r; \
12210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12211 $(HOST_EXPORTS) \
12212 (cd $(HOST_SUBDIR)/gas && \
12213 $(MAKE) $(FLAGS_TO_PASS) install)
12215 @endif gas
12217 # Other targets (info, dvi, pdf, etc.)
12219 .PHONY: maybe-info-gas info-gas
12220 maybe-info-gas:
12221 @if gas
12222 maybe-info-gas: info-gas
12224 info-gas: \
12225 configure-gas
12226 @[ -f ./gas/Makefile ] || exit 0; \
12227 r=`${PWD_COMMAND}`; export r; \
12228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12229 $(HOST_EXPORTS) \
12230 for flag in $(EXTRA_HOST_FLAGS) ; do \
12231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12232 done; \
12233 echo "Doing info in gas" ; \
12234 (cd $(HOST_SUBDIR)/gas && \
12235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12237 "RANLIB=$${RANLIB}" \
12238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12239 info) \
12240 || exit 1
12242 @endif gas
12244 .PHONY: maybe-dvi-gas dvi-gas
12245 maybe-dvi-gas:
12246 @if gas
12247 maybe-dvi-gas: dvi-gas
12249 dvi-gas: \
12250 configure-gas
12251 @[ -f ./gas/Makefile ] || exit 0; \
12252 r=`${PWD_COMMAND}`; export r; \
12253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12254 $(HOST_EXPORTS) \
12255 for flag in $(EXTRA_HOST_FLAGS) ; do \
12256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12257 done; \
12258 echo "Doing dvi in gas" ; \
12259 (cd $(HOST_SUBDIR)/gas && \
12260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12262 "RANLIB=$${RANLIB}" \
12263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12264 dvi) \
12265 || exit 1
12267 @endif gas
12269 .PHONY: maybe-pdf-gas pdf-gas
12270 maybe-pdf-gas:
12271 @if gas
12272 maybe-pdf-gas: pdf-gas
12274 pdf-gas: \
12275 configure-gas
12276 @[ -f ./gas/Makefile ] || exit 0; \
12277 r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 $(HOST_EXPORTS) \
12280 for flag in $(EXTRA_HOST_FLAGS) ; do \
12281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12282 done; \
12283 echo "Doing pdf in gas" ; \
12284 (cd $(HOST_SUBDIR)/gas && \
12285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12287 "RANLIB=$${RANLIB}" \
12288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12289 pdf) \
12290 || exit 1
12292 @endif gas
12294 .PHONY: maybe-html-gas html-gas
12295 maybe-html-gas:
12296 @if gas
12297 maybe-html-gas: html-gas
12299 html-gas: \
12300 configure-gas
12301 @[ -f ./gas/Makefile ] || exit 0; \
12302 r=`${PWD_COMMAND}`; export r; \
12303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12304 $(HOST_EXPORTS) \
12305 for flag in $(EXTRA_HOST_FLAGS) ; do \
12306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12307 done; \
12308 echo "Doing html in gas" ; \
12309 (cd $(HOST_SUBDIR)/gas && \
12310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12312 "RANLIB=$${RANLIB}" \
12313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12314 html) \
12315 || exit 1
12317 @endif gas
12319 .PHONY: maybe-TAGS-gas TAGS-gas
12320 maybe-TAGS-gas:
12321 @if gas
12322 maybe-TAGS-gas: TAGS-gas
12324 TAGS-gas: \
12325 configure-gas
12326 @[ -f ./gas/Makefile ] || exit 0; \
12327 r=`${PWD_COMMAND}`; export r; \
12328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329 $(HOST_EXPORTS) \
12330 for flag in $(EXTRA_HOST_FLAGS) ; do \
12331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12332 done; \
12333 echo "Doing TAGS in gas" ; \
12334 (cd $(HOST_SUBDIR)/gas && \
12335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12337 "RANLIB=$${RANLIB}" \
12338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12339 TAGS) \
12340 || exit 1
12342 @endif gas
12344 .PHONY: maybe-install-info-gas install-info-gas
12345 maybe-install-info-gas:
12346 @if gas
12347 maybe-install-info-gas: install-info-gas
12349 install-info-gas: \
12350 configure-gas \
12351 info-gas
12352 @[ -f ./gas/Makefile ] || exit 0; \
12353 r=`${PWD_COMMAND}`; export r; \
12354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12355 $(HOST_EXPORTS) \
12356 for flag in $(EXTRA_HOST_FLAGS) ; do \
12357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12358 done; \
12359 echo "Doing install-info in gas" ; \
12360 (cd $(HOST_SUBDIR)/gas && \
12361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12363 "RANLIB=$${RANLIB}" \
12364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12365 install-info) \
12366 || exit 1
12368 @endif gas
12370 .PHONY: maybe-install-html-gas install-html-gas
12371 maybe-install-html-gas:
12372 @if gas
12373 maybe-install-html-gas: install-html-gas
12375 install-html-gas: \
12376 configure-gas \
12377 html-gas
12378 @[ -f ./gas/Makefile ] || exit 0; \
12379 r=`${PWD_COMMAND}`; export r; \
12380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12381 $(HOST_EXPORTS) \
12382 for flag in $(EXTRA_HOST_FLAGS) ; do \
12383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12384 done; \
12385 echo "Doing install-html in gas" ; \
12386 (cd $(HOST_SUBDIR)/gas && \
12387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12389 "RANLIB=$${RANLIB}" \
12390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12391 install-html) \
12392 || exit 1
12394 @endif gas
12396 .PHONY: maybe-installcheck-gas installcheck-gas
12397 maybe-installcheck-gas:
12398 @if gas
12399 maybe-installcheck-gas: installcheck-gas
12401 installcheck-gas: \
12402 configure-gas
12403 @[ -f ./gas/Makefile ] || exit 0; \
12404 r=`${PWD_COMMAND}`; export r; \
12405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12406 $(HOST_EXPORTS) \
12407 for flag in $(EXTRA_HOST_FLAGS) ; do \
12408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12409 done; \
12410 echo "Doing installcheck in gas" ; \
12411 (cd $(HOST_SUBDIR)/gas && \
12412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12414 "RANLIB=$${RANLIB}" \
12415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12416 installcheck) \
12417 || exit 1
12419 @endif gas
12421 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12422 maybe-mostlyclean-gas:
12423 @if gas
12424 maybe-mostlyclean-gas: mostlyclean-gas
12426 mostlyclean-gas:
12427 @[ -f ./gas/Makefile ] || exit 0; \
12428 r=`${PWD_COMMAND}`; export r; \
12429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12430 $(HOST_EXPORTS) \
12431 for flag in $(EXTRA_HOST_FLAGS) ; do \
12432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12433 done; \
12434 echo "Doing mostlyclean in gas" ; \
12435 (cd $(HOST_SUBDIR)/gas && \
12436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12438 "RANLIB=$${RANLIB}" \
12439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12440 mostlyclean) \
12441 || exit 1
12443 @endif gas
12445 .PHONY: maybe-clean-gas clean-gas
12446 maybe-clean-gas:
12447 @if gas
12448 maybe-clean-gas: clean-gas
12450 clean-gas:
12451 @[ -f ./gas/Makefile ] || exit 0; \
12452 r=`${PWD_COMMAND}`; export r; \
12453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12454 $(HOST_EXPORTS) \
12455 for flag in $(EXTRA_HOST_FLAGS) ; do \
12456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12457 done; \
12458 echo "Doing clean in gas" ; \
12459 (cd $(HOST_SUBDIR)/gas && \
12460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12462 "RANLIB=$${RANLIB}" \
12463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12464 clean) \
12465 || exit 1
12467 @endif gas
12469 .PHONY: maybe-distclean-gas distclean-gas
12470 maybe-distclean-gas:
12471 @if gas
12472 maybe-distclean-gas: distclean-gas
12474 distclean-gas:
12475 @[ -f ./gas/Makefile ] || exit 0; \
12476 r=`${PWD_COMMAND}`; export r; \
12477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12478 $(HOST_EXPORTS) \
12479 for flag in $(EXTRA_HOST_FLAGS) ; do \
12480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12481 done; \
12482 echo "Doing distclean in gas" ; \
12483 (cd $(HOST_SUBDIR)/gas && \
12484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12486 "RANLIB=$${RANLIB}" \
12487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12488 distclean) \
12489 || exit 1
12491 @endif gas
12493 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12494 maybe-maintainer-clean-gas:
12495 @if gas
12496 maybe-maintainer-clean-gas: maintainer-clean-gas
12498 maintainer-clean-gas:
12499 @[ -f ./gas/Makefile ] || exit 0; \
12500 r=`${PWD_COMMAND}`; export r; \
12501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12502 $(HOST_EXPORTS) \
12503 for flag in $(EXTRA_HOST_FLAGS) ; do \
12504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12505 done; \
12506 echo "Doing maintainer-clean in gas" ; \
12507 (cd $(HOST_SUBDIR)/gas && \
12508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12510 "RANLIB=$${RANLIB}" \
12511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12512 maintainer-clean) \
12513 || exit 1
12515 @endif gas
12519 .PHONY: configure-gcc maybe-configure-gcc
12520 maybe-configure-gcc:
12521 @if gcc-bootstrap
12522 configure-gcc: stage_current
12523 @endif gcc-bootstrap
12524 @if gcc
12525 maybe-configure-gcc: configure-gcc
12526 configure-gcc:
12527 @r=`${PWD_COMMAND}`; export r; \
12528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12529 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12531 $(HOST_EXPORTS) \
12532 echo Configuring in $(HOST_SUBDIR)/gcc; \
12533 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12534 case $(srcdir) in \
12535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12536 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12538 esac; \
12539 srcdiroption="--srcdir=$${topdir}/gcc"; \
12540 libsrcdir="$$s/gcc"; \
12541 $(SHELL) $${libsrcdir}/configure \
12542 $(HOST_CONFIGARGS) $${srcdiroption} \
12543 || exit 1
12544 @endif gcc
12548 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12549 maybe-configure-stage1-gcc:
12550 @if gcc-bootstrap
12551 maybe-configure-stage1-gcc: configure-stage1-gcc
12552 configure-stage1-gcc:
12553 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12555 @r=`${PWD_COMMAND}`; export r; \
12556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12557 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12558 $(HOST_EXPORTS) \
12559 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12561 cd $(HOST_SUBDIR)/gcc || exit 1; \
12562 case $(srcdir) in \
12563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12564 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12566 esac; \
12567 srcdiroption="--srcdir=$${topdir}/gcc"; \
12568 libsrcdir="$$s/gcc"; \
12569 $(SHELL) $${libsrcdir}/configure \
12570 $(HOST_CONFIGARGS) $${srcdiroption} \
12572 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12573 @endif gcc-bootstrap
12575 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12576 maybe-configure-stage2-gcc:
12577 @if gcc-bootstrap
12578 maybe-configure-stage2-gcc: configure-stage2-gcc
12579 configure-stage2-gcc:
12580 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12581 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12582 @r=`${PWD_COMMAND}`; export r; \
12583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12584 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12585 $(HOST_EXPORTS) \
12586 $(POSTSTAGE1_HOST_EXPORTS) \
12587 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12589 cd $(HOST_SUBDIR)/gcc || exit 1; \
12590 case $(srcdir) in \
12591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12592 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12594 esac; \
12595 srcdiroption="--srcdir=$${topdir}/gcc"; \
12596 libsrcdir="$$s/gcc"; \
12597 $(SHELL) $${libsrcdir}/configure \
12598 $(HOST_CONFIGARGS) $${srcdiroption} \
12599 --with-build-libsubdir=$(HOST_SUBDIR) \
12600 @stage2_werror_flag@
12601 @endif gcc-bootstrap
12603 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12604 maybe-configure-stage3-gcc:
12605 @if gcc-bootstrap
12606 maybe-configure-stage3-gcc: configure-stage3-gcc
12607 configure-stage3-gcc:
12608 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12609 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12610 @r=`${PWD_COMMAND}`; export r; \
12611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12612 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12613 $(HOST_EXPORTS) \
12614 $(POSTSTAGE1_HOST_EXPORTS) \
12615 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12617 cd $(HOST_SUBDIR)/gcc || exit 1; \
12618 case $(srcdir) in \
12619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12620 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12622 esac; \
12623 srcdiroption="--srcdir=$${topdir}/gcc"; \
12624 libsrcdir="$$s/gcc"; \
12625 $(SHELL) $${libsrcdir}/configure \
12626 $(HOST_CONFIGARGS) $${srcdiroption} \
12627 --with-build-libsubdir=$(HOST_SUBDIR) \
12628 @stage2_werror_flag@
12629 @endif gcc-bootstrap
12631 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12632 maybe-configure-stage4-gcc:
12633 @if gcc-bootstrap
12634 maybe-configure-stage4-gcc: configure-stage4-gcc
12635 configure-stage4-gcc:
12636 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12638 @r=`${PWD_COMMAND}`; export r; \
12639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12640 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12641 $(HOST_EXPORTS) \
12642 $(POSTSTAGE1_HOST_EXPORTS) \
12643 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12645 cd $(HOST_SUBDIR)/gcc || exit 1; \
12646 case $(srcdir) in \
12647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12648 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12650 esac; \
12651 srcdiroption="--srcdir=$${topdir}/gcc"; \
12652 libsrcdir="$$s/gcc"; \
12653 $(SHELL) $${libsrcdir}/configure \
12654 $(HOST_CONFIGARGS) $${srcdiroption} \
12655 --with-build-libsubdir=$(HOST_SUBDIR) \
12656 @stage2_werror_flag@
12657 @endif gcc-bootstrap
12659 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12660 maybe-configure-stageprofile-gcc:
12661 @if gcc-bootstrap
12662 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12663 configure-stageprofile-gcc:
12664 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12666 @r=`${PWD_COMMAND}`; export r; \
12667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12668 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12669 $(HOST_EXPORTS) \
12670 $(POSTSTAGE1_HOST_EXPORTS) \
12671 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12673 cd $(HOST_SUBDIR)/gcc || exit 1; \
12674 case $(srcdir) in \
12675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12676 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12678 esac; \
12679 srcdiroption="--srcdir=$${topdir}/gcc"; \
12680 libsrcdir="$$s/gcc"; \
12681 $(SHELL) $${libsrcdir}/configure \
12682 $(HOST_CONFIGARGS) $${srcdiroption} \
12683 --with-build-libsubdir=$(HOST_SUBDIR) \
12684 @stage2_werror_flag@
12685 @endif gcc-bootstrap
12687 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12688 maybe-configure-stagefeedback-gcc:
12689 @if gcc-bootstrap
12690 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12691 configure-stagefeedback-gcc:
12692 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12694 @r=`${PWD_COMMAND}`; export r; \
12695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12696 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12697 $(HOST_EXPORTS) \
12698 $(POSTSTAGE1_HOST_EXPORTS) \
12699 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12701 cd $(HOST_SUBDIR)/gcc || exit 1; \
12702 case $(srcdir) in \
12703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12704 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12706 esac; \
12707 srcdiroption="--srcdir=$${topdir}/gcc"; \
12708 libsrcdir="$$s/gcc"; \
12709 $(SHELL) $${libsrcdir}/configure \
12710 $(HOST_CONFIGARGS) $${srcdiroption} \
12711 --with-build-libsubdir=$(HOST_SUBDIR) \
12712 @stage2_werror_flag@
12713 @endif gcc-bootstrap
12719 .PHONY: all-gcc maybe-all-gcc
12720 maybe-all-gcc:
12721 @if gcc-bootstrap
12722 all-gcc: stage_current
12723 @endif gcc-bootstrap
12724 @if gcc
12725 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12726 maybe-all-gcc: all-gcc
12727 all-gcc: configure-gcc
12728 @r=`${PWD_COMMAND}`; export r; \
12729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12730 $(HOST_EXPORTS) \
12731 (cd $(HOST_SUBDIR)/gcc && \
12732 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12733 @endif gcc
12737 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12738 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12739 maybe-all-stage1-gcc:
12740 maybe-clean-stage1-gcc:
12741 @if gcc-bootstrap
12742 maybe-all-stage1-gcc: all-stage1-gcc
12743 all-stage1: all-stage1-gcc
12744 TARGET-stage1-gcc = $(TARGET-gcc)
12745 all-stage1-gcc: configure-stage1-gcc
12746 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12747 @r=`${PWD_COMMAND}`; export r; \
12748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12749 $(HOST_EXPORTS) \
12750 cd $(HOST_SUBDIR)/gcc && \
12751 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12752 $(TARGET-stage1-gcc)
12754 maybe-clean-stage1-gcc: clean-stage1-gcc
12755 clean-stage1: clean-stage1-gcc
12756 clean-stage1-gcc:
12757 @if [ $(current_stage) = stage1 ]; then \
12758 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12759 else \
12760 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12761 $(MAKE) stage1-start; \
12762 fi; \
12763 cd $(HOST_SUBDIR)/gcc && \
12764 $(MAKE) $(FLAGS_TO_PASS) \
12765 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12766 @endif gcc-bootstrap
12769 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12770 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12771 maybe-all-stage2-gcc:
12772 maybe-clean-stage2-gcc:
12773 @if gcc-bootstrap
12774 maybe-all-stage2-gcc: all-stage2-gcc
12775 all-stage2: all-stage2-gcc
12776 TARGET-stage2-gcc = $(TARGET-gcc)
12777 all-stage2-gcc: configure-stage2-gcc
12778 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12779 @r=`${PWD_COMMAND}`; export r; \
12780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12781 $(HOST_EXPORTS) \
12782 $(POSTSTAGE1_HOST_EXPORTS) \
12783 cd $(HOST_SUBDIR)/gcc && \
12784 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12785 $(TARGET-stage2-gcc)
12787 maybe-clean-stage2-gcc: clean-stage2-gcc
12788 clean-stage2: clean-stage2-gcc
12789 clean-stage2-gcc:
12790 @if [ $(current_stage) = stage2 ]; then \
12791 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12792 else \
12793 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12794 $(MAKE) stage2-start; \
12795 fi; \
12796 cd $(HOST_SUBDIR)/gcc && \
12797 $(MAKE) $(FLAGS_TO_PASS) \
12798 $(POSTSTAGE1_FLAGS_TO_PASS) \
12799 $(EXTRA_GCC_FLAGS) clean
12800 @endif gcc-bootstrap
12803 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12804 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12805 maybe-all-stage3-gcc:
12806 maybe-clean-stage3-gcc:
12807 @if gcc-bootstrap
12808 maybe-all-stage3-gcc: all-stage3-gcc
12809 all-stage3: all-stage3-gcc
12810 TARGET-stage3-gcc = $(TARGET-gcc)
12811 all-stage3-gcc: configure-stage3-gcc
12812 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12813 @r=`${PWD_COMMAND}`; export r; \
12814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12815 $(HOST_EXPORTS) \
12816 $(POSTSTAGE1_HOST_EXPORTS) \
12817 cd $(HOST_SUBDIR)/gcc && \
12818 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12819 $(TARGET-stage3-gcc)
12821 maybe-clean-stage3-gcc: clean-stage3-gcc
12822 clean-stage3: clean-stage3-gcc
12823 clean-stage3-gcc:
12824 @if [ $(current_stage) = stage3 ]; then \
12825 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12826 else \
12827 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12828 $(MAKE) stage3-start; \
12829 fi; \
12830 cd $(HOST_SUBDIR)/gcc && \
12831 $(MAKE) $(FLAGS_TO_PASS) \
12832 $(POSTSTAGE1_FLAGS_TO_PASS) \
12833 $(EXTRA_GCC_FLAGS) clean
12834 @endif gcc-bootstrap
12837 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12838 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12839 maybe-all-stage4-gcc:
12840 maybe-clean-stage4-gcc:
12841 @if gcc-bootstrap
12842 maybe-all-stage4-gcc: all-stage4-gcc
12843 all-stage4: all-stage4-gcc
12844 TARGET-stage4-gcc = $(TARGET-gcc)
12845 all-stage4-gcc: configure-stage4-gcc
12846 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12847 @r=`${PWD_COMMAND}`; export r; \
12848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12849 $(HOST_EXPORTS) \
12850 $(POSTSTAGE1_HOST_EXPORTS) \
12851 cd $(HOST_SUBDIR)/gcc && \
12852 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12853 $(TARGET-stage4-gcc)
12855 maybe-clean-stage4-gcc: clean-stage4-gcc
12856 clean-stage4: clean-stage4-gcc
12857 clean-stage4-gcc:
12858 @if [ $(current_stage) = stage4 ]; then \
12859 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12860 else \
12861 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12862 $(MAKE) stage4-start; \
12863 fi; \
12864 cd $(HOST_SUBDIR)/gcc && \
12865 $(MAKE) $(FLAGS_TO_PASS) \
12866 $(POSTSTAGE1_FLAGS_TO_PASS) \
12867 $(EXTRA_GCC_FLAGS) clean
12868 @endif gcc-bootstrap
12871 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12872 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12873 maybe-all-stageprofile-gcc:
12874 maybe-clean-stageprofile-gcc:
12875 @if gcc-bootstrap
12876 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12877 all-stageprofile: all-stageprofile-gcc
12878 TARGET-stageprofile-gcc = $(TARGET-gcc)
12879 all-stageprofile-gcc: configure-stageprofile-gcc
12880 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12881 @r=`${PWD_COMMAND}`; export r; \
12882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12883 $(HOST_EXPORTS) \
12884 $(POSTSTAGE1_HOST_EXPORTS) \
12885 cd $(HOST_SUBDIR)/gcc && \
12886 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12887 $(TARGET-stageprofile-gcc)
12889 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12890 clean-stageprofile: clean-stageprofile-gcc
12891 clean-stageprofile-gcc:
12892 @if [ $(current_stage) = stageprofile ]; then \
12893 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12894 else \
12895 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12896 $(MAKE) stageprofile-start; \
12897 fi; \
12898 cd $(HOST_SUBDIR)/gcc && \
12899 $(MAKE) $(FLAGS_TO_PASS) \
12900 $(POSTSTAGE1_FLAGS_TO_PASS) \
12901 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12902 @endif gcc-bootstrap
12905 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12906 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12907 maybe-all-stagefeedback-gcc:
12908 maybe-clean-stagefeedback-gcc:
12909 @if gcc-bootstrap
12910 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12911 all-stagefeedback: all-stagefeedback-gcc
12912 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12913 all-stagefeedback-gcc: configure-stagefeedback-gcc
12914 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12915 @r=`${PWD_COMMAND}`; export r; \
12916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12917 $(HOST_EXPORTS) \
12918 $(POSTSTAGE1_HOST_EXPORTS) \
12919 cd $(HOST_SUBDIR)/gcc && \
12920 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12921 $(TARGET-stagefeedback-gcc)
12923 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12924 clean-stagefeedback: clean-stagefeedback-gcc
12925 clean-stagefeedback-gcc:
12926 @if [ $(current_stage) = stagefeedback ]; then \
12927 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12928 else \
12929 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12930 $(MAKE) stagefeedback-start; \
12931 fi; \
12932 cd $(HOST_SUBDIR)/gcc && \
12933 $(MAKE) $(FLAGS_TO_PASS) \
12934 $(POSTSTAGE1_FLAGS_TO_PASS) \
12935 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12936 @endif gcc-bootstrap
12942 .PHONY: check-gcc maybe-check-gcc
12943 maybe-check-gcc:
12944 @if gcc
12945 maybe-check-gcc: check-gcc
12947 check-gcc:
12948 @: $(MAKE); $(unstage)
12949 @r=`${PWD_COMMAND}`; export r; \
12950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12951 $(HOST_EXPORTS) \
12952 (cd $(HOST_SUBDIR)/gcc && \
12953 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12955 @endif gcc
12957 .PHONY: install-gcc maybe-install-gcc
12958 maybe-install-gcc:
12959 @if gcc
12960 maybe-install-gcc: install-gcc
12962 install-gcc: installdirs
12963 @: $(MAKE); $(unstage)
12964 @r=`${PWD_COMMAND}`; export r; \
12965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12966 $(HOST_EXPORTS) \
12967 (cd $(HOST_SUBDIR)/gcc && \
12968 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12970 @endif gcc
12972 # Other targets (info, dvi, pdf, etc.)
12974 .PHONY: maybe-info-gcc info-gcc
12975 maybe-info-gcc:
12976 @if gcc
12977 maybe-info-gcc: info-gcc
12979 info-gcc: \
12980 configure-gcc
12981 @[ -f ./gcc/Makefile ] || exit 0; \
12982 r=`${PWD_COMMAND}`; export r; \
12983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12984 $(HOST_EXPORTS) \
12985 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12987 done; \
12988 echo "Doing info in gcc" ; \
12989 (cd $(HOST_SUBDIR)/gcc && \
12990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12992 "RANLIB=$${RANLIB}" \
12993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12994 info) \
12995 || exit 1
12997 @endif gcc
12999 .PHONY: maybe-dvi-gcc dvi-gcc
13000 maybe-dvi-gcc:
13001 @if gcc
13002 maybe-dvi-gcc: dvi-gcc
13004 dvi-gcc: \
13005 configure-gcc
13006 @[ -f ./gcc/Makefile ] || exit 0; \
13007 r=`${PWD_COMMAND}`; export r; \
13008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13009 $(HOST_EXPORTS) \
13010 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13012 done; \
13013 echo "Doing dvi in gcc" ; \
13014 (cd $(HOST_SUBDIR)/gcc && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13017 "RANLIB=$${RANLIB}" \
13018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13019 dvi) \
13020 || exit 1
13022 @endif gcc
13024 .PHONY: maybe-pdf-gcc pdf-gcc
13025 maybe-pdf-gcc:
13026 @if gcc
13027 maybe-pdf-gcc: pdf-gcc
13029 pdf-gcc: \
13030 configure-gcc
13031 @[ -f ./gcc/Makefile ] || exit 0; \
13032 r=`${PWD_COMMAND}`; export r; \
13033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13034 $(HOST_EXPORTS) \
13035 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13037 done; \
13038 echo "Doing pdf in gcc" ; \
13039 (cd $(HOST_SUBDIR)/gcc && \
13040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13042 "RANLIB=$${RANLIB}" \
13043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13044 pdf) \
13045 || exit 1
13047 @endif gcc
13049 .PHONY: maybe-html-gcc html-gcc
13050 maybe-html-gcc:
13051 @if gcc
13052 maybe-html-gcc: html-gcc
13054 html-gcc: \
13055 configure-gcc
13056 @[ -f ./gcc/Makefile ] || exit 0; \
13057 r=`${PWD_COMMAND}`; export r; \
13058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13059 $(HOST_EXPORTS) \
13060 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13062 done; \
13063 echo "Doing html in gcc" ; \
13064 (cd $(HOST_SUBDIR)/gcc && \
13065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13067 "RANLIB=$${RANLIB}" \
13068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13069 html) \
13070 || exit 1
13072 @endif gcc
13074 .PHONY: maybe-TAGS-gcc TAGS-gcc
13075 maybe-TAGS-gcc:
13076 @if gcc
13077 maybe-TAGS-gcc: TAGS-gcc
13079 TAGS-gcc: \
13080 configure-gcc
13081 @[ -f ./gcc/Makefile ] || exit 0; \
13082 r=`${PWD_COMMAND}`; export r; \
13083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13084 $(HOST_EXPORTS) \
13085 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13087 done; \
13088 echo "Doing TAGS in gcc" ; \
13089 (cd $(HOST_SUBDIR)/gcc && \
13090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13092 "RANLIB=$${RANLIB}" \
13093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13094 TAGS) \
13095 || exit 1
13097 @endif gcc
13099 .PHONY: maybe-install-info-gcc install-info-gcc
13100 maybe-install-info-gcc:
13101 @if gcc
13102 maybe-install-info-gcc: install-info-gcc
13104 install-info-gcc: \
13105 configure-gcc \
13106 info-gcc
13107 @[ -f ./gcc/Makefile ] || exit 0; \
13108 r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13110 $(HOST_EXPORTS) \
13111 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13113 done; \
13114 echo "Doing install-info in gcc" ; \
13115 (cd $(HOST_SUBDIR)/gcc && \
13116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13118 "RANLIB=$${RANLIB}" \
13119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13120 install-info) \
13121 || exit 1
13123 @endif gcc
13125 .PHONY: maybe-install-html-gcc install-html-gcc
13126 maybe-install-html-gcc:
13127 @if gcc
13128 maybe-install-html-gcc: install-html-gcc
13130 install-html-gcc: \
13131 configure-gcc \
13132 html-gcc
13133 @[ -f ./gcc/Makefile ] || exit 0; \
13134 r=`${PWD_COMMAND}`; export r; \
13135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13136 $(HOST_EXPORTS) \
13137 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13139 done; \
13140 echo "Doing install-html in gcc" ; \
13141 (cd $(HOST_SUBDIR)/gcc && \
13142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13144 "RANLIB=$${RANLIB}" \
13145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13146 install-html) \
13147 || exit 1
13149 @endif gcc
13151 .PHONY: maybe-installcheck-gcc installcheck-gcc
13152 maybe-installcheck-gcc:
13153 @if gcc
13154 maybe-installcheck-gcc: installcheck-gcc
13156 installcheck-gcc: \
13157 configure-gcc
13158 @[ -f ./gcc/Makefile ] || exit 0; \
13159 r=`${PWD_COMMAND}`; export r; \
13160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13161 $(HOST_EXPORTS) \
13162 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13164 done; \
13165 echo "Doing installcheck in gcc" ; \
13166 (cd $(HOST_SUBDIR)/gcc && \
13167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13169 "RANLIB=$${RANLIB}" \
13170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13171 installcheck) \
13172 || exit 1
13174 @endif gcc
13176 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13177 maybe-mostlyclean-gcc:
13178 @if gcc
13179 maybe-mostlyclean-gcc: mostlyclean-gcc
13181 mostlyclean-gcc:
13182 @[ -f ./gcc/Makefile ] || exit 0; \
13183 r=`${PWD_COMMAND}`; export r; \
13184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13185 $(HOST_EXPORTS) \
13186 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13188 done; \
13189 echo "Doing mostlyclean in gcc" ; \
13190 (cd $(HOST_SUBDIR)/gcc && \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13193 "RANLIB=$${RANLIB}" \
13194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13195 mostlyclean) \
13196 || exit 1
13198 @endif gcc
13200 .PHONY: maybe-clean-gcc clean-gcc
13201 maybe-clean-gcc:
13202 @if gcc
13203 maybe-clean-gcc: clean-gcc
13205 clean-gcc:
13206 @[ -f ./gcc/Makefile ] || exit 0; \
13207 r=`${PWD_COMMAND}`; export r; \
13208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13209 $(HOST_EXPORTS) \
13210 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13212 done; \
13213 echo "Doing clean in gcc" ; \
13214 (cd $(HOST_SUBDIR)/gcc && \
13215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13217 "RANLIB=$${RANLIB}" \
13218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13219 clean) \
13220 || exit 1
13222 @endif gcc
13224 .PHONY: maybe-distclean-gcc distclean-gcc
13225 maybe-distclean-gcc:
13226 @if gcc
13227 maybe-distclean-gcc: distclean-gcc
13229 distclean-gcc:
13230 @[ -f ./gcc/Makefile ] || exit 0; \
13231 r=`${PWD_COMMAND}`; export r; \
13232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13233 $(HOST_EXPORTS) \
13234 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13236 done; \
13237 echo "Doing distclean in gcc" ; \
13238 (cd $(HOST_SUBDIR)/gcc && \
13239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13241 "RANLIB=$${RANLIB}" \
13242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13243 distclean) \
13244 || exit 1
13246 @endif gcc
13248 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13249 maybe-maintainer-clean-gcc:
13250 @if gcc
13251 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13253 maintainer-clean-gcc:
13254 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
13259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13260 done; \
13261 echo "Doing maintainer-clean in gcc" ; \
13262 (cd $(HOST_SUBDIR)/gcc && \
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 maintainer-clean) \
13268 || exit 1
13270 @endif gcc
13274 .PHONY: configure-gawk maybe-configure-gawk
13275 maybe-configure-gawk:
13276 @if gcc-bootstrap
13277 configure-gawk: stage_current
13278 @endif gcc-bootstrap
13279 @if gawk
13280 maybe-configure-gawk: configure-gawk
13281 configure-gawk:
13282 @: $(MAKE); $(unstage)
13283 @r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13287 $(HOST_EXPORTS) \
13288 echo Configuring in $(HOST_SUBDIR)/gawk; \
13289 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13290 case $(srcdir) in \
13291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13292 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13294 esac; \
13295 srcdiroption="--srcdir=$${topdir}/gawk"; \
13296 libsrcdir="$$s/gawk"; \
13297 $(SHELL) $${libsrcdir}/configure \
13298 $(HOST_CONFIGARGS) $${srcdiroption} \
13299 || exit 1
13300 @endif gawk
13306 .PHONY: all-gawk maybe-all-gawk
13307 maybe-all-gawk:
13308 @if gcc-bootstrap
13309 all-gawk: stage_current
13310 @endif gcc-bootstrap
13311 @if gawk
13312 TARGET-gawk=all
13313 maybe-all-gawk: all-gawk
13314 all-gawk: configure-gawk
13315 @: $(MAKE); $(unstage)
13316 @r=`${PWD_COMMAND}`; export r; \
13317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13318 $(HOST_EXPORTS) \
13319 (cd $(HOST_SUBDIR)/gawk && \
13320 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13321 @endif gawk
13326 .PHONY: check-gawk maybe-check-gawk
13327 maybe-check-gawk:
13328 @if gawk
13329 maybe-check-gawk: check-gawk
13331 check-gawk:
13332 @: $(MAKE); $(unstage)
13333 @r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 $(HOST_EXPORTS) \
13336 (cd $(HOST_SUBDIR)/gawk && \
13337 $(MAKE) $(FLAGS_TO_PASS) check)
13339 @endif gawk
13341 .PHONY: install-gawk maybe-install-gawk
13342 maybe-install-gawk:
13343 @if gawk
13344 maybe-install-gawk: install-gawk
13346 install-gawk: installdirs
13347 @: $(MAKE); $(unstage)
13348 @r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 $(HOST_EXPORTS) \
13351 (cd $(HOST_SUBDIR)/gawk && \
13352 $(MAKE) $(FLAGS_TO_PASS) install)
13354 @endif gawk
13356 # Other targets (info, dvi, pdf, etc.)
13358 .PHONY: maybe-info-gawk info-gawk
13359 maybe-info-gawk:
13360 @if gawk
13361 maybe-info-gawk: info-gawk
13363 info-gawk: \
13364 configure-gawk
13365 @: $(MAKE); $(unstage)
13366 @[ -f ./gawk/Makefile ] || exit 0; \
13367 r=`${PWD_COMMAND}`; export r; \
13368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13369 $(HOST_EXPORTS) \
13370 for flag in $(EXTRA_HOST_FLAGS) ; do \
13371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13372 done; \
13373 echo "Doing info in gawk" ; \
13374 (cd $(HOST_SUBDIR)/gawk && \
13375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13377 "RANLIB=$${RANLIB}" \
13378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13379 info) \
13380 || exit 1
13382 @endif gawk
13384 .PHONY: maybe-dvi-gawk dvi-gawk
13385 maybe-dvi-gawk:
13386 @if gawk
13387 maybe-dvi-gawk: dvi-gawk
13389 dvi-gawk: \
13390 configure-gawk
13391 @: $(MAKE); $(unstage)
13392 @[ -f ./gawk/Makefile ] || exit 0; \
13393 r=`${PWD_COMMAND}`; export r; \
13394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13395 $(HOST_EXPORTS) \
13396 for flag in $(EXTRA_HOST_FLAGS) ; do \
13397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13398 done; \
13399 echo "Doing dvi in gawk" ; \
13400 (cd $(HOST_SUBDIR)/gawk && \
13401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13403 "RANLIB=$${RANLIB}" \
13404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13405 dvi) \
13406 || exit 1
13408 @endif gawk
13410 .PHONY: maybe-pdf-gawk pdf-gawk
13411 maybe-pdf-gawk:
13412 @if gawk
13413 maybe-pdf-gawk: pdf-gawk
13415 pdf-gawk: \
13416 configure-gawk
13417 @: $(MAKE); $(unstage)
13418 @[ -f ./gawk/Makefile ] || exit 0; \
13419 r=`${PWD_COMMAND}`; export r; \
13420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13421 $(HOST_EXPORTS) \
13422 for flag in $(EXTRA_HOST_FLAGS) ; do \
13423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13424 done; \
13425 echo "Doing pdf in gawk" ; \
13426 (cd $(HOST_SUBDIR)/gawk && \
13427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13429 "RANLIB=$${RANLIB}" \
13430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13431 pdf) \
13432 || exit 1
13434 @endif gawk
13436 .PHONY: maybe-html-gawk html-gawk
13437 maybe-html-gawk:
13438 @if gawk
13439 maybe-html-gawk: html-gawk
13441 html-gawk: \
13442 configure-gawk
13443 @: $(MAKE); $(unstage)
13444 @[ -f ./gawk/Makefile ] || exit 0; \
13445 r=`${PWD_COMMAND}`; export r; \
13446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13447 $(HOST_EXPORTS) \
13448 for flag in $(EXTRA_HOST_FLAGS) ; do \
13449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13450 done; \
13451 echo "Doing html in gawk" ; \
13452 (cd $(HOST_SUBDIR)/gawk && \
13453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13455 "RANLIB=$${RANLIB}" \
13456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13457 html) \
13458 || exit 1
13460 @endif gawk
13462 .PHONY: maybe-TAGS-gawk TAGS-gawk
13463 maybe-TAGS-gawk:
13464 @if gawk
13465 maybe-TAGS-gawk: TAGS-gawk
13467 TAGS-gawk: \
13468 configure-gawk
13469 @: $(MAKE); $(unstage)
13470 @[ -f ./gawk/Makefile ] || exit 0; \
13471 r=`${PWD_COMMAND}`; export r; \
13472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13473 $(HOST_EXPORTS) \
13474 for flag in $(EXTRA_HOST_FLAGS) ; do \
13475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13476 done; \
13477 echo "Doing TAGS in gawk" ; \
13478 (cd $(HOST_SUBDIR)/gawk && \
13479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13481 "RANLIB=$${RANLIB}" \
13482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13483 TAGS) \
13484 || exit 1
13486 @endif gawk
13488 .PHONY: maybe-install-info-gawk install-info-gawk
13489 maybe-install-info-gawk:
13490 @if gawk
13491 maybe-install-info-gawk: install-info-gawk
13493 install-info-gawk: \
13494 configure-gawk \
13495 info-gawk
13496 @: $(MAKE); $(unstage)
13497 @[ -f ./gawk/Makefile ] || exit 0; \
13498 r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 $(HOST_EXPORTS) \
13501 for flag in $(EXTRA_HOST_FLAGS) ; do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503 done; \
13504 echo "Doing install-info in gawk" ; \
13505 (cd $(HOST_SUBDIR)/gawk && \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508 "RANLIB=$${RANLIB}" \
13509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13510 install-info) \
13511 || exit 1
13513 @endif gawk
13515 .PHONY: maybe-install-html-gawk install-html-gawk
13516 maybe-install-html-gawk:
13517 @if gawk
13518 maybe-install-html-gawk: install-html-gawk
13520 install-html-gawk: \
13521 configure-gawk \
13522 html-gawk
13523 @: $(MAKE); $(unstage)
13524 @[ -f ./gawk/Makefile ] || exit 0; \
13525 r=`${PWD_COMMAND}`; export r; \
13526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13527 $(HOST_EXPORTS) \
13528 for flag in $(EXTRA_HOST_FLAGS) ; do \
13529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13530 done; \
13531 echo "Doing install-html in gawk" ; \
13532 (cd $(HOST_SUBDIR)/gawk && \
13533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13535 "RANLIB=$${RANLIB}" \
13536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13537 install-html) \
13538 || exit 1
13540 @endif gawk
13542 .PHONY: maybe-installcheck-gawk installcheck-gawk
13543 maybe-installcheck-gawk:
13544 @if gawk
13545 maybe-installcheck-gawk: installcheck-gawk
13547 installcheck-gawk: \
13548 configure-gawk
13549 @: $(MAKE); $(unstage)
13550 @[ -f ./gawk/Makefile ] || exit 0; \
13551 r=`${PWD_COMMAND}`; export r; \
13552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13553 $(HOST_EXPORTS) \
13554 for flag in $(EXTRA_HOST_FLAGS) ; do \
13555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13556 done; \
13557 echo "Doing installcheck in gawk" ; \
13558 (cd $(HOST_SUBDIR)/gawk && \
13559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13561 "RANLIB=$${RANLIB}" \
13562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13563 installcheck) \
13564 || exit 1
13566 @endif gawk
13568 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13569 maybe-mostlyclean-gawk:
13570 @if gawk
13571 maybe-mostlyclean-gawk: mostlyclean-gawk
13573 mostlyclean-gawk:
13574 @: $(MAKE); $(unstage)
13575 @[ -f ./gawk/Makefile ] || exit 0; \
13576 r=`${PWD_COMMAND}`; export r; \
13577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13578 $(HOST_EXPORTS) \
13579 for flag in $(EXTRA_HOST_FLAGS) ; do \
13580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13581 done; \
13582 echo "Doing mostlyclean in gawk" ; \
13583 (cd $(HOST_SUBDIR)/gawk && \
13584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586 "RANLIB=$${RANLIB}" \
13587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13588 mostlyclean) \
13589 || exit 1
13591 @endif gawk
13593 .PHONY: maybe-clean-gawk clean-gawk
13594 maybe-clean-gawk:
13595 @if gawk
13596 maybe-clean-gawk: clean-gawk
13598 clean-gawk:
13599 @: $(MAKE); $(unstage)
13600 @[ -f ./gawk/Makefile ] || exit 0; \
13601 r=`${PWD_COMMAND}`; export r; \
13602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13603 $(HOST_EXPORTS) \
13604 for flag in $(EXTRA_HOST_FLAGS) ; do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 done; \
13607 echo "Doing clean in gawk" ; \
13608 (cd $(HOST_SUBDIR)/gawk && \
13609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13611 "RANLIB=$${RANLIB}" \
13612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13613 clean) \
13614 || exit 1
13616 @endif gawk
13618 .PHONY: maybe-distclean-gawk distclean-gawk
13619 maybe-distclean-gawk:
13620 @if gawk
13621 maybe-distclean-gawk: distclean-gawk
13623 distclean-gawk:
13624 @: $(MAKE); $(unstage)
13625 @[ -f ./gawk/Makefile ] || exit 0; \
13626 r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13628 $(HOST_EXPORTS) \
13629 for flag in $(EXTRA_HOST_FLAGS) ; do \
13630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13631 done; \
13632 echo "Doing distclean in gawk" ; \
13633 (cd $(HOST_SUBDIR)/gawk && \
13634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13636 "RANLIB=$${RANLIB}" \
13637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13638 distclean) \
13639 || exit 1
13641 @endif gawk
13643 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13644 maybe-maintainer-clean-gawk:
13645 @if gawk
13646 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13648 maintainer-clean-gawk:
13649 @: $(MAKE); $(unstage)
13650 @[ -f ./gawk/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 maintainer-clean in gawk" ; \
13658 (cd $(HOST_SUBDIR)/gawk && \
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 maintainer-clean) \
13664 || exit 1
13666 @endif gawk
13670 .PHONY: configure-gettext maybe-configure-gettext
13671 maybe-configure-gettext:
13672 @if gcc-bootstrap
13673 configure-gettext: stage_current
13674 @endif gcc-bootstrap
13675 @if gettext
13676 maybe-configure-gettext: configure-gettext
13677 configure-gettext:
13678 @: $(MAKE); $(unstage)
13679 @r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13683 $(HOST_EXPORTS) \
13684 echo Configuring in $(HOST_SUBDIR)/gettext; \
13685 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13686 case $(srcdir) in \
13687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13688 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13690 esac; \
13691 srcdiroption="--srcdir=$${topdir}/gettext"; \
13692 libsrcdir="$$s/gettext"; \
13693 $(SHELL) $${libsrcdir}/configure \
13694 $(HOST_CONFIGARGS) $${srcdiroption} \
13695 || exit 1
13696 @endif gettext
13702 .PHONY: all-gettext maybe-all-gettext
13703 maybe-all-gettext:
13704 @if gcc-bootstrap
13705 all-gettext: stage_current
13706 @endif gcc-bootstrap
13707 @if gettext
13708 TARGET-gettext=all
13709 maybe-all-gettext: all-gettext
13710 all-gettext: configure-gettext
13711 @: $(MAKE); $(unstage)
13712 @r=`${PWD_COMMAND}`; export r; \
13713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13714 $(HOST_EXPORTS) \
13715 (cd $(HOST_SUBDIR)/gettext && \
13716 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13717 @endif gettext
13722 .PHONY: check-gettext maybe-check-gettext
13723 maybe-check-gettext:
13724 @if gettext
13725 maybe-check-gettext: check-gettext
13727 check-gettext:
13728 @: $(MAKE); $(unstage)
13729 @r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 $(HOST_EXPORTS) \
13732 (cd $(HOST_SUBDIR)/gettext && \
13733 $(MAKE) $(FLAGS_TO_PASS) check)
13735 @endif gettext
13737 .PHONY: install-gettext maybe-install-gettext
13738 maybe-install-gettext:
13739 @if gettext
13740 maybe-install-gettext: install-gettext
13742 install-gettext: installdirs
13743 @: $(MAKE); $(unstage)
13744 @r=`${PWD_COMMAND}`; export r; \
13745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13746 $(HOST_EXPORTS) \
13747 (cd $(HOST_SUBDIR)/gettext && \
13748 $(MAKE) $(FLAGS_TO_PASS) install)
13750 @endif gettext
13752 # Other targets (info, dvi, pdf, etc.)
13754 .PHONY: maybe-info-gettext info-gettext
13755 maybe-info-gettext:
13756 @if gettext
13757 maybe-info-gettext: info-gettext
13759 info-gettext: \
13760 configure-gettext
13761 @: $(MAKE); $(unstage)
13762 @[ -f ./gettext/Makefile ] || exit 0; \
13763 r=`${PWD_COMMAND}`; export r; \
13764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13765 $(HOST_EXPORTS) \
13766 for flag in $(EXTRA_HOST_FLAGS) ; do \
13767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13768 done; \
13769 echo "Doing info in gettext" ; \
13770 (cd $(HOST_SUBDIR)/gettext && \
13771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13773 "RANLIB=$${RANLIB}" \
13774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13775 info) \
13776 || exit 1
13778 @endif gettext
13780 .PHONY: maybe-dvi-gettext dvi-gettext
13781 maybe-dvi-gettext:
13782 @if gettext
13783 maybe-dvi-gettext: dvi-gettext
13785 dvi-gettext: \
13786 configure-gettext
13787 @: $(MAKE); $(unstage)
13788 @[ -f ./gettext/Makefile ] || exit 0; \
13789 r=`${PWD_COMMAND}`; export r; \
13790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13791 $(HOST_EXPORTS) \
13792 for flag in $(EXTRA_HOST_FLAGS) ; do \
13793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13794 done; \
13795 echo "Doing dvi in gettext" ; \
13796 (cd $(HOST_SUBDIR)/gettext && \
13797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13799 "RANLIB=$${RANLIB}" \
13800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13801 dvi) \
13802 || exit 1
13804 @endif gettext
13806 .PHONY: maybe-pdf-gettext pdf-gettext
13807 maybe-pdf-gettext:
13808 @if gettext
13809 maybe-pdf-gettext: pdf-gettext
13811 pdf-gettext: \
13812 configure-gettext
13813 @: $(MAKE); $(unstage)
13814 @[ -f ./gettext/Makefile ] || exit 0; \
13815 r=`${PWD_COMMAND}`; export r; \
13816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13817 $(HOST_EXPORTS) \
13818 for flag in $(EXTRA_HOST_FLAGS) ; do \
13819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13820 done; \
13821 echo "Doing pdf in gettext" ; \
13822 (cd $(HOST_SUBDIR)/gettext && \
13823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13825 "RANLIB=$${RANLIB}" \
13826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13827 pdf) \
13828 || exit 1
13830 @endif gettext
13832 .PHONY: maybe-html-gettext html-gettext
13833 maybe-html-gettext:
13834 @if gettext
13835 maybe-html-gettext: html-gettext
13837 html-gettext: \
13838 configure-gettext
13839 @: $(MAKE); $(unstage)
13840 @[ -f ./gettext/Makefile ] || exit 0; \
13841 r=`${PWD_COMMAND}`; export r; \
13842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13843 $(HOST_EXPORTS) \
13844 for flag in $(EXTRA_HOST_FLAGS) ; do \
13845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13846 done; \
13847 echo "Doing html in gettext" ; \
13848 (cd $(HOST_SUBDIR)/gettext && \
13849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13851 "RANLIB=$${RANLIB}" \
13852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13853 html) \
13854 || exit 1
13856 @endif gettext
13858 .PHONY: maybe-TAGS-gettext TAGS-gettext
13859 maybe-TAGS-gettext:
13860 @if gettext
13861 maybe-TAGS-gettext: TAGS-gettext
13863 TAGS-gettext: \
13864 configure-gettext
13865 @: $(MAKE); $(unstage)
13866 @[ -f ./gettext/Makefile ] || exit 0; \
13867 r=`${PWD_COMMAND}`; export r; \
13868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13869 $(HOST_EXPORTS) \
13870 for flag in $(EXTRA_HOST_FLAGS) ; do \
13871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13872 done; \
13873 echo "Doing TAGS in gettext" ; \
13874 (cd $(HOST_SUBDIR)/gettext && \
13875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13877 "RANLIB=$${RANLIB}" \
13878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13879 TAGS) \
13880 || exit 1
13882 @endif gettext
13884 .PHONY: maybe-install-info-gettext install-info-gettext
13885 maybe-install-info-gettext:
13886 @if gettext
13887 maybe-install-info-gettext: install-info-gettext
13889 install-info-gettext: \
13890 configure-gettext \
13891 info-gettext
13892 @: $(MAKE); $(unstage)
13893 @[ -f ./gettext/Makefile ] || exit 0; \
13894 r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13896 $(HOST_EXPORTS) \
13897 for flag in $(EXTRA_HOST_FLAGS) ; do \
13898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13899 done; \
13900 echo "Doing install-info in gettext" ; \
13901 (cd $(HOST_SUBDIR)/gettext && \
13902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13904 "RANLIB=$${RANLIB}" \
13905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13906 install-info) \
13907 || exit 1
13909 @endif gettext
13911 .PHONY: maybe-install-html-gettext install-html-gettext
13912 maybe-install-html-gettext:
13913 @if gettext
13914 maybe-install-html-gettext: install-html-gettext
13916 install-html-gettext: \
13917 configure-gettext \
13918 html-gettext
13919 @: $(MAKE); $(unstage)
13920 @[ -f ./gettext/Makefile ] || exit 0; \
13921 r=`${PWD_COMMAND}`; export r; \
13922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13923 $(HOST_EXPORTS) \
13924 for flag in $(EXTRA_HOST_FLAGS) ; do \
13925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13926 done; \
13927 echo "Doing install-html in gettext" ; \
13928 (cd $(HOST_SUBDIR)/gettext && \
13929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13931 "RANLIB=$${RANLIB}" \
13932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13933 install-html) \
13934 || exit 1
13936 @endif gettext
13938 .PHONY: maybe-installcheck-gettext installcheck-gettext
13939 maybe-installcheck-gettext:
13940 @if gettext
13941 maybe-installcheck-gettext: installcheck-gettext
13943 installcheck-gettext: \
13944 configure-gettext
13945 @: $(MAKE); $(unstage)
13946 @[ -f ./gettext/Makefile ] || exit 0; \
13947 r=`${PWD_COMMAND}`; export r; \
13948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13949 $(HOST_EXPORTS) \
13950 for flag in $(EXTRA_HOST_FLAGS) ; do \
13951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13952 done; \
13953 echo "Doing installcheck in gettext" ; \
13954 (cd $(HOST_SUBDIR)/gettext && \
13955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13957 "RANLIB=$${RANLIB}" \
13958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13959 installcheck) \
13960 || exit 1
13962 @endif gettext
13964 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13965 maybe-mostlyclean-gettext:
13966 @if gettext
13967 maybe-mostlyclean-gettext: mostlyclean-gettext
13969 mostlyclean-gettext:
13970 @: $(MAKE); $(unstage)
13971 @[ -f ./gettext/Makefile ] || exit 0; \
13972 r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 $(HOST_EXPORTS) \
13975 for flag in $(EXTRA_HOST_FLAGS) ; do \
13976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13977 done; \
13978 echo "Doing mostlyclean in gettext" ; \
13979 (cd $(HOST_SUBDIR)/gettext && \
13980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13982 "RANLIB=$${RANLIB}" \
13983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13984 mostlyclean) \
13985 || exit 1
13987 @endif gettext
13989 .PHONY: maybe-clean-gettext clean-gettext
13990 maybe-clean-gettext:
13991 @if gettext
13992 maybe-clean-gettext: clean-gettext
13994 clean-gettext:
13995 @: $(MAKE); $(unstage)
13996 @[ -f ./gettext/Makefile ] || exit 0; \
13997 r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13999 $(HOST_EXPORTS) \
14000 for flag in $(EXTRA_HOST_FLAGS) ; do \
14001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14002 done; \
14003 echo "Doing clean in gettext" ; \
14004 (cd $(HOST_SUBDIR)/gettext && \
14005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14007 "RANLIB=$${RANLIB}" \
14008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14009 clean) \
14010 || exit 1
14012 @endif gettext
14014 .PHONY: maybe-distclean-gettext distclean-gettext
14015 maybe-distclean-gettext:
14016 @if gettext
14017 maybe-distclean-gettext: distclean-gettext
14019 distclean-gettext:
14020 @: $(MAKE); $(unstage)
14021 @[ -f ./gettext/Makefile ] || exit 0; \
14022 r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 $(HOST_EXPORTS) \
14025 for flag in $(EXTRA_HOST_FLAGS) ; do \
14026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14027 done; \
14028 echo "Doing distclean in gettext" ; \
14029 (cd $(HOST_SUBDIR)/gettext && \
14030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14032 "RANLIB=$${RANLIB}" \
14033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14034 distclean) \
14035 || exit 1
14037 @endif gettext
14039 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14040 maybe-maintainer-clean-gettext:
14041 @if gettext
14042 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14044 maintainer-clean-gettext:
14045 @: $(MAKE); $(unstage)
14046 @[ -f ./gettext/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 maintainer-clean in gettext" ; \
14054 (cd $(HOST_SUBDIR)/gettext && \
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 maintainer-clean) \
14060 || exit 1
14062 @endif gettext
14066 .PHONY: configure-gnuserv maybe-configure-gnuserv
14067 maybe-configure-gnuserv:
14068 @if gcc-bootstrap
14069 configure-gnuserv: stage_current
14070 @endif gcc-bootstrap
14071 @if gnuserv
14072 maybe-configure-gnuserv: configure-gnuserv
14073 configure-gnuserv:
14074 @: $(MAKE); $(unstage)
14075 @r=`${PWD_COMMAND}`; export r; \
14076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
14078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
14079 $(HOST_EXPORTS) \
14080 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
14081 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
14082 case $(srcdir) in \
14083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14084 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
14085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14086 esac; \
14087 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
14088 libsrcdir="$$s/gnuserv"; \
14089 $(SHELL) $${libsrcdir}/configure \
14090 $(HOST_CONFIGARGS) $${srcdiroption} \
14091 || exit 1
14092 @endif gnuserv
14098 .PHONY: all-gnuserv maybe-all-gnuserv
14099 maybe-all-gnuserv:
14100 @if gcc-bootstrap
14101 all-gnuserv: stage_current
14102 @endif gcc-bootstrap
14103 @if gnuserv
14104 TARGET-gnuserv=all
14105 maybe-all-gnuserv: all-gnuserv
14106 all-gnuserv: configure-gnuserv
14107 @: $(MAKE); $(unstage)
14108 @r=`${PWD_COMMAND}`; export r; \
14109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14110 $(HOST_EXPORTS) \
14111 (cd $(HOST_SUBDIR)/gnuserv && \
14112 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
14113 @endif gnuserv
14118 .PHONY: check-gnuserv maybe-check-gnuserv
14119 maybe-check-gnuserv:
14120 @if gnuserv
14121 maybe-check-gnuserv: check-gnuserv
14123 check-gnuserv:
14124 @: $(MAKE); $(unstage)
14125 @r=`${PWD_COMMAND}`; export r; \
14126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14127 $(HOST_EXPORTS) \
14128 (cd $(HOST_SUBDIR)/gnuserv && \
14129 $(MAKE) $(FLAGS_TO_PASS) check)
14131 @endif gnuserv
14133 .PHONY: install-gnuserv maybe-install-gnuserv
14134 maybe-install-gnuserv:
14135 @if gnuserv
14136 maybe-install-gnuserv: install-gnuserv
14138 install-gnuserv: installdirs
14139 @: $(MAKE); $(unstage)
14140 @r=`${PWD_COMMAND}`; export r; \
14141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 $(HOST_EXPORTS) \
14143 (cd $(HOST_SUBDIR)/gnuserv && \
14144 $(MAKE) $(FLAGS_TO_PASS) install)
14146 @endif gnuserv
14148 # Other targets (info, dvi, pdf, etc.)
14150 .PHONY: maybe-info-gnuserv info-gnuserv
14151 maybe-info-gnuserv:
14152 @if gnuserv
14153 maybe-info-gnuserv: info-gnuserv
14155 info-gnuserv: \
14156 configure-gnuserv
14157 @: $(MAKE); $(unstage)
14158 @[ -f ./gnuserv/Makefile ] || exit 0; \
14159 r=`${PWD_COMMAND}`; export r; \
14160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14161 $(HOST_EXPORTS) \
14162 for flag in $(EXTRA_HOST_FLAGS) ; do \
14163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14164 done; \
14165 echo "Doing info in gnuserv" ; \
14166 (cd $(HOST_SUBDIR)/gnuserv && \
14167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14169 "RANLIB=$${RANLIB}" \
14170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14171 info) \
14172 || exit 1
14174 @endif gnuserv
14176 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
14177 maybe-dvi-gnuserv:
14178 @if gnuserv
14179 maybe-dvi-gnuserv: dvi-gnuserv
14181 dvi-gnuserv: \
14182 configure-gnuserv
14183 @: $(MAKE); $(unstage)
14184 @[ -f ./gnuserv/Makefile ] || exit 0; \
14185 r=`${PWD_COMMAND}`; export r; \
14186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14187 $(HOST_EXPORTS) \
14188 for flag in $(EXTRA_HOST_FLAGS) ; do \
14189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14190 done; \
14191 echo "Doing dvi in gnuserv" ; \
14192 (cd $(HOST_SUBDIR)/gnuserv && \
14193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14195 "RANLIB=$${RANLIB}" \
14196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14197 dvi) \
14198 || exit 1
14200 @endif gnuserv
14202 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
14203 maybe-pdf-gnuserv:
14204 @if gnuserv
14205 maybe-pdf-gnuserv: pdf-gnuserv
14207 pdf-gnuserv: \
14208 configure-gnuserv
14209 @: $(MAKE); $(unstage)
14210 @[ -f ./gnuserv/Makefile ] || exit 0; \
14211 r=`${PWD_COMMAND}`; export r; \
14212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14213 $(HOST_EXPORTS) \
14214 for flag in $(EXTRA_HOST_FLAGS) ; do \
14215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14216 done; \
14217 echo "Doing pdf in gnuserv" ; \
14218 (cd $(HOST_SUBDIR)/gnuserv && \
14219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14221 "RANLIB=$${RANLIB}" \
14222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14223 pdf) \
14224 || exit 1
14226 @endif gnuserv
14228 .PHONY: maybe-html-gnuserv html-gnuserv
14229 maybe-html-gnuserv:
14230 @if gnuserv
14231 maybe-html-gnuserv: html-gnuserv
14233 html-gnuserv: \
14234 configure-gnuserv
14235 @: $(MAKE); $(unstage)
14236 @[ -f ./gnuserv/Makefile ] || exit 0; \
14237 r=`${PWD_COMMAND}`; export r; \
14238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14239 $(HOST_EXPORTS) \
14240 for flag in $(EXTRA_HOST_FLAGS) ; do \
14241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14242 done; \
14243 echo "Doing html in gnuserv" ; \
14244 (cd $(HOST_SUBDIR)/gnuserv && \
14245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14247 "RANLIB=$${RANLIB}" \
14248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14249 html) \
14250 || exit 1
14252 @endif gnuserv
14254 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
14255 maybe-TAGS-gnuserv:
14256 @if gnuserv
14257 maybe-TAGS-gnuserv: TAGS-gnuserv
14259 TAGS-gnuserv: \
14260 configure-gnuserv
14261 @: $(MAKE); $(unstage)
14262 @[ -f ./gnuserv/Makefile ] || exit 0; \
14263 r=`${PWD_COMMAND}`; export r; \
14264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14265 $(HOST_EXPORTS) \
14266 for flag in $(EXTRA_HOST_FLAGS) ; do \
14267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14268 done; \
14269 echo "Doing TAGS in gnuserv" ; \
14270 (cd $(HOST_SUBDIR)/gnuserv && \
14271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14273 "RANLIB=$${RANLIB}" \
14274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14275 TAGS) \
14276 || exit 1
14278 @endif gnuserv
14280 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
14281 maybe-install-info-gnuserv:
14282 @if gnuserv
14283 maybe-install-info-gnuserv: install-info-gnuserv
14285 install-info-gnuserv: \
14286 configure-gnuserv \
14287 info-gnuserv
14288 @: $(MAKE); $(unstage)
14289 @[ -f ./gnuserv/Makefile ] || exit 0; \
14290 r=`${PWD_COMMAND}`; export r; \
14291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14292 $(HOST_EXPORTS) \
14293 for flag in $(EXTRA_HOST_FLAGS) ; do \
14294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14295 done; \
14296 echo "Doing install-info in gnuserv" ; \
14297 (cd $(HOST_SUBDIR)/gnuserv && \
14298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14300 "RANLIB=$${RANLIB}" \
14301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14302 install-info) \
14303 || exit 1
14305 @endif gnuserv
14307 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
14308 maybe-install-html-gnuserv:
14309 @if gnuserv
14310 maybe-install-html-gnuserv: install-html-gnuserv
14312 install-html-gnuserv: \
14313 configure-gnuserv \
14314 html-gnuserv
14315 @: $(MAKE); $(unstage)
14316 @[ -f ./gnuserv/Makefile ] || exit 0; \
14317 r=`${PWD_COMMAND}`; export r; \
14318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14319 $(HOST_EXPORTS) \
14320 for flag in $(EXTRA_HOST_FLAGS) ; do \
14321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14322 done; \
14323 echo "Doing install-html in gnuserv" ; \
14324 (cd $(HOST_SUBDIR)/gnuserv && \
14325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14327 "RANLIB=$${RANLIB}" \
14328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14329 install-html) \
14330 || exit 1
14332 @endif gnuserv
14334 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
14335 maybe-installcheck-gnuserv:
14336 @if gnuserv
14337 maybe-installcheck-gnuserv: installcheck-gnuserv
14339 installcheck-gnuserv: \
14340 configure-gnuserv
14341 @: $(MAKE); $(unstage)
14342 @[ -f ./gnuserv/Makefile ] || exit 0; \
14343 r=`${PWD_COMMAND}`; export r; \
14344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14345 $(HOST_EXPORTS) \
14346 for flag in $(EXTRA_HOST_FLAGS) ; do \
14347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14348 done; \
14349 echo "Doing installcheck in gnuserv" ; \
14350 (cd $(HOST_SUBDIR)/gnuserv && \
14351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14353 "RANLIB=$${RANLIB}" \
14354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14355 installcheck) \
14356 || exit 1
14358 @endif gnuserv
14360 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
14361 maybe-mostlyclean-gnuserv:
14362 @if gnuserv
14363 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
14365 mostlyclean-gnuserv:
14366 @: $(MAKE); $(unstage)
14367 @[ -f ./gnuserv/Makefile ] || exit 0; \
14368 r=`${PWD_COMMAND}`; export r; \
14369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14370 $(HOST_EXPORTS) \
14371 for flag in $(EXTRA_HOST_FLAGS) ; do \
14372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14373 done; \
14374 echo "Doing mostlyclean in gnuserv" ; \
14375 (cd $(HOST_SUBDIR)/gnuserv && \
14376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14378 "RANLIB=$${RANLIB}" \
14379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14380 mostlyclean) \
14381 || exit 1
14383 @endif gnuserv
14385 .PHONY: maybe-clean-gnuserv clean-gnuserv
14386 maybe-clean-gnuserv:
14387 @if gnuserv
14388 maybe-clean-gnuserv: clean-gnuserv
14390 clean-gnuserv:
14391 @: $(MAKE); $(unstage)
14392 @[ -f ./gnuserv/Makefile ] || exit 0; \
14393 r=`${PWD_COMMAND}`; export r; \
14394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14395 $(HOST_EXPORTS) \
14396 for flag in $(EXTRA_HOST_FLAGS) ; do \
14397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14398 done; \
14399 echo "Doing clean in gnuserv" ; \
14400 (cd $(HOST_SUBDIR)/gnuserv && \
14401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14403 "RANLIB=$${RANLIB}" \
14404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14405 clean) \
14406 || exit 1
14408 @endif gnuserv
14410 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14411 maybe-distclean-gnuserv:
14412 @if gnuserv
14413 maybe-distclean-gnuserv: distclean-gnuserv
14415 distclean-gnuserv:
14416 @: $(MAKE); $(unstage)
14417 @[ -f ./gnuserv/Makefile ] || exit 0; \
14418 r=`${PWD_COMMAND}`; export r; \
14419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14420 $(HOST_EXPORTS) \
14421 for flag in $(EXTRA_HOST_FLAGS) ; do \
14422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14423 done; \
14424 echo "Doing distclean in gnuserv" ; \
14425 (cd $(HOST_SUBDIR)/gnuserv && \
14426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14428 "RANLIB=$${RANLIB}" \
14429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14430 distclean) \
14431 || exit 1
14433 @endif gnuserv
14435 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
14436 maybe-maintainer-clean-gnuserv:
14437 @if gnuserv
14438 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
14440 maintainer-clean-gnuserv:
14441 @: $(MAKE); $(unstage)
14442 @[ -f ./gnuserv/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 maintainer-clean in gnuserv" ; \
14450 (cd $(HOST_SUBDIR)/gnuserv && \
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 maintainer-clean) \
14456 || exit 1
14458 @endif gnuserv
14462 .PHONY: configure-gprof maybe-configure-gprof
14463 maybe-configure-gprof:
14464 @if gcc-bootstrap
14465 configure-gprof: stage_current
14466 @endif gcc-bootstrap
14467 @if gprof
14468 maybe-configure-gprof: configure-gprof
14469 configure-gprof:
14470 @: $(MAKE); $(unstage)
14471 @r=`${PWD_COMMAND}`; export r; \
14472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14473 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
14474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
14475 $(HOST_EXPORTS) \
14476 echo Configuring in $(HOST_SUBDIR)/gprof; \
14477 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
14478 case $(srcdir) in \
14479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14480 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
14481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14482 esac; \
14483 srcdiroption="--srcdir=$${topdir}/gprof"; \
14484 libsrcdir="$$s/gprof"; \
14485 $(SHELL) $${libsrcdir}/configure \
14486 $(HOST_CONFIGARGS) $${srcdiroption} \
14487 || exit 1
14488 @endif gprof
14494 .PHONY: all-gprof maybe-all-gprof
14495 maybe-all-gprof:
14496 @if gcc-bootstrap
14497 all-gprof: stage_current
14498 @endif gcc-bootstrap
14499 @if gprof
14500 TARGET-gprof=all
14501 maybe-all-gprof: all-gprof
14502 all-gprof: configure-gprof
14503 @: $(MAKE); $(unstage)
14504 @r=`${PWD_COMMAND}`; export r; \
14505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14506 $(HOST_EXPORTS) \
14507 (cd $(HOST_SUBDIR)/gprof && \
14508 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
14509 @endif gprof
14514 .PHONY: check-gprof maybe-check-gprof
14515 maybe-check-gprof:
14516 @if gprof
14517 maybe-check-gprof: check-gprof
14519 check-gprof:
14520 @: $(MAKE); $(unstage)
14521 @r=`${PWD_COMMAND}`; export r; \
14522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14523 $(HOST_EXPORTS) \
14524 (cd $(HOST_SUBDIR)/gprof && \
14525 $(MAKE) $(FLAGS_TO_PASS) check)
14527 @endif gprof
14529 .PHONY: install-gprof maybe-install-gprof
14530 maybe-install-gprof:
14531 @if gprof
14532 maybe-install-gprof: install-gprof
14534 install-gprof: installdirs
14535 @: $(MAKE); $(unstage)
14536 @r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14538 $(HOST_EXPORTS) \
14539 (cd $(HOST_SUBDIR)/gprof && \
14540 $(MAKE) $(FLAGS_TO_PASS) install)
14542 @endif gprof
14544 # Other targets (info, dvi, pdf, etc.)
14546 .PHONY: maybe-info-gprof info-gprof
14547 maybe-info-gprof:
14548 @if gprof
14549 maybe-info-gprof: info-gprof
14551 info-gprof: \
14552 configure-gprof
14553 @: $(MAKE); $(unstage)
14554 @[ -f ./gprof/Makefile ] || exit 0; \
14555 r=`${PWD_COMMAND}`; export r; \
14556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14557 $(HOST_EXPORTS) \
14558 for flag in $(EXTRA_HOST_FLAGS) ; do \
14559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14560 done; \
14561 echo "Doing info in gprof" ; \
14562 (cd $(HOST_SUBDIR)/gprof && \
14563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14565 "RANLIB=$${RANLIB}" \
14566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14567 info) \
14568 || exit 1
14570 @endif gprof
14572 .PHONY: maybe-dvi-gprof dvi-gprof
14573 maybe-dvi-gprof:
14574 @if gprof
14575 maybe-dvi-gprof: dvi-gprof
14577 dvi-gprof: \
14578 configure-gprof
14579 @: $(MAKE); $(unstage)
14580 @[ -f ./gprof/Makefile ] || exit 0; \
14581 r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 $(HOST_EXPORTS) \
14584 for flag in $(EXTRA_HOST_FLAGS) ; do \
14585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14586 done; \
14587 echo "Doing dvi in gprof" ; \
14588 (cd $(HOST_SUBDIR)/gprof && \
14589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14591 "RANLIB=$${RANLIB}" \
14592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14593 dvi) \
14594 || exit 1
14596 @endif gprof
14598 .PHONY: maybe-pdf-gprof pdf-gprof
14599 maybe-pdf-gprof:
14600 @if gprof
14601 maybe-pdf-gprof: pdf-gprof
14603 pdf-gprof: \
14604 configure-gprof
14605 @: $(MAKE); $(unstage)
14606 @[ -f ./gprof/Makefile ] || exit 0; \
14607 r=`${PWD_COMMAND}`; export r; \
14608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14609 $(HOST_EXPORTS) \
14610 for flag in $(EXTRA_HOST_FLAGS) ; do \
14611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14612 done; \
14613 echo "Doing pdf in gprof" ; \
14614 (cd $(HOST_SUBDIR)/gprof && \
14615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14617 "RANLIB=$${RANLIB}" \
14618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14619 pdf) \
14620 || exit 1
14622 @endif gprof
14624 .PHONY: maybe-html-gprof html-gprof
14625 maybe-html-gprof:
14626 @if gprof
14627 maybe-html-gprof: html-gprof
14629 html-gprof: \
14630 configure-gprof
14631 @: $(MAKE); $(unstage)
14632 @[ -f ./gprof/Makefile ] || exit 0; \
14633 r=`${PWD_COMMAND}`; export r; \
14634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14635 $(HOST_EXPORTS) \
14636 for flag in $(EXTRA_HOST_FLAGS) ; do \
14637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14638 done; \
14639 echo "Doing html in gprof" ; \
14640 (cd $(HOST_SUBDIR)/gprof && \
14641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14643 "RANLIB=$${RANLIB}" \
14644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14645 html) \
14646 || exit 1
14648 @endif gprof
14650 .PHONY: maybe-TAGS-gprof TAGS-gprof
14651 maybe-TAGS-gprof:
14652 @if gprof
14653 maybe-TAGS-gprof: TAGS-gprof
14655 TAGS-gprof: \
14656 configure-gprof
14657 @: $(MAKE); $(unstage)
14658 @[ -f ./gprof/Makefile ] || exit 0; \
14659 r=`${PWD_COMMAND}`; export r; \
14660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14661 $(HOST_EXPORTS) \
14662 for flag in $(EXTRA_HOST_FLAGS) ; do \
14663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14664 done; \
14665 echo "Doing TAGS in gprof" ; \
14666 (cd $(HOST_SUBDIR)/gprof && \
14667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14669 "RANLIB=$${RANLIB}" \
14670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14671 TAGS) \
14672 || exit 1
14674 @endif gprof
14676 .PHONY: maybe-install-info-gprof install-info-gprof
14677 maybe-install-info-gprof:
14678 @if gprof
14679 maybe-install-info-gprof: install-info-gprof
14681 install-info-gprof: \
14682 configure-gprof \
14683 info-gprof
14684 @: $(MAKE); $(unstage)
14685 @[ -f ./gprof/Makefile ] || exit 0; \
14686 r=`${PWD_COMMAND}`; export r; \
14687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14688 $(HOST_EXPORTS) \
14689 for flag in $(EXTRA_HOST_FLAGS) ; do \
14690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14691 done; \
14692 echo "Doing install-info in gprof" ; \
14693 (cd $(HOST_SUBDIR)/gprof && \
14694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14696 "RANLIB=$${RANLIB}" \
14697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14698 install-info) \
14699 || exit 1
14701 @endif gprof
14703 .PHONY: maybe-install-html-gprof install-html-gprof
14704 maybe-install-html-gprof:
14705 @if gprof
14706 maybe-install-html-gprof: install-html-gprof
14708 install-html-gprof: \
14709 configure-gprof \
14710 html-gprof
14711 @: $(MAKE); $(unstage)
14712 @[ -f ./gprof/Makefile ] || exit 0; \
14713 r=`${PWD_COMMAND}`; export r; \
14714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14715 $(HOST_EXPORTS) \
14716 for flag in $(EXTRA_HOST_FLAGS) ; do \
14717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14718 done; \
14719 echo "Doing install-html in gprof" ; \
14720 (cd $(HOST_SUBDIR)/gprof && \
14721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14723 "RANLIB=$${RANLIB}" \
14724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14725 install-html) \
14726 || exit 1
14728 @endif gprof
14730 .PHONY: maybe-installcheck-gprof installcheck-gprof
14731 maybe-installcheck-gprof:
14732 @if gprof
14733 maybe-installcheck-gprof: installcheck-gprof
14735 installcheck-gprof: \
14736 configure-gprof
14737 @: $(MAKE); $(unstage)
14738 @[ -f ./gprof/Makefile ] || exit 0; \
14739 r=`${PWD_COMMAND}`; export r; \
14740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14741 $(HOST_EXPORTS) \
14742 for flag in $(EXTRA_HOST_FLAGS) ; do \
14743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14744 done; \
14745 echo "Doing installcheck in gprof" ; \
14746 (cd $(HOST_SUBDIR)/gprof && \
14747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14749 "RANLIB=$${RANLIB}" \
14750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14751 installcheck) \
14752 || exit 1
14754 @endif gprof
14756 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
14757 maybe-mostlyclean-gprof:
14758 @if gprof
14759 maybe-mostlyclean-gprof: mostlyclean-gprof
14761 mostlyclean-gprof:
14762 @: $(MAKE); $(unstage)
14763 @[ -f ./gprof/Makefile ] || exit 0; \
14764 r=`${PWD_COMMAND}`; export r; \
14765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14766 $(HOST_EXPORTS) \
14767 for flag in $(EXTRA_HOST_FLAGS) ; do \
14768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14769 done; \
14770 echo "Doing mostlyclean in gprof" ; \
14771 (cd $(HOST_SUBDIR)/gprof && \
14772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14774 "RANLIB=$${RANLIB}" \
14775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14776 mostlyclean) \
14777 || exit 1
14779 @endif gprof
14781 .PHONY: maybe-clean-gprof clean-gprof
14782 maybe-clean-gprof:
14783 @if gprof
14784 maybe-clean-gprof: clean-gprof
14786 clean-gprof:
14787 @: $(MAKE); $(unstage)
14788 @[ -f ./gprof/Makefile ] || exit 0; \
14789 r=`${PWD_COMMAND}`; export r; \
14790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14791 $(HOST_EXPORTS) \
14792 for flag in $(EXTRA_HOST_FLAGS) ; do \
14793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14794 done; \
14795 echo "Doing clean in gprof" ; \
14796 (cd $(HOST_SUBDIR)/gprof && \
14797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14799 "RANLIB=$${RANLIB}" \
14800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14801 clean) \
14802 || exit 1
14804 @endif gprof
14806 .PHONY: maybe-distclean-gprof distclean-gprof
14807 maybe-distclean-gprof:
14808 @if gprof
14809 maybe-distclean-gprof: distclean-gprof
14811 distclean-gprof:
14812 @: $(MAKE); $(unstage)
14813 @[ -f ./gprof/Makefile ] || exit 0; \
14814 r=`${PWD_COMMAND}`; export r; \
14815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14816 $(HOST_EXPORTS) \
14817 for flag in $(EXTRA_HOST_FLAGS) ; do \
14818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14819 done; \
14820 echo "Doing distclean in gprof" ; \
14821 (cd $(HOST_SUBDIR)/gprof && \
14822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14824 "RANLIB=$${RANLIB}" \
14825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14826 distclean) \
14827 || exit 1
14829 @endif gprof
14831 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
14832 maybe-maintainer-clean-gprof:
14833 @if gprof
14834 maybe-maintainer-clean-gprof: maintainer-clean-gprof
14836 maintainer-clean-gprof:
14837 @: $(MAKE); $(unstage)
14838 @[ -f ./gprof/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 maintainer-clean in gprof" ; \
14846 (cd $(HOST_SUBDIR)/gprof && \
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 maintainer-clean) \
14852 || exit 1
14854 @endif gprof
14858 .PHONY: configure-gzip maybe-configure-gzip
14859 maybe-configure-gzip:
14860 @if gcc-bootstrap
14861 configure-gzip: stage_current
14862 @endif gcc-bootstrap
14863 @if gzip
14864 maybe-configure-gzip: configure-gzip
14865 configure-gzip:
14866 @: $(MAKE); $(unstage)
14867 @r=`${PWD_COMMAND}`; export r; \
14868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14869 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
14870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14871 $(HOST_EXPORTS) \
14872 echo Configuring in $(HOST_SUBDIR)/gzip; \
14873 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14874 case $(srcdir) in \
14875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14876 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14878 esac; \
14879 srcdiroption="--srcdir=$${topdir}/gzip"; \
14880 libsrcdir="$$s/gzip"; \
14881 $(SHELL) $${libsrcdir}/configure \
14882 $(HOST_CONFIGARGS) $${srcdiroption} \
14883 || exit 1
14884 @endif gzip
14890 .PHONY: all-gzip maybe-all-gzip
14891 maybe-all-gzip:
14892 @if gcc-bootstrap
14893 all-gzip: stage_current
14894 @endif gcc-bootstrap
14895 @if gzip
14896 TARGET-gzip=all
14897 maybe-all-gzip: all-gzip
14898 all-gzip: configure-gzip
14899 @: $(MAKE); $(unstage)
14900 @r=`${PWD_COMMAND}`; export r; \
14901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14902 $(HOST_EXPORTS) \
14903 (cd $(HOST_SUBDIR)/gzip && \
14904 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14905 @endif gzip
14910 .PHONY: check-gzip maybe-check-gzip
14911 maybe-check-gzip:
14912 @if gzip
14913 maybe-check-gzip: check-gzip
14915 check-gzip:
14916 @: $(MAKE); $(unstage)
14917 @r=`${PWD_COMMAND}`; export r; \
14918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14919 $(HOST_EXPORTS) \
14920 (cd $(HOST_SUBDIR)/gzip && \
14921 $(MAKE) $(FLAGS_TO_PASS) check)
14923 @endif gzip
14925 .PHONY: install-gzip maybe-install-gzip
14926 maybe-install-gzip:
14927 @if gzip
14928 maybe-install-gzip: install-gzip
14930 install-gzip: installdirs
14931 @: $(MAKE); $(unstage)
14932 @r=`${PWD_COMMAND}`; export r; \
14933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14934 $(HOST_EXPORTS) \
14935 (cd $(HOST_SUBDIR)/gzip && \
14936 $(MAKE) $(FLAGS_TO_PASS) install)
14938 @endif gzip
14940 # Other targets (info, dvi, pdf, etc.)
14942 .PHONY: maybe-info-gzip info-gzip
14943 maybe-info-gzip:
14944 @if gzip
14945 maybe-info-gzip: info-gzip
14947 info-gzip: \
14948 configure-gzip
14949 @: $(MAKE); $(unstage)
14950 @[ -f ./gzip/Makefile ] || exit 0; \
14951 r=`${PWD_COMMAND}`; export r; \
14952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 $(HOST_EXPORTS) \
14954 for flag in $(EXTRA_HOST_FLAGS) ; do \
14955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14956 done; \
14957 echo "Doing info in gzip" ; \
14958 (cd $(HOST_SUBDIR)/gzip && \
14959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14961 "RANLIB=$${RANLIB}" \
14962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14963 info) \
14964 || exit 1
14966 @endif gzip
14968 .PHONY: maybe-dvi-gzip dvi-gzip
14969 maybe-dvi-gzip:
14970 @if gzip
14971 maybe-dvi-gzip: dvi-gzip
14973 dvi-gzip: \
14974 configure-gzip
14975 @: $(MAKE); $(unstage)
14976 @[ -f ./gzip/Makefile ] || exit 0; \
14977 r=`${PWD_COMMAND}`; export r; \
14978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14979 $(HOST_EXPORTS) \
14980 for flag in $(EXTRA_HOST_FLAGS) ; do \
14981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14982 done; \
14983 echo "Doing dvi in gzip" ; \
14984 (cd $(HOST_SUBDIR)/gzip && \
14985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14987 "RANLIB=$${RANLIB}" \
14988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14989 dvi) \
14990 || exit 1
14992 @endif gzip
14994 .PHONY: maybe-pdf-gzip pdf-gzip
14995 maybe-pdf-gzip:
14996 @if gzip
14997 maybe-pdf-gzip: pdf-gzip
14999 pdf-gzip: \
15000 configure-gzip
15001 @: $(MAKE); $(unstage)
15002 @[ -f ./gzip/Makefile ] || exit 0; \
15003 r=`${PWD_COMMAND}`; export r; \
15004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15005 $(HOST_EXPORTS) \
15006 for flag in $(EXTRA_HOST_FLAGS) ; do \
15007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15008 done; \
15009 echo "Doing pdf in gzip" ; \
15010 (cd $(HOST_SUBDIR)/gzip && \
15011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15013 "RANLIB=$${RANLIB}" \
15014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15015 pdf) \
15016 || exit 1
15018 @endif gzip
15020 .PHONY: maybe-html-gzip html-gzip
15021 maybe-html-gzip:
15022 @if gzip
15023 maybe-html-gzip: html-gzip
15025 html-gzip: \
15026 configure-gzip
15027 @: $(MAKE); $(unstage)
15028 @[ -f ./gzip/Makefile ] || exit 0; \
15029 r=`${PWD_COMMAND}`; export r; \
15030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15031 $(HOST_EXPORTS) \
15032 for flag in $(EXTRA_HOST_FLAGS) ; do \
15033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15034 done; \
15035 echo "Doing html in gzip" ; \
15036 (cd $(HOST_SUBDIR)/gzip && \
15037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15039 "RANLIB=$${RANLIB}" \
15040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15041 html) \
15042 || exit 1
15044 @endif gzip
15046 .PHONY: maybe-TAGS-gzip TAGS-gzip
15047 maybe-TAGS-gzip:
15048 @if gzip
15049 maybe-TAGS-gzip: TAGS-gzip
15051 TAGS-gzip: \
15052 configure-gzip
15053 @: $(MAKE); $(unstage)
15054 @[ -f ./gzip/Makefile ] || exit 0; \
15055 r=`${PWD_COMMAND}`; export r; \
15056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15057 $(HOST_EXPORTS) \
15058 for flag in $(EXTRA_HOST_FLAGS) ; do \
15059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15060 done; \
15061 echo "Doing TAGS in gzip" ; \
15062 (cd $(HOST_SUBDIR)/gzip && \
15063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15065 "RANLIB=$${RANLIB}" \
15066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15067 TAGS) \
15068 || exit 1
15070 @endif gzip
15072 .PHONY: maybe-install-info-gzip install-info-gzip
15073 maybe-install-info-gzip:
15074 @if gzip
15075 maybe-install-info-gzip: install-info-gzip
15077 install-info-gzip: \
15078 configure-gzip \
15079 info-gzip
15080 @: $(MAKE); $(unstage)
15081 @[ -f ./gzip/Makefile ] || exit 0; \
15082 r=`${PWD_COMMAND}`; export r; \
15083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15084 $(HOST_EXPORTS) \
15085 for flag in $(EXTRA_HOST_FLAGS) ; do \
15086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15087 done; \
15088 echo "Doing install-info in gzip" ; \
15089 (cd $(HOST_SUBDIR)/gzip && \
15090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15092 "RANLIB=$${RANLIB}" \
15093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15094 install-info) \
15095 || exit 1
15097 @endif gzip
15099 .PHONY: maybe-install-html-gzip install-html-gzip
15100 maybe-install-html-gzip:
15101 @if gzip
15102 maybe-install-html-gzip: install-html-gzip
15104 install-html-gzip: \
15105 configure-gzip \
15106 html-gzip
15107 @: $(MAKE); $(unstage)
15108 @[ -f ./gzip/Makefile ] || exit 0; \
15109 r=`${PWD_COMMAND}`; export r; \
15110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15111 $(HOST_EXPORTS) \
15112 for flag in $(EXTRA_HOST_FLAGS) ; do \
15113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15114 done; \
15115 echo "Doing install-html in gzip" ; \
15116 (cd $(HOST_SUBDIR)/gzip && \
15117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15119 "RANLIB=$${RANLIB}" \
15120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15121 install-html) \
15122 || exit 1
15124 @endif gzip
15126 .PHONY: maybe-installcheck-gzip installcheck-gzip
15127 maybe-installcheck-gzip:
15128 @if gzip
15129 maybe-installcheck-gzip: installcheck-gzip
15131 installcheck-gzip: \
15132 configure-gzip
15133 @: $(MAKE); $(unstage)
15134 @[ -f ./gzip/Makefile ] || exit 0; \
15135 r=`${PWD_COMMAND}`; export r; \
15136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15137 $(HOST_EXPORTS) \
15138 for flag in $(EXTRA_HOST_FLAGS) ; do \
15139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15140 done; \
15141 echo "Doing installcheck in gzip" ; \
15142 (cd $(HOST_SUBDIR)/gzip && \
15143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15145 "RANLIB=$${RANLIB}" \
15146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15147 installcheck) \
15148 || exit 1
15150 @endif gzip
15152 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
15153 maybe-mostlyclean-gzip:
15154 @if gzip
15155 maybe-mostlyclean-gzip: mostlyclean-gzip
15157 mostlyclean-gzip:
15158 @: $(MAKE); $(unstage)
15159 @[ -f ./gzip/Makefile ] || exit 0; \
15160 r=`${PWD_COMMAND}`; export r; \
15161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15162 $(HOST_EXPORTS) \
15163 for flag in $(EXTRA_HOST_FLAGS) ; do \
15164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15165 done; \
15166 echo "Doing mostlyclean in gzip" ; \
15167 (cd $(HOST_SUBDIR)/gzip && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15170 "RANLIB=$${RANLIB}" \
15171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15172 mostlyclean) \
15173 || exit 1
15175 @endif gzip
15177 .PHONY: maybe-clean-gzip clean-gzip
15178 maybe-clean-gzip:
15179 @if gzip
15180 maybe-clean-gzip: clean-gzip
15182 clean-gzip:
15183 @: $(MAKE); $(unstage)
15184 @[ -f ./gzip/Makefile ] || exit 0; \
15185 r=`${PWD_COMMAND}`; export r; \
15186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15187 $(HOST_EXPORTS) \
15188 for flag in $(EXTRA_HOST_FLAGS) ; do \
15189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15190 done; \
15191 echo "Doing clean in gzip" ; \
15192 (cd $(HOST_SUBDIR)/gzip && \
15193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15195 "RANLIB=$${RANLIB}" \
15196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15197 clean) \
15198 || exit 1
15200 @endif gzip
15202 .PHONY: maybe-distclean-gzip distclean-gzip
15203 maybe-distclean-gzip:
15204 @if gzip
15205 maybe-distclean-gzip: distclean-gzip
15207 distclean-gzip:
15208 @: $(MAKE); $(unstage)
15209 @[ -f ./gzip/Makefile ] || exit 0; \
15210 r=`${PWD_COMMAND}`; export r; \
15211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15212 $(HOST_EXPORTS) \
15213 for flag in $(EXTRA_HOST_FLAGS) ; do \
15214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15215 done; \
15216 echo "Doing distclean in gzip" ; \
15217 (cd $(HOST_SUBDIR)/gzip && \
15218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15220 "RANLIB=$${RANLIB}" \
15221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15222 distclean) \
15223 || exit 1
15225 @endif gzip
15227 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
15228 maybe-maintainer-clean-gzip:
15229 @if gzip
15230 maybe-maintainer-clean-gzip: maintainer-clean-gzip
15232 maintainer-clean-gzip:
15233 @: $(MAKE); $(unstage)
15234 @[ -f ./gzip/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 maintainer-clean in gzip" ; \
15242 (cd $(HOST_SUBDIR)/gzip && \
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 maintainer-clean) \
15248 || exit 1
15250 @endif gzip
15254 .PHONY: configure-hello maybe-configure-hello
15255 maybe-configure-hello:
15256 @if gcc-bootstrap
15257 configure-hello: stage_current
15258 @endif gcc-bootstrap
15259 @if hello
15260 maybe-configure-hello: configure-hello
15261 configure-hello:
15262 @: $(MAKE); $(unstage)
15263 @r=`${PWD_COMMAND}`; export r; \
15264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15265 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
15266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
15267 $(HOST_EXPORTS) \
15268 echo Configuring in $(HOST_SUBDIR)/hello; \
15269 cd "$(HOST_SUBDIR)/hello" || exit 1; \
15270 case $(srcdir) in \
15271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15272 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
15273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15274 esac; \
15275 srcdiroption="--srcdir=$${topdir}/hello"; \
15276 libsrcdir="$$s/hello"; \
15277 $(SHELL) $${libsrcdir}/configure \
15278 $(HOST_CONFIGARGS) $${srcdiroption} \
15279 || exit 1
15280 @endif hello
15286 .PHONY: all-hello maybe-all-hello
15287 maybe-all-hello:
15288 @if gcc-bootstrap
15289 all-hello: stage_current
15290 @endif gcc-bootstrap
15291 @if hello
15292 TARGET-hello=all
15293 maybe-all-hello: all-hello
15294 all-hello: configure-hello
15295 @: $(MAKE); $(unstage)
15296 @r=`${PWD_COMMAND}`; export r; \
15297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15298 $(HOST_EXPORTS) \
15299 (cd $(HOST_SUBDIR)/hello && \
15300 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
15301 @endif hello
15306 .PHONY: check-hello maybe-check-hello
15307 maybe-check-hello:
15308 @if hello
15309 maybe-check-hello: check-hello
15311 check-hello:
15312 @: $(MAKE); $(unstage)
15313 @r=`${PWD_COMMAND}`; export r; \
15314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15315 $(HOST_EXPORTS) \
15316 (cd $(HOST_SUBDIR)/hello && \
15317 $(MAKE) $(FLAGS_TO_PASS) check)
15319 @endif hello
15321 .PHONY: install-hello maybe-install-hello
15322 maybe-install-hello:
15323 @if hello
15324 maybe-install-hello: install-hello
15326 install-hello: installdirs
15327 @: $(MAKE); $(unstage)
15328 @r=`${PWD_COMMAND}`; export r; \
15329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 $(HOST_EXPORTS) \
15331 (cd $(HOST_SUBDIR)/hello && \
15332 $(MAKE) $(FLAGS_TO_PASS) install)
15334 @endif hello
15336 # Other targets (info, dvi, pdf, etc.)
15338 .PHONY: maybe-info-hello info-hello
15339 maybe-info-hello:
15340 @if hello
15341 maybe-info-hello: info-hello
15343 info-hello: \
15344 configure-hello
15345 @: $(MAKE); $(unstage)
15346 @[ -f ./hello/Makefile ] || exit 0; \
15347 r=`${PWD_COMMAND}`; export r; \
15348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15349 $(HOST_EXPORTS) \
15350 for flag in $(EXTRA_HOST_FLAGS) ; do \
15351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15352 done; \
15353 echo "Doing info in hello" ; \
15354 (cd $(HOST_SUBDIR)/hello && \
15355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15357 "RANLIB=$${RANLIB}" \
15358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15359 info) \
15360 || exit 1
15362 @endif hello
15364 .PHONY: maybe-dvi-hello dvi-hello
15365 maybe-dvi-hello:
15366 @if hello
15367 maybe-dvi-hello: dvi-hello
15369 dvi-hello: \
15370 configure-hello
15371 @: $(MAKE); $(unstage)
15372 @[ -f ./hello/Makefile ] || exit 0; \
15373 r=`${PWD_COMMAND}`; export r; \
15374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15375 $(HOST_EXPORTS) \
15376 for flag in $(EXTRA_HOST_FLAGS) ; do \
15377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15378 done; \
15379 echo "Doing dvi in hello" ; \
15380 (cd $(HOST_SUBDIR)/hello && \
15381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15383 "RANLIB=$${RANLIB}" \
15384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15385 dvi) \
15386 || exit 1
15388 @endif hello
15390 .PHONY: maybe-pdf-hello pdf-hello
15391 maybe-pdf-hello:
15392 @if hello
15393 maybe-pdf-hello: pdf-hello
15395 pdf-hello: \
15396 configure-hello
15397 @: $(MAKE); $(unstage)
15398 @[ -f ./hello/Makefile ] || exit 0; \
15399 r=`${PWD_COMMAND}`; export r; \
15400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15401 $(HOST_EXPORTS) \
15402 for flag in $(EXTRA_HOST_FLAGS) ; do \
15403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15404 done; \
15405 echo "Doing pdf in hello" ; \
15406 (cd $(HOST_SUBDIR)/hello && \
15407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15409 "RANLIB=$${RANLIB}" \
15410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15411 pdf) \
15412 || exit 1
15414 @endif hello
15416 .PHONY: maybe-html-hello html-hello
15417 maybe-html-hello:
15418 @if hello
15419 maybe-html-hello: html-hello
15421 html-hello: \
15422 configure-hello
15423 @: $(MAKE); $(unstage)
15424 @[ -f ./hello/Makefile ] || exit 0; \
15425 r=`${PWD_COMMAND}`; export r; \
15426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15427 $(HOST_EXPORTS) \
15428 for flag in $(EXTRA_HOST_FLAGS) ; do \
15429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15430 done; \
15431 echo "Doing html in hello" ; \
15432 (cd $(HOST_SUBDIR)/hello && \
15433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15435 "RANLIB=$${RANLIB}" \
15436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15437 html) \
15438 || exit 1
15440 @endif hello
15442 .PHONY: maybe-TAGS-hello TAGS-hello
15443 maybe-TAGS-hello:
15444 @if hello
15445 maybe-TAGS-hello: TAGS-hello
15447 TAGS-hello: \
15448 configure-hello
15449 @: $(MAKE); $(unstage)
15450 @[ -f ./hello/Makefile ] || exit 0; \
15451 r=`${PWD_COMMAND}`; export r; \
15452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15453 $(HOST_EXPORTS) \
15454 for flag in $(EXTRA_HOST_FLAGS) ; do \
15455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15456 done; \
15457 echo "Doing TAGS in hello" ; \
15458 (cd $(HOST_SUBDIR)/hello && \
15459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15461 "RANLIB=$${RANLIB}" \
15462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15463 TAGS) \
15464 || exit 1
15466 @endif hello
15468 .PHONY: maybe-install-info-hello install-info-hello
15469 maybe-install-info-hello:
15470 @if hello
15471 maybe-install-info-hello: install-info-hello
15473 install-info-hello: \
15474 configure-hello \
15475 info-hello
15476 @: $(MAKE); $(unstage)
15477 @[ -f ./hello/Makefile ] || exit 0; \
15478 r=`${PWD_COMMAND}`; export r; \
15479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15480 $(HOST_EXPORTS) \
15481 for flag in $(EXTRA_HOST_FLAGS) ; do \
15482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15483 done; \
15484 echo "Doing install-info in hello" ; \
15485 (cd $(HOST_SUBDIR)/hello && \
15486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15488 "RANLIB=$${RANLIB}" \
15489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15490 install-info) \
15491 || exit 1
15493 @endif hello
15495 .PHONY: maybe-install-html-hello install-html-hello
15496 maybe-install-html-hello:
15497 @if hello
15498 maybe-install-html-hello: install-html-hello
15500 install-html-hello: \
15501 configure-hello \
15502 html-hello
15503 @: $(MAKE); $(unstage)
15504 @[ -f ./hello/Makefile ] || exit 0; \
15505 r=`${PWD_COMMAND}`; export r; \
15506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15507 $(HOST_EXPORTS) \
15508 for flag in $(EXTRA_HOST_FLAGS) ; do \
15509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15510 done; \
15511 echo "Doing install-html in hello" ; \
15512 (cd $(HOST_SUBDIR)/hello && \
15513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15515 "RANLIB=$${RANLIB}" \
15516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15517 install-html) \
15518 || exit 1
15520 @endif hello
15522 .PHONY: maybe-installcheck-hello installcheck-hello
15523 maybe-installcheck-hello:
15524 @if hello
15525 maybe-installcheck-hello: installcheck-hello
15527 installcheck-hello: \
15528 configure-hello
15529 @: $(MAKE); $(unstage)
15530 @[ -f ./hello/Makefile ] || exit 0; \
15531 r=`${PWD_COMMAND}`; export r; \
15532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15533 $(HOST_EXPORTS) \
15534 for flag in $(EXTRA_HOST_FLAGS) ; do \
15535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15536 done; \
15537 echo "Doing installcheck in hello" ; \
15538 (cd $(HOST_SUBDIR)/hello && \
15539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15541 "RANLIB=$${RANLIB}" \
15542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15543 installcheck) \
15544 || exit 1
15546 @endif hello
15548 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
15549 maybe-mostlyclean-hello:
15550 @if hello
15551 maybe-mostlyclean-hello: mostlyclean-hello
15553 mostlyclean-hello:
15554 @: $(MAKE); $(unstage)
15555 @[ -f ./hello/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(HOST_EXPORTS) \
15559 for flag in $(EXTRA_HOST_FLAGS) ; do \
15560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15561 done; \
15562 echo "Doing mostlyclean in hello" ; \
15563 (cd $(HOST_SUBDIR)/hello && \
15564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15566 "RANLIB=$${RANLIB}" \
15567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15568 mostlyclean) \
15569 || exit 1
15571 @endif hello
15573 .PHONY: maybe-clean-hello clean-hello
15574 maybe-clean-hello:
15575 @if hello
15576 maybe-clean-hello: clean-hello
15578 clean-hello:
15579 @: $(MAKE); $(unstage)
15580 @[ -f ./hello/Makefile ] || exit 0; \
15581 r=`${PWD_COMMAND}`; export r; \
15582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15583 $(HOST_EXPORTS) \
15584 for flag in $(EXTRA_HOST_FLAGS) ; do \
15585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15586 done; \
15587 echo "Doing clean in hello" ; \
15588 (cd $(HOST_SUBDIR)/hello && \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15591 "RANLIB=$${RANLIB}" \
15592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15593 clean) \
15594 || exit 1
15596 @endif hello
15598 .PHONY: maybe-distclean-hello distclean-hello
15599 maybe-distclean-hello:
15600 @if hello
15601 maybe-distclean-hello: distclean-hello
15603 distclean-hello:
15604 @: $(MAKE); $(unstage)
15605 @[ -f ./hello/Makefile ] || exit 0; \
15606 r=`${PWD_COMMAND}`; export r; \
15607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15608 $(HOST_EXPORTS) \
15609 for flag in $(EXTRA_HOST_FLAGS) ; do \
15610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15611 done; \
15612 echo "Doing distclean in hello" ; \
15613 (cd $(HOST_SUBDIR)/hello && \
15614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15616 "RANLIB=$${RANLIB}" \
15617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15618 distclean) \
15619 || exit 1
15621 @endif hello
15623 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
15624 maybe-maintainer-clean-hello:
15625 @if hello
15626 maybe-maintainer-clean-hello: maintainer-clean-hello
15628 maintainer-clean-hello:
15629 @: $(MAKE); $(unstage)
15630 @[ -f ./hello/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 maintainer-clean in hello" ; \
15638 (cd $(HOST_SUBDIR)/hello && \
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 maintainer-clean) \
15644 || exit 1
15646 @endif hello
15650 .PHONY: configure-indent maybe-configure-indent
15651 maybe-configure-indent:
15652 @if gcc-bootstrap
15653 configure-indent: stage_current
15654 @endif gcc-bootstrap
15655 @if indent
15656 maybe-configure-indent: configure-indent
15657 configure-indent:
15658 @: $(MAKE); $(unstage)
15659 @r=`${PWD_COMMAND}`; export r; \
15660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15661 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
15662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
15663 $(HOST_EXPORTS) \
15664 echo Configuring in $(HOST_SUBDIR)/indent; \
15665 cd "$(HOST_SUBDIR)/indent" || exit 1; \
15666 case $(srcdir) in \
15667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15668 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
15669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15670 esac; \
15671 srcdiroption="--srcdir=$${topdir}/indent"; \
15672 libsrcdir="$$s/indent"; \
15673 $(SHELL) $${libsrcdir}/configure \
15674 $(HOST_CONFIGARGS) $${srcdiroption} \
15675 || exit 1
15676 @endif indent
15682 .PHONY: all-indent maybe-all-indent
15683 maybe-all-indent:
15684 @if gcc-bootstrap
15685 all-indent: stage_current
15686 @endif gcc-bootstrap
15687 @if indent
15688 TARGET-indent=all
15689 maybe-all-indent: all-indent
15690 all-indent: configure-indent
15691 @: $(MAKE); $(unstage)
15692 @r=`${PWD_COMMAND}`; export r; \
15693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15694 $(HOST_EXPORTS) \
15695 (cd $(HOST_SUBDIR)/indent && \
15696 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
15697 @endif indent
15702 .PHONY: check-indent maybe-check-indent
15703 maybe-check-indent:
15704 @if indent
15705 maybe-check-indent: check-indent
15707 check-indent:
15708 @: $(MAKE); $(unstage)
15709 @r=`${PWD_COMMAND}`; export r; \
15710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711 $(HOST_EXPORTS) \
15712 (cd $(HOST_SUBDIR)/indent && \
15713 $(MAKE) $(FLAGS_TO_PASS) check)
15715 @endif indent
15717 .PHONY: install-indent maybe-install-indent
15718 maybe-install-indent:
15719 @if indent
15720 maybe-install-indent: install-indent
15722 install-indent: installdirs
15723 @: $(MAKE); $(unstage)
15724 @r=`${PWD_COMMAND}`; export r; \
15725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15726 $(HOST_EXPORTS) \
15727 (cd $(HOST_SUBDIR)/indent && \
15728 $(MAKE) $(FLAGS_TO_PASS) install)
15730 @endif indent
15732 # Other targets (info, dvi, pdf, etc.)
15734 .PHONY: maybe-info-indent info-indent
15735 maybe-info-indent:
15736 @if indent
15737 maybe-info-indent: info-indent
15739 info-indent: \
15740 configure-indent
15741 @: $(MAKE); $(unstage)
15742 @[ -f ./indent/Makefile ] || exit 0; \
15743 r=`${PWD_COMMAND}`; export r; \
15744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15745 $(HOST_EXPORTS) \
15746 for flag in $(EXTRA_HOST_FLAGS) ; do \
15747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15748 done; \
15749 echo "Doing info in indent" ; \
15750 (cd $(HOST_SUBDIR)/indent && \
15751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15753 "RANLIB=$${RANLIB}" \
15754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15755 info) \
15756 || exit 1
15758 @endif indent
15760 .PHONY: maybe-dvi-indent dvi-indent
15761 maybe-dvi-indent:
15762 @if indent
15763 maybe-dvi-indent: dvi-indent
15765 dvi-indent: \
15766 configure-indent
15767 @: $(MAKE); $(unstage)
15768 @[ -f ./indent/Makefile ] || exit 0; \
15769 r=`${PWD_COMMAND}`; export r; \
15770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15771 $(HOST_EXPORTS) \
15772 for flag in $(EXTRA_HOST_FLAGS) ; do \
15773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15774 done; \
15775 echo "Doing dvi in indent" ; \
15776 (cd $(HOST_SUBDIR)/indent && \
15777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15779 "RANLIB=$${RANLIB}" \
15780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15781 dvi) \
15782 || exit 1
15784 @endif indent
15786 .PHONY: maybe-pdf-indent pdf-indent
15787 maybe-pdf-indent:
15788 @if indent
15789 maybe-pdf-indent: pdf-indent
15791 pdf-indent: \
15792 configure-indent
15793 @: $(MAKE); $(unstage)
15794 @[ -f ./indent/Makefile ] || exit 0; \
15795 r=`${PWD_COMMAND}`; export r; \
15796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797 $(HOST_EXPORTS) \
15798 for flag in $(EXTRA_HOST_FLAGS) ; do \
15799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15800 done; \
15801 echo "Doing pdf in indent" ; \
15802 (cd $(HOST_SUBDIR)/indent && \
15803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15805 "RANLIB=$${RANLIB}" \
15806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15807 pdf) \
15808 || exit 1
15810 @endif indent
15812 .PHONY: maybe-html-indent html-indent
15813 maybe-html-indent:
15814 @if indent
15815 maybe-html-indent: html-indent
15817 html-indent: \
15818 configure-indent
15819 @: $(MAKE); $(unstage)
15820 @[ -f ./indent/Makefile ] || exit 0; \
15821 r=`${PWD_COMMAND}`; export r; \
15822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15823 $(HOST_EXPORTS) \
15824 for flag in $(EXTRA_HOST_FLAGS) ; do \
15825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15826 done; \
15827 echo "Doing html in indent" ; \
15828 (cd $(HOST_SUBDIR)/indent && \
15829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15831 "RANLIB=$${RANLIB}" \
15832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15833 html) \
15834 || exit 1
15836 @endif indent
15838 .PHONY: maybe-TAGS-indent TAGS-indent
15839 maybe-TAGS-indent:
15840 @if indent
15841 maybe-TAGS-indent: TAGS-indent
15843 TAGS-indent: \
15844 configure-indent
15845 @: $(MAKE); $(unstage)
15846 @[ -f ./indent/Makefile ] || exit 0; \
15847 r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(HOST_EXPORTS) \
15850 for flag in $(EXTRA_HOST_FLAGS) ; do \
15851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15852 done; \
15853 echo "Doing TAGS in indent" ; \
15854 (cd $(HOST_SUBDIR)/indent && \
15855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15857 "RANLIB=$${RANLIB}" \
15858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15859 TAGS) \
15860 || exit 1
15862 @endif indent
15864 .PHONY: maybe-install-info-indent install-info-indent
15865 maybe-install-info-indent:
15866 @if indent
15867 maybe-install-info-indent: install-info-indent
15869 install-info-indent: \
15870 configure-indent \
15871 info-indent
15872 @: $(MAKE); $(unstage)
15873 @[ -f ./indent/Makefile ] || exit 0; \
15874 r=`${PWD_COMMAND}`; export r; \
15875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15876 $(HOST_EXPORTS) \
15877 for flag in $(EXTRA_HOST_FLAGS) ; do \
15878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15879 done; \
15880 echo "Doing install-info in indent" ; \
15881 (cd $(HOST_SUBDIR)/indent && \
15882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15884 "RANLIB=$${RANLIB}" \
15885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15886 install-info) \
15887 || exit 1
15889 @endif indent
15891 .PHONY: maybe-install-html-indent install-html-indent
15892 maybe-install-html-indent:
15893 @if indent
15894 maybe-install-html-indent: install-html-indent
15896 install-html-indent: \
15897 configure-indent \
15898 html-indent
15899 @: $(MAKE); $(unstage)
15900 @[ -f ./indent/Makefile ] || exit 0; \
15901 r=`${PWD_COMMAND}`; export r; \
15902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15903 $(HOST_EXPORTS) \
15904 for flag in $(EXTRA_HOST_FLAGS) ; do \
15905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15906 done; \
15907 echo "Doing install-html in indent" ; \
15908 (cd $(HOST_SUBDIR)/indent && \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15911 "RANLIB=$${RANLIB}" \
15912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15913 install-html) \
15914 || exit 1
15916 @endif indent
15918 .PHONY: maybe-installcheck-indent installcheck-indent
15919 maybe-installcheck-indent:
15920 @if indent
15921 maybe-installcheck-indent: installcheck-indent
15923 installcheck-indent: \
15924 configure-indent
15925 @: $(MAKE); $(unstage)
15926 @[ -f ./indent/Makefile ] || exit 0; \
15927 r=`${PWD_COMMAND}`; export r; \
15928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15929 $(HOST_EXPORTS) \
15930 for flag in $(EXTRA_HOST_FLAGS) ; do \
15931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15932 done; \
15933 echo "Doing installcheck in indent" ; \
15934 (cd $(HOST_SUBDIR)/indent && \
15935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15937 "RANLIB=$${RANLIB}" \
15938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15939 installcheck) \
15940 || exit 1
15942 @endif indent
15944 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
15945 maybe-mostlyclean-indent:
15946 @if indent
15947 maybe-mostlyclean-indent: mostlyclean-indent
15949 mostlyclean-indent:
15950 @: $(MAKE); $(unstage)
15951 @[ -f ./indent/Makefile ] || exit 0; \
15952 r=`${PWD_COMMAND}`; export r; \
15953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15954 $(HOST_EXPORTS) \
15955 for flag in $(EXTRA_HOST_FLAGS) ; do \
15956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15957 done; \
15958 echo "Doing mostlyclean in indent" ; \
15959 (cd $(HOST_SUBDIR)/indent && \
15960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15962 "RANLIB=$${RANLIB}" \
15963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15964 mostlyclean) \
15965 || exit 1
15967 @endif indent
15969 .PHONY: maybe-clean-indent clean-indent
15970 maybe-clean-indent:
15971 @if indent
15972 maybe-clean-indent: clean-indent
15974 clean-indent:
15975 @: $(MAKE); $(unstage)
15976 @[ -f ./indent/Makefile ] || exit 0; \
15977 r=`${PWD_COMMAND}`; export r; \
15978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15979 $(HOST_EXPORTS) \
15980 for flag in $(EXTRA_HOST_FLAGS) ; do \
15981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15982 done; \
15983 echo "Doing clean in indent" ; \
15984 (cd $(HOST_SUBDIR)/indent && \
15985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15987 "RANLIB=$${RANLIB}" \
15988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15989 clean) \
15990 || exit 1
15992 @endif indent
15994 .PHONY: maybe-distclean-indent distclean-indent
15995 maybe-distclean-indent:
15996 @if indent
15997 maybe-distclean-indent: distclean-indent
15999 distclean-indent:
16000 @: $(MAKE); $(unstage)
16001 @[ -f ./indent/Makefile ] || exit 0; \
16002 r=`${PWD_COMMAND}`; export r; \
16003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16004 $(HOST_EXPORTS) \
16005 for flag in $(EXTRA_HOST_FLAGS) ; do \
16006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16007 done; \
16008 echo "Doing distclean in indent" ; \
16009 (cd $(HOST_SUBDIR)/indent && \
16010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16012 "RANLIB=$${RANLIB}" \
16013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16014 distclean) \
16015 || exit 1
16017 @endif indent
16019 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16020 maybe-maintainer-clean-indent:
16021 @if indent
16022 maybe-maintainer-clean-indent: maintainer-clean-indent
16024 maintainer-clean-indent:
16025 @: $(MAKE); $(unstage)
16026 @[ -f ./indent/Makefile ] || exit 0; \
16027 r=`${PWD_COMMAND}`; export r; \
16028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16029 $(HOST_EXPORTS) \
16030 for flag in $(EXTRA_HOST_FLAGS) ; do \
16031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16032 done; \
16033 echo "Doing maintainer-clean in indent" ; \
16034 (cd $(HOST_SUBDIR)/indent && \
16035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16037 "RANLIB=$${RANLIB}" \
16038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16039 maintainer-clean) \
16040 || exit 1
16042 @endif indent
16046 .PHONY: configure-intl maybe-configure-intl
16047 maybe-configure-intl:
16048 @if gcc-bootstrap
16049 configure-intl: stage_current
16050 @endif gcc-bootstrap
16051 @if intl
16052 maybe-configure-intl: configure-intl
16053 configure-intl:
16054 @r=`${PWD_COMMAND}`; export r; \
16055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16056 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16058 $(HOST_EXPORTS) \
16059 echo Configuring in $(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 || exit 1
16071 @endif intl
16075 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16076 maybe-configure-stage1-intl:
16077 @if intl-bootstrap
16078 maybe-configure-stage1-intl: configure-stage1-intl
16079 configure-stage1-intl:
16080 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16081 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16082 @r=`${PWD_COMMAND}`; export r; \
16083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16084 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16085 $(HOST_EXPORTS) \
16086 echo Configuring stage 1 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} \
16099 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16100 @endif intl-bootstrap
16102 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16103 maybe-configure-stage2-intl:
16104 @if intl-bootstrap
16105 maybe-configure-stage2-intl: configure-stage2-intl
16106 configure-stage2-intl:
16107 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-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 2 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
16130 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16131 maybe-configure-stage3-intl:
16132 @if intl-bootstrap
16133 maybe-configure-stage3-intl: configure-stage3-intl
16134 configure-stage3-intl:
16135 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16137 @r=`${PWD_COMMAND}`; export r; \
16138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16140 $(HOST_EXPORTS) \
16141 $(POSTSTAGE1_HOST_EXPORTS) \
16142 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16144 cd $(HOST_SUBDIR)/intl || exit 1; \
16145 case $(srcdir) in \
16146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16147 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16149 esac; \
16150 srcdiroption="--srcdir=$${topdir}/intl"; \
16151 libsrcdir="$$s/intl"; \
16152 $(SHELL) $${libsrcdir}/configure \
16153 $(HOST_CONFIGARGS) $${srcdiroption} \
16154 --with-build-libsubdir=$(HOST_SUBDIR) \
16155 @stage2_werror_flag@
16156 @endif intl-bootstrap
16158 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16159 maybe-configure-stage4-intl:
16160 @if intl-bootstrap
16161 maybe-configure-stage4-intl: configure-stage4-intl
16162 configure-stage4-intl:
16163 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16165 @r=`${PWD_COMMAND}`; export r; \
16166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16167 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16168 $(HOST_EXPORTS) \
16169 $(POSTSTAGE1_HOST_EXPORTS) \
16170 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16172 cd $(HOST_SUBDIR)/intl || exit 1; \
16173 case $(srcdir) in \
16174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16175 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16177 esac; \
16178 srcdiroption="--srcdir=$${topdir}/intl"; \
16179 libsrcdir="$$s/intl"; \
16180 $(SHELL) $${libsrcdir}/configure \
16181 $(HOST_CONFIGARGS) $${srcdiroption} \
16182 --with-build-libsubdir=$(HOST_SUBDIR) \
16183 @stage2_werror_flag@
16184 @endif intl-bootstrap
16186 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16187 maybe-configure-stageprofile-intl:
16188 @if intl-bootstrap
16189 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16190 configure-stageprofile-intl:
16191 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16193 @r=`${PWD_COMMAND}`; export r; \
16194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16195 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16196 $(HOST_EXPORTS) \
16197 $(POSTSTAGE1_HOST_EXPORTS) \
16198 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16200 cd $(HOST_SUBDIR)/intl || exit 1; \
16201 case $(srcdir) in \
16202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16203 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16205 esac; \
16206 srcdiroption="--srcdir=$${topdir}/intl"; \
16207 libsrcdir="$$s/intl"; \
16208 $(SHELL) $${libsrcdir}/configure \
16209 $(HOST_CONFIGARGS) $${srcdiroption} \
16210 --with-build-libsubdir=$(HOST_SUBDIR) \
16211 @stage2_werror_flag@
16212 @endif intl-bootstrap
16214 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16215 maybe-configure-stagefeedback-intl:
16216 @if intl-bootstrap
16217 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16218 configure-stagefeedback-intl:
16219 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16220 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16221 @r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16223 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16224 $(HOST_EXPORTS) \
16225 $(POSTSTAGE1_HOST_EXPORTS) \
16226 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16228 cd $(HOST_SUBDIR)/intl || exit 1; \
16229 case $(srcdir) in \
16230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16231 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16233 esac; \
16234 srcdiroption="--srcdir=$${topdir}/intl"; \
16235 libsrcdir="$$s/intl"; \
16236 $(SHELL) $${libsrcdir}/configure \
16237 $(HOST_CONFIGARGS) $${srcdiroption} \
16238 --with-build-libsubdir=$(HOST_SUBDIR) \
16239 @stage2_werror_flag@
16240 @endif intl-bootstrap
16246 .PHONY: all-intl maybe-all-intl
16247 maybe-all-intl:
16248 @if gcc-bootstrap
16249 all-intl: stage_current
16250 @endif gcc-bootstrap
16251 @if intl
16252 TARGET-intl=all
16253 maybe-all-intl: all-intl
16254 all-intl: configure-intl
16255 @r=`${PWD_COMMAND}`; export r; \
16256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16257 $(HOST_EXPORTS) \
16258 (cd $(HOST_SUBDIR)/intl && \
16259 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
16260 @endif intl
16264 .PHONY: all-stage1-intl maybe-all-stage1-intl
16265 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16266 maybe-all-stage1-intl:
16267 maybe-clean-stage1-intl:
16268 @if intl-bootstrap
16269 maybe-all-stage1-intl: all-stage1-intl
16270 all-stage1: all-stage1-intl
16271 TARGET-stage1-intl = $(TARGET-intl)
16272 all-stage1-intl: configure-stage1-intl
16273 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16274 @r=`${PWD_COMMAND}`; export r; \
16275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16276 $(HOST_EXPORTS) \
16277 cd $(HOST_SUBDIR)/intl && \
16278 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16279 $(TARGET-stage1-intl)
16281 maybe-clean-stage1-intl: clean-stage1-intl
16282 clean-stage1: clean-stage1-intl
16283 clean-stage1-intl:
16284 @if [ $(current_stage) = stage1 ]; then \
16285 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16286 else \
16287 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16288 $(MAKE) stage1-start; \
16289 fi; \
16290 cd $(HOST_SUBDIR)/intl && \
16291 $(MAKE) $(FLAGS_TO_PASS) \
16292 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16293 @endif intl-bootstrap
16296 .PHONY: all-stage2-intl maybe-all-stage2-intl
16297 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16298 maybe-all-stage2-intl:
16299 maybe-clean-stage2-intl:
16300 @if intl-bootstrap
16301 maybe-all-stage2-intl: all-stage2-intl
16302 all-stage2: all-stage2-intl
16303 TARGET-stage2-intl = $(TARGET-intl)
16304 all-stage2-intl: configure-stage2-intl
16305 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16306 @r=`${PWD_COMMAND}`; export r; \
16307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16308 $(HOST_EXPORTS) \
16309 $(POSTSTAGE1_HOST_EXPORTS) \
16310 cd $(HOST_SUBDIR)/intl && \
16311 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16312 $(TARGET-stage2-intl)
16314 maybe-clean-stage2-intl: clean-stage2-intl
16315 clean-stage2: clean-stage2-intl
16316 clean-stage2-intl:
16317 @if [ $(current_stage) = stage2 ]; then \
16318 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16319 else \
16320 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16321 $(MAKE) stage2-start; \
16322 fi; \
16323 cd $(HOST_SUBDIR)/intl && \
16324 $(MAKE) $(FLAGS_TO_PASS) \
16325 $(POSTSTAGE1_FLAGS_TO_PASS) \
16326 clean
16327 @endif intl-bootstrap
16330 .PHONY: all-stage3-intl maybe-all-stage3-intl
16331 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16332 maybe-all-stage3-intl:
16333 maybe-clean-stage3-intl:
16334 @if intl-bootstrap
16335 maybe-all-stage3-intl: all-stage3-intl
16336 all-stage3: all-stage3-intl
16337 TARGET-stage3-intl = $(TARGET-intl)
16338 all-stage3-intl: configure-stage3-intl
16339 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16340 @r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16342 $(HOST_EXPORTS) \
16343 $(POSTSTAGE1_HOST_EXPORTS) \
16344 cd $(HOST_SUBDIR)/intl && \
16345 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16346 $(TARGET-stage3-intl)
16348 maybe-clean-stage3-intl: clean-stage3-intl
16349 clean-stage3: clean-stage3-intl
16350 clean-stage3-intl:
16351 @if [ $(current_stage) = stage3 ]; then \
16352 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16353 else \
16354 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16355 $(MAKE) stage3-start; \
16356 fi; \
16357 cd $(HOST_SUBDIR)/intl && \
16358 $(MAKE) $(FLAGS_TO_PASS) \
16359 $(POSTSTAGE1_FLAGS_TO_PASS) \
16360 clean
16361 @endif intl-bootstrap
16364 .PHONY: all-stage4-intl maybe-all-stage4-intl
16365 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16366 maybe-all-stage4-intl:
16367 maybe-clean-stage4-intl:
16368 @if intl-bootstrap
16369 maybe-all-stage4-intl: all-stage4-intl
16370 all-stage4: all-stage4-intl
16371 TARGET-stage4-intl = $(TARGET-intl)
16372 all-stage4-intl: configure-stage4-intl
16373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16374 @r=`${PWD_COMMAND}`; export r; \
16375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16376 $(HOST_EXPORTS) \
16377 $(POSTSTAGE1_HOST_EXPORTS) \
16378 cd $(HOST_SUBDIR)/intl && \
16379 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16380 $(TARGET-stage4-intl)
16382 maybe-clean-stage4-intl: clean-stage4-intl
16383 clean-stage4: clean-stage4-intl
16384 clean-stage4-intl:
16385 @if [ $(current_stage) = stage4 ]; then \
16386 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16387 else \
16388 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
16389 $(MAKE) stage4-start; \
16390 fi; \
16391 cd $(HOST_SUBDIR)/intl && \
16392 $(MAKE) $(FLAGS_TO_PASS) \
16393 $(POSTSTAGE1_FLAGS_TO_PASS) \
16394 clean
16395 @endif intl-bootstrap
16398 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
16399 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
16400 maybe-all-stageprofile-intl:
16401 maybe-clean-stageprofile-intl:
16402 @if intl-bootstrap
16403 maybe-all-stageprofile-intl: all-stageprofile-intl
16404 all-stageprofile: all-stageprofile-intl
16405 TARGET-stageprofile-intl = $(TARGET-intl)
16406 all-stageprofile-intl: configure-stageprofile-intl
16407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16408 @r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 $(HOST_EXPORTS) \
16411 $(POSTSTAGE1_HOST_EXPORTS) \
16412 cd $(HOST_SUBDIR)/intl && \
16413 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16414 $(TARGET-stageprofile-intl)
16416 maybe-clean-stageprofile-intl: clean-stageprofile-intl
16417 clean-stageprofile: clean-stageprofile-intl
16418 clean-stageprofile-intl:
16419 @if [ $(current_stage) = stageprofile ]; then \
16420 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16421 else \
16422 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
16423 $(MAKE) stageprofile-start; \
16424 fi; \
16425 cd $(HOST_SUBDIR)/intl && \
16426 $(MAKE) $(FLAGS_TO_PASS) \
16427 $(POSTSTAGE1_FLAGS_TO_PASS) \
16428 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16429 @endif intl-bootstrap
16432 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
16433 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
16434 maybe-all-stagefeedback-intl:
16435 maybe-clean-stagefeedback-intl:
16436 @if intl-bootstrap
16437 maybe-all-stagefeedback-intl: all-stagefeedback-intl
16438 all-stagefeedback: all-stagefeedback-intl
16439 TARGET-stagefeedback-intl = $(TARGET-intl)
16440 all-stagefeedback-intl: configure-stagefeedback-intl
16441 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16442 @r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 $(HOST_EXPORTS) \
16445 $(POSTSTAGE1_HOST_EXPORTS) \
16446 cd $(HOST_SUBDIR)/intl && \
16447 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16448 $(TARGET-stagefeedback-intl)
16450 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
16451 clean-stagefeedback: clean-stagefeedback-intl
16452 clean-stagefeedback-intl:
16453 @if [ $(current_stage) = stagefeedback ]; then \
16454 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16455 else \
16456 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
16457 $(MAKE) stagefeedback-start; \
16458 fi; \
16459 cd $(HOST_SUBDIR)/intl && \
16460 $(MAKE) $(FLAGS_TO_PASS) \
16461 $(POSTSTAGE1_FLAGS_TO_PASS) \
16462 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16463 @endif intl-bootstrap
16469 .PHONY: check-intl maybe-check-intl
16470 maybe-check-intl:
16471 @if intl
16472 maybe-check-intl: check-intl
16474 check-intl:
16475 @: $(MAKE); $(unstage)
16476 @r=`${PWD_COMMAND}`; export r; \
16477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16478 $(HOST_EXPORTS) \
16479 (cd $(HOST_SUBDIR)/intl && \
16480 $(MAKE) $(FLAGS_TO_PASS) check)
16482 @endif intl
16484 .PHONY: install-intl maybe-install-intl
16485 maybe-install-intl:
16486 @if intl
16487 maybe-install-intl: install-intl
16489 install-intl: installdirs
16490 @: $(MAKE); $(unstage)
16491 @r=`${PWD_COMMAND}`; export r; \
16492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16493 $(HOST_EXPORTS) \
16494 (cd $(HOST_SUBDIR)/intl && \
16495 $(MAKE) $(FLAGS_TO_PASS) install)
16497 @endif intl
16499 # Other targets (info, dvi, pdf, etc.)
16501 .PHONY: maybe-info-intl info-intl
16502 maybe-info-intl:
16503 @if intl
16504 maybe-info-intl: info-intl
16506 info-intl: \
16507 configure-intl
16508 @[ -f ./intl/Makefile ] || exit 0; \
16509 r=`${PWD_COMMAND}`; export r; \
16510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16511 $(HOST_EXPORTS) \
16512 for flag in $(EXTRA_HOST_FLAGS) ; do \
16513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16514 done; \
16515 echo "Doing info in intl" ; \
16516 (cd $(HOST_SUBDIR)/intl && \
16517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16519 "RANLIB=$${RANLIB}" \
16520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16521 info) \
16522 || exit 1
16524 @endif intl
16526 .PHONY: maybe-dvi-intl dvi-intl
16527 maybe-dvi-intl:
16528 @if intl
16529 maybe-dvi-intl: dvi-intl
16531 dvi-intl: \
16532 configure-intl
16533 @[ -f ./intl/Makefile ] || exit 0; \
16534 r=`${PWD_COMMAND}`; export r; \
16535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16536 $(HOST_EXPORTS) \
16537 for flag in $(EXTRA_HOST_FLAGS) ; do \
16538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16539 done; \
16540 echo "Doing dvi in intl" ; \
16541 (cd $(HOST_SUBDIR)/intl && \
16542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16544 "RANLIB=$${RANLIB}" \
16545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16546 dvi) \
16547 || exit 1
16549 @endif intl
16551 .PHONY: maybe-pdf-intl pdf-intl
16552 maybe-pdf-intl:
16553 @if intl
16554 maybe-pdf-intl: pdf-intl
16556 pdf-intl: \
16557 configure-intl
16558 @[ -f ./intl/Makefile ] || exit 0; \
16559 r=`${PWD_COMMAND}`; export r; \
16560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16561 $(HOST_EXPORTS) \
16562 for flag in $(EXTRA_HOST_FLAGS) ; do \
16563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16564 done; \
16565 echo "Doing pdf in intl" ; \
16566 (cd $(HOST_SUBDIR)/intl && \
16567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16569 "RANLIB=$${RANLIB}" \
16570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16571 pdf) \
16572 || exit 1
16574 @endif intl
16576 .PHONY: maybe-html-intl html-intl
16577 maybe-html-intl:
16578 @if intl
16579 maybe-html-intl: html-intl
16581 html-intl: \
16582 configure-intl
16583 @[ -f ./intl/Makefile ] || exit 0; \
16584 r=`${PWD_COMMAND}`; export r; \
16585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16586 $(HOST_EXPORTS) \
16587 for flag in $(EXTRA_HOST_FLAGS) ; do \
16588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16589 done; \
16590 echo "Doing html in intl" ; \
16591 (cd $(HOST_SUBDIR)/intl && \
16592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16594 "RANLIB=$${RANLIB}" \
16595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16596 html) \
16597 || exit 1
16599 @endif intl
16601 .PHONY: maybe-TAGS-intl TAGS-intl
16602 maybe-TAGS-intl:
16603 @if intl
16604 maybe-TAGS-intl: TAGS-intl
16606 TAGS-intl: \
16607 configure-intl
16608 @[ -f ./intl/Makefile ] || exit 0; \
16609 r=`${PWD_COMMAND}`; export r; \
16610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16611 $(HOST_EXPORTS) \
16612 for flag in $(EXTRA_HOST_FLAGS) ; do \
16613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16614 done; \
16615 echo "Doing TAGS in intl" ; \
16616 (cd $(HOST_SUBDIR)/intl && \
16617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16619 "RANLIB=$${RANLIB}" \
16620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16621 TAGS) \
16622 || exit 1
16624 @endif intl
16626 .PHONY: maybe-install-info-intl install-info-intl
16627 maybe-install-info-intl:
16628 @if intl
16629 maybe-install-info-intl: install-info-intl
16631 install-info-intl: \
16632 configure-intl \
16633 info-intl
16634 @[ -f ./intl/Makefile ] || exit 0; \
16635 r=`${PWD_COMMAND}`; export r; \
16636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16637 $(HOST_EXPORTS) \
16638 for flag in $(EXTRA_HOST_FLAGS) ; do \
16639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16640 done; \
16641 echo "Doing install-info in intl" ; \
16642 (cd $(HOST_SUBDIR)/intl && \
16643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16645 "RANLIB=$${RANLIB}" \
16646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16647 install-info) \
16648 || exit 1
16650 @endif intl
16652 .PHONY: maybe-install-html-intl install-html-intl
16653 maybe-install-html-intl:
16654 @if intl
16655 maybe-install-html-intl: install-html-intl
16657 install-html-intl: \
16658 configure-intl \
16659 html-intl
16660 @[ -f ./intl/Makefile ] || exit 0; \
16661 r=`${PWD_COMMAND}`; export r; \
16662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16663 $(HOST_EXPORTS) \
16664 for flag in $(EXTRA_HOST_FLAGS) ; do \
16665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16666 done; \
16667 echo "Doing install-html in intl" ; \
16668 (cd $(HOST_SUBDIR)/intl && \
16669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16671 "RANLIB=$${RANLIB}" \
16672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16673 install-html) \
16674 || exit 1
16676 @endif intl
16678 .PHONY: maybe-installcheck-intl installcheck-intl
16679 maybe-installcheck-intl:
16680 @if intl
16681 maybe-installcheck-intl: installcheck-intl
16683 installcheck-intl: \
16684 configure-intl
16685 @[ -f ./intl/Makefile ] || exit 0; \
16686 r=`${PWD_COMMAND}`; export r; \
16687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16688 $(HOST_EXPORTS) \
16689 for flag in $(EXTRA_HOST_FLAGS) ; do \
16690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16691 done; \
16692 echo "Doing installcheck in intl" ; \
16693 (cd $(HOST_SUBDIR)/intl && \
16694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16696 "RANLIB=$${RANLIB}" \
16697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16698 installcheck) \
16699 || exit 1
16701 @endif intl
16703 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
16704 maybe-mostlyclean-intl:
16705 @if intl
16706 maybe-mostlyclean-intl: mostlyclean-intl
16708 mostlyclean-intl:
16709 @[ -f ./intl/Makefile ] || exit 0; \
16710 r=`${PWD_COMMAND}`; export r; \
16711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16712 $(HOST_EXPORTS) \
16713 for flag in $(EXTRA_HOST_FLAGS) ; do \
16714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16715 done; \
16716 echo "Doing mostlyclean in intl" ; \
16717 (cd $(HOST_SUBDIR)/intl && \
16718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16720 "RANLIB=$${RANLIB}" \
16721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16722 mostlyclean) \
16723 || exit 1
16725 @endif intl
16727 .PHONY: maybe-clean-intl clean-intl
16728 maybe-clean-intl:
16729 @if intl
16730 maybe-clean-intl: clean-intl
16732 clean-intl:
16733 @[ -f ./intl/Makefile ] || exit 0; \
16734 r=`${PWD_COMMAND}`; export r; \
16735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16736 $(HOST_EXPORTS) \
16737 for flag in $(EXTRA_HOST_FLAGS) ; do \
16738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16739 done; \
16740 echo "Doing clean in intl" ; \
16741 (cd $(HOST_SUBDIR)/intl && \
16742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16744 "RANLIB=$${RANLIB}" \
16745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16746 clean) \
16747 || exit 1
16749 @endif intl
16751 .PHONY: maybe-distclean-intl distclean-intl
16752 maybe-distclean-intl:
16753 @if intl
16754 maybe-distclean-intl: distclean-intl
16756 distclean-intl:
16757 @[ -f ./intl/Makefile ] || exit 0; \
16758 r=`${PWD_COMMAND}`; export r; \
16759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16760 $(HOST_EXPORTS) \
16761 for flag in $(EXTRA_HOST_FLAGS) ; do \
16762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16763 done; \
16764 echo "Doing distclean in intl" ; \
16765 (cd $(HOST_SUBDIR)/intl && \
16766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16768 "RANLIB=$${RANLIB}" \
16769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16770 distclean) \
16771 || exit 1
16773 @endif intl
16775 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16776 maybe-maintainer-clean-intl:
16777 @if intl
16778 maybe-maintainer-clean-intl: maintainer-clean-intl
16780 maintainer-clean-intl:
16781 @[ -f ./intl/Makefile ] || exit 0; \
16782 r=`${PWD_COMMAND}`; export r; \
16783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16784 $(HOST_EXPORTS) \
16785 for flag in $(EXTRA_HOST_FLAGS) ; do \
16786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16787 done; \
16788 echo "Doing maintainer-clean in intl" ; \
16789 (cd $(HOST_SUBDIR)/intl && \
16790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16792 "RANLIB=$${RANLIB}" \
16793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16794 maintainer-clean) \
16795 || exit 1
16797 @endif intl
16801 .PHONY: configure-tcl maybe-configure-tcl
16802 maybe-configure-tcl:
16803 @if gcc-bootstrap
16804 configure-tcl: stage_current
16805 @endif gcc-bootstrap
16806 @if tcl
16807 maybe-configure-tcl: configure-tcl
16808 configure-tcl:
16809 @: $(MAKE); $(unstage)
16810 @r=`${PWD_COMMAND}`; export r; \
16811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16812 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
16813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
16814 $(HOST_EXPORTS) \
16815 echo Configuring in $(HOST_SUBDIR)/tcl; \
16816 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
16817 case $(srcdir) in \
16818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16819 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
16820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16821 esac; \
16822 srcdiroption="--srcdir=$${topdir}/tcl"; \
16823 libsrcdir="$$s/tcl"; \
16824 $(SHELL) $${libsrcdir}/configure \
16825 $(HOST_CONFIGARGS) $${srcdiroption} \
16826 || exit 1
16827 @endif tcl
16833 .PHONY: all-tcl maybe-all-tcl
16834 maybe-all-tcl:
16835 @if gcc-bootstrap
16836 all-tcl: stage_current
16837 @endif gcc-bootstrap
16838 @if tcl
16839 TARGET-tcl=all
16840 maybe-all-tcl: all-tcl
16841 all-tcl: configure-tcl
16842 @: $(MAKE); $(unstage)
16843 @r=`${PWD_COMMAND}`; export r; \
16844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16845 $(HOST_EXPORTS) \
16846 (cd $(HOST_SUBDIR)/tcl && \
16847 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
16848 @endif tcl
16853 .PHONY: check-tcl maybe-check-tcl
16854 maybe-check-tcl:
16855 @if tcl
16856 maybe-check-tcl: check-tcl
16858 check-tcl:
16859 @: $(MAKE); $(unstage)
16860 @r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 (cd $(HOST_SUBDIR)/tcl && \
16864 $(MAKE) $(FLAGS_TO_PASS) check)
16866 @endif tcl
16868 .PHONY: install-tcl maybe-install-tcl
16869 maybe-install-tcl:
16870 @if tcl
16871 maybe-install-tcl: install-tcl
16873 install-tcl: installdirs
16874 @: $(MAKE); $(unstage)
16875 @r=`${PWD_COMMAND}`; export r; \
16876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16877 $(HOST_EXPORTS) \
16878 (cd $(HOST_SUBDIR)/tcl && \
16879 $(MAKE) $(FLAGS_TO_PASS) install)
16881 @endif tcl
16883 # Other targets (info, dvi, pdf, etc.)
16885 .PHONY: maybe-info-tcl info-tcl
16886 maybe-info-tcl:
16887 @if tcl
16888 maybe-info-tcl: info-tcl
16890 info-tcl: \
16891 configure-tcl
16892 @: $(MAKE); $(unstage)
16893 @[ -f ./tcl/Makefile ] || exit 0; \
16894 r=`${PWD_COMMAND}`; export r; \
16895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16896 $(HOST_EXPORTS) \
16897 for flag in $(EXTRA_HOST_FLAGS) ; do \
16898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16899 done; \
16900 echo "Doing info in tcl" ; \
16901 (cd $(HOST_SUBDIR)/tcl && \
16902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16904 "RANLIB=$${RANLIB}" \
16905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16906 info) \
16907 || exit 1
16909 @endif tcl
16911 .PHONY: maybe-dvi-tcl dvi-tcl
16912 maybe-dvi-tcl:
16913 @if tcl
16914 maybe-dvi-tcl: dvi-tcl
16916 dvi-tcl: \
16917 configure-tcl
16918 @: $(MAKE); $(unstage)
16919 @[ -f ./tcl/Makefile ] || exit 0; \
16920 r=`${PWD_COMMAND}`; export r; \
16921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16922 $(HOST_EXPORTS) \
16923 for flag in $(EXTRA_HOST_FLAGS) ; do \
16924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16925 done; \
16926 echo "Doing dvi in tcl" ; \
16927 (cd $(HOST_SUBDIR)/tcl && \
16928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16930 "RANLIB=$${RANLIB}" \
16931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16932 dvi) \
16933 || exit 1
16935 @endif tcl
16937 .PHONY: maybe-pdf-tcl pdf-tcl
16938 maybe-pdf-tcl:
16939 @if tcl
16940 maybe-pdf-tcl: pdf-tcl
16942 pdf-tcl: \
16943 configure-tcl
16944 @: $(MAKE); $(unstage)
16945 @[ -f ./tcl/Makefile ] || exit 0; \
16946 r=`${PWD_COMMAND}`; export r; \
16947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16948 $(HOST_EXPORTS) \
16949 for flag in $(EXTRA_HOST_FLAGS) ; do \
16950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16951 done; \
16952 echo "Doing pdf in tcl" ; \
16953 (cd $(HOST_SUBDIR)/tcl && \
16954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16956 "RANLIB=$${RANLIB}" \
16957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16958 pdf) \
16959 || exit 1
16961 @endif tcl
16963 .PHONY: maybe-html-tcl html-tcl
16964 maybe-html-tcl:
16965 @if tcl
16966 maybe-html-tcl: html-tcl
16968 html-tcl: \
16969 configure-tcl
16970 @: $(MAKE); $(unstage)
16971 @[ -f ./tcl/Makefile ] || exit 0; \
16972 r=`${PWD_COMMAND}`; export r; \
16973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16974 $(HOST_EXPORTS) \
16975 for flag in $(EXTRA_HOST_FLAGS) ; do \
16976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16977 done; \
16978 echo "Doing html in tcl" ; \
16979 (cd $(HOST_SUBDIR)/tcl && \
16980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16982 "RANLIB=$${RANLIB}" \
16983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16984 html) \
16985 || exit 1
16987 @endif tcl
16989 .PHONY: maybe-TAGS-tcl TAGS-tcl
16990 maybe-TAGS-tcl:
16991 @if tcl
16992 maybe-TAGS-tcl: TAGS-tcl
16994 TAGS-tcl: \
16995 configure-tcl
16996 @: $(MAKE); $(unstage)
16997 @[ -f ./tcl/Makefile ] || exit 0; \
16998 r=`${PWD_COMMAND}`; export r; \
16999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17000 $(HOST_EXPORTS) \
17001 for flag in $(EXTRA_HOST_FLAGS) ; do \
17002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17003 done; \
17004 echo "Doing TAGS in tcl" ; \
17005 (cd $(HOST_SUBDIR)/tcl && \
17006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17008 "RANLIB=$${RANLIB}" \
17009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17010 TAGS) \
17011 || exit 1
17013 @endif tcl
17015 .PHONY: maybe-install-info-tcl install-info-tcl
17016 maybe-install-info-tcl:
17017 @if tcl
17018 maybe-install-info-tcl: install-info-tcl
17020 install-info-tcl: \
17021 configure-tcl \
17022 info-tcl
17023 @: $(MAKE); $(unstage)
17024 @[ -f ./tcl/Makefile ] || exit 0; \
17025 r=`${PWD_COMMAND}`; export r; \
17026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17027 $(HOST_EXPORTS) \
17028 for flag in $(EXTRA_HOST_FLAGS) ; do \
17029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17030 done; \
17031 echo "Doing install-info in tcl" ; \
17032 (cd $(HOST_SUBDIR)/tcl && \
17033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17035 "RANLIB=$${RANLIB}" \
17036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17037 install-info) \
17038 || exit 1
17040 @endif tcl
17042 .PHONY: maybe-install-html-tcl install-html-tcl
17043 maybe-install-html-tcl:
17044 @if tcl
17045 maybe-install-html-tcl: install-html-tcl
17047 install-html-tcl: \
17048 configure-tcl \
17049 html-tcl
17050 @: $(MAKE); $(unstage)
17051 @[ -f ./tcl/Makefile ] || exit 0; \
17052 r=`${PWD_COMMAND}`; export r; \
17053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17054 $(HOST_EXPORTS) \
17055 for flag in $(EXTRA_HOST_FLAGS) ; do \
17056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17057 done; \
17058 echo "Doing install-html in tcl" ; \
17059 (cd $(HOST_SUBDIR)/tcl && \
17060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17062 "RANLIB=$${RANLIB}" \
17063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17064 install-html) \
17065 || exit 1
17067 @endif tcl
17069 .PHONY: maybe-installcheck-tcl installcheck-tcl
17070 maybe-installcheck-tcl:
17071 @if tcl
17072 maybe-installcheck-tcl: installcheck-tcl
17074 installcheck-tcl: \
17075 configure-tcl
17076 @: $(MAKE); $(unstage)
17077 @[ -f ./tcl/Makefile ] || exit 0; \
17078 r=`${PWD_COMMAND}`; export r; \
17079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080 $(HOST_EXPORTS) \
17081 for flag in $(EXTRA_HOST_FLAGS) ; do \
17082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17083 done; \
17084 echo "Doing installcheck in tcl" ; \
17085 (cd $(HOST_SUBDIR)/tcl && \
17086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17088 "RANLIB=$${RANLIB}" \
17089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17090 installcheck) \
17091 || exit 1
17093 @endif tcl
17095 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17096 maybe-mostlyclean-tcl:
17097 @if tcl
17098 maybe-mostlyclean-tcl: mostlyclean-tcl
17100 # tcl doesn't support mostlyclean.
17101 mostlyclean-tcl:
17103 @endif tcl
17105 .PHONY: maybe-clean-tcl clean-tcl
17106 maybe-clean-tcl:
17107 @if tcl
17108 maybe-clean-tcl: clean-tcl
17110 clean-tcl:
17111 @: $(MAKE); $(unstage)
17112 @[ -f ./tcl/Makefile ] || exit 0; \
17113 r=`${PWD_COMMAND}`; export r; \
17114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17115 $(HOST_EXPORTS) \
17116 for flag in $(EXTRA_HOST_FLAGS) ; do \
17117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17118 done; \
17119 echo "Doing clean in tcl" ; \
17120 (cd $(HOST_SUBDIR)/tcl && \
17121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17123 "RANLIB=$${RANLIB}" \
17124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17125 clean) \
17126 || exit 1
17128 @endif tcl
17130 .PHONY: maybe-distclean-tcl distclean-tcl
17131 maybe-distclean-tcl:
17132 @if tcl
17133 maybe-distclean-tcl: distclean-tcl
17135 distclean-tcl:
17136 @: $(MAKE); $(unstage)
17137 @[ -f ./tcl/Makefile ] || exit 0; \
17138 r=`${PWD_COMMAND}`; export r; \
17139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17140 $(HOST_EXPORTS) \
17141 for flag in $(EXTRA_HOST_FLAGS) ; do \
17142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17143 done; \
17144 echo "Doing distclean in tcl" ; \
17145 (cd $(HOST_SUBDIR)/tcl && \
17146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17148 "RANLIB=$${RANLIB}" \
17149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17150 distclean) \
17151 || exit 1
17153 @endif tcl
17155 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17156 maybe-maintainer-clean-tcl:
17157 @if tcl
17158 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17160 maintainer-clean-tcl:
17161 @: $(MAKE); $(unstage)
17162 @[ -f ./tcl/Makefile ] || exit 0; \
17163 r=`${PWD_COMMAND}`; export r; \
17164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17165 $(HOST_EXPORTS) \
17166 for flag in $(EXTRA_HOST_FLAGS) ; do \
17167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17168 done; \
17169 echo "Doing maintainer-clean in tcl" ; \
17170 (cd $(HOST_SUBDIR)/tcl && \
17171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17173 "RANLIB=$${RANLIB}" \
17174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17175 maintainer-clean) \
17176 || exit 1
17178 @endif tcl
17182 .PHONY: configure-itcl maybe-configure-itcl
17183 maybe-configure-itcl:
17184 @if gcc-bootstrap
17185 configure-itcl: stage_current
17186 @endif gcc-bootstrap
17187 @if itcl
17188 maybe-configure-itcl: configure-itcl
17189 configure-itcl:
17190 @: $(MAKE); $(unstage)
17191 @r=`${PWD_COMMAND}`; export r; \
17192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17193 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17195 $(HOST_EXPORTS) \
17196 echo Configuring in $(HOST_SUBDIR)/itcl; \
17197 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17198 case $(srcdir) in \
17199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17200 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17202 esac; \
17203 srcdiroption="--srcdir=$${topdir}/itcl"; \
17204 libsrcdir="$$s/itcl"; \
17205 $(SHELL) $${libsrcdir}/configure \
17206 $(HOST_CONFIGARGS) $${srcdiroption} \
17207 || exit 1
17208 @endif itcl
17214 .PHONY: all-itcl maybe-all-itcl
17215 maybe-all-itcl:
17216 @if gcc-bootstrap
17217 all-itcl: stage_current
17218 @endif gcc-bootstrap
17219 @if itcl
17220 TARGET-itcl=all
17221 maybe-all-itcl: all-itcl
17222 all-itcl: configure-itcl
17223 @: $(MAKE); $(unstage)
17224 @r=`${PWD_COMMAND}`; export r; \
17225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17226 $(HOST_EXPORTS) \
17227 (cd $(HOST_SUBDIR)/itcl && \
17228 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
17229 @endif itcl
17234 .PHONY: check-itcl maybe-check-itcl
17235 maybe-check-itcl:
17236 @if itcl
17237 maybe-check-itcl: check-itcl
17239 check-itcl:
17240 @: $(MAKE); $(unstage)
17241 @r=`${PWD_COMMAND}`; export r; \
17242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17243 $(HOST_EXPORTS) \
17244 (cd $(HOST_SUBDIR)/itcl && \
17245 $(MAKE) $(FLAGS_TO_PASS) check)
17247 @endif itcl
17249 .PHONY: install-itcl maybe-install-itcl
17250 maybe-install-itcl:
17251 @if itcl
17252 maybe-install-itcl: install-itcl
17254 install-itcl: installdirs
17255 @: $(MAKE); $(unstage)
17256 @r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 $(HOST_EXPORTS) \
17259 (cd $(HOST_SUBDIR)/itcl && \
17260 $(MAKE) $(FLAGS_TO_PASS) install)
17262 @endif itcl
17264 # Other targets (info, dvi, pdf, etc.)
17266 .PHONY: maybe-info-itcl info-itcl
17267 maybe-info-itcl:
17268 @if itcl
17269 maybe-info-itcl: info-itcl
17271 info-itcl: \
17272 configure-itcl
17273 @: $(MAKE); $(unstage)
17274 @[ -f ./itcl/Makefile ] || exit 0; \
17275 r=`${PWD_COMMAND}`; export r; \
17276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17277 $(HOST_EXPORTS) \
17278 for flag in $(EXTRA_HOST_FLAGS) ; do \
17279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17280 done; \
17281 echo "Doing info in itcl" ; \
17282 (cd $(HOST_SUBDIR)/itcl && \
17283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17285 "RANLIB=$${RANLIB}" \
17286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17287 info) \
17288 || exit 1
17290 @endif itcl
17292 .PHONY: maybe-dvi-itcl dvi-itcl
17293 maybe-dvi-itcl:
17294 @if itcl
17295 maybe-dvi-itcl: dvi-itcl
17297 dvi-itcl: \
17298 configure-itcl
17299 @: $(MAKE); $(unstage)
17300 @[ -f ./itcl/Makefile ] || exit 0; \
17301 r=`${PWD_COMMAND}`; export r; \
17302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17303 $(HOST_EXPORTS) \
17304 for flag in $(EXTRA_HOST_FLAGS) ; do \
17305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17306 done; \
17307 echo "Doing dvi in itcl" ; \
17308 (cd $(HOST_SUBDIR)/itcl && \
17309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17311 "RANLIB=$${RANLIB}" \
17312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17313 dvi) \
17314 || exit 1
17316 @endif itcl
17318 .PHONY: maybe-pdf-itcl pdf-itcl
17319 maybe-pdf-itcl:
17320 @if itcl
17321 maybe-pdf-itcl: pdf-itcl
17323 pdf-itcl: \
17324 configure-itcl
17325 @: $(MAKE); $(unstage)
17326 @[ -f ./itcl/Makefile ] || exit 0; \
17327 r=`${PWD_COMMAND}`; export r; \
17328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17329 $(HOST_EXPORTS) \
17330 for flag in $(EXTRA_HOST_FLAGS) ; do \
17331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17332 done; \
17333 echo "Doing pdf in itcl" ; \
17334 (cd $(HOST_SUBDIR)/itcl && \
17335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17337 "RANLIB=$${RANLIB}" \
17338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17339 pdf) \
17340 || exit 1
17342 @endif itcl
17344 .PHONY: maybe-html-itcl html-itcl
17345 maybe-html-itcl:
17346 @if itcl
17347 maybe-html-itcl: html-itcl
17349 html-itcl: \
17350 configure-itcl
17351 @: $(MAKE); $(unstage)
17352 @[ -f ./itcl/Makefile ] || exit 0; \
17353 r=`${PWD_COMMAND}`; export r; \
17354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17355 $(HOST_EXPORTS) \
17356 for flag in $(EXTRA_HOST_FLAGS) ; do \
17357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17358 done; \
17359 echo "Doing html in itcl" ; \
17360 (cd $(HOST_SUBDIR)/itcl && \
17361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17363 "RANLIB=$${RANLIB}" \
17364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17365 html) \
17366 || exit 1
17368 @endif itcl
17370 .PHONY: maybe-TAGS-itcl TAGS-itcl
17371 maybe-TAGS-itcl:
17372 @if itcl
17373 maybe-TAGS-itcl: TAGS-itcl
17375 TAGS-itcl: \
17376 configure-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 TAGS 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 TAGS) \
17392 || exit 1
17394 @endif itcl
17396 .PHONY: maybe-install-info-itcl install-info-itcl
17397 maybe-install-info-itcl:
17398 @if itcl
17399 maybe-install-info-itcl: install-info-itcl
17401 install-info-itcl: \
17402 configure-itcl \
17403 info-itcl
17404 @: $(MAKE); $(unstage)
17405 @[ -f ./itcl/Makefile ] || exit 0; \
17406 r=`${PWD_COMMAND}`; export r; \
17407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17408 $(HOST_EXPORTS) \
17409 for flag in $(EXTRA_HOST_FLAGS) ; do \
17410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17411 done; \
17412 echo "Doing install-info in itcl" ; \
17413 (cd $(HOST_SUBDIR)/itcl && \
17414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17416 "RANLIB=$${RANLIB}" \
17417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17418 install-info) \
17419 || exit 1
17421 @endif itcl
17423 .PHONY: maybe-install-html-itcl install-html-itcl
17424 maybe-install-html-itcl:
17425 @if itcl
17426 maybe-install-html-itcl: install-html-itcl
17428 install-html-itcl: \
17429 configure-itcl \
17430 html-itcl
17431 @: $(MAKE); $(unstage)
17432 @[ -f ./itcl/Makefile ] || exit 0; \
17433 r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17435 $(HOST_EXPORTS) \
17436 for flag in $(EXTRA_HOST_FLAGS) ; do \
17437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17438 done; \
17439 echo "Doing install-html in itcl" ; \
17440 (cd $(HOST_SUBDIR)/itcl && \
17441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17443 "RANLIB=$${RANLIB}" \
17444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17445 install-html) \
17446 || exit 1
17448 @endif itcl
17450 .PHONY: maybe-installcheck-itcl installcheck-itcl
17451 maybe-installcheck-itcl:
17452 @if itcl
17453 maybe-installcheck-itcl: installcheck-itcl
17455 installcheck-itcl: \
17456 configure-itcl
17457 @: $(MAKE); $(unstage)
17458 @[ -f ./itcl/Makefile ] || exit 0; \
17459 r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461 $(HOST_EXPORTS) \
17462 for flag in $(EXTRA_HOST_FLAGS) ; do \
17463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17464 done; \
17465 echo "Doing installcheck in itcl" ; \
17466 (cd $(HOST_SUBDIR)/itcl && \
17467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17469 "RANLIB=$${RANLIB}" \
17470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17471 installcheck) \
17472 || exit 1
17474 @endif itcl
17476 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
17477 maybe-mostlyclean-itcl:
17478 @if itcl
17479 maybe-mostlyclean-itcl: mostlyclean-itcl
17481 mostlyclean-itcl:
17482 @: $(MAKE); $(unstage)
17483 @[ -f ./itcl/Makefile ] || exit 0; \
17484 r=`${PWD_COMMAND}`; export r; \
17485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17486 $(HOST_EXPORTS) \
17487 for flag in $(EXTRA_HOST_FLAGS) ; do \
17488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17489 done; \
17490 echo "Doing mostlyclean in itcl" ; \
17491 (cd $(HOST_SUBDIR)/itcl && \
17492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17494 "RANLIB=$${RANLIB}" \
17495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17496 mostlyclean) \
17497 || exit 1
17499 @endif itcl
17501 .PHONY: maybe-clean-itcl clean-itcl
17502 maybe-clean-itcl:
17503 @if itcl
17504 maybe-clean-itcl: clean-itcl
17506 clean-itcl:
17507 @: $(MAKE); $(unstage)
17508 @[ -f ./itcl/Makefile ] || exit 0; \
17509 r=`${PWD_COMMAND}`; export r; \
17510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17511 $(HOST_EXPORTS) \
17512 for flag in $(EXTRA_HOST_FLAGS) ; do \
17513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17514 done; \
17515 echo "Doing clean in itcl" ; \
17516 (cd $(HOST_SUBDIR)/itcl && \
17517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17519 "RANLIB=$${RANLIB}" \
17520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17521 clean) \
17522 || exit 1
17524 @endif itcl
17526 .PHONY: maybe-distclean-itcl distclean-itcl
17527 maybe-distclean-itcl:
17528 @if itcl
17529 maybe-distclean-itcl: distclean-itcl
17531 distclean-itcl:
17532 @: $(MAKE); $(unstage)
17533 @[ -f ./itcl/Makefile ] || exit 0; \
17534 r=`${PWD_COMMAND}`; export r; \
17535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17536 $(HOST_EXPORTS) \
17537 for flag in $(EXTRA_HOST_FLAGS) ; do \
17538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17539 done; \
17540 echo "Doing distclean in itcl" ; \
17541 (cd $(HOST_SUBDIR)/itcl && \
17542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17544 "RANLIB=$${RANLIB}" \
17545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17546 distclean) \
17547 || exit 1
17549 @endif itcl
17551 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
17552 maybe-maintainer-clean-itcl:
17553 @if itcl
17554 maybe-maintainer-clean-itcl: maintainer-clean-itcl
17556 maintainer-clean-itcl:
17557 @: $(MAKE); $(unstage)
17558 @[ -f ./itcl/Makefile ] || exit 0; \
17559 r=`${PWD_COMMAND}`; export r; \
17560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17561 $(HOST_EXPORTS) \
17562 for flag in $(EXTRA_HOST_FLAGS) ; do \
17563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17564 done; \
17565 echo "Doing maintainer-clean in itcl" ; \
17566 (cd $(HOST_SUBDIR)/itcl && \
17567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17569 "RANLIB=$${RANLIB}" \
17570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17571 maintainer-clean) \
17572 || exit 1
17574 @endif itcl
17578 .PHONY: configure-ld maybe-configure-ld
17579 maybe-configure-ld:
17580 @if gcc-bootstrap
17581 configure-ld: stage_current
17582 @endif gcc-bootstrap
17583 @if ld
17584 maybe-configure-ld: configure-ld
17585 configure-ld:
17586 @r=`${PWD_COMMAND}`; export r; \
17587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17588 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17590 $(HOST_EXPORTS) \
17591 echo Configuring in $(HOST_SUBDIR)/ld; \
17592 cd "$(HOST_SUBDIR)/ld" || exit 1; \
17593 case $(srcdir) in \
17594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17595 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17597 esac; \
17598 srcdiroption="--srcdir=$${topdir}/ld"; \
17599 libsrcdir="$$s/ld"; \
17600 $(SHELL) $${libsrcdir}/configure \
17601 $(HOST_CONFIGARGS) $${srcdiroption} \
17602 || exit 1
17603 @endif ld
17607 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
17608 maybe-configure-stage1-ld:
17609 @if ld-bootstrap
17610 maybe-configure-stage1-ld: configure-stage1-ld
17611 configure-stage1-ld:
17612 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17614 @r=`${PWD_COMMAND}`; export r; \
17615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17616 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17617 $(HOST_EXPORTS) \
17618 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
17619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17620 cd $(HOST_SUBDIR)/ld || exit 1; \
17621 case $(srcdir) in \
17622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17623 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17625 esac; \
17626 srcdiroption="--srcdir=$${topdir}/ld"; \
17627 libsrcdir="$$s/ld"; \
17628 $(SHELL) $${libsrcdir}/configure \
17629 $(HOST_CONFIGARGS) $${srcdiroption} \
17631 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17632 @endif ld-bootstrap
17634 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
17635 maybe-configure-stage2-ld:
17636 @if ld-bootstrap
17637 maybe-configure-stage2-ld: configure-stage2-ld
17638 configure-stage2-ld:
17639 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17641 @r=`${PWD_COMMAND}`; export r; \
17642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17643 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17644 $(HOST_EXPORTS) \
17645 $(POSTSTAGE1_HOST_EXPORTS) \
17646 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
17647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17648 cd $(HOST_SUBDIR)/ld || exit 1; \
17649 case $(srcdir) in \
17650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17651 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17653 esac; \
17654 srcdiroption="--srcdir=$${topdir}/ld"; \
17655 libsrcdir="$$s/ld"; \
17656 $(SHELL) $${libsrcdir}/configure \
17657 $(HOST_CONFIGARGS) $${srcdiroption} \
17658 --with-build-libsubdir=$(HOST_SUBDIR) \
17659 @stage2_werror_flag@
17660 @endif ld-bootstrap
17662 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
17663 maybe-configure-stage3-ld:
17664 @if ld-bootstrap
17665 maybe-configure-stage3-ld: configure-stage3-ld
17666 configure-stage3-ld:
17667 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17669 @r=`${PWD_COMMAND}`; export r; \
17670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17671 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17672 $(HOST_EXPORTS) \
17673 $(POSTSTAGE1_HOST_EXPORTS) \
17674 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
17675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17676 cd $(HOST_SUBDIR)/ld || exit 1; \
17677 case $(srcdir) in \
17678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17679 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17681 esac; \
17682 srcdiroption="--srcdir=$${topdir}/ld"; \
17683 libsrcdir="$$s/ld"; \
17684 $(SHELL) $${libsrcdir}/configure \
17685 $(HOST_CONFIGARGS) $${srcdiroption} \
17686 --with-build-libsubdir=$(HOST_SUBDIR) \
17687 @stage2_werror_flag@
17688 @endif ld-bootstrap
17690 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
17691 maybe-configure-stage4-ld:
17692 @if ld-bootstrap
17693 maybe-configure-stage4-ld: configure-stage4-ld
17694 configure-stage4-ld:
17695 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17697 @r=`${PWD_COMMAND}`; export r; \
17698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17699 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17700 $(HOST_EXPORTS) \
17701 $(POSTSTAGE1_HOST_EXPORTS) \
17702 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
17703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17704 cd $(HOST_SUBDIR)/ld || exit 1; \
17705 case $(srcdir) in \
17706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17707 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17709 esac; \
17710 srcdiroption="--srcdir=$${topdir}/ld"; \
17711 libsrcdir="$$s/ld"; \
17712 $(SHELL) $${libsrcdir}/configure \
17713 $(HOST_CONFIGARGS) $${srcdiroption} \
17714 --with-build-libsubdir=$(HOST_SUBDIR) \
17715 @stage2_werror_flag@
17716 @endif ld-bootstrap
17718 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
17719 maybe-configure-stageprofile-ld:
17720 @if ld-bootstrap
17721 maybe-configure-stageprofile-ld: configure-stageprofile-ld
17722 configure-stageprofile-ld:
17723 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17725 @r=`${PWD_COMMAND}`; export r; \
17726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17727 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17728 $(HOST_EXPORTS) \
17729 $(POSTSTAGE1_HOST_EXPORTS) \
17730 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
17731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17732 cd $(HOST_SUBDIR)/ld || exit 1; \
17733 case $(srcdir) in \
17734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17735 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17737 esac; \
17738 srcdiroption="--srcdir=$${topdir}/ld"; \
17739 libsrcdir="$$s/ld"; \
17740 $(SHELL) $${libsrcdir}/configure \
17741 $(HOST_CONFIGARGS) $${srcdiroption} \
17742 --with-build-libsubdir=$(HOST_SUBDIR) \
17743 @stage2_werror_flag@
17744 @endif ld-bootstrap
17746 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
17747 maybe-configure-stagefeedback-ld:
17748 @if ld-bootstrap
17749 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
17750 configure-stagefeedback-ld:
17751 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17752 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17753 @r=`${PWD_COMMAND}`; export r; \
17754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17755 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17756 $(HOST_EXPORTS) \
17757 $(POSTSTAGE1_HOST_EXPORTS) \
17758 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
17759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17760 cd $(HOST_SUBDIR)/ld || exit 1; \
17761 case $(srcdir) in \
17762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17763 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17765 esac; \
17766 srcdiroption="--srcdir=$${topdir}/ld"; \
17767 libsrcdir="$$s/ld"; \
17768 $(SHELL) $${libsrcdir}/configure \
17769 $(HOST_CONFIGARGS) $${srcdiroption} \
17770 --with-build-libsubdir=$(HOST_SUBDIR) \
17771 @stage2_werror_flag@
17772 @endif ld-bootstrap
17778 .PHONY: all-ld maybe-all-ld
17779 maybe-all-ld:
17780 @if gcc-bootstrap
17781 all-ld: stage_current
17782 @endif gcc-bootstrap
17783 @if ld
17784 TARGET-ld=all
17785 maybe-all-ld: all-ld
17786 all-ld: configure-ld
17787 @r=`${PWD_COMMAND}`; export r; \
17788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17789 $(HOST_EXPORTS) \
17790 (cd $(HOST_SUBDIR)/ld && \
17791 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
17792 @endif ld
17796 .PHONY: all-stage1-ld maybe-all-stage1-ld
17797 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
17798 maybe-all-stage1-ld:
17799 maybe-clean-stage1-ld:
17800 @if ld-bootstrap
17801 maybe-all-stage1-ld: all-stage1-ld
17802 all-stage1: all-stage1-ld
17803 TARGET-stage1-ld = $(TARGET-ld)
17804 all-stage1-ld: configure-stage1-ld
17805 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17806 @r=`${PWD_COMMAND}`; export r; \
17807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17808 $(HOST_EXPORTS) \
17809 cd $(HOST_SUBDIR)/ld && \
17810 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17811 $(TARGET-stage1-ld)
17813 maybe-clean-stage1-ld: clean-stage1-ld
17814 clean-stage1: clean-stage1-ld
17815 clean-stage1-ld:
17816 @if [ $(current_stage) = stage1 ]; then \
17817 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17818 else \
17819 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
17820 $(MAKE) stage1-start; \
17821 fi; \
17822 cd $(HOST_SUBDIR)/ld && \
17823 $(MAKE) $(FLAGS_TO_PASS) \
17824 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17825 @endif ld-bootstrap
17828 .PHONY: all-stage2-ld maybe-all-stage2-ld
17829 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
17830 maybe-all-stage2-ld:
17831 maybe-clean-stage2-ld:
17832 @if ld-bootstrap
17833 maybe-all-stage2-ld: all-stage2-ld
17834 all-stage2: all-stage2-ld
17835 TARGET-stage2-ld = $(TARGET-ld)
17836 all-stage2-ld: configure-stage2-ld
17837 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17838 @r=`${PWD_COMMAND}`; export r; \
17839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17840 $(HOST_EXPORTS) \
17841 $(POSTSTAGE1_HOST_EXPORTS) \
17842 cd $(HOST_SUBDIR)/ld && \
17843 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17844 $(TARGET-stage2-ld)
17846 maybe-clean-stage2-ld: clean-stage2-ld
17847 clean-stage2: clean-stage2-ld
17848 clean-stage2-ld:
17849 @if [ $(current_stage) = stage2 ]; then \
17850 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17851 else \
17852 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
17853 $(MAKE) stage2-start; \
17854 fi; \
17855 cd $(HOST_SUBDIR)/ld && \
17856 $(MAKE) $(FLAGS_TO_PASS) \
17857 $(POSTSTAGE1_FLAGS_TO_PASS) \
17858 clean
17859 @endif ld-bootstrap
17862 .PHONY: all-stage3-ld maybe-all-stage3-ld
17863 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
17864 maybe-all-stage3-ld:
17865 maybe-clean-stage3-ld:
17866 @if ld-bootstrap
17867 maybe-all-stage3-ld: all-stage3-ld
17868 all-stage3: all-stage3-ld
17869 TARGET-stage3-ld = $(TARGET-ld)
17870 all-stage3-ld: configure-stage3-ld
17871 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17872 @r=`${PWD_COMMAND}`; export r; \
17873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17874 $(HOST_EXPORTS) \
17875 $(POSTSTAGE1_HOST_EXPORTS) \
17876 cd $(HOST_SUBDIR)/ld && \
17877 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17878 $(TARGET-stage3-ld)
17880 maybe-clean-stage3-ld: clean-stage3-ld
17881 clean-stage3: clean-stage3-ld
17882 clean-stage3-ld:
17883 @if [ $(current_stage) = stage3 ]; then \
17884 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17885 else \
17886 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
17887 $(MAKE) stage3-start; \
17888 fi; \
17889 cd $(HOST_SUBDIR)/ld && \
17890 $(MAKE) $(FLAGS_TO_PASS) \
17891 $(POSTSTAGE1_FLAGS_TO_PASS) \
17892 clean
17893 @endif ld-bootstrap
17896 .PHONY: all-stage4-ld maybe-all-stage4-ld
17897 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
17898 maybe-all-stage4-ld:
17899 maybe-clean-stage4-ld:
17900 @if ld-bootstrap
17901 maybe-all-stage4-ld: all-stage4-ld
17902 all-stage4: all-stage4-ld
17903 TARGET-stage4-ld = $(TARGET-ld)
17904 all-stage4-ld: configure-stage4-ld
17905 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17906 @r=`${PWD_COMMAND}`; export r; \
17907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17908 $(HOST_EXPORTS) \
17909 $(POSTSTAGE1_HOST_EXPORTS) \
17910 cd $(HOST_SUBDIR)/ld && \
17911 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17912 $(TARGET-stage4-ld)
17914 maybe-clean-stage4-ld: clean-stage4-ld
17915 clean-stage4: clean-stage4-ld
17916 clean-stage4-ld:
17917 @if [ $(current_stage) = stage4 ]; then \
17918 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17919 else \
17920 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
17921 $(MAKE) stage4-start; \
17922 fi; \
17923 cd $(HOST_SUBDIR)/ld && \
17924 $(MAKE) $(FLAGS_TO_PASS) \
17925 $(POSTSTAGE1_FLAGS_TO_PASS) \
17926 clean
17927 @endif ld-bootstrap
17930 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
17931 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
17932 maybe-all-stageprofile-ld:
17933 maybe-clean-stageprofile-ld:
17934 @if ld-bootstrap
17935 maybe-all-stageprofile-ld: all-stageprofile-ld
17936 all-stageprofile: all-stageprofile-ld
17937 TARGET-stageprofile-ld = $(TARGET-ld)
17938 all-stageprofile-ld: configure-stageprofile-ld
17939 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17940 @r=`${PWD_COMMAND}`; export r; \
17941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 $(HOST_EXPORTS) \
17943 $(POSTSTAGE1_HOST_EXPORTS) \
17944 cd $(HOST_SUBDIR)/ld && \
17945 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17946 $(TARGET-stageprofile-ld)
17948 maybe-clean-stageprofile-ld: clean-stageprofile-ld
17949 clean-stageprofile: clean-stageprofile-ld
17950 clean-stageprofile-ld:
17951 @if [ $(current_stage) = stageprofile ]; then \
17952 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17953 else \
17954 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
17955 $(MAKE) stageprofile-start; \
17956 fi; \
17957 cd $(HOST_SUBDIR)/ld && \
17958 $(MAKE) $(FLAGS_TO_PASS) \
17959 $(POSTSTAGE1_FLAGS_TO_PASS) \
17960 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17961 @endif ld-bootstrap
17964 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
17965 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
17966 maybe-all-stagefeedback-ld:
17967 maybe-clean-stagefeedback-ld:
17968 @if ld-bootstrap
17969 maybe-all-stagefeedback-ld: all-stagefeedback-ld
17970 all-stagefeedback: all-stagefeedback-ld
17971 TARGET-stagefeedback-ld = $(TARGET-ld)
17972 all-stagefeedback-ld: configure-stagefeedback-ld
17973 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17974 @r=`${PWD_COMMAND}`; export r; \
17975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17976 $(HOST_EXPORTS) \
17977 $(POSTSTAGE1_HOST_EXPORTS) \
17978 cd $(HOST_SUBDIR)/ld && \
17979 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17980 $(TARGET-stagefeedback-ld)
17982 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
17983 clean-stagefeedback: clean-stagefeedback-ld
17984 clean-stagefeedback-ld:
17985 @if [ $(current_stage) = stagefeedback ]; then \
17986 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17987 else \
17988 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
17989 $(MAKE) stagefeedback-start; \
17990 fi; \
17991 cd $(HOST_SUBDIR)/ld && \
17992 $(MAKE) $(FLAGS_TO_PASS) \
17993 $(POSTSTAGE1_FLAGS_TO_PASS) \
17994 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17995 @endif ld-bootstrap
18001 .PHONY: check-ld maybe-check-ld
18002 maybe-check-ld:
18003 @if ld
18004 maybe-check-ld: check-ld
18006 check-ld:
18007 @: $(MAKE); $(unstage)
18008 @r=`${PWD_COMMAND}`; export r; \
18009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18010 $(HOST_EXPORTS) \
18011 (cd $(HOST_SUBDIR)/ld && \
18012 $(MAKE) $(FLAGS_TO_PASS) check)
18014 @endif ld
18016 .PHONY: install-ld maybe-install-ld
18017 maybe-install-ld:
18018 @if ld
18019 maybe-install-ld: install-ld
18021 install-ld: installdirs
18022 @: $(MAKE); $(unstage)
18023 @r=`${PWD_COMMAND}`; export r; \
18024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18025 $(HOST_EXPORTS) \
18026 (cd $(HOST_SUBDIR)/ld && \
18027 $(MAKE) $(FLAGS_TO_PASS) install)
18029 @endif ld
18031 # Other targets (info, dvi, pdf, etc.)
18033 .PHONY: maybe-info-ld info-ld
18034 maybe-info-ld:
18035 @if ld
18036 maybe-info-ld: info-ld
18038 info-ld: \
18039 configure-ld
18040 @[ -f ./ld/Makefile ] || exit 0; \
18041 r=`${PWD_COMMAND}`; export r; \
18042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18043 $(HOST_EXPORTS) \
18044 for flag in $(EXTRA_HOST_FLAGS) ; do \
18045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18046 done; \
18047 echo "Doing info in ld" ; \
18048 (cd $(HOST_SUBDIR)/ld && \
18049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18051 "RANLIB=$${RANLIB}" \
18052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18053 info) \
18054 || exit 1
18056 @endif ld
18058 .PHONY: maybe-dvi-ld dvi-ld
18059 maybe-dvi-ld:
18060 @if ld
18061 maybe-dvi-ld: dvi-ld
18063 dvi-ld: \
18064 configure-ld
18065 @[ -f ./ld/Makefile ] || exit 0; \
18066 r=`${PWD_COMMAND}`; export r; \
18067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18068 $(HOST_EXPORTS) \
18069 for flag in $(EXTRA_HOST_FLAGS) ; do \
18070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18071 done; \
18072 echo "Doing dvi in ld" ; \
18073 (cd $(HOST_SUBDIR)/ld && \
18074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18076 "RANLIB=$${RANLIB}" \
18077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18078 dvi) \
18079 || exit 1
18081 @endif ld
18083 .PHONY: maybe-pdf-ld pdf-ld
18084 maybe-pdf-ld:
18085 @if ld
18086 maybe-pdf-ld: pdf-ld
18088 pdf-ld: \
18089 configure-ld
18090 @[ -f ./ld/Makefile ] || exit 0; \
18091 r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18093 $(HOST_EXPORTS) \
18094 for flag in $(EXTRA_HOST_FLAGS) ; do \
18095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18096 done; \
18097 echo "Doing pdf in ld" ; \
18098 (cd $(HOST_SUBDIR)/ld && \
18099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18101 "RANLIB=$${RANLIB}" \
18102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18103 pdf) \
18104 || exit 1
18106 @endif ld
18108 .PHONY: maybe-html-ld html-ld
18109 maybe-html-ld:
18110 @if ld
18111 maybe-html-ld: html-ld
18113 html-ld: \
18114 configure-ld
18115 @[ -f ./ld/Makefile ] || exit 0; \
18116 r=`${PWD_COMMAND}`; export r; \
18117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18118 $(HOST_EXPORTS) \
18119 for flag in $(EXTRA_HOST_FLAGS) ; do \
18120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18121 done; \
18122 echo "Doing html in ld" ; \
18123 (cd $(HOST_SUBDIR)/ld && \
18124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18126 "RANLIB=$${RANLIB}" \
18127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18128 html) \
18129 || exit 1
18131 @endif ld
18133 .PHONY: maybe-TAGS-ld TAGS-ld
18134 maybe-TAGS-ld:
18135 @if ld
18136 maybe-TAGS-ld: TAGS-ld
18138 TAGS-ld: \
18139 configure-ld
18140 @[ -f ./ld/Makefile ] || exit 0; \
18141 r=`${PWD_COMMAND}`; export r; \
18142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18143 $(HOST_EXPORTS) \
18144 for flag in $(EXTRA_HOST_FLAGS) ; do \
18145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18146 done; \
18147 echo "Doing TAGS in ld" ; \
18148 (cd $(HOST_SUBDIR)/ld && \
18149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18151 "RANLIB=$${RANLIB}" \
18152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18153 TAGS) \
18154 || exit 1
18156 @endif ld
18158 .PHONY: maybe-install-info-ld install-info-ld
18159 maybe-install-info-ld:
18160 @if ld
18161 maybe-install-info-ld: install-info-ld
18163 install-info-ld: \
18164 configure-ld \
18165 info-ld
18166 @[ -f ./ld/Makefile ] || exit 0; \
18167 r=`${PWD_COMMAND}`; export r; \
18168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18169 $(HOST_EXPORTS) \
18170 for flag in $(EXTRA_HOST_FLAGS) ; do \
18171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18172 done; \
18173 echo "Doing install-info in ld" ; \
18174 (cd $(HOST_SUBDIR)/ld && \
18175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18177 "RANLIB=$${RANLIB}" \
18178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18179 install-info) \
18180 || exit 1
18182 @endif ld
18184 .PHONY: maybe-install-html-ld install-html-ld
18185 maybe-install-html-ld:
18186 @if ld
18187 maybe-install-html-ld: install-html-ld
18189 install-html-ld: \
18190 configure-ld \
18191 html-ld
18192 @[ -f ./ld/Makefile ] || exit 0; \
18193 r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18195 $(HOST_EXPORTS) \
18196 for flag in $(EXTRA_HOST_FLAGS) ; do \
18197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18198 done; \
18199 echo "Doing install-html in ld" ; \
18200 (cd $(HOST_SUBDIR)/ld && \
18201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18203 "RANLIB=$${RANLIB}" \
18204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18205 install-html) \
18206 || exit 1
18208 @endif ld
18210 .PHONY: maybe-installcheck-ld installcheck-ld
18211 maybe-installcheck-ld:
18212 @if ld
18213 maybe-installcheck-ld: installcheck-ld
18215 installcheck-ld: \
18216 configure-ld
18217 @[ -f ./ld/Makefile ] || exit 0; \
18218 r=`${PWD_COMMAND}`; export r; \
18219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18220 $(HOST_EXPORTS) \
18221 for flag in $(EXTRA_HOST_FLAGS) ; do \
18222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18223 done; \
18224 echo "Doing installcheck in ld" ; \
18225 (cd $(HOST_SUBDIR)/ld && \
18226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18228 "RANLIB=$${RANLIB}" \
18229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18230 installcheck) \
18231 || exit 1
18233 @endif ld
18235 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
18236 maybe-mostlyclean-ld:
18237 @if ld
18238 maybe-mostlyclean-ld: mostlyclean-ld
18240 mostlyclean-ld:
18241 @[ -f ./ld/Makefile ] || exit 0; \
18242 r=`${PWD_COMMAND}`; export r; \
18243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244 $(HOST_EXPORTS) \
18245 for flag in $(EXTRA_HOST_FLAGS) ; do \
18246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18247 done; \
18248 echo "Doing mostlyclean in ld" ; \
18249 (cd $(HOST_SUBDIR)/ld && \
18250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18252 "RANLIB=$${RANLIB}" \
18253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18254 mostlyclean) \
18255 || exit 1
18257 @endif ld
18259 .PHONY: maybe-clean-ld clean-ld
18260 maybe-clean-ld:
18261 @if ld
18262 maybe-clean-ld: clean-ld
18264 clean-ld:
18265 @[ -f ./ld/Makefile ] || exit 0; \
18266 r=`${PWD_COMMAND}`; export r; \
18267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18268 $(HOST_EXPORTS) \
18269 for flag in $(EXTRA_HOST_FLAGS) ; do \
18270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18271 done; \
18272 echo "Doing clean in ld" ; \
18273 (cd $(HOST_SUBDIR)/ld && \
18274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18276 "RANLIB=$${RANLIB}" \
18277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18278 clean) \
18279 || exit 1
18281 @endif ld
18283 .PHONY: maybe-distclean-ld distclean-ld
18284 maybe-distclean-ld:
18285 @if ld
18286 maybe-distclean-ld: distclean-ld
18288 distclean-ld:
18289 @[ -f ./ld/Makefile ] || exit 0; \
18290 r=`${PWD_COMMAND}`; export r; \
18291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18292 $(HOST_EXPORTS) \
18293 for flag in $(EXTRA_HOST_FLAGS) ; do \
18294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18295 done; \
18296 echo "Doing distclean in ld" ; \
18297 (cd $(HOST_SUBDIR)/ld && \
18298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18300 "RANLIB=$${RANLIB}" \
18301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18302 distclean) \
18303 || exit 1
18305 @endif ld
18307 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
18308 maybe-maintainer-clean-ld:
18309 @if ld
18310 maybe-maintainer-clean-ld: maintainer-clean-ld
18312 maintainer-clean-ld:
18313 @[ -f ./ld/Makefile ] || exit 0; \
18314 r=`${PWD_COMMAND}`; export r; \
18315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18316 $(HOST_EXPORTS) \
18317 for flag in $(EXTRA_HOST_FLAGS) ; do \
18318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18319 done; \
18320 echo "Doing maintainer-clean in ld" ; \
18321 (cd $(HOST_SUBDIR)/ld && \
18322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18324 "RANLIB=$${RANLIB}" \
18325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18326 maintainer-clean) \
18327 || exit 1
18329 @endif ld
18333 .PHONY: configure-libcpp maybe-configure-libcpp
18334 maybe-configure-libcpp:
18335 @if gcc-bootstrap
18336 configure-libcpp: stage_current
18337 @endif gcc-bootstrap
18338 @if libcpp
18339 maybe-configure-libcpp: configure-libcpp
18340 configure-libcpp:
18341 @r=`${PWD_COMMAND}`; export r; \
18342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18343 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18345 $(HOST_EXPORTS) \
18346 echo Configuring in $(HOST_SUBDIR)/libcpp; \
18347 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
18348 case $(srcdir) in \
18349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18350 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18352 esac; \
18353 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18354 libsrcdir="$$s/libcpp"; \
18355 $(SHELL) $${libsrcdir}/configure \
18356 $(HOST_CONFIGARGS) $${srcdiroption} \
18357 || exit 1
18358 @endif libcpp
18362 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
18363 maybe-configure-stage1-libcpp:
18364 @if libcpp-bootstrap
18365 maybe-configure-stage1-libcpp: configure-stage1-libcpp
18366 configure-stage1-libcpp:
18367 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18368 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18369 @r=`${PWD_COMMAND}`; export r; \
18370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18371 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18372 $(HOST_EXPORTS) \
18373 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
18374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18375 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18376 case $(srcdir) in \
18377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18378 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18380 esac; \
18381 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18382 libsrcdir="$$s/libcpp"; \
18383 $(SHELL) $${libsrcdir}/configure \
18384 $(HOST_CONFIGARGS) $${srcdiroption} \
18386 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18387 @endif libcpp-bootstrap
18389 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
18390 maybe-configure-stage2-libcpp:
18391 @if libcpp-bootstrap
18392 maybe-configure-stage2-libcpp: configure-stage2-libcpp
18393 configure-stage2-libcpp:
18394 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18395 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18396 @r=`${PWD_COMMAND}`; export r; \
18397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18398 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18399 $(HOST_EXPORTS) \
18400 $(POSTSTAGE1_HOST_EXPORTS) \
18401 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
18402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18403 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18404 case $(srcdir) in \
18405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18406 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18408 esac; \
18409 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18410 libsrcdir="$$s/libcpp"; \
18411 $(SHELL) $${libsrcdir}/configure \
18412 $(HOST_CONFIGARGS) $${srcdiroption} \
18413 --with-build-libsubdir=$(HOST_SUBDIR) \
18414 @stage2_werror_flag@
18415 @endif libcpp-bootstrap
18417 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
18418 maybe-configure-stage3-libcpp:
18419 @if libcpp-bootstrap
18420 maybe-configure-stage3-libcpp: configure-stage3-libcpp
18421 configure-stage3-libcpp:
18422 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18424 @r=`${PWD_COMMAND}`; export r; \
18425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18426 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18427 $(HOST_EXPORTS) \
18428 $(POSTSTAGE1_HOST_EXPORTS) \
18429 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
18430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18431 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18432 case $(srcdir) in \
18433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18434 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18436 esac; \
18437 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18438 libsrcdir="$$s/libcpp"; \
18439 $(SHELL) $${libsrcdir}/configure \
18440 $(HOST_CONFIGARGS) $${srcdiroption} \
18441 --with-build-libsubdir=$(HOST_SUBDIR) \
18442 @stage2_werror_flag@
18443 @endif libcpp-bootstrap
18445 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
18446 maybe-configure-stage4-libcpp:
18447 @if libcpp-bootstrap
18448 maybe-configure-stage4-libcpp: configure-stage4-libcpp
18449 configure-stage4-libcpp:
18450 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18451 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18452 @r=`${PWD_COMMAND}`; export r; \
18453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18454 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18455 $(HOST_EXPORTS) \
18456 $(POSTSTAGE1_HOST_EXPORTS) \
18457 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
18458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18459 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18460 case $(srcdir) in \
18461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18462 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18464 esac; \
18465 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18466 libsrcdir="$$s/libcpp"; \
18467 $(SHELL) $${libsrcdir}/configure \
18468 $(HOST_CONFIGARGS) $${srcdiroption} \
18469 --with-build-libsubdir=$(HOST_SUBDIR) \
18470 @stage2_werror_flag@
18471 @endif libcpp-bootstrap
18473 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
18474 maybe-configure-stageprofile-libcpp:
18475 @if libcpp-bootstrap
18476 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
18477 configure-stageprofile-libcpp:
18478 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18480 @r=`${PWD_COMMAND}`; export r; \
18481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18482 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18483 $(HOST_EXPORTS) \
18484 $(POSTSTAGE1_HOST_EXPORTS) \
18485 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
18486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18487 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18488 case $(srcdir) in \
18489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18490 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18492 esac; \
18493 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18494 libsrcdir="$$s/libcpp"; \
18495 $(SHELL) $${libsrcdir}/configure \
18496 $(HOST_CONFIGARGS) $${srcdiroption} \
18497 --with-build-libsubdir=$(HOST_SUBDIR) \
18498 @stage2_werror_flag@
18499 @endif libcpp-bootstrap
18501 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
18502 maybe-configure-stagefeedback-libcpp:
18503 @if libcpp-bootstrap
18504 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
18505 configure-stagefeedback-libcpp:
18506 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18508 @r=`${PWD_COMMAND}`; export r; \
18509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18510 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18511 $(HOST_EXPORTS) \
18512 $(POSTSTAGE1_HOST_EXPORTS) \
18513 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
18514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18515 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18516 case $(srcdir) in \
18517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18518 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18520 esac; \
18521 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18522 libsrcdir="$$s/libcpp"; \
18523 $(SHELL) $${libsrcdir}/configure \
18524 $(HOST_CONFIGARGS) $${srcdiroption} \
18525 --with-build-libsubdir=$(HOST_SUBDIR) \
18526 @stage2_werror_flag@
18527 @endif libcpp-bootstrap
18533 .PHONY: all-libcpp maybe-all-libcpp
18534 maybe-all-libcpp:
18535 @if gcc-bootstrap
18536 all-libcpp: stage_current
18537 @endif gcc-bootstrap
18538 @if libcpp
18539 TARGET-libcpp=all
18540 maybe-all-libcpp: all-libcpp
18541 all-libcpp: configure-libcpp
18542 @r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 $(HOST_EXPORTS) \
18545 (cd $(HOST_SUBDIR)/libcpp && \
18546 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
18547 @endif libcpp
18551 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
18552 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
18553 maybe-all-stage1-libcpp:
18554 maybe-clean-stage1-libcpp:
18555 @if libcpp-bootstrap
18556 maybe-all-stage1-libcpp: all-stage1-libcpp
18557 all-stage1: all-stage1-libcpp
18558 TARGET-stage1-libcpp = $(TARGET-libcpp)
18559 all-stage1-libcpp: configure-stage1-libcpp
18560 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18561 @r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18563 $(HOST_EXPORTS) \
18564 cd $(HOST_SUBDIR)/libcpp && \
18565 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18566 $(TARGET-stage1-libcpp)
18568 maybe-clean-stage1-libcpp: clean-stage1-libcpp
18569 clean-stage1: clean-stage1-libcpp
18570 clean-stage1-libcpp:
18571 @if [ $(current_stage) = stage1 ]; then \
18572 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18573 else \
18574 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
18575 $(MAKE) stage1-start; \
18576 fi; \
18577 cd $(HOST_SUBDIR)/libcpp && \
18578 $(MAKE) $(FLAGS_TO_PASS) \
18579 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18580 @endif libcpp-bootstrap
18583 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
18584 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
18585 maybe-all-stage2-libcpp:
18586 maybe-clean-stage2-libcpp:
18587 @if libcpp-bootstrap
18588 maybe-all-stage2-libcpp: all-stage2-libcpp
18589 all-stage2: all-stage2-libcpp
18590 TARGET-stage2-libcpp = $(TARGET-libcpp)
18591 all-stage2-libcpp: configure-stage2-libcpp
18592 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18593 @r=`${PWD_COMMAND}`; export r; \
18594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18595 $(HOST_EXPORTS) \
18596 $(POSTSTAGE1_HOST_EXPORTS) \
18597 cd $(HOST_SUBDIR)/libcpp && \
18598 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18599 $(TARGET-stage2-libcpp)
18601 maybe-clean-stage2-libcpp: clean-stage2-libcpp
18602 clean-stage2: clean-stage2-libcpp
18603 clean-stage2-libcpp:
18604 @if [ $(current_stage) = stage2 ]; then \
18605 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18606 else \
18607 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
18608 $(MAKE) stage2-start; \
18609 fi; \
18610 cd $(HOST_SUBDIR)/libcpp && \
18611 $(MAKE) $(FLAGS_TO_PASS) \
18612 $(POSTSTAGE1_FLAGS_TO_PASS) \
18613 clean
18614 @endif libcpp-bootstrap
18617 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
18618 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
18619 maybe-all-stage3-libcpp:
18620 maybe-clean-stage3-libcpp:
18621 @if libcpp-bootstrap
18622 maybe-all-stage3-libcpp: all-stage3-libcpp
18623 all-stage3: all-stage3-libcpp
18624 TARGET-stage3-libcpp = $(TARGET-libcpp)
18625 all-stage3-libcpp: configure-stage3-libcpp
18626 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18627 @r=`${PWD_COMMAND}`; export r; \
18628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18629 $(HOST_EXPORTS) \
18630 $(POSTSTAGE1_HOST_EXPORTS) \
18631 cd $(HOST_SUBDIR)/libcpp && \
18632 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18633 $(TARGET-stage3-libcpp)
18635 maybe-clean-stage3-libcpp: clean-stage3-libcpp
18636 clean-stage3: clean-stage3-libcpp
18637 clean-stage3-libcpp:
18638 @if [ $(current_stage) = stage3 ]; then \
18639 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18640 else \
18641 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
18642 $(MAKE) stage3-start; \
18643 fi; \
18644 cd $(HOST_SUBDIR)/libcpp && \
18645 $(MAKE) $(FLAGS_TO_PASS) \
18646 $(POSTSTAGE1_FLAGS_TO_PASS) \
18647 clean
18648 @endif libcpp-bootstrap
18651 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
18652 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
18653 maybe-all-stage4-libcpp:
18654 maybe-clean-stage4-libcpp:
18655 @if libcpp-bootstrap
18656 maybe-all-stage4-libcpp: all-stage4-libcpp
18657 all-stage4: all-stage4-libcpp
18658 TARGET-stage4-libcpp = $(TARGET-libcpp)
18659 all-stage4-libcpp: configure-stage4-libcpp
18660 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18661 @r=`${PWD_COMMAND}`; export r; \
18662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18663 $(HOST_EXPORTS) \
18664 $(POSTSTAGE1_HOST_EXPORTS) \
18665 cd $(HOST_SUBDIR)/libcpp && \
18666 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18667 $(TARGET-stage4-libcpp)
18669 maybe-clean-stage4-libcpp: clean-stage4-libcpp
18670 clean-stage4: clean-stage4-libcpp
18671 clean-stage4-libcpp:
18672 @if [ $(current_stage) = stage4 ]; then \
18673 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18674 else \
18675 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
18676 $(MAKE) stage4-start; \
18677 fi; \
18678 cd $(HOST_SUBDIR)/libcpp && \
18679 $(MAKE) $(FLAGS_TO_PASS) \
18680 $(POSTSTAGE1_FLAGS_TO_PASS) \
18681 clean
18682 @endif libcpp-bootstrap
18685 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
18686 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
18687 maybe-all-stageprofile-libcpp:
18688 maybe-clean-stageprofile-libcpp:
18689 @if libcpp-bootstrap
18690 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
18691 all-stageprofile: all-stageprofile-libcpp
18692 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
18693 all-stageprofile-libcpp: configure-stageprofile-libcpp
18694 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18695 @r=`${PWD_COMMAND}`; export r; \
18696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18697 $(HOST_EXPORTS) \
18698 $(POSTSTAGE1_HOST_EXPORTS) \
18699 cd $(HOST_SUBDIR)/libcpp && \
18700 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18701 $(TARGET-stageprofile-libcpp)
18703 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
18704 clean-stageprofile: clean-stageprofile-libcpp
18705 clean-stageprofile-libcpp:
18706 @if [ $(current_stage) = stageprofile ]; then \
18707 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18708 else \
18709 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
18710 $(MAKE) stageprofile-start; \
18711 fi; \
18712 cd $(HOST_SUBDIR)/libcpp && \
18713 $(MAKE) $(FLAGS_TO_PASS) \
18714 $(POSTSTAGE1_FLAGS_TO_PASS) \
18715 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18716 @endif libcpp-bootstrap
18719 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
18720 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
18721 maybe-all-stagefeedback-libcpp:
18722 maybe-clean-stagefeedback-libcpp:
18723 @if libcpp-bootstrap
18724 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
18725 all-stagefeedback: all-stagefeedback-libcpp
18726 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
18727 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
18728 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18729 @r=`${PWD_COMMAND}`; export r; \
18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 $(HOST_EXPORTS) \
18732 $(POSTSTAGE1_HOST_EXPORTS) \
18733 cd $(HOST_SUBDIR)/libcpp && \
18734 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18735 $(TARGET-stagefeedback-libcpp)
18737 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
18738 clean-stagefeedback: clean-stagefeedback-libcpp
18739 clean-stagefeedback-libcpp:
18740 @if [ $(current_stage) = stagefeedback ]; then \
18741 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18742 else \
18743 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
18744 $(MAKE) stagefeedback-start; \
18745 fi; \
18746 cd $(HOST_SUBDIR)/libcpp && \
18747 $(MAKE) $(FLAGS_TO_PASS) \
18748 $(POSTSTAGE1_FLAGS_TO_PASS) \
18749 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18750 @endif libcpp-bootstrap
18756 .PHONY: check-libcpp maybe-check-libcpp
18757 maybe-check-libcpp:
18758 @if libcpp
18759 maybe-check-libcpp: check-libcpp
18761 check-libcpp:
18762 @: $(MAKE); $(unstage)
18763 @r=`${PWD_COMMAND}`; export r; \
18764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18765 $(HOST_EXPORTS) \
18766 (cd $(HOST_SUBDIR)/libcpp && \
18767 $(MAKE) $(FLAGS_TO_PASS) check)
18769 @endif libcpp
18771 .PHONY: install-libcpp maybe-install-libcpp
18772 maybe-install-libcpp:
18773 @if libcpp
18774 maybe-install-libcpp: install-libcpp
18776 install-libcpp: installdirs
18777 @: $(MAKE); $(unstage)
18778 @r=`${PWD_COMMAND}`; export r; \
18779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 $(HOST_EXPORTS) \
18781 (cd $(HOST_SUBDIR)/libcpp && \
18782 $(MAKE) $(FLAGS_TO_PASS) install)
18784 @endif libcpp
18786 # Other targets (info, dvi, pdf, etc.)
18788 .PHONY: maybe-info-libcpp info-libcpp
18789 maybe-info-libcpp:
18790 @if libcpp
18791 maybe-info-libcpp: info-libcpp
18793 info-libcpp: \
18794 configure-libcpp
18795 @[ -f ./libcpp/Makefile ] || exit 0; \
18796 r=`${PWD_COMMAND}`; export r; \
18797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18798 $(HOST_EXPORTS) \
18799 for flag in $(EXTRA_HOST_FLAGS) ; do \
18800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18801 done; \
18802 echo "Doing info in libcpp" ; \
18803 (cd $(HOST_SUBDIR)/libcpp && \
18804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18806 "RANLIB=$${RANLIB}" \
18807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18808 info) \
18809 || exit 1
18811 @endif libcpp
18813 .PHONY: maybe-dvi-libcpp dvi-libcpp
18814 maybe-dvi-libcpp:
18815 @if libcpp
18816 maybe-dvi-libcpp: dvi-libcpp
18818 dvi-libcpp: \
18819 configure-libcpp
18820 @[ -f ./libcpp/Makefile ] || exit 0; \
18821 r=`${PWD_COMMAND}`; export r; \
18822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18823 $(HOST_EXPORTS) \
18824 for flag in $(EXTRA_HOST_FLAGS) ; do \
18825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18826 done; \
18827 echo "Doing dvi in libcpp" ; \
18828 (cd $(HOST_SUBDIR)/libcpp && \
18829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18831 "RANLIB=$${RANLIB}" \
18832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18833 dvi) \
18834 || exit 1
18836 @endif libcpp
18838 .PHONY: maybe-pdf-libcpp pdf-libcpp
18839 maybe-pdf-libcpp:
18840 @if libcpp
18841 maybe-pdf-libcpp: pdf-libcpp
18843 pdf-libcpp: \
18844 configure-libcpp
18845 @[ -f ./libcpp/Makefile ] || exit 0; \
18846 r=`${PWD_COMMAND}`; export r; \
18847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18848 $(HOST_EXPORTS) \
18849 for flag in $(EXTRA_HOST_FLAGS) ; do \
18850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18851 done; \
18852 echo "Doing pdf in libcpp" ; \
18853 (cd $(HOST_SUBDIR)/libcpp && \
18854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18856 "RANLIB=$${RANLIB}" \
18857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18858 pdf) \
18859 || exit 1
18861 @endif libcpp
18863 .PHONY: maybe-html-libcpp html-libcpp
18864 maybe-html-libcpp:
18865 @if libcpp
18866 maybe-html-libcpp: html-libcpp
18868 html-libcpp: \
18869 configure-libcpp
18870 @[ -f ./libcpp/Makefile ] || exit 0; \
18871 r=`${PWD_COMMAND}`; export r; \
18872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18873 $(HOST_EXPORTS) \
18874 for flag in $(EXTRA_HOST_FLAGS) ; do \
18875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18876 done; \
18877 echo "Doing html in libcpp" ; \
18878 (cd $(HOST_SUBDIR)/libcpp && \
18879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18881 "RANLIB=$${RANLIB}" \
18882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18883 html) \
18884 || exit 1
18886 @endif libcpp
18888 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
18889 maybe-TAGS-libcpp:
18890 @if libcpp
18891 maybe-TAGS-libcpp: TAGS-libcpp
18893 TAGS-libcpp: \
18894 configure-libcpp
18895 @[ -f ./libcpp/Makefile ] || exit 0; \
18896 r=`${PWD_COMMAND}`; export r; \
18897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18898 $(HOST_EXPORTS) \
18899 for flag in $(EXTRA_HOST_FLAGS) ; do \
18900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18901 done; \
18902 echo "Doing TAGS in libcpp" ; \
18903 (cd $(HOST_SUBDIR)/libcpp && \
18904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18906 "RANLIB=$${RANLIB}" \
18907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18908 TAGS) \
18909 || exit 1
18911 @endif libcpp
18913 .PHONY: maybe-install-info-libcpp install-info-libcpp
18914 maybe-install-info-libcpp:
18915 @if libcpp
18916 maybe-install-info-libcpp: install-info-libcpp
18918 install-info-libcpp: \
18919 configure-libcpp \
18920 info-libcpp
18921 @[ -f ./libcpp/Makefile ] || exit 0; \
18922 r=`${PWD_COMMAND}`; export r; \
18923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18924 $(HOST_EXPORTS) \
18925 for flag in $(EXTRA_HOST_FLAGS) ; do \
18926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18927 done; \
18928 echo "Doing install-info in libcpp" ; \
18929 (cd $(HOST_SUBDIR)/libcpp && \
18930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18932 "RANLIB=$${RANLIB}" \
18933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18934 install-info) \
18935 || exit 1
18937 @endif libcpp
18939 .PHONY: maybe-install-html-libcpp install-html-libcpp
18940 maybe-install-html-libcpp:
18941 @if libcpp
18942 maybe-install-html-libcpp: install-html-libcpp
18944 install-html-libcpp: \
18945 configure-libcpp \
18946 html-libcpp
18947 @[ -f ./libcpp/Makefile ] || exit 0; \
18948 r=`${PWD_COMMAND}`; export r; \
18949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18950 $(HOST_EXPORTS) \
18951 for flag in $(EXTRA_HOST_FLAGS) ; do \
18952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18953 done; \
18954 echo "Doing install-html in libcpp" ; \
18955 (cd $(HOST_SUBDIR)/libcpp && \
18956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18958 "RANLIB=$${RANLIB}" \
18959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18960 install-html) \
18961 || exit 1
18963 @endif libcpp
18965 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
18966 maybe-installcheck-libcpp:
18967 @if libcpp
18968 maybe-installcheck-libcpp: installcheck-libcpp
18970 installcheck-libcpp: \
18971 configure-libcpp
18972 @[ -f ./libcpp/Makefile ] || exit 0; \
18973 r=`${PWD_COMMAND}`; export r; \
18974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18975 $(HOST_EXPORTS) \
18976 for flag in $(EXTRA_HOST_FLAGS) ; do \
18977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18978 done; \
18979 echo "Doing installcheck in libcpp" ; \
18980 (cd $(HOST_SUBDIR)/libcpp && \
18981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18983 "RANLIB=$${RANLIB}" \
18984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18985 installcheck) \
18986 || exit 1
18988 @endif libcpp
18990 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
18991 maybe-mostlyclean-libcpp:
18992 @if libcpp
18993 maybe-mostlyclean-libcpp: mostlyclean-libcpp
18995 mostlyclean-libcpp:
18996 @[ -f ./libcpp/Makefile ] || exit 0; \
18997 r=`${PWD_COMMAND}`; export r; \
18998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18999 $(HOST_EXPORTS) \
19000 for flag in $(EXTRA_HOST_FLAGS) ; do \
19001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19002 done; \
19003 echo "Doing mostlyclean in libcpp" ; \
19004 (cd $(HOST_SUBDIR)/libcpp && \
19005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19007 "RANLIB=$${RANLIB}" \
19008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19009 mostlyclean) \
19010 || exit 1
19012 @endif libcpp
19014 .PHONY: maybe-clean-libcpp clean-libcpp
19015 maybe-clean-libcpp:
19016 @if libcpp
19017 maybe-clean-libcpp: clean-libcpp
19019 clean-libcpp:
19020 @[ -f ./libcpp/Makefile ] || exit 0; \
19021 r=`${PWD_COMMAND}`; export r; \
19022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19023 $(HOST_EXPORTS) \
19024 for flag in $(EXTRA_HOST_FLAGS) ; do \
19025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19026 done; \
19027 echo "Doing clean in libcpp" ; \
19028 (cd $(HOST_SUBDIR)/libcpp && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19031 "RANLIB=$${RANLIB}" \
19032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19033 clean) \
19034 || exit 1
19036 @endif libcpp
19038 .PHONY: maybe-distclean-libcpp distclean-libcpp
19039 maybe-distclean-libcpp:
19040 @if libcpp
19041 maybe-distclean-libcpp: distclean-libcpp
19043 distclean-libcpp:
19044 @[ -f ./libcpp/Makefile ] || exit 0; \
19045 r=`${PWD_COMMAND}`; export r; \
19046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19047 $(HOST_EXPORTS) \
19048 for flag in $(EXTRA_HOST_FLAGS) ; do \
19049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19050 done; \
19051 echo "Doing distclean in libcpp" ; \
19052 (cd $(HOST_SUBDIR)/libcpp && \
19053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19055 "RANLIB=$${RANLIB}" \
19056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19057 distclean) \
19058 || exit 1
19060 @endif libcpp
19062 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
19063 maybe-maintainer-clean-libcpp:
19064 @if libcpp
19065 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
19067 maintainer-clean-libcpp:
19068 @[ -f ./libcpp/Makefile ] || exit 0; \
19069 r=`${PWD_COMMAND}`; export r; \
19070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19071 $(HOST_EXPORTS) \
19072 for flag in $(EXTRA_HOST_FLAGS) ; do \
19073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19074 done; \
19075 echo "Doing maintainer-clean in libcpp" ; \
19076 (cd $(HOST_SUBDIR)/libcpp && \
19077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19079 "RANLIB=$${RANLIB}" \
19080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19081 maintainer-clean) \
19082 || exit 1
19084 @endif libcpp
19088 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
19089 maybe-configure-libdecnumber:
19090 @if gcc-bootstrap
19091 configure-libdecnumber: stage_current
19092 @endif gcc-bootstrap
19093 @if libdecnumber
19094 maybe-configure-libdecnumber: configure-libdecnumber
19095 configure-libdecnumber:
19096 @r=`${PWD_COMMAND}`; export r; \
19097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19098 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19100 $(HOST_EXPORTS) \
19101 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
19102 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
19103 case $(srcdir) in \
19104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19105 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19107 esac; \
19108 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19109 libsrcdir="$$s/libdecnumber"; \
19110 $(SHELL) $${libsrcdir}/configure \
19111 $(HOST_CONFIGARGS) $${srcdiroption} \
19112 || exit 1
19113 @endif libdecnumber
19117 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
19118 maybe-configure-stage1-libdecnumber:
19119 @if libdecnumber-bootstrap
19120 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
19121 configure-stage1-libdecnumber:
19122 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19124 @r=`${PWD_COMMAND}`; export r; \
19125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19126 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19127 $(HOST_EXPORTS) \
19128 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
19129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19130 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19131 case $(srcdir) in \
19132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19133 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19135 esac; \
19136 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19137 libsrcdir="$$s/libdecnumber"; \
19138 $(SHELL) $${libsrcdir}/configure \
19139 $(HOST_CONFIGARGS) $${srcdiroption} \
19141 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19142 @endif libdecnumber-bootstrap
19144 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
19145 maybe-configure-stage2-libdecnumber:
19146 @if libdecnumber-bootstrap
19147 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
19148 configure-stage2-libdecnumber:
19149 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19151 @r=`${PWD_COMMAND}`; export r; \
19152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19153 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19154 $(HOST_EXPORTS) \
19155 $(POSTSTAGE1_HOST_EXPORTS) \
19156 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
19157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19158 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19159 case $(srcdir) in \
19160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19161 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19163 esac; \
19164 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19165 libsrcdir="$$s/libdecnumber"; \
19166 $(SHELL) $${libsrcdir}/configure \
19167 $(HOST_CONFIGARGS) $${srcdiroption} \
19168 --with-build-libsubdir=$(HOST_SUBDIR) \
19169 @stage2_werror_flag@
19170 @endif libdecnumber-bootstrap
19172 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
19173 maybe-configure-stage3-libdecnumber:
19174 @if libdecnumber-bootstrap
19175 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
19176 configure-stage3-libdecnumber:
19177 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19178 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19179 @r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19182 $(HOST_EXPORTS) \
19183 $(POSTSTAGE1_HOST_EXPORTS) \
19184 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
19185 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19186 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19187 case $(srcdir) in \
19188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19189 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19191 esac; \
19192 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19193 libsrcdir="$$s/libdecnumber"; \
19194 $(SHELL) $${libsrcdir}/configure \
19195 $(HOST_CONFIGARGS) $${srcdiroption} \
19196 --with-build-libsubdir=$(HOST_SUBDIR) \
19197 @stage2_werror_flag@
19198 @endif libdecnumber-bootstrap
19200 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
19201 maybe-configure-stage4-libdecnumber:
19202 @if libdecnumber-bootstrap
19203 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
19204 configure-stage4-libdecnumber:
19205 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19206 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19207 @r=`${PWD_COMMAND}`; export r; \
19208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19209 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19210 $(HOST_EXPORTS) \
19211 $(POSTSTAGE1_HOST_EXPORTS) \
19212 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
19213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19214 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19215 case $(srcdir) in \
19216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19217 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19219 esac; \
19220 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19221 libsrcdir="$$s/libdecnumber"; \
19222 $(SHELL) $${libsrcdir}/configure \
19223 $(HOST_CONFIGARGS) $${srcdiroption} \
19224 --with-build-libsubdir=$(HOST_SUBDIR) \
19225 @stage2_werror_flag@
19226 @endif libdecnumber-bootstrap
19228 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
19229 maybe-configure-stageprofile-libdecnumber:
19230 @if libdecnumber-bootstrap
19231 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19232 configure-stageprofile-libdecnumber:
19233 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19235 @r=`${PWD_COMMAND}`; export r; \
19236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19237 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19238 $(HOST_EXPORTS) \
19239 $(POSTSTAGE1_HOST_EXPORTS) \
19240 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
19241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19242 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19243 case $(srcdir) in \
19244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19245 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19247 esac; \
19248 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19249 libsrcdir="$$s/libdecnumber"; \
19250 $(SHELL) $${libsrcdir}/configure \
19251 $(HOST_CONFIGARGS) $${srcdiroption} \
19252 --with-build-libsubdir=$(HOST_SUBDIR) \
19253 @stage2_werror_flag@
19254 @endif libdecnumber-bootstrap
19256 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
19257 maybe-configure-stagefeedback-libdecnumber:
19258 @if libdecnumber-bootstrap
19259 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19260 configure-stagefeedback-libdecnumber:
19261 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19262 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19263 @r=`${PWD_COMMAND}`; export r; \
19264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19265 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19266 $(HOST_EXPORTS) \
19267 $(POSTSTAGE1_HOST_EXPORTS) \
19268 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
19269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19270 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19271 case $(srcdir) in \
19272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19273 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19275 esac; \
19276 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19277 libsrcdir="$$s/libdecnumber"; \
19278 $(SHELL) $${libsrcdir}/configure \
19279 $(HOST_CONFIGARGS) $${srcdiroption} \
19280 --with-build-libsubdir=$(HOST_SUBDIR) \
19281 @stage2_werror_flag@
19282 @endif libdecnumber-bootstrap
19288 .PHONY: all-libdecnumber maybe-all-libdecnumber
19289 maybe-all-libdecnumber:
19290 @if gcc-bootstrap
19291 all-libdecnumber: stage_current
19292 @endif gcc-bootstrap
19293 @if libdecnumber
19294 TARGET-libdecnumber=all
19295 maybe-all-libdecnumber: all-libdecnumber
19296 all-libdecnumber: configure-libdecnumber
19297 @r=`${PWD_COMMAND}`; export r; \
19298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 $(HOST_EXPORTS) \
19300 (cd $(HOST_SUBDIR)/libdecnumber && \
19301 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
19302 @endif libdecnumber
19306 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
19307 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
19308 maybe-all-stage1-libdecnumber:
19309 maybe-clean-stage1-libdecnumber:
19310 @if libdecnumber-bootstrap
19311 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
19312 all-stage1: all-stage1-libdecnumber
19313 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
19314 all-stage1-libdecnumber: configure-stage1-libdecnumber
19315 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19316 @r=`${PWD_COMMAND}`; export r; \
19317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19318 $(HOST_EXPORTS) \
19319 cd $(HOST_SUBDIR)/libdecnumber && \
19320 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19321 $(TARGET-stage1-libdecnumber)
19323 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
19324 clean-stage1: clean-stage1-libdecnumber
19325 clean-stage1-libdecnumber:
19326 @if [ $(current_stage) = stage1 ]; then \
19327 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19328 else \
19329 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
19330 $(MAKE) stage1-start; \
19331 fi; \
19332 cd $(HOST_SUBDIR)/libdecnumber && \
19333 $(MAKE) $(FLAGS_TO_PASS) \
19334 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19335 @endif libdecnumber-bootstrap
19338 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
19339 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
19340 maybe-all-stage2-libdecnumber:
19341 maybe-clean-stage2-libdecnumber:
19342 @if libdecnumber-bootstrap
19343 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
19344 all-stage2: all-stage2-libdecnumber
19345 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
19346 all-stage2-libdecnumber: configure-stage2-libdecnumber
19347 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19348 @r=`${PWD_COMMAND}`; export r; \
19349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19350 $(HOST_EXPORTS) \
19351 $(POSTSTAGE1_HOST_EXPORTS) \
19352 cd $(HOST_SUBDIR)/libdecnumber && \
19353 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19354 $(TARGET-stage2-libdecnumber)
19356 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
19357 clean-stage2: clean-stage2-libdecnumber
19358 clean-stage2-libdecnumber:
19359 @if [ $(current_stage) = stage2 ]; then \
19360 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19361 else \
19362 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
19363 $(MAKE) stage2-start; \
19364 fi; \
19365 cd $(HOST_SUBDIR)/libdecnumber && \
19366 $(MAKE) $(FLAGS_TO_PASS) \
19367 $(POSTSTAGE1_FLAGS_TO_PASS) \
19368 clean
19369 @endif libdecnumber-bootstrap
19372 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
19373 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
19374 maybe-all-stage3-libdecnumber:
19375 maybe-clean-stage3-libdecnumber:
19376 @if libdecnumber-bootstrap
19377 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
19378 all-stage3: all-stage3-libdecnumber
19379 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
19380 all-stage3-libdecnumber: configure-stage3-libdecnumber
19381 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19382 @r=`${PWD_COMMAND}`; export r; \
19383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19384 $(HOST_EXPORTS) \
19385 $(POSTSTAGE1_HOST_EXPORTS) \
19386 cd $(HOST_SUBDIR)/libdecnumber && \
19387 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19388 $(TARGET-stage3-libdecnumber)
19390 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
19391 clean-stage3: clean-stage3-libdecnumber
19392 clean-stage3-libdecnumber:
19393 @if [ $(current_stage) = stage3 ]; then \
19394 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19395 else \
19396 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
19397 $(MAKE) stage3-start; \
19398 fi; \
19399 cd $(HOST_SUBDIR)/libdecnumber && \
19400 $(MAKE) $(FLAGS_TO_PASS) \
19401 $(POSTSTAGE1_FLAGS_TO_PASS) \
19402 clean
19403 @endif libdecnumber-bootstrap
19406 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
19407 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
19408 maybe-all-stage4-libdecnumber:
19409 maybe-clean-stage4-libdecnumber:
19410 @if libdecnumber-bootstrap
19411 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
19412 all-stage4: all-stage4-libdecnumber
19413 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
19414 all-stage4-libdecnumber: configure-stage4-libdecnumber
19415 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19416 @r=`${PWD_COMMAND}`; export r; \
19417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19418 $(HOST_EXPORTS) \
19419 $(POSTSTAGE1_HOST_EXPORTS) \
19420 cd $(HOST_SUBDIR)/libdecnumber && \
19421 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19422 $(TARGET-stage4-libdecnumber)
19424 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
19425 clean-stage4: clean-stage4-libdecnumber
19426 clean-stage4-libdecnumber:
19427 @if [ $(current_stage) = stage4 ]; then \
19428 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19429 else \
19430 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
19431 $(MAKE) stage4-start; \
19432 fi; \
19433 cd $(HOST_SUBDIR)/libdecnumber && \
19434 $(MAKE) $(FLAGS_TO_PASS) \
19435 $(POSTSTAGE1_FLAGS_TO_PASS) \
19436 clean
19437 @endif libdecnumber-bootstrap
19440 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
19441 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
19442 maybe-all-stageprofile-libdecnumber:
19443 maybe-clean-stageprofile-libdecnumber:
19444 @if libdecnumber-bootstrap
19445 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
19446 all-stageprofile: all-stageprofile-libdecnumber
19447 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
19448 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19449 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19450 @r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 $(HOST_EXPORTS) \
19453 $(POSTSTAGE1_HOST_EXPORTS) \
19454 cd $(HOST_SUBDIR)/libdecnumber && \
19455 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19456 $(TARGET-stageprofile-libdecnumber)
19458 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
19459 clean-stageprofile: clean-stageprofile-libdecnumber
19460 clean-stageprofile-libdecnumber:
19461 @if [ $(current_stage) = stageprofile ]; then \
19462 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19463 else \
19464 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
19465 $(MAKE) stageprofile-start; \
19466 fi; \
19467 cd $(HOST_SUBDIR)/libdecnumber && \
19468 $(MAKE) $(FLAGS_TO_PASS) \
19469 $(POSTSTAGE1_FLAGS_TO_PASS) \
19470 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19471 @endif libdecnumber-bootstrap
19474 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
19475 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
19476 maybe-all-stagefeedback-libdecnumber:
19477 maybe-clean-stagefeedback-libdecnumber:
19478 @if libdecnumber-bootstrap
19479 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
19480 all-stagefeedback: all-stagefeedback-libdecnumber
19481 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
19482 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19483 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19484 @r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19486 $(HOST_EXPORTS) \
19487 $(POSTSTAGE1_HOST_EXPORTS) \
19488 cd $(HOST_SUBDIR)/libdecnumber && \
19489 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19490 $(TARGET-stagefeedback-libdecnumber)
19492 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
19493 clean-stagefeedback: clean-stagefeedback-libdecnumber
19494 clean-stagefeedback-libdecnumber:
19495 @if [ $(current_stage) = stagefeedback ]; then \
19496 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19497 else \
19498 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
19499 $(MAKE) stagefeedback-start; \
19500 fi; \
19501 cd $(HOST_SUBDIR)/libdecnumber && \
19502 $(MAKE) $(FLAGS_TO_PASS) \
19503 $(POSTSTAGE1_FLAGS_TO_PASS) \
19504 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19505 @endif libdecnumber-bootstrap
19511 .PHONY: check-libdecnumber maybe-check-libdecnumber
19512 maybe-check-libdecnumber:
19513 @if libdecnumber
19514 maybe-check-libdecnumber: check-libdecnumber
19516 check-libdecnumber:
19517 @: $(MAKE); $(unstage)
19518 @r=`${PWD_COMMAND}`; export r; \
19519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19520 $(HOST_EXPORTS) \
19521 (cd $(HOST_SUBDIR)/libdecnumber && \
19522 $(MAKE) $(FLAGS_TO_PASS) check)
19524 @endif libdecnumber
19526 .PHONY: install-libdecnumber maybe-install-libdecnumber
19527 maybe-install-libdecnumber:
19528 @if libdecnumber
19529 maybe-install-libdecnumber: install-libdecnumber
19531 install-libdecnumber: installdirs
19532 @: $(MAKE); $(unstage)
19533 @r=`${PWD_COMMAND}`; export r; \
19534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19535 $(HOST_EXPORTS) \
19536 (cd $(HOST_SUBDIR)/libdecnumber && \
19537 $(MAKE) $(FLAGS_TO_PASS) install)
19539 @endif libdecnumber
19541 # Other targets (info, dvi, pdf, etc.)
19543 .PHONY: maybe-info-libdecnumber info-libdecnumber
19544 maybe-info-libdecnumber:
19545 @if libdecnumber
19546 maybe-info-libdecnumber: info-libdecnumber
19548 info-libdecnumber: \
19549 configure-libdecnumber
19550 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19551 r=`${PWD_COMMAND}`; export r; \
19552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19553 $(HOST_EXPORTS) \
19554 for flag in $(EXTRA_HOST_FLAGS) ; do \
19555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19556 done; \
19557 echo "Doing info in libdecnumber" ; \
19558 (cd $(HOST_SUBDIR)/libdecnumber && \
19559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19561 "RANLIB=$${RANLIB}" \
19562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19563 info) \
19564 || exit 1
19566 @endif libdecnumber
19568 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
19569 maybe-dvi-libdecnumber:
19570 @if libdecnumber
19571 maybe-dvi-libdecnumber: dvi-libdecnumber
19573 dvi-libdecnumber: \
19574 configure-libdecnumber
19575 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19576 r=`${PWD_COMMAND}`; export r; \
19577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19578 $(HOST_EXPORTS) \
19579 for flag in $(EXTRA_HOST_FLAGS) ; do \
19580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19581 done; \
19582 echo "Doing dvi in libdecnumber" ; \
19583 (cd $(HOST_SUBDIR)/libdecnumber && \
19584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19586 "RANLIB=$${RANLIB}" \
19587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19588 dvi) \
19589 || exit 1
19591 @endif libdecnumber
19593 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
19594 maybe-pdf-libdecnumber:
19595 @if libdecnumber
19596 maybe-pdf-libdecnumber: pdf-libdecnumber
19598 pdf-libdecnumber: \
19599 configure-libdecnumber
19600 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19601 r=`${PWD_COMMAND}`; export r; \
19602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19603 $(HOST_EXPORTS) \
19604 for flag in $(EXTRA_HOST_FLAGS) ; do \
19605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19606 done; \
19607 echo "Doing pdf in libdecnumber" ; \
19608 (cd $(HOST_SUBDIR)/libdecnumber && \
19609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19611 "RANLIB=$${RANLIB}" \
19612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19613 pdf) \
19614 || exit 1
19616 @endif libdecnumber
19618 .PHONY: maybe-html-libdecnumber html-libdecnumber
19619 maybe-html-libdecnumber:
19620 @if libdecnumber
19621 maybe-html-libdecnumber: html-libdecnumber
19623 html-libdecnumber: \
19624 configure-libdecnumber
19625 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19626 r=`${PWD_COMMAND}`; export r; \
19627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19628 $(HOST_EXPORTS) \
19629 for flag in $(EXTRA_HOST_FLAGS) ; do \
19630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19631 done; \
19632 echo "Doing html in libdecnumber" ; \
19633 (cd $(HOST_SUBDIR)/libdecnumber && \
19634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19636 "RANLIB=$${RANLIB}" \
19637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19638 html) \
19639 || exit 1
19641 @endif libdecnumber
19643 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
19644 maybe-TAGS-libdecnumber:
19645 @if libdecnumber
19646 maybe-TAGS-libdecnumber: TAGS-libdecnumber
19648 TAGS-libdecnumber: \
19649 configure-libdecnumber
19650 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19651 r=`${PWD_COMMAND}`; export r; \
19652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19653 $(HOST_EXPORTS) \
19654 for flag in $(EXTRA_HOST_FLAGS) ; do \
19655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19656 done; \
19657 echo "Doing TAGS in libdecnumber" ; \
19658 (cd $(HOST_SUBDIR)/libdecnumber && \
19659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19661 "RANLIB=$${RANLIB}" \
19662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19663 TAGS) \
19664 || exit 1
19666 @endif libdecnumber
19668 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
19669 maybe-install-info-libdecnumber:
19670 @if libdecnumber
19671 maybe-install-info-libdecnumber: install-info-libdecnumber
19673 install-info-libdecnumber: \
19674 configure-libdecnumber \
19675 info-libdecnumber
19676 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19677 r=`${PWD_COMMAND}`; export r; \
19678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19679 $(HOST_EXPORTS) \
19680 for flag in $(EXTRA_HOST_FLAGS) ; do \
19681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19682 done; \
19683 echo "Doing install-info in libdecnumber" ; \
19684 (cd $(HOST_SUBDIR)/libdecnumber && \
19685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19687 "RANLIB=$${RANLIB}" \
19688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19689 install-info) \
19690 || exit 1
19692 @endif libdecnumber
19694 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
19695 maybe-install-html-libdecnumber:
19696 @if libdecnumber
19697 maybe-install-html-libdecnumber: install-html-libdecnumber
19699 install-html-libdecnumber: \
19700 configure-libdecnumber \
19701 html-libdecnumber
19702 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19703 r=`${PWD_COMMAND}`; export r; \
19704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19705 $(HOST_EXPORTS) \
19706 for flag in $(EXTRA_HOST_FLAGS) ; do \
19707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19708 done; \
19709 echo "Doing install-html in libdecnumber" ; \
19710 (cd $(HOST_SUBDIR)/libdecnumber && \
19711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19713 "RANLIB=$${RANLIB}" \
19714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19715 install-html) \
19716 || exit 1
19718 @endif libdecnumber
19720 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
19721 maybe-installcheck-libdecnumber:
19722 @if libdecnumber
19723 maybe-installcheck-libdecnumber: installcheck-libdecnumber
19725 installcheck-libdecnumber: \
19726 configure-libdecnumber
19727 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19728 r=`${PWD_COMMAND}`; export r; \
19729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19730 $(HOST_EXPORTS) \
19731 for flag in $(EXTRA_HOST_FLAGS) ; do \
19732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19733 done; \
19734 echo "Doing installcheck in libdecnumber" ; \
19735 (cd $(HOST_SUBDIR)/libdecnumber && \
19736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19738 "RANLIB=$${RANLIB}" \
19739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19740 installcheck) \
19741 || exit 1
19743 @endif libdecnumber
19745 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
19746 maybe-mostlyclean-libdecnumber:
19747 @if libdecnumber
19748 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
19750 mostlyclean-libdecnumber:
19751 @[ -f ./libdecnumber/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 mostlyclean in libdecnumber" ; \
19759 (cd $(HOST_SUBDIR)/libdecnumber && \
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 mostlyclean) \
19765 || exit 1
19767 @endif libdecnumber
19769 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
19770 maybe-clean-libdecnumber:
19771 @if libdecnumber
19772 maybe-clean-libdecnumber: clean-libdecnumber
19774 clean-libdecnumber:
19775 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19776 r=`${PWD_COMMAND}`; export r; \
19777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19778 $(HOST_EXPORTS) \
19779 for flag in $(EXTRA_HOST_FLAGS) ; do \
19780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19781 done; \
19782 echo "Doing clean in libdecnumber" ; \
19783 (cd $(HOST_SUBDIR)/libdecnumber && \
19784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19786 "RANLIB=$${RANLIB}" \
19787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19788 clean) \
19789 || exit 1
19791 @endif libdecnumber
19793 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
19794 maybe-distclean-libdecnumber:
19795 @if libdecnumber
19796 maybe-distclean-libdecnumber: distclean-libdecnumber
19798 distclean-libdecnumber:
19799 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19800 r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 $(HOST_EXPORTS) \
19803 for flag in $(EXTRA_HOST_FLAGS) ; do \
19804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19805 done; \
19806 echo "Doing distclean in libdecnumber" ; \
19807 (cd $(HOST_SUBDIR)/libdecnumber && \
19808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19810 "RANLIB=$${RANLIB}" \
19811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19812 distclean) \
19813 || exit 1
19815 @endif libdecnumber
19817 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
19818 maybe-maintainer-clean-libdecnumber:
19819 @if libdecnumber
19820 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
19822 maintainer-clean-libdecnumber:
19823 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19824 r=`${PWD_COMMAND}`; export r; \
19825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19826 $(HOST_EXPORTS) \
19827 for flag in $(EXTRA_HOST_FLAGS) ; do \
19828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19829 done; \
19830 echo "Doing maintainer-clean in libdecnumber" ; \
19831 (cd $(HOST_SUBDIR)/libdecnumber && \
19832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19834 "RANLIB=$${RANLIB}" \
19835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19836 maintainer-clean) \
19837 || exit 1
19839 @endif libdecnumber
19843 .PHONY: configure-libgui maybe-configure-libgui
19844 maybe-configure-libgui:
19845 @if gcc-bootstrap
19846 configure-libgui: stage_current
19847 @endif gcc-bootstrap
19848 @if libgui
19849 maybe-configure-libgui: configure-libgui
19850 configure-libgui:
19851 @: $(MAKE); $(unstage)
19852 @r=`${PWD_COMMAND}`; export r; \
19853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19854 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
19855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
19856 $(HOST_EXPORTS) \
19857 echo Configuring in $(HOST_SUBDIR)/libgui; \
19858 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
19859 case $(srcdir) in \
19860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19861 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
19862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19863 esac; \
19864 srcdiroption="--srcdir=$${topdir}/libgui"; \
19865 libsrcdir="$$s/libgui"; \
19866 $(SHELL) $${libsrcdir}/configure \
19867 $(HOST_CONFIGARGS) $${srcdiroption} \
19868 || exit 1
19869 @endif libgui
19875 .PHONY: all-libgui maybe-all-libgui
19876 maybe-all-libgui:
19877 @if gcc-bootstrap
19878 all-libgui: stage_current
19879 @endif gcc-bootstrap
19880 @if libgui
19881 TARGET-libgui=all
19882 maybe-all-libgui: all-libgui
19883 all-libgui: configure-libgui
19884 @: $(MAKE); $(unstage)
19885 @r=`${PWD_COMMAND}`; export r; \
19886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19887 $(HOST_EXPORTS) \
19888 (cd $(HOST_SUBDIR)/libgui && \
19889 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
19890 @endif libgui
19895 .PHONY: check-libgui maybe-check-libgui
19896 maybe-check-libgui:
19897 @if libgui
19898 maybe-check-libgui: check-libgui
19900 check-libgui:
19901 @: $(MAKE); $(unstage)
19902 @r=`${PWD_COMMAND}`; export r; \
19903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19904 $(HOST_EXPORTS) \
19905 (cd $(HOST_SUBDIR)/libgui && \
19906 $(MAKE) $(FLAGS_TO_PASS) check)
19908 @endif libgui
19910 .PHONY: install-libgui maybe-install-libgui
19911 maybe-install-libgui:
19912 @if libgui
19913 maybe-install-libgui: install-libgui
19915 install-libgui: installdirs
19916 @: $(MAKE); $(unstage)
19917 @r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919 $(HOST_EXPORTS) \
19920 (cd $(HOST_SUBDIR)/libgui && \
19921 $(MAKE) $(FLAGS_TO_PASS) install)
19923 @endif libgui
19925 # Other targets (info, dvi, pdf, etc.)
19927 .PHONY: maybe-info-libgui info-libgui
19928 maybe-info-libgui:
19929 @if libgui
19930 maybe-info-libgui: info-libgui
19932 info-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 info 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 info) \
19949 || exit 1
19951 @endif libgui
19953 .PHONY: maybe-dvi-libgui dvi-libgui
19954 maybe-dvi-libgui:
19955 @if libgui
19956 maybe-dvi-libgui: dvi-libgui
19958 dvi-libgui: \
19959 configure-libgui
19960 @: $(MAKE); $(unstage)
19961 @[ -f ./libgui/Makefile ] || exit 0; \
19962 r=`${PWD_COMMAND}`; export r; \
19963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19964 $(HOST_EXPORTS) \
19965 for flag in $(EXTRA_HOST_FLAGS) ; do \
19966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19967 done; \
19968 echo "Doing dvi in libgui" ; \
19969 (cd $(HOST_SUBDIR)/libgui && \
19970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19972 "RANLIB=$${RANLIB}" \
19973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19974 dvi) \
19975 || exit 1
19977 @endif libgui
19979 .PHONY: maybe-pdf-libgui pdf-libgui
19980 maybe-pdf-libgui:
19981 @if libgui
19982 maybe-pdf-libgui: pdf-libgui
19984 pdf-libgui: \
19985 configure-libgui
19986 @: $(MAKE); $(unstage)
19987 @[ -f ./libgui/Makefile ] || exit 0; \
19988 r=`${PWD_COMMAND}`; export r; \
19989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19990 $(HOST_EXPORTS) \
19991 for flag in $(EXTRA_HOST_FLAGS) ; do \
19992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19993 done; \
19994 echo "Doing pdf in libgui" ; \
19995 (cd $(HOST_SUBDIR)/libgui && \
19996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19998 "RANLIB=$${RANLIB}" \
19999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20000 pdf) \
20001 || exit 1
20003 @endif libgui
20005 .PHONY: maybe-html-libgui html-libgui
20006 maybe-html-libgui:
20007 @if libgui
20008 maybe-html-libgui: html-libgui
20010 html-libgui: \
20011 configure-libgui
20012 @: $(MAKE); $(unstage)
20013 @[ -f ./libgui/Makefile ] || exit 0; \
20014 r=`${PWD_COMMAND}`; export r; \
20015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20016 $(HOST_EXPORTS) \
20017 for flag in $(EXTRA_HOST_FLAGS) ; do \
20018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20019 done; \
20020 echo "Doing html in libgui" ; \
20021 (cd $(HOST_SUBDIR)/libgui && \
20022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20024 "RANLIB=$${RANLIB}" \
20025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20026 html) \
20027 || exit 1
20029 @endif libgui
20031 .PHONY: maybe-TAGS-libgui TAGS-libgui
20032 maybe-TAGS-libgui:
20033 @if libgui
20034 maybe-TAGS-libgui: TAGS-libgui
20036 TAGS-libgui: \
20037 configure-libgui
20038 @: $(MAKE); $(unstage)
20039 @[ -f ./libgui/Makefile ] || exit 0; \
20040 r=`${PWD_COMMAND}`; export r; \
20041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20042 $(HOST_EXPORTS) \
20043 for flag in $(EXTRA_HOST_FLAGS) ; do \
20044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20045 done; \
20046 echo "Doing TAGS in libgui" ; \
20047 (cd $(HOST_SUBDIR)/libgui && \
20048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20050 "RANLIB=$${RANLIB}" \
20051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20052 TAGS) \
20053 || exit 1
20055 @endif libgui
20057 .PHONY: maybe-install-info-libgui install-info-libgui
20058 maybe-install-info-libgui:
20059 @if libgui
20060 maybe-install-info-libgui: install-info-libgui
20062 install-info-libgui: \
20063 configure-libgui \
20064 info-libgui
20065 @: $(MAKE); $(unstage)
20066 @[ -f ./libgui/Makefile ] || exit 0; \
20067 r=`${PWD_COMMAND}`; export r; \
20068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20069 $(HOST_EXPORTS) \
20070 for flag in $(EXTRA_HOST_FLAGS) ; do \
20071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20072 done; \
20073 echo "Doing install-info in libgui" ; \
20074 (cd $(HOST_SUBDIR)/libgui && \
20075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20077 "RANLIB=$${RANLIB}" \
20078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20079 install-info) \
20080 || exit 1
20082 @endif libgui
20084 .PHONY: maybe-install-html-libgui install-html-libgui
20085 maybe-install-html-libgui:
20086 @if libgui
20087 maybe-install-html-libgui: install-html-libgui
20089 install-html-libgui: \
20090 configure-libgui \
20091 html-libgui
20092 @: $(MAKE); $(unstage)
20093 @[ -f ./libgui/Makefile ] || exit 0; \
20094 r=`${PWD_COMMAND}`; export r; \
20095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20096 $(HOST_EXPORTS) \
20097 for flag in $(EXTRA_HOST_FLAGS) ; do \
20098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20099 done; \
20100 echo "Doing install-html in libgui" ; \
20101 (cd $(HOST_SUBDIR)/libgui && \
20102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20104 "RANLIB=$${RANLIB}" \
20105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20106 install-html) \
20107 || exit 1
20109 @endif libgui
20111 .PHONY: maybe-installcheck-libgui installcheck-libgui
20112 maybe-installcheck-libgui:
20113 @if libgui
20114 maybe-installcheck-libgui: installcheck-libgui
20116 installcheck-libgui: \
20117 configure-libgui
20118 @: $(MAKE); $(unstage)
20119 @[ -f ./libgui/Makefile ] || exit 0; \
20120 r=`${PWD_COMMAND}`; export r; \
20121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20122 $(HOST_EXPORTS) \
20123 for flag in $(EXTRA_HOST_FLAGS) ; do \
20124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20125 done; \
20126 echo "Doing installcheck in libgui" ; \
20127 (cd $(HOST_SUBDIR)/libgui && \
20128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20130 "RANLIB=$${RANLIB}" \
20131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20132 installcheck) \
20133 || exit 1
20135 @endif libgui
20137 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
20138 maybe-mostlyclean-libgui:
20139 @if libgui
20140 maybe-mostlyclean-libgui: mostlyclean-libgui
20142 mostlyclean-libgui:
20143 @: $(MAKE); $(unstage)
20144 @[ -f ./libgui/Makefile ] || exit 0; \
20145 r=`${PWD_COMMAND}`; export r; \
20146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20147 $(HOST_EXPORTS) \
20148 for flag in $(EXTRA_HOST_FLAGS) ; do \
20149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20150 done; \
20151 echo "Doing mostlyclean in libgui" ; \
20152 (cd $(HOST_SUBDIR)/libgui && \
20153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20155 "RANLIB=$${RANLIB}" \
20156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20157 mostlyclean) \
20158 || exit 1
20160 @endif libgui
20162 .PHONY: maybe-clean-libgui clean-libgui
20163 maybe-clean-libgui:
20164 @if libgui
20165 maybe-clean-libgui: clean-libgui
20167 clean-libgui:
20168 @: $(MAKE); $(unstage)
20169 @[ -f ./libgui/Makefile ] || exit 0; \
20170 r=`${PWD_COMMAND}`; export r; \
20171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20172 $(HOST_EXPORTS) \
20173 for flag in $(EXTRA_HOST_FLAGS) ; do \
20174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20175 done; \
20176 echo "Doing clean in libgui" ; \
20177 (cd $(HOST_SUBDIR)/libgui && \
20178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20180 "RANLIB=$${RANLIB}" \
20181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20182 clean) \
20183 || exit 1
20185 @endif libgui
20187 .PHONY: maybe-distclean-libgui distclean-libgui
20188 maybe-distclean-libgui:
20189 @if libgui
20190 maybe-distclean-libgui: distclean-libgui
20192 distclean-libgui:
20193 @: $(MAKE); $(unstage)
20194 @[ -f ./libgui/Makefile ] || exit 0; \
20195 r=`${PWD_COMMAND}`; export r; \
20196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20197 $(HOST_EXPORTS) \
20198 for flag in $(EXTRA_HOST_FLAGS) ; do \
20199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20200 done; \
20201 echo "Doing distclean in libgui" ; \
20202 (cd $(HOST_SUBDIR)/libgui && \
20203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20205 "RANLIB=$${RANLIB}" \
20206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20207 distclean) \
20208 || exit 1
20210 @endif libgui
20212 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
20213 maybe-maintainer-clean-libgui:
20214 @if libgui
20215 maybe-maintainer-clean-libgui: maintainer-clean-libgui
20217 maintainer-clean-libgui:
20218 @: $(MAKE); $(unstage)
20219 @[ -f ./libgui/Makefile ] || exit 0; \
20220 r=`${PWD_COMMAND}`; export r; \
20221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20222 $(HOST_EXPORTS) \
20223 for flag in $(EXTRA_HOST_FLAGS) ; do \
20224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20225 done; \
20226 echo "Doing maintainer-clean in libgui" ; \
20227 (cd $(HOST_SUBDIR)/libgui && \
20228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20230 "RANLIB=$${RANLIB}" \
20231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20232 maintainer-clean) \
20233 || exit 1
20235 @endif libgui
20239 .PHONY: configure-libiberty maybe-configure-libiberty
20240 maybe-configure-libiberty:
20241 @if gcc-bootstrap
20242 configure-libiberty: stage_current
20243 @endif gcc-bootstrap
20244 @if libiberty
20245 maybe-configure-libiberty: configure-libiberty
20246 configure-libiberty:
20247 @r=`${PWD_COMMAND}`; export r; \
20248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20249 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20251 $(HOST_EXPORTS) \
20252 echo Configuring in $(HOST_SUBDIR)/libiberty; \
20253 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
20254 case $(srcdir) in \
20255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20256 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20258 esac; \
20259 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20260 libsrcdir="$$s/libiberty"; \
20261 $(SHELL) $${libsrcdir}/configure \
20262 $(HOST_CONFIGARGS) $${srcdiroption} \
20263 || exit 1
20264 @endif libiberty
20268 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
20269 maybe-configure-stage1-libiberty:
20270 @if libiberty-bootstrap
20271 maybe-configure-stage1-libiberty: configure-stage1-libiberty
20272 configure-stage1-libiberty:
20273 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20275 @r=`${PWD_COMMAND}`; export r; \
20276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20277 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20278 $(HOST_EXPORTS) \
20279 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
20280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20281 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20282 case $(srcdir) in \
20283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20284 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20286 esac; \
20287 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20288 libsrcdir="$$s/libiberty"; \
20289 $(SHELL) $${libsrcdir}/configure \
20290 $(HOST_CONFIGARGS) $${srcdiroption} \
20292 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20293 @endif libiberty-bootstrap
20295 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
20296 maybe-configure-stage2-libiberty:
20297 @if libiberty-bootstrap
20298 maybe-configure-stage2-libiberty: configure-stage2-libiberty
20299 configure-stage2-libiberty:
20300 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20302 @r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20305 $(HOST_EXPORTS) \
20306 $(POSTSTAGE1_HOST_EXPORTS) \
20307 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
20308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20309 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20310 case $(srcdir) in \
20311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20312 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20314 esac; \
20315 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20316 libsrcdir="$$s/libiberty"; \
20317 $(SHELL) $${libsrcdir}/configure \
20318 $(HOST_CONFIGARGS) $${srcdiroption} \
20319 --with-build-libsubdir=$(HOST_SUBDIR) \
20320 @stage2_werror_flag@
20321 @endif libiberty-bootstrap
20323 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
20324 maybe-configure-stage3-libiberty:
20325 @if libiberty-bootstrap
20326 maybe-configure-stage3-libiberty: configure-stage3-libiberty
20327 configure-stage3-libiberty:
20328 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20330 @r=`${PWD_COMMAND}`; export r; \
20331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20332 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20333 $(HOST_EXPORTS) \
20334 $(POSTSTAGE1_HOST_EXPORTS) \
20335 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
20336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20337 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20338 case $(srcdir) in \
20339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20340 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20342 esac; \
20343 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20344 libsrcdir="$$s/libiberty"; \
20345 $(SHELL) $${libsrcdir}/configure \
20346 $(HOST_CONFIGARGS) $${srcdiroption} \
20347 --with-build-libsubdir=$(HOST_SUBDIR) \
20348 @stage2_werror_flag@
20349 @endif libiberty-bootstrap
20351 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
20352 maybe-configure-stage4-libiberty:
20353 @if libiberty-bootstrap
20354 maybe-configure-stage4-libiberty: configure-stage4-libiberty
20355 configure-stage4-libiberty:
20356 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20357 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20358 @r=`${PWD_COMMAND}`; export r; \
20359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20360 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20361 $(HOST_EXPORTS) \
20362 $(POSTSTAGE1_HOST_EXPORTS) \
20363 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
20364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20365 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20366 case $(srcdir) in \
20367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20368 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20370 esac; \
20371 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20372 libsrcdir="$$s/libiberty"; \
20373 $(SHELL) $${libsrcdir}/configure \
20374 $(HOST_CONFIGARGS) $${srcdiroption} \
20375 --with-build-libsubdir=$(HOST_SUBDIR) \
20376 @stage2_werror_flag@
20377 @endif libiberty-bootstrap
20379 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
20380 maybe-configure-stageprofile-libiberty:
20381 @if libiberty-bootstrap
20382 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
20383 configure-stageprofile-libiberty:
20384 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20385 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20386 @r=`${PWD_COMMAND}`; export r; \
20387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20388 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20389 $(HOST_EXPORTS) \
20390 $(POSTSTAGE1_HOST_EXPORTS) \
20391 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
20392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20393 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20394 case $(srcdir) in \
20395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20396 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20398 esac; \
20399 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20400 libsrcdir="$$s/libiberty"; \
20401 $(SHELL) $${libsrcdir}/configure \
20402 $(HOST_CONFIGARGS) $${srcdiroption} \
20403 --with-build-libsubdir=$(HOST_SUBDIR) \
20404 @stage2_werror_flag@
20405 @endif libiberty-bootstrap
20407 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
20408 maybe-configure-stagefeedback-libiberty:
20409 @if libiberty-bootstrap
20410 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
20411 configure-stagefeedback-libiberty:
20412 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20414 @r=`${PWD_COMMAND}`; export r; \
20415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20417 $(HOST_EXPORTS) \
20418 $(POSTSTAGE1_HOST_EXPORTS) \
20419 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
20420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20421 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20422 case $(srcdir) in \
20423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20424 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20426 esac; \
20427 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20428 libsrcdir="$$s/libiberty"; \
20429 $(SHELL) $${libsrcdir}/configure \
20430 $(HOST_CONFIGARGS) $${srcdiroption} \
20431 --with-build-libsubdir=$(HOST_SUBDIR) \
20432 @stage2_werror_flag@
20433 @endif libiberty-bootstrap
20439 .PHONY: all-libiberty maybe-all-libiberty
20440 maybe-all-libiberty:
20441 @if gcc-bootstrap
20442 all-libiberty: stage_current
20443 @endif gcc-bootstrap
20444 @if libiberty
20445 TARGET-libiberty=all
20446 maybe-all-libiberty: all-libiberty
20447 all-libiberty: configure-libiberty
20448 @r=`${PWD_COMMAND}`; export r; \
20449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20450 $(HOST_EXPORTS) \
20451 (cd $(HOST_SUBDIR)/libiberty && \
20452 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
20453 @endif libiberty
20457 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
20458 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
20459 maybe-all-stage1-libiberty:
20460 maybe-clean-stage1-libiberty:
20461 @if libiberty-bootstrap
20462 maybe-all-stage1-libiberty: all-stage1-libiberty
20463 all-stage1: all-stage1-libiberty
20464 TARGET-stage1-libiberty = $(TARGET-libiberty)
20465 all-stage1-libiberty: configure-stage1-libiberty
20466 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20472 $(TARGET-stage1-libiberty)
20474 maybe-clean-stage1-libiberty: clean-stage1-libiberty
20475 clean-stage1: clean-stage1-libiberty
20476 clean-stage1-libiberty:
20477 @if [ $(current_stage) = stage1 ]; then \
20478 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20479 else \
20480 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
20481 $(MAKE) stage1-start; \
20482 fi; \
20483 cd $(HOST_SUBDIR)/libiberty && \
20484 $(MAKE) $(FLAGS_TO_PASS) \
20485 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20486 @endif libiberty-bootstrap
20489 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
20490 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
20491 maybe-all-stage2-libiberty:
20492 maybe-clean-stage2-libiberty:
20493 @if libiberty-bootstrap
20494 maybe-all-stage2-libiberty: all-stage2-libiberty
20495 all-stage2: all-stage2-libiberty
20496 TARGET-stage2-libiberty = $(TARGET-libiberty)
20497 all-stage2-libiberty: configure-stage2-libiberty
20498 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20499 @r=`${PWD_COMMAND}`; export r; \
20500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20501 $(HOST_EXPORTS) \
20502 $(POSTSTAGE1_HOST_EXPORTS) \
20503 cd $(HOST_SUBDIR)/libiberty && \
20504 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20505 $(TARGET-stage2-libiberty)
20507 maybe-clean-stage2-libiberty: clean-stage2-libiberty
20508 clean-stage2: clean-stage2-libiberty
20509 clean-stage2-libiberty:
20510 @if [ $(current_stage) = stage2 ]; then \
20511 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20512 else \
20513 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
20514 $(MAKE) stage2-start; \
20515 fi; \
20516 cd $(HOST_SUBDIR)/libiberty && \
20517 $(MAKE) $(FLAGS_TO_PASS) \
20518 $(POSTSTAGE1_FLAGS_TO_PASS) \
20519 clean
20520 @endif libiberty-bootstrap
20523 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
20524 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
20525 maybe-all-stage3-libiberty:
20526 maybe-clean-stage3-libiberty:
20527 @if libiberty-bootstrap
20528 maybe-all-stage3-libiberty: all-stage3-libiberty
20529 all-stage3: all-stage3-libiberty
20530 TARGET-stage3-libiberty = $(TARGET-libiberty)
20531 all-stage3-libiberty: configure-stage3-libiberty
20532 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20533 @r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 $(HOST_EXPORTS) \
20536 $(POSTSTAGE1_HOST_EXPORTS) \
20537 cd $(HOST_SUBDIR)/libiberty && \
20538 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20539 $(TARGET-stage3-libiberty)
20541 maybe-clean-stage3-libiberty: clean-stage3-libiberty
20542 clean-stage3: clean-stage3-libiberty
20543 clean-stage3-libiberty:
20544 @if [ $(current_stage) = stage3 ]; then \
20545 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20546 else \
20547 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
20548 $(MAKE) stage3-start; \
20549 fi; \
20550 cd $(HOST_SUBDIR)/libiberty && \
20551 $(MAKE) $(FLAGS_TO_PASS) \
20552 $(POSTSTAGE1_FLAGS_TO_PASS) \
20553 clean
20554 @endif libiberty-bootstrap
20557 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
20558 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
20559 maybe-all-stage4-libiberty:
20560 maybe-clean-stage4-libiberty:
20561 @if libiberty-bootstrap
20562 maybe-all-stage4-libiberty: all-stage4-libiberty
20563 all-stage4: all-stage4-libiberty
20564 TARGET-stage4-libiberty = $(TARGET-libiberty)
20565 all-stage4-libiberty: configure-stage4-libiberty
20566 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20567 @r=`${PWD_COMMAND}`; export r; \
20568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 $(HOST_EXPORTS) \
20570 $(POSTSTAGE1_HOST_EXPORTS) \
20571 cd $(HOST_SUBDIR)/libiberty && \
20572 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20573 $(TARGET-stage4-libiberty)
20575 maybe-clean-stage4-libiberty: clean-stage4-libiberty
20576 clean-stage4: clean-stage4-libiberty
20577 clean-stage4-libiberty:
20578 @if [ $(current_stage) = stage4 ]; then \
20579 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20580 else \
20581 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
20582 $(MAKE) stage4-start; \
20583 fi; \
20584 cd $(HOST_SUBDIR)/libiberty && \
20585 $(MAKE) $(FLAGS_TO_PASS) \
20586 $(POSTSTAGE1_FLAGS_TO_PASS) \
20587 clean
20588 @endif libiberty-bootstrap
20591 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
20592 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
20593 maybe-all-stageprofile-libiberty:
20594 maybe-clean-stageprofile-libiberty:
20595 @if libiberty-bootstrap
20596 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
20597 all-stageprofile: all-stageprofile-libiberty
20598 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
20599 all-stageprofile-libiberty: configure-stageprofile-libiberty
20600 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20601 @r=`${PWD_COMMAND}`; export r; \
20602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20603 $(HOST_EXPORTS) \
20604 $(POSTSTAGE1_HOST_EXPORTS) \
20605 cd $(HOST_SUBDIR)/libiberty && \
20606 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20607 $(TARGET-stageprofile-libiberty)
20609 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
20610 clean-stageprofile: clean-stageprofile-libiberty
20611 clean-stageprofile-libiberty:
20612 @if [ $(current_stage) = stageprofile ]; then \
20613 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20614 else \
20615 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
20616 $(MAKE) stageprofile-start; \
20617 fi; \
20618 cd $(HOST_SUBDIR)/libiberty && \
20619 $(MAKE) $(FLAGS_TO_PASS) \
20620 $(POSTSTAGE1_FLAGS_TO_PASS) \
20621 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20622 @endif libiberty-bootstrap
20625 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
20626 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
20627 maybe-all-stagefeedback-libiberty:
20628 maybe-clean-stagefeedback-libiberty:
20629 @if libiberty-bootstrap
20630 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
20631 all-stagefeedback: all-stagefeedback-libiberty
20632 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
20633 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
20634 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20635 @r=`${PWD_COMMAND}`; export r; \
20636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20637 $(HOST_EXPORTS) \
20638 $(POSTSTAGE1_HOST_EXPORTS) \
20639 cd $(HOST_SUBDIR)/libiberty && \
20640 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20641 $(TARGET-stagefeedback-libiberty)
20643 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
20644 clean-stagefeedback: clean-stagefeedback-libiberty
20645 clean-stagefeedback-libiberty:
20646 @if [ $(current_stage) = stagefeedback ]; then \
20647 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20648 else \
20649 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
20650 $(MAKE) stagefeedback-start; \
20651 fi; \
20652 cd $(HOST_SUBDIR)/libiberty && \
20653 $(MAKE) $(FLAGS_TO_PASS) \
20654 $(POSTSTAGE1_FLAGS_TO_PASS) \
20655 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20656 @endif libiberty-bootstrap
20662 .PHONY: check-libiberty maybe-check-libiberty
20663 maybe-check-libiberty:
20664 @if libiberty
20665 maybe-check-libiberty: check-libiberty
20667 check-libiberty:
20668 @: $(MAKE); $(unstage)
20669 @r=`${PWD_COMMAND}`; export r; \
20670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20671 $(HOST_EXPORTS) \
20672 (cd $(HOST_SUBDIR)/libiberty && \
20673 $(MAKE) $(FLAGS_TO_PASS) check)
20675 @endif libiberty
20677 .PHONY: install-libiberty maybe-install-libiberty
20678 maybe-install-libiberty:
20679 @if libiberty
20680 maybe-install-libiberty: install-libiberty
20682 install-libiberty: installdirs
20683 @: $(MAKE); $(unstage)
20684 @r=`${PWD_COMMAND}`; export r; \
20685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20686 $(HOST_EXPORTS) \
20687 (cd $(HOST_SUBDIR)/libiberty && \
20688 $(MAKE) $(FLAGS_TO_PASS) install)
20690 @endif libiberty
20692 # Other targets (info, dvi, pdf, etc.)
20694 .PHONY: maybe-info-libiberty info-libiberty
20695 maybe-info-libiberty:
20696 @if libiberty
20697 maybe-info-libiberty: info-libiberty
20699 info-libiberty: \
20700 configure-libiberty
20701 @[ -f ./libiberty/Makefile ] || exit 0; \
20702 r=`${PWD_COMMAND}`; export r; \
20703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20704 $(HOST_EXPORTS) \
20705 for flag in $(EXTRA_HOST_FLAGS) ; do \
20706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20707 done; \
20708 echo "Doing info in libiberty" ; \
20709 (cd $(HOST_SUBDIR)/libiberty && \
20710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20712 "RANLIB=$${RANLIB}" \
20713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20714 info) \
20715 || exit 1
20717 @endif libiberty
20719 .PHONY: maybe-dvi-libiberty dvi-libiberty
20720 maybe-dvi-libiberty:
20721 @if libiberty
20722 maybe-dvi-libiberty: dvi-libiberty
20724 dvi-libiberty: \
20725 configure-libiberty
20726 @[ -f ./libiberty/Makefile ] || exit 0; \
20727 r=`${PWD_COMMAND}`; export r; \
20728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20729 $(HOST_EXPORTS) \
20730 for flag in $(EXTRA_HOST_FLAGS) ; do \
20731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20732 done; \
20733 echo "Doing dvi in libiberty" ; \
20734 (cd $(HOST_SUBDIR)/libiberty && \
20735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20737 "RANLIB=$${RANLIB}" \
20738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20739 dvi) \
20740 || exit 1
20742 @endif libiberty
20744 .PHONY: maybe-pdf-libiberty pdf-libiberty
20745 maybe-pdf-libiberty:
20746 @if libiberty
20747 maybe-pdf-libiberty: pdf-libiberty
20749 pdf-libiberty: \
20750 configure-libiberty
20751 @[ -f ./libiberty/Makefile ] || exit 0; \
20752 r=`${PWD_COMMAND}`; export r; \
20753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20754 $(HOST_EXPORTS) \
20755 for flag in $(EXTRA_HOST_FLAGS) ; do \
20756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20757 done; \
20758 echo "Doing pdf in libiberty" ; \
20759 (cd $(HOST_SUBDIR)/libiberty && \
20760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20762 "RANLIB=$${RANLIB}" \
20763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20764 pdf) \
20765 || exit 1
20767 @endif libiberty
20769 .PHONY: maybe-html-libiberty html-libiberty
20770 maybe-html-libiberty:
20771 @if libiberty
20772 maybe-html-libiberty: html-libiberty
20774 html-libiberty: \
20775 configure-libiberty
20776 @[ -f ./libiberty/Makefile ] || exit 0; \
20777 r=`${PWD_COMMAND}`; export r; \
20778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20779 $(HOST_EXPORTS) \
20780 for flag in $(EXTRA_HOST_FLAGS) ; do \
20781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20782 done; \
20783 echo "Doing html in libiberty" ; \
20784 (cd $(HOST_SUBDIR)/libiberty && \
20785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20787 "RANLIB=$${RANLIB}" \
20788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20789 html) \
20790 || exit 1
20792 @endif libiberty
20794 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
20795 maybe-TAGS-libiberty:
20796 @if libiberty
20797 maybe-TAGS-libiberty: TAGS-libiberty
20799 TAGS-libiberty: \
20800 configure-libiberty
20801 @[ -f ./libiberty/Makefile ] || exit 0; \
20802 r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 $(HOST_EXPORTS) \
20805 for flag in $(EXTRA_HOST_FLAGS) ; do \
20806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20807 done; \
20808 echo "Doing TAGS in libiberty" ; \
20809 (cd $(HOST_SUBDIR)/libiberty && \
20810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20812 "RANLIB=$${RANLIB}" \
20813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20814 TAGS) \
20815 || exit 1
20817 @endif libiberty
20819 .PHONY: maybe-install-info-libiberty install-info-libiberty
20820 maybe-install-info-libiberty:
20821 @if libiberty
20822 maybe-install-info-libiberty: install-info-libiberty
20824 install-info-libiberty: \
20825 configure-libiberty \
20826 info-libiberty
20827 @[ -f ./libiberty/Makefile ] || exit 0; \
20828 r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 $(HOST_EXPORTS) \
20831 for flag in $(EXTRA_HOST_FLAGS) ; do \
20832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20833 done; \
20834 echo "Doing install-info in libiberty" ; \
20835 (cd $(HOST_SUBDIR)/libiberty && \
20836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20838 "RANLIB=$${RANLIB}" \
20839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20840 install-info) \
20841 || exit 1
20843 @endif libiberty
20845 .PHONY: maybe-install-html-libiberty install-html-libiberty
20846 maybe-install-html-libiberty:
20847 @if libiberty
20848 maybe-install-html-libiberty: install-html-libiberty
20850 install-html-libiberty: \
20851 configure-libiberty \
20852 html-libiberty
20853 @[ -f ./libiberty/Makefile ] || exit 0; \
20854 r=`${PWD_COMMAND}`; export r; \
20855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20856 $(HOST_EXPORTS) \
20857 for flag in $(EXTRA_HOST_FLAGS) ; do \
20858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20859 done; \
20860 echo "Doing install-html in libiberty" ; \
20861 (cd $(HOST_SUBDIR)/libiberty && \
20862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20864 "RANLIB=$${RANLIB}" \
20865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20866 install-html) \
20867 || exit 1
20869 @endif libiberty
20871 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
20872 maybe-installcheck-libiberty:
20873 @if libiberty
20874 maybe-installcheck-libiberty: installcheck-libiberty
20876 installcheck-libiberty: \
20877 configure-libiberty
20878 @[ -f ./libiberty/Makefile ] || exit 0; \
20879 r=`${PWD_COMMAND}`; export r; \
20880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20881 $(HOST_EXPORTS) \
20882 for flag in $(EXTRA_HOST_FLAGS) ; do \
20883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20884 done; \
20885 echo "Doing installcheck in libiberty" ; \
20886 (cd $(HOST_SUBDIR)/libiberty && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20889 "RANLIB=$${RANLIB}" \
20890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20891 installcheck) \
20892 || exit 1
20894 @endif libiberty
20896 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
20897 maybe-mostlyclean-libiberty:
20898 @if libiberty
20899 maybe-mostlyclean-libiberty: mostlyclean-libiberty
20901 mostlyclean-libiberty:
20902 @[ -f ./libiberty/Makefile ] || exit 0; \
20903 r=`${PWD_COMMAND}`; export r; \
20904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20905 $(HOST_EXPORTS) \
20906 for flag in $(EXTRA_HOST_FLAGS) ; do \
20907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20908 done; \
20909 echo "Doing mostlyclean in libiberty" ; \
20910 (cd $(HOST_SUBDIR)/libiberty && \
20911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20913 "RANLIB=$${RANLIB}" \
20914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20915 mostlyclean) \
20916 || exit 1
20918 @endif libiberty
20920 .PHONY: maybe-clean-libiberty clean-libiberty
20921 maybe-clean-libiberty:
20922 @if libiberty
20923 maybe-clean-libiberty: clean-libiberty
20925 clean-libiberty:
20926 @[ -f ./libiberty/Makefile ] || exit 0; \
20927 r=`${PWD_COMMAND}`; export r; \
20928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 $(HOST_EXPORTS) \
20930 for flag in $(EXTRA_HOST_FLAGS) ; do \
20931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20932 done; \
20933 echo "Doing clean in libiberty" ; \
20934 (cd $(HOST_SUBDIR)/libiberty && \
20935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20937 "RANLIB=$${RANLIB}" \
20938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20939 clean) \
20940 || exit 1
20942 @endif libiberty
20944 .PHONY: maybe-distclean-libiberty distclean-libiberty
20945 maybe-distclean-libiberty:
20946 @if libiberty
20947 maybe-distclean-libiberty: distclean-libiberty
20949 distclean-libiberty:
20950 @[ -f ./libiberty/Makefile ] || exit 0; \
20951 r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20953 $(HOST_EXPORTS) \
20954 for flag in $(EXTRA_HOST_FLAGS) ; do \
20955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20956 done; \
20957 echo "Doing distclean in libiberty" ; \
20958 (cd $(HOST_SUBDIR)/libiberty && \
20959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20961 "RANLIB=$${RANLIB}" \
20962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20963 distclean) \
20964 || exit 1
20966 @endif libiberty
20968 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
20969 maybe-maintainer-clean-libiberty:
20970 @if libiberty
20971 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
20973 maintainer-clean-libiberty:
20974 @[ -f ./libiberty/Makefile ] || exit 0; \
20975 r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 $(HOST_EXPORTS) \
20978 for flag in $(EXTRA_HOST_FLAGS) ; do \
20979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20980 done; \
20981 echo "Doing maintainer-clean in libiberty" ; \
20982 (cd $(HOST_SUBDIR)/libiberty && \
20983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20985 "RANLIB=$${RANLIB}" \
20986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20987 maintainer-clean) \
20988 || exit 1
20990 @endif libiberty
20994 .PHONY: configure-libtool maybe-configure-libtool
20995 maybe-configure-libtool:
20996 @if gcc-bootstrap
20997 configure-libtool: stage_current
20998 @endif gcc-bootstrap
20999 @if libtool
21000 maybe-configure-libtool: configure-libtool
21001 configure-libtool:
21002 @: $(MAKE); $(unstage)
21003 @r=`${PWD_COMMAND}`; export r; \
21004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21005 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
21006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
21007 $(HOST_EXPORTS) \
21008 echo Configuring in $(HOST_SUBDIR)/libtool; \
21009 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
21010 case $(srcdir) in \
21011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21012 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
21013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21014 esac; \
21015 srcdiroption="--srcdir=$${topdir}/libtool"; \
21016 libsrcdir="$$s/libtool"; \
21017 $(SHELL) $${libsrcdir}/configure \
21018 $(HOST_CONFIGARGS) $${srcdiroption} \
21019 || exit 1
21020 @endif libtool
21026 .PHONY: all-libtool maybe-all-libtool
21027 maybe-all-libtool:
21028 @if gcc-bootstrap
21029 all-libtool: stage_current
21030 @endif gcc-bootstrap
21031 @if libtool
21032 TARGET-libtool=all
21033 maybe-all-libtool: all-libtool
21034 all-libtool: configure-libtool
21035 @: $(MAKE); $(unstage)
21036 @r=`${PWD_COMMAND}`; export r; \
21037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21038 $(HOST_EXPORTS) \
21039 (cd $(HOST_SUBDIR)/libtool && \
21040 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
21041 @endif libtool
21046 .PHONY: check-libtool maybe-check-libtool
21047 maybe-check-libtool:
21048 @if libtool
21049 maybe-check-libtool: check-libtool
21051 check-libtool:
21052 @: $(MAKE); $(unstage)
21053 @r=`${PWD_COMMAND}`; export r; \
21054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21055 $(HOST_EXPORTS) \
21056 (cd $(HOST_SUBDIR)/libtool && \
21057 $(MAKE) $(FLAGS_TO_PASS) check)
21059 @endif libtool
21061 .PHONY: install-libtool maybe-install-libtool
21062 maybe-install-libtool:
21063 @if libtool
21064 maybe-install-libtool: install-libtool
21066 install-libtool: installdirs
21067 @: $(MAKE); $(unstage)
21068 @r=`${PWD_COMMAND}`; export r; \
21069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21070 $(HOST_EXPORTS) \
21071 (cd $(HOST_SUBDIR)/libtool && \
21072 $(MAKE) $(FLAGS_TO_PASS) install)
21074 @endif libtool
21076 # Other targets (info, dvi, pdf, etc.)
21078 .PHONY: maybe-info-libtool info-libtool
21079 maybe-info-libtool:
21080 @if libtool
21081 maybe-info-libtool: info-libtool
21083 info-libtool: \
21084 configure-libtool
21085 @: $(MAKE); $(unstage)
21086 @[ -f ./libtool/Makefile ] || exit 0; \
21087 r=`${PWD_COMMAND}`; export r; \
21088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21089 $(HOST_EXPORTS) \
21090 for flag in $(EXTRA_HOST_FLAGS) ; do \
21091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21092 done; \
21093 echo "Doing info in libtool" ; \
21094 (cd $(HOST_SUBDIR)/libtool && \
21095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21097 "RANLIB=$${RANLIB}" \
21098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21099 info) \
21100 || exit 1
21102 @endif libtool
21104 .PHONY: maybe-dvi-libtool dvi-libtool
21105 maybe-dvi-libtool:
21106 @if libtool
21107 maybe-dvi-libtool: dvi-libtool
21109 dvi-libtool: \
21110 configure-libtool
21111 @: $(MAKE); $(unstage)
21112 @[ -f ./libtool/Makefile ] || exit 0; \
21113 r=`${PWD_COMMAND}`; export r; \
21114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21115 $(HOST_EXPORTS) \
21116 for flag in $(EXTRA_HOST_FLAGS) ; do \
21117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21118 done; \
21119 echo "Doing dvi in libtool" ; \
21120 (cd $(HOST_SUBDIR)/libtool && \
21121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21123 "RANLIB=$${RANLIB}" \
21124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21125 dvi) \
21126 || exit 1
21128 @endif libtool
21130 .PHONY: maybe-pdf-libtool pdf-libtool
21131 maybe-pdf-libtool:
21132 @if libtool
21133 maybe-pdf-libtool: pdf-libtool
21135 pdf-libtool: \
21136 configure-libtool
21137 @: $(MAKE); $(unstage)
21138 @[ -f ./libtool/Makefile ] || exit 0; \
21139 r=`${PWD_COMMAND}`; export r; \
21140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21141 $(HOST_EXPORTS) \
21142 for flag in $(EXTRA_HOST_FLAGS) ; do \
21143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21144 done; \
21145 echo "Doing pdf in libtool" ; \
21146 (cd $(HOST_SUBDIR)/libtool && \
21147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21149 "RANLIB=$${RANLIB}" \
21150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21151 pdf) \
21152 || exit 1
21154 @endif libtool
21156 .PHONY: maybe-html-libtool html-libtool
21157 maybe-html-libtool:
21158 @if libtool
21159 maybe-html-libtool: html-libtool
21161 html-libtool: \
21162 configure-libtool
21163 @: $(MAKE); $(unstage)
21164 @[ -f ./libtool/Makefile ] || exit 0; \
21165 r=`${PWD_COMMAND}`; export r; \
21166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21167 $(HOST_EXPORTS) \
21168 for flag in $(EXTRA_HOST_FLAGS) ; do \
21169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21170 done; \
21171 echo "Doing html in libtool" ; \
21172 (cd $(HOST_SUBDIR)/libtool && \
21173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21175 "RANLIB=$${RANLIB}" \
21176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21177 html) \
21178 || exit 1
21180 @endif libtool
21182 .PHONY: maybe-TAGS-libtool TAGS-libtool
21183 maybe-TAGS-libtool:
21184 @if libtool
21185 maybe-TAGS-libtool: TAGS-libtool
21187 TAGS-libtool: \
21188 configure-libtool
21189 @: $(MAKE); $(unstage)
21190 @[ -f ./libtool/Makefile ] || exit 0; \
21191 r=`${PWD_COMMAND}`; export r; \
21192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21193 $(HOST_EXPORTS) \
21194 for flag in $(EXTRA_HOST_FLAGS) ; do \
21195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21196 done; \
21197 echo "Doing TAGS in libtool" ; \
21198 (cd $(HOST_SUBDIR)/libtool && \
21199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21201 "RANLIB=$${RANLIB}" \
21202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21203 TAGS) \
21204 || exit 1
21206 @endif libtool
21208 .PHONY: maybe-install-info-libtool install-info-libtool
21209 maybe-install-info-libtool:
21210 @if libtool
21211 maybe-install-info-libtool: install-info-libtool
21213 install-info-libtool: \
21214 configure-libtool \
21215 info-libtool
21216 @: $(MAKE); $(unstage)
21217 @[ -f ./libtool/Makefile ] || exit 0; \
21218 r=`${PWD_COMMAND}`; export r; \
21219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21220 $(HOST_EXPORTS) \
21221 for flag in $(EXTRA_HOST_FLAGS) ; do \
21222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21223 done; \
21224 echo "Doing install-info in libtool" ; \
21225 (cd $(HOST_SUBDIR)/libtool && \
21226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21228 "RANLIB=$${RANLIB}" \
21229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21230 install-info) \
21231 || exit 1
21233 @endif libtool
21235 .PHONY: maybe-install-html-libtool install-html-libtool
21236 maybe-install-html-libtool:
21237 @if libtool
21238 maybe-install-html-libtool: install-html-libtool
21240 install-html-libtool: \
21241 configure-libtool \
21242 html-libtool
21243 @: $(MAKE); $(unstage)
21244 @[ -f ./libtool/Makefile ] || exit 0; \
21245 r=`${PWD_COMMAND}`; export r; \
21246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21247 $(HOST_EXPORTS) \
21248 for flag in $(EXTRA_HOST_FLAGS) ; do \
21249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21250 done; \
21251 echo "Doing install-html in libtool" ; \
21252 (cd $(HOST_SUBDIR)/libtool && \
21253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21255 "RANLIB=$${RANLIB}" \
21256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21257 install-html) \
21258 || exit 1
21260 @endif libtool
21262 .PHONY: maybe-installcheck-libtool installcheck-libtool
21263 maybe-installcheck-libtool:
21264 @if libtool
21265 maybe-installcheck-libtool: installcheck-libtool
21267 installcheck-libtool: \
21268 configure-libtool
21269 @: $(MAKE); $(unstage)
21270 @[ -f ./libtool/Makefile ] || exit 0; \
21271 r=`${PWD_COMMAND}`; export r; \
21272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 $(HOST_EXPORTS) \
21274 for flag in $(EXTRA_HOST_FLAGS) ; do \
21275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21276 done; \
21277 echo "Doing installcheck in libtool" ; \
21278 (cd $(HOST_SUBDIR)/libtool && \
21279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21281 "RANLIB=$${RANLIB}" \
21282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21283 installcheck) \
21284 || exit 1
21286 @endif libtool
21288 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
21289 maybe-mostlyclean-libtool:
21290 @if libtool
21291 maybe-mostlyclean-libtool: mostlyclean-libtool
21293 mostlyclean-libtool:
21294 @: $(MAKE); $(unstage)
21295 @[ -f ./libtool/Makefile ] || exit 0; \
21296 r=`${PWD_COMMAND}`; export r; \
21297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21298 $(HOST_EXPORTS) \
21299 for flag in $(EXTRA_HOST_FLAGS) ; do \
21300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21301 done; \
21302 echo "Doing mostlyclean in libtool" ; \
21303 (cd $(HOST_SUBDIR)/libtool && \
21304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21306 "RANLIB=$${RANLIB}" \
21307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21308 mostlyclean) \
21309 || exit 1
21311 @endif libtool
21313 .PHONY: maybe-clean-libtool clean-libtool
21314 maybe-clean-libtool:
21315 @if libtool
21316 maybe-clean-libtool: clean-libtool
21318 clean-libtool:
21319 @: $(MAKE); $(unstage)
21320 @[ -f ./libtool/Makefile ] || exit 0; \
21321 r=`${PWD_COMMAND}`; export r; \
21322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21323 $(HOST_EXPORTS) \
21324 for flag in $(EXTRA_HOST_FLAGS) ; do \
21325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21326 done; \
21327 echo "Doing clean in libtool" ; \
21328 (cd $(HOST_SUBDIR)/libtool && \
21329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21331 "RANLIB=$${RANLIB}" \
21332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21333 clean) \
21334 || exit 1
21336 @endif libtool
21338 .PHONY: maybe-distclean-libtool distclean-libtool
21339 maybe-distclean-libtool:
21340 @if libtool
21341 maybe-distclean-libtool: distclean-libtool
21343 distclean-libtool:
21344 @: $(MAKE); $(unstage)
21345 @[ -f ./libtool/Makefile ] || exit 0; \
21346 r=`${PWD_COMMAND}`; export r; \
21347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21348 $(HOST_EXPORTS) \
21349 for flag in $(EXTRA_HOST_FLAGS) ; do \
21350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21351 done; \
21352 echo "Doing distclean in libtool" ; \
21353 (cd $(HOST_SUBDIR)/libtool && \
21354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21356 "RANLIB=$${RANLIB}" \
21357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21358 distclean) \
21359 || exit 1
21361 @endif libtool
21363 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
21364 maybe-maintainer-clean-libtool:
21365 @if libtool
21366 maybe-maintainer-clean-libtool: maintainer-clean-libtool
21368 maintainer-clean-libtool:
21369 @: $(MAKE); $(unstage)
21370 @[ -f ./libtool/Makefile ] || exit 0; \
21371 r=`${PWD_COMMAND}`; export r; \
21372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21373 $(HOST_EXPORTS) \
21374 for flag in $(EXTRA_HOST_FLAGS) ; do \
21375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21376 done; \
21377 echo "Doing maintainer-clean in libtool" ; \
21378 (cd $(HOST_SUBDIR)/libtool && \
21379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21381 "RANLIB=$${RANLIB}" \
21382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21383 maintainer-clean) \
21384 || exit 1
21386 @endif libtool
21390 .PHONY: configure-m4 maybe-configure-m4
21391 maybe-configure-m4:
21392 @if gcc-bootstrap
21393 configure-m4: stage_current
21394 @endif gcc-bootstrap
21395 @if m4
21396 maybe-configure-m4: configure-m4
21397 configure-m4:
21398 @: $(MAKE); $(unstage)
21399 @r=`${PWD_COMMAND}`; export r; \
21400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21401 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
21402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
21403 $(HOST_EXPORTS) \
21404 echo Configuring in $(HOST_SUBDIR)/m4; \
21405 cd "$(HOST_SUBDIR)/m4" || exit 1; \
21406 case $(srcdir) in \
21407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21408 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
21409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21410 esac; \
21411 srcdiroption="--srcdir=$${topdir}/m4"; \
21412 libsrcdir="$$s/m4"; \
21413 $(SHELL) $${libsrcdir}/configure \
21414 $(HOST_CONFIGARGS) $${srcdiroption} \
21415 || exit 1
21416 @endif m4
21422 .PHONY: all-m4 maybe-all-m4
21423 maybe-all-m4:
21424 @if gcc-bootstrap
21425 all-m4: stage_current
21426 @endif gcc-bootstrap
21427 @if m4
21428 TARGET-m4=all
21429 maybe-all-m4: all-m4
21430 all-m4: configure-m4
21431 @: $(MAKE); $(unstage)
21432 @r=`${PWD_COMMAND}`; export r; \
21433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21434 $(HOST_EXPORTS) \
21435 (cd $(HOST_SUBDIR)/m4 && \
21436 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
21437 @endif m4
21442 .PHONY: check-m4 maybe-check-m4
21443 maybe-check-m4:
21444 @if m4
21445 maybe-check-m4: check-m4
21447 check-m4:
21448 @: $(MAKE); $(unstage)
21449 @r=`${PWD_COMMAND}`; export r; \
21450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21451 $(HOST_EXPORTS) \
21452 (cd $(HOST_SUBDIR)/m4 && \
21453 $(MAKE) $(FLAGS_TO_PASS) check)
21455 @endif m4
21457 .PHONY: install-m4 maybe-install-m4
21458 maybe-install-m4:
21459 @if m4
21460 maybe-install-m4: install-m4
21462 install-m4: installdirs
21463 @: $(MAKE); $(unstage)
21464 @r=`${PWD_COMMAND}`; export r; \
21465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 $(HOST_EXPORTS) \
21467 (cd $(HOST_SUBDIR)/m4 && \
21468 $(MAKE) $(FLAGS_TO_PASS) install)
21470 @endif m4
21472 # Other targets (info, dvi, pdf, etc.)
21474 .PHONY: maybe-info-m4 info-m4
21475 maybe-info-m4:
21476 @if m4
21477 maybe-info-m4: info-m4
21479 info-m4: \
21480 configure-m4
21481 @: $(MAKE); $(unstage)
21482 @[ -f ./m4/Makefile ] || exit 0; \
21483 r=`${PWD_COMMAND}`; export r; \
21484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21485 $(HOST_EXPORTS) \
21486 for flag in $(EXTRA_HOST_FLAGS) ; do \
21487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21488 done; \
21489 echo "Doing info in m4" ; \
21490 (cd $(HOST_SUBDIR)/m4 && \
21491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21493 "RANLIB=$${RANLIB}" \
21494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21495 info) \
21496 || exit 1
21498 @endif m4
21500 .PHONY: maybe-dvi-m4 dvi-m4
21501 maybe-dvi-m4:
21502 @if m4
21503 maybe-dvi-m4: dvi-m4
21505 dvi-m4: \
21506 configure-m4
21507 @: $(MAKE); $(unstage)
21508 @[ -f ./m4/Makefile ] || exit 0; \
21509 r=`${PWD_COMMAND}`; export r; \
21510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21511 $(HOST_EXPORTS) \
21512 for flag in $(EXTRA_HOST_FLAGS) ; do \
21513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21514 done; \
21515 echo "Doing dvi in m4" ; \
21516 (cd $(HOST_SUBDIR)/m4 && \
21517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21519 "RANLIB=$${RANLIB}" \
21520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21521 dvi) \
21522 || exit 1
21524 @endif m4
21526 .PHONY: maybe-pdf-m4 pdf-m4
21527 maybe-pdf-m4:
21528 @if m4
21529 maybe-pdf-m4: pdf-m4
21531 pdf-m4: \
21532 configure-m4
21533 @: $(MAKE); $(unstage)
21534 @[ -f ./m4/Makefile ] || exit 0; \
21535 r=`${PWD_COMMAND}`; export r; \
21536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21537 $(HOST_EXPORTS) \
21538 for flag in $(EXTRA_HOST_FLAGS) ; do \
21539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21540 done; \
21541 echo "Doing pdf in m4" ; \
21542 (cd $(HOST_SUBDIR)/m4 && \
21543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21545 "RANLIB=$${RANLIB}" \
21546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21547 pdf) \
21548 || exit 1
21550 @endif m4
21552 .PHONY: maybe-html-m4 html-m4
21553 maybe-html-m4:
21554 @if m4
21555 maybe-html-m4: html-m4
21557 html-m4: \
21558 configure-m4
21559 @: $(MAKE); $(unstage)
21560 @[ -f ./m4/Makefile ] || exit 0; \
21561 r=`${PWD_COMMAND}`; export r; \
21562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21563 $(HOST_EXPORTS) \
21564 for flag in $(EXTRA_HOST_FLAGS) ; do \
21565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21566 done; \
21567 echo "Doing html in m4" ; \
21568 (cd $(HOST_SUBDIR)/m4 && \
21569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21571 "RANLIB=$${RANLIB}" \
21572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21573 html) \
21574 || exit 1
21576 @endif m4
21578 .PHONY: maybe-TAGS-m4 TAGS-m4
21579 maybe-TAGS-m4:
21580 @if m4
21581 maybe-TAGS-m4: TAGS-m4
21583 TAGS-m4: \
21584 configure-m4
21585 @: $(MAKE); $(unstage)
21586 @[ -f ./m4/Makefile ] || exit 0; \
21587 r=`${PWD_COMMAND}`; export r; \
21588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21589 $(HOST_EXPORTS) \
21590 for flag in $(EXTRA_HOST_FLAGS) ; do \
21591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21592 done; \
21593 echo "Doing TAGS in m4" ; \
21594 (cd $(HOST_SUBDIR)/m4 && \
21595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21597 "RANLIB=$${RANLIB}" \
21598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21599 TAGS) \
21600 || exit 1
21602 @endif m4
21604 .PHONY: maybe-install-info-m4 install-info-m4
21605 maybe-install-info-m4:
21606 @if m4
21607 maybe-install-info-m4: install-info-m4
21609 install-info-m4: \
21610 configure-m4 \
21611 info-m4
21612 @: $(MAKE); $(unstage)
21613 @[ -f ./m4/Makefile ] || exit 0; \
21614 r=`${PWD_COMMAND}`; export r; \
21615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21616 $(HOST_EXPORTS) \
21617 for flag in $(EXTRA_HOST_FLAGS) ; do \
21618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21619 done; \
21620 echo "Doing install-info in m4" ; \
21621 (cd $(HOST_SUBDIR)/m4 && \
21622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21624 "RANLIB=$${RANLIB}" \
21625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21626 install-info) \
21627 || exit 1
21629 @endif m4
21631 .PHONY: maybe-install-html-m4 install-html-m4
21632 maybe-install-html-m4:
21633 @if m4
21634 maybe-install-html-m4: install-html-m4
21636 install-html-m4: \
21637 configure-m4 \
21638 html-m4
21639 @: $(MAKE); $(unstage)
21640 @[ -f ./m4/Makefile ] || exit 0; \
21641 r=`${PWD_COMMAND}`; export r; \
21642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21643 $(HOST_EXPORTS) \
21644 for flag in $(EXTRA_HOST_FLAGS) ; do \
21645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21646 done; \
21647 echo "Doing install-html in m4" ; \
21648 (cd $(HOST_SUBDIR)/m4 && \
21649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21651 "RANLIB=$${RANLIB}" \
21652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21653 install-html) \
21654 || exit 1
21656 @endif m4
21658 .PHONY: maybe-installcheck-m4 installcheck-m4
21659 maybe-installcheck-m4:
21660 @if m4
21661 maybe-installcheck-m4: installcheck-m4
21663 installcheck-m4: \
21664 configure-m4
21665 @: $(MAKE); $(unstage)
21666 @[ -f ./m4/Makefile ] || exit 0; \
21667 r=`${PWD_COMMAND}`; export r; \
21668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21669 $(HOST_EXPORTS) \
21670 for flag in $(EXTRA_HOST_FLAGS) ; do \
21671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21672 done; \
21673 echo "Doing installcheck in m4" ; \
21674 (cd $(HOST_SUBDIR)/m4 && \
21675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21677 "RANLIB=$${RANLIB}" \
21678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21679 installcheck) \
21680 || exit 1
21682 @endif m4
21684 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
21685 maybe-mostlyclean-m4:
21686 @if m4
21687 maybe-mostlyclean-m4: mostlyclean-m4
21689 mostlyclean-m4:
21690 @: $(MAKE); $(unstage)
21691 @[ -f ./m4/Makefile ] || exit 0; \
21692 r=`${PWD_COMMAND}`; export r; \
21693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21694 $(HOST_EXPORTS) \
21695 for flag in $(EXTRA_HOST_FLAGS) ; do \
21696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21697 done; \
21698 echo "Doing mostlyclean in m4" ; \
21699 (cd $(HOST_SUBDIR)/m4 && \
21700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21702 "RANLIB=$${RANLIB}" \
21703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21704 mostlyclean) \
21705 || exit 1
21707 @endif m4
21709 .PHONY: maybe-clean-m4 clean-m4
21710 maybe-clean-m4:
21711 @if m4
21712 maybe-clean-m4: clean-m4
21714 clean-m4:
21715 @: $(MAKE); $(unstage)
21716 @[ -f ./m4/Makefile ] || exit 0; \
21717 r=`${PWD_COMMAND}`; export r; \
21718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21719 $(HOST_EXPORTS) \
21720 for flag in $(EXTRA_HOST_FLAGS) ; do \
21721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21722 done; \
21723 echo "Doing clean in m4" ; \
21724 (cd $(HOST_SUBDIR)/m4 && \
21725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21727 "RANLIB=$${RANLIB}" \
21728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21729 clean) \
21730 || exit 1
21732 @endif m4
21734 .PHONY: maybe-distclean-m4 distclean-m4
21735 maybe-distclean-m4:
21736 @if m4
21737 maybe-distclean-m4: distclean-m4
21739 distclean-m4:
21740 @: $(MAKE); $(unstage)
21741 @[ -f ./m4/Makefile ] || exit 0; \
21742 r=`${PWD_COMMAND}`; export r; \
21743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21744 $(HOST_EXPORTS) \
21745 for flag in $(EXTRA_HOST_FLAGS) ; do \
21746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21747 done; \
21748 echo "Doing distclean in m4" ; \
21749 (cd $(HOST_SUBDIR)/m4 && \
21750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21752 "RANLIB=$${RANLIB}" \
21753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21754 distclean) \
21755 || exit 1
21757 @endif m4
21759 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
21760 maybe-maintainer-clean-m4:
21761 @if m4
21762 maybe-maintainer-clean-m4: maintainer-clean-m4
21764 maintainer-clean-m4:
21765 @: $(MAKE); $(unstage)
21766 @[ -f ./m4/Makefile ] || exit 0; \
21767 r=`${PWD_COMMAND}`; export r; \
21768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21769 $(HOST_EXPORTS) \
21770 for flag in $(EXTRA_HOST_FLAGS) ; do \
21771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21772 done; \
21773 echo "Doing maintainer-clean in m4" ; \
21774 (cd $(HOST_SUBDIR)/m4 && \
21775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21777 "RANLIB=$${RANLIB}" \
21778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21779 maintainer-clean) \
21780 || exit 1
21782 @endif m4
21786 .PHONY: configure-make maybe-configure-make
21787 maybe-configure-make:
21788 @if gcc-bootstrap
21789 configure-make: stage_current
21790 @endif gcc-bootstrap
21791 @if make
21792 maybe-configure-make: configure-make
21793 configure-make:
21794 @: $(MAKE); $(unstage)
21795 @r=`${PWD_COMMAND}`; export r; \
21796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21797 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
21798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
21799 $(HOST_EXPORTS) \
21800 echo Configuring in $(HOST_SUBDIR)/make; \
21801 cd "$(HOST_SUBDIR)/make" || exit 1; \
21802 case $(srcdir) in \
21803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21804 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
21805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21806 esac; \
21807 srcdiroption="--srcdir=$${topdir}/make"; \
21808 libsrcdir="$$s/make"; \
21809 $(SHELL) $${libsrcdir}/configure \
21810 $(HOST_CONFIGARGS) $${srcdiroption} \
21811 || exit 1
21812 @endif make
21818 .PHONY: all-make maybe-all-make
21819 maybe-all-make:
21820 @if gcc-bootstrap
21821 all-make: stage_current
21822 @endif gcc-bootstrap
21823 @if make
21824 TARGET-make=all
21825 maybe-all-make: all-make
21826 all-make: configure-make
21827 @: $(MAKE); $(unstage)
21828 @r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830 $(HOST_EXPORTS) \
21831 (cd $(HOST_SUBDIR)/make && \
21832 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
21833 @endif make
21838 .PHONY: check-make maybe-check-make
21839 maybe-check-make:
21840 @if make
21841 maybe-check-make: check-make
21843 check-make:
21844 @: $(MAKE); $(unstage)
21845 @r=`${PWD_COMMAND}`; export r; \
21846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21847 $(HOST_EXPORTS) \
21848 (cd $(HOST_SUBDIR)/make && \
21849 $(MAKE) $(FLAGS_TO_PASS) check)
21851 @endif make
21853 .PHONY: install-make maybe-install-make
21854 maybe-install-make:
21855 @if make
21856 maybe-install-make: install-make
21858 install-make: installdirs
21859 @: $(MAKE); $(unstage)
21860 @r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 $(HOST_EXPORTS) \
21863 (cd $(HOST_SUBDIR)/make && \
21864 $(MAKE) $(FLAGS_TO_PASS) install)
21866 @endif make
21868 # Other targets (info, dvi, pdf, etc.)
21870 .PHONY: maybe-info-make info-make
21871 maybe-info-make:
21872 @if make
21873 maybe-info-make: info-make
21875 info-make: \
21876 configure-make
21877 @: $(MAKE); $(unstage)
21878 @[ -f ./make/Makefile ] || exit 0; \
21879 r=`${PWD_COMMAND}`; export r; \
21880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21881 $(HOST_EXPORTS) \
21882 for flag in $(EXTRA_HOST_FLAGS) ; do \
21883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21884 done; \
21885 echo "Doing info in make" ; \
21886 (cd $(HOST_SUBDIR)/make && \
21887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21889 "RANLIB=$${RANLIB}" \
21890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21891 info) \
21892 || exit 1
21894 @endif make
21896 .PHONY: maybe-dvi-make dvi-make
21897 maybe-dvi-make:
21898 @if make
21899 maybe-dvi-make: dvi-make
21901 dvi-make: \
21902 configure-make
21903 @: $(MAKE); $(unstage)
21904 @[ -f ./make/Makefile ] || exit 0; \
21905 r=`${PWD_COMMAND}`; export r; \
21906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21907 $(HOST_EXPORTS) \
21908 for flag in $(EXTRA_HOST_FLAGS) ; do \
21909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21910 done; \
21911 echo "Doing dvi in make" ; \
21912 (cd $(HOST_SUBDIR)/make && \
21913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21915 "RANLIB=$${RANLIB}" \
21916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21917 dvi) \
21918 || exit 1
21920 @endif make
21922 .PHONY: maybe-pdf-make pdf-make
21923 maybe-pdf-make:
21924 @if make
21925 maybe-pdf-make: pdf-make
21927 pdf-make: \
21928 configure-make
21929 @: $(MAKE); $(unstage)
21930 @[ -f ./make/Makefile ] || exit 0; \
21931 r=`${PWD_COMMAND}`; export r; \
21932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21933 $(HOST_EXPORTS) \
21934 for flag in $(EXTRA_HOST_FLAGS) ; do \
21935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21936 done; \
21937 echo "Doing pdf in make" ; \
21938 (cd $(HOST_SUBDIR)/make && \
21939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21941 "RANLIB=$${RANLIB}" \
21942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21943 pdf) \
21944 || exit 1
21946 @endif make
21948 .PHONY: maybe-html-make html-make
21949 maybe-html-make:
21950 @if make
21951 maybe-html-make: html-make
21953 html-make: \
21954 configure-make
21955 @: $(MAKE); $(unstage)
21956 @[ -f ./make/Makefile ] || exit 0; \
21957 r=`${PWD_COMMAND}`; export r; \
21958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21959 $(HOST_EXPORTS) \
21960 for flag in $(EXTRA_HOST_FLAGS) ; do \
21961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21962 done; \
21963 echo "Doing html in make" ; \
21964 (cd $(HOST_SUBDIR)/make && \
21965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21967 "RANLIB=$${RANLIB}" \
21968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21969 html) \
21970 || exit 1
21972 @endif make
21974 .PHONY: maybe-TAGS-make TAGS-make
21975 maybe-TAGS-make:
21976 @if make
21977 maybe-TAGS-make: TAGS-make
21979 TAGS-make: \
21980 configure-make
21981 @: $(MAKE); $(unstage)
21982 @[ -f ./make/Makefile ] || exit 0; \
21983 r=`${PWD_COMMAND}`; export r; \
21984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21985 $(HOST_EXPORTS) \
21986 for flag in $(EXTRA_HOST_FLAGS) ; do \
21987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21988 done; \
21989 echo "Doing TAGS in make" ; \
21990 (cd $(HOST_SUBDIR)/make && \
21991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21993 "RANLIB=$${RANLIB}" \
21994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21995 TAGS) \
21996 || exit 1
21998 @endif make
22000 .PHONY: maybe-install-info-make install-info-make
22001 maybe-install-info-make:
22002 @if make
22003 maybe-install-info-make: install-info-make
22005 install-info-make: \
22006 configure-make \
22007 info-make
22008 @: $(MAKE); $(unstage)
22009 @[ -f ./make/Makefile ] || exit 0; \
22010 r=`${PWD_COMMAND}`; export r; \
22011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22012 $(HOST_EXPORTS) \
22013 for flag in $(EXTRA_HOST_FLAGS) ; do \
22014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22015 done; \
22016 echo "Doing install-info in make" ; \
22017 (cd $(HOST_SUBDIR)/make && \
22018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22020 "RANLIB=$${RANLIB}" \
22021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22022 install-info) \
22023 || exit 1
22025 @endif make
22027 .PHONY: maybe-install-html-make install-html-make
22028 maybe-install-html-make:
22029 @if make
22030 maybe-install-html-make: install-html-make
22032 install-html-make: \
22033 configure-make \
22034 html-make
22035 @: $(MAKE); $(unstage)
22036 @[ -f ./make/Makefile ] || exit 0; \
22037 r=`${PWD_COMMAND}`; export r; \
22038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22039 $(HOST_EXPORTS) \
22040 for flag in $(EXTRA_HOST_FLAGS) ; do \
22041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22042 done; \
22043 echo "Doing install-html in make" ; \
22044 (cd $(HOST_SUBDIR)/make && \
22045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22047 "RANLIB=$${RANLIB}" \
22048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22049 install-html) \
22050 || exit 1
22052 @endif make
22054 .PHONY: maybe-installcheck-make installcheck-make
22055 maybe-installcheck-make:
22056 @if make
22057 maybe-installcheck-make: installcheck-make
22059 installcheck-make: \
22060 configure-make
22061 @: $(MAKE); $(unstage)
22062 @[ -f ./make/Makefile ] || exit 0; \
22063 r=`${PWD_COMMAND}`; export r; \
22064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22065 $(HOST_EXPORTS) \
22066 for flag in $(EXTRA_HOST_FLAGS) ; do \
22067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22068 done; \
22069 echo "Doing installcheck in make" ; \
22070 (cd $(HOST_SUBDIR)/make && \
22071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22073 "RANLIB=$${RANLIB}" \
22074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22075 installcheck) \
22076 || exit 1
22078 @endif make
22080 .PHONY: maybe-mostlyclean-make mostlyclean-make
22081 maybe-mostlyclean-make:
22082 @if make
22083 maybe-mostlyclean-make: mostlyclean-make
22085 mostlyclean-make:
22086 @: $(MAKE); $(unstage)
22087 @[ -f ./make/Makefile ] || exit 0; \
22088 r=`${PWD_COMMAND}`; export r; \
22089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22090 $(HOST_EXPORTS) \
22091 for flag in $(EXTRA_HOST_FLAGS) ; do \
22092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22093 done; \
22094 echo "Doing mostlyclean in make" ; \
22095 (cd $(HOST_SUBDIR)/make && \
22096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22098 "RANLIB=$${RANLIB}" \
22099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22100 mostlyclean) \
22101 || exit 1
22103 @endif make
22105 .PHONY: maybe-clean-make clean-make
22106 maybe-clean-make:
22107 @if make
22108 maybe-clean-make: clean-make
22110 clean-make:
22111 @: $(MAKE); $(unstage)
22112 @[ -f ./make/Makefile ] || exit 0; \
22113 r=`${PWD_COMMAND}`; export r; \
22114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22115 $(HOST_EXPORTS) \
22116 for flag in $(EXTRA_HOST_FLAGS) ; do \
22117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22118 done; \
22119 echo "Doing clean in make" ; \
22120 (cd $(HOST_SUBDIR)/make && \
22121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22123 "RANLIB=$${RANLIB}" \
22124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22125 clean) \
22126 || exit 1
22128 @endif make
22130 .PHONY: maybe-distclean-make distclean-make
22131 maybe-distclean-make:
22132 @if make
22133 maybe-distclean-make: distclean-make
22135 distclean-make:
22136 @: $(MAKE); $(unstage)
22137 @[ -f ./make/Makefile ] || exit 0; \
22138 r=`${PWD_COMMAND}`; export r; \
22139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22140 $(HOST_EXPORTS) \
22141 for flag in $(EXTRA_HOST_FLAGS) ; do \
22142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22143 done; \
22144 echo "Doing distclean in make" ; \
22145 (cd $(HOST_SUBDIR)/make && \
22146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22148 "RANLIB=$${RANLIB}" \
22149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22150 distclean) \
22151 || exit 1
22153 @endif make
22155 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
22156 maybe-maintainer-clean-make:
22157 @if make
22158 maybe-maintainer-clean-make: maintainer-clean-make
22160 maintainer-clean-make:
22161 @: $(MAKE); $(unstage)
22162 @[ -f ./make/Makefile ] || exit 0; \
22163 r=`${PWD_COMMAND}`; export r; \
22164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22165 $(HOST_EXPORTS) \
22166 for flag in $(EXTRA_HOST_FLAGS) ; do \
22167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22168 done; \
22169 echo "Doing maintainer-clean in make" ; \
22170 (cd $(HOST_SUBDIR)/make && \
22171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22173 "RANLIB=$${RANLIB}" \
22174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22175 maintainer-clean) \
22176 || exit 1
22178 @endif make
22182 .PHONY: configure-mmalloc maybe-configure-mmalloc
22183 maybe-configure-mmalloc:
22184 @if gcc-bootstrap
22185 configure-mmalloc: stage_current
22186 @endif gcc-bootstrap
22187 @if mmalloc
22188 maybe-configure-mmalloc: configure-mmalloc
22189 configure-mmalloc:
22190 @: $(MAKE); $(unstage)
22191 @r=`${PWD_COMMAND}`; export r; \
22192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22193 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
22194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
22195 $(HOST_EXPORTS) \
22196 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
22197 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
22198 case $(srcdir) in \
22199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22200 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
22201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22202 esac; \
22203 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
22204 libsrcdir="$$s/mmalloc"; \
22205 $(SHELL) $${libsrcdir}/configure \
22206 $(HOST_CONFIGARGS) $${srcdiroption} \
22207 || exit 1
22208 @endif mmalloc
22214 .PHONY: all-mmalloc maybe-all-mmalloc
22215 maybe-all-mmalloc:
22216 @if gcc-bootstrap
22217 all-mmalloc: stage_current
22218 @endif gcc-bootstrap
22219 @if mmalloc
22220 TARGET-mmalloc=all
22221 maybe-all-mmalloc: all-mmalloc
22222 all-mmalloc: configure-mmalloc
22223 @: $(MAKE); $(unstage)
22224 @r=`${PWD_COMMAND}`; export r; \
22225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22226 $(HOST_EXPORTS) \
22227 (cd $(HOST_SUBDIR)/mmalloc && \
22228 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
22229 @endif mmalloc
22234 .PHONY: check-mmalloc maybe-check-mmalloc
22235 maybe-check-mmalloc:
22236 @if mmalloc
22237 maybe-check-mmalloc: check-mmalloc
22239 check-mmalloc:
22241 @endif mmalloc
22243 .PHONY: install-mmalloc maybe-install-mmalloc
22244 maybe-install-mmalloc:
22245 @if mmalloc
22246 maybe-install-mmalloc: install-mmalloc
22248 install-mmalloc: installdirs
22249 @: $(MAKE); $(unstage)
22250 @r=`${PWD_COMMAND}`; export r; \
22251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22252 $(HOST_EXPORTS) \
22253 (cd $(HOST_SUBDIR)/mmalloc && \
22254 $(MAKE) $(FLAGS_TO_PASS) install)
22256 @endif mmalloc
22258 # Other targets (info, dvi, pdf, etc.)
22260 .PHONY: maybe-info-mmalloc info-mmalloc
22261 maybe-info-mmalloc:
22262 @if mmalloc
22263 maybe-info-mmalloc: info-mmalloc
22265 info-mmalloc: \
22266 configure-mmalloc
22267 @: $(MAKE); $(unstage)
22268 @[ -f ./mmalloc/Makefile ] || exit 0; \
22269 r=`${PWD_COMMAND}`; export r; \
22270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 $(HOST_EXPORTS) \
22272 for flag in $(EXTRA_HOST_FLAGS) ; do \
22273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22274 done; \
22275 echo "Doing info in mmalloc" ; \
22276 (cd $(HOST_SUBDIR)/mmalloc && \
22277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22279 "RANLIB=$${RANLIB}" \
22280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22281 info) \
22282 || exit 1
22284 @endif mmalloc
22286 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
22287 maybe-dvi-mmalloc:
22288 @if mmalloc
22289 maybe-dvi-mmalloc: dvi-mmalloc
22291 dvi-mmalloc: \
22292 configure-mmalloc
22293 @: $(MAKE); $(unstage)
22294 @[ -f ./mmalloc/Makefile ] || exit 0; \
22295 r=`${PWD_COMMAND}`; export r; \
22296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22297 $(HOST_EXPORTS) \
22298 for flag in $(EXTRA_HOST_FLAGS) ; do \
22299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22300 done; \
22301 echo "Doing dvi in mmalloc" ; \
22302 (cd $(HOST_SUBDIR)/mmalloc && \
22303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22305 "RANLIB=$${RANLIB}" \
22306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22307 dvi) \
22308 || exit 1
22310 @endif mmalloc
22312 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
22313 maybe-pdf-mmalloc:
22314 @if mmalloc
22315 maybe-pdf-mmalloc: pdf-mmalloc
22317 pdf-mmalloc: \
22318 configure-mmalloc
22319 @: $(MAKE); $(unstage)
22320 @[ -f ./mmalloc/Makefile ] || exit 0; \
22321 r=`${PWD_COMMAND}`; export r; \
22322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22323 $(HOST_EXPORTS) \
22324 for flag in $(EXTRA_HOST_FLAGS) ; do \
22325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22326 done; \
22327 echo "Doing pdf in mmalloc" ; \
22328 (cd $(HOST_SUBDIR)/mmalloc && \
22329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22331 "RANLIB=$${RANLIB}" \
22332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22333 pdf) \
22334 || exit 1
22336 @endif mmalloc
22338 .PHONY: maybe-html-mmalloc html-mmalloc
22339 maybe-html-mmalloc:
22340 @if mmalloc
22341 maybe-html-mmalloc: html-mmalloc
22343 html-mmalloc: \
22344 configure-mmalloc
22345 @: $(MAKE); $(unstage)
22346 @[ -f ./mmalloc/Makefile ] || exit 0; \
22347 r=`${PWD_COMMAND}`; export r; \
22348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22349 $(HOST_EXPORTS) \
22350 for flag in $(EXTRA_HOST_FLAGS) ; do \
22351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22352 done; \
22353 echo "Doing html in mmalloc" ; \
22354 (cd $(HOST_SUBDIR)/mmalloc && \
22355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22357 "RANLIB=$${RANLIB}" \
22358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22359 html) \
22360 || exit 1
22362 @endif mmalloc
22364 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
22365 maybe-TAGS-mmalloc:
22366 @if mmalloc
22367 maybe-TAGS-mmalloc: TAGS-mmalloc
22369 TAGS-mmalloc: \
22370 configure-mmalloc
22371 @: $(MAKE); $(unstage)
22372 @[ -f ./mmalloc/Makefile ] || exit 0; \
22373 r=`${PWD_COMMAND}`; export r; \
22374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22375 $(HOST_EXPORTS) \
22376 for flag in $(EXTRA_HOST_FLAGS) ; do \
22377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22378 done; \
22379 echo "Doing TAGS in mmalloc" ; \
22380 (cd $(HOST_SUBDIR)/mmalloc && \
22381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22383 "RANLIB=$${RANLIB}" \
22384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22385 TAGS) \
22386 || exit 1
22388 @endif mmalloc
22390 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
22391 maybe-install-info-mmalloc:
22392 @if mmalloc
22393 maybe-install-info-mmalloc: install-info-mmalloc
22395 install-info-mmalloc: \
22396 configure-mmalloc \
22397 info-mmalloc
22398 @: $(MAKE); $(unstage)
22399 @[ -f ./mmalloc/Makefile ] || exit 0; \
22400 r=`${PWD_COMMAND}`; export r; \
22401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22402 $(HOST_EXPORTS) \
22403 for flag in $(EXTRA_HOST_FLAGS) ; do \
22404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22405 done; \
22406 echo "Doing install-info in mmalloc" ; \
22407 (cd $(HOST_SUBDIR)/mmalloc && \
22408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22410 "RANLIB=$${RANLIB}" \
22411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22412 install-info) \
22413 || exit 1
22415 @endif mmalloc
22417 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
22418 maybe-install-html-mmalloc:
22419 @if mmalloc
22420 maybe-install-html-mmalloc: install-html-mmalloc
22422 install-html-mmalloc: \
22423 configure-mmalloc \
22424 html-mmalloc
22425 @: $(MAKE); $(unstage)
22426 @[ -f ./mmalloc/Makefile ] || exit 0; \
22427 r=`${PWD_COMMAND}`; export r; \
22428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22429 $(HOST_EXPORTS) \
22430 for flag in $(EXTRA_HOST_FLAGS) ; do \
22431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22432 done; \
22433 echo "Doing install-html in mmalloc" ; \
22434 (cd $(HOST_SUBDIR)/mmalloc && \
22435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22437 "RANLIB=$${RANLIB}" \
22438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22439 install-html) \
22440 || exit 1
22442 @endif mmalloc
22444 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
22445 maybe-installcheck-mmalloc:
22446 @if mmalloc
22447 maybe-installcheck-mmalloc: installcheck-mmalloc
22449 installcheck-mmalloc: \
22450 configure-mmalloc
22451 @: $(MAKE); $(unstage)
22452 @[ -f ./mmalloc/Makefile ] || exit 0; \
22453 r=`${PWD_COMMAND}`; export r; \
22454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22455 $(HOST_EXPORTS) \
22456 for flag in $(EXTRA_HOST_FLAGS) ; do \
22457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22458 done; \
22459 echo "Doing installcheck in mmalloc" ; \
22460 (cd $(HOST_SUBDIR)/mmalloc && \
22461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22463 "RANLIB=$${RANLIB}" \
22464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22465 installcheck) \
22466 || exit 1
22468 @endif mmalloc
22470 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
22471 maybe-mostlyclean-mmalloc:
22472 @if mmalloc
22473 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
22475 mostlyclean-mmalloc:
22476 @: $(MAKE); $(unstage)
22477 @[ -f ./mmalloc/Makefile ] || exit 0; \
22478 r=`${PWD_COMMAND}`; export r; \
22479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22480 $(HOST_EXPORTS) \
22481 for flag in $(EXTRA_HOST_FLAGS) ; do \
22482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22483 done; \
22484 echo "Doing mostlyclean in mmalloc" ; \
22485 (cd $(HOST_SUBDIR)/mmalloc && \
22486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22488 "RANLIB=$${RANLIB}" \
22489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22490 mostlyclean) \
22491 || exit 1
22493 @endif mmalloc
22495 .PHONY: maybe-clean-mmalloc clean-mmalloc
22496 maybe-clean-mmalloc:
22497 @if mmalloc
22498 maybe-clean-mmalloc: clean-mmalloc
22500 clean-mmalloc:
22501 @: $(MAKE); $(unstage)
22502 @[ -f ./mmalloc/Makefile ] || exit 0; \
22503 r=`${PWD_COMMAND}`; export r; \
22504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22505 $(HOST_EXPORTS) \
22506 for flag in $(EXTRA_HOST_FLAGS) ; do \
22507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22508 done; \
22509 echo "Doing clean in mmalloc" ; \
22510 (cd $(HOST_SUBDIR)/mmalloc && \
22511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22513 "RANLIB=$${RANLIB}" \
22514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22515 clean) \
22516 || exit 1
22518 @endif mmalloc
22520 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
22521 maybe-distclean-mmalloc:
22522 @if mmalloc
22523 maybe-distclean-mmalloc: distclean-mmalloc
22525 distclean-mmalloc:
22526 @: $(MAKE); $(unstage)
22527 @[ -f ./mmalloc/Makefile ] || exit 0; \
22528 r=`${PWD_COMMAND}`; export r; \
22529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22530 $(HOST_EXPORTS) \
22531 for flag in $(EXTRA_HOST_FLAGS) ; do \
22532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22533 done; \
22534 echo "Doing distclean in mmalloc" ; \
22535 (cd $(HOST_SUBDIR)/mmalloc && \
22536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22538 "RANLIB=$${RANLIB}" \
22539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22540 distclean) \
22541 || exit 1
22543 @endif mmalloc
22545 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
22546 maybe-maintainer-clean-mmalloc:
22547 @if mmalloc
22548 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
22550 maintainer-clean-mmalloc:
22551 @: $(MAKE); $(unstage)
22552 @[ -f ./mmalloc/Makefile ] || exit 0; \
22553 r=`${PWD_COMMAND}`; export r; \
22554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22555 $(HOST_EXPORTS) \
22556 for flag in $(EXTRA_HOST_FLAGS) ; do \
22557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22558 done; \
22559 echo "Doing maintainer-clean in mmalloc" ; \
22560 (cd $(HOST_SUBDIR)/mmalloc && \
22561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22563 "RANLIB=$${RANLIB}" \
22564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22565 maintainer-clean) \
22566 || exit 1
22568 @endif mmalloc
22572 .PHONY: configure-patch maybe-configure-patch
22573 maybe-configure-patch:
22574 @if gcc-bootstrap
22575 configure-patch: stage_current
22576 @endif gcc-bootstrap
22577 @if patch
22578 maybe-configure-patch: configure-patch
22579 configure-patch:
22580 @: $(MAKE); $(unstage)
22581 @r=`${PWD_COMMAND}`; export r; \
22582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22583 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
22584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
22585 $(HOST_EXPORTS) \
22586 echo Configuring in $(HOST_SUBDIR)/patch; \
22587 cd "$(HOST_SUBDIR)/patch" || exit 1; \
22588 case $(srcdir) in \
22589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22590 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
22591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22592 esac; \
22593 srcdiroption="--srcdir=$${topdir}/patch"; \
22594 libsrcdir="$$s/patch"; \
22595 $(SHELL) $${libsrcdir}/configure \
22596 $(HOST_CONFIGARGS) $${srcdiroption} \
22597 || exit 1
22598 @endif patch
22604 .PHONY: all-patch maybe-all-patch
22605 maybe-all-patch:
22606 @if gcc-bootstrap
22607 all-patch: stage_current
22608 @endif gcc-bootstrap
22609 @if patch
22610 TARGET-patch=all
22611 maybe-all-patch: all-patch
22612 all-patch: configure-patch
22613 @: $(MAKE); $(unstage)
22614 @r=`${PWD_COMMAND}`; export r; \
22615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22616 $(HOST_EXPORTS) \
22617 (cd $(HOST_SUBDIR)/patch && \
22618 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
22619 @endif patch
22624 .PHONY: check-patch maybe-check-patch
22625 maybe-check-patch:
22626 @if patch
22627 maybe-check-patch: check-patch
22629 check-patch:
22630 @: $(MAKE); $(unstage)
22631 @r=`${PWD_COMMAND}`; export r; \
22632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22633 $(HOST_EXPORTS) \
22634 (cd $(HOST_SUBDIR)/patch && \
22635 $(MAKE) $(FLAGS_TO_PASS) check)
22637 @endif patch
22639 .PHONY: install-patch maybe-install-patch
22640 maybe-install-patch:
22641 @if patch
22642 maybe-install-patch: install-patch
22644 install-patch: installdirs
22645 @: $(MAKE); $(unstage)
22646 @r=`${PWD_COMMAND}`; export r; \
22647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22648 $(HOST_EXPORTS) \
22649 (cd $(HOST_SUBDIR)/patch && \
22650 $(MAKE) $(FLAGS_TO_PASS) install)
22652 @endif patch
22654 # Other targets (info, dvi, pdf, etc.)
22656 .PHONY: maybe-info-patch info-patch
22657 maybe-info-patch:
22658 @if patch
22659 maybe-info-patch: info-patch
22661 info-patch: \
22662 configure-patch
22663 @: $(MAKE); $(unstage)
22664 @[ -f ./patch/Makefile ] || exit 0; \
22665 r=`${PWD_COMMAND}`; export r; \
22666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22667 $(HOST_EXPORTS) \
22668 for flag in $(EXTRA_HOST_FLAGS) ; do \
22669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22670 done; \
22671 echo "Doing info in patch" ; \
22672 (cd $(HOST_SUBDIR)/patch && \
22673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22675 "RANLIB=$${RANLIB}" \
22676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22677 info) \
22678 || exit 1
22680 @endif patch
22682 .PHONY: maybe-dvi-patch dvi-patch
22683 maybe-dvi-patch:
22684 @if patch
22685 maybe-dvi-patch: dvi-patch
22687 dvi-patch: \
22688 configure-patch
22689 @: $(MAKE); $(unstage)
22690 @[ -f ./patch/Makefile ] || exit 0; \
22691 r=`${PWD_COMMAND}`; export r; \
22692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22693 $(HOST_EXPORTS) \
22694 for flag in $(EXTRA_HOST_FLAGS) ; do \
22695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22696 done; \
22697 echo "Doing dvi in patch" ; \
22698 (cd $(HOST_SUBDIR)/patch && \
22699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22701 "RANLIB=$${RANLIB}" \
22702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22703 dvi) \
22704 || exit 1
22706 @endif patch
22708 .PHONY: maybe-pdf-patch pdf-patch
22709 maybe-pdf-patch:
22710 @if patch
22711 maybe-pdf-patch: pdf-patch
22713 pdf-patch: \
22714 configure-patch
22715 @: $(MAKE); $(unstage)
22716 @[ -f ./patch/Makefile ] || exit 0; \
22717 r=`${PWD_COMMAND}`; export r; \
22718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22719 $(HOST_EXPORTS) \
22720 for flag in $(EXTRA_HOST_FLAGS) ; do \
22721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22722 done; \
22723 echo "Doing pdf in patch" ; \
22724 (cd $(HOST_SUBDIR)/patch && \
22725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22727 "RANLIB=$${RANLIB}" \
22728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22729 pdf) \
22730 || exit 1
22732 @endif patch
22734 .PHONY: maybe-html-patch html-patch
22735 maybe-html-patch:
22736 @if patch
22737 maybe-html-patch: html-patch
22739 html-patch: \
22740 configure-patch
22741 @: $(MAKE); $(unstage)
22742 @[ -f ./patch/Makefile ] || exit 0; \
22743 r=`${PWD_COMMAND}`; export r; \
22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22745 $(HOST_EXPORTS) \
22746 for flag in $(EXTRA_HOST_FLAGS) ; do \
22747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22748 done; \
22749 echo "Doing html in patch" ; \
22750 (cd $(HOST_SUBDIR)/patch && \
22751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22753 "RANLIB=$${RANLIB}" \
22754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22755 html) \
22756 || exit 1
22758 @endif patch
22760 .PHONY: maybe-TAGS-patch TAGS-patch
22761 maybe-TAGS-patch:
22762 @if patch
22763 maybe-TAGS-patch: TAGS-patch
22765 TAGS-patch: \
22766 configure-patch
22767 @: $(MAKE); $(unstage)
22768 @[ -f ./patch/Makefile ] || exit 0; \
22769 r=`${PWD_COMMAND}`; export r; \
22770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22771 $(HOST_EXPORTS) \
22772 for flag in $(EXTRA_HOST_FLAGS) ; do \
22773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22774 done; \
22775 echo "Doing TAGS in patch" ; \
22776 (cd $(HOST_SUBDIR)/patch && \
22777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22779 "RANLIB=$${RANLIB}" \
22780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22781 TAGS) \
22782 || exit 1
22784 @endif patch
22786 .PHONY: maybe-install-info-patch install-info-patch
22787 maybe-install-info-patch:
22788 @if patch
22789 maybe-install-info-patch: install-info-patch
22791 install-info-patch: \
22792 configure-patch \
22793 info-patch
22794 @: $(MAKE); $(unstage)
22795 @[ -f ./patch/Makefile ] || exit 0; \
22796 r=`${PWD_COMMAND}`; export r; \
22797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22798 $(HOST_EXPORTS) \
22799 for flag in $(EXTRA_HOST_FLAGS) ; do \
22800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22801 done; \
22802 echo "Doing install-info in patch" ; \
22803 (cd $(HOST_SUBDIR)/patch && \
22804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22806 "RANLIB=$${RANLIB}" \
22807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22808 install-info) \
22809 || exit 1
22811 @endif patch
22813 .PHONY: maybe-install-html-patch install-html-patch
22814 maybe-install-html-patch:
22815 @if patch
22816 maybe-install-html-patch: install-html-patch
22818 install-html-patch: \
22819 configure-patch \
22820 html-patch
22821 @: $(MAKE); $(unstage)
22822 @[ -f ./patch/Makefile ] || exit 0; \
22823 r=`${PWD_COMMAND}`; export r; \
22824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22825 $(HOST_EXPORTS) \
22826 for flag in $(EXTRA_HOST_FLAGS) ; do \
22827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22828 done; \
22829 echo "Doing install-html in patch" ; \
22830 (cd $(HOST_SUBDIR)/patch && \
22831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22833 "RANLIB=$${RANLIB}" \
22834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22835 install-html) \
22836 || exit 1
22838 @endif patch
22840 .PHONY: maybe-installcheck-patch installcheck-patch
22841 maybe-installcheck-patch:
22842 @if patch
22843 maybe-installcheck-patch: installcheck-patch
22845 installcheck-patch: \
22846 configure-patch
22847 @: $(MAKE); $(unstage)
22848 @[ -f ./patch/Makefile ] || exit 0; \
22849 r=`${PWD_COMMAND}`; export r; \
22850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22851 $(HOST_EXPORTS) \
22852 for flag in $(EXTRA_HOST_FLAGS) ; do \
22853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22854 done; \
22855 echo "Doing installcheck in patch" ; \
22856 (cd $(HOST_SUBDIR)/patch && \
22857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22859 "RANLIB=$${RANLIB}" \
22860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22861 installcheck) \
22862 || exit 1
22864 @endif patch
22866 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
22867 maybe-mostlyclean-patch:
22868 @if patch
22869 maybe-mostlyclean-patch: mostlyclean-patch
22871 mostlyclean-patch:
22872 @: $(MAKE); $(unstage)
22873 @[ -f ./patch/Makefile ] || exit 0; \
22874 r=`${PWD_COMMAND}`; export r; \
22875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22876 $(HOST_EXPORTS) \
22877 for flag in $(EXTRA_HOST_FLAGS) ; do \
22878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22879 done; \
22880 echo "Doing mostlyclean in patch" ; \
22881 (cd $(HOST_SUBDIR)/patch && \
22882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22884 "RANLIB=$${RANLIB}" \
22885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22886 mostlyclean) \
22887 || exit 1
22889 @endif patch
22891 .PHONY: maybe-clean-patch clean-patch
22892 maybe-clean-patch:
22893 @if patch
22894 maybe-clean-patch: clean-patch
22896 clean-patch:
22897 @: $(MAKE); $(unstage)
22898 @[ -f ./patch/Makefile ] || exit 0; \
22899 r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(HOST_EXPORTS) \
22902 for flag in $(EXTRA_HOST_FLAGS) ; do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 done; \
22905 echo "Doing clean in patch" ; \
22906 (cd $(HOST_SUBDIR)/patch && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22911 clean) \
22912 || exit 1
22914 @endif patch
22916 .PHONY: maybe-distclean-patch distclean-patch
22917 maybe-distclean-patch:
22918 @if patch
22919 maybe-distclean-patch: distclean-patch
22921 distclean-patch:
22922 @: $(MAKE); $(unstage)
22923 @[ -f ./patch/Makefile ] || exit 0; \
22924 r=`${PWD_COMMAND}`; export r; \
22925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 $(HOST_EXPORTS) \
22927 for flag in $(EXTRA_HOST_FLAGS) ; do \
22928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22929 done; \
22930 echo "Doing distclean in patch" ; \
22931 (cd $(HOST_SUBDIR)/patch && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22936 distclean) \
22937 || exit 1
22939 @endif patch
22941 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
22942 maybe-maintainer-clean-patch:
22943 @if patch
22944 maybe-maintainer-clean-patch: maintainer-clean-patch
22946 maintainer-clean-patch:
22947 @: $(MAKE); $(unstage)
22948 @[ -f ./patch/Makefile ] || exit 0; \
22949 r=`${PWD_COMMAND}`; export r; \
22950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 $(HOST_EXPORTS) \
22952 for flag in $(EXTRA_HOST_FLAGS) ; do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22954 done; \
22955 echo "Doing maintainer-clean in patch" ; \
22956 (cd $(HOST_SUBDIR)/patch && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22961 maintainer-clean) \
22962 || exit 1
22964 @endif patch
22968 .PHONY: configure-perl maybe-configure-perl
22969 maybe-configure-perl:
22970 @if gcc-bootstrap
22971 configure-perl: stage_current
22972 @endif gcc-bootstrap
22973 @if perl
22974 maybe-configure-perl: configure-perl
22975 configure-perl:
22976 @: $(MAKE); $(unstage)
22977 @r=`${PWD_COMMAND}`; export r; \
22978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22979 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
22980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
22981 $(HOST_EXPORTS) \
22982 echo Configuring in $(HOST_SUBDIR)/perl; \
22983 cd "$(HOST_SUBDIR)/perl" || exit 1; \
22984 case $(srcdir) in \
22985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22986 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
22987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22988 esac; \
22989 srcdiroption="--srcdir=$${topdir}/perl"; \
22990 libsrcdir="$$s/perl"; \
22991 $(SHELL) $${libsrcdir}/configure \
22992 $(HOST_CONFIGARGS) $${srcdiroption} \
22993 || exit 1
22994 @endif perl
23000 .PHONY: all-perl maybe-all-perl
23001 maybe-all-perl:
23002 @if gcc-bootstrap
23003 all-perl: stage_current
23004 @endif gcc-bootstrap
23005 @if perl
23006 TARGET-perl=all
23007 maybe-all-perl: all-perl
23008 all-perl: configure-perl
23009 @: $(MAKE); $(unstage)
23010 @r=`${PWD_COMMAND}`; export r; \
23011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23012 $(HOST_EXPORTS) \
23013 (cd $(HOST_SUBDIR)/perl && \
23014 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
23015 @endif perl
23020 .PHONY: check-perl maybe-check-perl
23021 maybe-check-perl:
23022 @if perl
23023 maybe-check-perl: check-perl
23025 check-perl:
23026 @: $(MAKE); $(unstage)
23027 @r=`${PWD_COMMAND}`; export r; \
23028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 $(HOST_EXPORTS) \
23030 (cd $(HOST_SUBDIR)/perl && \
23031 $(MAKE) $(FLAGS_TO_PASS) check)
23033 @endif perl
23035 .PHONY: install-perl maybe-install-perl
23036 maybe-install-perl:
23037 @if perl
23038 maybe-install-perl: install-perl
23040 install-perl: installdirs
23041 @: $(MAKE); $(unstage)
23042 @r=`${PWD_COMMAND}`; export r; \
23043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23044 $(HOST_EXPORTS) \
23045 (cd $(HOST_SUBDIR)/perl && \
23046 $(MAKE) $(FLAGS_TO_PASS) install)
23048 @endif perl
23050 # Other targets (info, dvi, pdf, etc.)
23052 .PHONY: maybe-info-perl info-perl
23053 maybe-info-perl:
23054 @if perl
23055 maybe-info-perl: info-perl
23057 info-perl: \
23058 configure-perl
23059 @: $(MAKE); $(unstage)
23060 @[ -f ./perl/Makefile ] || exit 0; \
23061 r=`${PWD_COMMAND}`; export r; \
23062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23063 $(HOST_EXPORTS) \
23064 for flag in $(EXTRA_HOST_FLAGS) ; do \
23065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23066 done; \
23067 echo "Doing info in perl" ; \
23068 (cd $(HOST_SUBDIR)/perl && \
23069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23071 "RANLIB=$${RANLIB}" \
23072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23073 info) \
23074 || exit 1
23076 @endif perl
23078 .PHONY: maybe-dvi-perl dvi-perl
23079 maybe-dvi-perl:
23080 @if perl
23081 maybe-dvi-perl: dvi-perl
23083 dvi-perl: \
23084 configure-perl
23085 @: $(MAKE); $(unstage)
23086 @[ -f ./perl/Makefile ] || exit 0; \
23087 r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(HOST_EXPORTS) \
23090 for flag in $(EXTRA_HOST_FLAGS) ; do \
23091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23092 done; \
23093 echo "Doing dvi in perl" ; \
23094 (cd $(HOST_SUBDIR)/perl && \
23095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23097 "RANLIB=$${RANLIB}" \
23098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23099 dvi) \
23100 || exit 1
23102 @endif perl
23104 .PHONY: maybe-pdf-perl pdf-perl
23105 maybe-pdf-perl:
23106 @if perl
23107 maybe-pdf-perl: pdf-perl
23109 pdf-perl: \
23110 configure-perl
23111 @: $(MAKE); $(unstage)
23112 @[ -f ./perl/Makefile ] || exit 0; \
23113 r=`${PWD_COMMAND}`; export r; \
23114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23115 $(HOST_EXPORTS) \
23116 for flag in $(EXTRA_HOST_FLAGS) ; do \
23117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23118 done; \
23119 echo "Doing pdf in perl" ; \
23120 (cd $(HOST_SUBDIR)/perl && \
23121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23123 "RANLIB=$${RANLIB}" \
23124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23125 pdf) \
23126 || exit 1
23128 @endif perl
23130 .PHONY: maybe-html-perl html-perl
23131 maybe-html-perl:
23132 @if perl
23133 maybe-html-perl: html-perl
23135 html-perl: \
23136 configure-perl
23137 @: $(MAKE); $(unstage)
23138 @[ -f ./perl/Makefile ] || exit 0; \
23139 r=`${PWD_COMMAND}`; export r; \
23140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23141 $(HOST_EXPORTS) \
23142 for flag in $(EXTRA_HOST_FLAGS) ; do \
23143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23144 done; \
23145 echo "Doing html in perl" ; \
23146 (cd $(HOST_SUBDIR)/perl && \
23147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23149 "RANLIB=$${RANLIB}" \
23150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23151 html) \
23152 || exit 1
23154 @endif perl
23156 .PHONY: maybe-TAGS-perl TAGS-perl
23157 maybe-TAGS-perl:
23158 @if perl
23159 maybe-TAGS-perl: TAGS-perl
23161 TAGS-perl: \
23162 configure-perl
23163 @: $(MAKE); $(unstage)
23164 @[ -f ./perl/Makefile ] || exit 0; \
23165 r=`${PWD_COMMAND}`; export r; \
23166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23167 $(HOST_EXPORTS) \
23168 for flag in $(EXTRA_HOST_FLAGS) ; do \
23169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23170 done; \
23171 echo "Doing TAGS in perl" ; \
23172 (cd $(HOST_SUBDIR)/perl && \
23173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23175 "RANLIB=$${RANLIB}" \
23176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23177 TAGS) \
23178 || exit 1
23180 @endif perl
23182 .PHONY: maybe-install-info-perl install-info-perl
23183 maybe-install-info-perl:
23184 @if perl
23185 maybe-install-info-perl: install-info-perl
23187 install-info-perl: \
23188 configure-perl \
23189 info-perl
23190 @: $(MAKE); $(unstage)
23191 @[ -f ./perl/Makefile ] || exit 0; \
23192 r=`${PWD_COMMAND}`; export r; \
23193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23194 $(HOST_EXPORTS) \
23195 for flag in $(EXTRA_HOST_FLAGS) ; do \
23196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23197 done; \
23198 echo "Doing install-info in perl" ; \
23199 (cd $(HOST_SUBDIR)/perl && \
23200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23202 "RANLIB=$${RANLIB}" \
23203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23204 install-info) \
23205 || exit 1
23207 @endif perl
23209 .PHONY: maybe-install-html-perl install-html-perl
23210 maybe-install-html-perl:
23211 @if perl
23212 maybe-install-html-perl: install-html-perl
23214 install-html-perl: \
23215 configure-perl \
23216 html-perl
23217 @: $(MAKE); $(unstage)
23218 @[ -f ./perl/Makefile ] || exit 0; \
23219 r=`${PWD_COMMAND}`; export r; \
23220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23221 $(HOST_EXPORTS) \
23222 for flag in $(EXTRA_HOST_FLAGS) ; do \
23223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23224 done; \
23225 echo "Doing install-html in perl" ; \
23226 (cd $(HOST_SUBDIR)/perl && \
23227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23229 "RANLIB=$${RANLIB}" \
23230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23231 install-html) \
23232 || exit 1
23234 @endif perl
23236 .PHONY: maybe-installcheck-perl installcheck-perl
23237 maybe-installcheck-perl:
23238 @if perl
23239 maybe-installcheck-perl: installcheck-perl
23241 installcheck-perl: \
23242 configure-perl
23243 @: $(MAKE); $(unstage)
23244 @[ -f ./perl/Makefile ] || exit 0; \
23245 r=`${PWD_COMMAND}`; export r; \
23246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23247 $(HOST_EXPORTS) \
23248 for flag in $(EXTRA_HOST_FLAGS) ; do \
23249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23250 done; \
23251 echo "Doing installcheck in perl" ; \
23252 (cd $(HOST_SUBDIR)/perl && \
23253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23255 "RANLIB=$${RANLIB}" \
23256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23257 installcheck) \
23258 || exit 1
23260 @endif perl
23262 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
23263 maybe-mostlyclean-perl:
23264 @if perl
23265 maybe-mostlyclean-perl: mostlyclean-perl
23267 mostlyclean-perl:
23268 @: $(MAKE); $(unstage)
23269 @[ -f ./perl/Makefile ] || exit 0; \
23270 r=`${PWD_COMMAND}`; export r; \
23271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23272 $(HOST_EXPORTS) \
23273 for flag in $(EXTRA_HOST_FLAGS) ; do \
23274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23275 done; \
23276 echo "Doing mostlyclean in perl" ; \
23277 (cd $(HOST_SUBDIR)/perl && \
23278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23280 "RANLIB=$${RANLIB}" \
23281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23282 mostlyclean) \
23283 || exit 1
23285 @endif perl
23287 .PHONY: maybe-clean-perl clean-perl
23288 maybe-clean-perl:
23289 @if perl
23290 maybe-clean-perl: clean-perl
23292 clean-perl:
23293 @: $(MAKE); $(unstage)
23294 @[ -f ./perl/Makefile ] || exit 0; \
23295 r=`${PWD_COMMAND}`; export r; \
23296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23297 $(HOST_EXPORTS) \
23298 for flag in $(EXTRA_HOST_FLAGS) ; do \
23299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23300 done; \
23301 echo "Doing clean in perl" ; \
23302 (cd $(HOST_SUBDIR)/perl && \
23303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23305 "RANLIB=$${RANLIB}" \
23306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23307 clean) \
23308 || exit 1
23310 @endif perl
23312 .PHONY: maybe-distclean-perl distclean-perl
23313 maybe-distclean-perl:
23314 @if perl
23315 maybe-distclean-perl: distclean-perl
23317 distclean-perl:
23318 @: $(MAKE); $(unstage)
23319 @[ -f ./perl/Makefile ] || exit 0; \
23320 r=`${PWD_COMMAND}`; export r; \
23321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23322 $(HOST_EXPORTS) \
23323 for flag in $(EXTRA_HOST_FLAGS) ; do \
23324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23325 done; \
23326 echo "Doing distclean in perl" ; \
23327 (cd $(HOST_SUBDIR)/perl && \
23328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23330 "RANLIB=$${RANLIB}" \
23331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23332 distclean) \
23333 || exit 1
23335 @endif perl
23337 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
23338 maybe-maintainer-clean-perl:
23339 @if perl
23340 maybe-maintainer-clean-perl: maintainer-clean-perl
23342 maintainer-clean-perl:
23343 @: $(MAKE); $(unstage)
23344 @[ -f ./perl/Makefile ] || exit 0; \
23345 r=`${PWD_COMMAND}`; export r; \
23346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23347 $(HOST_EXPORTS) \
23348 for flag in $(EXTRA_HOST_FLAGS) ; do \
23349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23350 done; \
23351 echo "Doing maintainer-clean in perl" ; \
23352 (cd $(HOST_SUBDIR)/perl && \
23353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23355 "RANLIB=$${RANLIB}" \
23356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23357 maintainer-clean) \
23358 || exit 1
23360 @endif perl
23364 .PHONY: configure-prms maybe-configure-prms
23365 maybe-configure-prms:
23366 @if gcc-bootstrap
23367 configure-prms: stage_current
23368 @endif gcc-bootstrap
23369 @if prms
23370 maybe-configure-prms: configure-prms
23371 configure-prms:
23372 @: $(MAKE); $(unstage)
23373 @r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
23376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
23377 $(HOST_EXPORTS) \
23378 echo Configuring in $(HOST_SUBDIR)/prms; \
23379 cd "$(HOST_SUBDIR)/prms" || exit 1; \
23380 case $(srcdir) in \
23381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23382 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
23383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23384 esac; \
23385 srcdiroption="--srcdir=$${topdir}/prms"; \
23386 libsrcdir="$$s/prms"; \
23387 $(SHELL) $${libsrcdir}/configure \
23388 $(HOST_CONFIGARGS) $${srcdiroption} \
23389 || exit 1
23390 @endif prms
23396 .PHONY: all-prms maybe-all-prms
23397 maybe-all-prms:
23398 @if gcc-bootstrap
23399 all-prms: stage_current
23400 @endif gcc-bootstrap
23401 @if prms
23402 TARGET-prms=all
23403 maybe-all-prms: all-prms
23404 all-prms: configure-prms
23405 @: $(MAKE); $(unstage)
23406 @r=`${PWD_COMMAND}`; export r; \
23407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23408 $(HOST_EXPORTS) \
23409 (cd $(HOST_SUBDIR)/prms && \
23410 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
23411 @endif prms
23416 .PHONY: check-prms maybe-check-prms
23417 maybe-check-prms:
23418 @if prms
23419 maybe-check-prms: check-prms
23421 check-prms:
23422 @: $(MAKE); $(unstage)
23423 @r=`${PWD_COMMAND}`; export r; \
23424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23425 $(HOST_EXPORTS) \
23426 (cd $(HOST_SUBDIR)/prms && \
23427 $(MAKE) $(FLAGS_TO_PASS) check)
23429 @endif prms
23431 .PHONY: install-prms maybe-install-prms
23432 maybe-install-prms:
23433 @if prms
23434 maybe-install-prms: install-prms
23436 install-prms: installdirs
23437 @: $(MAKE); $(unstage)
23438 @r=`${PWD_COMMAND}`; export r; \
23439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23440 $(HOST_EXPORTS) \
23441 (cd $(HOST_SUBDIR)/prms && \
23442 $(MAKE) $(FLAGS_TO_PASS) install)
23444 @endif prms
23446 # Other targets (info, dvi, pdf, etc.)
23448 .PHONY: maybe-info-prms info-prms
23449 maybe-info-prms:
23450 @if prms
23451 maybe-info-prms: info-prms
23453 info-prms: \
23454 configure-prms
23455 @: $(MAKE); $(unstage)
23456 @[ -f ./prms/Makefile ] || exit 0; \
23457 r=`${PWD_COMMAND}`; export r; \
23458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23459 $(HOST_EXPORTS) \
23460 for flag in $(EXTRA_HOST_FLAGS) ; do \
23461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23462 done; \
23463 echo "Doing info in prms" ; \
23464 (cd $(HOST_SUBDIR)/prms && \
23465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23467 "RANLIB=$${RANLIB}" \
23468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23469 info) \
23470 || exit 1
23472 @endif prms
23474 .PHONY: maybe-dvi-prms dvi-prms
23475 maybe-dvi-prms:
23476 @if prms
23477 maybe-dvi-prms: dvi-prms
23479 dvi-prms: \
23480 configure-prms
23481 @: $(MAKE); $(unstage)
23482 @[ -f ./prms/Makefile ] || exit 0; \
23483 r=`${PWD_COMMAND}`; export r; \
23484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23485 $(HOST_EXPORTS) \
23486 for flag in $(EXTRA_HOST_FLAGS) ; do \
23487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23488 done; \
23489 echo "Doing dvi in prms" ; \
23490 (cd $(HOST_SUBDIR)/prms && \
23491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23493 "RANLIB=$${RANLIB}" \
23494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23495 dvi) \
23496 || exit 1
23498 @endif prms
23500 .PHONY: maybe-pdf-prms pdf-prms
23501 maybe-pdf-prms:
23502 @if prms
23503 maybe-pdf-prms: pdf-prms
23505 pdf-prms: \
23506 configure-prms
23507 @: $(MAKE); $(unstage)
23508 @[ -f ./prms/Makefile ] || exit 0; \
23509 r=`${PWD_COMMAND}`; export r; \
23510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23511 $(HOST_EXPORTS) \
23512 for flag in $(EXTRA_HOST_FLAGS) ; do \
23513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23514 done; \
23515 echo "Doing pdf in prms" ; \
23516 (cd $(HOST_SUBDIR)/prms && \
23517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23519 "RANLIB=$${RANLIB}" \
23520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23521 pdf) \
23522 || exit 1
23524 @endif prms
23526 .PHONY: maybe-html-prms html-prms
23527 maybe-html-prms:
23528 @if prms
23529 maybe-html-prms: html-prms
23531 html-prms: \
23532 configure-prms
23533 @: $(MAKE); $(unstage)
23534 @[ -f ./prms/Makefile ] || exit 0; \
23535 r=`${PWD_COMMAND}`; export r; \
23536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23537 $(HOST_EXPORTS) \
23538 for flag in $(EXTRA_HOST_FLAGS) ; do \
23539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23540 done; \
23541 echo "Doing html in prms" ; \
23542 (cd $(HOST_SUBDIR)/prms && \
23543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23545 "RANLIB=$${RANLIB}" \
23546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23547 html) \
23548 || exit 1
23550 @endif prms
23552 .PHONY: maybe-TAGS-prms TAGS-prms
23553 maybe-TAGS-prms:
23554 @if prms
23555 maybe-TAGS-prms: TAGS-prms
23557 TAGS-prms: \
23558 configure-prms
23559 @: $(MAKE); $(unstage)
23560 @[ -f ./prms/Makefile ] || exit 0; \
23561 r=`${PWD_COMMAND}`; export r; \
23562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23563 $(HOST_EXPORTS) \
23564 for flag in $(EXTRA_HOST_FLAGS) ; do \
23565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23566 done; \
23567 echo "Doing TAGS in prms" ; \
23568 (cd $(HOST_SUBDIR)/prms && \
23569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23571 "RANLIB=$${RANLIB}" \
23572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23573 TAGS) \
23574 || exit 1
23576 @endif prms
23578 .PHONY: maybe-install-info-prms install-info-prms
23579 maybe-install-info-prms:
23580 @if prms
23581 maybe-install-info-prms: install-info-prms
23583 install-info-prms: \
23584 configure-prms \
23585 info-prms
23586 @: $(MAKE); $(unstage)
23587 @[ -f ./prms/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing install-info in prms" ; \
23595 (cd $(HOST_SUBDIR)/prms && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23600 install-info) \
23601 || exit 1
23603 @endif prms
23605 .PHONY: maybe-install-html-prms install-html-prms
23606 maybe-install-html-prms:
23607 @if prms
23608 maybe-install-html-prms: install-html-prms
23610 install-html-prms: \
23611 configure-prms \
23612 html-prms
23613 @: $(MAKE); $(unstage)
23614 @[ -f ./prms/Makefile ] || exit 0; \
23615 r=`${PWD_COMMAND}`; export r; \
23616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23617 $(HOST_EXPORTS) \
23618 for flag in $(EXTRA_HOST_FLAGS) ; do \
23619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23620 done; \
23621 echo "Doing install-html in prms" ; \
23622 (cd $(HOST_SUBDIR)/prms && \
23623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23625 "RANLIB=$${RANLIB}" \
23626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23627 install-html) \
23628 || exit 1
23630 @endif prms
23632 .PHONY: maybe-installcheck-prms installcheck-prms
23633 maybe-installcheck-prms:
23634 @if prms
23635 maybe-installcheck-prms: installcheck-prms
23637 installcheck-prms: \
23638 configure-prms
23639 @: $(MAKE); $(unstage)
23640 @[ -f ./prms/Makefile ] || exit 0; \
23641 r=`${PWD_COMMAND}`; export r; \
23642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23643 $(HOST_EXPORTS) \
23644 for flag in $(EXTRA_HOST_FLAGS) ; do \
23645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23646 done; \
23647 echo "Doing installcheck in prms" ; \
23648 (cd $(HOST_SUBDIR)/prms && \
23649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23651 "RANLIB=$${RANLIB}" \
23652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23653 installcheck) \
23654 || exit 1
23656 @endif prms
23658 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
23659 maybe-mostlyclean-prms:
23660 @if prms
23661 maybe-mostlyclean-prms: mostlyclean-prms
23663 mostlyclean-prms:
23664 @: $(MAKE); $(unstage)
23665 @[ -f ./prms/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing mostlyclean in prms" ; \
23673 (cd $(HOST_SUBDIR)/prms && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23678 mostlyclean) \
23679 || exit 1
23681 @endif prms
23683 .PHONY: maybe-clean-prms clean-prms
23684 maybe-clean-prms:
23685 @if prms
23686 maybe-clean-prms: clean-prms
23688 clean-prms:
23689 @: $(MAKE); $(unstage)
23690 @[ -f ./prms/Makefile ] || exit 0; \
23691 r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 $(HOST_EXPORTS) \
23694 for flag in $(EXTRA_HOST_FLAGS) ; do \
23695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23696 done; \
23697 echo "Doing clean in prms" ; \
23698 (cd $(HOST_SUBDIR)/prms && \
23699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23701 "RANLIB=$${RANLIB}" \
23702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23703 clean) \
23704 || exit 1
23706 @endif prms
23708 .PHONY: maybe-distclean-prms distclean-prms
23709 maybe-distclean-prms:
23710 @if prms
23711 maybe-distclean-prms: distclean-prms
23713 distclean-prms:
23714 @: $(MAKE); $(unstage)
23715 @[ -f ./prms/Makefile ] || exit 0; \
23716 r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23718 $(HOST_EXPORTS) \
23719 for flag in $(EXTRA_HOST_FLAGS) ; do \
23720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23721 done; \
23722 echo "Doing distclean in prms" ; \
23723 (cd $(HOST_SUBDIR)/prms && \
23724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23726 "RANLIB=$${RANLIB}" \
23727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23728 distclean) \
23729 || exit 1
23731 @endif prms
23733 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
23734 maybe-maintainer-clean-prms:
23735 @if prms
23736 maybe-maintainer-clean-prms: maintainer-clean-prms
23738 maintainer-clean-prms:
23739 @: $(MAKE); $(unstage)
23740 @[ -f ./prms/Makefile ] || exit 0; \
23741 r=`${PWD_COMMAND}`; export r; \
23742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23743 $(HOST_EXPORTS) \
23744 for flag in $(EXTRA_HOST_FLAGS) ; do \
23745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23746 done; \
23747 echo "Doing maintainer-clean in prms" ; \
23748 (cd $(HOST_SUBDIR)/prms && \
23749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23751 "RANLIB=$${RANLIB}" \
23752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23753 maintainer-clean) \
23754 || exit 1
23756 @endif prms
23760 .PHONY: configure-rcs maybe-configure-rcs
23761 maybe-configure-rcs:
23762 @if gcc-bootstrap
23763 configure-rcs: stage_current
23764 @endif gcc-bootstrap
23765 @if rcs
23766 maybe-configure-rcs: configure-rcs
23767 configure-rcs:
23768 @: $(MAKE); $(unstage)
23769 @r=`${PWD_COMMAND}`; export r; \
23770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23771 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
23772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
23773 $(HOST_EXPORTS) \
23774 echo Configuring in $(HOST_SUBDIR)/rcs; \
23775 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
23776 case $(srcdir) in \
23777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23778 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
23779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23780 esac; \
23781 srcdiroption="--srcdir=$${topdir}/rcs"; \
23782 libsrcdir="$$s/rcs"; \
23783 $(SHELL) $${libsrcdir}/configure \
23784 $(HOST_CONFIGARGS) $${srcdiroption} \
23785 || exit 1
23786 @endif rcs
23792 .PHONY: all-rcs maybe-all-rcs
23793 maybe-all-rcs:
23794 @if gcc-bootstrap
23795 all-rcs: stage_current
23796 @endif gcc-bootstrap
23797 @if rcs
23798 TARGET-rcs=all
23799 maybe-all-rcs: all-rcs
23800 all-rcs: configure-rcs
23801 @: $(MAKE); $(unstage)
23802 @r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23804 $(HOST_EXPORTS) \
23805 (cd $(HOST_SUBDIR)/rcs && \
23806 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
23807 @endif rcs
23812 .PHONY: check-rcs maybe-check-rcs
23813 maybe-check-rcs:
23814 @if rcs
23815 maybe-check-rcs: check-rcs
23817 check-rcs:
23818 @: $(MAKE); $(unstage)
23819 @r=`${PWD_COMMAND}`; export r; \
23820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23821 $(HOST_EXPORTS) \
23822 (cd $(HOST_SUBDIR)/rcs && \
23823 $(MAKE) $(FLAGS_TO_PASS) check)
23825 @endif rcs
23827 .PHONY: install-rcs maybe-install-rcs
23828 maybe-install-rcs:
23829 @if rcs
23830 maybe-install-rcs: install-rcs
23832 install-rcs: installdirs
23833 @: $(MAKE); $(unstage)
23834 @r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(HOST_EXPORTS) \
23837 (cd $(HOST_SUBDIR)/rcs && \
23838 $(MAKE) $(FLAGS_TO_PASS) install)
23840 @endif rcs
23842 # Other targets (info, dvi, pdf, etc.)
23844 .PHONY: maybe-info-rcs info-rcs
23845 maybe-info-rcs:
23846 @if rcs
23847 maybe-info-rcs: info-rcs
23849 info-rcs: \
23850 configure-rcs
23851 @: $(MAKE); $(unstage)
23852 @[ -f ./rcs/Makefile ] || exit 0; \
23853 r=`${PWD_COMMAND}`; export r; \
23854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23855 $(HOST_EXPORTS) \
23856 for flag in $(EXTRA_HOST_FLAGS) ; do \
23857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23858 done; \
23859 echo "Doing info in rcs" ; \
23860 (cd $(HOST_SUBDIR)/rcs && \
23861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23863 "RANLIB=$${RANLIB}" \
23864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23865 info) \
23866 || exit 1
23868 @endif rcs
23870 .PHONY: maybe-dvi-rcs dvi-rcs
23871 maybe-dvi-rcs:
23872 @if rcs
23873 maybe-dvi-rcs: dvi-rcs
23875 dvi-rcs: \
23876 configure-rcs
23877 @: $(MAKE); $(unstage)
23878 @[ -f ./rcs/Makefile ] || exit 0; \
23879 r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 $(HOST_EXPORTS) \
23882 for flag in $(EXTRA_HOST_FLAGS) ; do \
23883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23884 done; \
23885 echo "Doing dvi in rcs" ; \
23886 (cd $(HOST_SUBDIR)/rcs && \
23887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23889 "RANLIB=$${RANLIB}" \
23890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23891 dvi) \
23892 || exit 1
23894 @endif rcs
23896 .PHONY: maybe-pdf-rcs pdf-rcs
23897 maybe-pdf-rcs:
23898 @if rcs
23899 maybe-pdf-rcs: pdf-rcs
23901 pdf-rcs: \
23902 configure-rcs
23903 @: $(MAKE); $(unstage)
23904 @[ -f ./rcs/Makefile ] || exit 0; \
23905 r=`${PWD_COMMAND}`; export r; \
23906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23907 $(HOST_EXPORTS) \
23908 for flag in $(EXTRA_HOST_FLAGS) ; do \
23909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23910 done; \
23911 echo "Doing pdf in rcs" ; \
23912 (cd $(HOST_SUBDIR)/rcs && \
23913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23915 "RANLIB=$${RANLIB}" \
23916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23917 pdf) \
23918 || exit 1
23920 @endif rcs
23922 .PHONY: maybe-html-rcs html-rcs
23923 maybe-html-rcs:
23924 @if rcs
23925 maybe-html-rcs: html-rcs
23927 html-rcs: \
23928 configure-rcs
23929 @: $(MAKE); $(unstage)
23930 @[ -f ./rcs/Makefile ] || exit 0; \
23931 r=`${PWD_COMMAND}`; export r; \
23932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23933 $(HOST_EXPORTS) \
23934 for flag in $(EXTRA_HOST_FLAGS) ; do \
23935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23936 done; \
23937 echo "Doing html in rcs" ; \
23938 (cd $(HOST_SUBDIR)/rcs && \
23939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23941 "RANLIB=$${RANLIB}" \
23942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23943 html) \
23944 || exit 1
23946 @endif rcs
23948 .PHONY: maybe-TAGS-rcs TAGS-rcs
23949 maybe-TAGS-rcs:
23950 @if rcs
23951 maybe-TAGS-rcs: TAGS-rcs
23953 TAGS-rcs: \
23954 configure-rcs
23955 @: $(MAKE); $(unstage)
23956 @[ -f ./rcs/Makefile ] || exit 0; \
23957 r=`${PWD_COMMAND}`; export r; \
23958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23959 $(HOST_EXPORTS) \
23960 for flag in $(EXTRA_HOST_FLAGS) ; do \
23961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23962 done; \
23963 echo "Doing TAGS in rcs" ; \
23964 (cd $(HOST_SUBDIR)/rcs && \
23965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23967 "RANLIB=$${RANLIB}" \
23968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23969 TAGS) \
23970 || exit 1
23972 @endif rcs
23974 .PHONY: maybe-install-info-rcs install-info-rcs
23975 maybe-install-info-rcs:
23976 @if rcs
23977 maybe-install-info-rcs: install-info-rcs
23979 install-info-rcs: \
23980 configure-rcs \
23981 info-rcs
23982 @: $(MAKE); $(unstage)
23983 @[ -f ./rcs/Makefile ] || exit 0; \
23984 r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 $(HOST_EXPORTS) \
23987 for flag in $(EXTRA_HOST_FLAGS) ; do \
23988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23989 done; \
23990 echo "Doing install-info in rcs" ; \
23991 (cd $(HOST_SUBDIR)/rcs && \
23992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23994 "RANLIB=$${RANLIB}" \
23995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23996 install-info) \
23997 || exit 1
23999 @endif rcs
24001 .PHONY: maybe-install-html-rcs install-html-rcs
24002 maybe-install-html-rcs:
24003 @if rcs
24004 maybe-install-html-rcs: install-html-rcs
24006 install-html-rcs: \
24007 configure-rcs \
24008 html-rcs
24009 @: $(MAKE); $(unstage)
24010 @[ -f ./rcs/Makefile ] || exit 0; \
24011 r=`${PWD_COMMAND}`; export r; \
24012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24013 $(HOST_EXPORTS) \
24014 for flag in $(EXTRA_HOST_FLAGS) ; do \
24015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24016 done; \
24017 echo "Doing install-html in rcs" ; \
24018 (cd $(HOST_SUBDIR)/rcs && \
24019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24021 "RANLIB=$${RANLIB}" \
24022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24023 install-html) \
24024 || exit 1
24026 @endif rcs
24028 .PHONY: maybe-installcheck-rcs installcheck-rcs
24029 maybe-installcheck-rcs:
24030 @if rcs
24031 maybe-installcheck-rcs: installcheck-rcs
24033 installcheck-rcs: \
24034 configure-rcs
24035 @: $(MAKE); $(unstage)
24036 @[ -f ./rcs/Makefile ] || exit 0; \
24037 r=`${PWD_COMMAND}`; export r; \
24038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24039 $(HOST_EXPORTS) \
24040 for flag in $(EXTRA_HOST_FLAGS) ; do \
24041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24042 done; \
24043 echo "Doing installcheck in rcs" ; \
24044 (cd $(HOST_SUBDIR)/rcs && \
24045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24047 "RANLIB=$${RANLIB}" \
24048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24049 installcheck) \
24050 || exit 1
24052 @endif rcs
24054 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
24055 maybe-mostlyclean-rcs:
24056 @if rcs
24057 maybe-mostlyclean-rcs: mostlyclean-rcs
24059 mostlyclean-rcs:
24060 @: $(MAKE); $(unstage)
24061 @[ -f ./rcs/Makefile ] || exit 0; \
24062 r=`${PWD_COMMAND}`; export r; \
24063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24064 $(HOST_EXPORTS) \
24065 for flag in $(EXTRA_HOST_FLAGS) ; do \
24066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24067 done; \
24068 echo "Doing mostlyclean in rcs" ; \
24069 (cd $(HOST_SUBDIR)/rcs && \
24070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24072 "RANLIB=$${RANLIB}" \
24073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24074 mostlyclean) \
24075 || exit 1
24077 @endif rcs
24079 .PHONY: maybe-clean-rcs clean-rcs
24080 maybe-clean-rcs:
24081 @if rcs
24082 maybe-clean-rcs: clean-rcs
24084 clean-rcs:
24085 @: $(MAKE); $(unstage)
24086 @[ -f ./rcs/Makefile ] || exit 0; \
24087 r=`${PWD_COMMAND}`; export r; \
24088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24089 $(HOST_EXPORTS) \
24090 for flag in $(EXTRA_HOST_FLAGS) ; do \
24091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24092 done; \
24093 echo "Doing clean in rcs" ; \
24094 (cd $(HOST_SUBDIR)/rcs && \
24095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24097 "RANLIB=$${RANLIB}" \
24098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24099 clean) \
24100 || exit 1
24102 @endif rcs
24104 .PHONY: maybe-distclean-rcs distclean-rcs
24105 maybe-distclean-rcs:
24106 @if rcs
24107 maybe-distclean-rcs: distclean-rcs
24109 distclean-rcs:
24110 @: $(MAKE); $(unstage)
24111 @[ -f ./rcs/Makefile ] || exit 0; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24114 $(HOST_EXPORTS) \
24115 for flag in $(EXTRA_HOST_FLAGS) ; do \
24116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24117 done; \
24118 echo "Doing distclean in rcs" ; \
24119 (cd $(HOST_SUBDIR)/rcs && \
24120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24122 "RANLIB=$${RANLIB}" \
24123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24124 distclean) \
24125 || exit 1
24127 @endif rcs
24129 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
24130 maybe-maintainer-clean-rcs:
24131 @if rcs
24132 maybe-maintainer-clean-rcs: maintainer-clean-rcs
24134 maintainer-clean-rcs:
24135 @: $(MAKE); $(unstage)
24136 @[ -f ./rcs/Makefile ] || exit 0; \
24137 r=`${PWD_COMMAND}`; export r; \
24138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24139 $(HOST_EXPORTS) \
24140 for flag in $(EXTRA_HOST_FLAGS) ; do \
24141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24142 done; \
24143 echo "Doing maintainer-clean in rcs" ; \
24144 (cd $(HOST_SUBDIR)/rcs && \
24145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24147 "RANLIB=$${RANLIB}" \
24148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24149 maintainer-clean) \
24150 || exit 1
24152 @endif rcs
24156 .PHONY: configure-readline maybe-configure-readline
24157 maybe-configure-readline:
24158 @if gcc-bootstrap
24159 configure-readline: stage_current
24160 @endif gcc-bootstrap
24161 @if readline
24162 maybe-configure-readline: configure-readline
24163 configure-readline:
24164 @: $(MAKE); $(unstage)
24165 @r=`${PWD_COMMAND}`; export r; \
24166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24167 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24169 $(HOST_EXPORTS) \
24170 echo Configuring in $(HOST_SUBDIR)/readline; \
24171 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24172 case $(srcdir) in \
24173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24174 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24176 esac; \
24177 srcdiroption="--srcdir=$${topdir}/readline"; \
24178 libsrcdir="$$s/readline"; \
24179 $(SHELL) $${libsrcdir}/configure \
24180 $(HOST_CONFIGARGS) $${srcdiroption} \
24181 || exit 1
24182 @endif readline
24188 .PHONY: all-readline maybe-all-readline
24189 maybe-all-readline:
24190 @if gcc-bootstrap
24191 all-readline: stage_current
24192 @endif gcc-bootstrap
24193 @if readline
24194 TARGET-readline=all
24195 maybe-all-readline: all-readline
24196 all-readline: configure-readline
24197 @: $(MAKE); $(unstage)
24198 @r=`${PWD_COMMAND}`; export r; \
24199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24200 $(HOST_EXPORTS) \
24201 (cd $(HOST_SUBDIR)/readline && \
24202 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
24203 @endif readline
24208 .PHONY: check-readline maybe-check-readline
24209 maybe-check-readline:
24210 @if readline
24211 maybe-check-readline: check-readline
24213 check-readline:
24214 @: $(MAKE); $(unstage)
24215 @r=`${PWD_COMMAND}`; export r; \
24216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24217 $(HOST_EXPORTS) \
24218 (cd $(HOST_SUBDIR)/readline && \
24219 $(MAKE) $(FLAGS_TO_PASS) check)
24221 @endif readline
24223 .PHONY: install-readline maybe-install-readline
24224 maybe-install-readline:
24225 @if readline
24226 maybe-install-readline: install-readline
24228 install-readline: installdirs
24229 @: $(MAKE); $(unstage)
24230 @r=`${PWD_COMMAND}`; export r; \
24231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24232 $(HOST_EXPORTS) \
24233 (cd $(HOST_SUBDIR)/readline && \
24234 $(MAKE) $(FLAGS_TO_PASS) install)
24236 @endif readline
24238 # Other targets (info, dvi, pdf, etc.)
24240 .PHONY: maybe-info-readline info-readline
24241 maybe-info-readline:
24242 @if readline
24243 maybe-info-readline: info-readline
24245 info-readline: \
24246 configure-readline
24247 @: $(MAKE); $(unstage)
24248 @[ -f ./readline/Makefile ] || exit 0; \
24249 r=`${PWD_COMMAND}`; export r; \
24250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24251 $(HOST_EXPORTS) \
24252 for flag in $(EXTRA_HOST_FLAGS) ; do \
24253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24254 done; \
24255 echo "Doing info in readline" ; \
24256 (cd $(HOST_SUBDIR)/readline && \
24257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24259 "RANLIB=$${RANLIB}" \
24260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24261 info) \
24262 || exit 1
24264 @endif readline
24266 .PHONY: maybe-dvi-readline dvi-readline
24267 maybe-dvi-readline:
24268 @if readline
24269 maybe-dvi-readline: dvi-readline
24271 dvi-readline: \
24272 configure-readline
24273 @: $(MAKE); $(unstage)
24274 @[ -f ./readline/Makefile ] || exit 0; \
24275 r=`${PWD_COMMAND}`; export r; \
24276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24277 $(HOST_EXPORTS) \
24278 for flag in $(EXTRA_HOST_FLAGS) ; do \
24279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24280 done; \
24281 echo "Doing dvi in readline" ; \
24282 (cd $(HOST_SUBDIR)/readline && \
24283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24285 "RANLIB=$${RANLIB}" \
24286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24287 dvi) \
24288 || exit 1
24290 @endif readline
24292 .PHONY: maybe-pdf-readline pdf-readline
24293 maybe-pdf-readline:
24294 @if readline
24295 maybe-pdf-readline: pdf-readline
24297 pdf-readline: \
24298 configure-readline
24299 @: $(MAKE); $(unstage)
24300 @[ -f ./readline/Makefile ] || exit 0; \
24301 r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303 $(HOST_EXPORTS) \
24304 for flag in $(EXTRA_HOST_FLAGS) ; do \
24305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24306 done; \
24307 echo "Doing pdf in readline" ; \
24308 (cd $(HOST_SUBDIR)/readline && \
24309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24311 "RANLIB=$${RANLIB}" \
24312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24313 pdf) \
24314 || exit 1
24316 @endif readline
24318 .PHONY: maybe-html-readline html-readline
24319 maybe-html-readline:
24320 @if readline
24321 maybe-html-readline: html-readline
24323 html-readline: \
24324 configure-readline
24325 @: $(MAKE); $(unstage)
24326 @[ -f ./readline/Makefile ] || exit 0; \
24327 r=`${PWD_COMMAND}`; export r; \
24328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24329 $(HOST_EXPORTS) \
24330 for flag in $(EXTRA_HOST_FLAGS) ; do \
24331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24332 done; \
24333 echo "Doing html in readline" ; \
24334 (cd $(HOST_SUBDIR)/readline && \
24335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24337 "RANLIB=$${RANLIB}" \
24338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24339 html) \
24340 || exit 1
24342 @endif readline
24344 .PHONY: maybe-TAGS-readline TAGS-readline
24345 maybe-TAGS-readline:
24346 @if readline
24347 maybe-TAGS-readline: TAGS-readline
24349 TAGS-readline: \
24350 configure-readline
24351 @: $(MAKE); $(unstage)
24352 @[ -f ./readline/Makefile ] || exit 0; \
24353 r=`${PWD_COMMAND}`; export r; \
24354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24355 $(HOST_EXPORTS) \
24356 for flag in $(EXTRA_HOST_FLAGS) ; do \
24357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24358 done; \
24359 echo "Doing TAGS in readline" ; \
24360 (cd $(HOST_SUBDIR)/readline && \
24361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24363 "RANLIB=$${RANLIB}" \
24364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24365 TAGS) \
24366 || exit 1
24368 @endif readline
24370 .PHONY: maybe-install-info-readline install-info-readline
24371 maybe-install-info-readline:
24372 @if readline
24373 maybe-install-info-readline: install-info-readline
24375 install-info-readline: \
24376 configure-readline \
24377 info-readline
24378 @: $(MAKE); $(unstage)
24379 @[ -f ./readline/Makefile ] || exit 0; \
24380 r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24382 $(HOST_EXPORTS) \
24383 for flag in $(EXTRA_HOST_FLAGS) ; do \
24384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24385 done; \
24386 echo "Doing install-info in readline" ; \
24387 (cd $(HOST_SUBDIR)/readline && \
24388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24390 "RANLIB=$${RANLIB}" \
24391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24392 install-info) \
24393 || exit 1
24395 @endif readline
24397 .PHONY: maybe-install-html-readline install-html-readline
24398 maybe-install-html-readline:
24399 @if readline
24400 maybe-install-html-readline: install-html-readline
24402 install-html-readline: \
24403 configure-readline \
24404 html-readline
24405 @: $(MAKE); $(unstage)
24406 @[ -f ./readline/Makefile ] || exit 0; \
24407 r=`${PWD_COMMAND}`; export r; \
24408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24409 $(HOST_EXPORTS) \
24410 for flag in $(EXTRA_HOST_FLAGS) ; do \
24411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24412 done; \
24413 echo "Doing install-html in readline" ; \
24414 (cd $(HOST_SUBDIR)/readline && \
24415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24417 "RANLIB=$${RANLIB}" \
24418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24419 install-html) \
24420 || exit 1
24422 @endif readline
24424 .PHONY: maybe-installcheck-readline installcheck-readline
24425 maybe-installcheck-readline:
24426 @if readline
24427 maybe-installcheck-readline: installcheck-readline
24429 installcheck-readline: \
24430 configure-readline
24431 @: $(MAKE); $(unstage)
24432 @[ -f ./readline/Makefile ] || exit 0; \
24433 r=`${PWD_COMMAND}`; export r; \
24434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24435 $(HOST_EXPORTS) \
24436 for flag in $(EXTRA_HOST_FLAGS) ; do \
24437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24438 done; \
24439 echo "Doing installcheck in readline" ; \
24440 (cd $(HOST_SUBDIR)/readline && \
24441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24443 "RANLIB=$${RANLIB}" \
24444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24445 installcheck) \
24446 || exit 1
24448 @endif readline
24450 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24451 maybe-mostlyclean-readline:
24452 @if readline
24453 maybe-mostlyclean-readline: mostlyclean-readline
24455 mostlyclean-readline:
24456 @: $(MAKE); $(unstage)
24457 @[ -f ./readline/Makefile ] || exit 0; \
24458 r=`${PWD_COMMAND}`; export r; \
24459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24460 $(HOST_EXPORTS) \
24461 for flag in $(EXTRA_HOST_FLAGS) ; do \
24462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24463 done; \
24464 echo "Doing mostlyclean in readline" ; \
24465 (cd $(HOST_SUBDIR)/readline && \
24466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24468 "RANLIB=$${RANLIB}" \
24469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24470 mostlyclean) \
24471 || exit 1
24473 @endif readline
24475 .PHONY: maybe-clean-readline clean-readline
24476 maybe-clean-readline:
24477 @if readline
24478 maybe-clean-readline: clean-readline
24480 clean-readline:
24481 @: $(MAKE); $(unstage)
24482 @[ -f ./readline/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 clean in readline" ; \
24490 (cd $(HOST_SUBDIR)/readline && \
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 clean) \
24496 || exit 1
24498 @endif readline
24500 .PHONY: maybe-distclean-readline distclean-readline
24501 maybe-distclean-readline:
24502 @if readline
24503 maybe-distclean-readline: distclean-readline
24505 distclean-readline:
24506 @: $(MAKE); $(unstage)
24507 @[ -f ./readline/Makefile ] || exit 0; \
24508 r=`${PWD_COMMAND}`; export r; \
24509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24510 $(HOST_EXPORTS) \
24511 for flag in $(EXTRA_HOST_FLAGS) ; do \
24512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24513 done; \
24514 echo "Doing distclean in readline" ; \
24515 (cd $(HOST_SUBDIR)/readline && \
24516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24518 "RANLIB=$${RANLIB}" \
24519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24520 distclean) \
24521 || exit 1
24523 @endif readline
24525 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24526 maybe-maintainer-clean-readline:
24527 @if readline
24528 maybe-maintainer-clean-readline: maintainer-clean-readline
24530 maintainer-clean-readline:
24531 @: $(MAKE); $(unstage)
24532 @[ -f ./readline/Makefile ] || exit 0; \
24533 r=`${PWD_COMMAND}`; export r; \
24534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24535 $(HOST_EXPORTS) \
24536 for flag in $(EXTRA_HOST_FLAGS) ; do \
24537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24538 done; \
24539 echo "Doing maintainer-clean in readline" ; \
24540 (cd $(HOST_SUBDIR)/readline && \
24541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24543 "RANLIB=$${RANLIB}" \
24544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24545 maintainer-clean) \
24546 || exit 1
24548 @endif readline
24552 .PHONY: configure-release maybe-configure-release
24553 maybe-configure-release:
24554 @if gcc-bootstrap
24555 configure-release: stage_current
24556 @endif gcc-bootstrap
24557 @if release
24558 maybe-configure-release: configure-release
24559 configure-release:
24560 @: $(MAKE); $(unstage)
24561 @r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
24564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
24565 $(HOST_EXPORTS) \
24566 echo Configuring in $(HOST_SUBDIR)/release; \
24567 cd "$(HOST_SUBDIR)/release" || exit 1; \
24568 case $(srcdir) in \
24569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24570 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
24571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24572 esac; \
24573 srcdiroption="--srcdir=$${topdir}/release"; \
24574 libsrcdir="$$s/release"; \
24575 $(SHELL) $${libsrcdir}/configure \
24576 $(HOST_CONFIGARGS) $${srcdiroption} \
24577 || exit 1
24578 @endif release
24584 .PHONY: all-release maybe-all-release
24585 maybe-all-release:
24586 @if gcc-bootstrap
24587 all-release: stage_current
24588 @endif gcc-bootstrap
24589 @if release
24590 TARGET-release=all
24591 maybe-all-release: all-release
24592 all-release: configure-release
24593 @: $(MAKE); $(unstage)
24594 @r=`${PWD_COMMAND}`; export r; \
24595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24596 $(HOST_EXPORTS) \
24597 (cd $(HOST_SUBDIR)/release && \
24598 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
24599 @endif release
24604 .PHONY: check-release maybe-check-release
24605 maybe-check-release:
24606 @if release
24607 maybe-check-release: check-release
24609 check-release:
24611 @endif release
24613 .PHONY: install-release maybe-install-release
24614 maybe-install-release:
24615 @if release
24616 maybe-install-release: install-release
24618 install-release:
24620 @endif release
24622 # Other targets (info, dvi, pdf, etc.)
24624 .PHONY: maybe-info-release info-release
24625 maybe-info-release:
24626 @if release
24627 maybe-info-release: info-release
24629 info-release: \
24630 configure-release
24631 @: $(MAKE); $(unstage)
24632 @[ -f ./release/Makefile ] || exit 0; \
24633 r=`${PWD_COMMAND}`; export r; \
24634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24635 $(HOST_EXPORTS) \
24636 for flag in $(EXTRA_HOST_FLAGS) ; do \
24637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24638 done; \
24639 echo "Doing info in release" ; \
24640 (cd $(HOST_SUBDIR)/release && \
24641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24643 "RANLIB=$${RANLIB}" \
24644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24645 info) \
24646 || exit 1
24648 @endif release
24650 .PHONY: maybe-dvi-release dvi-release
24651 maybe-dvi-release:
24652 @if release
24653 maybe-dvi-release: dvi-release
24655 dvi-release: \
24656 configure-release
24657 @: $(MAKE); $(unstage)
24658 @[ -f ./release/Makefile ] || exit 0; \
24659 r=`${PWD_COMMAND}`; export r; \
24660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24661 $(HOST_EXPORTS) \
24662 for flag in $(EXTRA_HOST_FLAGS) ; do \
24663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24664 done; \
24665 echo "Doing dvi in release" ; \
24666 (cd $(HOST_SUBDIR)/release && \
24667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24669 "RANLIB=$${RANLIB}" \
24670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24671 dvi) \
24672 || exit 1
24674 @endif release
24676 .PHONY: maybe-pdf-release pdf-release
24677 maybe-pdf-release:
24678 @if release
24679 maybe-pdf-release: pdf-release
24681 pdf-release: \
24682 configure-release
24683 @: $(MAKE); $(unstage)
24684 @[ -f ./release/Makefile ] || exit 0; \
24685 r=`${PWD_COMMAND}`; export r; \
24686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24687 $(HOST_EXPORTS) \
24688 for flag in $(EXTRA_HOST_FLAGS) ; do \
24689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24690 done; \
24691 echo "Doing pdf in release" ; \
24692 (cd $(HOST_SUBDIR)/release && \
24693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24695 "RANLIB=$${RANLIB}" \
24696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24697 pdf) \
24698 || exit 1
24700 @endif release
24702 .PHONY: maybe-html-release html-release
24703 maybe-html-release:
24704 @if release
24705 maybe-html-release: html-release
24707 html-release: \
24708 configure-release
24709 @: $(MAKE); $(unstage)
24710 @[ -f ./release/Makefile ] || exit 0; \
24711 r=`${PWD_COMMAND}`; export r; \
24712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24713 $(HOST_EXPORTS) \
24714 for flag in $(EXTRA_HOST_FLAGS) ; do \
24715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24716 done; \
24717 echo "Doing html in release" ; \
24718 (cd $(HOST_SUBDIR)/release && \
24719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24721 "RANLIB=$${RANLIB}" \
24722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24723 html) \
24724 || exit 1
24726 @endif release
24728 .PHONY: maybe-TAGS-release TAGS-release
24729 maybe-TAGS-release:
24730 @if release
24731 maybe-TAGS-release: TAGS-release
24733 TAGS-release: \
24734 configure-release
24735 @: $(MAKE); $(unstage)
24736 @[ -f ./release/Makefile ] || exit 0; \
24737 r=`${PWD_COMMAND}`; export r; \
24738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24739 $(HOST_EXPORTS) \
24740 for flag in $(EXTRA_HOST_FLAGS) ; do \
24741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24742 done; \
24743 echo "Doing TAGS in release" ; \
24744 (cd $(HOST_SUBDIR)/release && \
24745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24747 "RANLIB=$${RANLIB}" \
24748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24749 TAGS) \
24750 || exit 1
24752 @endif release
24754 .PHONY: maybe-install-info-release install-info-release
24755 maybe-install-info-release:
24756 @if release
24757 maybe-install-info-release: install-info-release
24759 install-info-release: \
24760 configure-release \
24761 info-release
24762 @: $(MAKE); $(unstage)
24763 @[ -f ./release/Makefile ] || exit 0; \
24764 r=`${PWD_COMMAND}`; export r; \
24765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24766 $(HOST_EXPORTS) \
24767 for flag in $(EXTRA_HOST_FLAGS) ; do \
24768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24769 done; \
24770 echo "Doing install-info in release" ; \
24771 (cd $(HOST_SUBDIR)/release && \
24772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24774 "RANLIB=$${RANLIB}" \
24775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24776 install-info) \
24777 || exit 1
24779 @endif release
24781 .PHONY: maybe-install-html-release install-html-release
24782 maybe-install-html-release:
24783 @if release
24784 maybe-install-html-release: install-html-release
24786 install-html-release: \
24787 configure-release \
24788 html-release
24789 @: $(MAKE); $(unstage)
24790 @[ -f ./release/Makefile ] || exit 0; \
24791 r=`${PWD_COMMAND}`; export r; \
24792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24793 $(HOST_EXPORTS) \
24794 for flag in $(EXTRA_HOST_FLAGS) ; do \
24795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24796 done; \
24797 echo "Doing install-html in release" ; \
24798 (cd $(HOST_SUBDIR)/release && \
24799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24801 "RANLIB=$${RANLIB}" \
24802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24803 install-html) \
24804 || exit 1
24806 @endif release
24808 .PHONY: maybe-installcheck-release installcheck-release
24809 maybe-installcheck-release:
24810 @if release
24811 maybe-installcheck-release: installcheck-release
24813 installcheck-release: \
24814 configure-release
24815 @: $(MAKE); $(unstage)
24816 @[ -f ./release/Makefile ] || exit 0; \
24817 r=`${PWD_COMMAND}`; export r; \
24818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24819 $(HOST_EXPORTS) \
24820 for flag in $(EXTRA_HOST_FLAGS) ; do \
24821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24822 done; \
24823 echo "Doing installcheck in release" ; \
24824 (cd $(HOST_SUBDIR)/release && \
24825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24827 "RANLIB=$${RANLIB}" \
24828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24829 installcheck) \
24830 || exit 1
24832 @endif release
24834 .PHONY: maybe-mostlyclean-release mostlyclean-release
24835 maybe-mostlyclean-release:
24836 @if release
24837 maybe-mostlyclean-release: mostlyclean-release
24839 mostlyclean-release:
24840 @: $(MAKE); $(unstage)
24841 @[ -f ./release/Makefile ] || exit 0; \
24842 r=`${PWD_COMMAND}`; export r; \
24843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24844 $(HOST_EXPORTS) \
24845 for flag in $(EXTRA_HOST_FLAGS) ; do \
24846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24847 done; \
24848 echo "Doing mostlyclean in release" ; \
24849 (cd $(HOST_SUBDIR)/release && \
24850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24852 "RANLIB=$${RANLIB}" \
24853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24854 mostlyclean) \
24855 || exit 1
24857 @endif release
24859 .PHONY: maybe-clean-release clean-release
24860 maybe-clean-release:
24861 @if release
24862 maybe-clean-release: clean-release
24864 clean-release:
24865 @: $(MAKE); $(unstage)
24866 @[ -f ./release/Makefile ] || exit 0; \
24867 r=`${PWD_COMMAND}`; export r; \
24868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24869 $(HOST_EXPORTS) \
24870 for flag in $(EXTRA_HOST_FLAGS) ; do \
24871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24872 done; \
24873 echo "Doing clean in release" ; \
24874 (cd $(HOST_SUBDIR)/release && \
24875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24877 "RANLIB=$${RANLIB}" \
24878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24879 clean) \
24880 || exit 1
24882 @endif release
24884 .PHONY: maybe-distclean-release distclean-release
24885 maybe-distclean-release:
24886 @if release
24887 maybe-distclean-release: distclean-release
24889 distclean-release:
24890 @: $(MAKE); $(unstage)
24891 @[ -f ./release/Makefile ] || exit 0; \
24892 r=`${PWD_COMMAND}`; export r; \
24893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24894 $(HOST_EXPORTS) \
24895 for flag in $(EXTRA_HOST_FLAGS) ; do \
24896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24897 done; \
24898 echo "Doing distclean in release" ; \
24899 (cd $(HOST_SUBDIR)/release && \
24900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24902 "RANLIB=$${RANLIB}" \
24903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24904 distclean) \
24905 || exit 1
24907 @endif release
24909 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
24910 maybe-maintainer-clean-release:
24911 @if release
24912 maybe-maintainer-clean-release: maintainer-clean-release
24914 maintainer-clean-release:
24915 @: $(MAKE); $(unstage)
24916 @[ -f ./release/Makefile ] || exit 0; \
24917 r=`${PWD_COMMAND}`; export r; \
24918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24919 $(HOST_EXPORTS) \
24920 for flag in $(EXTRA_HOST_FLAGS) ; do \
24921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24922 done; \
24923 echo "Doing maintainer-clean in release" ; \
24924 (cd $(HOST_SUBDIR)/release && \
24925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24927 "RANLIB=$${RANLIB}" \
24928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24929 maintainer-clean) \
24930 || exit 1
24932 @endif release
24936 .PHONY: configure-recode maybe-configure-recode
24937 maybe-configure-recode:
24938 @if gcc-bootstrap
24939 configure-recode: stage_current
24940 @endif gcc-bootstrap
24941 @if recode
24942 maybe-configure-recode: configure-recode
24943 configure-recode:
24944 @: $(MAKE); $(unstage)
24945 @r=`${PWD_COMMAND}`; export r; \
24946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24947 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
24948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
24949 $(HOST_EXPORTS) \
24950 echo Configuring in $(HOST_SUBDIR)/recode; \
24951 cd "$(HOST_SUBDIR)/recode" || exit 1; \
24952 case $(srcdir) in \
24953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24954 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
24955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24956 esac; \
24957 srcdiroption="--srcdir=$${topdir}/recode"; \
24958 libsrcdir="$$s/recode"; \
24959 $(SHELL) $${libsrcdir}/configure \
24960 $(HOST_CONFIGARGS) $${srcdiroption} \
24961 || exit 1
24962 @endif recode
24968 .PHONY: all-recode maybe-all-recode
24969 maybe-all-recode:
24970 @if gcc-bootstrap
24971 all-recode: stage_current
24972 @endif gcc-bootstrap
24973 @if recode
24974 TARGET-recode=all
24975 maybe-all-recode: all-recode
24976 all-recode: configure-recode
24977 @: $(MAKE); $(unstage)
24978 @r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(HOST_EXPORTS) \
24981 (cd $(HOST_SUBDIR)/recode && \
24982 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
24983 @endif recode
24988 .PHONY: check-recode maybe-check-recode
24989 maybe-check-recode:
24990 @if recode
24991 maybe-check-recode: check-recode
24993 check-recode:
24994 @: $(MAKE); $(unstage)
24995 @r=`${PWD_COMMAND}`; export r; \
24996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24997 $(HOST_EXPORTS) \
24998 (cd $(HOST_SUBDIR)/recode && \
24999 $(MAKE) $(FLAGS_TO_PASS) check)
25001 @endif recode
25003 .PHONY: install-recode maybe-install-recode
25004 maybe-install-recode:
25005 @if recode
25006 maybe-install-recode: install-recode
25008 install-recode: installdirs
25009 @: $(MAKE); $(unstage)
25010 @r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 (cd $(HOST_SUBDIR)/recode && \
25014 $(MAKE) $(FLAGS_TO_PASS) install)
25016 @endif recode
25018 # Other targets (info, dvi, pdf, etc.)
25020 .PHONY: maybe-info-recode info-recode
25021 maybe-info-recode:
25022 @if recode
25023 maybe-info-recode: info-recode
25025 info-recode: \
25026 configure-recode
25027 @: $(MAKE); $(unstage)
25028 @[ -f ./recode/Makefile ] || exit 0; \
25029 r=`${PWD_COMMAND}`; export r; \
25030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25031 $(HOST_EXPORTS) \
25032 for flag in $(EXTRA_HOST_FLAGS) ; do \
25033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25034 done; \
25035 echo "Doing info in recode" ; \
25036 (cd $(HOST_SUBDIR)/recode && \
25037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25039 "RANLIB=$${RANLIB}" \
25040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25041 info) \
25042 || exit 1
25044 @endif recode
25046 .PHONY: maybe-dvi-recode dvi-recode
25047 maybe-dvi-recode:
25048 @if recode
25049 maybe-dvi-recode: dvi-recode
25051 dvi-recode: \
25052 configure-recode
25053 @: $(MAKE); $(unstage)
25054 @[ -f ./recode/Makefile ] || exit 0; \
25055 r=`${PWD_COMMAND}`; export r; \
25056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25057 $(HOST_EXPORTS) \
25058 for flag in $(EXTRA_HOST_FLAGS) ; do \
25059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25060 done; \
25061 echo "Doing dvi in recode" ; \
25062 (cd $(HOST_SUBDIR)/recode && \
25063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25065 "RANLIB=$${RANLIB}" \
25066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25067 dvi) \
25068 || exit 1
25070 @endif recode
25072 .PHONY: maybe-pdf-recode pdf-recode
25073 maybe-pdf-recode:
25074 @if recode
25075 maybe-pdf-recode: pdf-recode
25077 pdf-recode: \
25078 configure-recode
25079 @: $(MAKE); $(unstage)
25080 @[ -f ./recode/Makefile ] || exit 0; \
25081 r=`${PWD_COMMAND}`; export r; \
25082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(HOST_EXPORTS) \
25084 for flag in $(EXTRA_HOST_FLAGS) ; do \
25085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086 done; \
25087 echo "Doing pdf in recode" ; \
25088 (cd $(HOST_SUBDIR)/recode && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25093 pdf) \
25094 || exit 1
25096 @endif recode
25098 .PHONY: maybe-html-recode html-recode
25099 maybe-html-recode:
25100 @if recode
25101 maybe-html-recode: html-recode
25103 html-recode: \
25104 configure-recode
25105 @: $(MAKE); $(unstage)
25106 @[ -f ./recode/Makefile ] || exit 0; \
25107 r=`${PWD_COMMAND}`; export r; \
25108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25109 $(HOST_EXPORTS) \
25110 for flag in $(EXTRA_HOST_FLAGS) ; do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 echo "Doing html in recode" ; \
25114 (cd $(HOST_SUBDIR)/recode && \
25115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25117 "RANLIB=$${RANLIB}" \
25118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25119 html) \
25120 || exit 1
25122 @endif recode
25124 .PHONY: maybe-TAGS-recode TAGS-recode
25125 maybe-TAGS-recode:
25126 @if recode
25127 maybe-TAGS-recode: TAGS-recode
25129 TAGS-recode: \
25130 configure-recode
25131 @: $(MAKE); $(unstage)
25132 @[ -f ./recode/Makefile ] || exit 0; \
25133 r=`${PWD_COMMAND}`; export r; \
25134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25135 $(HOST_EXPORTS) \
25136 for flag in $(EXTRA_HOST_FLAGS) ; do \
25137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25138 done; \
25139 echo "Doing TAGS in recode" ; \
25140 (cd $(HOST_SUBDIR)/recode && \
25141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25143 "RANLIB=$${RANLIB}" \
25144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25145 TAGS) \
25146 || exit 1
25148 @endif recode
25150 .PHONY: maybe-install-info-recode install-info-recode
25151 maybe-install-info-recode:
25152 @if recode
25153 maybe-install-info-recode: install-info-recode
25155 install-info-recode: \
25156 configure-recode \
25157 info-recode
25158 @: $(MAKE); $(unstage)
25159 @[ -f ./recode/Makefile ] || exit 0; \
25160 r=`${PWD_COMMAND}`; export r; \
25161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25162 $(HOST_EXPORTS) \
25163 for flag in $(EXTRA_HOST_FLAGS) ; do \
25164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25165 done; \
25166 echo "Doing install-info in recode" ; \
25167 (cd $(HOST_SUBDIR)/recode && \
25168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25170 "RANLIB=$${RANLIB}" \
25171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25172 install-info) \
25173 || exit 1
25175 @endif recode
25177 .PHONY: maybe-install-html-recode install-html-recode
25178 maybe-install-html-recode:
25179 @if recode
25180 maybe-install-html-recode: install-html-recode
25182 install-html-recode: \
25183 configure-recode \
25184 html-recode
25185 @: $(MAKE); $(unstage)
25186 @[ -f ./recode/Makefile ] || exit 0; \
25187 r=`${PWD_COMMAND}`; export r; \
25188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25189 $(HOST_EXPORTS) \
25190 for flag in $(EXTRA_HOST_FLAGS) ; do \
25191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25192 done; \
25193 echo "Doing install-html in recode" ; \
25194 (cd $(HOST_SUBDIR)/recode && \
25195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25197 "RANLIB=$${RANLIB}" \
25198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25199 install-html) \
25200 || exit 1
25202 @endif recode
25204 .PHONY: maybe-installcheck-recode installcheck-recode
25205 maybe-installcheck-recode:
25206 @if recode
25207 maybe-installcheck-recode: installcheck-recode
25209 installcheck-recode: \
25210 configure-recode
25211 @: $(MAKE); $(unstage)
25212 @[ -f ./recode/Makefile ] || exit 0; \
25213 r=`${PWD_COMMAND}`; export r; \
25214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25215 $(HOST_EXPORTS) \
25216 for flag in $(EXTRA_HOST_FLAGS) ; do \
25217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25218 done; \
25219 echo "Doing installcheck in recode" ; \
25220 (cd $(HOST_SUBDIR)/recode && \
25221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25223 "RANLIB=$${RANLIB}" \
25224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25225 installcheck) \
25226 || exit 1
25228 @endif recode
25230 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
25231 maybe-mostlyclean-recode:
25232 @if recode
25233 maybe-mostlyclean-recode: mostlyclean-recode
25235 mostlyclean-recode:
25236 @: $(MAKE); $(unstage)
25237 @[ -f ./recode/Makefile ] || exit 0; \
25238 r=`${PWD_COMMAND}`; export r; \
25239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25240 $(HOST_EXPORTS) \
25241 for flag in $(EXTRA_HOST_FLAGS) ; do \
25242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25243 done; \
25244 echo "Doing mostlyclean in recode" ; \
25245 (cd $(HOST_SUBDIR)/recode && \
25246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25248 "RANLIB=$${RANLIB}" \
25249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25250 mostlyclean) \
25251 || exit 1
25253 @endif recode
25255 .PHONY: maybe-clean-recode clean-recode
25256 maybe-clean-recode:
25257 @if recode
25258 maybe-clean-recode: clean-recode
25260 clean-recode:
25261 @: $(MAKE); $(unstage)
25262 @[ -f ./recode/Makefile ] || exit 0; \
25263 r=`${PWD_COMMAND}`; export r; \
25264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265 $(HOST_EXPORTS) \
25266 for flag in $(EXTRA_HOST_FLAGS) ; do \
25267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25268 done; \
25269 echo "Doing clean in recode" ; \
25270 (cd $(HOST_SUBDIR)/recode && \
25271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25273 "RANLIB=$${RANLIB}" \
25274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25275 clean) \
25276 || exit 1
25278 @endif recode
25280 .PHONY: maybe-distclean-recode distclean-recode
25281 maybe-distclean-recode:
25282 @if recode
25283 maybe-distclean-recode: distclean-recode
25285 distclean-recode:
25286 @: $(MAKE); $(unstage)
25287 @[ -f ./recode/Makefile ] || exit 0; \
25288 r=`${PWD_COMMAND}`; export r; \
25289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25290 $(HOST_EXPORTS) \
25291 for flag in $(EXTRA_HOST_FLAGS) ; do \
25292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25293 done; \
25294 echo "Doing distclean in recode" ; \
25295 (cd $(HOST_SUBDIR)/recode && \
25296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25298 "RANLIB=$${RANLIB}" \
25299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25300 distclean) \
25301 || exit 1
25303 @endif recode
25305 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
25306 maybe-maintainer-clean-recode:
25307 @if recode
25308 maybe-maintainer-clean-recode: maintainer-clean-recode
25310 maintainer-clean-recode:
25311 @: $(MAKE); $(unstage)
25312 @[ -f ./recode/Makefile ] || exit 0; \
25313 r=`${PWD_COMMAND}`; export r; \
25314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25315 $(HOST_EXPORTS) \
25316 for flag in $(EXTRA_HOST_FLAGS) ; do \
25317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25318 done; \
25319 echo "Doing maintainer-clean in recode" ; \
25320 (cd $(HOST_SUBDIR)/recode && \
25321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25323 "RANLIB=$${RANLIB}" \
25324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25325 maintainer-clean) \
25326 || exit 1
25328 @endif recode
25332 .PHONY: configure-sed maybe-configure-sed
25333 maybe-configure-sed:
25334 @if gcc-bootstrap
25335 configure-sed: stage_current
25336 @endif gcc-bootstrap
25337 @if sed
25338 maybe-configure-sed: configure-sed
25339 configure-sed:
25340 @: $(MAKE); $(unstage)
25341 @r=`${PWD_COMMAND}`; export r; \
25342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25343 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
25344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
25345 $(HOST_EXPORTS) \
25346 echo Configuring in $(HOST_SUBDIR)/sed; \
25347 cd "$(HOST_SUBDIR)/sed" || exit 1; \
25348 case $(srcdir) in \
25349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25350 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
25351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25352 esac; \
25353 srcdiroption="--srcdir=$${topdir}/sed"; \
25354 libsrcdir="$$s/sed"; \
25355 $(SHELL) $${libsrcdir}/configure \
25356 $(HOST_CONFIGARGS) $${srcdiroption} \
25357 || exit 1
25358 @endif sed
25364 .PHONY: all-sed maybe-all-sed
25365 maybe-all-sed:
25366 @if gcc-bootstrap
25367 all-sed: stage_current
25368 @endif gcc-bootstrap
25369 @if sed
25370 TARGET-sed=all
25371 maybe-all-sed: all-sed
25372 all-sed: configure-sed
25373 @: $(MAKE); $(unstage)
25374 @r=`${PWD_COMMAND}`; export r; \
25375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25376 $(HOST_EXPORTS) \
25377 (cd $(HOST_SUBDIR)/sed && \
25378 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
25379 @endif sed
25384 .PHONY: check-sed maybe-check-sed
25385 maybe-check-sed:
25386 @if sed
25387 maybe-check-sed: check-sed
25389 check-sed:
25390 @: $(MAKE); $(unstage)
25391 @r=`${PWD_COMMAND}`; export r; \
25392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25393 $(HOST_EXPORTS) \
25394 (cd $(HOST_SUBDIR)/sed && \
25395 $(MAKE) $(FLAGS_TO_PASS) check)
25397 @endif sed
25399 .PHONY: install-sed maybe-install-sed
25400 maybe-install-sed:
25401 @if sed
25402 maybe-install-sed: install-sed
25404 install-sed: installdirs
25405 @: $(MAKE); $(unstage)
25406 @r=`${PWD_COMMAND}`; export r; \
25407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25408 $(HOST_EXPORTS) \
25409 (cd $(HOST_SUBDIR)/sed && \
25410 $(MAKE) $(FLAGS_TO_PASS) install)
25412 @endif sed
25414 # Other targets (info, dvi, pdf, etc.)
25416 .PHONY: maybe-info-sed info-sed
25417 maybe-info-sed:
25418 @if sed
25419 maybe-info-sed: info-sed
25421 info-sed: \
25422 configure-sed
25423 @: $(MAKE); $(unstage)
25424 @[ -f ./sed/Makefile ] || exit 0; \
25425 r=`${PWD_COMMAND}`; export r; \
25426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25427 $(HOST_EXPORTS) \
25428 for flag in $(EXTRA_HOST_FLAGS) ; do \
25429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25430 done; \
25431 echo "Doing info in sed" ; \
25432 (cd $(HOST_SUBDIR)/sed && \
25433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25435 "RANLIB=$${RANLIB}" \
25436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25437 info) \
25438 || exit 1
25440 @endif sed
25442 .PHONY: maybe-dvi-sed dvi-sed
25443 maybe-dvi-sed:
25444 @if sed
25445 maybe-dvi-sed: dvi-sed
25447 dvi-sed: \
25448 configure-sed
25449 @: $(MAKE); $(unstage)
25450 @[ -f ./sed/Makefile ] || exit 0; \
25451 r=`${PWD_COMMAND}`; export r; \
25452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25453 $(HOST_EXPORTS) \
25454 for flag in $(EXTRA_HOST_FLAGS) ; do \
25455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25456 done; \
25457 echo "Doing dvi in sed" ; \
25458 (cd $(HOST_SUBDIR)/sed && \
25459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25461 "RANLIB=$${RANLIB}" \
25462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25463 dvi) \
25464 || exit 1
25466 @endif sed
25468 .PHONY: maybe-pdf-sed pdf-sed
25469 maybe-pdf-sed:
25470 @if sed
25471 maybe-pdf-sed: pdf-sed
25473 pdf-sed: \
25474 configure-sed
25475 @: $(MAKE); $(unstage)
25476 @[ -f ./sed/Makefile ] || exit 0; \
25477 r=`${PWD_COMMAND}`; export r; \
25478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25479 $(HOST_EXPORTS) \
25480 for flag in $(EXTRA_HOST_FLAGS) ; do \
25481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25482 done; \
25483 echo "Doing pdf in sed" ; \
25484 (cd $(HOST_SUBDIR)/sed && \
25485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25487 "RANLIB=$${RANLIB}" \
25488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25489 pdf) \
25490 || exit 1
25492 @endif sed
25494 .PHONY: maybe-html-sed html-sed
25495 maybe-html-sed:
25496 @if sed
25497 maybe-html-sed: html-sed
25499 html-sed: \
25500 configure-sed
25501 @: $(MAKE); $(unstage)
25502 @[ -f ./sed/Makefile ] || exit 0; \
25503 r=`${PWD_COMMAND}`; export r; \
25504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25505 $(HOST_EXPORTS) \
25506 for flag in $(EXTRA_HOST_FLAGS) ; do \
25507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25508 done; \
25509 echo "Doing html in sed" ; \
25510 (cd $(HOST_SUBDIR)/sed && \
25511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25513 "RANLIB=$${RANLIB}" \
25514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25515 html) \
25516 || exit 1
25518 @endif sed
25520 .PHONY: maybe-TAGS-sed TAGS-sed
25521 maybe-TAGS-sed:
25522 @if sed
25523 maybe-TAGS-sed: TAGS-sed
25525 TAGS-sed: \
25526 configure-sed
25527 @: $(MAKE); $(unstage)
25528 @[ -f ./sed/Makefile ] || exit 0; \
25529 r=`${PWD_COMMAND}`; export r; \
25530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25531 $(HOST_EXPORTS) \
25532 for flag in $(EXTRA_HOST_FLAGS) ; do \
25533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25534 done; \
25535 echo "Doing TAGS in sed" ; \
25536 (cd $(HOST_SUBDIR)/sed && \
25537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25539 "RANLIB=$${RANLIB}" \
25540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25541 TAGS) \
25542 || exit 1
25544 @endif sed
25546 .PHONY: maybe-install-info-sed install-info-sed
25547 maybe-install-info-sed:
25548 @if sed
25549 maybe-install-info-sed: install-info-sed
25551 install-info-sed: \
25552 configure-sed \
25553 info-sed
25554 @: $(MAKE); $(unstage)
25555 @[ -f ./sed/Makefile ] || exit 0; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25558 $(HOST_EXPORTS) \
25559 for flag in $(EXTRA_HOST_FLAGS) ; do \
25560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25561 done; \
25562 echo "Doing install-info in sed" ; \
25563 (cd $(HOST_SUBDIR)/sed && \
25564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25566 "RANLIB=$${RANLIB}" \
25567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25568 install-info) \
25569 || exit 1
25571 @endif sed
25573 .PHONY: maybe-install-html-sed install-html-sed
25574 maybe-install-html-sed:
25575 @if sed
25576 maybe-install-html-sed: install-html-sed
25578 install-html-sed: \
25579 configure-sed \
25580 html-sed
25581 @: $(MAKE); $(unstage)
25582 @[ -f ./sed/Makefile ] || exit 0; \
25583 r=`${PWD_COMMAND}`; export r; \
25584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25585 $(HOST_EXPORTS) \
25586 for flag in $(EXTRA_HOST_FLAGS) ; do \
25587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25588 done; \
25589 echo "Doing install-html in sed" ; \
25590 (cd $(HOST_SUBDIR)/sed && \
25591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25593 "RANLIB=$${RANLIB}" \
25594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25595 install-html) \
25596 || exit 1
25598 @endif sed
25600 .PHONY: maybe-installcheck-sed installcheck-sed
25601 maybe-installcheck-sed:
25602 @if sed
25603 maybe-installcheck-sed: installcheck-sed
25605 installcheck-sed: \
25606 configure-sed
25607 @: $(MAKE); $(unstage)
25608 @[ -f ./sed/Makefile ] || exit 0; \
25609 r=`${PWD_COMMAND}`; export r; \
25610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25611 $(HOST_EXPORTS) \
25612 for flag in $(EXTRA_HOST_FLAGS) ; do \
25613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25614 done; \
25615 echo "Doing installcheck in sed" ; \
25616 (cd $(HOST_SUBDIR)/sed && \
25617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25619 "RANLIB=$${RANLIB}" \
25620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25621 installcheck) \
25622 || exit 1
25624 @endif sed
25626 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
25627 maybe-mostlyclean-sed:
25628 @if sed
25629 maybe-mostlyclean-sed: mostlyclean-sed
25631 mostlyclean-sed:
25632 @: $(MAKE); $(unstage)
25633 @[ -f ./sed/Makefile ] || exit 0; \
25634 r=`${PWD_COMMAND}`; export r; \
25635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25636 $(HOST_EXPORTS) \
25637 for flag in $(EXTRA_HOST_FLAGS) ; do \
25638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25639 done; \
25640 echo "Doing mostlyclean in sed" ; \
25641 (cd $(HOST_SUBDIR)/sed && \
25642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25644 "RANLIB=$${RANLIB}" \
25645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25646 mostlyclean) \
25647 || exit 1
25649 @endif sed
25651 .PHONY: maybe-clean-sed clean-sed
25652 maybe-clean-sed:
25653 @if sed
25654 maybe-clean-sed: clean-sed
25656 clean-sed:
25657 @: $(MAKE); $(unstage)
25658 @[ -f ./sed/Makefile ] || exit 0; \
25659 r=`${PWD_COMMAND}`; export r; \
25660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25661 $(HOST_EXPORTS) \
25662 for flag in $(EXTRA_HOST_FLAGS) ; do \
25663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25664 done; \
25665 echo "Doing clean in sed" ; \
25666 (cd $(HOST_SUBDIR)/sed && \
25667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25669 "RANLIB=$${RANLIB}" \
25670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25671 clean) \
25672 || exit 1
25674 @endif sed
25676 .PHONY: maybe-distclean-sed distclean-sed
25677 maybe-distclean-sed:
25678 @if sed
25679 maybe-distclean-sed: distclean-sed
25681 distclean-sed:
25682 @: $(MAKE); $(unstage)
25683 @[ -f ./sed/Makefile ] || exit 0; \
25684 r=`${PWD_COMMAND}`; export r; \
25685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25686 $(HOST_EXPORTS) \
25687 for flag in $(EXTRA_HOST_FLAGS) ; do \
25688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25689 done; \
25690 echo "Doing distclean in sed" ; \
25691 (cd $(HOST_SUBDIR)/sed && \
25692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25694 "RANLIB=$${RANLIB}" \
25695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25696 distclean) \
25697 || exit 1
25699 @endif sed
25701 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
25702 maybe-maintainer-clean-sed:
25703 @if sed
25704 maybe-maintainer-clean-sed: maintainer-clean-sed
25706 maintainer-clean-sed:
25707 @: $(MAKE); $(unstage)
25708 @[ -f ./sed/Makefile ] || exit 0; \
25709 r=`${PWD_COMMAND}`; export r; \
25710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25711 $(HOST_EXPORTS) \
25712 for flag in $(EXTRA_HOST_FLAGS) ; do \
25713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25714 done; \
25715 echo "Doing maintainer-clean in sed" ; \
25716 (cd $(HOST_SUBDIR)/sed && \
25717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25719 "RANLIB=$${RANLIB}" \
25720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25721 maintainer-clean) \
25722 || exit 1
25724 @endif sed
25728 .PHONY: configure-send-pr maybe-configure-send-pr
25729 maybe-configure-send-pr:
25730 @if gcc-bootstrap
25731 configure-send-pr: stage_current
25732 @endif gcc-bootstrap
25733 @if send-pr
25734 maybe-configure-send-pr: configure-send-pr
25735 configure-send-pr:
25736 @: $(MAKE); $(unstage)
25737 @r=`${PWD_COMMAND}`; export r; \
25738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25739 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
25740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
25741 $(HOST_EXPORTS) \
25742 echo Configuring in $(HOST_SUBDIR)/send-pr; \
25743 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
25744 case $(srcdir) in \
25745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25746 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
25747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25748 esac; \
25749 srcdiroption="--srcdir=$${topdir}/send-pr"; \
25750 libsrcdir="$$s/send-pr"; \
25751 $(SHELL) $${libsrcdir}/configure \
25752 $(HOST_CONFIGARGS) $${srcdiroption} \
25753 || exit 1
25754 @endif send-pr
25760 .PHONY: all-send-pr maybe-all-send-pr
25761 maybe-all-send-pr:
25762 @if gcc-bootstrap
25763 all-send-pr: stage_current
25764 @endif gcc-bootstrap
25765 @if send-pr
25766 TARGET-send-pr=all
25767 maybe-all-send-pr: all-send-pr
25768 all-send-pr: configure-send-pr
25769 @: $(MAKE); $(unstage)
25770 @r=`${PWD_COMMAND}`; export r; \
25771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25772 $(HOST_EXPORTS) \
25773 (cd $(HOST_SUBDIR)/send-pr && \
25774 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
25775 @endif send-pr
25780 .PHONY: check-send-pr maybe-check-send-pr
25781 maybe-check-send-pr:
25782 @if send-pr
25783 maybe-check-send-pr: check-send-pr
25785 check-send-pr:
25786 @: $(MAKE); $(unstage)
25787 @r=`${PWD_COMMAND}`; export r; \
25788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25789 $(HOST_EXPORTS) \
25790 (cd $(HOST_SUBDIR)/send-pr && \
25791 $(MAKE) $(FLAGS_TO_PASS) check)
25793 @endif send-pr
25795 .PHONY: install-send-pr maybe-install-send-pr
25796 maybe-install-send-pr:
25797 @if send-pr
25798 maybe-install-send-pr: install-send-pr
25800 install-send-pr: installdirs
25801 @: $(MAKE); $(unstage)
25802 @r=`${PWD_COMMAND}`; export r; \
25803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25804 $(HOST_EXPORTS) \
25805 (cd $(HOST_SUBDIR)/send-pr && \
25806 $(MAKE) $(FLAGS_TO_PASS) install)
25808 @endif send-pr
25810 # Other targets (info, dvi, pdf, etc.)
25812 .PHONY: maybe-info-send-pr info-send-pr
25813 maybe-info-send-pr:
25814 @if send-pr
25815 maybe-info-send-pr: info-send-pr
25817 info-send-pr: \
25818 configure-send-pr
25819 @: $(MAKE); $(unstage)
25820 @[ -f ./send-pr/Makefile ] || exit 0; \
25821 r=`${PWD_COMMAND}`; export r; \
25822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25823 $(HOST_EXPORTS) \
25824 for flag in $(EXTRA_HOST_FLAGS) ; do \
25825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25826 done; \
25827 echo "Doing info in send-pr" ; \
25828 (cd $(HOST_SUBDIR)/send-pr && \
25829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25831 "RANLIB=$${RANLIB}" \
25832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25833 info) \
25834 || exit 1
25836 @endif send-pr
25838 .PHONY: maybe-dvi-send-pr dvi-send-pr
25839 maybe-dvi-send-pr:
25840 @if send-pr
25841 maybe-dvi-send-pr: dvi-send-pr
25843 dvi-send-pr: \
25844 configure-send-pr
25845 @: $(MAKE); $(unstage)
25846 @[ -f ./send-pr/Makefile ] || exit 0; \
25847 r=`${PWD_COMMAND}`; export r; \
25848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25849 $(HOST_EXPORTS) \
25850 for flag in $(EXTRA_HOST_FLAGS) ; do \
25851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25852 done; \
25853 echo "Doing dvi in send-pr" ; \
25854 (cd $(HOST_SUBDIR)/send-pr && \
25855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25857 "RANLIB=$${RANLIB}" \
25858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25859 dvi) \
25860 || exit 1
25862 @endif send-pr
25864 .PHONY: maybe-pdf-send-pr pdf-send-pr
25865 maybe-pdf-send-pr:
25866 @if send-pr
25867 maybe-pdf-send-pr: pdf-send-pr
25869 pdf-send-pr: \
25870 configure-send-pr
25871 @: $(MAKE); $(unstage)
25872 @[ -f ./send-pr/Makefile ] || exit 0; \
25873 r=`${PWD_COMMAND}`; export r; \
25874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25875 $(HOST_EXPORTS) \
25876 for flag in $(EXTRA_HOST_FLAGS) ; do \
25877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25878 done; \
25879 echo "Doing pdf in send-pr" ; \
25880 (cd $(HOST_SUBDIR)/send-pr && \
25881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25883 "RANLIB=$${RANLIB}" \
25884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25885 pdf) \
25886 || exit 1
25888 @endif send-pr
25890 .PHONY: maybe-html-send-pr html-send-pr
25891 maybe-html-send-pr:
25892 @if send-pr
25893 maybe-html-send-pr: html-send-pr
25895 html-send-pr: \
25896 configure-send-pr
25897 @: $(MAKE); $(unstage)
25898 @[ -f ./send-pr/Makefile ] || exit 0; \
25899 r=`${PWD_COMMAND}`; export r; \
25900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25901 $(HOST_EXPORTS) \
25902 for flag in $(EXTRA_HOST_FLAGS) ; do \
25903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25904 done; \
25905 echo "Doing html in send-pr" ; \
25906 (cd $(HOST_SUBDIR)/send-pr && \
25907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25909 "RANLIB=$${RANLIB}" \
25910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25911 html) \
25912 || exit 1
25914 @endif send-pr
25916 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
25917 maybe-TAGS-send-pr:
25918 @if send-pr
25919 maybe-TAGS-send-pr: TAGS-send-pr
25921 TAGS-send-pr: \
25922 configure-send-pr
25923 @: $(MAKE); $(unstage)
25924 @[ -f ./send-pr/Makefile ] || exit 0; \
25925 r=`${PWD_COMMAND}`; export r; \
25926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25927 $(HOST_EXPORTS) \
25928 for flag in $(EXTRA_HOST_FLAGS) ; do \
25929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25930 done; \
25931 echo "Doing TAGS in send-pr" ; \
25932 (cd $(HOST_SUBDIR)/send-pr && \
25933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25935 "RANLIB=$${RANLIB}" \
25936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25937 TAGS) \
25938 || exit 1
25940 @endif send-pr
25942 .PHONY: maybe-install-info-send-pr install-info-send-pr
25943 maybe-install-info-send-pr:
25944 @if send-pr
25945 maybe-install-info-send-pr: install-info-send-pr
25947 install-info-send-pr: \
25948 configure-send-pr \
25949 info-send-pr
25950 @: $(MAKE); $(unstage)
25951 @[ -f ./send-pr/Makefile ] || exit 0; \
25952 r=`${PWD_COMMAND}`; export r; \
25953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25954 $(HOST_EXPORTS) \
25955 for flag in $(EXTRA_HOST_FLAGS) ; do \
25956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25957 done; \
25958 echo "Doing install-info in send-pr" ; \
25959 (cd $(HOST_SUBDIR)/send-pr && \
25960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25962 "RANLIB=$${RANLIB}" \
25963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25964 install-info) \
25965 || exit 1
25967 @endif send-pr
25969 .PHONY: maybe-install-html-send-pr install-html-send-pr
25970 maybe-install-html-send-pr:
25971 @if send-pr
25972 maybe-install-html-send-pr: install-html-send-pr
25974 install-html-send-pr: \
25975 configure-send-pr \
25976 html-send-pr
25977 @: $(MAKE); $(unstage)
25978 @[ -f ./send-pr/Makefile ] || exit 0; \
25979 r=`${PWD_COMMAND}`; export r; \
25980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25981 $(HOST_EXPORTS) \
25982 for flag in $(EXTRA_HOST_FLAGS) ; do \
25983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25984 done; \
25985 echo "Doing install-html in send-pr" ; \
25986 (cd $(HOST_SUBDIR)/send-pr && \
25987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25989 "RANLIB=$${RANLIB}" \
25990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25991 install-html) \
25992 || exit 1
25994 @endif send-pr
25996 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
25997 maybe-installcheck-send-pr:
25998 @if send-pr
25999 maybe-installcheck-send-pr: installcheck-send-pr
26001 installcheck-send-pr: \
26002 configure-send-pr
26003 @: $(MAKE); $(unstage)
26004 @[ -f ./send-pr/Makefile ] || exit 0; \
26005 r=`${PWD_COMMAND}`; export r; \
26006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26007 $(HOST_EXPORTS) \
26008 for flag in $(EXTRA_HOST_FLAGS) ; do \
26009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26010 done; \
26011 echo "Doing installcheck in send-pr" ; \
26012 (cd $(HOST_SUBDIR)/send-pr && \
26013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26015 "RANLIB=$${RANLIB}" \
26016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26017 installcheck) \
26018 || exit 1
26020 @endif send-pr
26022 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
26023 maybe-mostlyclean-send-pr:
26024 @if send-pr
26025 maybe-mostlyclean-send-pr: mostlyclean-send-pr
26027 mostlyclean-send-pr:
26028 @: $(MAKE); $(unstage)
26029 @[ -f ./send-pr/Makefile ] || exit 0; \
26030 r=`${PWD_COMMAND}`; export r; \
26031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26032 $(HOST_EXPORTS) \
26033 for flag in $(EXTRA_HOST_FLAGS) ; do \
26034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26035 done; \
26036 echo "Doing mostlyclean in send-pr" ; \
26037 (cd $(HOST_SUBDIR)/send-pr && \
26038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26040 "RANLIB=$${RANLIB}" \
26041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26042 mostlyclean) \
26043 || exit 1
26045 @endif send-pr
26047 .PHONY: maybe-clean-send-pr clean-send-pr
26048 maybe-clean-send-pr:
26049 @if send-pr
26050 maybe-clean-send-pr: clean-send-pr
26052 clean-send-pr:
26053 @: $(MAKE); $(unstage)
26054 @[ -f ./send-pr/Makefile ] || exit 0; \
26055 r=`${PWD_COMMAND}`; export r; \
26056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26057 $(HOST_EXPORTS) \
26058 for flag in $(EXTRA_HOST_FLAGS) ; do \
26059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26060 done; \
26061 echo "Doing clean in send-pr" ; \
26062 (cd $(HOST_SUBDIR)/send-pr && \
26063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26065 "RANLIB=$${RANLIB}" \
26066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26067 clean) \
26068 || exit 1
26070 @endif send-pr
26072 .PHONY: maybe-distclean-send-pr distclean-send-pr
26073 maybe-distclean-send-pr:
26074 @if send-pr
26075 maybe-distclean-send-pr: distclean-send-pr
26077 distclean-send-pr:
26078 @: $(MAKE); $(unstage)
26079 @[ -f ./send-pr/Makefile ] || exit 0; \
26080 r=`${PWD_COMMAND}`; export r; \
26081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26082 $(HOST_EXPORTS) \
26083 for flag in $(EXTRA_HOST_FLAGS) ; do \
26084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26085 done; \
26086 echo "Doing distclean in send-pr" ; \
26087 (cd $(HOST_SUBDIR)/send-pr && \
26088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26090 "RANLIB=$${RANLIB}" \
26091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26092 distclean) \
26093 || exit 1
26095 @endif send-pr
26097 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
26098 maybe-maintainer-clean-send-pr:
26099 @if send-pr
26100 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
26102 maintainer-clean-send-pr:
26103 @: $(MAKE); $(unstage)
26104 @[ -f ./send-pr/Makefile ] || exit 0; \
26105 r=`${PWD_COMMAND}`; export r; \
26106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26107 $(HOST_EXPORTS) \
26108 for flag in $(EXTRA_HOST_FLAGS) ; do \
26109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26110 done; \
26111 echo "Doing maintainer-clean in send-pr" ; \
26112 (cd $(HOST_SUBDIR)/send-pr && \
26113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26115 "RANLIB=$${RANLIB}" \
26116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26117 maintainer-clean) \
26118 || exit 1
26120 @endif send-pr
26124 .PHONY: configure-shellutils maybe-configure-shellutils
26125 maybe-configure-shellutils:
26126 @if gcc-bootstrap
26127 configure-shellutils: stage_current
26128 @endif gcc-bootstrap
26129 @if shellutils
26130 maybe-configure-shellutils: configure-shellutils
26131 configure-shellutils:
26132 @: $(MAKE); $(unstage)
26133 @r=`${PWD_COMMAND}`; export r; \
26134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26135 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
26136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
26137 $(HOST_EXPORTS) \
26138 echo Configuring in $(HOST_SUBDIR)/shellutils; \
26139 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
26140 case $(srcdir) in \
26141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26142 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
26143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26144 esac; \
26145 srcdiroption="--srcdir=$${topdir}/shellutils"; \
26146 libsrcdir="$$s/shellutils"; \
26147 $(SHELL) $${libsrcdir}/configure \
26148 $(HOST_CONFIGARGS) $${srcdiroption} \
26149 || exit 1
26150 @endif shellutils
26156 .PHONY: all-shellutils maybe-all-shellutils
26157 maybe-all-shellutils:
26158 @if gcc-bootstrap
26159 all-shellutils: stage_current
26160 @endif gcc-bootstrap
26161 @if shellutils
26162 TARGET-shellutils=all
26163 maybe-all-shellutils: all-shellutils
26164 all-shellutils: configure-shellutils
26165 @: $(MAKE); $(unstage)
26166 @r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26168 $(HOST_EXPORTS) \
26169 (cd $(HOST_SUBDIR)/shellutils && \
26170 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
26171 @endif shellutils
26176 .PHONY: check-shellutils maybe-check-shellutils
26177 maybe-check-shellutils:
26178 @if shellutils
26179 maybe-check-shellutils: check-shellutils
26181 check-shellutils:
26182 @: $(MAKE); $(unstage)
26183 @r=`${PWD_COMMAND}`; export r; \
26184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26185 $(HOST_EXPORTS) \
26186 (cd $(HOST_SUBDIR)/shellutils && \
26187 $(MAKE) $(FLAGS_TO_PASS) check)
26189 @endif shellutils
26191 .PHONY: install-shellutils maybe-install-shellutils
26192 maybe-install-shellutils:
26193 @if shellutils
26194 maybe-install-shellutils: install-shellutils
26196 install-shellutils: installdirs
26197 @: $(MAKE); $(unstage)
26198 @r=`${PWD_COMMAND}`; export r; \
26199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26200 $(HOST_EXPORTS) \
26201 (cd $(HOST_SUBDIR)/shellutils && \
26202 $(MAKE) $(FLAGS_TO_PASS) install)
26204 @endif shellutils
26206 # Other targets (info, dvi, pdf, etc.)
26208 .PHONY: maybe-info-shellutils info-shellutils
26209 maybe-info-shellutils:
26210 @if shellutils
26211 maybe-info-shellutils: info-shellutils
26213 info-shellutils: \
26214 configure-shellutils
26215 @: $(MAKE); $(unstage)
26216 @[ -f ./shellutils/Makefile ] || exit 0; \
26217 r=`${PWD_COMMAND}`; export r; \
26218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26219 $(HOST_EXPORTS) \
26220 for flag in $(EXTRA_HOST_FLAGS) ; do \
26221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26222 done; \
26223 echo "Doing info in shellutils" ; \
26224 (cd $(HOST_SUBDIR)/shellutils && \
26225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26227 "RANLIB=$${RANLIB}" \
26228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26229 info) \
26230 || exit 1
26232 @endif shellutils
26234 .PHONY: maybe-dvi-shellutils dvi-shellutils
26235 maybe-dvi-shellutils:
26236 @if shellutils
26237 maybe-dvi-shellutils: dvi-shellutils
26239 dvi-shellutils: \
26240 configure-shellutils
26241 @: $(MAKE); $(unstage)
26242 @[ -f ./shellutils/Makefile ] || exit 0; \
26243 r=`${PWD_COMMAND}`; export r; \
26244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 $(HOST_EXPORTS) \
26246 for flag in $(EXTRA_HOST_FLAGS) ; do \
26247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26248 done; \
26249 echo "Doing dvi in shellutils" ; \
26250 (cd $(HOST_SUBDIR)/shellutils && \
26251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26253 "RANLIB=$${RANLIB}" \
26254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26255 dvi) \
26256 || exit 1
26258 @endif shellutils
26260 .PHONY: maybe-pdf-shellutils pdf-shellutils
26261 maybe-pdf-shellutils:
26262 @if shellutils
26263 maybe-pdf-shellutils: pdf-shellutils
26265 pdf-shellutils: \
26266 configure-shellutils
26267 @: $(MAKE); $(unstage)
26268 @[ -f ./shellutils/Makefile ] || exit 0; \
26269 r=`${PWD_COMMAND}`; export r; \
26270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26271 $(HOST_EXPORTS) \
26272 for flag in $(EXTRA_HOST_FLAGS) ; do \
26273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26274 done; \
26275 echo "Doing pdf in shellutils" ; \
26276 (cd $(HOST_SUBDIR)/shellutils && \
26277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26279 "RANLIB=$${RANLIB}" \
26280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26281 pdf) \
26282 || exit 1
26284 @endif shellutils
26286 .PHONY: maybe-html-shellutils html-shellutils
26287 maybe-html-shellutils:
26288 @if shellutils
26289 maybe-html-shellutils: html-shellutils
26291 html-shellutils: \
26292 configure-shellutils
26293 @: $(MAKE); $(unstage)
26294 @[ -f ./shellutils/Makefile ] || exit 0; \
26295 r=`${PWD_COMMAND}`; export r; \
26296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26297 $(HOST_EXPORTS) \
26298 for flag in $(EXTRA_HOST_FLAGS) ; do \
26299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26300 done; \
26301 echo "Doing html in shellutils" ; \
26302 (cd $(HOST_SUBDIR)/shellutils && \
26303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26305 "RANLIB=$${RANLIB}" \
26306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26307 html) \
26308 || exit 1
26310 @endif shellutils
26312 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
26313 maybe-TAGS-shellutils:
26314 @if shellutils
26315 maybe-TAGS-shellutils: TAGS-shellutils
26317 TAGS-shellutils: \
26318 configure-shellutils
26319 @: $(MAKE); $(unstage)
26320 @[ -f ./shellutils/Makefile ] || exit 0; \
26321 r=`${PWD_COMMAND}`; export r; \
26322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26323 $(HOST_EXPORTS) \
26324 for flag in $(EXTRA_HOST_FLAGS) ; do \
26325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26326 done; \
26327 echo "Doing TAGS in shellutils" ; \
26328 (cd $(HOST_SUBDIR)/shellutils && \
26329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26331 "RANLIB=$${RANLIB}" \
26332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26333 TAGS) \
26334 || exit 1
26336 @endif shellutils
26338 .PHONY: maybe-install-info-shellutils install-info-shellutils
26339 maybe-install-info-shellutils:
26340 @if shellutils
26341 maybe-install-info-shellutils: install-info-shellutils
26343 install-info-shellutils: \
26344 configure-shellutils \
26345 info-shellutils
26346 @: $(MAKE); $(unstage)
26347 @[ -f ./shellutils/Makefile ] || exit 0; \
26348 r=`${PWD_COMMAND}`; export r; \
26349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26350 $(HOST_EXPORTS) \
26351 for flag in $(EXTRA_HOST_FLAGS) ; do \
26352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26353 done; \
26354 echo "Doing install-info in shellutils" ; \
26355 (cd $(HOST_SUBDIR)/shellutils && \
26356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26358 "RANLIB=$${RANLIB}" \
26359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26360 install-info) \
26361 || exit 1
26363 @endif shellutils
26365 .PHONY: maybe-install-html-shellutils install-html-shellutils
26366 maybe-install-html-shellutils:
26367 @if shellutils
26368 maybe-install-html-shellutils: install-html-shellutils
26370 install-html-shellutils: \
26371 configure-shellutils \
26372 html-shellutils
26373 @: $(MAKE); $(unstage)
26374 @[ -f ./shellutils/Makefile ] || exit 0; \
26375 r=`${PWD_COMMAND}`; export r; \
26376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26377 $(HOST_EXPORTS) \
26378 for flag in $(EXTRA_HOST_FLAGS) ; do \
26379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26380 done; \
26381 echo "Doing install-html in shellutils" ; \
26382 (cd $(HOST_SUBDIR)/shellutils && \
26383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26385 "RANLIB=$${RANLIB}" \
26386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26387 install-html) \
26388 || exit 1
26390 @endif shellutils
26392 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
26393 maybe-installcheck-shellutils:
26394 @if shellutils
26395 maybe-installcheck-shellutils: installcheck-shellutils
26397 installcheck-shellutils: \
26398 configure-shellutils
26399 @: $(MAKE); $(unstage)
26400 @[ -f ./shellutils/Makefile ] || exit 0; \
26401 r=`${PWD_COMMAND}`; export r; \
26402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26403 $(HOST_EXPORTS) \
26404 for flag in $(EXTRA_HOST_FLAGS) ; do \
26405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26406 done; \
26407 echo "Doing installcheck in shellutils" ; \
26408 (cd $(HOST_SUBDIR)/shellutils && \
26409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26411 "RANLIB=$${RANLIB}" \
26412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26413 installcheck) \
26414 || exit 1
26416 @endif shellutils
26418 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
26419 maybe-mostlyclean-shellutils:
26420 @if shellutils
26421 maybe-mostlyclean-shellutils: mostlyclean-shellutils
26423 mostlyclean-shellutils:
26424 @: $(MAKE); $(unstage)
26425 @[ -f ./shellutils/Makefile ] || exit 0; \
26426 r=`${PWD_COMMAND}`; export r; \
26427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26428 $(HOST_EXPORTS) \
26429 for flag in $(EXTRA_HOST_FLAGS) ; do \
26430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26431 done; \
26432 echo "Doing mostlyclean in shellutils" ; \
26433 (cd $(HOST_SUBDIR)/shellutils && \
26434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26436 "RANLIB=$${RANLIB}" \
26437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26438 mostlyclean) \
26439 || exit 1
26441 @endif shellutils
26443 .PHONY: maybe-clean-shellutils clean-shellutils
26444 maybe-clean-shellutils:
26445 @if shellutils
26446 maybe-clean-shellutils: clean-shellutils
26448 clean-shellutils:
26449 @: $(MAKE); $(unstage)
26450 @[ -f ./shellutils/Makefile ] || exit 0; \
26451 r=`${PWD_COMMAND}`; export r; \
26452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26453 $(HOST_EXPORTS) \
26454 for flag in $(EXTRA_HOST_FLAGS) ; do \
26455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26456 done; \
26457 echo "Doing clean in shellutils" ; \
26458 (cd $(HOST_SUBDIR)/shellutils && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26461 "RANLIB=$${RANLIB}" \
26462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26463 clean) \
26464 || exit 1
26466 @endif shellutils
26468 .PHONY: maybe-distclean-shellutils distclean-shellutils
26469 maybe-distclean-shellutils:
26470 @if shellutils
26471 maybe-distclean-shellutils: distclean-shellutils
26473 distclean-shellutils:
26474 @: $(MAKE); $(unstage)
26475 @[ -f ./shellutils/Makefile ] || exit 0; \
26476 r=`${PWD_COMMAND}`; export r; \
26477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26478 $(HOST_EXPORTS) \
26479 for flag in $(EXTRA_HOST_FLAGS) ; do \
26480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26481 done; \
26482 echo "Doing distclean in shellutils" ; \
26483 (cd $(HOST_SUBDIR)/shellutils && \
26484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26486 "RANLIB=$${RANLIB}" \
26487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26488 distclean) \
26489 || exit 1
26491 @endif shellutils
26493 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
26494 maybe-maintainer-clean-shellutils:
26495 @if shellutils
26496 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
26498 maintainer-clean-shellutils:
26499 @: $(MAKE); $(unstage)
26500 @[ -f ./shellutils/Makefile ] || exit 0; \
26501 r=`${PWD_COMMAND}`; export r; \
26502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26503 $(HOST_EXPORTS) \
26504 for flag in $(EXTRA_HOST_FLAGS) ; do \
26505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26506 done; \
26507 echo "Doing maintainer-clean in shellutils" ; \
26508 (cd $(HOST_SUBDIR)/shellutils && \
26509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26511 "RANLIB=$${RANLIB}" \
26512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26513 maintainer-clean) \
26514 || exit 1
26516 @endif shellutils
26520 .PHONY: configure-sid maybe-configure-sid
26521 maybe-configure-sid:
26522 @if gcc-bootstrap
26523 configure-sid: stage_current
26524 @endif gcc-bootstrap
26525 @if sid
26526 maybe-configure-sid: configure-sid
26527 configure-sid:
26528 @: $(MAKE); $(unstage)
26529 @r=`${PWD_COMMAND}`; export r; \
26530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26531 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26533 $(HOST_EXPORTS) \
26534 echo Configuring in $(HOST_SUBDIR)/sid; \
26535 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26536 case $(srcdir) in \
26537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26538 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26540 esac; \
26541 srcdiroption="--srcdir=$${topdir}/sid"; \
26542 libsrcdir="$$s/sid"; \
26543 $(SHELL) $${libsrcdir}/configure \
26544 $(HOST_CONFIGARGS) $${srcdiroption} \
26545 || exit 1
26546 @endif sid
26552 .PHONY: all-sid maybe-all-sid
26553 maybe-all-sid:
26554 @if gcc-bootstrap
26555 all-sid: stage_current
26556 @endif gcc-bootstrap
26557 @if sid
26558 TARGET-sid=all
26559 maybe-all-sid: all-sid
26560 all-sid: configure-sid
26561 @: $(MAKE); $(unstage)
26562 @r=`${PWD_COMMAND}`; export r; \
26563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26564 $(HOST_EXPORTS) \
26565 (cd $(HOST_SUBDIR)/sid && \
26566 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
26567 @endif sid
26572 .PHONY: check-sid maybe-check-sid
26573 maybe-check-sid:
26574 @if sid
26575 maybe-check-sid: check-sid
26577 check-sid:
26578 @: $(MAKE); $(unstage)
26579 @r=`${PWD_COMMAND}`; export r; \
26580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26581 $(HOST_EXPORTS) \
26582 (cd $(HOST_SUBDIR)/sid && \
26583 $(MAKE) $(FLAGS_TO_PASS) check)
26585 @endif sid
26587 .PHONY: install-sid maybe-install-sid
26588 maybe-install-sid:
26589 @if sid
26590 maybe-install-sid: install-sid
26592 install-sid: installdirs
26593 @: $(MAKE); $(unstage)
26594 @r=`${PWD_COMMAND}`; export r; \
26595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26596 $(HOST_EXPORTS) \
26597 (cd $(HOST_SUBDIR)/sid && \
26598 $(MAKE) $(FLAGS_TO_PASS) install)
26600 @endif sid
26602 # Other targets (info, dvi, pdf, etc.)
26604 .PHONY: maybe-info-sid info-sid
26605 maybe-info-sid:
26606 @if sid
26607 maybe-info-sid: info-sid
26609 info-sid: \
26610 configure-sid
26611 @: $(MAKE); $(unstage)
26612 @[ -f ./sid/Makefile ] || exit 0; \
26613 r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 $(HOST_EXPORTS) \
26616 for flag in $(EXTRA_HOST_FLAGS) ; do \
26617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26618 done; \
26619 echo "Doing info in sid" ; \
26620 (cd $(HOST_SUBDIR)/sid && \
26621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26623 "RANLIB=$${RANLIB}" \
26624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26625 info) \
26626 || exit 1
26628 @endif sid
26630 .PHONY: maybe-dvi-sid dvi-sid
26631 maybe-dvi-sid:
26632 @if sid
26633 maybe-dvi-sid: dvi-sid
26635 dvi-sid: \
26636 configure-sid
26637 @: $(MAKE); $(unstage)
26638 @[ -f ./sid/Makefile ] || exit 0; \
26639 r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(HOST_EXPORTS) \
26642 for flag in $(EXTRA_HOST_FLAGS) ; do \
26643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26644 done; \
26645 echo "Doing dvi in sid" ; \
26646 (cd $(HOST_SUBDIR)/sid && \
26647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26649 "RANLIB=$${RANLIB}" \
26650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26651 dvi) \
26652 || exit 1
26654 @endif sid
26656 .PHONY: maybe-pdf-sid pdf-sid
26657 maybe-pdf-sid:
26658 @if sid
26659 maybe-pdf-sid: pdf-sid
26661 pdf-sid: \
26662 configure-sid
26663 @: $(MAKE); $(unstage)
26664 @[ -f ./sid/Makefile ] || exit 0; \
26665 r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26667 $(HOST_EXPORTS) \
26668 for flag in $(EXTRA_HOST_FLAGS) ; do \
26669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26670 done; \
26671 echo "Doing pdf in sid" ; \
26672 (cd $(HOST_SUBDIR)/sid && \
26673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26675 "RANLIB=$${RANLIB}" \
26676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26677 pdf) \
26678 || exit 1
26680 @endif sid
26682 .PHONY: maybe-html-sid html-sid
26683 maybe-html-sid:
26684 @if sid
26685 maybe-html-sid: html-sid
26687 html-sid: \
26688 configure-sid
26689 @: $(MAKE); $(unstage)
26690 @[ -f ./sid/Makefile ] || exit 0; \
26691 r=`${PWD_COMMAND}`; export r; \
26692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26693 $(HOST_EXPORTS) \
26694 for flag in $(EXTRA_HOST_FLAGS) ; do \
26695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26696 done; \
26697 echo "Doing html in sid" ; \
26698 (cd $(HOST_SUBDIR)/sid && \
26699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26701 "RANLIB=$${RANLIB}" \
26702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26703 html) \
26704 || exit 1
26706 @endif sid
26708 .PHONY: maybe-TAGS-sid TAGS-sid
26709 maybe-TAGS-sid:
26710 @if sid
26711 maybe-TAGS-sid: TAGS-sid
26713 TAGS-sid: \
26714 configure-sid
26715 @: $(MAKE); $(unstage)
26716 @[ -f ./sid/Makefile ] || exit 0; \
26717 r=`${PWD_COMMAND}`; export r; \
26718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26719 $(HOST_EXPORTS) \
26720 for flag in $(EXTRA_HOST_FLAGS) ; do \
26721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26722 done; \
26723 echo "Doing TAGS in sid" ; \
26724 (cd $(HOST_SUBDIR)/sid && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26727 "RANLIB=$${RANLIB}" \
26728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26729 TAGS) \
26730 || exit 1
26732 @endif sid
26734 .PHONY: maybe-install-info-sid install-info-sid
26735 maybe-install-info-sid:
26736 @if sid
26737 maybe-install-info-sid: install-info-sid
26739 install-info-sid: \
26740 configure-sid \
26741 info-sid
26742 @: $(MAKE); $(unstage)
26743 @[ -f ./sid/Makefile ] || exit 0; \
26744 r=`${PWD_COMMAND}`; export r; \
26745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26746 $(HOST_EXPORTS) \
26747 for flag in $(EXTRA_HOST_FLAGS) ; do \
26748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26749 done; \
26750 echo "Doing install-info in sid" ; \
26751 (cd $(HOST_SUBDIR)/sid && \
26752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26754 "RANLIB=$${RANLIB}" \
26755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26756 install-info) \
26757 || exit 1
26759 @endif sid
26761 .PHONY: maybe-install-html-sid install-html-sid
26762 maybe-install-html-sid:
26763 @if sid
26764 maybe-install-html-sid: install-html-sid
26766 install-html-sid: \
26767 configure-sid \
26768 html-sid
26769 @: $(MAKE); $(unstage)
26770 @[ -f ./sid/Makefile ] || exit 0; \
26771 r=`${PWD_COMMAND}`; export r; \
26772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26773 $(HOST_EXPORTS) \
26774 for flag in $(EXTRA_HOST_FLAGS) ; do \
26775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26776 done; \
26777 echo "Doing install-html in sid" ; \
26778 (cd $(HOST_SUBDIR)/sid && \
26779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26781 "RANLIB=$${RANLIB}" \
26782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26783 install-html) \
26784 || exit 1
26786 @endif sid
26788 .PHONY: maybe-installcheck-sid installcheck-sid
26789 maybe-installcheck-sid:
26790 @if sid
26791 maybe-installcheck-sid: installcheck-sid
26793 installcheck-sid: \
26794 configure-sid
26795 @: $(MAKE); $(unstage)
26796 @[ -f ./sid/Makefile ] || exit 0; \
26797 r=`${PWD_COMMAND}`; export r; \
26798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26799 $(HOST_EXPORTS) \
26800 for flag in $(EXTRA_HOST_FLAGS) ; do \
26801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26802 done; \
26803 echo "Doing installcheck in sid" ; \
26804 (cd $(HOST_SUBDIR)/sid && \
26805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26807 "RANLIB=$${RANLIB}" \
26808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26809 installcheck) \
26810 || exit 1
26812 @endif sid
26814 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26815 maybe-mostlyclean-sid:
26816 @if sid
26817 maybe-mostlyclean-sid: mostlyclean-sid
26819 mostlyclean-sid:
26820 @: $(MAKE); $(unstage)
26821 @[ -f ./sid/Makefile ] || exit 0; \
26822 r=`${PWD_COMMAND}`; export r; \
26823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26824 $(HOST_EXPORTS) \
26825 for flag in $(EXTRA_HOST_FLAGS) ; do \
26826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26827 done; \
26828 echo "Doing mostlyclean in sid" ; \
26829 (cd $(HOST_SUBDIR)/sid && \
26830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26832 "RANLIB=$${RANLIB}" \
26833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26834 mostlyclean) \
26835 || exit 1
26837 @endif sid
26839 .PHONY: maybe-clean-sid clean-sid
26840 maybe-clean-sid:
26841 @if sid
26842 maybe-clean-sid: clean-sid
26844 clean-sid:
26845 @: $(MAKE); $(unstage)
26846 @[ -f ./sid/Makefile ] || exit 0; \
26847 r=`${PWD_COMMAND}`; export r; \
26848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26849 $(HOST_EXPORTS) \
26850 for flag in $(EXTRA_HOST_FLAGS) ; do \
26851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26852 done; \
26853 echo "Doing clean in sid" ; \
26854 (cd $(HOST_SUBDIR)/sid && \
26855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26857 "RANLIB=$${RANLIB}" \
26858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26859 clean) \
26860 || exit 1
26862 @endif sid
26864 .PHONY: maybe-distclean-sid distclean-sid
26865 maybe-distclean-sid:
26866 @if sid
26867 maybe-distclean-sid: distclean-sid
26869 distclean-sid:
26870 @: $(MAKE); $(unstage)
26871 @[ -f ./sid/Makefile ] || exit 0; \
26872 r=`${PWD_COMMAND}`; export r; \
26873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26874 $(HOST_EXPORTS) \
26875 for flag in $(EXTRA_HOST_FLAGS) ; do \
26876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26877 done; \
26878 echo "Doing distclean in sid" ; \
26879 (cd $(HOST_SUBDIR)/sid && \
26880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26882 "RANLIB=$${RANLIB}" \
26883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26884 distclean) \
26885 || exit 1
26887 @endif sid
26889 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26890 maybe-maintainer-clean-sid:
26891 @if sid
26892 maybe-maintainer-clean-sid: maintainer-clean-sid
26894 maintainer-clean-sid:
26895 @: $(MAKE); $(unstage)
26896 @[ -f ./sid/Makefile ] || exit 0; \
26897 r=`${PWD_COMMAND}`; export r; \
26898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26899 $(HOST_EXPORTS) \
26900 for flag in $(EXTRA_HOST_FLAGS) ; do \
26901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26902 done; \
26903 echo "Doing maintainer-clean in sid" ; \
26904 (cd $(HOST_SUBDIR)/sid && \
26905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26907 "RANLIB=$${RANLIB}" \
26908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26909 maintainer-clean) \
26910 || exit 1
26912 @endif sid
26916 .PHONY: configure-sim maybe-configure-sim
26917 maybe-configure-sim:
26918 @if gcc-bootstrap
26919 configure-sim: stage_current
26920 @endif gcc-bootstrap
26921 @if sim
26922 maybe-configure-sim: configure-sim
26923 configure-sim:
26924 @: $(MAKE); $(unstage)
26925 @r=`${PWD_COMMAND}`; export r; \
26926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26927 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26929 $(HOST_EXPORTS) \
26930 echo Configuring in $(HOST_SUBDIR)/sim; \
26931 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26932 case $(srcdir) in \
26933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26934 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26936 esac; \
26937 srcdiroption="--srcdir=$${topdir}/sim"; \
26938 libsrcdir="$$s/sim"; \
26939 $(SHELL) $${libsrcdir}/configure \
26940 $(HOST_CONFIGARGS) $${srcdiroption} \
26941 || exit 1
26942 @endif sim
26948 .PHONY: all-sim maybe-all-sim
26949 maybe-all-sim:
26950 @if gcc-bootstrap
26951 all-sim: stage_current
26952 @endif gcc-bootstrap
26953 @if sim
26954 TARGET-sim=all
26955 maybe-all-sim: all-sim
26956 all-sim: configure-sim
26957 @: $(MAKE); $(unstage)
26958 @r=`${PWD_COMMAND}`; export r; \
26959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26960 $(HOST_EXPORTS) \
26961 (cd $(HOST_SUBDIR)/sim && \
26962 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
26963 @endif sim
26968 .PHONY: check-sim maybe-check-sim
26969 maybe-check-sim:
26970 @if sim
26971 maybe-check-sim: check-sim
26973 check-sim:
26974 @: $(MAKE); $(unstage)
26975 @r=`${PWD_COMMAND}`; export r; \
26976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26977 $(HOST_EXPORTS) \
26978 (cd $(HOST_SUBDIR)/sim && \
26979 $(MAKE) $(FLAGS_TO_PASS) check)
26981 @endif sim
26983 .PHONY: install-sim maybe-install-sim
26984 maybe-install-sim:
26985 @if sim
26986 maybe-install-sim: install-sim
26988 install-sim: installdirs
26989 @: $(MAKE); $(unstage)
26990 @r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(HOST_EXPORTS) \
26993 (cd $(HOST_SUBDIR)/sim && \
26994 $(MAKE) $(FLAGS_TO_PASS) install)
26996 @endif sim
26998 # Other targets (info, dvi, pdf, etc.)
27000 .PHONY: maybe-info-sim info-sim
27001 maybe-info-sim:
27002 @if sim
27003 maybe-info-sim: info-sim
27005 info-sim: \
27006 configure-sim
27007 @: $(MAKE); $(unstage)
27008 @[ -f ./sim/Makefile ] || exit 0; \
27009 r=`${PWD_COMMAND}`; export r; \
27010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27011 $(HOST_EXPORTS) \
27012 for flag in $(EXTRA_HOST_FLAGS) ; do \
27013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27014 done; \
27015 echo "Doing info in sim" ; \
27016 (cd $(HOST_SUBDIR)/sim && \
27017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27019 "RANLIB=$${RANLIB}" \
27020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27021 info) \
27022 || exit 1
27024 @endif sim
27026 .PHONY: maybe-dvi-sim dvi-sim
27027 maybe-dvi-sim:
27028 @if sim
27029 maybe-dvi-sim: dvi-sim
27031 dvi-sim: \
27032 configure-sim
27033 @: $(MAKE); $(unstage)
27034 @[ -f ./sim/Makefile ] || exit 0; \
27035 r=`${PWD_COMMAND}`; export r; \
27036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27037 $(HOST_EXPORTS) \
27038 for flag in $(EXTRA_HOST_FLAGS) ; do \
27039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27040 done; \
27041 echo "Doing dvi in sim" ; \
27042 (cd $(HOST_SUBDIR)/sim && \
27043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27045 "RANLIB=$${RANLIB}" \
27046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27047 dvi) \
27048 || exit 1
27050 @endif sim
27052 .PHONY: maybe-pdf-sim pdf-sim
27053 maybe-pdf-sim:
27054 @if sim
27055 maybe-pdf-sim: pdf-sim
27057 pdf-sim: \
27058 configure-sim
27059 @: $(MAKE); $(unstage)
27060 @[ -f ./sim/Makefile ] || exit 0; \
27061 r=`${PWD_COMMAND}`; export r; \
27062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27063 $(HOST_EXPORTS) \
27064 for flag in $(EXTRA_HOST_FLAGS) ; do \
27065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27066 done; \
27067 echo "Doing pdf in sim" ; \
27068 (cd $(HOST_SUBDIR)/sim && \
27069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27071 "RANLIB=$${RANLIB}" \
27072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27073 pdf) \
27074 || exit 1
27076 @endif sim
27078 .PHONY: maybe-html-sim html-sim
27079 maybe-html-sim:
27080 @if sim
27081 maybe-html-sim: html-sim
27083 html-sim: \
27084 configure-sim
27085 @: $(MAKE); $(unstage)
27086 @[ -f ./sim/Makefile ] || exit 0; \
27087 r=`${PWD_COMMAND}`; export r; \
27088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27089 $(HOST_EXPORTS) \
27090 for flag in $(EXTRA_HOST_FLAGS) ; do \
27091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27092 done; \
27093 echo "Doing html in sim" ; \
27094 (cd $(HOST_SUBDIR)/sim && \
27095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27097 "RANLIB=$${RANLIB}" \
27098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27099 html) \
27100 || exit 1
27102 @endif sim
27104 .PHONY: maybe-TAGS-sim TAGS-sim
27105 maybe-TAGS-sim:
27106 @if sim
27107 maybe-TAGS-sim: TAGS-sim
27109 TAGS-sim: \
27110 configure-sim
27111 @: $(MAKE); $(unstage)
27112 @[ -f ./sim/Makefile ] || exit 0; \
27113 r=`${PWD_COMMAND}`; export r; \
27114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27115 $(HOST_EXPORTS) \
27116 for flag in $(EXTRA_HOST_FLAGS) ; do \
27117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27118 done; \
27119 echo "Doing TAGS in sim" ; \
27120 (cd $(HOST_SUBDIR)/sim && \
27121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27123 "RANLIB=$${RANLIB}" \
27124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27125 TAGS) \
27126 || exit 1
27128 @endif sim
27130 .PHONY: maybe-install-info-sim install-info-sim
27131 maybe-install-info-sim:
27132 @if sim
27133 maybe-install-info-sim: install-info-sim
27135 install-info-sim: \
27136 configure-sim \
27137 info-sim
27138 @: $(MAKE); $(unstage)
27139 @[ -f ./sim/Makefile ] || exit 0; \
27140 r=`${PWD_COMMAND}`; export r; \
27141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27142 $(HOST_EXPORTS) \
27143 for flag in $(EXTRA_HOST_FLAGS) ; do \
27144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27145 done; \
27146 echo "Doing install-info in sim" ; \
27147 (cd $(HOST_SUBDIR)/sim && \
27148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27150 "RANLIB=$${RANLIB}" \
27151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27152 install-info) \
27153 || exit 1
27155 @endif sim
27157 .PHONY: maybe-install-html-sim install-html-sim
27158 maybe-install-html-sim:
27159 @if sim
27160 maybe-install-html-sim: install-html-sim
27162 install-html-sim: \
27163 configure-sim \
27164 html-sim
27165 @: $(MAKE); $(unstage)
27166 @[ -f ./sim/Makefile ] || exit 0; \
27167 r=`${PWD_COMMAND}`; export r; \
27168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27169 $(HOST_EXPORTS) \
27170 for flag in $(EXTRA_HOST_FLAGS) ; do \
27171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27172 done; \
27173 echo "Doing install-html in sim" ; \
27174 (cd $(HOST_SUBDIR)/sim && \
27175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27177 "RANLIB=$${RANLIB}" \
27178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27179 install-html) \
27180 || exit 1
27182 @endif sim
27184 .PHONY: maybe-installcheck-sim installcheck-sim
27185 maybe-installcheck-sim:
27186 @if sim
27187 maybe-installcheck-sim: installcheck-sim
27189 installcheck-sim: \
27190 configure-sim
27191 @: $(MAKE); $(unstage)
27192 @[ -f ./sim/Makefile ] || exit 0; \
27193 r=`${PWD_COMMAND}`; export r; \
27194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27195 $(HOST_EXPORTS) \
27196 for flag in $(EXTRA_HOST_FLAGS) ; do \
27197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27198 done; \
27199 echo "Doing installcheck in sim" ; \
27200 (cd $(HOST_SUBDIR)/sim && \
27201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27203 "RANLIB=$${RANLIB}" \
27204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27205 installcheck) \
27206 || exit 1
27208 @endif sim
27210 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
27211 maybe-mostlyclean-sim:
27212 @if sim
27213 maybe-mostlyclean-sim: mostlyclean-sim
27215 mostlyclean-sim:
27216 @: $(MAKE); $(unstage)
27217 @[ -f ./sim/Makefile ] || exit 0; \
27218 r=`${PWD_COMMAND}`; export r; \
27219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27220 $(HOST_EXPORTS) \
27221 for flag in $(EXTRA_HOST_FLAGS) ; do \
27222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27223 done; \
27224 echo "Doing mostlyclean in sim" ; \
27225 (cd $(HOST_SUBDIR)/sim && \
27226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27228 "RANLIB=$${RANLIB}" \
27229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27230 mostlyclean) \
27231 || exit 1
27233 @endif sim
27235 .PHONY: maybe-clean-sim clean-sim
27236 maybe-clean-sim:
27237 @if sim
27238 maybe-clean-sim: clean-sim
27240 clean-sim:
27241 @: $(MAKE); $(unstage)
27242 @[ -f ./sim/Makefile ] || exit 0; \
27243 r=`${PWD_COMMAND}`; export r; \
27244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27245 $(HOST_EXPORTS) \
27246 for flag in $(EXTRA_HOST_FLAGS) ; do \
27247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27248 done; \
27249 echo "Doing clean in sim" ; \
27250 (cd $(HOST_SUBDIR)/sim && \
27251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27253 "RANLIB=$${RANLIB}" \
27254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27255 clean) \
27256 || exit 1
27258 @endif sim
27260 .PHONY: maybe-distclean-sim distclean-sim
27261 maybe-distclean-sim:
27262 @if sim
27263 maybe-distclean-sim: distclean-sim
27265 distclean-sim:
27266 @: $(MAKE); $(unstage)
27267 @[ -f ./sim/Makefile ] || exit 0; \
27268 r=`${PWD_COMMAND}`; export r; \
27269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27270 $(HOST_EXPORTS) \
27271 for flag in $(EXTRA_HOST_FLAGS) ; do \
27272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27273 done; \
27274 echo "Doing distclean in sim" ; \
27275 (cd $(HOST_SUBDIR)/sim && \
27276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27278 "RANLIB=$${RANLIB}" \
27279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27280 distclean) \
27281 || exit 1
27283 @endif sim
27285 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
27286 maybe-maintainer-clean-sim:
27287 @if sim
27288 maybe-maintainer-clean-sim: maintainer-clean-sim
27290 maintainer-clean-sim:
27291 @: $(MAKE); $(unstage)
27292 @[ -f ./sim/Makefile ] || exit 0; \
27293 r=`${PWD_COMMAND}`; export r; \
27294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27295 $(HOST_EXPORTS) \
27296 for flag in $(EXTRA_HOST_FLAGS) ; do \
27297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27298 done; \
27299 echo "Doing maintainer-clean in sim" ; \
27300 (cd $(HOST_SUBDIR)/sim && \
27301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27303 "RANLIB=$${RANLIB}" \
27304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27305 maintainer-clean) \
27306 || exit 1
27308 @endif sim
27312 .PHONY: configure-tar maybe-configure-tar
27313 maybe-configure-tar:
27314 @if gcc-bootstrap
27315 configure-tar: stage_current
27316 @endif gcc-bootstrap
27317 @if tar
27318 maybe-configure-tar: configure-tar
27319 configure-tar:
27320 @: $(MAKE); $(unstage)
27321 @r=`${PWD_COMMAND}`; export r; \
27322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27323 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
27324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
27325 $(HOST_EXPORTS) \
27326 echo Configuring in $(HOST_SUBDIR)/tar; \
27327 cd "$(HOST_SUBDIR)/tar" || exit 1; \
27328 case $(srcdir) in \
27329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27330 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
27331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27332 esac; \
27333 srcdiroption="--srcdir=$${topdir}/tar"; \
27334 libsrcdir="$$s/tar"; \
27335 $(SHELL) $${libsrcdir}/configure \
27336 $(HOST_CONFIGARGS) $${srcdiroption} \
27337 || exit 1
27338 @endif tar
27344 .PHONY: all-tar maybe-all-tar
27345 maybe-all-tar:
27346 @if gcc-bootstrap
27347 all-tar: stage_current
27348 @endif gcc-bootstrap
27349 @if tar
27350 TARGET-tar=all
27351 maybe-all-tar: all-tar
27352 all-tar: configure-tar
27353 @: $(MAKE); $(unstage)
27354 @r=`${PWD_COMMAND}`; export r; \
27355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27356 $(HOST_EXPORTS) \
27357 (cd $(HOST_SUBDIR)/tar && \
27358 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
27359 @endif tar
27364 .PHONY: check-tar maybe-check-tar
27365 maybe-check-tar:
27366 @if tar
27367 maybe-check-tar: check-tar
27369 check-tar:
27370 @: $(MAKE); $(unstage)
27371 @r=`${PWD_COMMAND}`; export r; \
27372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27373 $(HOST_EXPORTS) \
27374 (cd $(HOST_SUBDIR)/tar && \
27375 $(MAKE) $(FLAGS_TO_PASS) check)
27377 @endif tar
27379 .PHONY: install-tar maybe-install-tar
27380 maybe-install-tar:
27381 @if tar
27382 maybe-install-tar: install-tar
27384 install-tar: installdirs
27385 @: $(MAKE); $(unstage)
27386 @r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388 $(HOST_EXPORTS) \
27389 (cd $(HOST_SUBDIR)/tar && \
27390 $(MAKE) $(FLAGS_TO_PASS) install)
27392 @endif tar
27394 # Other targets (info, dvi, pdf, etc.)
27396 .PHONY: maybe-info-tar info-tar
27397 maybe-info-tar:
27398 @if tar
27399 maybe-info-tar: info-tar
27401 info-tar: \
27402 configure-tar
27403 @: $(MAKE); $(unstage)
27404 @[ -f ./tar/Makefile ] || exit 0; \
27405 r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 $(HOST_EXPORTS) \
27408 for flag in $(EXTRA_HOST_FLAGS) ; do \
27409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27410 done; \
27411 echo "Doing info in tar" ; \
27412 (cd $(HOST_SUBDIR)/tar && \
27413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27415 "RANLIB=$${RANLIB}" \
27416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27417 info) \
27418 || exit 1
27420 @endif tar
27422 .PHONY: maybe-dvi-tar dvi-tar
27423 maybe-dvi-tar:
27424 @if tar
27425 maybe-dvi-tar: dvi-tar
27427 dvi-tar: \
27428 configure-tar
27429 @: $(MAKE); $(unstage)
27430 @[ -f ./tar/Makefile ] || exit 0; \
27431 r=`${PWD_COMMAND}`; export r; \
27432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27433 $(HOST_EXPORTS) \
27434 for flag in $(EXTRA_HOST_FLAGS) ; do \
27435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27436 done; \
27437 echo "Doing dvi in tar" ; \
27438 (cd $(HOST_SUBDIR)/tar && \
27439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27441 "RANLIB=$${RANLIB}" \
27442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27443 dvi) \
27444 || exit 1
27446 @endif tar
27448 .PHONY: maybe-pdf-tar pdf-tar
27449 maybe-pdf-tar:
27450 @if tar
27451 maybe-pdf-tar: pdf-tar
27453 pdf-tar: \
27454 configure-tar
27455 @: $(MAKE); $(unstage)
27456 @[ -f ./tar/Makefile ] || exit 0; \
27457 r=`${PWD_COMMAND}`; export r; \
27458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27459 $(HOST_EXPORTS) \
27460 for flag in $(EXTRA_HOST_FLAGS) ; do \
27461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27462 done; \
27463 echo "Doing pdf in tar" ; \
27464 (cd $(HOST_SUBDIR)/tar && \
27465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27467 "RANLIB=$${RANLIB}" \
27468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27469 pdf) \
27470 || exit 1
27472 @endif tar
27474 .PHONY: maybe-html-tar html-tar
27475 maybe-html-tar:
27476 @if tar
27477 maybe-html-tar: html-tar
27479 html-tar: \
27480 configure-tar
27481 @: $(MAKE); $(unstage)
27482 @[ -f ./tar/Makefile ] || exit 0; \
27483 r=`${PWD_COMMAND}`; export r; \
27484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27485 $(HOST_EXPORTS) \
27486 for flag in $(EXTRA_HOST_FLAGS) ; do \
27487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27488 done; \
27489 echo "Doing html in tar" ; \
27490 (cd $(HOST_SUBDIR)/tar && \
27491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27493 "RANLIB=$${RANLIB}" \
27494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27495 html) \
27496 || exit 1
27498 @endif tar
27500 .PHONY: maybe-TAGS-tar TAGS-tar
27501 maybe-TAGS-tar:
27502 @if tar
27503 maybe-TAGS-tar: TAGS-tar
27505 TAGS-tar: \
27506 configure-tar
27507 @: $(MAKE); $(unstage)
27508 @[ -f ./tar/Makefile ] || exit 0; \
27509 r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 $(HOST_EXPORTS) \
27512 for flag in $(EXTRA_HOST_FLAGS) ; do \
27513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27514 done; \
27515 echo "Doing TAGS in tar" ; \
27516 (cd $(HOST_SUBDIR)/tar && \
27517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27519 "RANLIB=$${RANLIB}" \
27520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27521 TAGS) \
27522 || exit 1
27524 @endif tar
27526 .PHONY: maybe-install-info-tar install-info-tar
27527 maybe-install-info-tar:
27528 @if tar
27529 maybe-install-info-tar: install-info-tar
27531 install-info-tar: \
27532 configure-tar \
27533 info-tar
27534 @: $(MAKE); $(unstage)
27535 @[ -f ./tar/Makefile ] || exit 0; \
27536 r=`${PWD_COMMAND}`; export r; \
27537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27538 $(HOST_EXPORTS) \
27539 for flag in $(EXTRA_HOST_FLAGS) ; do \
27540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27541 done; \
27542 echo "Doing install-info in tar" ; \
27543 (cd $(HOST_SUBDIR)/tar && \
27544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27546 "RANLIB=$${RANLIB}" \
27547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27548 install-info) \
27549 || exit 1
27551 @endif tar
27553 .PHONY: maybe-install-html-tar install-html-tar
27554 maybe-install-html-tar:
27555 @if tar
27556 maybe-install-html-tar: install-html-tar
27558 install-html-tar: \
27559 configure-tar \
27560 html-tar
27561 @: $(MAKE); $(unstage)
27562 @[ -f ./tar/Makefile ] || exit 0; \
27563 r=`${PWD_COMMAND}`; export r; \
27564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27565 $(HOST_EXPORTS) \
27566 for flag in $(EXTRA_HOST_FLAGS) ; do \
27567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27568 done; \
27569 echo "Doing install-html in tar" ; \
27570 (cd $(HOST_SUBDIR)/tar && \
27571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27573 "RANLIB=$${RANLIB}" \
27574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27575 install-html) \
27576 || exit 1
27578 @endif tar
27580 .PHONY: maybe-installcheck-tar installcheck-tar
27581 maybe-installcheck-tar:
27582 @if tar
27583 maybe-installcheck-tar: installcheck-tar
27585 installcheck-tar: \
27586 configure-tar
27587 @: $(MAKE); $(unstage)
27588 @[ -f ./tar/Makefile ] || exit 0; \
27589 r=`${PWD_COMMAND}`; export r; \
27590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27591 $(HOST_EXPORTS) \
27592 for flag in $(EXTRA_HOST_FLAGS) ; do \
27593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27594 done; \
27595 echo "Doing installcheck in tar" ; \
27596 (cd $(HOST_SUBDIR)/tar && \
27597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27599 "RANLIB=$${RANLIB}" \
27600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27601 installcheck) \
27602 || exit 1
27604 @endif tar
27606 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
27607 maybe-mostlyclean-tar:
27608 @if tar
27609 maybe-mostlyclean-tar: mostlyclean-tar
27611 mostlyclean-tar:
27612 @: $(MAKE); $(unstage)
27613 @[ -f ./tar/Makefile ] || exit 0; \
27614 r=`${PWD_COMMAND}`; export r; \
27615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27616 $(HOST_EXPORTS) \
27617 for flag in $(EXTRA_HOST_FLAGS) ; do \
27618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27619 done; \
27620 echo "Doing mostlyclean in tar" ; \
27621 (cd $(HOST_SUBDIR)/tar && \
27622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27624 "RANLIB=$${RANLIB}" \
27625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27626 mostlyclean) \
27627 || exit 1
27629 @endif tar
27631 .PHONY: maybe-clean-tar clean-tar
27632 maybe-clean-tar:
27633 @if tar
27634 maybe-clean-tar: clean-tar
27636 clean-tar:
27637 @: $(MAKE); $(unstage)
27638 @[ -f ./tar/Makefile ] || exit 0; \
27639 r=`${PWD_COMMAND}`; export r; \
27640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27641 $(HOST_EXPORTS) \
27642 for flag in $(EXTRA_HOST_FLAGS) ; do \
27643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27644 done; \
27645 echo "Doing clean in tar" ; \
27646 (cd $(HOST_SUBDIR)/tar && \
27647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27649 "RANLIB=$${RANLIB}" \
27650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27651 clean) \
27652 || exit 1
27654 @endif tar
27656 .PHONY: maybe-distclean-tar distclean-tar
27657 maybe-distclean-tar:
27658 @if tar
27659 maybe-distclean-tar: distclean-tar
27661 distclean-tar:
27662 @: $(MAKE); $(unstage)
27663 @[ -f ./tar/Makefile ] || exit 0; \
27664 r=`${PWD_COMMAND}`; export r; \
27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27666 $(HOST_EXPORTS) \
27667 for flag in $(EXTRA_HOST_FLAGS) ; do \
27668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27669 done; \
27670 echo "Doing distclean in tar" ; \
27671 (cd $(HOST_SUBDIR)/tar && \
27672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27674 "RANLIB=$${RANLIB}" \
27675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27676 distclean) \
27677 || exit 1
27679 @endif tar
27681 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
27682 maybe-maintainer-clean-tar:
27683 @if tar
27684 maybe-maintainer-clean-tar: maintainer-clean-tar
27686 maintainer-clean-tar:
27687 @: $(MAKE); $(unstage)
27688 @[ -f ./tar/Makefile ] || exit 0; \
27689 r=`${PWD_COMMAND}`; export r; \
27690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27691 $(HOST_EXPORTS) \
27692 for flag in $(EXTRA_HOST_FLAGS) ; do \
27693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27694 done; \
27695 echo "Doing maintainer-clean in tar" ; \
27696 (cd $(HOST_SUBDIR)/tar && \
27697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27699 "RANLIB=$${RANLIB}" \
27700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27701 maintainer-clean) \
27702 || exit 1
27704 @endif tar
27708 .PHONY: configure-texinfo maybe-configure-texinfo
27709 maybe-configure-texinfo:
27710 @if gcc-bootstrap
27711 configure-texinfo: stage_current
27712 @endif gcc-bootstrap
27713 @if texinfo
27714 maybe-configure-texinfo: configure-texinfo
27715 configure-texinfo:
27716 @: $(MAKE); $(unstage)
27717 @r=`${PWD_COMMAND}`; export r; \
27718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27719 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27721 $(HOST_EXPORTS) \
27722 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27723 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27724 case $(srcdir) in \
27725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27726 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27728 esac; \
27729 srcdiroption="--srcdir=$${topdir}/texinfo"; \
27730 libsrcdir="$$s/texinfo"; \
27731 $(SHELL) $${libsrcdir}/configure \
27732 $(HOST_CONFIGARGS) $${srcdiroption} \
27733 || exit 1
27734 @endif texinfo
27740 .PHONY: all-texinfo maybe-all-texinfo
27741 maybe-all-texinfo:
27742 @if gcc-bootstrap
27743 all-texinfo: stage_current
27744 @endif gcc-bootstrap
27745 @if texinfo
27746 TARGET-texinfo=all
27747 maybe-all-texinfo: all-texinfo
27748 all-texinfo: configure-texinfo
27749 @: $(MAKE); $(unstage)
27750 @r=`${PWD_COMMAND}`; export r; \
27751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27752 $(HOST_EXPORTS) \
27753 (cd $(HOST_SUBDIR)/texinfo && \
27754 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
27755 @endif texinfo
27760 .PHONY: check-texinfo maybe-check-texinfo
27761 maybe-check-texinfo:
27762 @if texinfo
27763 maybe-check-texinfo: check-texinfo
27765 check-texinfo:
27766 @: $(MAKE); $(unstage)
27767 @r=`${PWD_COMMAND}`; export r; \
27768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27769 $(HOST_EXPORTS) \
27770 (cd $(HOST_SUBDIR)/texinfo && \
27771 $(MAKE) $(FLAGS_TO_PASS) check)
27773 @endif texinfo
27775 .PHONY: install-texinfo maybe-install-texinfo
27776 maybe-install-texinfo:
27777 @if texinfo
27778 maybe-install-texinfo: install-texinfo
27780 install-texinfo:
27782 @endif texinfo
27784 # Other targets (info, dvi, pdf, etc.)
27786 .PHONY: maybe-info-texinfo info-texinfo
27787 maybe-info-texinfo:
27788 @if texinfo
27789 maybe-info-texinfo: info-texinfo
27791 info-texinfo: \
27792 configure-texinfo
27793 @: $(MAKE); $(unstage)
27794 @[ -f ./texinfo/Makefile ] || exit 0; \
27795 r=`${PWD_COMMAND}`; export r; \
27796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27797 $(HOST_EXPORTS) \
27798 for flag in $(EXTRA_HOST_FLAGS) ; do \
27799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27800 done; \
27801 echo "Doing info in texinfo" ; \
27802 (cd $(HOST_SUBDIR)/texinfo && \
27803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27805 "RANLIB=$${RANLIB}" \
27806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27807 info) \
27808 || exit 1
27810 @endif texinfo
27812 .PHONY: maybe-dvi-texinfo dvi-texinfo
27813 maybe-dvi-texinfo:
27814 @if texinfo
27815 maybe-dvi-texinfo: dvi-texinfo
27817 dvi-texinfo: \
27818 configure-texinfo
27819 @: $(MAKE); $(unstage)
27820 @[ -f ./texinfo/Makefile ] || exit 0; \
27821 r=`${PWD_COMMAND}`; export r; \
27822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27823 $(HOST_EXPORTS) \
27824 for flag in $(EXTRA_HOST_FLAGS) ; do \
27825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27826 done; \
27827 echo "Doing dvi in texinfo" ; \
27828 (cd $(HOST_SUBDIR)/texinfo && \
27829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27831 "RANLIB=$${RANLIB}" \
27832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27833 dvi) \
27834 || exit 1
27836 @endif texinfo
27838 .PHONY: maybe-pdf-texinfo pdf-texinfo
27839 maybe-pdf-texinfo:
27840 @if texinfo
27841 maybe-pdf-texinfo: pdf-texinfo
27843 pdf-texinfo: \
27844 configure-texinfo
27845 @: $(MAKE); $(unstage)
27846 @[ -f ./texinfo/Makefile ] || exit 0; \
27847 r=`${PWD_COMMAND}`; export r; \
27848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27849 $(HOST_EXPORTS) \
27850 for flag in $(EXTRA_HOST_FLAGS) ; do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27852 done; \
27853 echo "Doing pdf in texinfo" ; \
27854 (cd $(HOST_SUBDIR)/texinfo && \
27855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27857 "RANLIB=$${RANLIB}" \
27858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27859 pdf) \
27860 || exit 1
27862 @endif texinfo
27864 .PHONY: maybe-html-texinfo html-texinfo
27865 maybe-html-texinfo:
27866 @if texinfo
27867 maybe-html-texinfo: html-texinfo
27869 html-texinfo: \
27870 configure-texinfo
27871 @: $(MAKE); $(unstage)
27872 @[ -f ./texinfo/Makefile ] || exit 0; \
27873 r=`${PWD_COMMAND}`; export r; \
27874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27875 $(HOST_EXPORTS) \
27876 for flag in $(EXTRA_HOST_FLAGS) ; do \
27877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27878 done; \
27879 echo "Doing html in texinfo" ; \
27880 (cd $(HOST_SUBDIR)/texinfo && \
27881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27883 "RANLIB=$${RANLIB}" \
27884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27885 html) \
27886 || exit 1
27888 @endif texinfo
27890 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27891 maybe-TAGS-texinfo:
27892 @if texinfo
27893 maybe-TAGS-texinfo: TAGS-texinfo
27895 TAGS-texinfo: \
27896 configure-texinfo
27897 @: $(MAKE); $(unstage)
27898 @[ -f ./texinfo/Makefile ] || exit 0; \
27899 r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27901 $(HOST_EXPORTS) \
27902 for flag in $(EXTRA_HOST_FLAGS) ; do \
27903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27904 done; \
27905 echo "Doing TAGS in texinfo" ; \
27906 (cd $(HOST_SUBDIR)/texinfo && \
27907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27909 "RANLIB=$${RANLIB}" \
27910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27911 TAGS) \
27912 || exit 1
27914 @endif texinfo
27916 .PHONY: maybe-install-info-texinfo install-info-texinfo
27917 maybe-install-info-texinfo:
27918 @if texinfo
27919 maybe-install-info-texinfo: install-info-texinfo
27921 install-info-texinfo: \
27922 configure-texinfo \
27923 info-texinfo
27924 @: $(MAKE); $(unstage)
27925 @[ -f ./texinfo/Makefile ] || exit 0; \
27926 r=`${PWD_COMMAND}`; export r; \
27927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27928 $(HOST_EXPORTS) \
27929 for flag in $(EXTRA_HOST_FLAGS) ; do \
27930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27931 done; \
27932 echo "Doing install-info in texinfo" ; \
27933 (cd $(HOST_SUBDIR)/texinfo && \
27934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27936 "RANLIB=$${RANLIB}" \
27937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27938 install-info) \
27939 || exit 1
27941 @endif texinfo
27943 .PHONY: maybe-install-html-texinfo install-html-texinfo
27944 maybe-install-html-texinfo:
27945 @if texinfo
27946 maybe-install-html-texinfo: install-html-texinfo
27948 install-html-texinfo: \
27949 configure-texinfo \
27950 html-texinfo
27951 @: $(MAKE); $(unstage)
27952 @[ -f ./texinfo/Makefile ] || exit 0; \
27953 r=`${PWD_COMMAND}`; export r; \
27954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27955 $(HOST_EXPORTS) \
27956 for flag in $(EXTRA_HOST_FLAGS) ; do \
27957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27958 done; \
27959 echo "Doing install-html in texinfo" ; \
27960 (cd $(HOST_SUBDIR)/texinfo && \
27961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27963 "RANLIB=$${RANLIB}" \
27964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27965 install-html) \
27966 || exit 1
27968 @endif texinfo
27970 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27971 maybe-installcheck-texinfo:
27972 @if texinfo
27973 maybe-installcheck-texinfo: installcheck-texinfo
27975 installcheck-texinfo: \
27976 configure-texinfo
27977 @: $(MAKE); $(unstage)
27978 @[ -f ./texinfo/Makefile ] || exit 0; \
27979 r=`${PWD_COMMAND}`; export r; \
27980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27981 $(HOST_EXPORTS) \
27982 for flag in $(EXTRA_HOST_FLAGS) ; do \
27983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27984 done; \
27985 echo "Doing installcheck in texinfo" ; \
27986 (cd $(HOST_SUBDIR)/texinfo && \
27987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27989 "RANLIB=$${RANLIB}" \
27990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27991 installcheck) \
27992 || exit 1
27994 @endif texinfo
27996 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27997 maybe-mostlyclean-texinfo:
27998 @if texinfo
27999 maybe-mostlyclean-texinfo: mostlyclean-texinfo
28001 mostlyclean-texinfo:
28002 @: $(MAKE); $(unstage)
28003 @[ -f ./texinfo/Makefile ] || exit 0; \
28004 r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(HOST_EXPORTS) \
28007 for flag in $(EXTRA_HOST_FLAGS) ; do \
28008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28009 done; \
28010 echo "Doing mostlyclean in texinfo" ; \
28011 (cd $(HOST_SUBDIR)/texinfo && \
28012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28014 "RANLIB=$${RANLIB}" \
28015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28016 mostlyclean) \
28017 || exit 1
28019 @endif texinfo
28021 .PHONY: maybe-clean-texinfo clean-texinfo
28022 maybe-clean-texinfo:
28023 @if texinfo
28024 maybe-clean-texinfo: clean-texinfo
28026 clean-texinfo:
28027 @: $(MAKE); $(unstage)
28028 @[ -f ./texinfo/Makefile ] || exit 0; \
28029 r=`${PWD_COMMAND}`; export r; \
28030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28031 $(HOST_EXPORTS) \
28032 for flag in $(EXTRA_HOST_FLAGS) ; do \
28033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28034 done; \
28035 echo "Doing clean in texinfo" ; \
28036 (cd $(HOST_SUBDIR)/texinfo && \
28037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28039 "RANLIB=$${RANLIB}" \
28040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28041 clean) \
28042 || exit 1
28044 @endif texinfo
28046 .PHONY: maybe-distclean-texinfo distclean-texinfo
28047 maybe-distclean-texinfo:
28048 @if texinfo
28049 maybe-distclean-texinfo: distclean-texinfo
28051 distclean-texinfo:
28052 @: $(MAKE); $(unstage)
28053 @[ -f ./texinfo/Makefile ] || exit 0; \
28054 r=`${PWD_COMMAND}`; export r; \
28055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28056 $(HOST_EXPORTS) \
28057 for flag in $(EXTRA_HOST_FLAGS) ; do \
28058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28059 done; \
28060 echo "Doing distclean in texinfo" ; \
28061 (cd $(HOST_SUBDIR)/texinfo && \
28062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28064 "RANLIB=$${RANLIB}" \
28065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28066 distclean) \
28067 || exit 1
28069 @endif texinfo
28071 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
28072 maybe-maintainer-clean-texinfo:
28073 @if texinfo
28074 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
28076 maintainer-clean-texinfo:
28077 @: $(MAKE); $(unstage)
28078 @[ -f ./texinfo/Makefile ] || exit 0; \
28079 r=`${PWD_COMMAND}`; export r; \
28080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28081 $(HOST_EXPORTS) \
28082 for flag in $(EXTRA_HOST_FLAGS) ; do \
28083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28084 done; \
28085 echo "Doing maintainer-clean in texinfo" ; \
28086 (cd $(HOST_SUBDIR)/texinfo && \
28087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28089 "RANLIB=$${RANLIB}" \
28090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28091 maintainer-clean) \
28092 || exit 1
28094 @endif texinfo
28098 .PHONY: configure-textutils maybe-configure-textutils
28099 maybe-configure-textutils:
28100 @if gcc-bootstrap
28101 configure-textutils: stage_current
28102 @endif gcc-bootstrap
28103 @if textutils
28104 maybe-configure-textutils: configure-textutils
28105 configure-textutils:
28106 @: $(MAKE); $(unstage)
28107 @r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
28110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
28111 $(HOST_EXPORTS) \
28112 echo Configuring in $(HOST_SUBDIR)/textutils; \
28113 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
28114 case $(srcdir) in \
28115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28116 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
28117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28118 esac; \
28119 srcdiroption="--srcdir=$${topdir}/textutils"; \
28120 libsrcdir="$$s/textutils"; \
28121 $(SHELL) $${libsrcdir}/configure \
28122 $(HOST_CONFIGARGS) $${srcdiroption} \
28123 || exit 1
28124 @endif textutils
28130 .PHONY: all-textutils maybe-all-textutils
28131 maybe-all-textutils:
28132 @if gcc-bootstrap
28133 all-textutils: stage_current
28134 @endif gcc-bootstrap
28135 @if textutils
28136 TARGET-textutils=all
28137 maybe-all-textutils: all-textutils
28138 all-textutils: configure-textutils
28139 @: $(MAKE); $(unstage)
28140 @r=`${PWD_COMMAND}`; export r; \
28141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28142 $(HOST_EXPORTS) \
28143 (cd $(HOST_SUBDIR)/textutils && \
28144 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
28145 @endif textutils
28150 .PHONY: check-textutils maybe-check-textutils
28151 maybe-check-textutils:
28152 @if textutils
28153 maybe-check-textutils: check-textutils
28155 check-textutils:
28156 @: $(MAKE); $(unstage)
28157 @r=`${PWD_COMMAND}`; export r; \
28158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28159 $(HOST_EXPORTS) \
28160 (cd $(HOST_SUBDIR)/textutils && \
28161 $(MAKE) $(FLAGS_TO_PASS) check)
28163 @endif textutils
28165 .PHONY: install-textutils maybe-install-textutils
28166 maybe-install-textutils:
28167 @if textutils
28168 maybe-install-textutils: install-textutils
28170 install-textutils: installdirs
28171 @: $(MAKE); $(unstage)
28172 @r=`${PWD_COMMAND}`; export r; \
28173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28174 $(HOST_EXPORTS) \
28175 (cd $(HOST_SUBDIR)/textutils && \
28176 $(MAKE) $(FLAGS_TO_PASS) install)
28178 @endif textutils
28180 # Other targets (info, dvi, pdf, etc.)
28182 .PHONY: maybe-info-textutils info-textutils
28183 maybe-info-textutils:
28184 @if textutils
28185 maybe-info-textutils: info-textutils
28187 info-textutils: \
28188 configure-textutils
28189 @: $(MAKE); $(unstage)
28190 @[ -f ./textutils/Makefile ] || exit 0; \
28191 r=`${PWD_COMMAND}`; export r; \
28192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28193 $(HOST_EXPORTS) \
28194 for flag in $(EXTRA_HOST_FLAGS) ; do \
28195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28196 done; \
28197 echo "Doing info in textutils" ; \
28198 (cd $(HOST_SUBDIR)/textutils && \
28199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28201 "RANLIB=$${RANLIB}" \
28202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28203 info) \
28204 || exit 1
28206 @endif textutils
28208 .PHONY: maybe-dvi-textutils dvi-textutils
28209 maybe-dvi-textutils:
28210 @if textutils
28211 maybe-dvi-textutils: dvi-textutils
28213 dvi-textutils: \
28214 configure-textutils
28215 @: $(MAKE); $(unstage)
28216 @[ -f ./textutils/Makefile ] || exit 0; \
28217 r=`${PWD_COMMAND}`; export r; \
28218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28219 $(HOST_EXPORTS) \
28220 for flag in $(EXTRA_HOST_FLAGS) ; do \
28221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28222 done; \
28223 echo "Doing dvi in textutils" ; \
28224 (cd $(HOST_SUBDIR)/textutils && \
28225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28227 "RANLIB=$${RANLIB}" \
28228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28229 dvi) \
28230 || exit 1
28232 @endif textutils
28234 .PHONY: maybe-pdf-textutils pdf-textutils
28235 maybe-pdf-textutils:
28236 @if textutils
28237 maybe-pdf-textutils: pdf-textutils
28239 pdf-textutils: \
28240 configure-textutils
28241 @: $(MAKE); $(unstage)
28242 @[ -f ./textutils/Makefile ] || exit 0; \
28243 r=`${PWD_COMMAND}`; export r; \
28244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28245 $(HOST_EXPORTS) \
28246 for flag in $(EXTRA_HOST_FLAGS) ; do \
28247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28248 done; \
28249 echo "Doing pdf in textutils" ; \
28250 (cd $(HOST_SUBDIR)/textutils && \
28251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28253 "RANLIB=$${RANLIB}" \
28254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28255 pdf) \
28256 || exit 1
28258 @endif textutils
28260 .PHONY: maybe-html-textutils html-textutils
28261 maybe-html-textutils:
28262 @if textutils
28263 maybe-html-textutils: html-textutils
28265 html-textutils: \
28266 configure-textutils
28267 @: $(MAKE); $(unstage)
28268 @[ -f ./textutils/Makefile ] || exit 0; \
28269 r=`${PWD_COMMAND}`; export r; \
28270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28271 $(HOST_EXPORTS) \
28272 for flag in $(EXTRA_HOST_FLAGS) ; do \
28273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28274 done; \
28275 echo "Doing html in textutils" ; \
28276 (cd $(HOST_SUBDIR)/textutils && \
28277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28279 "RANLIB=$${RANLIB}" \
28280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28281 html) \
28282 || exit 1
28284 @endif textutils
28286 .PHONY: maybe-TAGS-textutils TAGS-textutils
28287 maybe-TAGS-textutils:
28288 @if textutils
28289 maybe-TAGS-textutils: TAGS-textutils
28291 TAGS-textutils: \
28292 configure-textutils
28293 @: $(MAKE); $(unstage)
28294 @[ -f ./textutils/Makefile ] || exit 0; \
28295 r=`${PWD_COMMAND}`; export r; \
28296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28297 $(HOST_EXPORTS) \
28298 for flag in $(EXTRA_HOST_FLAGS) ; do \
28299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28300 done; \
28301 echo "Doing TAGS in textutils" ; \
28302 (cd $(HOST_SUBDIR)/textutils && \
28303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28305 "RANLIB=$${RANLIB}" \
28306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28307 TAGS) \
28308 || exit 1
28310 @endif textutils
28312 .PHONY: maybe-install-info-textutils install-info-textutils
28313 maybe-install-info-textutils:
28314 @if textutils
28315 maybe-install-info-textutils: install-info-textutils
28317 install-info-textutils: \
28318 configure-textutils \
28319 info-textutils
28320 @: $(MAKE); $(unstage)
28321 @[ -f ./textutils/Makefile ] || exit 0; \
28322 r=`${PWD_COMMAND}`; export r; \
28323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28324 $(HOST_EXPORTS) \
28325 for flag in $(EXTRA_HOST_FLAGS) ; do \
28326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28327 done; \
28328 echo "Doing install-info in textutils" ; \
28329 (cd $(HOST_SUBDIR)/textutils && \
28330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28332 "RANLIB=$${RANLIB}" \
28333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28334 install-info) \
28335 || exit 1
28337 @endif textutils
28339 .PHONY: maybe-install-html-textutils install-html-textutils
28340 maybe-install-html-textutils:
28341 @if textutils
28342 maybe-install-html-textutils: install-html-textutils
28344 install-html-textutils: \
28345 configure-textutils \
28346 html-textutils
28347 @: $(MAKE); $(unstage)
28348 @[ -f ./textutils/Makefile ] || exit 0; \
28349 r=`${PWD_COMMAND}`; export r; \
28350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28351 $(HOST_EXPORTS) \
28352 for flag in $(EXTRA_HOST_FLAGS) ; do \
28353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28354 done; \
28355 echo "Doing install-html in textutils" ; \
28356 (cd $(HOST_SUBDIR)/textutils && \
28357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28359 "RANLIB=$${RANLIB}" \
28360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28361 install-html) \
28362 || exit 1
28364 @endif textutils
28366 .PHONY: maybe-installcheck-textutils installcheck-textutils
28367 maybe-installcheck-textutils:
28368 @if textutils
28369 maybe-installcheck-textutils: installcheck-textutils
28371 installcheck-textutils: \
28372 configure-textutils
28373 @: $(MAKE); $(unstage)
28374 @[ -f ./textutils/Makefile ] || exit 0; \
28375 r=`${PWD_COMMAND}`; export r; \
28376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28377 $(HOST_EXPORTS) \
28378 for flag in $(EXTRA_HOST_FLAGS) ; do \
28379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28380 done; \
28381 echo "Doing installcheck in textutils" ; \
28382 (cd $(HOST_SUBDIR)/textutils && \
28383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28385 "RANLIB=$${RANLIB}" \
28386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28387 installcheck) \
28388 || exit 1
28390 @endif textutils
28392 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
28393 maybe-mostlyclean-textutils:
28394 @if textutils
28395 maybe-mostlyclean-textutils: mostlyclean-textutils
28397 mostlyclean-textutils:
28398 @: $(MAKE); $(unstage)
28399 @[ -f ./textutils/Makefile ] || exit 0; \
28400 r=`${PWD_COMMAND}`; export r; \
28401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28402 $(HOST_EXPORTS) \
28403 for flag in $(EXTRA_HOST_FLAGS) ; do \
28404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28405 done; \
28406 echo "Doing mostlyclean in textutils" ; \
28407 (cd $(HOST_SUBDIR)/textutils && \
28408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28410 "RANLIB=$${RANLIB}" \
28411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28412 mostlyclean) \
28413 || exit 1
28415 @endif textutils
28417 .PHONY: maybe-clean-textutils clean-textutils
28418 maybe-clean-textutils:
28419 @if textutils
28420 maybe-clean-textutils: clean-textutils
28422 clean-textutils:
28423 @: $(MAKE); $(unstage)
28424 @[ -f ./textutils/Makefile ] || exit 0; \
28425 r=`${PWD_COMMAND}`; export r; \
28426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28427 $(HOST_EXPORTS) \
28428 for flag in $(EXTRA_HOST_FLAGS) ; do \
28429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28430 done; \
28431 echo "Doing clean in textutils" ; \
28432 (cd $(HOST_SUBDIR)/textutils && \
28433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28435 "RANLIB=$${RANLIB}" \
28436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28437 clean) \
28438 || exit 1
28440 @endif textutils
28442 .PHONY: maybe-distclean-textutils distclean-textutils
28443 maybe-distclean-textutils:
28444 @if textutils
28445 maybe-distclean-textutils: distclean-textutils
28447 distclean-textutils:
28448 @: $(MAKE); $(unstage)
28449 @[ -f ./textutils/Makefile ] || exit 0; \
28450 r=`${PWD_COMMAND}`; export r; \
28451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28452 $(HOST_EXPORTS) \
28453 for flag in $(EXTRA_HOST_FLAGS) ; do \
28454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28455 done; \
28456 echo "Doing distclean in textutils" ; \
28457 (cd $(HOST_SUBDIR)/textutils && \
28458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28460 "RANLIB=$${RANLIB}" \
28461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28462 distclean) \
28463 || exit 1
28465 @endif textutils
28467 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
28468 maybe-maintainer-clean-textutils:
28469 @if textutils
28470 maybe-maintainer-clean-textutils: maintainer-clean-textutils
28472 maintainer-clean-textutils:
28473 @: $(MAKE); $(unstage)
28474 @[ -f ./textutils/Makefile ] || exit 0; \
28475 r=`${PWD_COMMAND}`; export r; \
28476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28477 $(HOST_EXPORTS) \
28478 for flag in $(EXTRA_HOST_FLAGS) ; do \
28479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28480 done; \
28481 echo "Doing maintainer-clean in textutils" ; \
28482 (cd $(HOST_SUBDIR)/textutils && \
28483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28485 "RANLIB=$${RANLIB}" \
28486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28487 maintainer-clean) \
28488 || exit 1
28490 @endif textutils
28494 .PHONY: configure-time maybe-configure-time
28495 maybe-configure-time:
28496 @if gcc-bootstrap
28497 configure-time: stage_current
28498 @endif gcc-bootstrap
28499 @if time
28500 maybe-configure-time: configure-time
28501 configure-time:
28502 @: $(MAKE); $(unstage)
28503 @r=`${PWD_COMMAND}`; export r; \
28504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28505 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
28506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
28507 $(HOST_EXPORTS) \
28508 echo Configuring in $(HOST_SUBDIR)/time; \
28509 cd "$(HOST_SUBDIR)/time" || exit 1; \
28510 case $(srcdir) in \
28511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28512 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
28513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28514 esac; \
28515 srcdiroption="--srcdir=$${topdir}/time"; \
28516 libsrcdir="$$s/time"; \
28517 $(SHELL) $${libsrcdir}/configure \
28518 $(HOST_CONFIGARGS) $${srcdiroption} \
28519 || exit 1
28520 @endif time
28526 .PHONY: all-time maybe-all-time
28527 maybe-all-time:
28528 @if gcc-bootstrap
28529 all-time: stage_current
28530 @endif gcc-bootstrap
28531 @if time
28532 TARGET-time=all
28533 maybe-all-time: all-time
28534 all-time: configure-time
28535 @: $(MAKE); $(unstage)
28536 @r=`${PWD_COMMAND}`; export r; \
28537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28538 $(HOST_EXPORTS) \
28539 (cd $(HOST_SUBDIR)/time && \
28540 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
28541 @endif time
28546 .PHONY: check-time maybe-check-time
28547 maybe-check-time:
28548 @if time
28549 maybe-check-time: check-time
28551 check-time:
28552 @: $(MAKE); $(unstage)
28553 @r=`${PWD_COMMAND}`; export r; \
28554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28555 $(HOST_EXPORTS) \
28556 (cd $(HOST_SUBDIR)/time && \
28557 $(MAKE) $(FLAGS_TO_PASS) check)
28559 @endif time
28561 .PHONY: install-time maybe-install-time
28562 maybe-install-time:
28563 @if time
28564 maybe-install-time: install-time
28566 install-time: installdirs
28567 @: $(MAKE); $(unstage)
28568 @r=`${PWD_COMMAND}`; export r; \
28569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28570 $(HOST_EXPORTS) \
28571 (cd $(HOST_SUBDIR)/time && \
28572 $(MAKE) $(FLAGS_TO_PASS) install)
28574 @endif time
28576 # Other targets (info, dvi, pdf, etc.)
28578 .PHONY: maybe-info-time info-time
28579 maybe-info-time:
28580 @if time
28581 maybe-info-time: info-time
28583 info-time: \
28584 configure-time
28585 @: $(MAKE); $(unstage)
28586 @[ -f ./time/Makefile ] || exit 0; \
28587 r=`${PWD_COMMAND}`; export r; \
28588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28589 $(HOST_EXPORTS) \
28590 for flag in $(EXTRA_HOST_FLAGS) ; do \
28591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28592 done; \
28593 echo "Doing info in time" ; \
28594 (cd $(HOST_SUBDIR)/time && \
28595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28597 "RANLIB=$${RANLIB}" \
28598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28599 info) \
28600 || exit 1
28602 @endif time
28604 .PHONY: maybe-dvi-time dvi-time
28605 maybe-dvi-time:
28606 @if time
28607 maybe-dvi-time: dvi-time
28609 dvi-time: \
28610 configure-time
28611 @: $(MAKE); $(unstage)
28612 @[ -f ./time/Makefile ] || exit 0; \
28613 r=`${PWD_COMMAND}`; export r; \
28614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28615 $(HOST_EXPORTS) \
28616 for flag in $(EXTRA_HOST_FLAGS) ; do \
28617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28618 done; \
28619 echo "Doing dvi in time" ; \
28620 (cd $(HOST_SUBDIR)/time && \
28621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28623 "RANLIB=$${RANLIB}" \
28624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28625 dvi) \
28626 || exit 1
28628 @endif time
28630 .PHONY: maybe-pdf-time pdf-time
28631 maybe-pdf-time:
28632 @if time
28633 maybe-pdf-time: pdf-time
28635 pdf-time: \
28636 configure-time
28637 @: $(MAKE); $(unstage)
28638 @[ -f ./time/Makefile ] || exit 0; \
28639 r=`${PWD_COMMAND}`; export r; \
28640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28641 $(HOST_EXPORTS) \
28642 for flag in $(EXTRA_HOST_FLAGS) ; do \
28643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28644 done; \
28645 echo "Doing pdf in time" ; \
28646 (cd $(HOST_SUBDIR)/time && \
28647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28649 "RANLIB=$${RANLIB}" \
28650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28651 pdf) \
28652 || exit 1
28654 @endif time
28656 .PHONY: maybe-html-time html-time
28657 maybe-html-time:
28658 @if time
28659 maybe-html-time: html-time
28661 html-time: \
28662 configure-time
28663 @: $(MAKE); $(unstage)
28664 @[ -f ./time/Makefile ] || exit 0; \
28665 r=`${PWD_COMMAND}`; export r; \
28666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28667 $(HOST_EXPORTS) \
28668 for flag in $(EXTRA_HOST_FLAGS) ; do \
28669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28670 done; \
28671 echo "Doing html in time" ; \
28672 (cd $(HOST_SUBDIR)/time && \
28673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28675 "RANLIB=$${RANLIB}" \
28676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28677 html) \
28678 || exit 1
28680 @endif time
28682 .PHONY: maybe-TAGS-time TAGS-time
28683 maybe-TAGS-time:
28684 @if time
28685 maybe-TAGS-time: TAGS-time
28687 TAGS-time: \
28688 configure-time
28689 @: $(MAKE); $(unstage)
28690 @[ -f ./time/Makefile ] || exit 0; \
28691 r=`${PWD_COMMAND}`; export r; \
28692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28693 $(HOST_EXPORTS) \
28694 for flag in $(EXTRA_HOST_FLAGS) ; do \
28695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28696 done; \
28697 echo "Doing TAGS in time" ; \
28698 (cd $(HOST_SUBDIR)/time && \
28699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28701 "RANLIB=$${RANLIB}" \
28702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28703 TAGS) \
28704 || exit 1
28706 @endif time
28708 .PHONY: maybe-install-info-time install-info-time
28709 maybe-install-info-time:
28710 @if time
28711 maybe-install-info-time: install-info-time
28713 install-info-time: \
28714 configure-time \
28715 info-time
28716 @: $(MAKE); $(unstage)
28717 @[ -f ./time/Makefile ] || exit 0; \
28718 r=`${PWD_COMMAND}`; export r; \
28719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28720 $(HOST_EXPORTS) \
28721 for flag in $(EXTRA_HOST_FLAGS) ; do \
28722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28723 done; \
28724 echo "Doing install-info in time" ; \
28725 (cd $(HOST_SUBDIR)/time && \
28726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28728 "RANLIB=$${RANLIB}" \
28729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28730 install-info) \
28731 || exit 1
28733 @endif time
28735 .PHONY: maybe-install-html-time install-html-time
28736 maybe-install-html-time:
28737 @if time
28738 maybe-install-html-time: install-html-time
28740 install-html-time: \
28741 configure-time \
28742 html-time
28743 @: $(MAKE); $(unstage)
28744 @[ -f ./time/Makefile ] || exit 0; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28747 $(HOST_EXPORTS) \
28748 for flag in $(EXTRA_HOST_FLAGS) ; do \
28749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28750 done; \
28751 echo "Doing install-html in time" ; \
28752 (cd $(HOST_SUBDIR)/time && \
28753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28755 "RANLIB=$${RANLIB}" \
28756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28757 install-html) \
28758 || exit 1
28760 @endif time
28762 .PHONY: maybe-installcheck-time installcheck-time
28763 maybe-installcheck-time:
28764 @if time
28765 maybe-installcheck-time: installcheck-time
28767 installcheck-time: \
28768 configure-time
28769 @: $(MAKE); $(unstage)
28770 @[ -f ./time/Makefile ] || exit 0; \
28771 r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28773 $(HOST_EXPORTS) \
28774 for flag in $(EXTRA_HOST_FLAGS) ; do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28776 done; \
28777 echo "Doing installcheck in time" ; \
28778 (cd $(HOST_SUBDIR)/time && \
28779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28781 "RANLIB=$${RANLIB}" \
28782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28783 installcheck) \
28784 || exit 1
28786 @endif time
28788 .PHONY: maybe-mostlyclean-time mostlyclean-time
28789 maybe-mostlyclean-time:
28790 @if time
28791 maybe-mostlyclean-time: mostlyclean-time
28793 mostlyclean-time:
28794 @: $(MAKE); $(unstage)
28795 @[ -f ./time/Makefile ] || exit 0; \
28796 r=`${PWD_COMMAND}`; export r; \
28797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28798 $(HOST_EXPORTS) \
28799 for flag in $(EXTRA_HOST_FLAGS) ; do \
28800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28801 done; \
28802 echo "Doing mostlyclean in time" ; \
28803 (cd $(HOST_SUBDIR)/time && \
28804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28806 "RANLIB=$${RANLIB}" \
28807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28808 mostlyclean) \
28809 || exit 1
28811 @endif time
28813 .PHONY: maybe-clean-time clean-time
28814 maybe-clean-time:
28815 @if time
28816 maybe-clean-time: clean-time
28818 clean-time:
28819 @: $(MAKE); $(unstage)
28820 @[ -f ./time/Makefile ] || exit 0; \
28821 r=`${PWD_COMMAND}`; export r; \
28822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28823 $(HOST_EXPORTS) \
28824 for flag in $(EXTRA_HOST_FLAGS) ; do \
28825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28826 done; \
28827 echo "Doing clean in time" ; \
28828 (cd $(HOST_SUBDIR)/time && \
28829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28831 "RANLIB=$${RANLIB}" \
28832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28833 clean) \
28834 || exit 1
28836 @endif time
28838 .PHONY: maybe-distclean-time distclean-time
28839 maybe-distclean-time:
28840 @if time
28841 maybe-distclean-time: distclean-time
28843 distclean-time:
28844 @: $(MAKE); $(unstage)
28845 @[ -f ./time/Makefile ] || exit 0; \
28846 r=`${PWD_COMMAND}`; export r; \
28847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28848 $(HOST_EXPORTS) \
28849 for flag in $(EXTRA_HOST_FLAGS) ; do \
28850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28851 done; \
28852 echo "Doing distclean in time" ; \
28853 (cd $(HOST_SUBDIR)/time && \
28854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28856 "RANLIB=$${RANLIB}" \
28857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28858 distclean) \
28859 || exit 1
28861 @endif time
28863 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
28864 maybe-maintainer-clean-time:
28865 @if time
28866 maybe-maintainer-clean-time: maintainer-clean-time
28868 maintainer-clean-time:
28869 @: $(MAKE); $(unstage)
28870 @[ -f ./time/Makefile ] || exit 0; \
28871 r=`${PWD_COMMAND}`; export r; \
28872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28873 $(HOST_EXPORTS) \
28874 for flag in $(EXTRA_HOST_FLAGS) ; do \
28875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28876 done; \
28877 echo "Doing maintainer-clean in time" ; \
28878 (cd $(HOST_SUBDIR)/time && \
28879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28881 "RANLIB=$${RANLIB}" \
28882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28883 maintainer-clean) \
28884 || exit 1
28886 @endif time
28890 .PHONY: configure-uudecode maybe-configure-uudecode
28891 maybe-configure-uudecode:
28892 @if gcc-bootstrap
28893 configure-uudecode: stage_current
28894 @endif gcc-bootstrap
28895 @if uudecode
28896 maybe-configure-uudecode: configure-uudecode
28897 configure-uudecode:
28898 @: $(MAKE); $(unstage)
28899 @r=`${PWD_COMMAND}`; export r; \
28900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28901 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
28902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
28903 $(HOST_EXPORTS) \
28904 echo Configuring in $(HOST_SUBDIR)/uudecode; \
28905 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
28906 case $(srcdir) in \
28907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28908 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
28909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28910 esac; \
28911 srcdiroption="--srcdir=$${topdir}/uudecode"; \
28912 libsrcdir="$$s/uudecode"; \
28913 $(SHELL) $${libsrcdir}/configure \
28914 $(HOST_CONFIGARGS) $${srcdiroption} \
28915 || exit 1
28916 @endif uudecode
28922 .PHONY: all-uudecode maybe-all-uudecode
28923 maybe-all-uudecode:
28924 @if gcc-bootstrap
28925 all-uudecode: stage_current
28926 @endif gcc-bootstrap
28927 @if uudecode
28928 TARGET-uudecode=all
28929 maybe-all-uudecode: all-uudecode
28930 all-uudecode: configure-uudecode
28931 @: $(MAKE); $(unstage)
28932 @r=`${PWD_COMMAND}`; export r; \
28933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28934 $(HOST_EXPORTS) \
28935 (cd $(HOST_SUBDIR)/uudecode && \
28936 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
28937 @endif uudecode
28942 .PHONY: check-uudecode maybe-check-uudecode
28943 maybe-check-uudecode:
28944 @if uudecode
28945 maybe-check-uudecode: check-uudecode
28947 check-uudecode:
28948 @: $(MAKE); $(unstage)
28949 @r=`${PWD_COMMAND}`; export r; \
28950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28951 $(HOST_EXPORTS) \
28952 (cd $(HOST_SUBDIR)/uudecode && \
28953 $(MAKE) $(FLAGS_TO_PASS) check)
28955 @endif uudecode
28957 .PHONY: install-uudecode maybe-install-uudecode
28958 maybe-install-uudecode:
28959 @if uudecode
28960 maybe-install-uudecode: install-uudecode
28962 install-uudecode: installdirs
28963 @: $(MAKE); $(unstage)
28964 @r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 $(HOST_EXPORTS) \
28967 (cd $(HOST_SUBDIR)/uudecode && \
28968 $(MAKE) $(FLAGS_TO_PASS) install)
28970 @endif uudecode
28972 # Other targets (info, dvi, pdf, etc.)
28974 .PHONY: maybe-info-uudecode info-uudecode
28975 maybe-info-uudecode:
28976 @if uudecode
28977 maybe-info-uudecode: info-uudecode
28979 info-uudecode: \
28980 configure-uudecode
28981 @: $(MAKE); $(unstage)
28982 @[ -f ./uudecode/Makefile ] || exit 0; \
28983 r=`${PWD_COMMAND}`; export r; \
28984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28985 $(HOST_EXPORTS) \
28986 for flag in $(EXTRA_HOST_FLAGS) ; do \
28987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28988 done; \
28989 echo "Doing info in uudecode" ; \
28990 (cd $(HOST_SUBDIR)/uudecode && \
28991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28993 "RANLIB=$${RANLIB}" \
28994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28995 info) \
28996 || exit 1
28998 @endif uudecode
29000 .PHONY: maybe-dvi-uudecode dvi-uudecode
29001 maybe-dvi-uudecode:
29002 @if uudecode
29003 maybe-dvi-uudecode: dvi-uudecode
29005 dvi-uudecode: \
29006 configure-uudecode
29007 @: $(MAKE); $(unstage)
29008 @[ -f ./uudecode/Makefile ] || exit 0; \
29009 r=`${PWD_COMMAND}`; export r; \
29010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29011 $(HOST_EXPORTS) \
29012 for flag in $(EXTRA_HOST_FLAGS) ; do \
29013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29014 done; \
29015 echo "Doing dvi in uudecode" ; \
29016 (cd $(HOST_SUBDIR)/uudecode && \
29017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29019 "RANLIB=$${RANLIB}" \
29020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29021 dvi) \
29022 || exit 1
29024 @endif uudecode
29026 .PHONY: maybe-pdf-uudecode pdf-uudecode
29027 maybe-pdf-uudecode:
29028 @if uudecode
29029 maybe-pdf-uudecode: pdf-uudecode
29031 pdf-uudecode: \
29032 configure-uudecode
29033 @: $(MAKE); $(unstage)
29034 @[ -f ./uudecode/Makefile ] || exit 0; \
29035 r=`${PWD_COMMAND}`; export r; \
29036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29037 $(HOST_EXPORTS) \
29038 for flag in $(EXTRA_HOST_FLAGS) ; do \
29039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29040 done; \
29041 echo "Doing pdf in uudecode" ; \
29042 (cd $(HOST_SUBDIR)/uudecode && \
29043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29045 "RANLIB=$${RANLIB}" \
29046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29047 pdf) \
29048 || exit 1
29050 @endif uudecode
29052 .PHONY: maybe-html-uudecode html-uudecode
29053 maybe-html-uudecode:
29054 @if uudecode
29055 maybe-html-uudecode: html-uudecode
29057 html-uudecode: \
29058 configure-uudecode
29059 @: $(MAKE); $(unstage)
29060 @[ -f ./uudecode/Makefile ] || exit 0; \
29061 r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29063 $(HOST_EXPORTS) \
29064 for flag in $(EXTRA_HOST_FLAGS) ; do \
29065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29066 done; \
29067 echo "Doing html in uudecode" ; \
29068 (cd $(HOST_SUBDIR)/uudecode && \
29069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29071 "RANLIB=$${RANLIB}" \
29072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29073 html) \
29074 || exit 1
29076 @endif uudecode
29078 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
29079 maybe-TAGS-uudecode:
29080 @if uudecode
29081 maybe-TAGS-uudecode: TAGS-uudecode
29083 TAGS-uudecode: \
29084 configure-uudecode
29085 @: $(MAKE); $(unstage)
29086 @[ -f ./uudecode/Makefile ] || exit 0; \
29087 r=`${PWD_COMMAND}`; export r; \
29088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29089 $(HOST_EXPORTS) \
29090 for flag in $(EXTRA_HOST_FLAGS) ; do \
29091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29092 done; \
29093 echo "Doing TAGS in uudecode" ; \
29094 (cd $(HOST_SUBDIR)/uudecode && \
29095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29097 "RANLIB=$${RANLIB}" \
29098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29099 TAGS) \
29100 || exit 1
29102 @endif uudecode
29104 .PHONY: maybe-install-info-uudecode install-info-uudecode
29105 maybe-install-info-uudecode:
29106 @if uudecode
29107 maybe-install-info-uudecode: install-info-uudecode
29109 install-info-uudecode: \
29110 configure-uudecode \
29111 info-uudecode
29112 @: $(MAKE); $(unstage)
29113 @[ -f ./uudecode/Makefile ] || exit 0; \
29114 r=`${PWD_COMMAND}`; export r; \
29115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29116 $(HOST_EXPORTS) \
29117 for flag in $(EXTRA_HOST_FLAGS) ; do \
29118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29119 done; \
29120 echo "Doing install-info in uudecode" ; \
29121 (cd $(HOST_SUBDIR)/uudecode && \
29122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29124 "RANLIB=$${RANLIB}" \
29125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29126 install-info) \
29127 || exit 1
29129 @endif uudecode
29131 .PHONY: maybe-install-html-uudecode install-html-uudecode
29132 maybe-install-html-uudecode:
29133 @if uudecode
29134 maybe-install-html-uudecode: install-html-uudecode
29136 install-html-uudecode: \
29137 configure-uudecode \
29138 html-uudecode
29139 @: $(MAKE); $(unstage)
29140 @[ -f ./uudecode/Makefile ] || exit 0; \
29141 r=`${PWD_COMMAND}`; export r; \
29142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29143 $(HOST_EXPORTS) \
29144 for flag in $(EXTRA_HOST_FLAGS) ; do \
29145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29146 done; \
29147 echo "Doing install-html in uudecode" ; \
29148 (cd $(HOST_SUBDIR)/uudecode && \
29149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29151 "RANLIB=$${RANLIB}" \
29152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29153 install-html) \
29154 || exit 1
29156 @endif uudecode
29158 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
29159 maybe-installcheck-uudecode:
29160 @if uudecode
29161 maybe-installcheck-uudecode: installcheck-uudecode
29163 installcheck-uudecode: \
29164 configure-uudecode
29165 @: $(MAKE); $(unstage)
29166 @[ -f ./uudecode/Makefile ] || exit 0; \
29167 r=`${PWD_COMMAND}`; export r; \
29168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29169 $(HOST_EXPORTS) \
29170 for flag in $(EXTRA_HOST_FLAGS) ; do \
29171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29172 done; \
29173 echo "Doing installcheck in uudecode" ; \
29174 (cd $(HOST_SUBDIR)/uudecode && \
29175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29177 "RANLIB=$${RANLIB}" \
29178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29179 installcheck) \
29180 || exit 1
29182 @endif uudecode
29184 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
29185 maybe-mostlyclean-uudecode:
29186 @if uudecode
29187 maybe-mostlyclean-uudecode: mostlyclean-uudecode
29189 mostlyclean-uudecode:
29190 @: $(MAKE); $(unstage)
29191 @[ -f ./uudecode/Makefile ] || exit 0; \
29192 r=`${PWD_COMMAND}`; export r; \
29193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29194 $(HOST_EXPORTS) \
29195 for flag in $(EXTRA_HOST_FLAGS) ; do \
29196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29197 done; \
29198 echo "Doing mostlyclean in uudecode" ; \
29199 (cd $(HOST_SUBDIR)/uudecode && \
29200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29202 "RANLIB=$${RANLIB}" \
29203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29204 mostlyclean) \
29205 || exit 1
29207 @endif uudecode
29209 .PHONY: maybe-clean-uudecode clean-uudecode
29210 maybe-clean-uudecode:
29211 @if uudecode
29212 maybe-clean-uudecode: clean-uudecode
29214 clean-uudecode:
29215 @: $(MAKE); $(unstage)
29216 @[ -f ./uudecode/Makefile ] || exit 0; \
29217 r=`${PWD_COMMAND}`; export r; \
29218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29219 $(HOST_EXPORTS) \
29220 for flag in $(EXTRA_HOST_FLAGS) ; do \
29221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29222 done; \
29223 echo "Doing clean in uudecode" ; \
29224 (cd $(HOST_SUBDIR)/uudecode && \
29225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29227 "RANLIB=$${RANLIB}" \
29228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29229 clean) \
29230 || exit 1
29232 @endif uudecode
29234 .PHONY: maybe-distclean-uudecode distclean-uudecode
29235 maybe-distclean-uudecode:
29236 @if uudecode
29237 maybe-distclean-uudecode: distclean-uudecode
29239 distclean-uudecode:
29240 @: $(MAKE); $(unstage)
29241 @[ -f ./uudecode/Makefile ] || exit 0; \
29242 r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 $(HOST_EXPORTS) \
29245 for flag in $(EXTRA_HOST_FLAGS) ; do \
29246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29247 done; \
29248 echo "Doing distclean in uudecode" ; \
29249 (cd $(HOST_SUBDIR)/uudecode && \
29250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29252 "RANLIB=$${RANLIB}" \
29253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29254 distclean) \
29255 || exit 1
29257 @endif uudecode
29259 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
29260 maybe-maintainer-clean-uudecode:
29261 @if uudecode
29262 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
29264 maintainer-clean-uudecode:
29265 @: $(MAKE); $(unstage)
29266 @[ -f ./uudecode/Makefile ] || exit 0; \
29267 r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(HOST_EXPORTS) \
29270 for flag in $(EXTRA_HOST_FLAGS) ; do \
29271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29272 done; \
29273 echo "Doing maintainer-clean in uudecode" ; \
29274 (cd $(HOST_SUBDIR)/uudecode && \
29275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29277 "RANLIB=$${RANLIB}" \
29278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29279 maintainer-clean) \
29280 || exit 1
29282 @endif uudecode
29286 .PHONY: configure-wdiff maybe-configure-wdiff
29287 maybe-configure-wdiff:
29288 @if gcc-bootstrap
29289 configure-wdiff: stage_current
29290 @endif gcc-bootstrap
29291 @if wdiff
29292 maybe-configure-wdiff: configure-wdiff
29293 configure-wdiff:
29294 @: $(MAKE); $(unstage)
29295 @r=`${PWD_COMMAND}`; export r; \
29296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29297 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
29298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
29299 $(HOST_EXPORTS) \
29300 echo Configuring in $(HOST_SUBDIR)/wdiff; \
29301 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
29302 case $(srcdir) in \
29303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29304 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
29305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29306 esac; \
29307 srcdiroption="--srcdir=$${topdir}/wdiff"; \
29308 libsrcdir="$$s/wdiff"; \
29309 $(SHELL) $${libsrcdir}/configure \
29310 $(HOST_CONFIGARGS) $${srcdiroption} \
29311 || exit 1
29312 @endif wdiff
29318 .PHONY: all-wdiff maybe-all-wdiff
29319 maybe-all-wdiff:
29320 @if gcc-bootstrap
29321 all-wdiff: stage_current
29322 @endif gcc-bootstrap
29323 @if wdiff
29324 TARGET-wdiff=all
29325 maybe-all-wdiff: all-wdiff
29326 all-wdiff: configure-wdiff
29327 @: $(MAKE); $(unstage)
29328 @r=`${PWD_COMMAND}`; export r; \
29329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29330 $(HOST_EXPORTS) \
29331 (cd $(HOST_SUBDIR)/wdiff && \
29332 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
29333 @endif wdiff
29338 .PHONY: check-wdiff maybe-check-wdiff
29339 maybe-check-wdiff:
29340 @if wdiff
29341 maybe-check-wdiff: check-wdiff
29343 check-wdiff:
29344 @: $(MAKE); $(unstage)
29345 @r=`${PWD_COMMAND}`; export r; \
29346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29347 $(HOST_EXPORTS) \
29348 (cd $(HOST_SUBDIR)/wdiff && \
29349 $(MAKE) $(FLAGS_TO_PASS) check)
29351 @endif wdiff
29353 .PHONY: install-wdiff maybe-install-wdiff
29354 maybe-install-wdiff:
29355 @if wdiff
29356 maybe-install-wdiff: install-wdiff
29358 install-wdiff: installdirs
29359 @: $(MAKE); $(unstage)
29360 @r=`${PWD_COMMAND}`; export r; \
29361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29362 $(HOST_EXPORTS) \
29363 (cd $(HOST_SUBDIR)/wdiff && \
29364 $(MAKE) $(FLAGS_TO_PASS) install)
29366 @endif wdiff
29368 # Other targets (info, dvi, pdf, etc.)
29370 .PHONY: maybe-info-wdiff info-wdiff
29371 maybe-info-wdiff:
29372 @if wdiff
29373 maybe-info-wdiff: info-wdiff
29375 info-wdiff: \
29376 configure-wdiff
29377 @: $(MAKE); $(unstage)
29378 @[ -f ./wdiff/Makefile ] || exit 0; \
29379 r=`${PWD_COMMAND}`; export r; \
29380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29381 $(HOST_EXPORTS) \
29382 for flag in $(EXTRA_HOST_FLAGS) ; do \
29383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29384 done; \
29385 echo "Doing info in wdiff" ; \
29386 (cd $(HOST_SUBDIR)/wdiff && \
29387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29389 "RANLIB=$${RANLIB}" \
29390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29391 info) \
29392 || exit 1
29394 @endif wdiff
29396 .PHONY: maybe-dvi-wdiff dvi-wdiff
29397 maybe-dvi-wdiff:
29398 @if wdiff
29399 maybe-dvi-wdiff: dvi-wdiff
29401 dvi-wdiff: \
29402 configure-wdiff
29403 @: $(MAKE); $(unstage)
29404 @[ -f ./wdiff/Makefile ] || exit 0; \
29405 r=`${PWD_COMMAND}`; export r; \
29406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29407 $(HOST_EXPORTS) \
29408 for flag in $(EXTRA_HOST_FLAGS) ; do \
29409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29410 done; \
29411 echo "Doing dvi in wdiff" ; \
29412 (cd $(HOST_SUBDIR)/wdiff && \
29413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29415 "RANLIB=$${RANLIB}" \
29416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29417 dvi) \
29418 || exit 1
29420 @endif wdiff
29422 .PHONY: maybe-pdf-wdiff pdf-wdiff
29423 maybe-pdf-wdiff:
29424 @if wdiff
29425 maybe-pdf-wdiff: pdf-wdiff
29427 pdf-wdiff: \
29428 configure-wdiff
29429 @: $(MAKE); $(unstage)
29430 @[ -f ./wdiff/Makefile ] || exit 0; \
29431 r=`${PWD_COMMAND}`; export r; \
29432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29433 $(HOST_EXPORTS) \
29434 for flag in $(EXTRA_HOST_FLAGS) ; do \
29435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29436 done; \
29437 echo "Doing pdf in wdiff" ; \
29438 (cd $(HOST_SUBDIR)/wdiff && \
29439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29441 "RANLIB=$${RANLIB}" \
29442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29443 pdf) \
29444 || exit 1
29446 @endif wdiff
29448 .PHONY: maybe-html-wdiff html-wdiff
29449 maybe-html-wdiff:
29450 @if wdiff
29451 maybe-html-wdiff: html-wdiff
29453 html-wdiff: \
29454 configure-wdiff
29455 @: $(MAKE); $(unstage)
29456 @[ -f ./wdiff/Makefile ] || exit 0; \
29457 r=`${PWD_COMMAND}`; export r; \
29458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29459 $(HOST_EXPORTS) \
29460 for flag in $(EXTRA_HOST_FLAGS) ; do \
29461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29462 done; \
29463 echo "Doing html in wdiff" ; \
29464 (cd $(HOST_SUBDIR)/wdiff && \
29465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29467 "RANLIB=$${RANLIB}" \
29468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29469 html) \
29470 || exit 1
29472 @endif wdiff
29474 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
29475 maybe-TAGS-wdiff:
29476 @if wdiff
29477 maybe-TAGS-wdiff: TAGS-wdiff
29479 TAGS-wdiff: \
29480 configure-wdiff
29481 @: $(MAKE); $(unstage)
29482 @[ -f ./wdiff/Makefile ] || exit 0; \
29483 r=`${PWD_COMMAND}`; export r; \
29484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29485 $(HOST_EXPORTS) \
29486 for flag in $(EXTRA_HOST_FLAGS) ; do \
29487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29488 done; \
29489 echo "Doing TAGS in wdiff" ; \
29490 (cd $(HOST_SUBDIR)/wdiff && \
29491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29493 "RANLIB=$${RANLIB}" \
29494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29495 TAGS) \
29496 || exit 1
29498 @endif wdiff
29500 .PHONY: maybe-install-info-wdiff install-info-wdiff
29501 maybe-install-info-wdiff:
29502 @if wdiff
29503 maybe-install-info-wdiff: install-info-wdiff
29505 install-info-wdiff: \
29506 configure-wdiff \
29507 info-wdiff
29508 @: $(MAKE); $(unstage)
29509 @[ -f ./wdiff/Makefile ] || exit 0; \
29510 r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 $(HOST_EXPORTS) \
29513 for flag in $(EXTRA_HOST_FLAGS) ; do \
29514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29515 done; \
29516 echo "Doing install-info in wdiff" ; \
29517 (cd $(HOST_SUBDIR)/wdiff && \
29518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29520 "RANLIB=$${RANLIB}" \
29521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29522 install-info) \
29523 || exit 1
29525 @endif wdiff
29527 .PHONY: maybe-install-html-wdiff install-html-wdiff
29528 maybe-install-html-wdiff:
29529 @if wdiff
29530 maybe-install-html-wdiff: install-html-wdiff
29532 install-html-wdiff: \
29533 configure-wdiff \
29534 html-wdiff
29535 @: $(MAKE); $(unstage)
29536 @[ -f ./wdiff/Makefile ] || exit 0; \
29537 r=`${PWD_COMMAND}`; export r; \
29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29539 $(HOST_EXPORTS) \
29540 for flag in $(EXTRA_HOST_FLAGS) ; do \
29541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29542 done; \
29543 echo "Doing install-html in wdiff" ; \
29544 (cd $(HOST_SUBDIR)/wdiff && \
29545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29547 "RANLIB=$${RANLIB}" \
29548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29549 install-html) \
29550 || exit 1
29552 @endif wdiff
29554 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
29555 maybe-installcheck-wdiff:
29556 @if wdiff
29557 maybe-installcheck-wdiff: installcheck-wdiff
29559 installcheck-wdiff: \
29560 configure-wdiff
29561 @: $(MAKE); $(unstage)
29562 @[ -f ./wdiff/Makefile ] || exit 0; \
29563 r=`${PWD_COMMAND}`; export r; \
29564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29565 $(HOST_EXPORTS) \
29566 for flag in $(EXTRA_HOST_FLAGS) ; do \
29567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29568 done; \
29569 echo "Doing installcheck in wdiff" ; \
29570 (cd $(HOST_SUBDIR)/wdiff && \
29571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29573 "RANLIB=$${RANLIB}" \
29574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29575 installcheck) \
29576 || exit 1
29578 @endif wdiff
29580 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
29581 maybe-mostlyclean-wdiff:
29582 @if wdiff
29583 maybe-mostlyclean-wdiff: mostlyclean-wdiff
29585 mostlyclean-wdiff:
29586 @: $(MAKE); $(unstage)
29587 @[ -f ./wdiff/Makefile ] || exit 0; \
29588 r=`${PWD_COMMAND}`; export r; \
29589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29590 $(HOST_EXPORTS) \
29591 for flag in $(EXTRA_HOST_FLAGS) ; do \
29592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29593 done; \
29594 echo "Doing mostlyclean in wdiff" ; \
29595 (cd $(HOST_SUBDIR)/wdiff && \
29596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29598 "RANLIB=$${RANLIB}" \
29599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29600 mostlyclean) \
29601 || exit 1
29603 @endif wdiff
29605 .PHONY: maybe-clean-wdiff clean-wdiff
29606 maybe-clean-wdiff:
29607 @if wdiff
29608 maybe-clean-wdiff: clean-wdiff
29610 clean-wdiff:
29611 @: $(MAKE); $(unstage)
29612 @[ -f ./wdiff/Makefile ] || exit 0; \
29613 r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 $(HOST_EXPORTS) \
29616 for flag in $(EXTRA_HOST_FLAGS) ; do \
29617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29618 done; \
29619 echo "Doing clean in wdiff" ; \
29620 (cd $(HOST_SUBDIR)/wdiff && \
29621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29623 "RANLIB=$${RANLIB}" \
29624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29625 clean) \
29626 || exit 1
29628 @endif wdiff
29630 .PHONY: maybe-distclean-wdiff distclean-wdiff
29631 maybe-distclean-wdiff:
29632 @if wdiff
29633 maybe-distclean-wdiff: distclean-wdiff
29635 distclean-wdiff:
29636 @: $(MAKE); $(unstage)
29637 @[ -f ./wdiff/Makefile ] || exit 0; \
29638 r=`${PWD_COMMAND}`; export r; \
29639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29640 $(HOST_EXPORTS) \
29641 for flag in $(EXTRA_HOST_FLAGS) ; do \
29642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29643 done; \
29644 echo "Doing distclean in wdiff" ; \
29645 (cd $(HOST_SUBDIR)/wdiff && \
29646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29648 "RANLIB=$${RANLIB}" \
29649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29650 distclean) \
29651 || exit 1
29653 @endif wdiff
29655 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
29656 maybe-maintainer-clean-wdiff:
29657 @if wdiff
29658 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
29660 maintainer-clean-wdiff:
29661 @: $(MAKE); $(unstage)
29662 @[ -f ./wdiff/Makefile ] || exit 0; \
29663 r=`${PWD_COMMAND}`; export r; \
29664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29665 $(HOST_EXPORTS) \
29666 for flag in $(EXTRA_HOST_FLAGS) ; do \
29667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29668 done; \
29669 echo "Doing maintainer-clean in wdiff" ; \
29670 (cd $(HOST_SUBDIR)/wdiff && \
29671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29673 "RANLIB=$${RANLIB}" \
29674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29675 maintainer-clean) \
29676 || exit 1
29678 @endif wdiff
29682 .PHONY: configure-zip maybe-configure-zip
29683 maybe-configure-zip:
29684 @if gcc-bootstrap
29685 configure-zip: stage_current
29686 @endif gcc-bootstrap
29687 @if zip
29688 maybe-configure-zip: configure-zip
29689 configure-zip:
29690 @: $(MAKE); $(unstage)
29691 @r=`${PWD_COMMAND}`; export r; \
29692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29693 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
29694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
29695 $(HOST_EXPORTS) \
29696 echo Configuring in $(HOST_SUBDIR)/zip; \
29697 cd "$(HOST_SUBDIR)/zip" || exit 1; \
29698 case $(srcdir) in \
29699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29700 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
29701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29702 esac; \
29703 srcdiroption="--srcdir=$${topdir}/zip"; \
29704 libsrcdir="$$s/zip"; \
29705 $(SHELL) $${libsrcdir}/configure \
29706 $(HOST_CONFIGARGS) $${srcdiroption} \
29707 || exit 1
29708 @endif zip
29714 .PHONY: all-zip maybe-all-zip
29715 maybe-all-zip:
29716 @if gcc-bootstrap
29717 all-zip: stage_current
29718 @endif gcc-bootstrap
29719 @if zip
29720 TARGET-zip=all
29721 maybe-all-zip: all-zip
29722 all-zip: configure-zip
29723 @: $(MAKE); $(unstage)
29724 @r=`${PWD_COMMAND}`; export r; \
29725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29726 $(HOST_EXPORTS) \
29727 (cd $(HOST_SUBDIR)/zip && \
29728 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
29729 @endif zip
29734 .PHONY: check-zip maybe-check-zip
29735 maybe-check-zip:
29736 @if zip
29737 maybe-check-zip: check-zip
29739 # This module is only tested in a native toolchain.
29740 check-zip:
29741 @: $(MAKE); $(unstage)
29742 @if [ '$(host)' = '$(target)' ] ; then \
29743 r=`${PWD_COMMAND}`; export r; \
29744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29745 $(HOST_EXPORTS) \
29746 (cd $(HOST_SUBDIR)/zip && \
29747 $(MAKE) $(FLAGS_TO_PASS) check); \
29750 @endif zip
29752 .PHONY: install-zip maybe-install-zip
29753 maybe-install-zip:
29754 @if zip
29755 maybe-install-zip: install-zip
29757 install-zip: installdirs
29758 @: $(MAKE); $(unstage)
29759 @r=`${PWD_COMMAND}`; export r; \
29760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29761 $(HOST_EXPORTS) \
29762 (cd $(HOST_SUBDIR)/zip && \
29763 $(MAKE) $(FLAGS_TO_PASS) install)
29765 @endif zip
29767 # Other targets (info, dvi, pdf, etc.)
29769 .PHONY: maybe-info-zip info-zip
29770 maybe-info-zip:
29771 @if zip
29772 maybe-info-zip: info-zip
29774 info-zip: \
29775 configure-zip
29776 @: $(MAKE); $(unstage)
29777 @[ -f ./zip/Makefile ] || exit 0; \
29778 r=`${PWD_COMMAND}`; export r; \
29779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29780 $(HOST_EXPORTS) \
29781 for flag in $(EXTRA_HOST_FLAGS) ; do \
29782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29783 done; \
29784 echo "Doing info in zip" ; \
29785 (cd $(HOST_SUBDIR)/zip && \
29786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29788 "RANLIB=$${RANLIB}" \
29789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29790 info) \
29791 || exit 1
29793 @endif zip
29795 .PHONY: maybe-dvi-zip dvi-zip
29796 maybe-dvi-zip:
29797 @if zip
29798 maybe-dvi-zip: dvi-zip
29800 dvi-zip: \
29801 configure-zip
29802 @: $(MAKE); $(unstage)
29803 @[ -f ./zip/Makefile ] || exit 0; \
29804 r=`${PWD_COMMAND}`; export r; \
29805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29806 $(HOST_EXPORTS) \
29807 for flag in $(EXTRA_HOST_FLAGS) ; do \
29808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29809 done; \
29810 echo "Doing dvi in zip" ; \
29811 (cd $(HOST_SUBDIR)/zip && \
29812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29814 "RANLIB=$${RANLIB}" \
29815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29816 dvi) \
29817 || exit 1
29819 @endif zip
29821 .PHONY: maybe-pdf-zip pdf-zip
29822 maybe-pdf-zip:
29823 @if zip
29824 maybe-pdf-zip: pdf-zip
29826 pdf-zip: \
29827 configure-zip
29828 @: $(MAKE); $(unstage)
29829 @[ -f ./zip/Makefile ] || exit 0; \
29830 r=`${PWD_COMMAND}`; export r; \
29831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29832 $(HOST_EXPORTS) \
29833 for flag in $(EXTRA_HOST_FLAGS) ; do \
29834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29835 done; \
29836 echo "Doing pdf in zip" ; \
29837 (cd $(HOST_SUBDIR)/zip && \
29838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29840 "RANLIB=$${RANLIB}" \
29841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29842 pdf) \
29843 || exit 1
29845 @endif zip
29847 .PHONY: maybe-html-zip html-zip
29848 maybe-html-zip:
29849 @if zip
29850 maybe-html-zip: html-zip
29852 html-zip: \
29853 configure-zip
29854 @: $(MAKE); $(unstage)
29855 @[ -f ./zip/Makefile ] || exit 0; \
29856 r=`${PWD_COMMAND}`; export r; \
29857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29858 $(HOST_EXPORTS) \
29859 for flag in $(EXTRA_HOST_FLAGS) ; do \
29860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29861 done; \
29862 echo "Doing html in zip" ; \
29863 (cd $(HOST_SUBDIR)/zip && \
29864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29866 "RANLIB=$${RANLIB}" \
29867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29868 html) \
29869 || exit 1
29871 @endif zip
29873 .PHONY: maybe-TAGS-zip TAGS-zip
29874 maybe-TAGS-zip:
29875 @if zip
29876 maybe-TAGS-zip: TAGS-zip
29878 TAGS-zip: \
29879 configure-zip
29880 @: $(MAKE); $(unstage)
29881 @[ -f ./zip/Makefile ] || exit 0; \
29882 r=`${PWD_COMMAND}`; export r; \
29883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29884 $(HOST_EXPORTS) \
29885 for flag in $(EXTRA_HOST_FLAGS) ; do \
29886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29887 done; \
29888 echo "Doing TAGS in zip" ; \
29889 (cd $(HOST_SUBDIR)/zip && \
29890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29892 "RANLIB=$${RANLIB}" \
29893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29894 TAGS) \
29895 || exit 1
29897 @endif zip
29899 .PHONY: maybe-install-info-zip install-info-zip
29900 maybe-install-info-zip:
29901 @if zip
29902 maybe-install-info-zip: install-info-zip
29904 install-info-zip: \
29905 configure-zip \
29906 info-zip
29907 @: $(MAKE); $(unstage)
29908 @[ -f ./zip/Makefile ] || exit 0; \
29909 r=`${PWD_COMMAND}`; export r; \
29910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29911 $(HOST_EXPORTS) \
29912 for flag in $(EXTRA_HOST_FLAGS) ; do \
29913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29914 done; \
29915 echo "Doing install-info in zip" ; \
29916 (cd $(HOST_SUBDIR)/zip && \
29917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29919 "RANLIB=$${RANLIB}" \
29920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29921 install-info) \
29922 || exit 1
29924 @endif zip
29926 .PHONY: maybe-install-html-zip install-html-zip
29927 maybe-install-html-zip:
29928 @if zip
29929 maybe-install-html-zip: install-html-zip
29931 install-html-zip: \
29932 configure-zip \
29933 html-zip
29934 @: $(MAKE); $(unstage)
29935 @[ -f ./zip/Makefile ] || exit 0; \
29936 r=`${PWD_COMMAND}`; export r; \
29937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29938 $(HOST_EXPORTS) \
29939 for flag in $(EXTRA_HOST_FLAGS) ; do \
29940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29941 done; \
29942 echo "Doing install-html in zip" ; \
29943 (cd $(HOST_SUBDIR)/zip && \
29944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29946 "RANLIB=$${RANLIB}" \
29947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29948 install-html) \
29949 || exit 1
29951 @endif zip
29953 .PHONY: maybe-installcheck-zip installcheck-zip
29954 maybe-installcheck-zip:
29955 @if zip
29956 maybe-installcheck-zip: installcheck-zip
29958 installcheck-zip: \
29959 configure-zip
29960 @: $(MAKE); $(unstage)
29961 @[ -f ./zip/Makefile ] || exit 0; \
29962 r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(HOST_EXPORTS) \
29965 for flag in $(EXTRA_HOST_FLAGS) ; do \
29966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29967 done; \
29968 echo "Doing installcheck in zip" ; \
29969 (cd $(HOST_SUBDIR)/zip && \
29970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29972 "RANLIB=$${RANLIB}" \
29973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29974 installcheck) \
29975 || exit 1
29977 @endif zip
29979 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
29980 maybe-mostlyclean-zip:
29981 @if zip
29982 maybe-mostlyclean-zip: mostlyclean-zip
29984 mostlyclean-zip:
29985 @: $(MAKE); $(unstage)
29986 @[ -f ./zip/Makefile ] || exit 0; \
29987 r=`${PWD_COMMAND}`; export r; \
29988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29989 $(HOST_EXPORTS) \
29990 for flag in $(EXTRA_HOST_FLAGS) ; do \
29991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29992 done; \
29993 echo "Doing mostlyclean in zip" ; \
29994 (cd $(HOST_SUBDIR)/zip && \
29995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29997 "RANLIB=$${RANLIB}" \
29998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29999 mostlyclean) \
30000 || exit 1
30002 @endif zip
30004 .PHONY: maybe-clean-zip clean-zip
30005 maybe-clean-zip:
30006 @if zip
30007 maybe-clean-zip: clean-zip
30009 clean-zip:
30010 @: $(MAKE); $(unstage)
30011 @[ -f ./zip/Makefile ] || exit 0; \
30012 r=`${PWD_COMMAND}`; export r; \
30013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30014 $(HOST_EXPORTS) \
30015 for flag in $(EXTRA_HOST_FLAGS) ; do \
30016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30017 done; \
30018 echo "Doing clean in zip" ; \
30019 (cd $(HOST_SUBDIR)/zip && \
30020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30022 "RANLIB=$${RANLIB}" \
30023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30024 clean) \
30025 || exit 1
30027 @endif zip
30029 .PHONY: maybe-distclean-zip distclean-zip
30030 maybe-distclean-zip:
30031 @if zip
30032 maybe-distclean-zip: distclean-zip
30034 distclean-zip:
30035 @: $(MAKE); $(unstage)
30036 @[ -f ./zip/Makefile ] || exit 0; \
30037 r=`${PWD_COMMAND}`; export r; \
30038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30039 $(HOST_EXPORTS) \
30040 for flag in $(EXTRA_HOST_FLAGS) ; do \
30041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30042 done; \
30043 echo "Doing distclean in zip" ; \
30044 (cd $(HOST_SUBDIR)/zip && \
30045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30047 "RANLIB=$${RANLIB}" \
30048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30049 distclean) \
30050 || exit 1
30052 @endif zip
30054 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
30055 maybe-maintainer-clean-zip:
30056 @if zip
30057 maybe-maintainer-clean-zip: maintainer-clean-zip
30059 maintainer-clean-zip:
30060 @: $(MAKE); $(unstage)
30061 @[ -f ./zip/Makefile ] || exit 0; \
30062 r=`${PWD_COMMAND}`; export r; \
30063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30064 $(HOST_EXPORTS) \
30065 for flag in $(EXTRA_HOST_FLAGS) ; do \
30066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30067 done; \
30068 echo "Doing maintainer-clean in zip" ; \
30069 (cd $(HOST_SUBDIR)/zip && \
30070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30072 "RANLIB=$${RANLIB}" \
30073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30074 maintainer-clean) \
30075 || exit 1
30077 @endif zip
30081 .PHONY: configure-zlib maybe-configure-zlib
30082 maybe-configure-zlib:
30083 @if gcc-bootstrap
30084 configure-zlib: stage_current
30085 @endif gcc-bootstrap
30086 @if zlib
30087 maybe-configure-zlib: configure-zlib
30088 configure-zlib:
30089 @r=`${PWD_COMMAND}`; export r; \
30090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30091 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30093 $(HOST_EXPORTS) \
30094 echo Configuring in $(HOST_SUBDIR)/zlib; \
30095 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30096 case $(srcdir) in \
30097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30098 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30100 esac; \
30101 srcdiroption="--srcdir=$${topdir}/zlib"; \
30102 libsrcdir="$$s/zlib"; \
30103 $(SHELL) $${libsrcdir}/configure \
30104 $(HOST_CONFIGARGS) $${srcdiroption} \
30105 || exit 1
30106 @endif zlib
30110 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30111 maybe-configure-stage1-zlib:
30112 @if zlib-bootstrap
30113 maybe-configure-stage1-zlib: configure-stage1-zlib
30114 configure-stage1-zlib:
30115 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30117 @r=`${PWD_COMMAND}`; export r; \
30118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30119 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30120 $(HOST_EXPORTS) \
30121 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
30122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30123 cd $(HOST_SUBDIR)/zlib || exit 1; \
30124 case $(srcdir) in \
30125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30126 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30128 esac; \
30129 srcdiroption="--srcdir=$${topdir}/zlib"; \
30130 libsrcdir="$$s/zlib"; \
30131 $(SHELL) $${libsrcdir}/configure \
30132 $(HOST_CONFIGARGS) $${srcdiroption} \
30134 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30135 @endif zlib-bootstrap
30137 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30138 maybe-configure-stage2-zlib:
30139 @if zlib-bootstrap
30140 maybe-configure-stage2-zlib: configure-stage2-zlib
30141 configure-stage2-zlib:
30142 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30144 @r=`${PWD_COMMAND}`; export r; \
30145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30146 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30147 $(HOST_EXPORTS) \
30148 $(POSTSTAGE1_HOST_EXPORTS) \
30149 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
30150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30151 cd $(HOST_SUBDIR)/zlib || exit 1; \
30152 case $(srcdir) in \
30153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30154 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30156 esac; \
30157 srcdiroption="--srcdir=$${topdir}/zlib"; \
30158 libsrcdir="$$s/zlib"; \
30159 $(SHELL) $${libsrcdir}/configure \
30160 $(HOST_CONFIGARGS) $${srcdiroption} \
30161 --with-build-libsubdir=$(HOST_SUBDIR) \
30162 @stage2_werror_flag@
30163 @endif zlib-bootstrap
30165 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30166 maybe-configure-stage3-zlib:
30167 @if zlib-bootstrap
30168 maybe-configure-stage3-zlib: configure-stage3-zlib
30169 configure-stage3-zlib:
30170 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30172 @r=`${PWD_COMMAND}`; export r; \
30173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30174 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30175 $(HOST_EXPORTS) \
30176 $(POSTSTAGE1_HOST_EXPORTS) \
30177 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
30178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30179 cd $(HOST_SUBDIR)/zlib || exit 1; \
30180 case $(srcdir) in \
30181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30182 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30184 esac; \
30185 srcdiroption="--srcdir=$${topdir}/zlib"; \
30186 libsrcdir="$$s/zlib"; \
30187 $(SHELL) $${libsrcdir}/configure \
30188 $(HOST_CONFIGARGS) $${srcdiroption} \
30189 --with-build-libsubdir=$(HOST_SUBDIR) \
30190 @stage2_werror_flag@
30191 @endif zlib-bootstrap
30193 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30194 maybe-configure-stage4-zlib:
30195 @if zlib-bootstrap
30196 maybe-configure-stage4-zlib: configure-stage4-zlib
30197 configure-stage4-zlib:
30198 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30200 @r=`${PWD_COMMAND}`; export r; \
30201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30202 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30203 $(HOST_EXPORTS) \
30204 $(POSTSTAGE1_HOST_EXPORTS) \
30205 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
30206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30207 cd $(HOST_SUBDIR)/zlib || exit 1; \
30208 case $(srcdir) in \
30209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30210 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30212 esac; \
30213 srcdiroption="--srcdir=$${topdir}/zlib"; \
30214 libsrcdir="$$s/zlib"; \
30215 $(SHELL) $${libsrcdir}/configure \
30216 $(HOST_CONFIGARGS) $${srcdiroption} \
30217 --with-build-libsubdir=$(HOST_SUBDIR) \
30218 @stage2_werror_flag@
30219 @endif zlib-bootstrap
30221 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30222 maybe-configure-stageprofile-zlib:
30223 @if zlib-bootstrap
30224 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30225 configure-stageprofile-zlib:
30226 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30228 @r=`${PWD_COMMAND}`; export r; \
30229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30230 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30231 $(HOST_EXPORTS) \
30232 $(POSTSTAGE1_HOST_EXPORTS) \
30233 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
30234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30235 cd $(HOST_SUBDIR)/zlib || exit 1; \
30236 case $(srcdir) in \
30237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30238 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30240 esac; \
30241 srcdiroption="--srcdir=$${topdir}/zlib"; \
30242 libsrcdir="$$s/zlib"; \
30243 $(SHELL) $${libsrcdir}/configure \
30244 $(HOST_CONFIGARGS) $${srcdiroption} \
30245 --with-build-libsubdir=$(HOST_SUBDIR) \
30246 @stage2_werror_flag@
30247 @endif zlib-bootstrap
30249 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30250 maybe-configure-stagefeedback-zlib:
30251 @if zlib-bootstrap
30252 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30253 configure-stagefeedback-zlib:
30254 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30256 @r=`${PWD_COMMAND}`; export r; \
30257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30258 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30259 $(HOST_EXPORTS) \
30260 $(POSTSTAGE1_HOST_EXPORTS) \
30261 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
30262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30263 cd $(HOST_SUBDIR)/zlib || exit 1; \
30264 case $(srcdir) in \
30265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30266 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30268 esac; \
30269 srcdiroption="--srcdir=$${topdir}/zlib"; \
30270 libsrcdir="$$s/zlib"; \
30271 $(SHELL) $${libsrcdir}/configure \
30272 $(HOST_CONFIGARGS) $${srcdiroption} \
30273 --with-build-libsubdir=$(HOST_SUBDIR) \
30274 @stage2_werror_flag@
30275 @endif zlib-bootstrap
30281 .PHONY: all-zlib maybe-all-zlib
30282 maybe-all-zlib:
30283 @if gcc-bootstrap
30284 all-zlib: stage_current
30285 @endif gcc-bootstrap
30286 @if zlib
30287 TARGET-zlib=all
30288 maybe-all-zlib: all-zlib
30289 all-zlib: configure-zlib
30290 @r=`${PWD_COMMAND}`; export r; \
30291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30292 $(HOST_EXPORTS) \
30293 (cd $(HOST_SUBDIR)/zlib && \
30294 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
30295 @endif zlib
30299 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30300 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30301 maybe-all-stage1-zlib:
30302 maybe-clean-stage1-zlib:
30303 @if zlib-bootstrap
30304 maybe-all-stage1-zlib: all-stage1-zlib
30305 all-stage1: all-stage1-zlib
30306 TARGET-stage1-zlib = $(TARGET-zlib)
30307 all-stage1-zlib: configure-stage1-zlib
30308 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30309 @r=`${PWD_COMMAND}`; export r; \
30310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30311 $(HOST_EXPORTS) \
30312 cd $(HOST_SUBDIR)/zlib && \
30313 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
30314 $(TARGET-stage1-zlib)
30316 maybe-clean-stage1-zlib: clean-stage1-zlib
30317 clean-stage1: clean-stage1-zlib
30318 clean-stage1-zlib:
30319 @if [ $(current_stage) = stage1 ]; then \
30320 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30321 else \
30322 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30323 $(MAKE) stage1-start; \
30324 fi; \
30325 cd $(HOST_SUBDIR)/zlib && \
30326 $(MAKE) $(FLAGS_TO_PASS) \
30327 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
30328 @endif zlib-bootstrap
30331 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30332 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30333 maybe-all-stage2-zlib:
30334 maybe-clean-stage2-zlib:
30335 @if zlib-bootstrap
30336 maybe-all-stage2-zlib: all-stage2-zlib
30337 all-stage2: all-stage2-zlib
30338 TARGET-stage2-zlib = $(TARGET-zlib)
30339 all-stage2-zlib: configure-stage2-zlib
30340 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30341 @r=`${PWD_COMMAND}`; export r; \
30342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30343 $(HOST_EXPORTS) \
30344 $(POSTSTAGE1_HOST_EXPORTS) \
30345 cd $(HOST_SUBDIR)/zlib && \
30346 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30347 $(TARGET-stage2-zlib)
30349 maybe-clean-stage2-zlib: clean-stage2-zlib
30350 clean-stage2: clean-stage2-zlib
30351 clean-stage2-zlib:
30352 @if [ $(current_stage) = stage2 ]; then \
30353 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30354 else \
30355 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30356 $(MAKE) stage2-start; \
30357 fi; \
30358 cd $(HOST_SUBDIR)/zlib && \
30359 $(MAKE) $(FLAGS_TO_PASS) \
30360 $(POSTSTAGE1_FLAGS_TO_PASS) \
30361 clean
30362 @endif zlib-bootstrap
30365 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30366 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30367 maybe-all-stage3-zlib:
30368 maybe-clean-stage3-zlib:
30369 @if zlib-bootstrap
30370 maybe-all-stage3-zlib: all-stage3-zlib
30371 all-stage3: all-stage3-zlib
30372 TARGET-stage3-zlib = $(TARGET-zlib)
30373 all-stage3-zlib: configure-stage3-zlib
30374 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30375 @r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(HOST_EXPORTS) \
30378 $(POSTSTAGE1_HOST_EXPORTS) \
30379 cd $(HOST_SUBDIR)/zlib && \
30380 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30381 $(TARGET-stage3-zlib)
30383 maybe-clean-stage3-zlib: clean-stage3-zlib
30384 clean-stage3: clean-stage3-zlib
30385 clean-stage3-zlib:
30386 @if [ $(current_stage) = stage3 ]; then \
30387 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30388 else \
30389 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30390 $(MAKE) stage3-start; \
30391 fi; \
30392 cd $(HOST_SUBDIR)/zlib && \
30393 $(MAKE) $(FLAGS_TO_PASS) \
30394 $(POSTSTAGE1_FLAGS_TO_PASS) \
30395 clean
30396 @endif zlib-bootstrap
30399 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30400 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30401 maybe-all-stage4-zlib:
30402 maybe-clean-stage4-zlib:
30403 @if zlib-bootstrap
30404 maybe-all-stage4-zlib: all-stage4-zlib
30405 all-stage4: all-stage4-zlib
30406 TARGET-stage4-zlib = $(TARGET-zlib)
30407 all-stage4-zlib: configure-stage4-zlib
30408 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30409 @r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30411 $(HOST_EXPORTS) \
30412 $(POSTSTAGE1_HOST_EXPORTS) \
30413 cd $(HOST_SUBDIR)/zlib && \
30414 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30415 $(TARGET-stage4-zlib)
30417 maybe-clean-stage4-zlib: clean-stage4-zlib
30418 clean-stage4: clean-stage4-zlib
30419 clean-stage4-zlib:
30420 @if [ $(current_stage) = stage4 ]; then \
30421 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30422 else \
30423 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30424 $(MAKE) stage4-start; \
30425 fi; \
30426 cd $(HOST_SUBDIR)/zlib && \
30427 $(MAKE) $(FLAGS_TO_PASS) \
30428 $(POSTSTAGE1_FLAGS_TO_PASS) \
30429 clean
30430 @endif zlib-bootstrap
30433 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30434 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30435 maybe-all-stageprofile-zlib:
30436 maybe-clean-stageprofile-zlib:
30437 @if zlib-bootstrap
30438 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30439 all-stageprofile: all-stageprofile-zlib
30440 TARGET-stageprofile-zlib = $(TARGET-zlib)
30441 all-stageprofile-zlib: configure-stageprofile-zlib
30442 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30443 @r=`${PWD_COMMAND}`; export r; \
30444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30445 $(HOST_EXPORTS) \
30446 $(POSTSTAGE1_HOST_EXPORTS) \
30447 cd $(HOST_SUBDIR)/zlib && \
30448 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
30449 $(TARGET-stageprofile-zlib)
30451 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30452 clean-stageprofile: clean-stageprofile-zlib
30453 clean-stageprofile-zlib:
30454 @if [ $(current_stage) = stageprofile ]; then \
30455 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30456 else \
30457 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30458 $(MAKE) stageprofile-start; \
30459 fi; \
30460 cd $(HOST_SUBDIR)/zlib && \
30461 $(MAKE) $(FLAGS_TO_PASS) \
30462 $(POSTSTAGE1_FLAGS_TO_PASS) \
30463 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30464 @endif zlib-bootstrap
30467 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30468 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30469 maybe-all-stagefeedback-zlib:
30470 maybe-clean-stagefeedback-zlib:
30471 @if zlib-bootstrap
30472 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30473 all-stagefeedback: all-stagefeedback-zlib
30474 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30475 all-stagefeedback-zlib: configure-stagefeedback-zlib
30476 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30477 @r=`${PWD_COMMAND}`; export r; \
30478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30479 $(HOST_EXPORTS) \
30480 $(POSTSTAGE1_HOST_EXPORTS) \
30481 cd $(HOST_SUBDIR)/zlib && \
30482 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
30483 $(TARGET-stagefeedback-zlib)
30485 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30486 clean-stagefeedback: clean-stagefeedback-zlib
30487 clean-stagefeedback-zlib:
30488 @if [ $(current_stage) = stagefeedback ]; then \
30489 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30490 else \
30491 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30492 $(MAKE) stagefeedback-start; \
30493 fi; \
30494 cd $(HOST_SUBDIR)/zlib && \
30495 $(MAKE) $(FLAGS_TO_PASS) \
30496 $(POSTSTAGE1_FLAGS_TO_PASS) \
30497 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
30498 @endif zlib-bootstrap
30504 .PHONY: check-zlib maybe-check-zlib
30505 maybe-check-zlib:
30506 @if zlib
30507 maybe-check-zlib: check-zlib
30509 check-zlib:
30511 @endif zlib
30513 .PHONY: install-zlib maybe-install-zlib
30514 maybe-install-zlib:
30515 @if zlib
30516 maybe-install-zlib: install-zlib
30518 install-zlib:
30520 @endif zlib
30522 # Other targets (info, dvi, pdf, etc.)
30524 .PHONY: maybe-info-zlib info-zlib
30525 maybe-info-zlib:
30526 @if zlib
30527 maybe-info-zlib: info-zlib
30529 info-zlib: \
30530 configure-zlib
30531 @[ -f ./zlib/Makefile ] || exit 0; \
30532 r=`${PWD_COMMAND}`; export r; \
30533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30534 $(HOST_EXPORTS) \
30535 for flag in $(EXTRA_HOST_FLAGS) ; do \
30536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30537 done; \
30538 echo "Doing info in zlib" ; \
30539 (cd $(HOST_SUBDIR)/zlib && \
30540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30542 "RANLIB=$${RANLIB}" \
30543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30544 info) \
30545 || exit 1
30547 @endif zlib
30549 .PHONY: maybe-dvi-zlib dvi-zlib
30550 maybe-dvi-zlib:
30551 @if zlib
30552 maybe-dvi-zlib: dvi-zlib
30554 dvi-zlib: \
30555 configure-zlib
30556 @[ -f ./zlib/Makefile ] || exit 0; \
30557 r=`${PWD_COMMAND}`; export r; \
30558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30559 $(HOST_EXPORTS) \
30560 for flag in $(EXTRA_HOST_FLAGS) ; do \
30561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30562 done; \
30563 echo "Doing dvi in zlib" ; \
30564 (cd $(HOST_SUBDIR)/zlib && \
30565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30567 "RANLIB=$${RANLIB}" \
30568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30569 dvi) \
30570 || exit 1
30572 @endif zlib
30574 .PHONY: maybe-pdf-zlib pdf-zlib
30575 maybe-pdf-zlib:
30576 @if zlib
30577 maybe-pdf-zlib: pdf-zlib
30579 pdf-zlib: \
30580 configure-zlib
30581 @[ -f ./zlib/Makefile ] || exit 0; \
30582 r=`${PWD_COMMAND}`; export r; \
30583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30584 $(HOST_EXPORTS) \
30585 for flag in $(EXTRA_HOST_FLAGS) ; do \
30586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30587 done; \
30588 echo "Doing pdf in zlib" ; \
30589 (cd $(HOST_SUBDIR)/zlib && \
30590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30592 "RANLIB=$${RANLIB}" \
30593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30594 pdf) \
30595 || exit 1
30597 @endif zlib
30599 .PHONY: maybe-html-zlib html-zlib
30600 maybe-html-zlib:
30601 @if zlib
30602 maybe-html-zlib: html-zlib
30604 html-zlib: \
30605 configure-zlib
30606 @[ -f ./zlib/Makefile ] || exit 0; \
30607 r=`${PWD_COMMAND}`; export r; \
30608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30609 $(HOST_EXPORTS) \
30610 for flag in $(EXTRA_HOST_FLAGS) ; do \
30611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30612 done; \
30613 echo "Doing html in zlib" ; \
30614 (cd $(HOST_SUBDIR)/zlib && \
30615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30617 "RANLIB=$${RANLIB}" \
30618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30619 html) \
30620 || exit 1
30622 @endif zlib
30624 .PHONY: maybe-TAGS-zlib TAGS-zlib
30625 maybe-TAGS-zlib:
30626 @if zlib
30627 maybe-TAGS-zlib: TAGS-zlib
30629 TAGS-zlib: \
30630 configure-zlib
30631 @[ -f ./zlib/Makefile ] || exit 0; \
30632 r=`${PWD_COMMAND}`; export r; \
30633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30634 $(HOST_EXPORTS) \
30635 for flag in $(EXTRA_HOST_FLAGS) ; do \
30636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30637 done; \
30638 echo "Doing TAGS in zlib" ; \
30639 (cd $(HOST_SUBDIR)/zlib && \
30640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30642 "RANLIB=$${RANLIB}" \
30643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30644 TAGS) \
30645 || exit 1
30647 @endif zlib
30649 .PHONY: maybe-install-info-zlib install-info-zlib
30650 maybe-install-info-zlib:
30651 @if zlib
30652 maybe-install-info-zlib: install-info-zlib
30654 install-info-zlib: \
30655 configure-zlib \
30656 info-zlib
30657 @[ -f ./zlib/Makefile ] || exit 0; \
30658 r=`${PWD_COMMAND}`; export r; \
30659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30660 $(HOST_EXPORTS) \
30661 for flag in $(EXTRA_HOST_FLAGS) ; do \
30662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30663 done; \
30664 echo "Doing install-info in zlib" ; \
30665 (cd $(HOST_SUBDIR)/zlib && \
30666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30668 "RANLIB=$${RANLIB}" \
30669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30670 install-info) \
30671 || exit 1
30673 @endif zlib
30675 .PHONY: maybe-install-html-zlib install-html-zlib
30676 maybe-install-html-zlib:
30677 @if zlib
30678 maybe-install-html-zlib: install-html-zlib
30680 install-html-zlib: \
30681 configure-zlib \
30682 html-zlib
30683 @[ -f ./zlib/Makefile ] || exit 0; \
30684 r=`${PWD_COMMAND}`; export r; \
30685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30686 $(HOST_EXPORTS) \
30687 for flag in $(EXTRA_HOST_FLAGS) ; do \
30688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30689 done; \
30690 echo "Doing install-html in zlib" ; \
30691 (cd $(HOST_SUBDIR)/zlib && \
30692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30694 "RANLIB=$${RANLIB}" \
30695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30696 install-html) \
30697 || exit 1
30699 @endif zlib
30701 .PHONY: maybe-installcheck-zlib installcheck-zlib
30702 maybe-installcheck-zlib:
30703 @if zlib
30704 maybe-installcheck-zlib: installcheck-zlib
30706 installcheck-zlib: \
30707 configure-zlib
30708 @[ -f ./zlib/Makefile ] || exit 0; \
30709 r=`${PWD_COMMAND}`; export r; \
30710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30711 $(HOST_EXPORTS) \
30712 for flag in $(EXTRA_HOST_FLAGS) ; do \
30713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30714 done; \
30715 echo "Doing installcheck in zlib" ; \
30716 (cd $(HOST_SUBDIR)/zlib && \
30717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30719 "RANLIB=$${RANLIB}" \
30720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30721 installcheck) \
30722 || exit 1
30724 @endif zlib
30726 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
30727 maybe-mostlyclean-zlib:
30728 @if zlib
30729 maybe-mostlyclean-zlib: mostlyclean-zlib
30731 mostlyclean-zlib:
30732 @[ -f ./zlib/Makefile ] || exit 0; \
30733 r=`${PWD_COMMAND}`; export r; \
30734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30735 $(HOST_EXPORTS) \
30736 for flag in $(EXTRA_HOST_FLAGS) ; do \
30737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30738 done; \
30739 echo "Doing mostlyclean in zlib" ; \
30740 (cd $(HOST_SUBDIR)/zlib && \
30741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30743 "RANLIB=$${RANLIB}" \
30744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30745 mostlyclean) \
30746 || exit 1
30748 @endif zlib
30750 .PHONY: maybe-clean-zlib clean-zlib
30751 maybe-clean-zlib:
30752 @if zlib
30753 maybe-clean-zlib: clean-zlib
30755 clean-zlib:
30756 @[ -f ./zlib/Makefile ] || exit 0; \
30757 r=`${PWD_COMMAND}`; export r; \
30758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30759 $(HOST_EXPORTS) \
30760 for flag in $(EXTRA_HOST_FLAGS) ; do \
30761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30762 done; \
30763 echo "Doing clean in zlib" ; \
30764 (cd $(HOST_SUBDIR)/zlib && \
30765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30767 "RANLIB=$${RANLIB}" \
30768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30769 clean) \
30770 || exit 1
30772 @endif zlib
30774 .PHONY: maybe-distclean-zlib distclean-zlib
30775 maybe-distclean-zlib:
30776 @if zlib
30777 maybe-distclean-zlib: distclean-zlib
30779 distclean-zlib:
30780 @[ -f ./zlib/Makefile ] || exit 0; \
30781 r=`${PWD_COMMAND}`; export r; \
30782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30783 $(HOST_EXPORTS) \
30784 for flag in $(EXTRA_HOST_FLAGS) ; do \
30785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30786 done; \
30787 echo "Doing distclean in zlib" ; \
30788 (cd $(HOST_SUBDIR)/zlib && \
30789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30791 "RANLIB=$${RANLIB}" \
30792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30793 distclean) \
30794 || exit 1
30796 @endif zlib
30798 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
30799 maybe-maintainer-clean-zlib:
30800 @if zlib
30801 maybe-maintainer-clean-zlib: maintainer-clean-zlib
30803 maintainer-clean-zlib:
30804 @[ -f ./zlib/Makefile ] || exit 0; \
30805 r=`${PWD_COMMAND}`; export r; \
30806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30807 $(HOST_EXPORTS) \
30808 for flag in $(EXTRA_HOST_FLAGS) ; do \
30809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30810 done; \
30811 echo "Doing maintainer-clean in zlib" ; \
30812 (cd $(HOST_SUBDIR)/zlib && \
30813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30815 "RANLIB=$${RANLIB}" \
30816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30817 maintainer-clean) \
30818 || exit 1
30820 @endif zlib
30824 .PHONY: configure-gdb maybe-configure-gdb
30825 maybe-configure-gdb:
30826 @if gcc-bootstrap
30827 configure-gdb: stage_current
30828 @endif gcc-bootstrap
30829 @if gdb
30830 maybe-configure-gdb: configure-gdb
30831 configure-gdb:
30832 @: $(MAKE); $(unstage)
30833 @r=`${PWD_COMMAND}`; export r; \
30834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30835 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
30836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
30837 $(HOST_EXPORTS) \
30838 echo Configuring in $(HOST_SUBDIR)/gdb; \
30839 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
30840 case $(srcdir) in \
30841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30842 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
30843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30844 esac; \
30845 srcdiroption="--srcdir=$${topdir}/gdb"; \
30846 libsrcdir="$$s/gdb"; \
30847 $(SHELL) $${libsrcdir}/configure \
30848 $(HOST_CONFIGARGS) $${srcdiroption} \
30849 || exit 1
30850 @endif gdb
30856 .PHONY: all-gdb maybe-all-gdb
30857 maybe-all-gdb:
30858 @if gcc-bootstrap
30859 all-gdb: stage_current
30860 @endif gcc-bootstrap
30861 @if gdb
30862 TARGET-gdb=all
30863 maybe-all-gdb: all-gdb
30864 all-gdb: configure-gdb
30865 @: $(MAKE); $(unstage)
30866 @r=`${PWD_COMMAND}`; export r; \
30867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30868 $(HOST_EXPORTS) \
30869 (cd $(HOST_SUBDIR)/gdb && \
30870 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
30871 @endif gdb
30876 .PHONY: check-gdb maybe-check-gdb
30877 maybe-check-gdb:
30878 @if gdb
30879 maybe-check-gdb: check-gdb
30881 check-gdb:
30882 @: $(MAKE); $(unstage)
30883 @r=`${PWD_COMMAND}`; export r; \
30884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30885 $(HOST_EXPORTS) \
30886 (cd $(HOST_SUBDIR)/gdb && \
30887 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30889 @endif gdb
30891 .PHONY: install-gdb maybe-install-gdb
30892 maybe-install-gdb:
30893 @if gdb
30894 maybe-install-gdb: install-gdb
30896 install-gdb: installdirs
30897 @: $(MAKE); $(unstage)
30898 @r=`${PWD_COMMAND}`; export r; \
30899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30900 $(HOST_EXPORTS) \
30901 (cd $(HOST_SUBDIR)/gdb && \
30902 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30904 @endif gdb
30906 # Other targets (info, dvi, pdf, etc.)
30908 .PHONY: maybe-info-gdb info-gdb
30909 maybe-info-gdb:
30910 @if gdb
30911 maybe-info-gdb: info-gdb
30913 info-gdb: \
30914 configure-gdb
30915 @: $(MAKE); $(unstage)
30916 @[ -f ./gdb/Makefile ] || exit 0; \
30917 r=`${PWD_COMMAND}`; export r; \
30918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30919 $(HOST_EXPORTS) \
30920 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30922 done; \
30923 echo "Doing info in gdb" ; \
30924 (cd $(HOST_SUBDIR)/gdb && \
30925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30927 "RANLIB=$${RANLIB}" \
30928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30929 info) \
30930 || exit 1
30932 @endif gdb
30934 .PHONY: maybe-dvi-gdb dvi-gdb
30935 maybe-dvi-gdb:
30936 @if gdb
30937 maybe-dvi-gdb: dvi-gdb
30939 dvi-gdb: \
30940 configure-gdb
30941 @: $(MAKE); $(unstage)
30942 @[ -f ./gdb/Makefile ] || exit 0; \
30943 r=`${PWD_COMMAND}`; export r; \
30944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30945 $(HOST_EXPORTS) \
30946 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30948 done; \
30949 echo "Doing dvi in gdb" ; \
30950 (cd $(HOST_SUBDIR)/gdb && \
30951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30953 "RANLIB=$${RANLIB}" \
30954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30955 dvi) \
30956 || exit 1
30958 @endif gdb
30960 .PHONY: maybe-pdf-gdb pdf-gdb
30961 maybe-pdf-gdb:
30962 @if gdb
30963 maybe-pdf-gdb: pdf-gdb
30965 pdf-gdb: \
30966 configure-gdb
30967 @: $(MAKE); $(unstage)
30968 @[ -f ./gdb/Makefile ] || exit 0; \
30969 r=`${PWD_COMMAND}`; export r; \
30970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30971 $(HOST_EXPORTS) \
30972 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30974 done; \
30975 echo "Doing pdf in gdb" ; \
30976 (cd $(HOST_SUBDIR)/gdb && \
30977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30979 "RANLIB=$${RANLIB}" \
30980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30981 pdf) \
30982 || exit 1
30984 @endif gdb
30986 .PHONY: maybe-html-gdb html-gdb
30987 maybe-html-gdb:
30988 @if gdb
30989 maybe-html-gdb: html-gdb
30991 html-gdb: \
30992 configure-gdb
30993 @: $(MAKE); $(unstage)
30994 @[ -f ./gdb/Makefile ] || exit 0; \
30995 r=`${PWD_COMMAND}`; export r; \
30996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30997 $(HOST_EXPORTS) \
30998 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31000 done; \
31001 echo "Doing html in gdb" ; \
31002 (cd $(HOST_SUBDIR)/gdb && \
31003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31005 "RANLIB=$${RANLIB}" \
31006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31007 html) \
31008 || exit 1
31010 @endif gdb
31012 .PHONY: maybe-TAGS-gdb TAGS-gdb
31013 maybe-TAGS-gdb:
31014 @if gdb
31015 maybe-TAGS-gdb: TAGS-gdb
31017 TAGS-gdb: \
31018 configure-gdb
31019 @: $(MAKE); $(unstage)
31020 @[ -f ./gdb/Makefile ] || exit 0; \
31021 r=`${PWD_COMMAND}`; export r; \
31022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31023 $(HOST_EXPORTS) \
31024 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31026 done; \
31027 echo "Doing TAGS in gdb" ; \
31028 (cd $(HOST_SUBDIR)/gdb && \
31029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31031 "RANLIB=$${RANLIB}" \
31032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31033 TAGS) \
31034 || exit 1
31036 @endif gdb
31038 .PHONY: maybe-install-info-gdb install-info-gdb
31039 maybe-install-info-gdb:
31040 @if gdb
31041 maybe-install-info-gdb: install-info-gdb
31043 install-info-gdb: \
31044 configure-gdb \
31045 info-gdb
31046 @: $(MAKE); $(unstage)
31047 @[ -f ./gdb/Makefile ] || exit 0; \
31048 r=`${PWD_COMMAND}`; export r; \
31049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31050 $(HOST_EXPORTS) \
31051 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31053 done; \
31054 echo "Doing install-info in gdb" ; \
31055 (cd $(HOST_SUBDIR)/gdb && \
31056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31058 "RANLIB=$${RANLIB}" \
31059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31060 install-info) \
31061 || exit 1
31063 @endif gdb
31065 .PHONY: maybe-install-html-gdb install-html-gdb
31066 maybe-install-html-gdb:
31067 @if gdb
31068 maybe-install-html-gdb: install-html-gdb
31070 install-html-gdb: \
31071 configure-gdb \
31072 html-gdb
31073 @: $(MAKE); $(unstage)
31074 @[ -f ./gdb/Makefile ] || exit 0; \
31075 r=`${PWD_COMMAND}`; export r; \
31076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31077 $(HOST_EXPORTS) \
31078 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31080 done; \
31081 echo "Doing install-html in gdb" ; \
31082 (cd $(HOST_SUBDIR)/gdb && \
31083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31085 "RANLIB=$${RANLIB}" \
31086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31087 install-html) \
31088 || exit 1
31090 @endif gdb
31092 .PHONY: maybe-installcheck-gdb installcheck-gdb
31093 maybe-installcheck-gdb:
31094 @if gdb
31095 maybe-installcheck-gdb: installcheck-gdb
31097 installcheck-gdb: \
31098 configure-gdb
31099 @: $(MAKE); $(unstage)
31100 @[ -f ./gdb/Makefile ] || exit 0; \
31101 r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(HOST_EXPORTS) \
31104 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31106 done; \
31107 echo "Doing installcheck in gdb" ; \
31108 (cd $(HOST_SUBDIR)/gdb && \
31109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31111 "RANLIB=$${RANLIB}" \
31112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31113 installcheck) \
31114 || exit 1
31116 @endif gdb
31118 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31119 maybe-mostlyclean-gdb:
31120 @if gdb
31121 maybe-mostlyclean-gdb: mostlyclean-gdb
31123 mostlyclean-gdb:
31124 @: $(MAKE); $(unstage)
31125 @[ -f ./gdb/Makefile ] || exit 0; \
31126 r=`${PWD_COMMAND}`; export r; \
31127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31128 $(HOST_EXPORTS) \
31129 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31131 done; \
31132 echo "Doing mostlyclean in gdb" ; \
31133 (cd $(HOST_SUBDIR)/gdb && \
31134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31136 "RANLIB=$${RANLIB}" \
31137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31138 mostlyclean) \
31139 || exit 1
31141 @endif gdb
31143 .PHONY: maybe-clean-gdb clean-gdb
31144 maybe-clean-gdb:
31145 @if gdb
31146 maybe-clean-gdb: clean-gdb
31148 clean-gdb:
31149 @: $(MAKE); $(unstage)
31150 @[ -f ./gdb/Makefile ] || exit 0; \
31151 r=`${PWD_COMMAND}`; export r; \
31152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31153 $(HOST_EXPORTS) \
31154 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 echo "Doing clean in gdb" ; \
31158 (cd $(HOST_SUBDIR)/gdb && \
31159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31161 "RANLIB=$${RANLIB}" \
31162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31163 clean) \
31164 || exit 1
31166 @endif gdb
31168 .PHONY: maybe-distclean-gdb distclean-gdb
31169 maybe-distclean-gdb:
31170 @if gdb
31171 maybe-distclean-gdb: distclean-gdb
31173 distclean-gdb:
31174 @: $(MAKE); $(unstage)
31175 @[ -f ./gdb/Makefile ] || exit 0; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(HOST_EXPORTS) \
31179 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31181 done; \
31182 echo "Doing distclean in gdb" ; \
31183 (cd $(HOST_SUBDIR)/gdb && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31188 distclean) \
31189 || exit 1
31191 @endif gdb
31193 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31194 maybe-maintainer-clean-gdb:
31195 @if gdb
31196 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31198 maintainer-clean-gdb:
31199 @: $(MAKE); $(unstage)
31200 @[ -f ./gdb/Makefile ] || exit 0; \
31201 r=`${PWD_COMMAND}`; export r; \
31202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31203 $(HOST_EXPORTS) \
31204 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31206 done; \
31207 echo "Doing maintainer-clean in gdb" ; \
31208 (cd $(HOST_SUBDIR)/gdb && \
31209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31211 "RANLIB=$${RANLIB}" \
31212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31213 maintainer-clean) \
31214 || exit 1
31216 @endif gdb
31220 .PHONY: configure-expect maybe-configure-expect
31221 maybe-configure-expect:
31222 @if gcc-bootstrap
31223 configure-expect: stage_current
31224 @endif gcc-bootstrap
31225 @if expect
31226 maybe-configure-expect: configure-expect
31227 configure-expect:
31228 @: $(MAKE); $(unstage)
31229 @r=`${PWD_COMMAND}`; export r; \
31230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31231 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
31233 $(HOST_EXPORTS) \
31234 echo Configuring in $(HOST_SUBDIR)/expect; \
31235 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31236 case $(srcdir) in \
31237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31238 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31240 esac; \
31241 srcdiroption="--srcdir=$${topdir}/expect"; \
31242 libsrcdir="$$s/expect"; \
31243 $(SHELL) $${libsrcdir}/configure \
31244 $(HOST_CONFIGARGS) $${srcdiroption} \
31245 || exit 1
31246 @endif expect
31252 .PHONY: all-expect maybe-all-expect
31253 maybe-all-expect:
31254 @if gcc-bootstrap
31255 all-expect: stage_current
31256 @endif gcc-bootstrap
31257 @if expect
31258 TARGET-expect=all
31259 maybe-all-expect: all-expect
31260 all-expect: configure-expect
31261 @: $(MAKE); $(unstage)
31262 @r=`${PWD_COMMAND}`; export r; \
31263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31264 $(HOST_EXPORTS) \
31265 (cd $(HOST_SUBDIR)/expect && \
31266 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
31267 @endif expect
31272 .PHONY: check-expect maybe-check-expect
31273 maybe-check-expect:
31274 @if expect
31275 maybe-check-expect: check-expect
31277 check-expect:
31278 @: $(MAKE); $(unstage)
31279 @r=`${PWD_COMMAND}`; export r; \
31280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31281 $(HOST_EXPORTS) \
31282 (cd $(HOST_SUBDIR)/expect && \
31283 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31285 @endif expect
31287 .PHONY: install-expect maybe-install-expect
31288 maybe-install-expect:
31289 @if expect
31290 maybe-install-expect: install-expect
31292 install-expect: installdirs
31293 @: $(MAKE); $(unstage)
31294 @r=`${PWD_COMMAND}`; export r; \
31295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31296 $(HOST_EXPORTS) \
31297 (cd $(HOST_SUBDIR)/expect && \
31298 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31300 @endif expect
31302 # Other targets (info, dvi, pdf, etc.)
31304 .PHONY: maybe-info-expect info-expect
31305 maybe-info-expect:
31306 @if expect
31307 maybe-info-expect: info-expect
31309 info-expect: \
31310 configure-expect
31311 @: $(MAKE); $(unstage)
31312 @[ -f ./expect/Makefile ] || exit 0; \
31313 r=`${PWD_COMMAND}`; export r; \
31314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31315 $(HOST_EXPORTS) \
31316 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31318 done; \
31319 echo "Doing info in expect" ; \
31320 (cd $(HOST_SUBDIR)/expect && \
31321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31323 "RANLIB=$${RANLIB}" \
31324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31325 info) \
31326 || exit 1
31328 @endif expect
31330 .PHONY: maybe-dvi-expect dvi-expect
31331 maybe-dvi-expect:
31332 @if expect
31333 maybe-dvi-expect: dvi-expect
31335 dvi-expect: \
31336 configure-expect
31337 @: $(MAKE); $(unstage)
31338 @[ -f ./expect/Makefile ] || exit 0; \
31339 r=`${PWD_COMMAND}`; export r; \
31340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31341 $(HOST_EXPORTS) \
31342 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31344 done; \
31345 echo "Doing dvi in expect" ; \
31346 (cd $(HOST_SUBDIR)/expect && \
31347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31349 "RANLIB=$${RANLIB}" \
31350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31351 dvi) \
31352 || exit 1
31354 @endif expect
31356 .PHONY: maybe-pdf-expect pdf-expect
31357 maybe-pdf-expect:
31358 @if expect
31359 maybe-pdf-expect: pdf-expect
31361 pdf-expect: \
31362 configure-expect
31363 @: $(MAKE); $(unstage)
31364 @[ -f ./expect/Makefile ] || exit 0; \
31365 r=`${PWD_COMMAND}`; export r; \
31366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31367 $(HOST_EXPORTS) \
31368 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31370 done; \
31371 echo "Doing pdf in expect" ; \
31372 (cd $(HOST_SUBDIR)/expect && \
31373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31375 "RANLIB=$${RANLIB}" \
31376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31377 pdf) \
31378 || exit 1
31380 @endif expect
31382 .PHONY: maybe-html-expect html-expect
31383 maybe-html-expect:
31384 @if expect
31385 maybe-html-expect: html-expect
31387 html-expect: \
31388 configure-expect
31389 @: $(MAKE); $(unstage)
31390 @[ -f ./expect/Makefile ] || exit 0; \
31391 r=`${PWD_COMMAND}`; export r; \
31392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31393 $(HOST_EXPORTS) \
31394 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31396 done; \
31397 echo "Doing html in expect" ; \
31398 (cd $(HOST_SUBDIR)/expect && \
31399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31401 "RANLIB=$${RANLIB}" \
31402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31403 html) \
31404 || exit 1
31406 @endif expect
31408 .PHONY: maybe-TAGS-expect TAGS-expect
31409 maybe-TAGS-expect:
31410 @if expect
31411 maybe-TAGS-expect: TAGS-expect
31413 TAGS-expect: \
31414 configure-expect
31415 @: $(MAKE); $(unstage)
31416 @[ -f ./expect/Makefile ] || exit 0; \
31417 r=`${PWD_COMMAND}`; export r; \
31418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31419 $(HOST_EXPORTS) \
31420 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31422 done; \
31423 echo "Doing TAGS in expect" ; \
31424 (cd $(HOST_SUBDIR)/expect && \
31425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31427 "RANLIB=$${RANLIB}" \
31428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31429 TAGS) \
31430 || exit 1
31432 @endif expect
31434 .PHONY: maybe-install-info-expect install-info-expect
31435 maybe-install-info-expect:
31436 @if expect
31437 maybe-install-info-expect: install-info-expect
31439 install-info-expect: \
31440 configure-expect \
31441 info-expect
31442 @: $(MAKE); $(unstage)
31443 @[ -f ./expect/Makefile ] || exit 0; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(HOST_EXPORTS) \
31447 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31449 done; \
31450 echo "Doing install-info in expect" ; \
31451 (cd $(HOST_SUBDIR)/expect && \
31452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31454 "RANLIB=$${RANLIB}" \
31455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31456 install-info) \
31457 || exit 1
31459 @endif expect
31461 .PHONY: maybe-install-html-expect install-html-expect
31462 maybe-install-html-expect:
31463 @if expect
31464 maybe-install-html-expect: install-html-expect
31466 install-html-expect: \
31467 configure-expect \
31468 html-expect
31469 @: $(MAKE); $(unstage)
31470 @[ -f ./expect/Makefile ] || exit 0; \
31471 r=`${PWD_COMMAND}`; export r; \
31472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31473 $(HOST_EXPORTS) \
31474 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31476 done; \
31477 echo "Doing install-html in expect" ; \
31478 (cd $(HOST_SUBDIR)/expect && \
31479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31481 "RANLIB=$${RANLIB}" \
31482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31483 install-html) \
31484 || exit 1
31486 @endif expect
31488 .PHONY: maybe-installcheck-expect installcheck-expect
31489 maybe-installcheck-expect:
31490 @if expect
31491 maybe-installcheck-expect: installcheck-expect
31493 installcheck-expect: \
31494 configure-expect
31495 @: $(MAKE); $(unstage)
31496 @[ -f ./expect/Makefile ] || exit 0; \
31497 r=`${PWD_COMMAND}`; export r; \
31498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31499 $(HOST_EXPORTS) \
31500 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31502 done; \
31503 echo "Doing installcheck in expect" ; \
31504 (cd $(HOST_SUBDIR)/expect && \
31505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31507 "RANLIB=$${RANLIB}" \
31508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31509 installcheck) \
31510 || exit 1
31512 @endif expect
31514 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
31515 maybe-mostlyclean-expect:
31516 @if expect
31517 maybe-mostlyclean-expect: mostlyclean-expect
31519 mostlyclean-expect:
31520 @: $(MAKE); $(unstage)
31521 @[ -f ./expect/Makefile ] || exit 0; \
31522 r=`${PWD_COMMAND}`; export r; \
31523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31524 $(HOST_EXPORTS) \
31525 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31527 done; \
31528 echo "Doing mostlyclean in expect" ; \
31529 (cd $(HOST_SUBDIR)/expect && \
31530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31532 "RANLIB=$${RANLIB}" \
31533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31534 mostlyclean) \
31535 || exit 1
31537 @endif expect
31539 .PHONY: maybe-clean-expect clean-expect
31540 maybe-clean-expect:
31541 @if expect
31542 maybe-clean-expect: clean-expect
31544 clean-expect:
31545 @: $(MAKE); $(unstage)
31546 @[ -f ./expect/Makefile ] || exit 0; \
31547 r=`${PWD_COMMAND}`; export r; \
31548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31549 $(HOST_EXPORTS) \
31550 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31552 done; \
31553 echo "Doing clean in expect" ; \
31554 (cd $(HOST_SUBDIR)/expect && \
31555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31557 "RANLIB=$${RANLIB}" \
31558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31559 clean) \
31560 || exit 1
31562 @endif expect
31564 .PHONY: maybe-distclean-expect distclean-expect
31565 maybe-distclean-expect:
31566 @if expect
31567 maybe-distclean-expect: distclean-expect
31569 distclean-expect:
31570 @: $(MAKE); $(unstage)
31571 @[ -f ./expect/Makefile ] || exit 0; \
31572 r=`${PWD_COMMAND}`; export r; \
31573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31574 $(HOST_EXPORTS) \
31575 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31577 done; \
31578 echo "Doing distclean in expect" ; \
31579 (cd $(HOST_SUBDIR)/expect && \
31580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31582 "RANLIB=$${RANLIB}" \
31583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31584 distclean) \
31585 || exit 1
31587 @endif expect
31589 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
31590 maybe-maintainer-clean-expect:
31591 @if expect
31592 maybe-maintainer-clean-expect: maintainer-clean-expect
31594 maintainer-clean-expect:
31595 @: $(MAKE); $(unstage)
31596 @[ -f ./expect/Makefile ] || exit 0; \
31597 r=`${PWD_COMMAND}`; export r; \
31598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31599 $(HOST_EXPORTS) \
31600 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31602 done; \
31603 echo "Doing maintainer-clean in expect" ; \
31604 (cd $(HOST_SUBDIR)/expect && \
31605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31607 "RANLIB=$${RANLIB}" \
31608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31609 maintainer-clean) \
31610 || exit 1
31612 @endif expect
31616 .PHONY: configure-guile maybe-configure-guile
31617 maybe-configure-guile:
31618 @if gcc-bootstrap
31619 configure-guile: stage_current
31620 @endif gcc-bootstrap
31621 @if guile
31622 maybe-configure-guile: configure-guile
31623 configure-guile:
31624 @: $(MAKE); $(unstage)
31625 @r=`${PWD_COMMAND}`; export r; \
31626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31627 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
31628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
31629 $(HOST_EXPORTS) \
31630 echo Configuring in $(HOST_SUBDIR)/guile; \
31631 cd "$(HOST_SUBDIR)/guile" || exit 1; \
31632 case $(srcdir) in \
31633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31634 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
31635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31636 esac; \
31637 srcdiroption="--srcdir=$${topdir}/guile"; \
31638 libsrcdir="$$s/guile"; \
31639 $(SHELL) $${libsrcdir}/configure \
31640 $(HOST_CONFIGARGS) $${srcdiroption} \
31641 || exit 1
31642 @endif guile
31648 .PHONY: all-guile maybe-all-guile
31649 maybe-all-guile:
31650 @if gcc-bootstrap
31651 all-guile: stage_current
31652 @endif gcc-bootstrap
31653 @if guile
31654 TARGET-guile=all
31655 maybe-all-guile: all-guile
31656 all-guile: configure-guile
31657 @: $(MAKE); $(unstage)
31658 @r=`${PWD_COMMAND}`; export r; \
31659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31660 $(HOST_EXPORTS) \
31661 (cd $(HOST_SUBDIR)/guile && \
31662 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
31663 @endif guile
31668 .PHONY: check-guile maybe-check-guile
31669 maybe-check-guile:
31670 @if guile
31671 maybe-check-guile: check-guile
31673 check-guile:
31674 @: $(MAKE); $(unstage)
31675 @r=`${PWD_COMMAND}`; export r; \
31676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31677 $(HOST_EXPORTS) \
31678 (cd $(HOST_SUBDIR)/guile && \
31679 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31681 @endif guile
31683 .PHONY: install-guile maybe-install-guile
31684 maybe-install-guile:
31685 @if guile
31686 maybe-install-guile: install-guile
31688 install-guile: installdirs
31689 @: $(MAKE); $(unstage)
31690 @r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 $(HOST_EXPORTS) \
31693 (cd $(HOST_SUBDIR)/guile && \
31694 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31696 @endif guile
31698 # Other targets (info, dvi, pdf, etc.)
31700 .PHONY: maybe-info-guile info-guile
31701 maybe-info-guile:
31702 @if guile
31703 maybe-info-guile: info-guile
31705 info-guile: \
31706 configure-guile
31707 @: $(MAKE); $(unstage)
31708 @[ -f ./guile/Makefile ] || exit 0; \
31709 r=`${PWD_COMMAND}`; export r; \
31710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31711 $(HOST_EXPORTS) \
31712 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31714 done; \
31715 echo "Doing info in guile" ; \
31716 (cd $(HOST_SUBDIR)/guile && \
31717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31719 "RANLIB=$${RANLIB}" \
31720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31721 info) \
31722 || exit 1
31724 @endif guile
31726 .PHONY: maybe-dvi-guile dvi-guile
31727 maybe-dvi-guile:
31728 @if guile
31729 maybe-dvi-guile: dvi-guile
31731 dvi-guile: \
31732 configure-guile
31733 @: $(MAKE); $(unstage)
31734 @[ -f ./guile/Makefile ] || exit 0; \
31735 r=`${PWD_COMMAND}`; export r; \
31736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31737 $(HOST_EXPORTS) \
31738 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31740 done; \
31741 echo "Doing dvi in guile" ; \
31742 (cd $(HOST_SUBDIR)/guile && \
31743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31745 "RANLIB=$${RANLIB}" \
31746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31747 dvi) \
31748 || exit 1
31750 @endif guile
31752 .PHONY: maybe-pdf-guile pdf-guile
31753 maybe-pdf-guile:
31754 @if guile
31755 maybe-pdf-guile: pdf-guile
31757 pdf-guile: \
31758 configure-guile
31759 @: $(MAKE); $(unstage)
31760 @[ -f ./guile/Makefile ] || exit 0; \
31761 r=`${PWD_COMMAND}`; export r; \
31762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31763 $(HOST_EXPORTS) \
31764 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31766 done; \
31767 echo "Doing pdf in guile" ; \
31768 (cd $(HOST_SUBDIR)/guile && \
31769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31771 "RANLIB=$${RANLIB}" \
31772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31773 pdf) \
31774 || exit 1
31776 @endif guile
31778 .PHONY: maybe-html-guile html-guile
31779 maybe-html-guile:
31780 @if guile
31781 maybe-html-guile: html-guile
31783 html-guile: \
31784 configure-guile
31785 @: $(MAKE); $(unstage)
31786 @[ -f ./guile/Makefile ] || exit 0; \
31787 r=`${PWD_COMMAND}`; export r; \
31788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31789 $(HOST_EXPORTS) \
31790 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31792 done; \
31793 echo "Doing html in guile" ; \
31794 (cd $(HOST_SUBDIR)/guile && \
31795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31797 "RANLIB=$${RANLIB}" \
31798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31799 html) \
31800 || exit 1
31802 @endif guile
31804 .PHONY: maybe-TAGS-guile TAGS-guile
31805 maybe-TAGS-guile:
31806 @if guile
31807 maybe-TAGS-guile: TAGS-guile
31809 TAGS-guile: \
31810 configure-guile
31811 @: $(MAKE); $(unstage)
31812 @[ -f ./guile/Makefile ] || exit 0; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(HOST_EXPORTS) \
31816 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31818 done; \
31819 echo "Doing TAGS in guile" ; \
31820 (cd $(HOST_SUBDIR)/guile && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31825 TAGS) \
31826 || exit 1
31828 @endif guile
31830 .PHONY: maybe-install-info-guile install-info-guile
31831 maybe-install-info-guile:
31832 @if guile
31833 maybe-install-info-guile: install-info-guile
31835 install-info-guile: \
31836 configure-guile \
31837 info-guile
31838 @: $(MAKE); $(unstage)
31839 @[ -f ./guile/Makefile ] || exit 0; \
31840 r=`${PWD_COMMAND}`; export r; \
31841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31842 $(HOST_EXPORTS) \
31843 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31845 done; \
31846 echo "Doing install-info in guile" ; \
31847 (cd $(HOST_SUBDIR)/guile && \
31848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31850 "RANLIB=$${RANLIB}" \
31851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31852 install-info) \
31853 || exit 1
31855 @endif guile
31857 .PHONY: maybe-install-html-guile install-html-guile
31858 maybe-install-html-guile:
31859 @if guile
31860 maybe-install-html-guile: install-html-guile
31862 install-html-guile: \
31863 configure-guile \
31864 html-guile
31865 @: $(MAKE); $(unstage)
31866 @[ -f ./guile/Makefile ] || exit 0; \
31867 r=`${PWD_COMMAND}`; export r; \
31868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31869 $(HOST_EXPORTS) \
31870 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31872 done; \
31873 echo "Doing install-html in guile" ; \
31874 (cd $(HOST_SUBDIR)/guile && \
31875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31877 "RANLIB=$${RANLIB}" \
31878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31879 install-html) \
31880 || exit 1
31882 @endif guile
31884 .PHONY: maybe-installcheck-guile installcheck-guile
31885 maybe-installcheck-guile:
31886 @if guile
31887 maybe-installcheck-guile: installcheck-guile
31889 installcheck-guile: \
31890 configure-guile
31891 @: $(MAKE); $(unstage)
31892 @[ -f ./guile/Makefile ] || exit 0; \
31893 r=`${PWD_COMMAND}`; export r; \
31894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31895 $(HOST_EXPORTS) \
31896 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31898 done; \
31899 echo "Doing installcheck in guile" ; \
31900 (cd $(HOST_SUBDIR)/guile && \
31901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31903 "RANLIB=$${RANLIB}" \
31904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31905 installcheck) \
31906 || exit 1
31908 @endif guile
31910 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
31911 maybe-mostlyclean-guile:
31912 @if guile
31913 maybe-mostlyclean-guile: mostlyclean-guile
31915 mostlyclean-guile:
31916 @: $(MAKE); $(unstage)
31917 @[ -f ./guile/Makefile ] || exit 0; \
31918 r=`${PWD_COMMAND}`; export r; \
31919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31920 $(HOST_EXPORTS) \
31921 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31923 done; \
31924 echo "Doing mostlyclean in guile" ; \
31925 (cd $(HOST_SUBDIR)/guile && \
31926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31928 "RANLIB=$${RANLIB}" \
31929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31930 mostlyclean) \
31931 || exit 1
31933 @endif guile
31935 .PHONY: maybe-clean-guile clean-guile
31936 maybe-clean-guile:
31937 @if guile
31938 maybe-clean-guile: clean-guile
31940 clean-guile:
31941 @: $(MAKE); $(unstage)
31942 @[ -f ./guile/Makefile ] || exit 0; \
31943 r=`${PWD_COMMAND}`; export r; \
31944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31945 $(HOST_EXPORTS) \
31946 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31948 done; \
31949 echo "Doing clean in guile" ; \
31950 (cd $(HOST_SUBDIR)/guile && \
31951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31953 "RANLIB=$${RANLIB}" \
31954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31955 clean) \
31956 || exit 1
31958 @endif guile
31960 .PHONY: maybe-distclean-guile distclean-guile
31961 maybe-distclean-guile:
31962 @if guile
31963 maybe-distclean-guile: distclean-guile
31965 distclean-guile:
31966 @: $(MAKE); $(unstage)
31967 @[ -f ./guile/Makefile ] || exit 0; \
31968 r=`${PWD_COMMAND}`; export r; \
31969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31970 $(HOST_EXPORTS) \
31971 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31973 done; \
31974 echo "Doing distclean in guile" ; \
31975 (cd $(HOST_SUBDIR)/guile && \
31976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31978 "RANLIB=$${RANLIB}" \
31979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31980 distclean) \
31981 || exit 1
31983 @endif guile
31985 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
31986 maybe-maintainer-clean-guile:
31987 @if guile
31988 maybe-maintainer-clean-guile: maintainer-clean-guile
31990 maintainer-clean-guile:
31991 @: $(MAKE); $(unstage)
31992 @[ -f ./guile/Makefile ] || exit 0; \
31993 r=`${PWD_COMMAND}`; export r; \
31994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31995 $(HOST_EXPORTS) \
31996 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31998 done; \
31999 echo "Doing maintainer-clean in guile" ; \
32000 (cd $(HOST_SUBDIR)/guile && \
32001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32003 "RANLIB=$${RANLIB}" \
32004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32005 maintainer-clean) \
32006 || exit 1
32008 @endif guile
32012 .PHONY: configure-tk maybe-configure-tk
32013 maybe-configure-tk:
32014 @if gcc-bootstrap
32015 configure-tk: stage_current
32016 @endif gcc-bootstrap
32017 @if tk
32018 maybe-configure-tk: configure-tk
32019 configure-tk:
32020 @: $(MAKE); $(unstage)
32021 @r=`${PWD_COMMAND}`; export r; \
32022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32023 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
32025 $(HOST_EXPORTS) \
32026 echo Configuring in $(HOST_SUBDIR)/tk; \
32027 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32028 case $(srcdir) in \
32029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32030 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32032 esac; \
32033 srcdiroption="--srcdir=$${topdir}/tk"; \
32034 libsrcdir="$$s/tk"; \
32035 $(SHELL) $${libsrcdir}/configure \
32036 $(HOST_CONFIGARGS) $${srcdiroption} \
32037 || exit 1
32038 @endif tk
32044 .PHONY: all-tk maybe-all-tk
32045 maybe-all-tk:
32046 @if gcc-bootstrap
32047 all-tk: stage_current
32048 @endif gcc-bootstrap
32049 @if tk
32050 TARGET-tk=all
32051 maybe-all-tk: all-tk
32052 all-tk: configure-tk
32053 @: $(MAKE); $(unstage)
32054 @r=`${PWD_COMMAND}`; export r; \
32055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32056 $(HOST_EXPORTS) \
32057 (cd $(HOST_SUBDIR)/tk && \
32058 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
32059 @endif tk
32064 .PHONY: check-tk maybe-check-tk
32065 maybe-check-tk:
32066 @if tk
32067 maybe-check-tk: check-tk
32069 check-tk:
32070 @: $(MAKE); $(unstage)
32071 @r=`${PWD_COMMAND}`; export r; \
32072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32073 $(HOST_EXPORTS) \
32074 (cd $(HOST_SUBDIR)/tk && \
32075 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32077 @endif tk
32079 .PHONY: install-tk maybe-install-tk
32080 maybe-install-tk:
32081 @if tk
32082 maybe-install-tk: install-tk
32084 install-tk: installdirs
32085 @: $(MAKE); $(unstage)
32086 @r=`${PWD_COMMAND}`; export r; \
32087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32088 $(HOST_EXPORTS) \
32089 (cd $(HOST_SUBDIR)/tk && \
32090 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32092 @endif tk
32094 # Other targets (info, dvi, pdf, etc.)
32096 .PHONY: maybe-info-tk info-tk
32097 maybe-info-tk:
32098 @if tk
32099 maybe-info-tk: info-tk
32101 info-tk: \
32102 configure-tk
32103 @: $(MAKE); $(unstage)
32104 @[ -f ./tk/Makefile ] || exit 0; \
32105 r=`${PWD_COMMAND}`; export r; \
32106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32107 $(HOST_EXPORTS) \
32108 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32110 done; \
32111 echo "Doing info in tk" ; \
32112 (cd $(HOST_SUBDIR)/tk && \
32113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32115 "RANLIB=$${RANLIB}" \
32116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32117 info) \
32118 || exit 1
32120 @endif tk
32122 .PHONY: maybe-dvi-tk dvi-tk
32123 maybe-dvi-tk:
32124 @if tk
32125 maybe-dvi-tk: dvi-tk
32127 dvi-tk: \
32128 configure-tk
32129 @: $(MAKE); $(unstage)
32130 @[ -f ./tk/Makefile ] || exit 0; \
32131 r=`${PWD_COMMAND}`; export r; \
32132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32133 $(HOST_EXPORTS) \
32134 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32136 done; \
32137 echo "Doing dvi in tk" ; \
32138 (cd $(HOST_SUBDIR)/tk && \
32139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32141 "RANLIB=$${RANLIB}" \
32142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32143 dvi) \
32144 || exit 1
32146 @endif tk
32148 .PHONY: maybe-pdf-tk pdf-tk
32149 maybe-pdf-tk:
32150 @if tk
32151 maybe-pdf-tk: pdf-tk
32153 pdf-tk: \
32154 configure-tk
32155 @: $(MAKE); $(unstage)
32156 @[ -f ./tk/Makefile ] || exit 0; \
32157 r=`${PWD_COMMAND}`; export r; \
32158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32159 $(HOST_EXPORTS) \
32160 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32162 done; \
32163 echo "Doing pdf in tk" ; \
32164 (cd $(HOST_SUBDIR)/tk && \
32165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32167 "RANLIB=$${RANLIB}" \
32168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32169 pdf) \
32170 || exit 1
32172 @endif tk
32174 .PHONY: maybe-html-tk html-tk
32175 maybe-html-tk:
32176 @if tk
32177 maybe-html-tk: html-tk
32179 html-tk: \
32180 configure-tk
32181 @: $(MAKE); $(unstage)
32182 @[ -f ./tk/Makefile ] || exit 0; \
32183 r=`${PWD_COMMAND}`; export r; \
32184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32185 $(HOST_EXPORTS) \
32186 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32188 done; \
32189 echo "Doing html in tk" ; \
32190 (cd $(HOST_SUBDIR)/tk && \
32191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32193 "RANLIB=$${RANLIB}" \
32194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32195 html) \
32196 || exit 1
32198 @endif tk
32200 .PHONY: maybe-TAGS-tk TAGS-tk
32201 maybe-TAGS-tk:
32202 @if tk
32203 maybe-TAGS-tk: TAGS-tk
32205 TAGS-tk: \
32206 configure-tk
32207 @: $(MAKE); $(unstage)
32208 @[ -f ./tk/Makefile ] || exit 0; \
32209 r=`${PWD_COMMAND}`; export r; \
32210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32211 $(HOST_EXPORTS) \
32212 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32214 done; \
32215 echo "Doing TAGS in tk" ; \
32216 (cd $(HOST_SUBDIR)/tk && \
32217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32219 "RANLIB=$${RANLIB}" \
32220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32221 TAGS) \
32222 || exit 1
32224 @endif tk
32226 .PHONY: maybe-install-info-tk install-info-tk
32227 maybe-install-info-tk:
32228 @if tk
32229 maybe-install-info-tk: install-info-tk
32231 install-info-tk: \
32232 configure-tk \
32233 info-tk
32234 @: $(MAKE); $(unstage)
32235 @[ -f ./tk/Makefile ] || exit 0; \
32236 r=`${PWD_COMMAND}`; export r; \
32237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32238 $(HOST_EXPORTS) \
32239 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32241 done; \
32242 echo "Doing install-info in tk" ; \
32243 (cd $(HOST_SUBDIR)/tk && \
32244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32246 "RANLIB=$${RANLIB}" \
32247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32248 install-info) \
32249 || exit 1
32251 @endif tk
32253 .PHONY: maybe-install-html-tk install-html-tk
32254 maybe-install-html-tk:
32255 @if tk
32256 maybe-install-html-tk: install-html-tk
32258 install-html-tk: \
32259 configure-tk \
32260 html-tk
32261 @: $(MAKE); $(unstage)
32262 @[ -f ./tk/Makefile ] || exit 0; \
32263 r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(HOST_EXPORTS) \
32266 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32268 done; \
32269 echo "Doing install-html in tk" ; \
32270 (cd $(HOST_SUBDIR)/tk && \
32271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32273 "RANLIB=$${RANLIB}" \
32274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32275 install-html) \
32276 || exit 1
32278 @endif tk
32280 .PHONY: maybe-installcheck-tk installcheck-tk
32281 maybe-installcheck-tk:
32282 @if tk
32283 maybe-installcheck-tk: installcheck-tk
32285 installcheck-tk: \
32286 configure-tk
32287 @: $(MAKE); $(unstage)
32288 @[ -f ./tk/Makefile ] || exit 0; \
32289 r=`${PWD_COMMAND}`; export r; \
32290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32291 $(HOST_EXPORTS) \
32292 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32294 done; \
32295 echo "Doing installcheck in tk" ; \
32296 (cd $(HOST_SUBDIR)/tk && \
32297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32299 "RANLIB=$${RANLIB}" \
32300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32301 installcheck) \
32302 || exit 1
32304 @endif tk
32306 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32307 maybe-mostlyclean-tk:
32308 @if tk
32309 maybe-mostlyclean-tk: mostlyclean-tk
32311 mostlyclean-tk:
32312 @: $(MAKE); $(unstage)
32313 @[ -f ./tk/Makefile ] || exit 0; \
32314 r=`${PWD_COMMAND}`; export r; \
32315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32316 $(HOST_EXPORTS) \
32317 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32319 done; \
32320 echo "Doing mostlyclean in tk" ; \
32321 (cd $(HOST_SUBDIR)/tk && \
32322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32324 "RANLIB=$${RANLIB}" \
32325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32326 mostlyclean) \
32327 || exit 1
32329 @endif tk
32331 .PHONY: maybe-clean-tk clean-tk
32332 maybe-clean-tk:
32333 @if tk
32334 maybe-clean-tk: clean-tk
32336 clean-tk:
32337 @: $(MAKE); $(unstage)
32338 @[ -f ./tk/Makefile ] || exit 0; \
32339 r=`${PWD_COMMAND}`; export r; \
32340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32341 $(HOST_EXPORTS) \
32342 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32344 done; \
32345 echo "Doing clean in tk" ; \
32346 (cd $(HOST_SUBDIR)/tk && \
32347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32349 "RANLIB=$${RANLIB}" \
32350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32351 clean) \
32352 || exit 1
32354 @endif tk
32356 .PHONY: maybe-distclean-tk distclean-tk
32357 maybe-distclean-tk:
32358 @if tk
32359 maybe-distclean-tk: distclean-tk
32361 distclean-tk:
32362 @: $(MAKE); $(unstage)
32363 @[ -f ./tk/Makefile ] || exit 0; \
32364 r=`${PWD_COMMAND}`; export r; \
32365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32366 $(HOST_EXPORTS) \
32367 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32369 done; \
32370 echo "Doing distclean in tk" ; \
32371 (cd $(HOST_SUBDIR)/tk && \
32372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32374 "RANLIB=$${RANLIB}" \
32375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32376 distclean) \
32377 || exit 1
32379 @endif tk
32381 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
32382 maybe-maintainer-clean-tk:
32383 @if tk
32384 maybe-maintainer-clean-tk: maintainer-clean-tk
32386 maintainer-clean-tk:
32387 @: $(MAKE); $(unstage)
32388 @[ -f ./tk/Makefile ] || exit 0; \
32389 r=`${PWD_COMMAND}`; export r; \
32390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32391 $(HOST_EXPORTS) \
32392 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32394 done; \
32395 echo "Doing maintainer-clean in tk" ; \
32396 (cd $(HOST_SUBDIR)/tk && \
32397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32399 "RANLIB=$${RANLIB}" \
32400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32401 maintainer-clean) \
32402 || exit 1
32404 @endif tk
32408 .PHONY: configure-libtermcap maybe-configure-libtermcap
32409 maybe-configure-libtermcap:
32410 @if gcc-bootstrap
32411 configure-libtermcap: stage_current
32412 @endif gcc-bootstrap
32413 @if libtermcap
32414 maybe-configure-libtermcap: configure-libtermcap
32415 configure-libtermcap:
32416 @: $(MAKE); $(unstage)
32417 @r=`${PWD_COMMAND}`; export r; \
32418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32419 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
32420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
32421 $(HOST_EXPORTS) \
32422 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
32423 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
32424 case $(srcdir) in \
32425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32426 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
32427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32428 esac; \
32429 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32430 libsrcdir="$$s/libtermcap"; \
32431 $(SHELL) $${libsrcdir}/configure \
32432 $(HOST_CONFIGARGS) $${srcdiroption} \
32433 || exit 1
32434 @endif libtermcap
32440 .PHONY: all-libtermcap maybe-all-libtermcap
32441 maybe-all-libtermcap:
32442 @if gcc-bootstrap
32443 all-libtermcap: stage_current
32444 @endif gcc-bootstrap
32445 @if libtermcap
32446 TARGET-libtermcap=all
32447 maybe-all-libtermcap: all-libtermcap
32448 all-libtermcap: configure-libtermcap
32449 @: $(MAKE); $(unstage)
32450 @r=`${PWD_COMMAND}`; export r; \
32451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32452 $(HOST_EXPORTS) \
32453 (cd $(HOST_SUBDIR)/libtermcap && \
32454 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
32455 @endif libtermcap
32460 .PHONY: check-libtermcap maybe-check-libtermcap
32461 maybe-check-libtermcap:
32462 @if libtermcap
32463 maybe-check-libtermcap: check-libtermcap
32465 check-libtermcap:
32467 @endif libtermcap
32469 .PHONY: install-libtermcap maybe-install-libtermcap
32470 maybe-install-libtermcap:
32471 @if libtermcap
32472 maybe-install-libtermcap: install-libtermcap
32474 install-libtermcap: installdirs
32475 @: $(MAKE); $(unstage)
32476 @r=`${PWD_COMMAND}`; export r; \
32477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32478 $(HOST_EXPORTS) \
32479 (cd $(HOST_SUBDIR)/libtermcap && \
32480 $(MAKE) $(FLAGS_TO_PASS) install)
32482 @endif libtermcap
32484 # Other targets (info, dvi, pdf, etc.)
32486 .PHONY: maybe-info-libtermcap info-libtermcap
32487 maybe-info-libtermcap:
32488 @if libtermcap
32489 maybe-info-libtermcap: info-libtermcap
32491 info-libtermcap: \
32492 configure-libtermcap
32493 @: $(MAKE); $(unstage)
32494 @[ -f ./libtermcap/Makefile ] || exit 0; \
32495 r=`${PWD_COMMAND}`; export r; \
32496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32497 $(HOST_EXPORTS) \
32498 for flag in $(EXTRA_HOST_FLAGS) ; do \
32499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32500 done; \
32501 echo "Doing info in libtermcap" ; \
32502 (cd $(HOST_SUBDIR)/libtermcap && \
32503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32505 "RANLIB=$${RANLIB}" \
32506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32507 info) \
32508 || exit 1
32510 @endif libtermcap
32512 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
32513 maybe-dvi-libtermcap:
32514 @if libtermcap
32515 maybe-dvi-libtermcap: dvi-libtermcap
32517 dvi-libtermcap: \
32518 configure-libtermcap
32519 @: $(MAKE); $(unstage)
32520 @[ -f ./libtermcap/Makefile ] || exit 0; \
32521 r=`${PWD_COMMAND}`; export r; \
32522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32523 $(HOST_EXPORTS) \
32524 for flag in $(EXTRA_HOST_FLAGS) ; do \
32525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32526 done; \
32527 echo "Doing dvi in libtermcap" ; \
32528 (cd $(HOST_SUBDIR)/libtermcap && \
32529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32531 "RANLIB=$${RANLIB}" \
32532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32533 dvi) \
32534 || exit 1
32536 @endif libtermcap
32538 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
32539 maybe-pdf-libtermcap:
32540 @if libtermcap
32541 maybe-pdf-libtermcap: pdf-libtermcap
32543 pdf-libtermcap: \
32544 configure-libtermcap
32545 @: $(MAKE); $(unstage)
32546 @[ -f ./libtermcap/Makefile ] || exit 0; \
32547 r=`${PWD_COMMAND}`; export r; \
32548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32549 $(HOST_EXPORTS) \
32550 for flag in $(EXTRA_HOST_FLAGS) ; do \
32551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32552 done; \
32553 echo "Doing pdf in libtermcap" ; \
32554 (cd $(HOST_SUBDIR)/libtermcap && \
32555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32557 "RANLIB=$${RANLIB}" \
32558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32559 pdf) \
32560 || exit 1
32562 @endif libtermcap
32564 .PHONY: maybe-html-libtermcap html-libtermcap
32565 maybe-html-libtermcap:
32566 @if libtermcap
32567 maybe-html-libtermcap: html-libtermcap
32569 html-libtermcap: \
32570 configure-libtermcap
32571 @: $(MAKE); $(unstage)
32572 @[ -f ./libtermcap/Makefile ] || exit 0; \
32573 r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 $(HOST_EXPORTS) \
32576 for flag in $(EXTRA_HOST_FLAGS) ; do \
32577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32578 done; \
32579 echo "Doing html in libtermcap" ; \
32580 (cd $(HOST_SUBDIR)/libtermcap && \
32581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32583 "RANLIB=$${RANLIB}" \
32584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32585 html) \
32586 || exit 1
32588 @endif libtermcap
32590 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
32591 maybe-TAGS-libtermcap:
32592 @if libtermcap
32593 maybe-TAGS-libtermcap: TAGS-libtermcap
32595 TAGS-libtermcap: \
32596 configure-libtermcap
32597 @: $(MAKE); $(unstage)
32598 @[ -f ./libtermcap/Makefile ] || exit 0; \
32599 r=`${PWD_COMMAND}`; export r; \
32600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32601 $(HOST_EXPORTS) \
32602 for flag in $(EXTRA_HOST_FLAGS) ; do \
32603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32604 done; \
32605 echo "Doing TAGS in libtermcap" ; \
32606 (cd $(HOST_SUBDIR)/libtermcap && \
32607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32609 "RANLIB=$${RANLIB}" \
32610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32611 TAGS) \
32612 || exit 1
32614 @endif libtermcap
32616 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
32617 maybe-install-info-libtermcap:
32618 @if libtermcap
32619 maybe-install-info-libtermcap: install-info-libtermcap
32621 install-info-libtermcap: \
32622 configure-libtermcap \
32623 info-libtermcap
32624 @: $(MAKE); $(unstage)
32625 @[ -f ./libtermcap/Makefile ] || exit 0; \
32626 r=`${PWD_COMMAND}`; export r; \
32627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32628 $(HOST_EXPORTS) \
32629 for flag in $(EXTRA_HOST_FLAGS) ; do \
32630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32631 done; \
32632 echo "Doing install-info in libtermcap" ; \
32633 (cd $(HOST_SUBDIR)/libtermcap && \
32634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32636 "RANLIB=$${RANLIB}" \
32637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32638 install-info) \
32639 || exit 1
32641 @endif libtermcap
32643 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
32644 maybe-install-html-libtermcap:
32645 @if libtermcap
32646 maybe-install-html-libtermcap: install-html-libtermcap
32648 install-html-libtermcap: \
32649 configure-libtermcap \
32650 html-libtermcap
32651 @: $(MAKE); $(unstage)
32652 @[ -f ./libtermcap/Makefile ] || exit 0; \
32653 r=`${PWD_COMMAND}`; export r; \
32654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32655 $(HOST_EXPORTS) \
32656 for flag in $(EXTRA_HOST_FLAGS) ; do \
32657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32658 done; \
32659 echo "Doing install-html in libtermcap" ; \
32660 (cd $(HOST_SUBDIR)/libtermcap && \
32661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32663 "RANLIB=$${RANLIB}" \
32664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32665 install-html) \
32666 || exit 1
32668 @endif libtermcap
32670 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
32671 maybe-installcheck-libtermcap:
32672 @if libtermcap
32673 maybe-installcheck-libtermcap: installcheck-libtermcap
32675 installcheck-libtermcap: \
32676 configure-libtermcap
32677 @: $(MAKE); $(unstage)
32678 @[ -f ./libtermcap/Makefile ] || exit 0; \
32679 r=`${PWD_COMMAND}`; export r; \
32680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32681 $(HOST_EXPORTS) \
32682 for flag in $(EXTRA_HOST_FLAGS) ; do \
32683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32684 done; \
32685 echo "Doing installcheck in libtermcap" ; \
32686 (cd $(HOST_SUBDIR)/libtermcap && \
32687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32689 "RANLIB=$${RANLIB}" \
32690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32691 installcheck) \
32692 || exit 1
32694 @endif libtermcap
32696 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
32697 maybe-mostlyclean-libtermcap:
32698 @if libtermcap
32699 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
32701 # libtermcap doesn't support mostlyclean.
32702 mostlyclean-libtermcap:
32704 @endif libtermcap
32706 .PHONY: maybe-clean-libtermcap clean-libtermcap
32707 maybe-clean-libtermcap:
32708 @if libtermcap
32709 maybe-clean-libtermcap: clean-libtermcap
32711 # libtermcap doesn't support clean.
32712 clean-libtermcap:
32714 @endif libtermcap
32716 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
32717 maybe-distclean-libtermcap:
32718 @if libtermcap
32719 maybe-distclean-libtermcap: distclean-libtermcap
32721 # libtermcap doesn't support distclean.
32722 distclean-libtermcap:
32724 @endif libtermcap
32726 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
32727 maybe-maintainer-clean-libtermcap:
32728 @if libtermcap
32729 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
32731 # libtermcap doesn't support maintainer-clean.
32732 maintainer-clean-libtermcap:
32734 @endif libtermcap
32738 .PHONY: configure-utils maybe-configure-utils
32739 maybe-configure-utils:
32740 @if gcc-bootstrap
32741 configure-utils: stage_current
32742 @endif gcc-bootstrap
32743 @if utils
32744 maybe-configure-utils: configure-utils
32745 configure-utils:
32746 @: $(MAKE); $(unstage)
32747 @r=`${PWD_COMMAND}`; export r; \
32748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32749 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
32750 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
32751 $(HOST_EXPORTS) \
32752 echo Configuring in $(HOST_SUBDIR)/utils; \
32753 cd "$(HOST_SUBDIR)/utils" || exit 1; \
32754 case $(srcdir) in \
32755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32756 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
32757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32758 esac; \
32759 srcdiroption="--srcdir=$${topdir}/utils"; \
32760 libsrcdir="$$s/utils"; \
32761 $(SHELL) $${libsrcdir}/configure \
32762 $(HOST_CONFIGARGS) $${srcdiroption} \
32763 || exit 1
32764 @endif utils
32770 .PHONY: all-utils maybe-all-utils
32771 maybe-all-utils:
32772 @if gcc-bootstrap
32773 all-utils: stage_current
32774 @endif gcc-bootstrap
32775 @if utils
32776 TARGET-utils=all
32777 maybe-all-utils: all-utils
32778 all-utils: configure-utils
32779 @: $(MAKE); $(unstage)
32780 @r=`${PWD_COMMAND}`; export r; \
32781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32782 $(HOST_EXPORTS) \
32783 (cd $(HOST_SUBDIR)/utils && \
32784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
32785 @endif utils
32790 .PHONY: check-utils maybe-check-utils
32791 maybe-check-utils:
32792 @if utils
32793 maybe-check-utils: check-utils
32795 check-utils:
32797 @endif utils
32799 .PHONY: install-utils maybe-install-utils
32800 maybe-install-utils:
32801 @if utils
32802 maybe-install-utils: install-utils
32804 install-utils: installdirs
32805 @: $(MAKE); $(unstage)
32806 @r=`${PWD_COMMAND}`; export r; \
32807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32808 $(HOST_EXPORTS) \
32809 (cd $(HOST_SUBDIR)/utils && \
32810 $(MAKE) $(FLAGS_TO_PASS) install)
32812 @endif utils
32814 # Other targets (info, dvi, pdf, etc.)
32816 .PHONY: maybe-info-utils info-utils
32817 maybe-info-utils:
32818 @if utils
32819 maybe-info-utils: info-utils
32821 info-utils: \
32822 configure-utils
32823 @: $(MAKE); $(unstage)
32824 @[ -f ./utils/Makefile ] || exit 0; \
32825 r=`${PWD_COMMAND}`; export r; \
32826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32827 $(HOST_EXPORTS) \
32828 for flag in $(EXTRA_HOST_FLAGS) ; do \
32829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32830 done; \
32831 echo "Doing info in utils" ; \
32832 (cd $(HOST_SUBDIR)/utils && \
32833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32835 "RANLIB=$${RANLIB}" \
32836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32837 info) \
32838 || exit 1
32840 @endif utils
32842 .PHONY: maybe-dvi-utils dvi-utils
32843 maybe-dvi-utils:
32844 @if utils
32845 maybe-dvi-utils: dvi-utils
32847 dvi-utils: \
32848 configure-utils
32849 @: $(MAKE); $(unstage)
32850 @[ -f ./utils/Makefile ] || exit 0; \
32851 r=`${PWD_COMMAND}`; export r; \
32852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32853 $(HOST_EXPORTS) \
32854 for flag in $(EXTRA_HOST_FLAGS) ; do \
32855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 done; \
32857 echo "Doing dvi in utils" ; \
32858 (cd $(HOST_SUBDIR)/utils && \
32859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32861 "RANLIB=$${RANLIB}" \
32862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32863 dvi) \
32864 || exit 1
32866 @endif utils
32868 .PHONY: maybe-pdf-utils pdf-utils
32869 maybe-pdf-utils:
32870 @if utils
32871 maybe-pdf-utils: pdf-utils
32873 pdf-utils: \
32874 configure-utils
32875 @: $(MAKE); $(unstage)
32876 @[ -f ./utils/Makefile ] || exit 0; \
32877 r=`${PWD_COMMAND}`; export r; \
32878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32879 $(HOST_EXPORTS) \
32880 for flag in $(EXTRA_HOST_FLAGS) ; do \
32881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32882 done; \
32883 echo "Doing pdf in utils" ; \
32884 (cd $(HOST_SUBDIR)/utils && \
32885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32887 "RANLIB=$${RANLIB}" \
32888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32889 pdf) \
32890 || exit 1
32892 @endif utils
32894 .PHONY: maybe-html-utils html-utils
32895 maybe-html-utils:
32896 @if utils
32897 maybe-html-utils: html-utils
32899 html-utils: \
32900 configure-utils
32901 @: $(MAKE); $(unstage)
32902 @[ -f ./utils/Makefile ] || exit 0; \
32903 r=`${PWD_COMMAND}`; export r; \
32904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32905 $(HOST_EXPORTS) \
32906 for flag in $(EXTRA_HOST_FLAGS) ; do \
32907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32908 done; \
32909 echo "Doing html in utils" ; \
32910 (cd $(HOST_SUBDIR)/utils && \
32911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32913 "RANLIB=$${RANLIB}" \
32914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32915 html) \
32916 || exit 1
32918 @endif utils
32920 .PHONY: maybe-TAGS-utils TAGS-utils
32921 maybe-TAGS-utils:
32922 @if utils
32923 maybe-TAGS-utils: TAGS-utils
32925 TAGS-utils: \
32926 configure-utils
32927 @: $(MAKE); $(unstage)
32928 @[ -f ./utils/Makefile ] || exit 0; \
32929 r=`${PWD_COMMAND}`; export r; \
32930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32931 $(HOST_EXPORTS) \
32932 for flag in $(EXTRA_HOST_FLAGS) ; do \
32933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32934 done; \
32935 echo "Doing TAGS in utils" ; \
32936 (cd $(HOST_SUBDIR)/utils && \
32937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32939 "RANLIB=$${RANLIB}" \
32940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32941 TAGS) \
32942 || exit 1
32944 @endif utils
32946 .PHONY: maybe-install-info-utils install-info-utils
32947 maybe-install-info-utils:
32948 @if utils
32949 maybe-install-info-utils: install-info-utils
32951 install-info-utils: \
32952 configure-utils \
32953 info-utils
32954 @: $(MAKE); $(unstage)
32955 @[ -f ./utils/Makefile ] || exit 0; \
32956 r=`${PWD_COMMAND}`; export r; \
32957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32958 $(HOST_EXPORTS) \
32959 for flag in $(EXTRA_HOST_FLAGS) ; do \
32960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32961 done; \
32962 echo "Doing install-info in utils" ; \
32963 (cd $(HOST_SUBDIR)/utils && \
32964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32966 "RANLIB=$${RANLIB}" \
32967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32968 install-info) \
32969 || exit 1
32971 @endif utils
32973 .PHONY: maybe-install-html-utils install-html-utils
32974 maybe-install-html-utils:
32975 @if utils
32976 maybe-install-html-utils: install-html-utils
32978 install-html-utils: \
32979 configure-utils \
32980 html-utils
32981 @: $(MAKE); $(unstage)
32982 @[ -f ./utils/Makefile ] || exit 0; \
32983 r=`${PWD_COMMAND}`; export r; \
32984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32985 $(HOST_EXPORTS) \
32986 for flag in $(EXTRA_HOST_FLAGS) ; do \
32987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32988 done; \
32989 echo "Doing install-html in utils" ; \
32990 (cd $(HOST_SUBDIR)/utils && \
32991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32993 "RANLIB=$${RANLIB}" \
32994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32995 install-html) \
32996 || exit 1
32998 @endif utils
33000 .PHONY: maybe-installcheck-utils installcheck-utils
33001 maybe-installcheck-utils:
33002 @if utils
33003 maybe-installcheck-utils: installcheck-utils
33005 installcheck-utils: \
33006 configure-utils
33007 @: $(MAKE); $(unstage)
33008 @[ -f ./utils/Makefile ] || exit 0; \
33009 r=`${PWD_COMMAND}`; export r; \
33010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33011 $(HOST_EXPORTS) \
33012 for flag in $(EXTRA_HOST_FLAGS) ; do \
33013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33014 done; \
33015 echo "Doing installcheck in utils" ; \
33016 (cd $(HOST_SUBDIR)/utils && \
33017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33019 "RANLIB=$${RANLIB}" \
33020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33021 installcheck) \
33022 || exit 1
33024 @endif utils
33026 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33027 maybe-mostlyclean-utils:
33028 @if utils
33029 maybe-mostlyclean-utils: mostlyclean-utils
33031 mostlyclean-utils:
33032 @: $(MAKE); $(unstage)
33033 @[ -f ./utils/Makefile ] || exit 0; \
33034 r=`${PWD_COMMAND}`; export r; \
33035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33036 $(HOST_EXPORTS) \
33037 for flag in $(EXTRA_HOST_FLAGS) ; do \
33038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33039 done; \
33040 echo "Doing mostlyclean in utils" ; \
33041 (cd $(HOST_SUBDIR)/utils && \
33042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33044 "RANLIB=$${RANLIB}" \
33045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33046 mostlyclean) \
33047 || exit 1
33049 @endif utils
33051 .PHONY: maybe-clean-utils clean-utils
33052 maybe-clean-utils:
33053 @if utils
33054 maybe-clean-utils: clean-utils
33056 clean-utils:
33057 @: $(MAKE); $(unstage)
33058 @[ -f ./utils/Makefile ] || exit 0; \
33059 r=`${PWD_COMMAND}`; export r; \
33060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33061 $(HOST_EXPORTS) \
33062 for flag in $(EXTRA_HOST_FLAGS) ; do \
33063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33064 done; \
33065 echo "Doing clean in utils" ; \
33066 (cd $(HOST_SUBDIR)/utils && \
33067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33069 "RANLIB=$${RANLIB}" \
33070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33071 clean) \
33072 || exit 1
33074 @endif utils
33076 .PHONY: maybe-distclean-utils distclean-utils
33077 maybe-distclean-utils:
33078 @if utils
33079 maybe-distclean-utils: distclean-utils
33081 distclean-utils:
33082 @: $(MAKE); $(unstage)
33083 @[ -f ./utils/Makefile ] || exit 0; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(HOST_EXPORTS) \
33087 for flag in $(EXTRA_HOST_FLAGS) ; do \
33088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33089 done; \
33090 echo "Doing distclean in utils" ; \
33091 (cd $(HOST_SUBDIR)/utils && \
33092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33094 "RANLIB=$${RANLIB}" \
33095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33096 distclean) \
33097 || exit 1
33099 @endif utils
33101 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33102 maybe-maintainer-clean-utils:
33103 @if utils
33104 maybe-maintainer-clean-utils: maintainer-clean-utils
33106 maintainer-clean-utils:
33107 @: $(MAKE); $(unstage)
33108 @[ -f ./utils/Makefile ] || exit 0; \
33109 r=`${PWD_COMMAND}`; export r; \
33110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33111 $(HOST_EXPORTS) \
33112 for flag in $(EXTRA_HOST_FLAGS) ; do \
33113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33114 done; \
33115 echo "Doing maintainer-clean in utils" ; \
33116 (cd $(HOST_SUBDIR)/utils && \
33117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33119 "RANLIB=$${RANLIB}" \
33120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33121 maintainer-clean) \
33122 || exit 1
33124 @endif utils
33128 .PHONY: configure-gnattools maybe-configure-gnattools
33129 maybe-configure-gnattools:
33130 @if gcc-bootstrap
33131 configure-gnattools: stage_current
33132 @endif gcc-bootstrap
33133 @if gnattools
33134 maybe-configure-gnattools: configure-gnattools
33135 configure-gnattools:
33136 @: $(MAKE); $(unstage)
33137 @r=`${PWD_COMMAND}`; export r; \
33138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33139 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
33141 $(HOST_EXPORTS) \
33142 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33143 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33144 case $(srcdir) in \
33145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33146 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33148 esac; \
33149 srcdiroption="--srcdir=$${topdir}/gnattools"; \
33150 libsrcdir="$$s/gnattools"; \
33151 $(SHELL) $${libsrcdir}/configure \
33152 $(HOST_CONFIGARGS) $${srcdiroption} \
33153 || exit 1
33154 @endif gnattools
33160 .PHONY: all-gnattools maybe-all-gnattools
33161 maybe-all-gnattools:
33162 @if gcc-bootstrap
33163 all-gnattools: stage_current
33164 @endif gcc-bootstrap
33165 @if gnattools
33166 TARGET-gnattools=all
33167 maybe-all-gnattools: all-gnattools
33168 all-gnattools: configure-gnattools
33169 @: $(MAKE); $(unstage)
33170 @r=`${PWD_COMMAND}`; export r; \
33171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33172 $(HOST_EXPORTS) \
33173 (cd $(HOST_SUBDIR)/gnattools && \
33174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
33175 @endif gnattools
33180 .PHONY: check-gnattools maybe-check-gnattools
33181 maybe-check-gnattools:
33182 @if gnattools
33183 maybe-check-gnattools: check-gnattools
33185 check-gnattools:
33186 @: $(MAKE); $(unstage)
33187 @r=`${PWD_COMMAND}`; export r; \
33188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33189 $(HOST_EXPORTS) \
33190 (cd $(HOST_SUBDIR)/gnattools && \
33191 $(MAKE) $(FLAGS_TO_PASS) check)
33193 @endif gnattools
33195 .PHONY: install-gnattools maybe-install-gnattools
33196 maybe-install-gnattools:
33197 @if gnattools
33198 maybe-install-gnattools: install-gnattools
33200 install-gnattools: installdirs
33201 @: $(MAKE); $(unstage)
33202 @r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(HOST_EXPORTS) \
33205 (cd $(HOST_SUBDIR)/gnattools && \
33206 $(MAKE) $(FLAGS_TO_PASS) install)
33208 @endif gnattools
33210 # Other targets (info, dvi, pdf, etc.)
33212 .PHONY: maybe-info-gnattools info-gnattools
33213 maybe-info-gnattools:
33214 @if gnattools
33215 maybe-info-gnattools: info-gnattools
33217 info-gnattools: \
33218 configure-gnattools
33219 @: $(MAKE); $(unstage)
33220 @[ -f ./gnattools/Makefile ] || exit 0; \
33221 r=`${PWD_COMMAND}`; export r; \
33222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33223 $(HOST_EXPORTS) \
33224 for flag in $(EXTRA_HOST_FLAGS) ; do \
33225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33226 done; \
33227 echo "Doing info in gnattools" ; \
33228 (cd $(HOST_SUBDIR)/gnattools && \
33229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33231 "RANLIB=$${RANLIB}" \
33232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33233 info) \
33234 || exit 1
33236 @endif gnattools
33238 .PHONY: maybe-dvi-gnattools dvi-gnattools
33239 maybe-dvi-gnattools:
33240 @if gnattools
33241 maybe-dvi-gnattools: dvi-gnattools
33243 dvi-gnattools: \
33244 configure-gnattools
33245 @: $(MAKE); $(unstage)
33246 @[ -f ./gnattools/Makefile ] || exit 0; \
33247 r=`${PWD_COMMAND}`; export r; \
33248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33249 $(HOST_EXPORTS) \
33250 for flag in $(EXTRA_HOST_FLAGS) ; do \
33251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33252 done; \
33253 echo "Doing dvi in gnattools" ; \
33254 (cd $(HOST_SUBDIR)/gnattools && \
33255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33257 "RANLIB=$${RANLIB}" \
33258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33259 dvi) \
33260 || exit 1
33262 @endif gnattools
33264 .PHONY: maybe-pdf-gnattools pdf-gnattools
33265 maybe-pdf-gnattools:
33266 @if gnattools
33267 maybe-pdf-gnattools: pdf-gnattools
33269 pdf-gnattools: \
33270 configure-gnattools
33271 @: $(MAKE); $(unstage)
33272 @[ -f ./gnattools/Makefile ] || exit 0; \
33273 r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 $(HOST_EXPORTS) \
33276 for flag in $(EXTRA_HOST_FLAGS) ; do \
33277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33278 done; \
33279 echo "Doing pdf in gnattools" ; \
33280 (cd $(HOST_SUBDIR)/gnattools && \
33281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33283 "RANLIB=$${RANLIB}" \
33284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33285 pdf) \
33286 || exit 1
33288 @endif gnattools
33290 .PHONY: maybe-html-gnattools html-gnattools
33291 maybe-html-gnattools:
33292 @if gnattools
33293 maybe-html-gnattools: html-gnattools
33295 html-gnattools: \
33296 configure-gnattools
33297 @: $(MAKE); $(unstage)
33298 @[ -f ./gnattools/Makefile ] || exit 0; \
33299 r=`${PWD_COMMAND}`; export r; \
33300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33301 $(HOST_EXPORTS) \
33302 for flag in $(EXTRA_HOST_FLAGS) ; do \
33303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33304 done; \
33305 echo "Doing html in gnattools" ; \
33306 (cd $(HOST_SUBDIR)/gnattools && \
33307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33309 "RANLIB=$${RANLIB}" \
33310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33311 html) \
33312 || exit 1
33314 @endif gnattools
33316 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
33317 maybe-TAGS-gnattools:
33318 @if gnattools
33319 maybe-TAGS-gnattools: TAGS-gnattools
33321 TAGS-gnattools: \
33322 configure-gnattools
33323 @: $(MAKE); $(unstage)
33324 @[ -f ./gnattools/Makefile ] || exit 0; \
33325 r=`${PWD_COMMAND}`; export r; \
33326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33327 $(HOST_EXPORTS) \
33328 for flag in $(EXTRA_HOST_FLAGS) ; do \
33329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33330 done; \
33331 echo "Doing TAGS in gnattools" ; \
33332 (cd $(HOST_SUBDIR)/gnattools && \
33333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33335 "RANLIB=$${RANLIB}" \
33336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33337 TAGS) \
33338 || exit 1
33340 @endif gnattools
33342 .PHONY: maybe-install-info-gnattools install-info-gnattools
33343 maybe-install-info-gnattools:
33344 @if gnattools
33345 maybe-install-info-gnattools: install-info-gnattools
33347 install-info-gnattools: \
33348 configure-gnattools \
33349 info-gnattools
33350 @: $(MAKE); $(unstage)
33351 @[ -f ./gnattools/Makefile ] || exit 0; \
33352 r=`${PWD_COMMAND}`; export r; \
33353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33354 $(HOST_EXPORTS) \
33355 for flag in $(EXTRA_HOST_FLAGS) ; do \
33356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33357 done; \
33358 echo "Doing install-info in gnattools" ; \
33359 (cd $(HOST_SUBDIR)/gnattools && \
33360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33362 "RANLIB=$${RANLIB}" \
33363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33364 install-info) \
33365 || exit 1
33367 @endif gnattools
33369 .PHONY: maybe-install-html-gnattools install-html-gnattools
33370 maybe-install-html-gnattools:
33371 @if gnattools
33372 maybe-install-html-gnattools: install-html-gnattools
33374 install-html-gnattools: \
33375 configure-gnattools \
33376 html-gnattools
33377 @: $(MAKE); $(unstage)
33378 @[ -f ./gnattools/Makefile ] || exit 0; \
33379 r=`${PWD_COMMAND}`; export r; \
33380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33381 $(HOST_EXPORTS) \
33382 for flag in $(EXTRA_HOST_FLAGS) ; do \
33383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33384 done; \
33385 echo "Doing install-html in gnattools" ; \
33386 (cd $(HOST_SUBDIR)/gnattools && \
33387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33389 "RANLIB=$${RANLIB}" \
33390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33391 install-html) \
33392 || exit 1
33394 @endif gnattools
33396 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
33397 maybe-installcheck-gnattools:
33398 @if gnattools
33399 maybe-installcheck-gnattools: installcheck-gnattools
33401 installcheck-gnattools: \
33402 configure-gnattools
33403 @: $(MAKE); $(unstage)
33404 @[ -f ./gnattools/Makefile ] || exit 0; \
33405 r=`${PWD_COMMAND}`; export r; \
33406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33407 $(HOST_EXPORTS) \
33408 for flag in $(EXTRA_HOST_FLAGS) ; do \
33409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33410 done; \
33411 echo "Doing installcheck in gnattools" ; \
33412 (cd $(HOST_SUBDIR)/gnattools && \
33413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33415 "RANLIB=$${RANLIB}" \
33416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33417 installcheck) \
33418 || exit 1
33420 @endif gnattools
33422 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
33423 maybe-mostlyclean-gnattools:
33424 @if gnattools
33425 maybe-mostlyclean-gnattools: mostlyclean-gnattools
33427 mostlyclean-gnattools:
33428 @: $(MAKE); $(unstage)
33429 @[ -f ./gnattools/Makefile ] || exit 0; \
33430 r=`${PWD_COMMAND}`; export r; \
33431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33432 $(HOST_EXPORTS) \
33433 for flag in $(EXTRA_HOST_FLAGS) ; do \
33434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33435 done; \
33436 echo "Doing mostlyclean in gnattools" ; \
33437 (cd $(HOST_SUBDIR)/gnattools && \
33438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33440 "RANLIB=$${RANLIB}" \
33441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33442 mostlyclean) \
33443 || exit 1
33445 @endif gnattools
33447 .PHONY: maybe-clean-gnattools clean-gnattools
33448 maybe-clean-gnattools:
33449 @if gnattools
33450 maybe-clean-gnattools: clean-gnattools
33452 clean-gnattools:
33453 @: $(MAKE); $(unstage)
33454 @[ -f ./gnattools/Makefile ] || exit 0; \
33455 r=`${PWD_COMMAND}`; export r; \
33456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33457 $(HOST_EXPORTS) \
33458 for flag in $(EXTRA_HOST_FLAGS) ; do \
33459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33460 done; \
33461 echo "Doing clean in gnattools" ; \
33462 (cd $(HOST_SUBDIR)/gnattools && \
33463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33465 "RANLIB=$${RANLIB}" \
33466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33467 clean) \
33468 || exit 1
33470 @endif gnattools
33472 .PHONY: maybe-distclean-gnattools distclean-gnattools
33473 maybe-distclean-gnattools:
33474 @if gnattools
33475 maybe-distclean-gnattools: distclean-gnattools
33477 distclean-gnattools:
33478 @: $(MAKE); $(unstage)
33479 @[ -f ./gnattools/Makefile ] || exit 0; \
33480 r=`${PWD_COMMAND}`; export r; \
33481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33482 $(HOST_EXPORTS) \
33483 for flag in $(EXTRA_HOST_FLAGS) ; do \
33484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33485 done; \
33486 echo "Doing distclean in gnattools" ; \
33487 (cd $(HOST_SUBDIR)/gnattools && \
33488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33490 "RANLIB=$${RANLIB}" \
33491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33492 distclean) \
33493 || exit 1
33495 @endif gnattools
33497 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
33498 maybe-maintainer-clean-gnattools:
33499 @if gnattools
33500 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
33502 maintainer-clean-gnattools:
33503 @: $(MAKE); $(unstage)
33504 @[ -f ./gnattools/Makefile ] || exit 0; \
33505 r=`${PWD_COMMAND}`; export r; \
33506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33507 $(HOST_EXPORTS) \
33508 for flag in $(EXTRA_HOST_FLAGS) ; do \
33509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33510 done; \
33511 echo "Doing maintainer-clean in gnattools" ; \
33512 (cd $(HOST_SUBDIR)/gnattools && \
33513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33515 "RANLIB=$${RANLIB}" \
33516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33517 maintainer-clean) \
33518 || exit 1
33520 @endif gnattools
33524 # ---------------------------------------
33525 # Modules which run on the target machine
33526 # ---------------------------------------
33531 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
33532 maybe-configure-target-libstdc++-v3:
33533 @if gcc-bootstrap
33534 configure-target-libstdc++-v3: stage_current
33535 @endif gcc-bootstrap
33536 @if target-libstdc++-v3
33537 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
33538 configure-target-libstdc++-v3:
33539 @: $(MAKE); $(unstage)
33540 @r=`${PWD_COMMAND}`; export r; \
33541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33542 echo "Checking multilib configuration for libstdc++-v3..."; \
33543 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33544 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
33545 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33546 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33547 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33548 else \
33549 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33550 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33551 fi; \
33552 else \
33553 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33554 fi; \
33555 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33556 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33557 $(RAW_CXX_TARGET_EXPORTS) \
33558 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
33559 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
33560 case $(srcdir) in \
33561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33562 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33564 esac; \
33565 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
33566 libsrcdir="$$s/libstdc++-v3"; \
33567 rm -f no-such-file || : ; \
33568 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33569 $(TARGET_CONFIGARGS) $${srcdiroption} \
33570 || exit 1
33571 @endif target-libstdc++-v3
33577 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33578 maybe-all-target-libstdc++-v3:
33579 @if gcc-bootstrap
33580 all-target-libstdc++-v3: stage_current
33581 @endif gcc-bootstrap
33582 @if target-libstdc++-v3
33583 TARGET-target-libstdc++-v3=all
33584 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33585 all-target-libstdc++-v3: configure-target-libstdc++-v3
33586 @: $(MAKE); $(unstage)
33587 @r=`${PWD_COMMAND}`; export r; \
33588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33589 $(RAW_CXX_TARGET_EXPORTS) \
33590 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33591 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
33592 @endif target-libstdc++-v3
33598 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33599 maybe-check-target-libstdc++-v3:
33600 @if target-libstdc++-v3
33601 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33603 check-target-libstdc++-v3:
33604 @: $(MAKE); $(unstage)
33605 @r=`${PWD_COMMAND}`; export r; \
33606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33607 $(RAW_CXX_TARGET_EXPORTS) \
33608 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33609 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33611 @endif target-libstdc++-v3
33613 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33614 maybe-install-target-libstdc++-v3:
33615 @if target-libstdc++-v3
33616 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33618 install-target-libstdc++-v3: installdirs
33619 @: $(MAKE); $(unstage)
33620 @r=`${PWD_COMMAND}`; export r; \
33621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33622 $(RAW_CXX_TARGET_EXPORTS) \
33623 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33624 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33626 @endif target-libstdc++-v3
33628 # Other targets (info, dvi, pdf, etc.)
33630 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33631 maybe-info-target-libstdc++-v3:
33632 @if target-libstdc++-v3
33633 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33635 info-target-libstdc++-v3: \
33636 configure-target-libstdc++-v3
33637 @: $(MAKE); $(unstage)
33638 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33639 r=`${PWD_COMMAND}`; export r; \
33640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33641 $(RAW_CXX_TARGET_EXPORTS) \
33642 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33643 for flag in $(EXTRA_TARGET_FLAGS); do \
33644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33645 done; \
33646 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33649 "RANLIB=$${RANLIB}" \
33650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33651 info) \
33652 || exit 1
33654 @endif target-libstdc++-v3
33656 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33657 maybe-dvi-target-libstdc++-v3:
33658 @if target-libstdc++-v3
33659 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33661 dvi-target-libstdc++-v3: \
33662 configure-target-libstdc++-v3
33663 @: $(MAKE); $(unstage)
33664 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33665 r=`${PWD_COMMAND}`; export r; \
33666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33667 $(RAW_CXX_TARGET_EXPORTS) \
33668 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33669 for flag in $(EXTRA_TARGET_FLAGS); do \
33670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33671 done; \
33672 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33675 "RANLIB=$${RANLIB}" \
33676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33677 dvi) \
33678 || exit 1
33680 @endif target-libstdc++-v3
33682 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33683 maybe-pdf-target-libstdc++-v3:
33684 @if target-libstdc++-v3
33685 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33687 pdf-target-libstdc++-v3: \
33688 configure-target-libstdc++-v3
33689 @: $(MAKE); $(unstage)
33690 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33691 r=`${PWD_COMMAND}`; export r; \
33692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33693 $(RAW_CXX_TARGET_EXPORTS) \
33694 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33695 for flag in $(EXTRA_TARGET_FLAGS); do \
33696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33697 done; \
33698 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33701 "RANLIB=$${RANLIB}" \
33702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33703 pdf) \
33704 || exit 1
33706 @endif target-libstdc++-v3
33708 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33709 maybe-html-target-libstdc++-v3:
33710 @if target-libstdc++-v3
33711 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33713 html-target-libstdc++-v3: \
33714 configure-target-libstdc++-v3
33715 @: $(MAKE); $(unstage)
33716 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33717 r=`${PWD_COMMAND}`; export r; \
33718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33719 $(RAW_CXX_TARGET_EXPORTS) \
33720 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33721 for flag in $(EXTRA_TARGET_FLAGS); do \
33722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33723 done; \
33724 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33727 "RANLIB=$${RANLIB}" \
33728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33729 html) \
33730 || exit 1
33732 @endif target-libstdc++-v3
33734 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33735 maybe-TAGS-target-libstdc++-v3:
33736 @if target-libstdc++-v3
33737 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33739 TAGS-target-libstdc++-v3: \
33740 configure-target-libstdc++-v3
33741 @: $(MAKE); $(unstage)
33742 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33743 r=`${PWD_COMMAND}`; export r; \
33744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33745 $(RAW_CXX_TARGET_EXPORTS) \
33746 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33747 for flag in $(EXTRA_TARGET_FLAGS); do \
33748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33749 done; \
33750 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33753 "RANLIB=$${RANLIB}" \
33754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33755 TAGS) \
33756 || exit 1
33758 @endif target-libstdc++-v3
33760 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33761 maybe-install-info-target-libstdc++-v3:
33762 @if target-libstdc++-v3
33763 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33765 install-info-target-libstdc++-v3: \
33766 configure-target-libstdc++-v3 \
33767 info-target-libstdc++-v3
33768 @: $(MAKE); $(unstage)
33769 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33770 r=`${PWD_COMMAND}`; export r; \
33771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33772 $(RAW_CXX_TARGET_EXPORTS) \
33773 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33774 for flag in $(EXTRA_TARGET_FLAGS); do \
33775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33776 done; \
33777 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33780 "RANLIB=$${RANLIB}" \
33781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33782 install-info) \
33783 || exit 1
33785 @endif target-libstdc++-v3
33787 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33788 maybe-install-html-target-libstdc++-v3:
33789 @if target-libstdc++-v3
33790 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33792 install-html-target-libstdc++-v3: \
33793 configure-target-libstdc++-v3 \
33794 html-target-libstdc++-v3
33795 @: $(MAKE); $(unstage)
33796 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33797 r=`${PWD_COMMAND}`; export r; \
33798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33799 $(RAW_CXX_TARGET_EXPORTS) \
33800 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33801 for flag in $(EXTRA_TARGET_FLAGS); do \
33802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33803 done; \
33804 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33807 "RANLIB=$${RANLIB}" \
33808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33809 install-html) \
33810 || exit 1
33812 @endif target-libstdc++-v3
33814 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33815 maybe-installcheck-target-libstdc++-v3:
33816 @if target-libstdc++-v3
33817 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33819 installcheck-target-libstdc++-v3: \
33820 configure-target-libstdc++-v3
33821 @: $(MAKE); $(unstage)
33822 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33823 r=`${PWD_COMMAND}`; export r; \
33824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33825 $(RAW_CXX_TARGET_EXPORTS) \
33826 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33827 for flag in $(EXTRA_TARGET_FLAGS); do \
33828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33829 done; \
33830 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33833 "RANLIB=$${RANLIB}" \
33834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33835 installcheck) \
33836 || exit 1
33838 @endif target-libstdc++-v3
33840 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33841 maybe-mostlyclean-target-libstdc++-v3:
33842 @if target-libstdc++-v3
33843 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33845 mostlyclean-target-libstdc++-v3:
33846 @: $(MAKE); $(unstage)
33847 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33848 r=`${PWD_COMMAND}`; export r; \
33849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33850 $(RAW_CXX_TARGET_EXPORTS) \
33851 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33852 for flag in $(EXTRA_TARGET_FLAGS); do \
33853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33854 done; \
33855 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33858 "RANLIB=$${RANLIB}" \
33859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33860 mostlyclean) \
33861 || exit 1
33863 @endif target-libstdc++-v3
33865 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33866 maybe-clean-target-libstdc++-v3:
33867 @if target-libstdc++-v3
33868 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33870 clean-target-libstdc++-v3:
33871 @: $(MAKE); $(unstage)
33872 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33873 r=`${PWD_COMMAND}`; export r; \
33874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33875 $(RAW_CXX_TARGET_EXPORTS) \
33876 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33877 for flag in $(EXTRA_TARGET_FLAGS); do \
33878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33879 done; \
33880 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33883 "RANLIB=$${RANLIB}" \
33884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33885 clean) \
33886 || exit 1
33888 @endif target-libstdc++-v3
33890 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33891 maybe-distclean-target-libstdc++-v3:
33892 @if target-libstdc++-v3
33893 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33895 distclean-target-libstdc++-v3:
33896 @: $(MAKE); $(unstage)
33897 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33898 r=`${PWD_COMMAND}`; export r; \
33899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33900 $(RAW_CXX_TARGET_EXPORTS) \
33901 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33902 for flag in $(EXTRA_TARGET_FLAGS); do \
33903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33904 done; \
33905 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33908 "RANLIB=$${RANLIB}" \
33909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33910 distclean) \
33911 || exit 1
33913 @endif target-libstdc++-v3
33915 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33916 maybe-maintainer-clean-target-libstdc++-v3:
33917 @if target-libstdc++-v3
33918 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33920 maintainer-clean-target-libstdc++-v3:
33921 @: $(MAKE); $(unstage)
33922 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33923 r=`${PWD_COMMAND}`; export r; \
33924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33925 $(RAW_CXX_TARGET_EXPORTS) \
33926 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33927 for flag in $(EXTRA_TARGET_FLAGS); do \
33928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33929 done; \
33930 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33933 "RANLIB=$${RANLIB}" \
33934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33935 maintainer-clean) \
33936 || exit 1
33938 @endif target-libstdc++-v3
33944 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
33945 maybe-configure-target-libmudflap:
33946 @if gcc-bootstrap
33947 configure-target-libmudflap: stage_current
33948 @endif gcc-bootstrap
33949 @if target-libmudflap
33950 maybe-configure-target-libmudflap: configure-target-libmudflap
33951 configure-target-libmudflap:
33952 @: $(MAKE); $(unstage)
33953 @r=`${PWD_COMMAND}`; export r; \
33954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33955 echo "Checking multilib configuration for libmudflap..."; \
33956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33957 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
33958 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33959 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33960 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
33961 else \
33962 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
33963 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33964 fi; \
33965 else \
33966 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33967 fi; \
33968 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
33969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33970 $(NORMAL_TARGET_EXPORTS) \
33971 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
33972 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
33973 case $(srcdir) in \
33974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33975 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
33976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33977 esac; \
33978 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
33979 libsrcdir="$$s/libmudflap"; \
33980 rm -f no-such-file || : ; \
33981 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33982 $(TARGET_CONFIGARGS) $${srcdiroption} \
33983 || exit 1
33984 @endif target-libmudflap
33990 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
33991 maybe-all-target-libmudflap:
33992 @if gcc-bootstrap
33993 all-target-libmudflap: stage_current
33994 @endif gcc-bootstrap
33995 @if target-libmudflap
33996 TARGET-target-libmudflap=all
33997 maybe-all-target-libmudflap: all-target-libmudflap
33998 all-target-libmudflap: configure-target-libmudflap
33999 @: $(MAKE); $(unstage)
34000 @r=`${PWD_COMMAND}`; export r; \
34001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34002 $(NORMAL_TARGET_EXPORTS) \
34003 (cd $(TARGET_SUBDIR)/libmudflap && \
34004 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
34005 @endif target-libmudflap
34011 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
34012 maybe-check-target-libmudflap:
34013 @if target-libmudflap
34014 maybe-check-target-libmudflap: check-target-libmudflap
34016 check-target-libmudflap:
34017 @: $(MAKE); $(unstage)
34018 @r=`${PWD_COMMAND}`; export r; \
34019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34020 $(NORMAL_TARGET_EXPORTS) \
34021 (cd $(TARGET_SUBDIR)/libmudflap && \
34022 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34024 @endif target-libmudflap
34026 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
34027 maybe-install-target-libmudflap:
34028 @if target-libmudflap
34029 maybe-install-target-libmudflap: install-target-libmudflap
34031 install-target-libmudflap: installdirs
34032 @: $(MAKE); $(unstage)
34033 @r=`${PWD_COMMAND}`; export r; \
34034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34035 $(NORMAL_TARGET_EXPORTS) \
34036 (cd $(TARGET_SUBDIR)/libmudflap && \
34037 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34039 @endif target-libmudflap
34041 # Other targets (info, dvi, pdf, etc.)
34043 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
34044 maybe-info-target-libmudflap:
34045 @if target-libmudflap
34046 maybe-info-target-libmudflap: info-target-libmudflap
34048 info-target-libmudflap: \
34049 configure-target-libmudflap
34050 @: $(MAKE); $(unstage)
34051 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34052 r=`${PWD_COMMAND}`; export r; \
34053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34054 $(NORMAL_TARGET_EXPORTS) \
34055 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
34056 for flag in $(EXTRA_TARGET_FLAGS); do \
34057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34058 done; \
34059 (cd $(TARGET_SUBDIR)/libmudflap && \
34060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34062 "RANLIB=$${RANLIB}" \
34063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34064 info) \
34065 || exit 1
34067 @endif target-libmudflap
34069 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
34070 maybe-dvi-target-libmudflap:
34071 @if target-libmudflap
34072 maybe-dvi-target-libmudflap: dvi-target-libmudflap
34074 dvi-target-libmudflap: \
34075 configure-target-libmudflap
34076 @: $(MAKE); $(unstage)
34077 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34078 r=`${PWD_COMMAND}`; export r; \
34079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34080 $(NORMAL_TARGET_EXPORTS) \
34081 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
34082 for flag in $(EXTRA_TARGET_FLAGS); do \
34083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34084 done; \
34085 (cd $(TARGET_SUBDIR)/libmudflap && \
34086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34088 "RANLIB=$${RANLIB}" \
34089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34090 dvi) \
34091 || exit 1
34093 @endif target-libmudflap
34095 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
34096 maybe-pdf-target-libmudflap:
34097 @if target-libmudflap
34098 maybe-pdf-target-libmudflap: pdf-target-libmudflap
34100 pdf-target-libmudflap: \
34101 configure-target-libmudflap
34102 @: $(MAKE); $(unstage)
34103 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34104 r=`${PWD_COMMAND}`; export r; \
34105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34106 $(NORMAL_TARGET_EXPORTS) \
34107 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
34108 for flag in $(EXTRA_TARGET_FLAGS); do \
34109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34110 done; \
34111 (cd $(TARGET_SUBDIR)/libmudflap && \
34112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34114 "RANLIB=$${RANLIB}" \
34115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34116 pdf) \
34117 || exit 1
34119 @endif target-libmudflap
34121 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
34122 maybe-html-target-libmudflap:
34123 @if target-libmudflap
34124 maybe-html-target-libmudflap: html-target-libmudflap
34126 html-target-libmudflap: \
34127 configure-target-libmudflap
34128 @: $(MAKE); $(unstage)
34129 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34130 r=`${PWD_COMMAND}`; export r; \
34131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34132 $(NORMAL_TARGET_EXPORTS) \
34133 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
34134 for flag in $(EXTRA_TARGET_FLAGS); do \
34135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34136 done; \
34137 (cd $(TARGET_SUBDIR)/libmudflap && \
34138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34140 "RANLIB=$${RANLIB}" \
34141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34142 html) \
34143 || exit 1
34145 @endif target-libmudflap
34147 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
34148 maybe-TAGS-target-libmudflap:
34149 @if target-libmudflap
34150 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
34152 TAGS-target-libmudflap: \
34153 configure-target-libmudflap
34154 @: $(MAKE); $(unstage)
34155 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34156 r=`${PWD_COMMAND}`; export r; \
34157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34158 $(NORMAL_TARGET_EXPORTS) \
34159 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
34160 for flag in $(EXTRA_TARGET_FLAGS); do \
34161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34162 done; \
34163 (cd $(TARGET_SUBDIR)/libmudflap && \
34164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34166 "RANLIB=$${RANLIB}" \
34167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34168 TAGS) \
34169 || exit 1
34171 @endif target-libmudflap
34173 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
34174 maybe-install-info-target-libmudflap:
34175 @if target-libmudflap
34176 maybe-install-info-target-libmudflap: install-info-target-libmudflap
34178 install-info-target-libmudflap: \
34179 configure-target-libmudflap \
34180 info-target-libmudflap
34181 @: $(MAKE); $(unstage)
34182 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34183 r=`${PWD_COMMAND}`; export r; \
34184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34185 $(NORMAL_TARGET_EXPORTS) \
34186 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
34187 for flag in $(EXTRA_TARGET_FLAGS); do \
34188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34189 done; \
34190 (cd $(TARGET_SUBDIR)/libmudflap && \
34191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34193 "RANLIB=$${RANLIB}" \
34194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34195 install-info) \
34196 || exit 1
34198 @endif target-libmudflap
34200 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
34201 maybe-install-html-target-libmudflap:
34202 @if target-libmudflap
34203 maybe-install-html-target-libmudflap: install-html-target-libmudflap
34205 install-html-target-libmudflap: \
34206 configure-target-libmudflap \
34207 html-target-libmudflap
34208 @: $(MAKE); $(unstage)
34209 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34210 r=`${PWD_COMMAND}`; export r; \
34211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34212 $(NORMAL_TARGET_EXPORTS) \
34213 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
34214 for flag in $(EXTRA_TARGET_FLAGS); do \
34215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34216 done; \
34217 (cd $(TARGET_SUBDIR)/libmudflap && \
34218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34220 "RANLIB=$${RANLIB}" \
34221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34222 install-html) \
34223 || exit 1
34225 @endif target-libmudflap
34227 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
34228 maybe-installcheck-target-libmudflap:
34229 @if target-libmudflap
34230 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
34232 installcheck-target-libmudflap: \
34233 configure-target-libmudflap
34234 @: $(MAKE); $(unstage)
34235 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34236 r=`${PWD_COMMAND}`; export r; \
34237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34238 $(NORMAL_TARGET_EXPORTS) \
34239 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
34240 for flag in $(EXTRA_TARGET_FLAGS); do \
34241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34242 done; \
34243 (cd $(TARGET_SUBDIR)/libmudflap && \
34244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34246 "RANLIB=$${RANLIB}" \
34247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34248 installcheck) \
34249 || exit 1
34251 @endif target-libmudflap
34253 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
34254 maybe-mostlyclean-target-libmudflap:
34255 @if target-libmudflap
34256 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
34258 mostlyclean-target-libmudflap:
34259 @: $(MAKE); $(unstage)
34260 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34261 r=`${PWD_COMMAND}`; export r; \
34262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34263 $(NORMAL_TARGET_EXPORTS) \
34264 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
34265 for flag in $(EXTRA_TARGET_FLAGS); do \
34266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34267 done; \
34268 (cd $(TARGET_SUBDIR)/libmudflap && \
34269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34271 "RANLIB=$${RANLIB}" \
34272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34273 mostlyclean) \
34274 || exit 1
34276 @endif target-libmudflap
34278 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
34279 maybe-clean-target-libmudflap:
34280 @if target-libmudflap
34281 maybe-clean-target-libmudflap: clean-target-libmudflap
34283 clean-target-libmudflap:
34284 @: $(MAKE); $(unstage)
34285 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34286 r=`${PWD_COMMAND}`; export r; \
34287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34288 $(NORMAL_TARGET_EXPORTS) \
34289 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
34290 for flag in $(EXTRA_TARGET_FLAGS); do \
34291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34292 done; \
34293 (cd $(TARGET_SUBDIR)/libmudflap && \
34294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34296 "RANLIB=$${RANLIB}" \
34297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34298 clean) \
34299 || exit 1
34301 @endif target-libmudflap
34303 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
34304 maybe-distclean-target-libmudflap:
34305 @if target-libmudflap
34306 maybe-distclean-target-libmudflap: distclean-target-libmudflap
34308 distclean-target-libmudflap:
34309 @: $(MAKE); $(unstage)
34310 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34311 r=`${PWD_COMMAND}`; export r; \
34312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34313 $(NORMAL_TARGET_EXPORTS) \
34314 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
34315 for flag in $(EXTRA_TARGET_FLAGS); do \
34316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34317 done; \
34318 (cd $(TARGET_SUBDIR)/libmudflap && \
34319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34321 "RANLIB=$${RANLIB}" \
34322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34323 distclean) \
34324 || exit 1
34326 @endif target-libmudflap
34328 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
34329 maybe-maintainer-clean-target-libmudflap:
34330 @if target-libmudflap
34331 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
34333 maintainer-clean-target-libmudflap:
34334 @: $(MAKE); $(unstage)
34335 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34336 r=`${PWD_COMMAND}`; export r; \
34337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34338 $(NORMAL_TARGET_EXPORTS) \
34339 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
34340 for flag in $(EXTRA_TARGET_FLAGS); do \
34341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34342 done; \
34343 (cd $(TARGET_SUBDIR)/libmudflap && \
34344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34346 "RANLIB=$${RANLIB}" \
34347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34348 maintainer-clean) \
34349 || exit 1
34351 @endif target-libmudflap
34357 .PHONY: configure-target-libssp maybe-configure-target-libssp
34358 maybe-configure-target-libssp:
34359 @if gcc-bootstrap
34360 configure-target-libssp: stage_current
34361 @endif gcc-bootstrap
34362 @if target-libssp
34363 maybe-configure-target-libssp: configure-target-libssp
34364 configure-target-libssp:
34365 @: $(MAKE); $(unstage)
34366 @r=`${PWD_COMMAND}`; export r; \
34367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34368 echo "Checking multilib configuration for libssp..."; \
34369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34370 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34371 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34372 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34373 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34374 else \
34375 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34376 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34377 fi; \
34378 else \
34379 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34380 fi; \
34381 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34383 $(NORMAL_TARGET_EXPORTS) \
34384 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34385 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34386 case $(srcdir) in \
34387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34388 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34390 esac; \
34391 srcdiroption="--srcdir=$${topdir}/libssp"; \
34392 libsrcdir="$$s/libssp"; \
34393 rm -f no-such-file || : ; \
34394 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34395 $(TARGET_CONFIGARGS) $${srcdiroption} \
34396 || exit 1
34397 @endif target-libssp
34403 .PHONY: all-target-libssp maybe-all-target-libssp
34404 maybe-all-target-libssp:
34405 @if gcc-bootstrap
34406 all-target-libssp: stage_current
34407 @endif gcc-bootstrap
34408 @if target-libssp
34409 TARGET-target-libssp=all
34410 maybe-all-target-libssp: all-target-libssp
34411 all-target-libssp: configure-target-libssp
34412 @: $(MAKE); $(unstage)
34413 @r=`${PWD_COMMAND}`; export r; \
34414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34415 $(NORMAL_TARGET_EXPORTS) \
34416 (cd $(TARGET_SUBDIR)/libssp && \
34417 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
34418 @endif target-libssp
34424 .PHONY: check-target-libssp maybe-check-target-libssp
34425 maybe-check-target-libssp:
34426 @if target-libssp
34427 maybe-check-target-libssp: check-target-libssp
34429 check-target-libssp:
34430 @: $(MAKE); $(unstage)
34431 @r=`${PWD_COMMAND}`; export r; \
34432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34433 $(NORMAL_TARGET_EXPORTS) \
34434 (cd $(TARGET_SUBDIR)/libssp && \
34435 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34437 @endif target-libssp
34439 .PHONY: install-target-libssp maybe-install-target-libssp
34440 maybe-install-target-libssp:
34441 @if target-libssp
34442 maybe-install-target-libssp: install-target-libssp
34444 install-target-libssp: installdirs
34445 @: $(MAKE); $(unstage)
34446 @r=`${PWD_COMMAND}`; export r; \
34447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34448 $(NORMAL_TARGET_EXPORTS) \
34449 (cd $(TARGET_SUBDIR)/libssp && \
34450 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34452 @endif target-libssp
34454 # Other targets (info, dvi, pdf, etc.)
34456 .PHONY: maybe-info-target-libssp info-target-libssp
34457 maybe-info-target-libssp:
34458 @if target-libssp
34459 maybe-info-target-libssp: info-target-libssp
34461 info-target-libssp: \
34462 configure-target-libssp
34463 @: $(MAKE); $(unstage)
34464 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34465 r=`${PWD_COMMAND}`; export r; \
34466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34467 $(NORMAL_TARGET_EXPORTS) \
34468 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34469 for flag in $(EXTRA_TARGET_FLAGS); do \
34470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34471 done; \
34472 (cd $(TARGET_SUBDIR)/libssp && \
34473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34475 "RANLIB=$${RANLIB}" \
34476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34477 info) \
34478 || exit 1
34480 @endif target-libssp
34482 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34483 maybe-dvi-target-libssp:
34484 @if target-libssp
34485 maybe-dvi-target-libssp: dvi-target-libssp
34487 dvi-target-libssp: \
34488 configure-target-libssp
34489 @: $(MAKE); $(unstage)
34490 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34491 r=`${PWD_COMMAND}`; export r; \
34492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34493 $(NORMAL_TARGET_EXPORTS) \
34494 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34495 for flag in $(EXTRA_TARGET_FLAGS); do \
34496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34497 done; \
34498 (cd $(TARGET_SUBDIR)/libssp && \
34499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34501 "RANLIB=$${RANLIB}" \
34502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34503 dvi) \
34504 || exit 1
34506 @endif target-libssp
34508 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34509 maybe-pdf-target-libssp:
34510 @if target-libssp
34511 maybe-pdf-target-libssp: pdf-target-libssp
34513 pdf-target-libssp: \
34514 configure-target-libssp
34515 @: $(MAKE); $(unstage)
34516 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34517 r=`${PWD_COMMAND}`; export r; \
34518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34519 $(NORMAL_TARGET_EXPORTS) \
34520 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34521 for flag in $(EXTRA_TARGET_FLAGS); do \
34522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34523 done; \
34524 (cd $(TARGET_SUBDIR)/libssp && \
34525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34527 "RANLIB=$${RANLIB}" \
34528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34529 pdf) \
34530 || exit 1
34532 @endif target-libssp
34534 .PHONY: maybe-html-target-libssp html-target-libssp
34535 maybe-html-target-libssp:
34536 @if target-libssp
34537 maybe-html-target-libssp: html-target-libssp
34539 html-target-libssp: \
34540 configure-target-libssp
34541 @: $(MAKE); $(unstage)
34542 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34543 r=`${PWD_COMMAND}`; export r; \
34544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34545 $(NORMAL_TARGET_EXPORTS) \
34546 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34547 for flag in $(EXTRA_TARGET_FLAGS); do \
34548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34549 done; \
34550 (cd $(TARGET_SUBDIR)/libssp && \
34551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34553 "RANLIB=$${RANLIB}" \
34554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34555 html) \
34556 || exit 1
34558 @endif target-libssp
34560 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34561 maybe-TAGS-target-libssp:
34562 @if target-libssp
34563 maybe-TAGS-target-libssp: TAGS-target-libssp
34565 TAGS-target-libssp: \
34566 configure-target-libssp
34567 @: $(MAKE); $(unstage)
34568 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34569 r=`${PWD_COMMAND}`; export r; \
34570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34571 $(NORMAL_TARGET_EXPORTS) \
34572 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34573 for flag in $(EXTRA_TARGET_FLAGS); do \
34574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34575 done; \
34576 (cd $(TARGET_SUBDIR)/libssp && \
34577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34579 "RANLIB=$${RANLIB}" \
34580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34581 TAGS) \
34582 || exit 1
34584 @endif target-libssp
34586 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34587 maybe-install-info-target-libssp:
34588 @if target-libssp
34589 maybe-install-info-target-libssp: install-info-target-libssp
34591 install-info-target-libssp: \
34592 configure-target-libssp \
34593 info-target-libssp
34594 @: $(MAKE); $(unstage)
34595 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34596 r=`${PWD_COMMAND}`; export r; \
34597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34598 $(NORMAL_TARGET_EXPORTS) \
34599 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34600 for flag in $(EXTRA_TARGET_FLAGS); do \
34601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34602 done; \
34603 (cd $(TARGET_SUBDIR)/libssp && \
34604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34606 "RANLIB=$${RANLIB}" \
34607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34608 install-info) \
34609 || exit 1
34611 @endif target-libssp
34613 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34614 maybe-install-html-target-libssp:
34615 @if target-libssp
34616 maybe-install-html-target-libssp: install-html-target-libssp
34618 install-html-target-libssp: \
34619 configure-target-libssp \
34620 html-target-libssp
34621 @: $(MAKE); $(unstage)
34622 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34623 r=`${PWD_COMMAND}`; export r; \
34624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34625 $(NORMAL_TARGET_EXPORTS) \
34626 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34627 for flag in $(EXTRA_TARGET_FLAGS); do \
34628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34629 done; \
34630 (cd $(TARGET_SUBDIR)/libssp && \
34631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34633 "RANLIB=$${RANLIB}" \
34634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34635 install-html) \
34636 || exit 1
34638 @endif target-libssp
34640 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34641 maybe-installcheck-target-libssp:
34642 @if target-libssp
34643 maybe-installcheck-target-libssp: installcheck-target-libssp
34645 installcheck-target-libssp: \
34646 configure-target-libssp
34647 @: $(MAKE); $(unstage)
34648 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34649 r=`${PWD_COMMAND}`; export r; \
34650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34651 $(NORMAL_TARGET_EXPORTS) \
34652 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34653 for flag in $(EXTRA_TARGET_FLAGS); do \
34654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34655 done; \
34656 (cd $(TARGET_SUBDIR)/libssp && \
34657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34659 "RANLIB=$${RANLIB}" \
34660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34661 installcheck) \
34662 || exit 1
34664 @endif target-libssp
34666 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34667 maybe-mostlyclean-target-libssp:
34668 @if target-libssp
34669 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34671 mostlyclean-target-libssp:
34672 @: $(MAKE); $(unstage)
34673 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34674 r=`${PWD_COMMAND}`; export r; \
34675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34676 $(NORMAL_TARGET_EXPORTS) \
34677 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34678 for flag in $(EXTRA_TARGET_FLAGS); do \
34679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34680 done; \
34681 (cd $(TARGET_SUBDIR)/libssp && \
34682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34684 "RANLIB=$${RANLIB}" \
34685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34686 mostlyclean) \
34687 || exit 1
34689 @endif target-libssp
34691 .PHONY: maybe-clean-target-libssp clean-target-libssp
34692 maybe-clean-target-libssp:
34693 @if target-libssp
34694 maybe-clean-target-libssp: clean-target-libssp
34696 clean-target-libssp:
34697 @: $(MAKE); $(unstage)
34698 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34699 r=`${PWD_COMMAND}`; export r; \
34700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34701 $(NORMAL_TARGET_EXPORTS) \
34702 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34703 for flag in $(EXTRA_TARGET_FLAGS); do \
34704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34705 done; \
34706 (cd $(TARGET_SUBDIR)/libssp && \
34707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34709 "RANLIB=$${RANLIB}" \
34710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34711 clean) \
34712 || exit 1
34714 @endif target-libssp
34716 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34717 maybe-distclean-target-libssp:
34718 @if target-libssp
34719 maybe-distclean-target-libssp: distclean-target-libssp
34721 distclean-target-libssp:
34722 @: $(MAKE); $(unstage)
34723 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34724 r=`${PWD_COMMAND}`; export r; \
34725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34726 $(NORMAL_TARGET_EXPORTS) \
34727 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34728 for flag in $(EXTRA_TARGET_FLAGS); do \
34729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34730 done; \
34731 (cd $(TARGET_SUBDIR)/libssp && \
34732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34734 "RANLIB=$${RANLIB}" \
34735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34736 distclean) \
34737 || exit 1
34739 @endif target-libssp
34741 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34742 maybe-maintainer-clean-target-libssp:
34743 @if target-libssp
34744 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34746 maintainer-clean-target-libssp:
34747 @: $(MAKE); $(unstage)
34748 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34749 r=`${PWD_COMMAND}`; export r; \
34750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34751 $(NORMAL_TARGET_EXPORTS) \
34752 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34753 for flag in $(EXTRA_TARGET_FLAGS); do \
34754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34755 done; \
34756 (cd $(TARGET_SUBDIR)/libssp && \
34757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34759 "RANLIB=$${RANLIB}" \
34760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34761 maintainer-clean) \
34762 || exit 1
34764 @endif target-libssp
34770 .PHONY: configure-target-newlib maybe-configure-target-newlib
34771 maybe-configure-target-newlib:
34772 @if gcc-bootstrap
34773 configure-target-newlib: stage_current
34774 @endif gcc-bootstrap
34775 @if target-newlib
34776 maybe-configure-target-newlib: configure-target-newlib
34777 configure-target-newlib:
34778 @: $(MAKE); $(unstage)
34779 @r=`${PWD_COMMAND}`; export r; \
34780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34781 echo "Checking multilib configuration for newlib..."; \
34782 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34783 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34784 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34785 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34786 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34787 else \
34788 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34789 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34790 fi; \
34791 else \
34792 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34793 fi; \
34794 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34796 $(NORMAL_TARGET_EXPORTS) \
34797 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34798 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34799 case $(srcdir) in \
34800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34801 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34803 esac; \
34804 srcdiroption="--srcdir=$${topdir}/newlib"; \
34805 libsrcdir="$$s/newlib"; \
34806 rm -f no-such-file || : ; \
34807 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34808 $(TARGET_CONFIGARGS) $${srcdiroption} \
34809 || exit 1
34810 @endif target-newlib
34816 .PHONY: all-target-newlib maybe-all-target-newlib
34817 maybe-all-target-newlib:
34818 @if gcc-bootstrap
34819 all-target-newlib: stage_current
34820 @endif gcc-bootstrap
34821 @if target-newlib
34822 TARGET-target-newlib=all
34823 maybe-all-target-newlib: all-target-newlib
34824 all-target-newlib: configure-target-newlib
34825 @: $(MAKE); $(unstage)
34826 @r=`${PWD_COMMAND}`; export r; \
34827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34828 $(NORMAL_TARGET_EXPORTS) \
34829 (cd $(TARGET_SUBDIR)/newlib && \
34830 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
34831 @endif target-newlib
34837 .PHONY: check-target-newlib maybe-check-target-newlib
34838 maybe-check-target-newlib:
34839 @if target-newlib
34840 maybe-check-target-newlib: check-target-newlib
34842 check-target-newlib:
34843 @: $(MAKE); $(unstage)
34844 @r=`${PWD_COMMAND}`; export r; \
34845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34846 $(NORMAL_TARGET_EXPORTS) \
34847 (cd $(TARGET_SUBDIR)/newlib && \
34848 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34850 @endif target-newlib
34852 .PHONY: install-target-newlib maybe-install-target-newlib
34853 maybe-install-target-newlib:
34854 @if target-newlib
34855 maybe-install-target-newlib: install-target-newlib
34857 install-target-newlib: installdirs
34858 @: $(MAKE); $(unstage)
34859 @r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34861 $(NORMAL_TARGET_EXPORTS) \
34862 (cd $(TARGET_SUBDIR)/newlib && \
34863 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34865 @endif target-newlib
34867 # Other targets (info, dvi, pdf, etc.)
34869 .PHONY: maybe-info-target-newlib info-target-newlib
34870 maybe-info-target-newlib:
34871 @if target-newlib
34872 maybe-info-target-newlib: info-target-newlib
34874 info-target-newlib: \
34875 configure-target-newlib
34876 @: $(MAKE); $(unstage)
34877 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34878 r=`${PWD_COMMAND}`; export r; \
34879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34880 $(NORMAL_TARGET_EXPORTS) \
34881 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34882 for flag in $(EXTRA_TARGET_FLAGS); do \
34883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34884 done; \
34885 (cd $(TARGET_SUBDIR)/newlib && \
34886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34888 "RANLIB=$${RANLIB}" \
34889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34890 info) \
34891 || exit 1
34893 @endif target-newlib
34895 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34896 maybe-dvi-target-newlib:
34897 @if target-newlib
34898 maybe-dvi-target-newlib: dvi-target-newlib
34900 dvi-target-newlib: \
34901 configure-target-newlib
34902 @: $(MAKE); $(unstage)
34903 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34904 r=`${PWD_COMMAND}`; export r; \
34905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34906 $(NORMAL_TARGET_EXPORTS) \
34907 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34908 for flag in $(EXTRA_TARGET_FLAGS); do \
34909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34910 done; \
34911 (cd $(TARGET_SUBDIR)/newlib && \
34912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34914 "RANLIB=$${RANLIB}" \
34915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34916 dvi) \
34917 || exit 1
34919 @endif target-newlib
34921 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34922 maybe-pdf-target-newlib:
34923 @if target-newlib
34924 maybe-pdf-target-newlib: pdf-target-newlib
34926 pdf-target-newlib: \
34927 configure-target-newlib
34928 @: $(MAKE); $(unstage)
34929 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34930 r=`${PWD_COMMAND}`; export r; \
34931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34932 $(NORMAL_TARGET_EXPORTS) \
34933 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34934 for flag in $(EXTRA_TARGET_FLAGS); do \
34935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34936 done; \
34937 (cd $(TARGET_SUBDIR)/newlib && \
34938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34940 "RANLIB=$${RANLIB}" \
34941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34942 pdf) \
34943 || exit 1
34945 @endif target-newlib
34947 .PHONY: maybe-html-target-newlib html-target-newlib
34948 maybe-html-target-newlib:
34949 @if target-newlib
34950 maybe-html-target-newlib: html-target-newlib
34952 html-target-newlib: \
34953 configure-target-newlib
34954 @: $(MAKE); $(unstage)
34955 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34956 r=`${PWD_COMMAND}`; export r; \
34957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34958 $(NORMAL_TARGET_EXPORTS) \
34959 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34960 for flag in $(EXTRA_TARGET_FLAGS); do \
34961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34962 done; \
34963 (cd $(TARGET_SUBDIR)/newlib && \
34964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34966 "RANLIB=$${RANLIB}" \
34967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34968 html) \
34969 || exit 1
34971 @endif target-newlib
34973 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34974 maybe-TAGS-target-newlib:
34975 @if target-newlib
34976 maybe-TAGS-target-newlib: TAGS-target-newlib
34978 TAGS-target-newlib: \
34979 configure-target-newlib
34980 @: $(MAKE); $(unstage)
34981 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34982 r=`${PWD_COMMAND}`; export r; \
34983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34984 $(NORMAL_TARGET_EXPORTS) \
34985 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34986 for flag in $(EXTRA_TARGET_FLAGS); do \
34987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34988 done; \
34989 (cd $(TARGET_SUBDIR)/newlib && \
34990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34992 "RANLIB=$${RANLIB}" \
34993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34994 TAGS) \
34995 || exit 1
34997 @endif target-newlib
34999 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
35000 maybe-install-info-target-newlib:
35001 @if target-newlib
35002 maybe-install-info-target-newlib: install-info-target-newlib
35004 install-info-target-newlib: \
35005 configure-target-newlib \
35006 info-target-newlib
35007 @: $(MAKE); $(unstage)
35008 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35009 r=`${PWD_COMMAND}`; export r; \
35010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35011 $(NORMAL_TARGET_EXPORTS) \
35012 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
35013 for flag in $(EXTRA_TARGET_FLAGS); do \
35014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35015 done; \
35016 (cd $(TARGET_SUBDIR)/newlib && \
35017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35019 "RANLIB=$${RANLIB}" \
35020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35021 install-info) \
35022 || exit 1
35024 @endif target-newlib
35026 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
35027 maybe-install-html-target-newlib:
35028 @if target-newlib
35029 maybe-install-html-target-newlib: install-html-target-newlib
35031 install-html-target-newlib: \
35032 configure-target-newlib \
35033 html-target-newlib
35034 @: $(MAKE); $(unstage)
35035 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35036 r=`${PWD_COMMAND}`; export r; \
35037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35038 $(NORMAL_TARGET_EXPORTS) \
35039 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
35040 for flag in $(EXTRA_TARGET_FLAGS); do \
35041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35042 done; \
35043 (cd $(TARGET_SUBDIR)/newlib && \
35044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35046 "RANLIB=$${RANLIB}" \
35047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35048 install-html) \
35049 || exit 1
35051 @endif target-newlib
35053 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
35054 maybe-installcheck-target-newlib:
35055 @if target-newlib
35056 maybe-installcheck-target-newlib: installcheck-target-newlib
35058 installcheck-target-newlib: \
35059 configure-target-newlib
35060 @: $(MAKE); $(unstage)
35061 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35062 r=`${PWD_COMMAND}`; export r; \
35063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35064 $(NORMAL_TARGET_EXPORTS) \
35065 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
35066 for flag in $(EXTRA_TARGET_FLAGS); do \
35067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35068 done; \
35069 (cd $(TARGET_SUBDIR)/newlib && \
35070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35072 "RANLIB=$${RANLIB}" \
35073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35074 installcheck) \
35075 || exit 1
35077 @endif target-newlib
35079 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
35080 maybe-mostlyclean-target-newlib:
35081 @if target-newlib
35082 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
35084 mostlyclean-target-newlib:
35085 @: $(MAKE); $(unstage)
35086 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35087 r=`${PWD_COMMAND}`; export r; \
35088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35089 $(NORMAL_TARGET_EXPORTS) \
35090 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
35091 for flag in $(EXTRA_TARGET_FLAGS); do \
35092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35093 done; \
35094 (cd $(TARGET_SUBDIR)/newlib && \
35095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35097 "RANLIB=$${RANLIB}" \
35098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35099 mostlyclean) \
35100 || exit 1
35102 @endif target-newlib
35104 .PHONY: maybe-clean-target-newlib clean-target-newlib
35105 maybe-clean-target-newlib:
35106 @if target-newlib
35107 maybe-clean-target-newlib: clean-target-newlib
35109 clean-target-newlib:
35110 @: $(MAKE); $(unstage)
35111 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35112 r=`${PWD_COMMAND}`; export r; \
35113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35114 $(NORMAL_TARGET_EXPORTS) \
35115 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35116 for flag in $(EXTRA_TARGET_FLAGS); do \
35117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35118 done; \
35119 (cd $(TARGET_SUBDIR)/newlib && \
35120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35122 "RANLIB=$${RANLIB}" \
35123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35124 clean) \
35125 || exit 1
35127 @endif target-newlib
35129 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35130 maybe-distclean-target-newlib:
35131 @if target-newlib
35132 maybe-distclean-target-newlib: distclean-target-newlib
35134 distclean-target-newlib:
35135 @: $(MAKE); $(unstage)
35136 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35137 r=`${PWD_COMMAND}`; export r; \
35138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35139 $(NORMAL_TARGET_EXPORTS) \
35140 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35141 for flag in $(EXTRA_TARGET_FLAGS); do \
35142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35143 done; \
35144 (cd $(TARGET_SUBDIR)/newlib && \
35145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35147 "RANLIB=$${RANLIB}" \
35148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35149 distclean) \
35150 || exit 1
35152 @endif target-newlib
35154 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35155 maybe-maintainer-clean-target-newlib:
35156 @if target-newlib
35157 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35159 maintainer-clean-target-newlib:
35160 @: $(MAKE); $(unstage)
35161 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35162 r=`${PWD_COMMAND}`; export r; \
35163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35164 $(NORMAL_TARGET_EXPORTS) \
35165 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35166 for flag in $(EXTRA_TARGET_FLAGS); do \
35167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35168 done; \
35169 (cd $(TARGET_SUBDIR)/newlib && \
35170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35172 "RANLIB=$${RANLIB}" \
35173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35174 maintainer-clean) \
35175 || exit 1
35177 @endif target-newlib
35183 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35184 maybe-configure-target-libgfortran:
35185 @if gcc-bootstrap
35186 configure-target-libgfortran: stage_current
35187 @endif gcc-bootstrap
35188 @if target-libgfortran
35189 maybe-configure-target-libgfortran: configure-target-libgfortran
35190 configure-target-libgfortran:
35191 @: $(MAKE); $(unstage)
35192 @r=`${PWD_COMMAND}`; export r; \
35193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35194 echo "Checking multilib configuration for libgfortran..."; \
35195 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35196 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35197 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35198 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35199 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35200 else \
35201 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35202 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35203 fi; \
35204 else \
35205 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35206 fi; \
35207 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35208 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35209 $(NORMAL_TARGET_EXPORTS) \
35210 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35211 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35212 case $(srcdir) in \
35213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35214 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35216 esac; \
35217 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35218 libsrcdir="$$s/libgfortran"; \
35219 rm -f no-such-file || : ; \
35220 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35221 $(TARGET_CONFIGARGS) $${srcdiroption} \
35222 || exit 1
35223 @endif target-libgfortran
35229 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35230 maybe-all-target-libgfortran:
35231 @if gcc-bootstrap
35232 all-target-libgfortran: stage_current
35233 @endif gcc-bootstrap
35234 @if target-libgfortran
35235 TARGET-target-libgfortran=all
35236 maybe-all-target-libgfortran: all-target-libgfortran
35237 all-target-libgfortran: configure-target-libgfortran
35238 @: $(MAKE); $(unstage)
35239 @r=`${PWD_COMMAND}`; export r; \
35240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35241 $(NORMAL_TARGET_EXPORTS) \
35242 (cd $(TARGET_SUBDIR)/libgfortran && \
35243 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
35244 @endif target-libgfortran
35250 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35251 maybe-check-target-libgfortran:
35252 @if target-libgfortran
35253 maybe-check-target-libgfortran: check-target-libgfortran
35255 check-target-libgfortran:
35256 @: $(MAKE); $(unstage)
35257 @r=`${PWD_COMMAND}`; export r; \
35258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35259 $(NORMAL_TARGET_EXPORTS) \
35260 (cd $(TARGET_SUBDIR)/libgfortran && \
35261 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35263 @endif target-libgfortran
35265 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35266 maybe-install-target-libgfortran:
35267 @if target-libgfortran
35268 maybe-install-target-libgfortran: install-target-libgfortran
35270 install-target-libgfortran: installdirs
35271 @: $(MAKE); $(unstage)
35272 @r=`${PWD_COMMAND}`; export r; \
35273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35274 $(NORMAL_TARGET_EXPORTS) \
35275 (cd $(TARGET_SUBDIR)/libgfortran && \
35276 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35278 @endif target-libgfortran
35280 # Other targets (info, dvi, pdf, etc.)
35282 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35283 maybe-info-target-libgfortran:
35284 @if target-libgfortran
35285 maybe-info-target-libgfortran: info-target-libgfortran
35287 info-target-libgfortran: \
35288 configure-target-libgfortran
35289 @: $(MAKE); $(unstage)
35290 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35291 r=`${PWD_COMMAND}`; export r; \
35292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35293 $(NORMAL_TARGET_EXPORTS) \
35294 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35295 for flag in $(EXTRA_TARGET_FLAGS); do \
35296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35297 done; \
35298 (cd $(TARGET_SUBDIR)/libgfortran && \
35299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35301 "RANLIB=$${RANLIB}" \
35302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35303 info) \
35304 || exit 1
35306 @endif target-libgfortran
35308 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35309 maybe-dvi-target-libgfortran:
35310 @if target-libgfortran
35311 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35313 dvi-target-libgfortran: \
35314 configure-target-libgfortran
35315 @: $(MAKE); $(unstage)
35316 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35317 r=`${PWD_COMMAND}`; export r; \
35318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35319 $(NORMAL_TARGET_EXPORTS) \
35320 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35321 for flag in $(EXTRA_TARGET_FLAGS); do \
35322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35323 done; \
35324 (cd $(TARGET_SUBDIR)/libgfortran && \
35325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35327 "RANLIB=$${RANLIB}" \
35328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35329 dvi) \
35330 || exit 1
35332 @endif target-libgfortran
35334 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35335 maybe-pdf-target-libgfortran:
35336 @if target-libgfortran
35337 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35339 pdf-target-libgfortran: \
35340 configure-target-libgfortran
35341 @: $(MAKE); $(unstage)
35342 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35343 r=`${PWD_COMMAND}`; export r; \
35344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35345 $(NORMAL_TARGET_EXPORTS) \
35346 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35347 for flag in $(EXTRA_TARGET_FLAGS); do \
35348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35349 done; \
35350 (cd $(TARGET_SUBDIR)/libgfortran && \
35351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35353 "RANLIB=$${RANLIB}" \
35354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35355 pdf) \
35356 || exit 1
35358 @endif target-libgfortran
35360 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35361 maybe-html-target-libgfortran:
35362 @if target-libgfortran
35363 maybe-html-target-libgfortran: html-target-libgfortran
35365 html-target-libgfortran: \
35366 configure-target-libgfortran
35367 @: $(MAKE); $(unstage)
35368 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35369 r=`${PWD_COMMAND}`; export r; \
35370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35371 $(NORMAL_TARGET_EXPORTS) \
35372 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35373 for flag in $(EXTRA_TARGET_FLAGS); do \
35374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35375 done; \
35376 (cd $(TARGET_SUBDIR)/libgfortran && \
35377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35379 "RANLIB=$${RANLIB}" \
35380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35381 html) \
35382 || exit 1
35384 @endif target-libgfortran
35386 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35387 maybe-TAGS-target-libgfortran:
35388 @if target-libgfortran
35389 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35391 TAGS-target-libgfortran: \
35392 configure-target-libgfortran
35393 @: $(MAKE); $(unstage)
35394 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35395 r=`${PWD_COMMAND}`; export r; \
35396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35397 $(NORMAL_TARGET_EXPORTS) \
35398 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35399 for flag in $(EXTRA_TARGET_FLAGS); do \
35400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35401 done; \
35402 (cd $(TARGET_SUBDIR)/libgfortran && \
35403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35405 "RANLIB=$${RANLIB}" \
35406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35407 TAGS) \
35408 || exit 1
35410 @endif target-libgfortran
35412 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35413 maybe-install-info-target-libgfortran:
35414 @if target-libgfortran
35415 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35417 install-info-target-libgfortran: \
35418 configure-target-libgfortran \
35419 info-target-libgfortran
35420 @: $(MAKE); $(unstage)
35421 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35422 r=`${PWD_COMMAND}`; export r; \
35423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35424 $(NORMAL_TARGET_EXPORTS) \
35425 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35426 for flag in $(EXTRA_TARGET_FLAGS); do \
35427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35428 done; \
35429 (cd $(TARGET_SUBDIR)/libgfortran && \
35430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35432 "RANLIB=$${RANLIB}" \
35433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35434 install-info) \
35435 || exit 1
35437 @endif target-libgfortran
35439 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35440 maybe-install-html-target-libgfortran:
35441 @if target-libgfortran
35442 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35444 install-html-target-libgfortran: \
35445 configure-target-libgfortran \
35446 html-target-libgfortran
35447 @: $(MAKE); $(unstage)
35448 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35449 r=`${PWD_COMMAND}`; export r; \
35450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35451 $(NORMAL_TARGET_EXPORTS) \
35452 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35453 for flag in $(EXTRA_TARGET_FLAGS); do \
35454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35455 done; \
35456 (cd $(TARGET_SUBDIR)/libgfortran && \
35457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35459 "RANLIB=$${RANLIB}" \
35460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35461 install-html) \
35462 || exit 1
35464 @endif target-libgfortran
35466 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35467 maybe-installcheck-target-libgfortran:
35468 @if target-libgfortran
35469 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35471 installcheck-target-libgfortran: \
35472 configure-target-libgfortran
35473 @: $(MAKE); $(unstage)
35474 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35475 r=`${PWD_COMMAND}`; export r; \
35476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35477 $(NORMAL_TARGET_EXPORTS) \
35478 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35479 for flag in $(EXTRA_TARGET_FLAGS); do \
35480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 done; \
35482 (cd $(TARGET_SUBDIR)/libgfortran && \
35483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35485 "RANLIB=$${RANLIB}" \
35486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35487 installcheck) \
35488 || exit 1
35490 @endif target-libgfortran
35492 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35493 maybe-mostlyclean-target-libgfortran:
35494 @if target-libgfortran
35495 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35497 mostlyclean-target-libgfortran:
35498 @: $(MAKE); $(unstage)
35499 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35500 r=`${PWD_COMMAND}`; export r; \
35501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35502 $(NORMAL_TARGET_EXPORTS) \
35503 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35504 for flag in $(EXTRA_TARGET_FLAGS); do \
35505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35506 done; \
35507 (cd $(TARGET_SUBDIR)/libgfortran && \
35508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35510 "RANLIB=$${RANLIB}" \
35511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35512 mostlyclean) \
35513 || exit 1
35515 @endif target-libgfortran
35517 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35518 maybe-clean-target-libgfortran:
35519 @if target-libgfortran
35520 maybe-clean-target-libgfortran: clean-target-libgfortran
35522 clean-target-libgfortran:
35523 @: $(MAKE); $(unstage)
35524 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35525 r=`${PWD_COMMAND}`; export r; \
35526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35527 $(NORMAL_TARGET_EXPORTS) \
35528 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35529 for flag in $(EXTRA_TARGET_FLAGS); do \
35530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35531 done; \
35532 (cd $(TARGET_SUBDIR)/libgfortran && \
35533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35535 "RANLIB=$${RANLIB}" \
35536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35537 clean) \
35538 || exit 1
35540 @endif target-libgfortran
35542 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35543 maybe-distclean-target-libgfortran:
35544 @if target-libgfortran
35545 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35547 distclean-target-libgfortran:
35548 @: $(MAKE); $(unstage)
35549 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35550 r=`${PWD_COMMAND}`; export r; \
35551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35552 $(NORMAL_TARGET_EXPORTS) \
35553 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35554 for flag in $(EXTRA_TARGET_FLAGS); do \
35555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35556 done; \
35557 (cd $(TARGET_SUBDIR)/libgfortran && \
35558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35560 "RANLIB=$${RANLIB}" \
35561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35562 distclean) \
35563 || exit 1
35565 @endif target-libgfortran
35567 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35568 maybe-maintainer-clean-target-libgfortran:
35569 @if target-libgfortran
35570 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35572 maintainer-clean-target-libgfortran:
35573 @: $(MAKE); $(unstage)
35574 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35575 r=`${PWD_COMMAND}`; export r; \
35576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35577 $(NORMAL_TARGET_EXPORTS) \
35578 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35579 for flag in $(EXTRA_TARGET_FLAGS); do \
35580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35581 done; \
35582 (cd $(TARGET_SUBDIR)/libgfortran && \
35583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35585 "RANLIB=$${RANLIB}" \
35586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35587 maintainer-clean) \
35588 || exit 1
35590 @endif target-libgfortran
35596 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35597 maybe-configure-target-libobjc:
35598 @if gcc-bootstrap
35599 configure-target-libobjc: stage_current
35600 @endif gcc-bootstrap
35601 @if target-libobjc
35602 maybe-configure-target-libobjc: configure-target-libobjc
35603 configure-target-libobjc:
35604 @: $(MAKE); $(unstage)
35605 @r=`${PWD_COMMAND}`; export r; \
35606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35607 echo "Checking multilib configuration for libobjc..."; \
35608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35609 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35610 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35611 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35612 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35613 else \
35614 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35615 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35616 fi; \
35617 else \
35618 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35619 fi; \
35620 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35622 $(NORMAL_TARGET_EXPORTS) \
35623 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35624 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35625 case $(srcdir) in \
35626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35627 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35629 esac; \
35630 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35631 libsrcdir="$$s/libobjc"; \
35632 rm -f no-such-file || : ; \
35633 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35634 $(TARGET_CONFIGARGS) $${srcdiroption} \
35635 || exit 1
35636 @endif target-libobjc
35642 .PHONY: all-target-libobjc maybe-all-target-libobjc
35643 maybe-all-target-libobjc:
35644 @if gcc-bootstrap
35645 all-target-libobjc: stage_current
35646 @endif gcc-bootstrap
35647 @if target-libobjc
35648 TARGET-target-libobjc=all
35649 maybe-all-target-libobjc: all-target-libobjc
35650 all-target-libobjc: configure-target-libobjc
35651 @: $(MAKE); $(unstage)
35652 @r=`${PWD_COMMAND}`; export r; \
35653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35654 $(NORMAL_TARGET_EXPORTS) \
35655 (cd $(TARGET_SUBDIR)/libobjc && \
35656 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
35657 @endif target-libobjc
35663 .PHONY: check-target-libobjc maybe-check-target-libobjc
35664 maybe-check-target-libobjc:
35665 @if target-libobjc
35666 maybe-check-target-libobjc: check-target-libobjc
35668 check-target-libobjc:
35669 @: $(MAKE); $(unstage)
35670 @r=`${PWD_COMMAND}`; export r; \
35671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35672 $(NORMAL_TARGET_EXPORTS) \
35673 (cd $(TARGET_SUBDIR)/libobjc && \
35674 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35676 @endif target-libobjc
35678 .PHONY: install-target-libobjc maybe-install-target-libobjc
35679 maybe-install-target-libobjc:
35680 @if target-libobjc
35681 maybe-install-target-libobjc: install-target-libobjc
35683 install-target-libobjc: installdirs
35684 @: $(MAKE); $(unstage)
35685 @r=`${PWD_COMMAND}`; export r; \
35686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35687 $(NORMAL_TARGET_EXPORTS) \
35688 (cd $(TARGET_SUBDIR)/libobjc && \
35689 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35691 @endif target-libobjc
35693 # Other targets (info, dvi, pdf, etc.)
35695 .PHONY: maybe-info-target-libobjc info-target-libobjc
35696 maybe-info-target-libobjc:
35697 @if target-libobjc
35698 maybe-info-target-libobjc: info-target-libobjc
35700 info-target-libobjc: \
35701 configure-target-libobjc
35702 @: $(MAKE); $(unstage)
35703 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35704 r=`${PWD_COMMAND}`; export r; \
35705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35706 $(NORMAL_TARGET_EXPORTS) \
35707 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35708 for flag in $(EXTRA_TARGET_FLAGS); do \
35709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35710 done; \
35711 (cd $(TARGET_SUBDIR)/libobjc && \
35712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35714 "RANLIB=$${RANLIB}" \
35715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35716 info) \
35717 || exit 1
35719 @endif target-libobjc
35721 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35722 maybe-dvi-target-libobjc:
35723 @if target-libobjc
35724 maybe-dvi-target-libobjc: dvi-target-libobjc
35726 dvi-target-libobjc: \
35727 configure-target-libobjc
35728 @: $(MAKE); $(unstage)
35729 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35730 r=`${PWD_COMMAND}`; export r; \
35731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35732 $(NORMAL_TARGET_EXPORTS) \
35733 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35734 for flag in $(EXTRA_TARGET_FLAGS); do \
35735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35736 done; \
35737 (cd $(TARGET_SUBDIR)/libobjc && \
35738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35740 "RANLIB=$${RANLIB}" \
35741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35742 dvi) \
35743 || exit 1
35745 @endif target-libobjc
35747 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35748 maybe-pdf-target-libobjc:
35749 @if target-libobjc
35750 maybe-pdf-target-libobjc: pdf-target-libobjc
35752 pdf-target-libobjc: \
35753 configure-target-libobjc
35754 @: $(MAKE); $(unstage)
35755 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35756 r=`${PWD_COMMAND}`; export r; \
35757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35758 $(NORMAL_TARGET_EXPORTS) \
35759 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35760 for flag in $(EXTRA_TARGET_FLAGS); do \
35761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35762 done; \
35763 (cd $(TARGET_SUBDIR)/libobjc && \
35764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35766 "RANLIB=$${RANLIB}" \
35767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35768 pdf) \
35769 || exit 1
35771 @endif target-libobjc
35773 .PHONY: maybe-html-target-libobjc html-target-libobjc
35774 maybe-html-target-libobjc:
35775 @if target-libobjc
35776 maybe-html-target-libobjc: html-target-libobjc
35778 html-target-libobjc: \
35779 configure-target-libobjc
35780 @: $(MAKE); $(unstage)
35781 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35782 r=`${PWD_COMMAND}`; export r; \
35783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35784 $(NORMAL_TARGET_EXPORTS) \
35785 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35786 for flag in $(EXTRA_TARGET_FLAGS); do \
35787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35788 done; \
35789 (cd $(TARGET_SUBDIR)/libobjc && \
35790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35792 "RANLIB=$${RANLIB}" \
35793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35794 html) \
35795 || exit 1
35797 @endif target-libobjc
35799 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35800 maybe-TAGS-target-libobjc:
35801 @if target-libobjc
35802 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35804 TAGS-target-libobjc: \
35805 configure-target-libobjc
35806 @: $(MAKE); $(unstage)
35807 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35808 r=`${PWD_COMMAND}`; export r; \
35809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35810 $(NORMAL_TARGET_EXPORTS) \
35811 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35812 for flag in $(EXTRA_TARGET_FLAGS); do \
35813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35814 done; \
35815 (cd $(TARGET_SUBDIR)/libobjc && \
35816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35818 "RANLIB=$${RANLIB}" \
35819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35820 TAGS) \
35821 || exit 1
35823 @endif target-libobjc
35825 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35826 maybe-install-info-target-libobjc:
35827 @if target-libobjc
35828 maybe-install-info-target-libobjc: install-info-target-libobjc
35830 install-info-target-libobjc: \
35831 configure-target-libobjc \
35832 info-target-libobjc
35833 @: $(MAKE); $(unstage)
35834 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35835 r=`${PWD_COMMAND}`; export r; \
35836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35837 $(NORMAL_TARGET_EXPORTS) \
35838 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35839 for flag in $(EXTRA_TARGET_FLAGS); do \
35840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35841 done; \
35842 (cd $(TARGET_SUBDIR)/libobjc && \
35843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35845 "RANLIB=$${RANLIB}" \
35846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35847 install-info) \
35848 || exit 1
35850 @endif target-libobjc
35852 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35853 maybe-install-html-target-libobjc:
35854 @if target-libobjc
35855 maybe-install-html-target-libobjc: install-html-target-libobjc
35857 install-html-target-libobjc: \
35858 configure-target-libobjc \
35859 html-target-libobjc
35860 @: $(MAKE); $(unstage)
35861 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35862 r=`${PWD_COMMAND}`; export r; \
35863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35864 $(NORMAL_TARGET_EXPORTS) \
35865 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35866 for flag in $(EXTRA_TARGET_FLAGS); do \
35867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35868 done; \
35869 (cd $(TARGET_SUBDIR)/libobjc && \
35870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35872 "RANLIB=$${RANLIB}" \
35873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35874 install-html) \
35875 || exit 1
35877 @endif target-libobjc
35879 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35880 maybe-installcheck-target-libobjc:
35881 @if target-libobjc
35882 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35884 installcheck-target-libobjc: \
35885 configure-target-libobjc
35886 @: $(MAKE); $(unstage)
35887 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35888 r=`${PWD_COMMAND}`; export r; \
35889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35890 $(NORMAL_TARGET_EXPORTS) \
35891 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35892 for flag in $(EXTRA_TARGET_FLAGS); do \
35893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35894 done; \
35895 (cd $(TARGET_SUBDIR)/libobjc && \
35896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35898 "RANLIB=$${RANLIB}" \
35899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35900 installcheck) \
35901 || exit 1
35903 @endif target-libobjc
35905 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35906 maybe-mostlyclean-target-libobjc:
35907 @if target-libobjc
35908 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35910 mostlyclean-target-libobjc:
35911 @: $(MAKE); $(unstage)
35912 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35913 r=`${PWD_COMMAND}`; export r; \
35914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35915 $(NORMAL_TARGET_EXPORTS) \
35916 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35917 for flag in $(EXTRA_TARGET_FLAGS); do \
35918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35919 done; \
35920 (cd $(TARGET_SUBDIR)/libobjc && \
35921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35923 "RANLIB=$${RANLIB}" \
35924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35925 mostlyclean) \
35926 || exit 1
35928 @endif target-libobjc
35930 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35931 maybe-clean-target-libobjc:
35932 @if target-libobjc
35933 maybe-clean-target-libobjc: clean-target-libobjc
35935 clean-target-libobjc:
35936 @: $(MAKE); $(unstage)
35937 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35938 r=`${PWD_COMMAND}`; export r; \
35939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35940 $(NORMAL_TARGET_EXPORTS) \
35941 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35942 for flag in $(EXTRA_TARGET_FLAGS); do \
35943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35944 done; \
35945 (cd $(TARGET_SUBDIR)/libobjc && \
35946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35948 "RANLIB=$${RANLIB}" \
35949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35950 clean) \
35951 || exit 1
35953 @endif target-libobjc
35955 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35956 maybe-distclean-target-libobjc:
35957 @if target-libobjc
35958 maybe-distclean-target-libobjc: distclean-target-libobjc
35960 distclean-target-libobjc:
35961 @: $(MAKE); $(unstage)
35962 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35963 r=`${PWD_COMMAND}`; export r; \
35964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35965 $(NORMAL_TARGET_EXPORTS) \
35966 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35967 for flag in $(EXTRA_TARGET_FLAGS); do \
35968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35969 done; \
35970 (cd $(TARGET_SUBDIR)/libobjc && \
35971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35973 "RANLIB=$${RANLIB}" \
35974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35975 distclean) \
35976 || exit 1
35978 @endif target-libobjc
35980 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35981 maybe-maintainer-clean-target-libobjc:
35982 @if target-libobjc
35983 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35985 maintainer-clean-target-libobjc:
35986 @: $(MAKE); $(unstage)
35987 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35988 r=`${PWD_COMMAND}`; export r; \
35989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35990 $(NORMAL_TARGET_EXPORTS) \
35991 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35992 for flag in $(EXTRA_TARGET_FLAGS); do \
35993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35994 done; \
35995 (cd $(TARGET_SUBDIR)/libobjc && \
35996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35998 "RANLIB=$${RANLIB}" \
35999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36000 maintainer-clean) \
36001 || exit 1
36003 @endif target-libobjc
36009 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
36010 maybe-configure-target-libtermcap:
36011 @if gcc-bootstrap
36012 configure-target-libtermcap: stage_current
36013 @endif gcc-bootstrap
36014 @if target-libtermcap
36015 maybe-configure-target-libtermcap: configure-target-libtermcap
36016 configure-target-libtermcap:
36017 @: $(MAKE); $(unstage)
36018 @r=`${PWD_COMMAND}`; export r; \
36019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36020 echo "Checking multilib configuration for libtermcap..."; \
36021 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36022 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36023 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36024 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36025 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36026 else \
36027 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36028 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36029 fi; \
36030 else \
36031 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36032 fi; \
36033 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36034 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36035 $(NORMAL_TARGET_EXPORTS) \
36036 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36037 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36038 case $(srcdir) in \
36039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36040 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36042 esac; \
36043 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36044 libsrcdir="$$s/libtermcap"; \
36045 rm -f no-such-file || : ; \
36046 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36047 $(TARGET_CONFIGARGS) $${srcdiroption} \
36048 || exit 1
36049 @endif target-libtermcap
36055 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36056 maybe-all-target-libtermcap:
36057 @if gcc-bootstrap
36058 all-target-libtermcap: stage_current
36059 @endif gcc-bootstrap
36060 @if target-libtermcap
36061 TARGET-target-libtermcap=all
36062 maybe-all-target-libtermcap: all-target-libtermcap
36063 all-target-libtermcap: configure-target-libtermcap
36064 @: $(MAKE); $(unstage)
36065 @r=`${PWD_COMMAND}`; export r; \
36066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36067 $(NORMAL_TARGET_EXPORTS) \
36068 (cd $(TARGET_SUBDIR)/libtermcap && \
36069 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
36070 @endif target-libtermcap
36076 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36077 maybe-check-target-libtermcap:
36078 @if target-libtermcap
36079 maybe-check-target-libtermcap: check-target-libtermcap
36081 # Dummy target for uncheckable module.
36082 check-target-libtermcap:
36084 @endif target-libtermcap
36086 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36087 maybe-install-target-libtermcap:
36088 @if target-libtermcap
36089 maybe-install-target-libtermcap: install-target-libtermcap
36091 install-target-libtermcap: installdirs
36092 @: $(MAKE); $(unstage)
36093 @r=`${PWD_COMMAND}`; export r; \
36094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36095 $(NORMAL_TARGET_EXPORTS) \
36096 (cd $(TARGET_SUBDIR)/libtermcap && \
36097 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36099 @endif target-libtermcap
36101 # Other targets (info, dvi, pdf, etc.)
36103 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36104 maybe-info-target-libtermcap:
36105 @if target-libtermcap
36106 maybe-info-target-libtermcap: info-target-libtermcap
36108 info-target-libtermcap: \
36109 configure-target-libtermcap
36110 @: $(MAKE); $(unstage)
36111 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36112 r=`${PWD_COMMAND}`; export r; \
36113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36114 $(NORMAL_TARGET_EXPORTS) \
36115 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36116 for flag in $(EXTRA_TARGET_FLAGS); do \
36117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36118 done; \
36119 (cd $(TARGET_SUBDIR)/libtermcap && \
36120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36122 "RANLIB=$${RANLIB}" \
36123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36124 info) \
36125 || exit 1
36127 @endif target-libtermcap
36129 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36130 maybe-dvi-target-libtermcap:
36131 @if target-libtermcap
36132 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36134 dvi-target-libtermcap: \
36135 configure-target-libtermcap
36136 @: $(MAKE); $(unstage)
36137 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36138 r=`${PWD_COMMAND}`; export r; \
36139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36140 $(NORMAL_TARGET_EXPORTS) \
36141 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36142 for flag in $(EXTRA_TARGET_FLAGS); do \
36143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36144 done; \
36145 (cd $(TARGET_SUBDIR)/libtermcap && \
36146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36148 "RANLIB=$${RANLIB}" \
36149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36150 dvi) \
36151 || exit 1
36153 @endif target-libtermcap
36155 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36156 maybe-pdf-target-libtermcap:
36157 @if target-libtermcap
36158 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36160 pdf-target-libtermcap: \
36161 configure-target-libtermcap
36162 @: $(MAKE); $(unstage)
36163 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36164 r=`${PWD_COMMAND}`; export r; \
36165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36166 $(NORMAL_TARGET_EXPORTS) \
36167 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36168 for flag in $(EXTRA_TARGET_FLAGS); do \
36169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36170 done; \
36171 (cd $(TARGET_SUBDIR)/libtermcap && \
36172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36174 "RANLIB=$${RANLIB}" \
36175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36176 pdf) \
36177 || exit 1
36179 @endif target-libtermcap
36181 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36182 maybe-html-target-libtermcap:
36183 @if target-libtermcap
36184 maybe-html-target-libtermcap: html-target-libtermcap
36186 html-target-libtermcap: \
36187 configure-target-libtermcap
36188 @: $(MAKE); $(unstage)
36189 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36190 r=`${PWD_COMMAND}`; export r; \
36191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36192 $(NORMAL_TARGET_EXPORTS) \
36193 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
36194 for flag in $(EXTRA_TARGET_FLAGS); do \
36195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36196 done; \
36197 (cd $(TARGET_SUBDIR)/libtermcap && \
36198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36200 "RANLIB=$${RANLIB}" \
36201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36202 html) \
36203 || exit 1
36205 @endif target-libtermcap
36207 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
36208 maybe-TAGS-target-libtermcap:
36209 @if target-libtermcap
36210 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
36212 TAGS-target-libtermcap: \
36213 configure-target-libtermcap
36214 @: $(MAKE); $(unstage)
36215 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36216 r=`${PWD_COMMAND}`; export r; \
36217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36218 $(NORMAL_TARGET_EXPORTS) \
36219 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36220 for flag in $(EXTRA_TARGET_FLAGS); do \
36221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36222 done; \
36223 (cd $(TARGET_SUBDIR)/libtermcap && \
36224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36226 "RANLIB=$${RANLIB}" \
36227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36228 TAGS) \
36229 || exit 1
36231 @endif target-libtermcap
36233 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36234 maybe-install-info-target-libtermcap:
36235 @if target-libtermcap
36236 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36238 install-info-target-libtermcap: \
36239 configure-target-libtermcap \
36240 info-target-libtermcap
36241 @: $(MAKE); $(unstage)
36242 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36243 r=`${PWD_COMMAND}`; export r; \
36244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36245 $(NORMAL_TARGET_EXPORTS) \
36246 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36247 for flag in $(EXTRA_TARGET_FLAGS); do \
36248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36249 done; \
36250 (cd $(TARGET_SUBDIR)/libtermcap && \
36251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36253 "RANLIB=$${RANLIB}" \
36254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36255 install-info) \
36256 || exit 1
36258 @endif target-libtermcap
36260 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36261 maybe-install-html-target-libtermcap:
36262 @if target-libtermcap
36263 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36265 install-html-target-libtermcap: \
36266 configure-target-libtermcap \
36267 html-target-libtermcap
36268 @: $(MAKE); $(unstage)
36269 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36270 r=`${PWD_COMMAND}`; export r; \
36271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36272 $(NORMAL_TARGET_EXPORTS) \
36273 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
36274 for flag in $(EXTRA_TARGET_FLAGS); do \
36275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36276 done; \
36277 (cd $(TARGET_SUBDIR)/libtermcap && \
36278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36280 "RANLIB=$${RANLIB}" \
36281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36282 install-html) \
36283 || exit 1
36285 @endif target-libtermcap
36287 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36288 maybe-installcheck-target-libtermcap:
36289 @if target-libtermcap
36290 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36292 installcheck-target-libtermcap: \
36293 configure-target-libtermcap
36294 @: $(MAKE); $(unstage)
36295 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36296 r=`${PWD_COMMAND}`; export r; \
36297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36298 $(NORMAL_TARGET_EXPORTS) \
36299 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36300 for flag in $(EXTRA_TARGET_FLAGS); do \
36301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36302 done; \
36303 (cd $(TARGET_SUBDIR)/libtermcap && \
36304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36306 "RANLIB=$${RANLIB}" \
36307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36308 installcheck) \
36309 || exit 1
36311 @endif target-libtermcap
36313 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36314 maybe-mostlyclean-target-libtermcap:
36315 @if target-libtermcap
36316 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36318 # libtermcap doesn't support mostlyclean.
36319 mostlyclean-target-libtermcap:
36321 @endif target-libtermcap
36323 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36324 maybe-clean-target-libtermcap:
36325 @if target-libtermcap
36326 maybe-clean-target-libtermcap: clean-target-libtermcap
36328 # libtermcap doesn't support clean.
36329 clean-target-libtermcap:
36331 @endif target-libtermcap
36333 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36334 maybe-distclean-target-libtermcap:
36335 @if target-libtermcap
36336 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36338 # libtermcap doesn't support distclean.
36339 distclean-target-libtermcap:
36341 @endif target-libtermcap
36343 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36344 maybe-maintainer-clean-target-libtermcap:
36345 @if target-libtermcap
36346 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36348 # libtermcap doesn't support maintainer-clean.
36349 maintainer-clean-target-libtermcap:
36351 @endif target-libtermcap
36357 .PHONY: configure-target-winsup maybe-configure-target-winsup
36358 maybe-configure-target-winsup:
36359 @if gcc-bootstrap
36360 configure-target-winsup: stage_current
36361 @endif gcc-bootstrap
36362 @if target-winsup
36363 maybe-configure-target-winsup: configure-target-winsup
36364 configure-target-winsup:
36365 @: $(MAKE); $(unstage)
36366 @r=`${PWD_COMMAND}`; export r; \
36367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36368 echo "Checking multilib configuration for winsup..."; \
36369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36370 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36371 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36372 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36373 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36374 else \
36375 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36376 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36377 fi; \
36378 else \
36379 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36380 fi; \
36381 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36383 $(NORMAL_TARGET_EXPORTS) \
36384 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36385 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36386 case $(srcdir) in \
36387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36388 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36390 esac; \
36391 srcdiroption="--srcdir=$${topdir}/winsup"; \
36392 libsrcdir="$$s/winsup"; \
36393 rm -f no-such-file || : ; \
36394 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36395 $(TARGET_CONFIGARGS) $${srcdiroption} \
36396 || exit 1
36397 @endif target-winsup
36403 .PHONY: all-target-winsup maybe-all-target-winsup
36404 maybe-all-target-winsup:
36405 @if gcc-bootstrap
36406 all-target-winsup: stage_current
36407 @endif gcc-bootstrap
36408 @if target-winsup
36409 TARGET-target-winsup=all
36410 maybe-all-target-winsup: all-target-winsup
36411 all-target-winsup: configure-target-winsup
36412 @: $(MAKE); $(unstage)
36413 @r=`${PWD_COMMAND}`; export r; \
36414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36415 $(NORMAL_TARGET_EXPORTS) \
36416 (cd $(TARGET_SUBDIR)/winsup && \
36417 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
36418 @endif target-winsup
36424 .PHONY: check-target-winsup maybe-check-target-winsup
36425 maybe-check-target-winsup:
36426 @if target-winsup
36427 maybe-check-target-winsup: check-target-winsup
36429 check-target-winsup:
36430 @: $(MAKE); $(unstage)
36431 @r=`${PWD_COMMAND}`; export r; \
36432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36433 $(NORMAL_TARGET_EXPORTS) \
36434 (cd $(TARGET_SUBDIR)/winsup && \
36435 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36437 @endif target-winsup
36439 .PHONY: install-target-winsup maybe-install-target-winsup
36440 maybe-install-target-winsup:
36441 @if target-winsup
36442 maybe-install-target-winsup: install-target-winsup
36444 install-target-winsup: installdirs
36445 @: $(MAKE); $(unstage)
36446 @r=`${PWD_COMMAND}`; export r; \
36447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36448 $(NORMAL_TARGET_EXPORTS) \
36449 (cd $(TARGET_SUBDIR)/winsup && \
36450 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36452 @endif target-winsup
36454 # Other targets (info, dvi, pdf, etc.)
36456 .PHONY: maybe-info-target-winsup info-target-winsup
36457 maybe-info-target-winsup:
36458 @if target-winsup
36459 maybe-info-target-winsup: info-target-winsup
36461 info-target-winsup: \
36462 configure-target-winsup
36463 @: $(MAKE); $(unstage)
36464 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36465 r=`${PWD_COMMAND}`; export r; \
36466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36467 $(NORMAL_TARGET_EXPORTS) \
36468 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36469 for flag in $(EXTRA_TARGET_FLAGS); do \
36470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36471 done; \
36472 (cd $(TARGET_SUBDIR)/winsup && \
36473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36475 "RANLIB=$${RANLIB}" \
36476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36477 info) \
36478 || exit 1
36480 @endif target-winsup
36482 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36483 maybe-dvi-target-winsup:
36484 @if target-winsup
36485 maybe-dvi-target-winsup: dvi-target-winsup
36487 dvi-target-winsup: \
36488 configure-target-winsup
36489 @: $(MAKE); $(unstage)
36490 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36491 r=`${PWD_COMMAND}`; export r; \
36492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36493 $(NORMAL_TARGET_EXPORTS) \
36494 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36495 for flag in $(EXTRA_TARGET_FLAGS); do \
36496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36497 done; \
36498 (cd $(TARGET_SUBDIR)/winsup && \
36499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36501 "RANLIB=$${RANLIB}" \
36502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36503 dvi) \
36504 || exit 1
36506 @endif target-winsup
36508 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36509 maybe-pdf-target-winsup:
36510 @if target-winsup
36511 maybe-pdf-target-winsup: pdf-target-winsup
36513 pdf-target-winsup: \
36514 configure-target-winsup
36515 @: $(MAKE); $(unstage)
36516 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36517 r=`${PWD_COMMAND}`; export r; \
36518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36519 $(NORMAL_TARGET_EXPORTS) \
36520 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36521 for flag in $(EXTRA_TARGET_FLAGS); do \
36522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36523 done; \
36524 (cd $(TARGET_SUBDIR)/winsup && \
36525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36527 "RANLIB=$${RANLIB}" \
36528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36529 pdf) \
36530 || exit 1
36532 @endif target-winsup
36534 .PHONY: maybe-html-target-winsup html-target-winsup
36535 maybe-html-target-winsup:
36536 @if target-winsup
36537 maybe-html-target-winsup: html-target-winsup
36539 html-target-winsup: \
36540 configure-target-winsup
36541 @: $(MAKE); $(unstage)
36542 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36543 r=`${PWD_COMMAND}`; export r; \
36544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36545 $(NORMAL_TARGET_EXPORTS) \
36546 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36547 for flag in $(EXTRA_TARGET_FLAGS); do \
36548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36549 done; \
36550 (cd $(TARGET_SUBDIR)/winsup && \
36551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36553 "RANLIB=$${RANLIB}" \
36554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36555 html) \
36556 || exit 1
36558 @endif target-winsup
36560 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36561 maybe-TAGS-target-winsup:
36562 @if target-winsup
36563 maybe-TAGS-target-winsup: TAGS-target-winsup
36565 TAGS-target-winsup: \
36566 configure-target-winsup
36567 @: $(MAKE); $(unstage)
36568 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36569 r=`${PWD_COMMAND}`; export r; \
36570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36571 $(NORMAL_TARGET_EXPORTS) \
36572 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36573 for flag in $(EXTRA_TARGET_FLAGS); do \
36574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36575 done; \
36576 (cd $(TARGET_SUBDIR)/winsup && \
36577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36579 "RANLIB=$${RANLIB}" \
36580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36581 TAGS) \
36582 || exit 1
36584 @endif target-winsup
36586 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36587 maybe-install-info-target-winsup:
36588 @if target-winsup
36589 maybe-install-info-target-winsup: install-info-target-winsup
36591 install-info-target-winsup: \
36592 configure-target-winsup \
36593 info-target-winsup
36594 @: $(MAKE); $(unstage)
36595 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36596 r=`${PWD_COMMAND}`; export r; \
36597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36598 $(NORMAL_TARGET_EXPORTS) \
36599 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36600 for flag in $(EXTRA_TARGET_FLAGS); do \
36601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36602 done; \
36603 (cd $(TARGET_SUBDIR)/winsup && \
36604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36606 "RANLIB=$${RANLIB}" \
36607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36608 install-info) \
36609 || exit 1
36611 @endif target-winsup
36613 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
36614 maybe-install-html-target-winsup:
36615 @if target-winsup
36616 maybe-install-html-target-winsup: install-html-target-winsup
36618 install-html-target-winsup: \
36619 configure-target-winsup \
36620 html-target-winsup
36621 @: $(MAKE); $(unstage)
36622 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36623 r=`${PWD_COMMAND}`; export r; \
36624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36625 $(NORMAL_TARGET_EXPORTS) \
36626 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
36627 for flag in $(EXTRA_TARGET_FLAGS); do \
36628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36629 done; \
36630 (cd $(TARGET_SUBDIR)/winsup && \
36631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36633 "RANLIB=$${RANLIB}" \
36634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36635 install-html) \
36636 || exit 1
36638 @endif target-winsup
36640 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
36641 maybe-installcheck-target-winsup:
36642 @if target-winsup
36643 maybe-installcheck-target-winsup: installcheck-target-winsup
36645 installcheck-target-winsup: \
36646 configure-target-winsup
36647 @: $(MAKE); $(unstage)
36648 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36649 r=`${PWD_COMMAND}`; export r; \
36650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36651 $(NORMAL_TARGET_EXPORTS) \
36652 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
36653 for flag in $(EXTRA_TARGET_FLAGS); do \
36654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36655 done; \
36656 (cd $(TARGET_SUBDIR)/winsup && \
36657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36659 "RANLIB=$${RANLIB}" \
36660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36661 installcheck) \
36662 || exit 1
36664 @endif target-winsup
36666 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
36667 maybe-mostlyclean-target-winsup:
36668 @if target-winsup
36669 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
36671 mostlyclean-target-winsup:
36672 @: $(MAKE); $(unstage)
36673 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36674 r=`${PWD_COMMAND}`; export r; \
36675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36676 $(NORMAL_TARGET_EXPORTS) \
36677 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
36678 for flag in $(EXTRA_TARGET_FLAGS); do \
36679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36680 done; \
36681 (cd $(TARGET_SUBDIR)/winsup && \
36682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36684 "RANLIB=$${RANLIB}" \
36685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36686 mostlyclean) \
36687 || exit 1
36689 @endif target-winsup
36691 .PHONY: maybe-clean-target-winsup clean-target-winsup
36692 maybe-clean-target-winsup:
36693 @if target-winsup
36694 maybe-clean-target-winsup: clean-target-winsup
36696 clean-target-winsup:
36697 @: $(MAKE); $(unstage)
36698 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36699 r=`${PWD_COMMAND}`; export r; \
36700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36701 $(NORMAL_TARGET_EXPORTS) \
36702 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
36703 for flag in $(EXTRA_TARGET_FLAGS); do \
36704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36705 done; \
36706 (cd $(TARGET_SUBDIR)/winsup && \
36707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36709 "RANLIB=$${RANLIB}" \
36710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36711 clean) \
36712 || exit 1
36714 @endif target-winsup
36716 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
36717 maybe-distclean-target-winsup:
36718 @if target-winsup
36719 maybe-distclean-target-winsup: distclean-target-winsup
36721 distclean-target-winsup:
36722 @: $(MAKE); $(unstage)
36723 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36724 r=`${PWD_COMMAND}`; export r; \
36725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36726 $(NORMAL_TARGET_EXPORTS) \
36727 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
36728 for flag in $(EXTRA_TARGET_FLAGS); do \
36729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36730 done; \
36731 (cd $(TARGET_SUBDIR)/winsup && \
36732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36734 "RANLIB=$${RANLIB}" \
36735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36736 distclean) \
36737 || exit 1
36739 @endif target-winsup
36741 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
36742 maybe-maintainer-clean-target-winsup:
36743 @if target-winsup
36744 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
36746 maintainer-clean-target-winsup:
36747 @: $(MAKE); $(unstage)
36748 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36749 r=`${PWD_COMMAND}`; export r; \
36750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36751 $(NORMAL_TARGET_EXPORTS) \
36752 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36753 for flag in $(EXTRA_TARGET_FLAGS); do \
36754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36755 done; \
36756 (cd $(TARGET_SUBDIR)/winsup && \
36757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36759 "RANLIB=$${RANLIB}" \
36760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36761 maintainer-clean) \
36762 || exit 1
36764 @endif target-winsup
36770 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36771 maybe-configure-target-libgloss:
36772 @if gcc-bootstrap
36773 configure-target-libgloss: stage_current
36774 @endif gcc-bootstrap
36775 @if target-libgloss
36776 maybe-configure-target-libgloss: configure-target-libgloss
36777 configure-target-libgloss:
36778 @: $(MAKE); $(unstage)
36779 @r=`${PWD_COMMAND}`; export r; \
36780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36781 echo "Checking multilib configuration for libgloss..."; \
36782 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36783 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36784 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36785 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36786 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36787 else \
36788 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36789 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36790 fi; \
36791 else \
36792 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36793 fi; \
36794 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36796 $(NORMAL_TARGET_EXPORTS) \
36797 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36798 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36799 case $(srcdir) in \
36800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36801 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36803 esac; \
36804 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36805 libsrcdir="$$s/libgloss"; \
36806 rm -f no-such-file || : ; \
36807 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36808 $(TARGET_CONFIGARGS) $${srcdiroption} \
36809 || exit 1
36810 @endif target-libgloss
36816 .PHONY: all-target-libgloss maybe-all-target-libgloss
36817 maybe-all-target-libgloss:
36818 @if gcc-bootstrap
36819 all-target-libgloss: stage_current
36820 @endif gcc-bootstrap
36821 @if target-libgloss
36822 TARGET-target-libgloss=all
36823 maybe-all-target-libgloss: all-target-libgloss
36824 all-target-libgloss: configure-target-libgloss
36825 @: $(MAKE); $(unstage)
36826 @r=`${PWD_COMMAND}`; export r; \
36827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36828 $(NORMAL_TARGET_EXPORTS) \
36829 (cd $(TARGET_SUBDIR)/libgloss && \
36830 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
36831 @endif target-libgloss
36837 .PHONY: check-target-libgloss maybe-check-target-libgloss
36838 maybe-check-target-libgloss:
36839 @if target-libgloss
36840 maybe-check-target-libgloss: check-target-libgloss
36842 # Dummy target for uncheckable module.
36843 check-target-libgloss:
36845 @endif target-libgloss
36847 .PHONY: install-target-libgloss maybe-install-target-libgloss
36848 maybe-install-target-libgloss:
36849 @if target-libgloss
36850 maybe-install-target-libgloss: install-target-libgloss
36852 install-target-libgloss: installdirs
36853 @: $(MAKE); $(unstage)
36854 @r=`${PWD_COMMAND}`; export r; \
36855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36856 $(NORMAL_TARGET_EXPORTS) \
36857 (cd $(TARGET_SUBDIR)/libgloss && \
36858 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36860 @endif target-libgloss
36862 # Other targets (info, dvi, pdf, etc.)
36864 .PHONY: maybe-info-target-libgloss info-target-libgloss
36865 maybe-info-target-libgloss:
36866 @if target-libgloss
36867 maybe-info-target-libgloss: info-target-libgloss
36869 info-target-libgloss: \
36870 configure-target-libgloss
36871 @: $(MAKE); $(unstage)
36872 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36873 r=`${PWD_COMMAND}`; export r; \
36874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36875 $(NORMAL_TARGET_EXPORTS) \
36876 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36877 for flag in $(EXTRA_TARGET_FLAGS); do \
36878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36879 done; \
36880 (cd $(TARGET_SUBDIR)/libgloss && \
36881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36883 "RANLIB=$${RANLIB}" \
36884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36885 info) \
36886 || exit 1
36888 @endif target-libgloss
36890 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36891 maybe-dvi-target-libgloss:
36892 @if target-libgloss
36893 maybe-dvi-target-libgloss: dvi-target-libgloss
36895 dvi-target-libgloss: \
36896 configure-target-libgloss
36897 @: $(MAKE); $(unstage)
36898 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36899 r=`${PWD_COMMAND}`; export r; \
36900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36901 $(NORMAL_TARGET_EXPORTS) \
36902 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36903 for flag in $(EXTRA_TARGET_FLAGS); do \
36904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36905 done; \
36906 (cd $(TARGET_SUBDIR)/libgloss && \
36907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36909 "RANLIB=$${RANLIB}" \
36910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36911 dvi) \
36912 || exit 1
36914 @endif target-libgloss
36916 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36917 maybe-pdf-target-libgloss:
36918 @if target-libgloss
36919 maybe-pdf-target-libgloss: pdf-target-libgloss
36921 pdf-target-libgloss: \
36922 configure-target-libgloss
36923 @: $(MAKE); $(unstage)
36924 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36925 r=`${PWD_COMMAND}`; export r; \
36926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36927 $(NORMAL_TARGET_EXPORTS) \
36928 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36929 for flag in $(EXTRA_TARGET_FLAGS); do \
36930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36931 done; \
36932 (cd $(TARGET_SUBDIR)/libgloss && \
36933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36935 "RANLIB=$${RANLIB}" \
36936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36937 pdf) \
36938 || exit 1
36940 @endif target-libgloss
36942 .PHONY: maybe-html-target-libgloss html-target-libgloss
36943 maybe-html-target-libgloss:
36944 @if target-libgloss
36945 maybe-html-target-libgloss: html-target-libgloss
36947 html-target-libgloss: \
36948 configure-target-libgloss
36949 @: $(MAKE); $(unstage)
36950 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36951 r=`${PWD_COMMAND}`; export r; \
36952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36953 $(NORMAL_TARGET_EXPORTS) \
36954 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36955 for flag in $(EXTRA_TARGET_FLAGS); do \
36956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36957 done; \
36958 (cd $(TARGET_SUBDIR)/libgloss && \
36959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36961 "RANLIB=$${RANLIB}" \
36962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36963 html) \
36964 || exit 1
36966 @endif target-libgloss
36968 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36969 maybe-TAGS-target-libgloss:
36970 @if target-libgloss
36971 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36973 TAGS-target-libgloss: \
36974 configure-target-libgloss
36975 @: $(MAKE); $(unstage)
36976 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36977 r=`${PWD_COMMAND}`; export r; \
36978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36979 $(NORMAL_TARGET_EXPORTS) \
36980 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36981 for flag in $(EXTRA_TARGET_FLAGS); do \
36982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36983 done; \
36984 (cd $(TARGET_SUBDIR)/libgloss && \
36985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36987 "RANLIB=$${RANLIB}" \
36988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36989 TAGS) \
36990 || exit 1
36992 @endif target-libgloss
36994 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36995 maybe-install-info-target-libgloss:
36996 @if target-libgloss
36997 maybe-install-info-target-libgloss: install-info-target-libgloss
36999 install-info-target-libgloss: \
37000 configure-target-libgloss \
37001 info-target-libgloss
37002 @: $(MAKE); $(unstage)
37003 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37004 r=`${PWD_COMMAND}`; export r; \
37005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37006 $(NORMAL_TARGET_EXPORTS) \
37007 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
37008 for flag in $(EXTRA_TARGET_FLAGS); do \
37009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37010 done; \
37011 (cd $(TARGET_SUBDIR)/libgloss && \
37012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37014 "RANLIB=$${RANLIB}" \
37015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37016 install-info) \
37017 || exit 1
37019 @endif target-libgloss
37021 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37022 maybe-install-html-target-libgloss:
37023 @if target-libgloss
37024 maybe-install-html-target-libgloss: install-html-target-libgloss
37026 install-html-target-libgloss: \
37027 configure-target-libgloss \
37028 html-target-libgloss
37029 @: $(MAKE); $(unstage)
37030 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37031 r=`${PWD_COMMAND}`; export r; \
37032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37033 $(NORMAL_TARGET_EXPORTS) \
37034 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37035 for flag in $(EXTRA_TARGET_FLAGS); do \
37036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37037 done; \
37038 (cd $(TARGET_SUBDIR)/libgloss && \
37039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37041 "RANLIB=$${RANLIB}" \
37042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37043 install-html) \
37044 || exit 1
37046 @endif target-libgloss
37048 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37049 maybe-installcheck-target-libgloss:
37050 @if target-libgloss
37051 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37053 installcheck-target-libgloss: \
37054 configure-target-libgloss
37055 @: $(MAKE); $(unstage)
37056 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37057 r=`${PWD_COMMAND}`; export r; \
37058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37059 $(NORMAL_TARGET_EXPORTS) \
37060 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37061 for flag in $(EXTRA_TARGET_FLAGS); do \
37062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37063 done; \
37064 (cd $(TARGET_SUBDIR)/libgloss && \
37065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37067 "RANLIB=$${RANLIB}" \
37068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37069 installcheck) \
37070 || exit 1
37072 @endif target-libgloss
37074 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37075 maybe-mostlyclean-target-libgloss:
37076 @if target-libgloss
37077 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37079 mostlyclean-target-libgloss:
37080 @: $(MAKE); $(unstage)
37081 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37082 r=`${PWD_COMMAND}`; export r; \
37083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37084 $(NORMAL_TARGET_EXPORTS) \
37085 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37086 for flag in $(EXTRA_TARGET_FLAGS); do \
37087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37088 done; \
37089 (cd $(TARGET_SUBDIR)/libgloss && \
37090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37092 "RANLIB=$${RANLIB}" \
37093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37094 mostlyclean) \
37095 || exit 1
37097 @endif target-libgloss
37099 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37100 maybe-clean-target-libgloss:
37101 @if target-libgloss
37102 maybe-clean-target-libgloss: clean-target-libgloss
37104 clean-target-libgloss:
37105 @: $(MAKE); $(unstage)
37106 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37107 r=`${PWD_COMMAND}`; export r; \
37108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37109 $(NORMAL_TARGET_EXPORTS) \
37110 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37111 for flag in $(EXTRA_TARGET_FLAGS); do \
37112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37113 done; \
37114 (cd $(TARGET_SUBDIR)/libgloss && \
37115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37117 "RANLIB=$${RANLIB}" \
37118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37119 clean) \
37120 || exit 1
37122 @endif target-libgloss
37124 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37125 maybe-distclean-target-libgloss:
37126 @if target-libgloss
37127 maybe-distclean-target-libgloss: distclean-target-libgloss
37129 distclean-target-libgloss:
37130 @: $(MAKE); $(unstage)
37131 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37132 r=`${PWD_COMMAND}`; export r; \
37133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37134 $(NORMAL_TARGET_EXPORTS) \
37135 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
37136 for flag in $(EXTRA_TARGET_FLAGS); do \
37137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37138 done; \
37139 (cd $(TARGET_SUBDIR)/libgloss && \
37140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37142 "RANLIB=$${RANLIB}" \
37143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37144 distclean) \
37145 || exit 1
37147 @endif target-libgloss
37149 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
37150 maybe-maintainer-clean-target-libgloss:
37151 @if target-libgloss
37152 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
37154 maintainer-clean-target-libgloss:
37155 @: $(MAKE); $(unstage)
37156 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37157 r=`${PWD_COMMAND}`; export r; \
37158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37159 $(NORMAL_TARGET_EXPORTS) \
37160 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
37161 for flag in $(EXTRA_TARGET_FLAGS); do \
37162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37163 done; \
37164 (cd $(TARGET_SUBDIR)/libgloss && \
37165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37167 "RANLIB=$${RANLIB}" \
37168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37169 maintainer-clean) \
37170 || exit 1
37172 @endif target-libgloss
37178 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
37179 maybe-configure-target-libiberty:
37180 @if gcc-bootstrap
37181 configure-target-libiberty: stage_current
37182 @endif gcc-bootstrap
37183 @if target-libiberty
37184 maybe-configure-target-libiberty: configure-target-libiberty
37185 configure-target-libiberty:
37186 @: $(MAKE); $(unstage)
37187 @r=`${PWD_COMMAND}`; export r; \
37188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37189 echo "Checking multilib configuration for libiberty..."; \
37190 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37191 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
37192 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37193 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37194 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
37195 else \
37196 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
37197 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37198 fi; \
37199 else \
37200 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37201 fi; \
37202 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
37203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37204 $(NORMAL_TARGET_EXPORTS) \
37205 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
37206 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
37207 case $(srcdir) in \
37208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37209 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
37210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37211 esac; \
37212 srcdiroption="--srcdir=$${topdir}/libiberty"; \
37213 libsrcdir="$$s/libiberty"; \
37214 rm -f no-such-file || : ; \
37215 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37216 $(TARGET_CONFIGARGS) $${srcdiroption} \
37217 || exit 1
37218 @endif target-libiberty
37224 .PHONY: all-target-libiberty maybe-all-target-libiberty
37225 maybe-all-target-libiberty:
37226 @if gcc-bootstrap
37227 all-target-libiberty: stage_current
37228 @endif gcc-bootstrap
37229 @if target-libiberty
37230 TARGET-target-libiberty=all
37231 maybe-all-target-libiberty: all-target-libiberty
37232 all-target-libiberty: configure-target-libiberty
37233 @: $(MAKE); $(unstage)
37234 @r=`${PWD_COMMAND}`; export r; \
37235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37236 $(NORMAL_TARGET_EXPORTS) \
37237 (cd $(TARGET_SUBDIR)/libiberty && \
37238 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
37239 @endif target-libiberty
37245 .PHONY: check-target-libiberty maybe-check-target-libiberty
37246 maybe-check-target-libiberty:
37247 @if target-libiberty
37248 maybe-check-target-libiberty: check-target-libiberty
37250 check-target-libiberty:
37251 @: $(MAKE); $(unstage)
37252 @r=`${PWD_COMMAND}`; export r; \
37253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37254 $(NORMAL_TARGET_EXPORTS) \
37255 (cd $(TARGET_SUBDIR)/libiberty && \
37256 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37258 @endif target-libiberty
37260 .PHONY: install-target-libiberty maybe-install-target-libiberty
37261 maybe-install-target-libiberty:
37262 @if target-libiberty
37263 maybe-install-target-libiberty: install-target-libiberty
37265 install-target-libiberty: installdirs
37266 @: $(MAKE); $(unstage)
37267 @r=`${PWD_COMMAND}`; export r; \
37268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37269 $(NORMAL_TARGET_EXPORTS) \
37270 (cd $(TARGET_SUBDIR)/libiberty && \
37271 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37273 @endif target-libiberty
37275 # Other targets (info, dvi, pdf, etc.)
37277 .PHONY: maybe-info-target-libiberty info-target-libiberty
37278 maybe-info-target-libiberty:
37279 @if target-libiberty
37280 maybe-info-target-libiberty: info-target-libiberty
37282 info-target-libiberty: \
37283 configure-target-libiberty
37284 @: $(MAKE); $(unstage)
37285 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37286 r=`${PWD_COMMAND}`; export r; \
37287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37288 $(NORMAL_TARGET_EXPORTS) \
37289 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
37290 for flag in $(EXTRA_TARGET_FLAGS); do \
37291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37292 done; \
37293 (cd $(TARGET_SUBDIR)/libiberty && \
37294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37296 "RANLIB=$${RANLIB}" \
37297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37298 info) \
37299 || exit 1
37301 @endif target-libiberty
37303 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
37304 maybe-dvi-target-libiberty:
37305 @if target-libiberty
37306 maybe-dvi-target-libiberty: dvi-target-libiberty
37308 dvi-target-libiberty: \
37309 configure-target-libiberty
37310 @: $(MAKE); $(unstage)
37311 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37312 r=`${PWD_COMMAND}`; export r; \
37313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37314 $(NORMAL_TARGET_EXPORTS) \
37315 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
37316 for flag in $(EXTRA_TARGET_FLAGS); do \
37317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37318 done; \
37319 (cd $(TARGET_SUBDIR)/libiberty && \
37320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37322 "RANLIB=$${RANLIB}" \
37323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37324 dvi) \
37325 || exit 1
37327 @endif target-libiberty
37329 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
37330 maybe-pdf-target-libiberty:
37331 @if target-libiberty
37332 maybe-pdf-target-libiberty: pdf-target-libiberty
37334 pdf-target-libiberty: \
37335 configure-target-libiberty
37336 @: $(MAKE); $(unstage)
37337 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37338 r=`${PWD_COMMAND}`; export r; \
37339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37340 $(NORMAL_TARGET_EXPORTS) \
37341 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
37342 for flag in $(EXTRA_TARGET_FLAGS); do \
37343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37344 done; \
37345 (cd $(TARGET_SUBDIR)/libiberty && \
37346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37348 "RANLIB=$${RANLIB}" \
37349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37350 pdf) \
37351 || exit 1
37353 @endif target-libiberty
37355 .PHONY: maybe-html-target-libiberty html-target-libiberty
37356 maybe-html-target-libiberty:
37357 @if target-libiberty
37358 maybe-html-target-libiberty: html-target-libiberty
37360 html-target-libiberty: \
37361 configure-target-libiberty
37362 @: $(MAKE); $(unstage)
37363 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37364 r=`${PWD_COMMAND}`; export r; \
37365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37366 $(NORMAL_TARGET_EXPORTS) \
37367 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
37368 for flag in $(EXTRA_TARGET_FLAGS); do \
37369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37370 done; \
37371 (cd $(TARGET_SUBDIR)/libiberty && \
37372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37374 "RANLIB=$${RANLIB}" \
37375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37376 html) \
37377 || exit 1
37379 @endif target-libiberty
37381 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
37382 maybe-TAGS-target-libiberty:
37383 @if target-libiberty
37384 maybe-TAGS-target-libiberty: TAGS-target-libiberty
37386 TAGS-target-libiberty: \
37387 configure-target-libiberty
37388 @: $(MAKE); $(unstage)
37389 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37390 r=`${PWD_COMMAND}`; export r; \
37391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37392 $(NORMAL_TARGET_EXPORTS) \
37393 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
37394 for flag in $(EXTRA_TARGET_FLAGS); do \
37395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37396 done; \
37397 (cd $(TARGET_SUBDIR)/libiberty && \
37398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37400 "RANLIB=$${RANLIB}" \
37401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37402 TAGS) \
37403 || exit 1
37405 @endif target-libiberty
37407 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
37408 maybe-install-info-target-libiberty:
37409 @if target-libiberty
37410 maybe-install-info-target-libiberty: install-info-target-libiberty
37412 install-info-target-libiberty: \
37413 configure-target-libiberty \
37414 info-target-libiberty
37415 @: $(MAKE); $(unstage)
37416 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37417 r=`${PWD_COMMAND}`; export r; \
37418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37419 $(NORMAL_TARGET_EXPORTS) \
37420 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
37421 for flag in $(EXTRA_TARGET_FLAGS); do \
37422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37423 done; \
37424 (cd $(TARGET_SUBDIR)/libiberty && \
37425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37427 "RANLIB=$${RANLIB}" \
37428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37429 install-info) \
37430 || exit 1
37432 @endif target-libiberty
37434 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
37435 maybe-install-html-target-libiberty:
37436 @if target-libiberty
37437 maybe-install-html-target-libiberty: install-html-target-libiberty
37439 install-html-target-libiberty: \
37440 configure-target-libiberty \
37441 html-target-libiberty
37442 @: $(MAKE); $(unstage)
37443 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37444 r=`${PWD_COMMAND}`; export r; \
37445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37446 $(NORMAL_TARGET_EXPORTS) \
37447 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
37448 for flag in $(EXTRA_TARGET_FLAGS); do \
37449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37450 done; \
37451 (cd $(TARGET_SUBDIR)/libiberty && \
37452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37454 "RANLIB=$${RANLIB}" \
37455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37456 install-html) \
37457 || exit 1
37459 @endif target-libiberty
37461 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
37462 maybe-installcheck-target-libiberty:
37463 @if target-libiberty
37464 maybe-installcheck-target-libiberty: installcheck-target-libiberty
37466 installcheck-target-libiberty: \
37467 configure-target-libiberty
37468 @: $(MAKE); $(unstage)
37469 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37470 r=`${PWD_COMMAND}`; export r; \
37471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37472 $(NORMAL_TARGET_EXPORTS) \
37473 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
37474 for flag in $(EXTRA_TARGET_FLAGS); do \
37475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37476 done; \
37477 (cd $(TARGET_SUBDIR)/libiberty && \
37478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37480 "RANLIB=$${RANLIB}" \
37481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37482 installcheck) \
37483 || exit 1
37485 @endif target-libiberty
37487 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
37488 maybe-mostlyclean-target-libiberty:
37489 @if target-libiberty
37490 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
37492 mostlyclean-target-libiberty:
37493 @: $(MAKE); $(unstage)
37494 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37495 r=`${PWD_COMMAND}`; export r; \
37496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37497 $(NORMAL_TARGET_EXPORTS) \
37498 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
37499 for flag in $(EXTRA_TARGET_FLAGS); do \
37500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37501 done; \
37502 (cd $(TARGET_SUBDIR)/libiberty && \
37503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37505 "RANLIB=$${RANLIB}" \
37506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37507 mostlyclean) \
37508 || exit 1
37510 @endif target-libiberty
37512 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
37513 maybe-clean-target-libiberty:
37514 @if target-libiberty
37515 maybe-clean-target-libiberty: clean-target-libiberty
37517 clean-target-libiberty:
37518 @: $(MAKE); $(unstage)
37519 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37520 r=`${PWD_COMMAND}`; export r; \
37521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37522 $(NORMAL_TARGET_EXPORTS) \
37523 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
37524 for flag in $(EXTRA_TARGET_FLAGS); do \
37525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37526 done; \
37527 (cd $(TARGET_SUBDIR)/libiberty && \
37528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37530 "RANLIB=$${RANLIB}" \
37531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37532 clean) \
37533 || exit 1
37535 @endif target-libiberty
37537 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
37538 maybe-distclean-target-libiberty:
37539 @if target-libiberty
37540 maybe-distclean-target-libiberty: distclean-target-libiberty
37542 distclean-target-libiberty:
37543 @: $(MAKE); $(unstage)
37544 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37545 r=`${PWD_COMMAND}`; export r; \
37546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37547 $(NORMAL_TARGET_EXPORTS) \
37548 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
37549 for flag in $(EXTRA_TARGET_FLAGS); do \
37550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37551 done; \
37552 (cd $(TARGET_SUBDIR)/libiberty && \
37553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37555 "RANLIB=$${RANLIB}" \
37556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37557 distclean) \
37558 || exit 1
37560 @endif target-libiberty
37562 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
37563 maybe-maintainer-clean-target-libiberty:
37564 @if target-libiberty
37565 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
37567 maintainer-clean-target-libiberty:
37568 @: $(MAKE); $(unstage)
37569 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37570 r=`${PWD_COMMAND}`; export r; \
37571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37572 $(NORMAL_TARGET_EXPORTS) \
37573 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
37574 for flag in $(EXTRA_TARGET_FLAGS); do \
37575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37576 done; \
37577 (cd $(TARGET_SUBDIR)/libiberty && \
37578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37580 "RANLIB=$${RANLIB}" \
37581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37582 maintainer-clean) \
37583 || exit 1
37585 @endif target-libiberty
37591 .PHONY: configure-target-gperf maybe-configure-target-gperf
37592 maybe-configure-target-gperf:
37593 @if gcc-bootstrap
37594 configure-target-gperf: stage_current
37595 @endif gcc-bootstrap
37596 @if target-gperf
37597 maybe-configure-target-gperf: configure-target-gperf
37598 configure-target-gperf:
37599 @: $(MAKE); $(unstage)
37600 @r=`${PWD_COMMAND}`; export r; \
37601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37602 echo "Checking multilib configuration for gperf..."; \
37603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37604 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
37605 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
37606 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
37607 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
37608 else \
37609 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
37610 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37611 fi; \
37612 else \
37613 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37614 fi; \
37615 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
37616 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37617 $(NORMAL_TARGET_EXPORTS) \
37618 echo Configuring in $(TARGET_SUBDIR)/gperf; \
37619 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
37620 case $(srcdir) in \
37621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37622 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
37623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37624 esac; \
37625 srcdiroption="--srcdir=$${topdir}/gperf"; \
37626 libsrcdir="$$s/gperf"; \
37627 rm -f no-such-file || : ; \
37628 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37629 $(TARGET_CONFIGARGS) $${srcdiroption} \
37630 || exit 1
37631 @endif target-gperf
37637 .PHONY: all-target-gperf maybe-all-target-gperf
37638 maybe-all-target-gperf:
37639 @if gcc-bootstrap
37640 all-target-gperf: stage_current
37641 @endif gcc-bootstrap
37642 @if target-gperf
37643 TARGET-target-gperf=all
37644 maybe-all-target-gperf: all-target-gperf
37645 all-target-gperf: configure-target-gperf
37646 @: $(MAKE); $(unstage)
37647 @r=`${PWD_COMMAND}`; export r; \
37648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37649 $(NORMAL_TARGET_EXPORTS) \
37650 (cd $(TARGET_SUBDIR)/gperf && \
37651 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
37652 @endif target-gperf
37658 .PHONY: check-target-gperf maybe-check-target-gperf
37659 maybe-check-target-gperf:
37660 @if target-gperf
37661 maybe-check-target-gperf: check-target-gperf
37663 check-target-gperf:
37664 @: $(MAKE); $(unstage)
37665 @r=`${PWD_COMMAND}`; export r; \
37666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37667 $(NORMAL_TARGET_EXPORTS) \
37668 (cd $(TARGET_SUBDIR)/gperf && \
37669 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37671 @endif target-gperf
37673 .PHONY: install-target-gperf maybe-install-target-gperf
37674 maybe-install-target-gperf:
37675 @if target-gperf
37676 maybe-install-target-gperf: install-target-gperf
37678 install-target-gperf: installdirs
37679 @: $(MAKE); $(unstage)
37680 @r=`${PWD_COMMAND}`; export r; \
37681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37682 $(NORMAL_TARGET_EXPORTS) \
37683 (cd $(TARGET_SUBDIR)/gperf && \
37684 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37686 @endif target-gperf
37688 # Other targets (info, dvi, pdf, etc.)
37690 .PHONY: maybe-info-target-gperf info-target-gperf
37691 maybe-info-target-gperf:
37692 @if target-gperf
37693 maybe-info-target-gperf: info-target-gperf
37695 info-target-gperf: \
37696 configure-target-gperf
37697 @: $(MAKE); $(unstage)
37698 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37699 r=`${PWD_COMMAND}`; export r; \
37700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37701 $(NORMAL_TARGET_EXPORTS) \
37702 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
37703 for flag in $(EXTRA_TARGET_FLAGS); do \
37704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37705 done; \
37706 (cd $(TARGET_SUBDIR)/gperf && \
37707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37709 "RANLIB=$${RANLIB}" \
37710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37711 info) \
37712 || exit 1
37714 @endif target-gperf
37716 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
37717 maybe-dvi-target-gperf:
37718 @if target-gperf
37719 maybe-dvi-target-gperf: dvi-target-gperf
37721 dvi-target-gperf: \
37722 configure-target-gperf
37723 @: $(MAKE); $(unstage)
37724 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37725 r=`${PWD_COMMAND}`; export r; \
37726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37727 $(NORMAL_TARGET_EXPORTS) \
37728 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
37729 for flag in $(EXTRA_TARGET_FLAGS); do \
37730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37731 done; \
37732 (cd $(TARGET_SUBDIR)/gperf && \
37733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37735 "RANLIB=$${RANLIB}" \
37736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37737 dvi) \
37738 || exit 1
37740 @endif target-gperf
37742 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
37743 maybe-pdf-target-gperf:
37744 @if target-gperf
37745 maybe-pdf-target-gperf: pdf-target-gperf
37747 pdf-target-gperf: \
37748 configure-target-gperf
37749 @: $(MAKE); $(unstage)
37750 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37751 r=`${PWD_COMMAND}`; export r; \
37752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37753 $(NORMAL_TARGET_EXPORTS) \
37754 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
37755 for flag in $(EXTRA_TARGET_FLAGS); do \
37756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37757 done; \
37758 (cd $(TARGET_SUBDIR)/gperf && \
37759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37761 "RANLIB=$${RANLIB}" \
37762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37763 pdf) \
37764 || exit 1
37766 @endif target-gperf
37768 .PHONY: maybe-html-target-gperf html-target-gperf
37769 maybe-html-target-gperf:
37770 @if target-gperf
37771 maybe-html-target-gperf: html-target-gperf
37773 html-target-gperf: \
37774 configure-target-gperf
37775 @: $(MAKE); $(unstage)
37776 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37777 r=`${PWD_COMMAND}`; export r; \
37778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37779 $(NORMAL_TARGET_EXPORTS) \
37780 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
37781 for flag in $(EXTRA_TARGET_FLAGS); do \
37782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37783 done; \
37784 (cd $(TARGET_SUBDIR)/gperf && \
37785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37787 "RANLIB=$${RANLIB}" \
37788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37789 html) \
37790 || exit 1
37792 @endif target-gperf
37794 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
37795 maybe-TAGS-target-gperf:
37796 @if target-gperf
37797 maybe-TAGS-target-gperf: TAGS-target-gperf
37799 TAGS-target-gperf: \
37800 configure-target-gperf
37801 @: $(MAKE); $(unstage)
37802 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37803 r=`${PWD_COMMAND}`; export r; \
37804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37805 $(NORMAL_TARGET_EXPORTS) \
37806 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
37807 for flag in $(EXTRA_TARGET_FLAGS); do \
37808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37809 done; \
37810 (cd $(TARGET_SUBDIR)/gperf && \
37811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37813 "RANLIB=$${RANLIB}" \
37814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37815 TAGS) \
37816 || exit 1
37818 @endif target-gperf
37820 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
37821 maybe-install-info-target-gperf:
37822 @if target-gperf
37823 maybe-install-info-target-gperf: install-info-target-gperf
37825 install-info-target-gperf: \
37826 configure-target-gperf \
37827 info-target-gperf
37828 @: $(MAKE); $(unstage)
37829 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37830 r=`${PWD_COMMAND}`; export r; \
37831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37832 $(NORMAL_TARGET_EXPORTS) \
37833 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
37834 for flag in $(EXTRA_TARGET_FLAGS); do \
37835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37836 done; \
37837 (cd $(TARGET_SUBDIR)/gperf && \
37838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37840 "RANLIB=$${RANLIB}" \
37841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37842 install-info) \
37843 || exit 1
37845 @endif target-gperf
37847 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
37848 maybe-install-html-target-gperf:
37849 @if target-gperf
37850 maybe-install-html-target-gperf: install-html-target-gperf
37852 install-html-target-gperf: \
37853 configure-target-gperf \
37854 html-target-gperf
37855 @: $(MAKE); $(unstage)
37856 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37857 r=`${PWD_COMMAND}`; export r; \
37858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37859 $(NORMAL_TARGET_EXPORTS) \
37860 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
37861 for flag in $(EXTRA_TARGET_FLAGS); do \
37862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37863 done; \
37864 (cd $(TARGET_SUBDIR)/gperf && \
37865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37867 "RANLIB=$${RANLIB}" \
37868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37869 install-html) \
37870 || exit 1
37872 @endif target-gperf
37874 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
37875 maybe-installcheck-target-gperf:
37876 @if target-gperf
37877 maybe-installcheck-target-gperf: installcheck-target-gperf
37879 installcheck-target-gperf: \
37880 configure-target-gperf
37881 @: $(MAKE); $(unstage)
37882 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37883 r=`${PWD_COMMAND}`; export r; \
37884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37885 $(NORMAL_TARGET_EXPORTS) \
37886 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
37887 for flag in $(EXTRA_TARGET_FLAGS); do \
37888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37889 done; \
37890 (cd $(TARGET_SUBDIR)/gperf && \
37891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37893 "RANLIB=$${RANLIB}" \
37894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37895 installcheck) \
37896 || exit 1
37898 @endif target-gperf
37900 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
37901 maybe-mostlyclean-target-gperf:
37902 @if target-gperf
37903 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
37905 mostlyclean-target-gperf:
37906 @: $(MAKE); $(unstage)
37907 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37908 r=`${PWD_COMMAND}`; export r; \
37909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37910 $(NORMAL_TARGET_EXPORTS) \
37911 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 mostlyclean) \
37921 || exit 1
37923 @endif target-gperf
37925 .PHONY: maybe-clean-target-gperf clean-target-gperf
37926 maybe-clean-target-gperf:
37927 @if target-gperf
37928 maybe-clean-target-gperf: clean-target-gperf
37930 clean-target-gperf:
37931 @: $(MAKE); $(unstage)
37932 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37933 r=`${PWD_COMMAND}`; export r; \
37934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37935 $(NORMAL_TARGET_EXPORTS) \
37936 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
37937 for flag in $(EXTRA_TARGET_FLAGS); do \
37938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37939 done; \
37940 (cd $(TARGET_SUBDIR)/gperf && \
37941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37943 "RANLIB=$${RANLIB}" \
37944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37945 clean) \
37946 || exit 1
37948 @endif target-gperf
37950 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
37951 maybe-distclean-target-gperf:
37952 @if target-gperf
37953 maybe-distclean-target-gperf: distclean-target-gperf
37955 distclean-target-gperf:
37956 @: $(MAKE); $(unstage)
37957 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37958 r=`${PWD_COMMAND}`; export r; \
37959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37960 $(NORMAL_TARGET_EXPORTS) \
37961 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
37962 for flag in $(EXTRA_TARGET_FLAGS); do \
37963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37964 done; \
37965 (cd $(TARGET_SUBDIR)/gperf && \
37966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37968 "RANLIB=$${RANLIB}" \
37969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37970 distclean) \
37971 || exit 1
37973 @endif target-gperf
37975 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
37976 maybe-maintainer-clean-target-gperf:
37977 @if target-gperf
37978 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
37980 maintainer-clean-target-gperf:
37981 @: $(MAKE); $(unstage)
37982 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37983 r=`${PWD_COMMAND}`; export r; \
37984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37985 $(NORMAL_TARGET_EXPORTS) \
37986 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
37987 for flag in $(EXTRA_TARGET_FLAGS); do \
37988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37989 done; \
37990 (cd $(TARGET_SUBDIR)/gperf && \
37991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37993 "RANLIB=$${RANLIB}" \
37994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37995 maintainer-clean) \
37996 || exit 1
37998 @endif target-gperf
38004 .PHONY: configure-target-examples maybe-configure-target-examples
38005 maybe-configure-target-examples:
38006 @if gcc-bootstrap
38007 configure-target-examples: stage_current
38008 @endif gcc-bootstrap
38009 @if target-examples
38010 maybe-configure-target-examples: configure-target-examples
38011 configure-target-examples:
38012 @: $(MAKE); $(unstage)
38013 @r=`${PWD_COMMAND}`; export r; \
38014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38015 echo "Checking multilib configuration for examples..."; \
38016 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38017 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
38018 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
38019 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
38020 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
38021 else \
38022 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
38023 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38024 fi; \
38025 else \
38026 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38027 fi; \
38028 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
38029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38030 $(NORMAL_TARGET_EXPORTS) \
38031 echo Configuring in $(TARGET_SUBDIR)/examples; \
38032 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
38033 case $(srcdir) in \
38034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38035 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
38036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38037 esac; \
38038 srcdiroption="--srcdir=$${topdir}/examples"; \
38039 libsrcdir="$$s/examples"; \
38040 rm -f no-such-file || : ; \
38041 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38042 $(TARGET_CONFIGARGS) $${srcdiroption} \
38043 || exit 1
38044 @endif target-examples
38050 .PHONY: all-target-examples maybe-all-target-examples
38051 maybe-all-target-examples:
38052 @if gcc-bootstrap
38053 all-target-examples: stage_current
38054 @endif gcc-bootstrap
38055 @if target-examples
38056 TARGET-target-examples=all
38057 maybe-all-target-examples: all-target-examples
38058 all-target-examples: configure-target-examples
38059 @: $(MAKE); $(unstage)
38060 @r=`${PWD_COMMAND}`; export r; \
38061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38062 $(NORMAL_TARGET_EXPORTS) \
38063 (cd $(TARGET_SUBDIR)/examples && \
38064 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
38065 @endif target-examples
38071 .PHONY: check-target-examples maybe-check-target-examples
38072 maybe-check-target-examples:
38073 @if target-examples
38074 maybe-check-target-examples: check-target-examples
38076 # Dummy target for uncheckable module.
38077 check-target-examples:
38079 @endif target-examples
38081 .PHONY: install-target-examples maybe-install-target-examples
38082 maybe-install-target-examples:
38083 @if target-examples
38084 maybe-install-target-examples: install-target-examples
38086 # Dummy target for uninstallable.
38087 install-target-examples:
38089 @endif target-examples
38091 # Other targets (info, dvi, pdf, etc.)
38093 .PHONY: maybe-info-target-examples info-target-examples
38094 maybe-info-target-examples:
38095 @if target-examples
38096 maybe-info-target-examples: info-target-examples
38098 info-target-examples: \
38099 configure-target-examples
38100 @: $(MAKE); $(unstage)
38101 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38102 r=`${PWD_COMMAND}`; export r; \
38103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38104 $(NORMAL_TARGET_EXPORTS) \
38105 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
38106 for flag in $(EXTRA_TARGET_FLAGS); do \
38107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38108 done; \
38109 (cd $(TARGET_SUBDIR)/examples && \
38110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38112 "RANLIB=$${RANLIB}" \
38113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38114 info) \
38115 || exit 1
38117 @endif target-examples
38119 .PHONY: maybe-dvi-target-examples dvi-target-examples
38120 maybe-dvi-target-examples:
38121 @if target-examples
38122 maybe-dvi-target-examples: dvi-target-examples
38124 dvi-target-examples: \
38125 configure-target-examples
38126 @: $(MAKE); $(unstage)
38127 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38128 r=`${PWD_COMMAND}`; export r; \
38129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38130 $(NORMAL_TARGET_EXPORTS) \
38131 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
38132 for flag in $(EXTRA_TARGET_FLAGS); do \
38133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38134 done; \
38135 (cd $(TARGET_SUBDIR)/examples && \
38136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38138 "RANLIB=$${RANLIB}" \
38139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38140 dvi) \
38141 || exit 1
38143 @endif target-examples
38145 .PHONY: maybe-pdf-target-examples pdf-target-examples
38146 maybe-pdf-target-examples:
38147 @if target-examples
38148 maybe-pdf-target-examples: pdf-target-examples
38150 pdf-target-examples: \
38151 configure-target-examples
38152 @: $(MAKE); $(unstage)
38153 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38154 r=`${PWD_COMMAND}`; export r; \
38155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38156 $(NORMAL_TARGET_EXPORTS) \
38157 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
38158 for flag in $(EXTRA_TARGET_FLAGS); do \
38159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38160 done; \
38161 (cd $(TARGET_SUBDIR)/examples && \
38162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38164 "RANLIB=$${RANLIB}" \
38165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38166 pdf) \
38167 || exit 1
38169 @endif target-examples
38171 .PHONY: maybe-html-target-examples html-target-examples
38172 maybe-html-target-examples:
38173 @if target-examples
38174 maybe-html-target-examples: html-target-examples
38176 html-target-examples: \
38177 configure-target-examples
38178 @: $(MAKE); $(unstage)
38179 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38180 r=`${PWD_COMMAND}`; export r; \
38181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38182 $(NORMAL_TARGET_EXPORTS) \
38183 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
38184 for flag in $(EXTRA_TARGET_FLAGS); do \
38185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38186 done; \
38187 (cd $(TARGET_SUBDIR)/examples && \
38188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38190 "RANLIB=$${RANLIB}" \
38191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38192 html) \
38193 || exit 1
38195 @endif target-examples
38197 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
38198 maybe-TAGS-target-examples:
38199 @if target-examples
38200 maybe-TAGS-target-examples: TAGS-target-examples
38202 TAGS-target-examples: \
38203 configure-target-examples
38204 @: $(MAKE); $(unstage)
38205 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38206 r=`${PWD_COMMAND}`; export r; \
38207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38208 $(NORMAL_TARGET_EXPORTS) \
38209 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
38210 for flag in $(EXTRA_TARGET_FLAGS); do \
38211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38212 done; \
38213 (cd $(TARGET_SUBDIR)/examples && \
38214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38216 "RANLIB=$${RANLIB}" \
38217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38218 TAGS) \
38219 || exit 1
38221 @endif target-examples
38223 .PHONY: maybe-install-info-target-examples install-info-target-examples
38224 maybe-install-info-target-examples:
38225 @if target-examples
38226 maybe-install-info-target-examples: install-info-target-examples
38228 install-info-target-examples: \
38229 configure-target-examples \
38230 info-target-examples
38231 @: $(MAKE); $(unstage)
38232 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38233 r=`${PWD_COMMAND}`; export r; \
38234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38235 $(NORMAL_TARGET_EXPORTS) \
38236 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
38237 for flag in $(EXTRA_TARGET_FLAGS); do \
38238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38239 done; \
38240 (cd $(TARGET_SUBDIR)/examples && \
38241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38243 "RANLIB=$${RANLIB}" \
38244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38245 install-info) \
38246 || exit 1
38248 @endif target-examples
38250 .PHONY: maybe-install-html-target-examples install-html-target-examples
38251 maybe-install-html-target-examples:
38252 @if target-examples
38253 maybe-install-html-target-examples: install-html-target-examples
38255 install-html-target-examples: \
38256 configure-target-examples \
38257 html-target-examples
38258 @: $(MAKE); $(unstage)
38259 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38260 r=`${PWD_COMMAND}`; export r; \
38261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38262 $(NORMAL_TARGET_EXPORTS) \
38263 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
38264 for flag in $(EXTRA_TARGET_FLAGS); do \
38265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38266 done; \
38267 (cd $(TARGET_SUBDIR)/examples && \
38268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38270 "RANLIB=$${RANLIB}" \
38271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38272 install-html) \
38273 || exit 1
38275 @endif target-examples
38277 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
38278 maybe-installcheck-target-examples:
38279 @if target-examples
38280 maybe-installcheck-target-examples: installcheck-target-examples
38282 installcheck-target-examples: \
38283 configure-target-examples
38284 @: $(MAKE); $(unstage)
38285 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38286 r=`${PWD_COMMAND}`; export r; \
38287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38288 $(NORMAL_TARGET_EXPORTS) \
38289 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
38290 for flag in $(EXTRA_TARGET_FLAGS); do \
38291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38292 done; \
38293 (cd $(TARGET_SUBDIR)/examples && \
38294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38296 "RANLIB=$${RANLIB}" \
38297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38298 installcheck) \
38299 || exit 1
38301 @endif target-examples
38303 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
38304 maybe-mostlyclean-target-examples:
38305 @if target-examples
38306 maybe-mostlyclean-target-examples: mostlyclean-target-examples
38308 mostlyclean-target-examples:
38309 @: $(MAKE); $(unstage)
38310 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38311 r=`${PWD_COMMAND}`; export r; \
38312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38313 $(NORMAL_TARGET_EXPORTS) \
38314 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
38315 for flag in $(EXTRA_TARGET_FLAGS); do \
38316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38317 done; \
38318 (cd $(TARGET_SUBDIR)/examples && \
38319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38321 "RANLIB=$${RANLIB}" \
38322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38323 mostlyclean) \
38324 || exit 1
38326 @endif target-examples
38328 .PHONY: maybe-clean-target-examples clean-target-examples
38329 maybe-clean-target-examples:
38330 @if target-examples
38331 maybe-clean-target-examples: clean-target-examples
38333 clean-target-examples:
38334 @: $(MAKE); $(unstage)
38335 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38336 r=`${PWD_COMMAND}`; export r; \
38337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38338 $(NORMAL_TARGET_EXPORTS) \
38339 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
38340 for flag in $(EXTRA_TARGET_FLAGS); do \
38341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38342 done; \
38343 (cd $(TARGET_SUBDIR)/examples && \
38344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38346 "RANLIB=$${RANLIB}" \
38347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38348 clean) \
38349 || exit 1
38351 @endif target-examples
38353 .PHONY: maybe-distclean-target-examples distclean-target-examples
38354 maybe-distclean-target-examples:
38355 @if target-examples
38356 maybe-distclean-target-examples: distclean-target-examples
38358 distclean-target-examples:
38359 @: $(MAKE); $(unstage)
38360 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38361 r=`${PWD_COMMAND}`; export r; \
38362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38363 $(NORMAL_TARGET_EXPORTS) \
38364 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
38365 for flag in $(EXTRA_TARGET_FLAGS); do \
38366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38367 done; \
38368 (cd $(TARGET_SUBDIR)/examples && \
38369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38371 "RANLIB=$${RANLIB}" \
38372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38373 distclean) \
38374 || exit 1
38376 @endif target-examples
38378 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
38379 maybe-maintainer-clean-target-examples:
38380 @if target-examples
38381 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
38383 maintainer-clean-target-examples:
38384 @: $(MAKE); $(unstage)
38385 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38386 r=`${PWD_COMMAND}`; export r; \
38387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38388 $(NORMAL_TARGET_EXPORTS) \
38389 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
38390 for flag in $(EXTRA_TARGET_FLAGS); do \
38391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38392 done; \
38393 (cd $(TARGET_SUBDIR)/examples && \
38394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38396 "RANLIB=$${RANLIB}" \
38397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38398 maintainer-clean) \
38399 || exit 1
38401 @endif target-examples
38407 .PHONY: configure-target-libffi maybe-configure-target-libffi
38408 maybe-configure-target-libffi:
38409 @if gcc-bootstrap
38410 configure-target-libffi: stage_current
38411 @endif gcc-bootstrap
38412 @if target-libffi
38413 maybe-configure-target-libffi: configure-target-libffi
38414 configure-target-libffi:
38415 @: $(MAKE); $(unstage)
38416 @r=`${PWD_COMMAND}`; export r; \
38417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38418 echo "Checking multilib configuration for libffi..."; \
38419 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38420 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38421 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38422 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38423 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38424 else \
38425 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38426 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38427 fi; \
38428 else \
38429 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38430 fi; \
38431 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38432 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38433 $(NORMAL_TARGET_EXPORTS) \
38434 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38435 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38436 case $(srcdir) in \
38437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38438 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38440 esac; \
38441 srcdiroption="--srcdir=$${topdir}/libffi"; \
38442 libsrcdir="$$s/libffi"; \
38443 rm -f no-such-file || : ; \
38444 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38445 $(TARGET_CONFIGARGS) $${srcdiroption} \
38446 || exit 1
38447 @endif target-libffi
38453 .PHONY: all-target-libffi maybe-all-target-libffi
38454 maybe-all-target-libffi:
38455 @if gcc-bootstrap
38456 all-target-libffi: stage_current
38457 @endif gcc-bootstrap
38458 @if target-libffi
38459 TARGET-target-libffi=all
38460 maybe-all-target-libffi: all-target-libffi
38461 all-target-libffi: configure-target-libffi
38462 @: $(MAKE); $(unstage)
38463 @r=`${PWD_COMMAND}`; export r; \
38464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38465 $(NORMAL_TARGET_EXPORTS) \
38466 (cd $(TARGET_SUBDIR)/libffi && \
38467 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
38468 @endif target-libffi
38474 .PHONY: check-target-libffi maybe-check-target-libffi
38475 maybe-check-target-libffi:
38476 @if target-libffi
38477 maybe-check-target-libffi: check-target-libffi
38479 check-target-libffi:
38480 @: $(MAKE); $(unstage)
38481 @r=`${PWD_COMMAND}`; export r; \
38482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38483 $(NORMAL_TARGET_EXPORTS) \
38484 (cd $(TARGET_SUBDIR)/libffi && \
38485 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38487 @endif target-libffi
38489 .PHONY: install-target-libffi maybe-install-target-libffi
38490 maybe-install-target-libffi:
38491 @if target-libffi
38492 maybe-install-target-libffi: install-target-libffi
38494 install-target-libffi: installdirs
38495 @: $(MAKE); $(unstage)
38496 @r=`${PWD_COMMAND}`; export r; \
38497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38498 $(NORMAL_TARGET_EXPORTS) \
38499 (cd $(TARGET_SUBDIR)/libffi && \
38500 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38502 @endif target-libffi
38504 # Other targets (info, dvi, pdf, etc.)
38506 .PHONY: maybe-info-target-libffi info-target-libffi
38507 maybe-info-target-libffi:
38508 @if target-libffi
38509 maybe-info-target-libffi: info-target-libffi
38511 info-target-libffi: \
38512 configure-target-libffi
38513 @: $(MAKE); $(unstage)
38514 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38515 r=`${PWD_COMMAND}`; export r; \
38516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38517 $(NORMAL_TARGET_EXPORTS) \
38518 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38519 for flag in $(EXTRA_TARGET_FLAGS); do \
38520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38521 done; \
38522 (cd $(TARGET_SUBDIR)/libffi && \
38523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38525 "RANLIB=$${RANLIB}" \
38526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38527 info) \
38528 || exit 1
38530 @endif target-libffi
38532 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38533 maybe-dvi-target-libffi:
38534 @if target-libffi
38535 maybe-dvi-target-libffi: dvi-target-libffi
38537 dvi-target-libffi: \
38538 configure-target-libffi
38539 @: $(MAKE); $(unstage)
38540 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38541 r=`${PWD_COMMAND}`; export r; \
38542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38543 $(NORMAL_TARGET_EXPORTS) \
38544 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38545 for flag in $(EXTRA_TARGET_FLAGS); do \
38546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38547 done; \
38548 (cd $(TARGET_SUBDIR)/libffi && \
38549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38551 "RANLIB=$${RANLIB}" \
38552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38553 dvi) \
38554 || exit 1
38556 @endif target-libffi
38558 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38559 maybe-pdf-target-libffi:
38560 @if target-libffi
38561 maybe-pdf-target-libffi: pdf-target-libffi
38563 pdf-target-libffi: \
38564 configure-target-libffi
38565 @: $(MAKE); $(unstage)
38566 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38567 r=`${PWD_COMMAND}`; export r; \
38568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38569 $(NORMAL_TARGET_EXPORTS) \
38570 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38571 for flag in $(EXTRA_TARGET_FLAGS); do \
38572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38573 done; \
38574 (cd $(TARGET_SUBDIR)/libffi && \
38575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38577 "RANLIB=$${RANLIB}" \
38578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38579 pdf) \
38580 || exit 1
38582 @endif target-libffi
38584 .PHONY: maybe-html-target-libffi html-target-libffi
38585 maybe-html-target-libffi:
38586 @if target-libffi
38587 maybe-html-target-libffi: html-target-libffi
38589 html-target-libffi: \
38590 configure-target-libffi
38591 @: $(MAKE); $(unstage)
38592 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38593 r=`${PWD_COMMAND}`; export r; \
38594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38595 $(NORMAL_TARGET_EXPORTS) \
38596 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38597 for flag in $(EXTRA_TARGET_FLAGS); do \
38598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38599 done; \
38600 (cd $(TARGET_SUBDIR)/libffi && \
38601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38603 "RANLIB=$${RANLIB}" \
38604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38605 html) \
38606 || exit 1
38608 @endif target-libffi
38610 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38611 maybe-TAGS-target-libffi:
38612 @if target-libffi
38613 maybe-TAGS-target-libffi: TAGS-target-libffi
38615 TAGS-target-libffi: \
38616 configure-target-libffi
38617 @: $(MAKE); $(unstage)
38618 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38619 r=`${PWD_COMMAND}`; export r; \
38620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38621 $(NORMAL_TARGET_EXPORTS) \
38622 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38623 for flag in $(EXTRA_TARGET_FLAGS); do \
38624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38625 done; \
38626 (cd $(TARGET_SUBDIR)/libffi && \
38627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38629 "RANLIB=$${RANLIB}" \
38630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38631 TAGS) \
38632 || exit 1
38634 @endif target-libffi
38636 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38637 maybe-install-info-target-libffi:
38638 @if target-libffi
38639 maybe-install-info-target-libffi: install-info-target-libffi
38641 install-info-target-libffi: \
38642 configure-target-libffi \
38643 info-target-libffi
38644 @: $(MAKE); $(unstage)
38645 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38646 r=`${PWD_COMMAND}`; export r; \
38647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38648 $(NORMAL_TARGET_EXPORTS) \
38649 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38650 for flag in $(EXTRA_TARGET_FLAGS); do \
38651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38652 done; \
38653 (cd $(TARGET_SUBDIR)/libffi && \
38654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38656 "RANLIB=$${RANLIB}" \
38657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38658 install-info) \
38659 || exit 1
38661 @endif target-libffi
38663 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38664 maybe-install-html-target-libffi:
38665 @if target-libffi
38666 maybe-install-html-target-libffi: install-html-target-libffi
38668 install-html-target-libffi: \
38669 configure-target-libffi \
38670 html-target-libffi
38671 @: $(MAKE); $(unstage)
38672 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38673 r=`${PWD_COMMAND}`; export r; \
38674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38675 $(NORMAL_TARGET_EXPORTS) \
38676 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38677 for flag in $(EXTRA_TARGET_FLAGS); do \
38678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38679 done; \
38680 (cd $(TARGET_SUBDIR)/libffi && \
38681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38683 "RANLIB=$${RANLIB}" \
38684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38685 install-html) \
38686 || exit 1
38688 @endif target-libffi
38690 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38691 maybe-installcheck-target-libffi:
38692 @if target-libffi
38693 maybe-installcheck-target-libffi: installcheck-target-libffi
38695 installcheck-target-libffi: \
38696 configure-target-libffi
38697 @: $(MAKE); $(unstage)
38698 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38699 r=`${PWD_COMMAND}`; export r; \
38700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38701 $(NORMAL_TARGET_EXPORTS) \
38702 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38703 for flag in $(EXTRA_TARGET_FLAGS); do \
38704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38705 done; \
38706 (cd $(TARGET_SUBDIR)/libffi && \
38707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38709 "RANLIB=$${RANLIB}" \
38710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38711 installcheck) \
38712 || exit 1
38714 @endif target-libffi
38716 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38717 maybe-mostlyclean-target-libffi:
38718 @if target-libffi
38719 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38721 mostlyclean-target-libffi:
38722 @: $(MAKE); $(unstage)
38723 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38724 r=`${PWD_COMMAND}`; export r; \
38725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38726 $(NORMAL_TARGET_EXPORTS) \
38727 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38728 for flag in $(EXTRA_TARGET_FLAGS); do \
38729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38730 done; \
38731 (cd $(TARGET_SUBDIR)/libffi && \
38732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38734 "RANLIB=$${RANLIB}" \
38735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38736 mostlyclean) \
38737 || exit 1
38739 @endif target-libffi
38741 .PHONY: maybe-clean-target-libffi clean-target-libffi
38742 maybe-clean-target-libffi:
38743 @if target-libffi
38744 maybe-clean-target-libffi: clean-target-libffi
38746 clean-target-libffi:
38747 @: $(MAKE); $(unstage)
38748 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38749 r=`${PWD_COMMAND}`; export r; \
38750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38751 $(NORMAL_TARGET_EXPORTS) \
38752 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38753 for flag in $(EXTRA_TARGET_FLAGS); do \
38754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38755 done; \
38756 (cd $(TARGET_SUBDIR)/libffi && \
38757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38759 "RANLIB=$${RANLIB}" \
38760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38761 clean) \
38762 || exit 1
38764 @endif target-libffi
38766 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38767 maybe-distclean-target-libffi:
38768 @if target-libffi
38769 maybe-distclean-target-libffi: distclean-target-libffi
38771 distclean-target-libffi:
38772 @: $(MAKE); $(unstage)
38773 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38774 r=`${PWD_COMMAND}`; export r; \
38775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38776 $(NORMAL_TARGET_EXPORTS) \
38777 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38778 for flag in $(EXTRA_TARGET_FLAGS); do \
38779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38780 done; \
38781 (cd $(TARGET_SUBDIR)/libffi && \
38782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38784 "RANLIB=$${RANLIB}" \
38785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38786 distclean) \
38787 || exit 1
38789 @endif target-libffi
38791 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38792 maybe-maintainer-clean-target-libffi:
38793 @if target-libffi
38794 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38796 maintainer-clean-target-libffi:
38797 @: $(MAKE); $(unstage)
38798 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38799 r=`${PWD_COMMAND}`; export r; \
38800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38801 $(NORMAL_TARGET_EXPORTS) \
38802 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38803 for flag in $(EXTRA_TARGET_FLAGS); do \
38804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38805 done; \
38806 (cd $(TARGET_SUBDIR)/libffi && \
38807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38809 "RANLIB=$${RANLIB}" \
38810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38811 maintainer-clean) \
38812 || exit 1
38814 @endif target-libffi
38820 .PHONY: configure-target-libjava maybe-configure-target-libjava
38821 maybe-configure-target-libjava:
38822 @if gcc-bootstrap
38823 configure-target-libjava: stage_current
38824 @endif gcc-bootstrap
38825 @if target-libjava
38826 maybe-configure-target-libjava: configure-target-libjava
38827 configure-target-libjava:
38828 @: $(MAKE); $(unstage)
38829 @r=`${PWD_COMMAND}`; export r; \
38830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38831 echo "Checking multilib configuration for libjava..."; \
38832 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38833 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38834 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38835 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38836 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38837 else \
38838 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38839 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38840 fi; \
38841 else \
38842 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38843 fi; \
38844 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38845 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38846 $(RAW_CXX_TARGET_EXPORTS) \
38847 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38848 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38849 case $(srcdir) in \
38850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38851 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38853 esac; \
38854 srcdiroption="--srcdir=$${topdir}/libjava"; \
38855 libsrcdir="$$s/libjava"; \
38856 rm -f no-such-file || : ; \
38857 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38858 $(TARGET_CONFIGARGS) $${srcdiroption} \
38859 || exit 1
38860 @endif target-libjava
38866 .PHONY: all-target-libjava maybe-all-target-libjava
38867 maybe-all-target-libjava:
38868 @if gcc-bootstrap
38869 all-target-libjava: stage_current
38870 @endif gcc-bootstrap
38871 @if target-libjava
38872 TARGET-target-libjava=all
38873 maybe-all-target-libjava: all-target-libjava
38874 all-target-libjava: configure-target-libjava
38875 @: $(MAKE); $(unstage)
38876 @r=`${PWD_COMMAND}`; export r; \
38877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38878 $(RAW_CXX_TARGET_EXPORTS) \
38879 (cd $(TARGET_SUBDIR)/libjava && \
38880 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
38881 @endif target-libjava
38887 .PHONY: check-target-libjava maybe-check-target-libjava
38888 maybe-check-target-libjava:
38889 @if target-libjava
38890 maybe-check-target-libjava: check-target-libjava
38892 check-target-libjava:
38893 @: $(MAKE); $(unstage)
38894 @r=`${PWD_COMMAND}`; export r; \
38895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38896 $(RAW_CXX_TARGET_EXPORTS) \
38897 (cd $(TARGET_SUBDIR)/libjava && \
38898 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38900 @endif target-libjava
38902 .PHONY: install-target-libjava maybe-install-target-libjava
38903 maybe-install-target-libjava:
38904 @if target-libjava
38905 maybe-install-target-libjava: install-target-libjava
38907 install-target-libjava: installdirs
38908 @: $(MAKE); $(unstage)
38909 @r=`${PWD_COMMAND}`; export r; \
38910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38911 $(RAW_CXX_TARGET_EXPORTS) \
38912 (cd $(TARGET_SUBDIR)/libjava && \
38913 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38915 @endif target-libjava
38917 # Other targets (info, dvi, pdf, etc.)
38919 .PHONY: maybe-info-target-libjava info-target-libjava
38920 maybe-info-target-libjava:
38921 @if target-libjava
38922 maybe-info-target-libjava: info-target-libjava
38924 info-target-libjava: \
38925 configure-target-libjava
38926 @: $(MAKE); $(unstage)
38927 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38928 r=`${PWD_COMMAND}`; export r; \
38929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38930 $(RAW_CXX_TARGET_EXPORTS) \
38931 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38932 for flag in $(EXTRA_TARGET_FLAGS); do \
38933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38934 done; \
38935 (cd $(TARGET_SUBDIR)/libjava && \
38936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38938 "RANLIB=$${RANLIB}" \
38939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38940 info) \
38941 || exit 1
38943 @endif target-libjava
38945 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38946 maybe-dvi-target-libjava:
38947 @if target-libjava
38948 maybe-dvi-target-libjava: dvi-target-libjava
38950 dvi-target-libjava: \
38951 configure-target-libjava
38952 @: $(MAKE); $(unstage)
38953 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38954 r=`${PWD_COMMAND}`; export r; \
38955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38956 $(RAW_CXX_TARGET_EXPORTS) \
38957 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38958 for flag in $(EXTRA_TARGET_FLAGS); do \
38959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38960 done; \
38961 (cd $(TARGET_SUBDIR)/libjava && \
38962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38964 "RANLIB=$${RANLIB}" \
38965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38966 dvi) \
38967 || exit 1
38969 @endif target-libjava
38971 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38972 maybe-pdf-target-libjava:
38973 @if target-libjava
38974 maybe-pdf-target-libjava: pdf-target-libjava
38976 pdf-target-libjava: \
38977 configure-target-libjava
38978 @: $(MAKE); $(unstage)
38979 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38980 r=`${PWD_COMMAND}`; export r; \
38981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38982 $(RAW_CXX_TARGET_EXPORTS) \
38983 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38984 for flag in $(EXTRA_TARGET_FLAGS); do \
38985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38986 done; \
38987 (cd $(TARGET_SUBDIR)/libjava && \
38988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38990 "RANLIB=$${RANLIB}" \
38991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38992 pdf) \
38993 || exit 1
38995 @endif target-libjava
38997 .PHONY: maybe-html-target-libjava html-target-libjava
38998 maybe-html-target-libjava:
38999 @if target-libjava
39000 maybe-html-target-libjava: html-target-libjava
39002 html-target-libjava: \
39003 configure-target-libjava
39004 @: $(MAKE); $(unstage)
39005 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39006 r=`${PWD_COMMAND}`; export r; \
39007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39008 $(RAW_CXX_TARGET_EXPORTS) \
39009 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
39010 for flag in $(EXTRA_TARGET_FLAGS); do \
39011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39012 done; \
39013 (cd $(TARGET_SUBDIR)/libjava && \
39014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39016 "RANLIB=$${RANLIB}" \
39017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39018 html) \
39019 || exit 1
39021 @endif target-libjava
39023 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39024 maybe-TAGS-target-libjava:
39025 @if target-libjava
39026 maybe-TAGS-target-libjava: TAGS-target-libjava
39028 TAGS-target-libjava: \
39029 configure-target-libjava
39030 @: $(MAKE); $(unstage)
39031 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39032 r=`${PWD_COMMAND}`; export r; \
39033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39034 $(RAW_CXX_TARGET_EXPORTS) \
39035 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39036 for flag in $(EXTRA_TARGET_FLAGS); do \
39037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39038 done; \
39039 (cd $(TARGET_SUBDIR)/libjava && \
39040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39042 "RANLIB=$${RANLIB}" \
39043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39044 TAGS) \
39045 || exit 1
39047 @endif target-libjava
39049 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39050 maybe-install-info-target-libjava:
39051 @if target-libjava
39052 maybe-install-info-target-libjava: install-info-target-libjava
39054 install-info-target-libjava: \
39055 configure-target-libjava \
39056 info-target-libjava
39057 @: $(MAKE); $(unstage)
39058 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39059 r=`${PWD_COMMAND}`; export r; \
39060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39061 $(RAW_CXX_TARGET_EXPORTS) \
39062 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39063 for flag in $(EXTRA_TARGET_FLAGS); do \
39064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39065 done; \
39066 (cd $(TARGET_SUBDIR)/libjava && \
39067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39069 "RANLIB=$${RANLIB}" \
39070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39071 install-info) \
39072 || exit 1
39074 @endif target-libjava
39076 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39077 maybe-install-html-target-libjava:
39078 @if target-libjava
39079 maybe-install-html-target-libjava: install-html-target-libjava
39081 install-html-target-libjava: \
39082 configure-target-libjava \
39083 html-target-libjava
39084 @: $(MAKE); $(unstage)
39085 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39086 r=`${PWD_COMMAND}`; export r; \
39087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39088 $(RAW_CXX_TARGET_EXPORTS) \
39089 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39090 for flag in $(EXTRA_TARGET_FLAGS); do \
39091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39092 done; \
39093 (cd $(TARGET_SUBDIR)/libjava && \
39094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39096 "RANLIB=$${RANLIB}" \
39097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39098 install-html) \
39099 || exit 1
39101 @endif target-libjava
39103 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39104 maybe-installcheck-target-libjava:
39105 @if target-libjava
39106 maybe-installcheck-target-libjava: installcheck-target-libjava
39108 installcheck-target-libjava: \
39109 configure-target-libjava
39110 @: $(MAKE); $(unstage)
39111 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39112 r=`${PWD_COMMAND}`; export r; \
39113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39114 $(RAW_CXX_TARGET_EXPORTS) \
39115 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39116 for flag in $(EXTRA_TARGET_FLAGS); do \
39117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39118 done; \
39119 (cd $(TARGET_SUBDIR)/libjava && \
39120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39122 "RANLIB=$${RANLIB}" \
39123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39124 installcheck) \
39125 || exit 1
39127 @endif target-libjava
39129 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39130 maybe-mostlyclean-target-libjava:
39131 @if target-libjava
39132 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39134 mostlyclean-target-libjava:
39135 @: $(MAKE); $(unstage)
39136 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39137 r=`${PWD_COMMAND}`; export r; \
39138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39139 $(RAW_CXX_TARGET_EXPORTS) \
39140 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39141 for flag in $(EXTRA_TARGET_FLAGS); do \
39142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39143 done; \
39144 (cd $(TARGET_SUBDIR)/libjava && \
39145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39147 "RANLIB=$${RANLIB}" \
39148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39149 mostlyclean) \
39150 || exit 1
39152 @endif target-libjava
39154 .PHONY: maybe-clean-target-libjava clean-target-libjava
39155 maybe-clean-target-libjava:
39156 @if target-libjava
39157 maybe-clean-target-libjava: clean-target-libjava
39159 clean-target-libjava:
39160 @: $(MAKE); $(unstage)
39161 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39162 r=`${PWD_COMMAND}`; export r; \
39163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39164 $(RAW_CXX_TARGET_EXPORTS) \
39165 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
39166 for flag in $(EXTRA_TARGET_FLAGS); do \
39167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39168 done; \
39169 (cd $(TARGET_SUBDIR)/libjava && \
39170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39172 "RANLIB=$${RANLIB}" \
39173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39174 clean) \
39175 || exit 1
39177 @endif target-libjava
39179 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
39180 maybe-distclean-target-libjava:
39181 @if target-libjava
39182 maybe-distclean-target-libjava: distclean-target-libjava
39184 distclean-target-libjava:
39185 @: $(MAKE); $(unstage)
39186 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39187 r=`${PWD_COMMAND}`; export r; \
39188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39189 $(RAW_CXX_TARGET_EXPORTS) \
39190 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
39191 for flag in $(EXTRA_TARGET_FLAGS); do \
39192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39193 done; \
39194 (cd $(TARGET_SUBDIR)/libjava && \
39195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39197 "RANLIB=$${RANLIB}" \
39198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39199 distclean) \
39200 || exit 1
39202 @endif target-libjava
39204 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
39205 maybe-maintainer-clean-target-libjava:
39206 @if target-libjava
39207 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
39209 maintainer-clean-target-libjava:
39210 @: $(MAKE); $(unstage)
39211 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39212 r=`${PWD_COMMAND}`; export r; \
39213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39214 $(RAW_CXX_TARGET_EXPORTS) \
39215 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39216 for flag in $(EXTRA_TARGET_FLAGS); do \
39217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39218 done; \
39219 (cd $(TARGET_SUBDIR)/libjava && \
39220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39222 "RANLIB=$${RANLIB}" \
39223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39224 maintainer-clean) \
39225 || exit 1
39227 @endif target-libjava
39233 .PHONY: configure-target-zlib maybe-configure-target-zlib
39234 maybe-configure-target-zlib:
39235 @if gcc-bootstrap
39236 configure-target-zlib: stage_current
39237 @endif gcc-bootstrap
39238 @if target-zlib
39239 maybe-configure-target-zlib: configure-target-zlib
39240 configure-target-zlib:
39241 @: $(MAKE); $(unstage)
39242 @r=`${PWD_COMMAND}`; export r; \
39243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39244 echo "Checking multilib configuration for zlib..."; \
39245 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39246 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39247 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39248 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39249 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39250 else \
39251 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39252 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39253 fi; \
39254 else \
39255 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39256 fi; \
39257 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39259 $(NORMAL_TARGET_EXPORTS) \
39260 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39261 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39262 case $(srcdir) in \
39263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39264 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39266 esac; \
39267 srcdiroption="--srcdir=$${topdir}/zlib"; \
39268 libsrcdir="$$s/zlib"; \
39269 rm -f no-such-file || : ; \
39270 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39271 $(TARGET_CONFIGARGS) $${srcdiroption} \
39272 || exit 1
39273 @endif target-zlib
39279 .PHONY: all-target-zlib maybe-all-target-zlib
39280 maybe-all-target-zlib:
39281 @if gcc-bootstrap
39282 all-target-zlib: stage_current
39283 @endif gcc-bootstrap
39284 @if target-zlib
39285 TARGET-target-zlib=all
39286 maybe-all-target-zlib: all-target-zlib
39287 all-target-zlib: configure-target-zlib
39288 @: $(MAKE); $(unstage)
39289 @r=`${PWD_COMMAND}`; export r; \
39290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39291 $(NORMAL_TARGET_EXPORTS) \
39292 (cd $(TARGET_SUBDIR)/zlib && \
39293 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
39294 @endif target-zlib
39300 .PHONY: check-target-zlib maybe-check-target-zlib
39301 maybe-check-target-zlib:
39302 @if target-zlib
39303 maybe-check-target-zlib: check-target-zlib
39305 check-target-zlib:
39306 @: $(MAKE); $(unstage)
39307 @r=`${PWD_COMMAND}`; export r; \
39308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39309 $(NORMAL_TARGET_EXPORTS) \
39310 (cd $(TARGET_SUBDIR)/zlib && \
39311 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39313 @endif target-zlib
39315 .PHONY: install-target-zlib maybe-install-target-zlib
39316 maybe-install-target-zlib:
39317 @if target-zlib
39318 maybe-install-target-zlib: install-target-zlib
39320 install-target-zlib: installdirs
39321 @: $(MAKE); $(unstage)
39322 @r=`${PWD_COMMAND}`; export r; \
39323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39324 $(NORMAL_TARGET_EXPORTS) \
39325 (cd $(TARGET_SUBDIR)/zlib && \
39326 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39328 @endif target-zlib
39330 # Other targets (info, dvi, pdf, etc.)
39332 .PHONY: maybe-info-target-zlib info-target-zlib
39333 maybe-info-target-zlib:
39334 @if target-zlib
39335 maybe-info-target-zlib: info-target-zlib
39337 info-target-zlib: \
39338 configure-target-zlib
39339 @: $(MAKE); $(unstage)
39340 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39341 r=`${PWD_COMMAND}`; export r; \
39342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39343 $(NORMAL_TARGET_EXPORTS) \
39344 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39345 for flag in $(EXTRA_TARGET_FLAGS); do \
39346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39347 done; \
39348 (cd $(TARGET_SUBDIR)/zlib && \
39349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39351 "RANLIB=$${RANLIB}" \
39352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39353 info) \
39354 || exit 1
39356 @endif target-zlib
39358 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39359 maybe-dvi-target-zlib:
39360 @if target-zlib
39361 maybe-dvi-target-zlib: dvi-target-zlib
39363 dvi-target-zlib: \
39364 configure-target-zlib
39365 @: $(MAKE); $(unstage)
39366 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39367 r=`${PWD_COMMAND}`; export r; \
39368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39369 $(NORMAL_TARGET_EXPORTS) \
39370 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39371 for flag in $(EXTRA_TARGET_FLAGS); do \
39372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39373 done; \
39374 (cd $(TARGET_SUBDIR)/zlib && \
39375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39377 "RANLIB=$${RANLIB}" \
39378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39379 dvi) \
39380 || exit 1
39382 @endif target-zlib
39384 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39385 maybe-pdf-target-zlib:
39386 @if target-zlib
39387 maybe-pdf-target-zlib: pdf-target-zlib
39389 pdf-target-zlib: \
39390 configure-target-zlib
39391 @: $(MAKE); $(unstage)
39392 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39393 r=`${PWD_COMMAND}`; export r; \
39394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39395 $(NORMAL_TARGET_EXPORTS) \
39396 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39397 for flag in $(EXTRA_TARGET_FLAGS); do \
39398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39399 done; \
39400 (cd $(TARGET_SUBDIR)/zlib && \
39401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39403 "RANLIB=$${RANLIB}" \
39404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39405 pdf) \
39406 || exit 1
39408 @endif target-zlib
39410 .PHONY: maybe-html-target-zlib html-target-zlib
39411 maybe-html-target-zlib:
39412 @if target-zlib
39413 maybe-html-target-zlib: html-target-zlib
39415 html-target-zlib: \
39416 configure-target-zlib
39417 @: $(MAKE); $(unstage)
39418 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39419 r=`${PWD_COMMAND}`; export r; \
39420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39421 $(NORMAL_TARGET_EXPORTS) \
39422 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39423 for flag in $(EXTRA_TARGET_FLAGS); do \
39424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39425 done; \
39426 (cd $(TARGET_SUBDIR)/zlib && \
39427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39429 "RANLIB=$${RANLIB}" \
39430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39431 html) \
39432 || exit 1
39434 @endif target-zlib
39436 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39437 maybe-TAGS-target-zlib:
39438 @if target-zlib
39439 maybe-TAGS-target-zlib: TAGS-target-zlib
39441 TAGS-target-zlib: \
39442 configure-target-zlib
39443 @: $(MAKE); $(unstage)
39444 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39445 r=`${PWD_COMMAND}`; export r; \
39446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39447 $(NORMAL_TARGET_EXPORTS) \
39448 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39449 for flag in $(EXTRA_TARGET_FLAGS); do \
39450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39451 done; \
39452 (cd $(TARGET_SUBDIR)/zlib && \
39453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39455 "RANLIB=$${RANLIB}" \
39456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39457 TAGS) \
39458 || exit 1
39460 @endif target-zlib
39462 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39463 maybe-install-info-target-zlib:
39464 @if target-zlib
39465 maybe-install-info-target-zlib: install-info-target-zlib
39467 install-info-target-zlib: \
39468 configure-target-zlib \
39469 info-target-zlib
39470 @: $(MAKE); $(unstage)
39471 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39472 r=`${PWD_COMMAND}`; export r; \
39473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39474 $(NORMAL_TARGET_EXPORTS) \
39475 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39476 for flag in $(EXTRA_TARGET_FLAGS); do \
39477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39478 done; \
39479 (cd $(TARGET_SUBDIR)/zlib && \
39480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39482 "RANLIB=$${RANLIB}" \
39483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39484 install-info) \
39485 || exit 1
39487 @endif target-zlib
39489 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39490 maybe-install-html-target-zlib:
39491 @if target-zlib
39492 maybe-install-html-target-zlib: install-html-target-zlib
39494 install-html-target-zlib: \
39495 configure-target-zlib \
39496 html-target-zlib
39497 @: $(MAKE); $(unstage)
39498 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39499 r=`${PWD_COMMAND}`; export r; \
39500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39501 $(NORMAL_TARGET_EXPORTS) \
39502 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39503 for flag in $(EXTRA_TARGET_FLAGS); do \
39504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39505 done; \
39506 (cd $(TARGET_SUBDIR)/zlib && \
39507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39509 "RANLIB=$${RANLIB}" \
39510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39511 install-html) \
39512 || exit 1
39514 @endif target-zlib
39516 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39517 maybe-installcheck-target-zlib:
39518 @if target-zlib
39519 maybe-installcheck-target-zlib: installcheck-target-zlib
39521 installcheck-target-zlib: \
39522 configure-target-zlib
39523 @: $(MAKE); $(unstage)
39524 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39525 r=`${PWD_COMMAND}`; export r; \
39526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39527 $(NORMAL_TARGET_EXPORTS) \
39528 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39529 for flag in $(EXTRA_TARGET_FLAGS); do \
39530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39531 done; \
39532 (cd $(TARGET_SUBDIR)/zlib && \
39533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39535 "RANLIB=$${RANLIB}" \
39536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39537 installcheck) \
39538 || exit 1
39540 @endif target-zlib
39542 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39543 maybe-mostlyclean-target-zlib:
39544 @if target-zlib
39545 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39547 mostlyclean-target-zlib:
39548 @: $(MAKE); $(unstage)
39549 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39550 r=`${PWD_COMMAND}`; export r; \
39551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39552 $(NORMAL_TARGET_EXPORTS) \
39553 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39554 for flag in $(EXTRA_TARGET_FLAGS); do \
39555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39556 done; \
39557 (cd $(TARGET_SUBDIR)/zlib && \
39558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39560 "RANLIB=$${RANLIB}" \
39561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39562 mostlyclean) \
39563 || exit 1
39565 @endif target-zlib
39567 .PHONY: maybe-clean-target-zlib clean-target-zlib
39568 maybe-clean-target-zlib:
39569 @if target-zlib
39570 maybe-clean-target-zlib: clean-target-zlib
39572 clean-target-zlib:
39573 @: $(MAKE); $(unstage)
39574 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39575 r=`${PWD_COMMAND}`; export r; \
39576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39577 $(NORMAL_TARGET_EXPORTS) \
39578 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39579 for flag in $(EXTRA_TARGET_FLAGS); do \
39580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39581 done; \
39582 (cd $(TARGET_SUBDIR)/zlib && \
39583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39585 "RANLIB=$${RANLIB}" \
39586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39587 clean) \
39588 || exit 1
39590 @endif target-zlib
39592 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39593 maybe-distclean-target-zlib:
39594 @if target-zlib
39595 maybe-distclean-target-zlib: distclean-target-zlib
39597 distclean-target-zlib:
39598 @: $(MAKE); $(unstage)
39599 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39600 r=`${PWD_COMMAND}`; export r; \
39601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39602 $(NORMAL_TARGET_EXPORTS) \
39603 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39604 for flag in $(EXTRA_TARGET_FLAGS); do \
39605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39606 done; \
39607 (cd $(TARGET_SUBDIR)/zlib && \
39608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39610 "RANLIB=$${RANLIB}" \
39611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39612 distclean) \
39613 || exit 1
39615 @endif target-zlib
39617 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39618 maybe-maintainer-clean-target-zlib:
39619 @if target-zlib
39620 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39622 maintainer-clean-target-zlib:
39623 @: $(MAKE); $(unstage)
39624 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39625 r=`${PWD_COMMAND}`; export r; \
39626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39627 $(NORMAL_TARGET_EXPORTS) \
39628 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39629 for flag in $(EXTRA_TARGET_FLAGS); do \
39630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39631 done; \
39632 (cd $(TARGET_SUBDIR)/zlib && \
39633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39635 "RANLIB=$${RANLIB}" \
39636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39637 maintainer-clean) \
39638 || exit 1
39640 @endif target-zlib
39646 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39647 maybe-configure-target-boehm-gc:
39648 @if gcc-bootstrap
39649 configure-target-boehm-gc: stage_current
39650 @endif gcc-bootstrap
39651 @if target-boehm-gc
39652 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39653 configure-target-boehm-gc:
39654 @: $(MAKE); $(unstage)
39655 @r=`${PWD_COMMAND}`; export r; \
39656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39657 echo "Checking multilib configuration for boehm-gc..."; \
39658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39659 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39660 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39661 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39662 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39663 else \
39664 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39665 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39666 fi; \
39667 else \
39668 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39669 fi; \
39670 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39671 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39672 $(NORMAL_TARGET_EXPORTS) \
39673 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39674 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39675 case $(srcdir) in \
39676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39677 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39679 esac; \
39680 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39681 libsrcdir="$$s/boehm-gc"; \
39682 rm -f no-such-file || : ; \
39683 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39684 $(TARGET_CONFIGARGS) $${srcdiroption} \
39685 || exit 1
39686 @endif target-boehm-gc
39692 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39693 maybe-all-target-boehm-gc:
39694 @if gcc-bootstrap
39695 all-target-boehm-gc: stage_current
39696 @endif gcc-bootstrap
39697 @if target-boehm-gc
39698 TARGET-target-boehm-gc=all
39699 maybe-all-target-boehm-gc: all-target-boehm-gc
39700 all-target-boehm-gc: configure-target-boehm-gc
39701 @: $(MAKE); $(unstage)
39702 @r=`${PWD_COMMAND}`; export r; \
39703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39704 $(NORMAL_TARGET_EXPORTS) \
39705 (cd $(TARGET_SUBDIR)/boehm-gc && \
39706 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
39707 @endif target-boehm-gc
39713 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39714 maybe-check-target-boehm-gc:
39715 @if target-boehm-gc
39716 maybe-check-target-boehm-gc: check-target-boehm-gc
39718 check-target-boehm-gc:
39719 @: $(MAKE); $(unstage)
39720 @r=`${PWD_COMMAND}`; export r; \
39721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39722 $(NORMAL_TARGET_EXPORTS) \
39723 (cd $(TARGET_SUBDIR)/boehm-gc && \
39724 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39726 @endif target-boehm-gc
39728 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39729 maybe-install-target-boehm-gc:
39730 @if target-boehm-gc
39731 maybe-install-target-boehm-gc: install-target-boehm-gc
39733 install-target-boehm-gc: installdirs
39734 @: $(MAKE); $(unstage)
39735 @r=`${PWD_COMMAND}`; export r; \
39736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39737 $(NORMAL_TARGET_EXPORTS) \
39738 (cd $(TARGET_SUBDIR)/boehm-gc && \
39739 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39741 @endif target-boehm-gc
39743 # Other targets (info, dvi, pdf, etc.)
39745 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39746 maybe-info-target-boehm-gc:
39747 @if target-boehm-gc
39748 maybe-info-target-boehm-gc: info-target-boehm-gc
39750 info-target-boehm-gc: \
39751 configure-target-boehm-gc
39752 @: $(MAKE); $(unstage)
39753 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39754 r=`${PWD_COMMAND}`; export r; \
39755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39756 $(NORMAL_TARGET_EXPORTS) \
39757 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39758 for flag in $(EXTRA_TARGET_FLAGS); do \
39759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39760 done; \
39761 (cd $(TARGET_SUBDIR)/boehm-gc && \
39762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39764 "RANLIB=$${RANLIB}" \
39765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39766 info) \
39767 || exit 1
39769 @endif target-boehm-gc
39771 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39772 maybe-dvi-target-boehm-gc:
39773 @if target-boehm-gc
39774 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39776 dvi-target-boehm-gc: \
39777 configure-target-boehm-gc
39778 @: $(MAKE); $(unstage)
39779 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39780 r=`${PWD_COMMAND}`; export r; \
39781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39782 $(NORMAL_TARGET_EXPORTS) \
39783 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39784 for flag in $(EXTRA_TARGET_FLAGS); do \
39785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39786 done; \
39787 (cd $(TARGET_SUBDIR)/boehm-gc && \
39788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39790 "RANLIB=$${RANLIB}" \
39791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39792 dvi) \
39793 || exit 1
39795 @endif target-boehm-gc
39797 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39798 maybe-pdf-target-boehm-gc:
39799 @if target-boehm-gc
39800 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39802 pdf-target-boehm-gc: \
39803 configure-target-boehm-gc
39804 @: $(MAKE); $(unstage)
39805 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39806 r=`${PWD_COMMAND}`; export r; \
39807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39808 $(NORMAL_TARGET_EXPORTS) \
39809 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39810 for flag in $(EXTRA_TARGET_FLAGS); do \
39811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39812 done; \
39813 (cd $(TARGET_SUBDIR)/boehm-gc && \
39814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39816 "RANLIB=$${RANLIB}" \
39817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39818 pdf) \
39819 || exit 1
39821 @endif target-boehm-gc
39823 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39824 maybe-html-target-boehm-gc:
39825 @if target-boehm-gc
39826 maybe-html-target-boehm-gc: html-target-boehm-gc
39828 html-target-boehm-gc: \
39829 configure-target-boehm-gc
39830 @: $(MAKE); $(unstage)
39831 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39832 r=`${PWD_COMMAND}`; export r; \
39833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39834 $(NORMAL_TARGET_EXPORTS) \
39835 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39836 for flag in $(EXTRA_TARGET_FLAGS); do \
39837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39838 done; \
39839 (cd $(TARGET_SUBDIR)/boehm-gc && \
39840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39842 "RANLIB=$${RANLIB}" \
39843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39844 html) \
39845 || exit 1
39847 @endif target-boehm-gc
39849 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39850 maybe-TAGS-target-boehm-gc:
39851 @if target-boehm-gc
39852 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39854 TAGS-target-boehm-gc: \
39855 configure-target-boehm-gc
39856 @: $(MAKE); $(unstage)
39857 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39858 r=`${PWD_COMMAND}`; export r; \
39859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39860 $(NORMAL_TARGET_EXPORTS) \
39861 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39862 for flag in $(EXTRA_TARGET_FLAGS); do \
39863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39864 done; \
39865 (cd $(TARGET_SUBDIR)/boehm-gc && \
39866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39868 "RANLIB=$${RANLIB}" \
39869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39870 TAGS) \
39871 || exit 1
39873 @endif target-boehm-gc
39875 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39876 maybe-install-info-target-boehm-gc:
39877 @if target-boehm-gc
39878 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39880 install-info-target-boehm-gc: \
39881 configure-target-boehm-gc \
39882 info-target-boehm-gc
39883 @: $(MAKE); $(unstage)
39884 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39885 r=`${PWD_COMMAND}`; export r; \
39886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39887 $(NORMAL_TARGET_EXPORTS) \
39888 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39889 for flag in $(EXTRA_TARGET_FLAGS); do \
39890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39891 done; \
39892 (cd $(TARGET_SUBDIR)/boehm-gc && \
39893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39895 "RANLIB=$${RANLIB}" \
39896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39897 install-info) \
39898 || exit 1
39900 @endif target-boehm-gc
39902 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39903 maybe-install-html-target-boehm-gc:
39904 @if target-boehm-gc
39905 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39907 install-html-target-boehm-gc: \
39908 configure-target-boehm-gc \
39909 html-target-boehm-gc
39910 @: $(MAKE); $(unstage)
39911 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39912 r=`${PWD_COMMAND}`; export r; \
39913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39914 $(NORMAL_TARGET_EXPORTS) \
39915 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39916 for flag in $(EXTRA_TARGET_FLAGS); do \
39917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39918 done; \
39919 (cd $(TARGET_SUBDIR)/boehm-gc && \
39920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39922 "RANLIB=$${RANLIB}" \
39923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39924 install-html) \
39925 || exit 1
39927 @endif target-boehm-gc
39929 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39930 maybe-installcheck-target-boehm-gc:
39931 @if target-boehm-gc
39932 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39934 installcheck-target-boehm-gc: \
39935 configure-target-boehm-gc
39936 @: $(MAKE); $(unstage)
39937 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39938 r=`${PWD_COMMAND}`; export r; \
39939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39940 $(NORMAL_TARGET_EXPORTS) \
39941 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39942 for flag in $(EXTRA_TARGET_FLAGS); do \
39943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39944 done; \
39945 (cd $(TARGET_SUBDIR)/boehm-gc && \
39946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39948 "RANLIB=$${RANLIB}" \
39949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39950 installcheck) \
39951 || exit 1
39953 @endif target-boehm-gc
39955 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39956 maybe-mostlyclean-target-boehm-gc:
39957 @if target-boehm-gc
39958 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39960 mostlyclean-target-boehm-gc:
39961 @: $(MAKE); $(unstage)
39962 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39963 r=`${PWD_COMMAND}`; export r; \
39964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39965 $(NORMAL_TARGET_EXPORTS) \
39966 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39967 for flag in $(EXTRA_TARGET_FLAGS); do \
39968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39969 done; \
39970 (cd $(TARGET_SUBDIR)/boehm-gc && \
39971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39973 "RANLIB=$${RANLIB}" \
39974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39975 mostlyclean) \
39976 || exit 1
39978 @endif target-boehm-gc
39980 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39981 maybe-clean-target-boehm-gc:
39982 @if target-boehm-gc
39983 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39985 clean-target-boehm-gc:
39986 @: $(MAKE); $(unstage)
39987 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39988 r=`${PWD_COMMAND}`; export r; \
39989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39990 $(NORMAL_TARGET_EXPORTS) \
39991 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39992 for flag in $(EXTRA_TARGET_FLAGS); do \
39993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39994 done; \
39995 (cd $(TARGET_SUBDIR)/boehm-gc && \
39996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39998 "RANLIB=$${RANLIB}" \
39999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40000 clean) \
40001 || exit 1
40003 @endif target-boehm-gc
40005 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
40006 maybe-distclean-target-boehm-gc:
40007 @if target-boehm-gc
40008 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
40010 distclean-target-boehm-gc:
40011 @: $(MAKE); $(unstage)
40012 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40013 r=`${PWD_COMMAND}`; export r; \
40014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40015 $(NORMAL_TARGET_EXPORTS) \
40016 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40017 for flag in $(EXTRA_TARGET_FLAGS); do \
40018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40019 done; \
40020 (cd $(TARGET_SUBDIR)/boehm-gc && \
40021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40023 "RANLIB=$${RANLIB}" \
40024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40025 distclean) \
40026 || exit 1
40028 @endif target-boehm-gc
40030 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40031 maybe-maintainer-clean-target-boehm-gc:
40032 @if target-boehm-gc
40033 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40035 maintainer-clean-target-boehm-gc:
40036 @: $(MAKE); $(unstage)
40037 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40038 r=`${PWD_COMMAND}`; export r; \
40039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40040 $(NORMAL_TARGET_EXPORTS) \
40041 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40042 for flag in $(EXTRA_TARGET_FLAGS); do \
40043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40044 done; \
40045 (cd $(TARGET_SUBDIR)/boehm-gc && \
40046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40048 "RANLIB=$${RANLIB}" \
40049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40050 maintainer-clean) \
40051 || exit 1
40053 @endif target-boehm-gc
40059 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
40060 maybe-configure-target-qthreads:
40061 @if gcc-bootstrap
40062 configure-target-qthreads: stage_current
40063 @endif gcc-bootstrap
40064 @if target-qthreads
40065 maybe-configure-target-qthreads: configure-target-qthreads
40066 configure-target-qthreads:
40067 @: $(MAKE); $(unstage)
40068 @r=`${PWD_COMMAND}`; export r; \
40069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40070 echo "Checking multilib configuration for qthreads..."; \
40071 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40072 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
40073 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40074 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40075 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
40076 else \
40077 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
40078 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40079 fi; \
40080 else \
40081 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40082 fi; \
40083 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
40084 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40085 $(NORMAL_TARGET_EXPORTS) \
40086 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
40087 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
40088 case $(srcdir) in \
40089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40090 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
40091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40092 esac; \
40093 srcdiroption="--srcdir=$${topdir}/qthreads"; \
40094 libsrcdir="$$s/qthreads"; \
40095 rm -f no-such-file || : ; \
40096 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40097 $(TARGET_CONFIGARGS) $${srcdiroption} \
40098 || exit 1
40099 @endif target-qthreads
40105 .PHONY: all-target-qthreads maybe-all-target-qthreads
40106 maybe-all-target-qthreads:
40107 @if gcc-bootstrap
40108 all-target-qthreads: stage_current
40109 @endif gcc-bootstrap
40110 @if target-qthreads
40111 TARGET-target-qthreads=all
40112 maybe-all-target-qthreads: all-target-qthreads
40113 all-target-qthreads: configure-target-qthreads
40114 @: $(MAKE); $(unstage)
40115 @r=`${PWD_COMMAND}`; export r; \
40116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40117 $(NORMAL_TARGET_EXPORTS) \
40118 (cd $(TARGET_SUBDIR)/qthreads && \
40119 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
40120 @endif target-qthreads
40126 .PHONY: check-target-qthreads maybe-check-target-qthreads
40127 maybe-check-target-qthreads:
40128 @if target-qthreads
40129 maybe-check-target-qthreads: check-target-qthreads
40131 check-target-qthreads:
40132 @: $(MAKE); $(unstage)
40133 @r=`${PWD_COMMAND}`; export r; \
40134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40135 $(NORMAL_TARGET_EXPORTS) \
40136 (cd $(TARGET_SUBDIR)/qthreads && \
40137 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40139 @endif target-qthreads
40141 .PHONY: install-target-qthreads maybe-install-target-qthreads
40142 maybe-install-target-qthreads:
40143 @if target-qthreads
40144 maybe-install-target-qthreads: install-target-qthreads
40146 install-target-qthreads: installdirs
40147 @: $(MAKE); $(unstage)
40148 @r=`${PWD_COMMAND}`; export r; \
40149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40150 $(NORMAL_TARGET_EXPORTS) \
40151 (cd $(TARGET_SUBDIR)/qthreads && \
40152 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40154 @endif target-qthreads
40156 # Other targets (info, dvi, pdf, etc.)
40158 .PHONY: maybe-info-target-qthreads info-target-qthreads
40159 maybe-info-target-qthreads:
40160 @if target-qthreads
40161 maybe-info-target-qthreads: info-target-qthreads
40163 info-target-qthreads: \
40164 configure-target-qthreads
40165 @: $(MAKE); $(unstage)
40166 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40167 r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(NORMAL_TARGET_EXPORTS) \
40170 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
40171 for flag in $(EXTRA_TARGET_FLAGS); do \
40172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40173 done; \
40174 (cd $(TARGET_SUBDIR)/qthreads && \
40175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40177 "RANLIB=$${RANLIB}" \
40178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40179 info) \
40180 || exit 1
40182 @endif target-qthreads
40184 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
40185 maybe-dvi-target-qthreads:
40186 @if target-qthreads
40187 maybe-dvi-target-qthreads: dvi-target-qthreads
40189 dvi-target-qthreads: \
40190 configure-target-qthreads
40191 @: $(MAKE); $(unstage)
40192 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40193 r=`${PWD_COMMAND}`; export r; \
40194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40195 $(NORMAL_TARGET_EXPORTS) \
40196 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
40197 for flag in $(EXTRA_TARGET_FLAGS); do \
40198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40199 done; \
40200 (cd $(TARGET_SUBDIR)/qthreads && \
40201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40203 "RANLIB=$${RANLIB}" \
40204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40205 dvi) \
40206 || exit 1
40208 @endif target-qthreads
40210 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
40211 maybe-pdf-target-qthreads:
40212 @if target-qthreads
40213 maybe-pdf-target-qthreads: pdf-target-qthreads
40215 pdf-target-qthreads: \
40216 configure-target-qthreads
40217 @: $(MAKE); $(unstage)
40218 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40219 r=`${PWD_COMMAND}`; export r; \
40220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40221 $(NORMAL_TARGET_EXPORTS) \
40222 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
40223 for flag in $(EXTRA_TARGET_FLAGS); do \
40224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40225 done; \
40226 (cd $(TARGET_SUBDIR)/qthreads && \
40227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40229 "RANLIB=$${RANLIB}" \
40230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40231 pdf) \
40232 || exit 1
40234 @endif target-qthreads
40236 .PHONY: maybe-html-target-qthreads html-target-qthreads
40237 maybe-html-target-qthreads:
40238 @if target-qthreads
40239 maybe-html-target-qthreads: html-target-qthreads
40241 html-target-qthreads: \
40242 configure-target-qthreads
40243 @: $(MAKE); $(unstage)
40244 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40245 r=`${PWD_COMMAND}`; export r; \
40246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40247 $(NORMAL_TARGET_EXPORTS) \
40248 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
40249 for flag in $(EXTRA_TARGET_FLAGS); do \
40250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40251 done; \
40252 (cd $(TARGET_SUBDIR)/qthreads && \
40253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40255 "RANLIB=$${RANLIB}" \
40256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40257 html) \
40258 || exit 1
40260 @endif target-qthreads
40262 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
40263 maybe-TAGS-target-qthreads:
40264 @if target-qthreads
40265 maybe-TAGS-target-qthreads: TAGS-target-qthreads
40267 TAGS-target-qthreads: \
40268 configure-target-qthreads
40269 @: $(MAKE); $(unstage)
40270 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40271 r=`${PWD_COMMAND}`; export r; \
40272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40273 $(NORMAL_TARGET_EXPORTS) \
40274 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
40275 for flag in $(EXTRA_TARGET_FLAGS); do \
40276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40277 done; \
40278 (cd $(TARGET_SUBDIR)/qthreads && \
40279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40281 "RANLIB=$${RANLIB}" \
40282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40283 TAGS) \
40284 || exit 1
40286 @endif target-qthreads
40288 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
40289 maybe-install-info-target-qthreads:
40290 @if target-qthreads
40291 maybe-install-info-target-qthreads: install-info-target-qthreads
40293 install-info-target-qthreads: \
40294 configure-target-qthreads \
40295 info-target-qthreads
40296 @: $(MAKE); $(unstage)
40297 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40298 r=`${PWD_COMMAND}`; export r; \
40299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40300 $(NORMAL_TARGET_EXPORTS) \
40301 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
40302 for flag in $(EXTRA_TARGET_FLAGS); do \
40303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40304 done; \
40305 (cd $(TARGET_SUBDIR)/qthreads && \
40306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40308 "RANLIB=$${RANLIB}" \
40309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40310 install-info) \
40311 || exit 1
40313 @endif target-qthreads
40315 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
40316 maybe-install-html-target-qthreads:
40317 @if target-qthreads
40318 maybe-install-html-target-qthreads: install-html-target-qthreads
40320 install-html-target-qthreads: \
40321 configure-target-qthreads \
40322 html-target-qthreads
40323 @: $(MAKE); $(unstage)
40324 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40325 r=`${PWD_COMMAND}`; export r; \
40326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40327 $(NORMAL_TARGET_EXPORTS) \
40328 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
40329 for flag in $(EXTRA_TARGET_FLAGS); do \
40330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40331 done; \
40332 (cd $(TARGET_SUBDIR)/qthreads && \
40333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40335 "RANLIB=$${RANLIB}" \
40336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40337 install-html) \
40338 || exit 1
40340 @endif target-qthreads
40342 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
40343 maybe-installcheck-target-qthreads:
40344 @if target-qthreads
40345 maybe-installcheck-target-qthreads: installcheck-target-qthreads
40347 installcheck-target-qthreads: \
40348 configure-target-qthreads
40349 @: $(MAKE); $(unstage)
40350 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40351 r=`${PWD_COMMAND}`; export r; \
40352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40353 $(NORMAL_TARGET_EXPORTS) \
40354 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
40355 for flag in $(EXTRA_TARGET_FLAGS); do \
40356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40357 done; \
40358 (cd $(TARGET_SUBDIR)/qthreads && \
40359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40361 "RANLIB=$${RANLIB}" \
40362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40363 installcheck) \
40364 || exit 1
40366 @endif target-qthreads
40368 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
40369 maybe-mostlyclean-target-qthreads:
40370 @if target-qthreads
40371 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
40373 mostlyclean-target-qthreads:
40374 @: $(MAKE); $(unstage)
40375 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40376 r=`${PWD_COMMAND}`; export r; \
40377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40378 $(NORMAL_TARGET_EXPORTS) \
40379 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
40380 for flag in $(EXTRA_TARGET_FLAGS); do \
40381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40382 done; \
40383 (cd $(TARGET_SUBDIR)/qthreads && \
40384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40386 "RANLIB=$${RANLIB}" \
40387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40388 mostlyclean) \
40389 || exit 1
40391 @endif target-qthreads
40393 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
40394 maybe-clean-target-qthreads:
40395 @if target-qthreads
40396 maybe-clean-target-qthreads: clean-target-qthreads
40398 clean-target-qthreads:
40399 @: $(MAKE); $(unstage)
40400 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40401 r=`${PWD_COMMAND}`; export r; \
40402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40403 $(NORMAL_TARGET_EXPORTS) \
40404 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
40405 for flag in $(EXTRA_TARGET_FLAGS); do \
40406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40407 done; \
40408 (cd $(TARGET_SUBDIR)/qthreads && \
40409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40411 "RANLIB=$${RANLIB}" \
40412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40413 clean) \
40414 || exit 1
40416 @endif target-qthreads
40418 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
40419 maybe-distclean-target-qthreads:
40420 @if target-qthreads
40421 maybe-distclean-target-qthreads: distclean-target-qthreads
40423 distclean-target-qthreads:
40424 @: $(MAKE); $(unstage)
40425 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40426 r=`${PWD_COMMAND}`; export r; \
40427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40428 $(NORMAL_TARGET_EXPORTS) \
40429 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
40430 for flag in $(EXTRA_TARGET_FLAGS); do \
40431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40432 done; \
40433 (cd $(TARGET_SUBDIR)/qthreads && \
40434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40436 "RANLIB=$${RANLIB}" \
40437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40438 distclean) \
40439 || exit 1
40441 @endif target-qthreads
40443 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
40444 maybe-maintainer-clean-target-qthreads:
40445 @if target-qthreads
40446 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
40448 maintainer-clean-target-qthreads:
40449 @: $(MAKE); $(unstage)
40450 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40451 r=`${PWD_COMMAND}`; export r; \
40452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40453 $(NORMAL_TARGET_EXPORTS) \
40454 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
40455 for flag in $(EXTRA_TARGET_FLAGS); do \
40456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40457 done; \
40458 (cd $(TARGET_SUBDIR)/qthreads && \
40459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40461 "RANLIB=$${RANLIB}" \
40462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40463 maintainer-clean) \
40464 || exit 1
40466 @endif target-qthreads
40472 .PHONY: configure-target-rda maybe-configure-target-rda
40473 maybe-configure-target-rda:
40474 @if gcc-bootstrap
40475 configure-target-rda: stage_current
40476 @endif gcc-bootstrap
40477 @if target-rda
40478 maybe-configure-target-rda: configure-target-rda
40479 configure-target-rda:
40480 @: $(MAKE); $(unstage)
40481 @r=`${PWD_COMMAND}`; export r; \
40482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40483 echo "Checking multilib configuration for rda..."; \
40484 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40485 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40486 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40487 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40488 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40489 else \
40490 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40491 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40492 fi; \
40493 else \
40494 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40495 fi; \
40496 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40497 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40498 $(NORMAL_TARGET_EXPORTS) \
40499 echo Configuring in $(TARGET_SUBDIR)/rda; \
40500 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40501 case $(srcdir) in \
40502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40503 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40505 esac; \
40506 srcdiroption="--srcdir=$${topdir}/rda"; \
40507 libsrcdir="$$s/rda"; \
40508 rm -f no-such-file || : ; \
40509 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40510 $(TARGET_CONFIGARGS) $${srcdiroption} \
40511 || exit 1
40512 @endif target-rda
40518 .PHONY: all-target-rda maybe-all-target-rda
40519 maybe-all-target-rda:
40520 @if gcc-bootstrap
40521 all-target-rda: stage_current
40522 @endif gcc-bootstrap
40523 @if target-rda
40524 TARGET-target-rda=all
40525 maybe-all-target-rda: all-target-rda
40526 all-target-rda: configure-target-rda
40527 @: $(MAKE); $(unstage)
40528 @r=`${PWD_COMMAND}`; export r; \
40529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40530 $(NORMAL_TARGET_EXPORTS) \
40531 (cd $(TARGET_SUBDIR)/rda && \
40532 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
40533 @endif target-rda
40539 .PHONY: check-target-rda maybe-check-target-rda
40540 maybe-check-target-rda:
40541 @if target-rda
40542 maybe-check-target-rda: check-target-rda
40544 check-target-rda:
40545 @: $(MAKE); $(unstage)
40546 @r=`${PWD_COMMAND}`; export r; \
40547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40548 $(NORMAL_TARGET_EXPORTS) \
40549 (cd $(TARGET_SUBDIR)/rda && \
40550 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40552 @endif target-rda
40554 .PHONY: install-target-rda maybe-install-target-rda
40555 maybe-install-target-rda:
40556 @if target-rda
40557 maybe-install-target-rda: install-target-rda
40559 install-target-rda: installdirs
40560 @: $(MAKE); $(unstage)
40561 @r=`${PWD_COMMAND}`; export r; \
40562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40563 $(NORMAL_TARGET_EXPORTS) \
40564 (cd $(TARGET_SUBDIR)/rda && \
40565 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40567 @endif target-rda
40569 # Other targets (info, dvi, pdf, etc.)
40571 .PHONY: maybe-info-target-rda info-target-rda
40572 maybe-info-target-rda:
40573 @if target-rda
40574 maybe-info-target-rda: info-target-rda
40576 info-target-rda: \
40577 configure-target-rda
40578 @: $(MAKE); $(unstage)
40579 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40580 r=`${PWD_COMMAND}`; export r; \
40581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40582 $(NORMAL_TARGET_EXPORTS) \
40583 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40584 for flag in $(EXTRA_TARGET_FLAGS); do \
40585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40586 done; \
40587 (cd $(TARGET_SUBDIR)/rda && \
40588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40590 "RANLIB=$${RANLIB}" \
40591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40592 info) \
40593 || exit 1
40595 @endif target-rda
40597 .PHONY: maybe-dvi-target-rda dvi-target-rda
40598 maybe-dvi-target-rda:
40599 @if target-rda
40600 maybe-dvi-target-rda: dvi-target-rda
40602 dvi-target-rda: \
40603 configure-target-rda
40604 @: $(MAKE); $(unstage)
40605 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40606 r=`${PWD_COMMAND}`; export r; \
40607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40608 $(NORMAL_TARGET_EXPORTS) \
40609 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40610 for flag in $(EXTRA_TARGET_FLAGS); do \
40611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40612 done; \
40613 (cd $(TARGET_SUBDIR)/rda && \
40614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40616 "RANLIB=$${RANLIB}" \
40617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40618 dvi) \
40619 || exit 1
40621 @endif target-rda
40623 .PHONY: maybe-pdf-target-rda pdf-target-rda
40624 maybe-pdf-target-rda:
40625 @if target-rda
40626 maybe-pdf-target-rda: pdf-target-rda
40628 pdf-target-rda: \
40629 configure-target-rda
40630 @: $(MAKE); $(unstage)
40631 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40632 r=`${PWD_COMMAND}`; export r; \
40633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40634 $(NORMAL_TARGET_EXPORTS) \
40635 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40636 for flag in $(EXTRA_TARGET_FLAGS); do \
40637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40638 done; \
40639 (cd $(TARGET_SUBDIR)/rda && \
40640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40642 "RANLIB=$${RANLIB}" \
40643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40644 pdf) \
40645 || exit 1
40647 @endif target-rda
40649 .PHONY: maybe-html-target-rda html-target-rda
40650 maybe-html-target-rda:
40651 @if target-rda
40652 maybe-html-target-rda: html-target-rda
40654 html-target-rda: \
40655 configure-target-rda
40656 @: $(MAKE); $(unstage)
40657 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40658 r=`${PWD_COMMAND}`; export r; \
40659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40660 $(NORMAL_TARGET_EXPORTS) \
40661 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40662 for flag in $(EXTRA_TARGET_FLAGS); do \
40663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40664 done; \
40665 (cd $(TARGET_SUBDIR)/rda && \
40666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40668 "RANLIB=$${RANLIB}" \
40669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40670 html) \
40671 || exit 1
40673 @endif target-rda
40675 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40676 maybe-TAGS-target-rda:
40677 @if target-rda
40678 maybe-TAGS-target-rda: TAGS-target-rda
40680 TAGS-target-rda: \
40681 configure-target-rda
40682 @: $(MAKE); $(unstage)
40683 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40684 r=`${PWD_COMMAND}`; export r; \
40685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40686 $(NORMAL_TARGET_EXPORTS) \
40687 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40688 for flag in $(EXTRA_TARGET_FLAGS); do \
40689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40690 done; \
40691 (cd $(TARGET_SUBDIR)/rda && \
40692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40694 "RANLIB=$${RANLIB}" \
40695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40696 TAGS) \
40697 || exit 1
40699 @endif target-rda
40701 .PHONY: maybe-install-info-target-rda install-info-target-rda
40702 maybe-install-info-target-rda:
40703 @if target-rda
40704 maybe-install-info-target-rda: install-info-target-rda
40706 install-info-target-rda: \
40707 configure-target-rda \
40708 info-target-rda
40709 @: $(MAKE); $(unstage)
40710 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40711 r=`${PWD_COMMAND}`; export r; \
40712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40713 $(NORMAL_TARGET_EXPORTS) \
40714 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40715 for flag in $(EXTRA_TARGET_FLAGS); do \
40716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40717 done; \
40718 (cd $(TARGET_SUBDIR)/rda && \
40719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40721 "RANLIB=$${RANLIB}" \
40722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40723 install-info) \
40724 || exit 1
40726 @endif target-rda
40728 .PHONY: maybe-install-html-target-rda install-html-target-rda
40729 maybe-install-html-target-rda:
40730 @if target-rda
40731 maybe-install-html-target-rda: install-html-target-rda
40733 install-html-target-rda: \
40734 configure-target-rda \
40735 html-target-rda
40736 @: $(MAKE); $(unstage)
40737 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40738 r=`${PWD_COMMAND}`; export r; \
40739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40740 $(NORMAL_TARGET_EXPORTS) \
40741 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40742 for flag in $(EXTRA_TARGET_FLAGS); do \
40743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40744 done; \
40745 (cd $(TARGET_SUBDIR)/rda && \
40746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40748 "RANLIB=$${RANLIB}" \
40749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40750 install-html) \
40751 || exit 1
40753 @endif target-rda
40755 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40756 maybe-installcheck-target-rda:
40757 @if target-rda
40758 maybe-installcheck-target-rda: installcheck-target-rda
40760 installcheck-target-rda: \
40761 configure-target-rda
40762 @: $(MAKE); $(unstage)
40763 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40764 r=`${PWD_COMMAND}`; export r; \
40765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40766 $(NORMAL_TARGET_EXPORTS) \
40767 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40768 for flag in $(EXTRA_TARGET_FLAGS); do \
40769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40770 done; \
40771 (cd $(TARGET_SUBDIR)/rda && \
40772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40774 "RANLIB=$${RANLIB}" \
40775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40776 installcheck) \
40777 || exit 1
40779 @endif target-rda
40781 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40782 maybe-mostlyclean-target-rda:
40783 @if target-rda
40784 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40786 mostlyclean-target-rda:
40787 @: $(MAKE); $(unstage)
40788 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40789 r=`${PWD_COMMAND}`; export r; \
40790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40791 $(NORMAL_TARGET_EXPORTS) \
40792 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40793 for flag in $(EXTRA_TARGET_FLAGS); do \
40794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40795 done; \
40796 (cd $(TARGET_SUBDIR)/rda && \
40797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40799 "RANLIB=$${RANLIB}" \
40800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40801 mostlyclean) \
40802 || exit 1
40804 @endif target-rda
40806 .PHONY: maybe-clean-target-rda clean-target-rda
40807 maybe-clean-target-rda:
40808 @if target-rda
40809 maybe-clean-target-rda: clean-target-rda
40811 clean-target-rda:
40812 @: $(MAKE); $(unstage)
40813 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40814 r=`${PWD_COMMAND}`; export r; \
40815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40816 $(NORMAL_TARGET_EXPORTS) \
40817 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40818 for flag in $(EXTRA_TARGET_FLAGS); do \
40819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40820 done; \
40821 (cd $(TARGET_SUBDIR)/rda && \
40822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40824 "RANLIB=$${RANLIB}" \
40825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40826 clean) \
40827 || exit 1
40829 @endif target-rda
40831 .PHONY: maybe-distclean-target-rda distclean-target-rda
40832 maybe-distclean-target-rda:
40833 @if target-rda
40834 maybe-distclean-target-rda: distclean-target-rda
40836 distclean-target-rda:
40837 @: $(MAKE); $(unstage)
40838 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40839 r=`${PWD_COMMAND}`; export r; \
40840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40841 $(NORMAL_TARGET_EXPORTS) \
40842 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40843 for flag in $(EXTRA_TARGET_FLAGS); do \
40844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40845 done; \
40846 (cd $(TARGET_SUBDIR)/rda && \
40847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40849 "RANLIB=$${RANLIB}" \
40850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40851 distclean) \
40852 || exit 1
40854 @endif target-rda
40856 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40857 maybe-maintainer-clean-target-rda:
40858 @if target-rda
40859 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40861 maintainer-clean-target-rda:
40862 @: $(MAKE); $(unstage)
40863 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40864 r=`${PWD_COMMAND}`; export r; \
40865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40866 $(NORMAL_TARGET_EXPORTS) \
40867 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40868 for flag in $(EXTRA_TARGET_FLAGS); do \
40869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40870 done; \
40871 (cd $(TARGET_SUBDIR)/rda && \
40872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40874 "RANLIB=$${RANLIB}" \
40875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40876 maintainer-clean) \
40877 || exit 1
40879 @endif target-rda
40885 .PHONY: configure-target-libada maybe-configure-target-libada
40886 maybe-configure-target-libada:
40887 @if gcc-bootstrap
40888 configure-target-libada: stage_current
40889 @endif gcc-bootstrap
40890 @if target-libada
40891 maybe-configure-target-libada: configure-target-libada
40892 configure-target-libada:
40893 @: $(MAKE); $(unstage)
40894 @r=`${PWD_COMMAND}`; export r; \
40895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40896 echo "Checking multilib configuration for libada..."; \
40897 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40898 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40899 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40900 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40901 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40902 else \
40903 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40904 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40905 fi; \
40906 else \
40907 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40908 fi; \
40909 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40910 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40911 $(NORMAL_TARGET_EXPORTS) \
40912 echo Configuring in $(TARGET_SUBDIR)/libada; \
40913 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40914 case $(srcdir) in \
40915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40916 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40918 esac; \
40919 srcdiroption="--srcdir=$${topdir}/libada"; \
40920 libsrcdir="$$s/libada"; \
40921 rm -f no-such-file || : ; \
40922 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40923 $(TARGET_CONFIGARGS) $${srcdiroption} \
40924 || exit 1
40925 @endif target-libada
40931 .PHONY: all-target-libada maybe-all-target-libada
40932 maybe-all-target-libada:
40933 @if gcc-bootstrap
40934 all-target-libada: stage_current
40935 @endif gcc-bootstrap
40936 @if target-libada
40937 TARGET-target-libada=all
40938 maybe-all-target-libada: all-target-libada
40939 all-target-libada: configure-target-libada
40940 @: $(MAKE); $(unstage)
40941 @r=`${PWD_COMMAND}`; export r; \
40942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40943 $(NORMAL_TARGET_EXPORTS) \
40944 (cd $(TARGET_SUBDIR)/libada && \
40945 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
40946 @endif target-libada
40952 .PHONY: check-target-libada maybe-check-target-libada
40953 maybe-check-target-libada:
40954 @if target-libada
40955 maybe-check-target-libada: check-target-libada
40957 check-target-libada:
40958 @: $(MAKE); $(unstage)
40959 @r=`${PWD_COMMAND}`; export r; \
40960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40961 $(NORMAL_TARGET_EXPORTS) \
40962 (cd $(TARGET_SUBDIR)/libada && \
40963 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40965 @endif target-libada
40967 .PHONY: install-target-libada maybe-install-target-libada
40968 maybe-install-target-libada:
40969 @if target-libada
40970 maybe-install-target-libada: install-target-libada
40972 install-target-libada: installdirs
40973 @: $(MAKE); $(unstage)
40974 @r=`${PWD_COMMAND}`; export r; \
40975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40976 $(NORMAL_TARGET_EXPORTS) \
40977 (cd $(TARGET_SUBDIR)/libada && \
40978 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40980 @endif target-libada
40982 # Other targets (info, dvi, pdf, etc.)
40984 .PHONY: maybe-info-target-libada info-target-libada
40985 maybe-info-target-libada:
40986 @if target-libada
40987 maybe-info-target-libada: info-target-libada
40989 info-target-libada: \
40990 configure-target-libada
40991 @: $(MAKE); $(unstage)
40992 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40993 r=`${PWD_COMMAND}`; export r; \
40994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40995 $(NORMAL_TARGET_EXPORTS) \
40996 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40997 for flag in $(EXTRA_TARGET_FLAGS); do \
40998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40999 done; \
41000 (cd $(TARGET_SUBDIR)/libada && \
41001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41003 "RANLIB=$${RANLIB}" \
41004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41005 info) \
41006 || exit 1
41008 @endif target-libada
41010 .PHONY: maybe-dvi-target-libada dvi-target-libada
41011 maybe-dvi-target-libada:
41012 @if target-libada
41013 maybe-dvi-target-libada: dvi-target-libada
41015 dvi-target-libada: \
41016 configure-target-libada
41017 @: $(MAKE); $(unstage)
41018 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41019 r=`${PWD_COMMAND}`; export r; \
41020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41021 $(NORMAL_TARGET_EXPORTS) \
41022 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41023 for flag in $(EXTRA_TARGET_FLAGS); do \
41024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41025 done; \
41026 (cd $(TARGET_SUBDIR)/libada && \
41027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41029 "RANLIB=$${RANLIB}" \
41030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41031 dvi) \
41032 || exit 1
41034 @endif target-libada
41036 .PHONY: maybe-pdf-target-libada pdf-target-libada
41037 maybe-pdf-target-libada:
41038 @if target-libada
41039 maybe-pdf-target-libada: pdf-target-libada
41041 pdf-target-libada: \
41042 configure-target-libada
41043 @: $(MAKE); $(unstage)
41044 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41045 r=`${PWD_COMMAND}`; export r; \
41046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41047 $(NORMAL_TARGET_EXPORTS) \
41048 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41049 for flag in $(EXTRA_TARGET_FLAGS); do \
41050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41051 done; \
41052 (cd $(TARGET_SUBDIR)/libada && \
41053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41055 "RANLIB=$${RANLIB}" \
41056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41057 pdf) \
41058 || exit 1
41060 @endif target-libada
41062 .PHONY: maybe-html-target-libada html-target-libada
41063 maybe-html-target-libada:
41064 @if target-libada
41065 maybe-html-target-libada: html-target-libada
41067 html-target-libada: \
41068 configure-target-libada
41069 @: $(MAKE); $(unstage)
41070 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41071 r=`${PWD_COMMAND}`; export r; \
41072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41073 $(NORMAL_TARGET_EXPORTS) \
41074 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41075 for flag in $(EXTRA_TARGET_FLAGS); do \
41076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41077 done; \
41078 (cd $(TARGET_SUBDIR)/libada && \
41079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41081 "RANLIB=$${RANLIB}" \
41082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41083 html) \
41084 || exit 1
41086 @endif target-libada
41088 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41089 maybe-TAGS-target-libada:
41090 @if target-libada
41091 maybe-TAGS-target-libada: TAGS-target-libada
41093 TAGS-target-libada: \
41094 configure-target-libada
41095 @: $(MAKE); $(unstage)
41096 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41097 r=`${PWD_COMMAND}`; export r; \
41098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41099 $(NORMAL_TARGET_EXPORTS) \
41100 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41101 for flag in $(EXTRA_TARGET_FLAGS); do \
41102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41103 done; \
41104 (cd $(TARGET_SUBDIR)/libada && \
41105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41107 "RANLIB=$${RANLIB}" \
41108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41109 TAGS) \
41110 || exit 1
41112 @endif target-libada
41114 .PHONY: maybe-install-info-target-libada install-info-target-libada
41115 maybe-install-info-target-libada:
41116 @if target-libada
41117 maybe-install-info-target-libada: install-info-target-libada
41119 install-info-target-libada: \
41120 configure-target-libada \
41121 info-target-libada
41122 @: $(MAKE); $(unstage)
41123 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41124 r=`${PWD_COMMAND}`; export r; \
41125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41126 $(NORMAL_TARGET_EXPORTS) \
41127 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41128 for flag in $(EXTRA_TARGET_FLAGS); do \
41129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41130 done; \
41131 (cd $(TARGET_SUBDIR)/libada && \
41132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41134 "RANLIB=$${RANLIB}" \
41135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41136 install-info) \
41137 || exit 1
41139 @endif target-libada
41141 .PHONY: maybe-install-html-target-libada install-html-target-libada
41142 maybe-install-html-target-libada:
41143 @if target-libada
41144 maybe-install-html-target-libada: install-html-target-libada
41146 install-html-target-libada: \
41147 configure-target-libada \
41148 html-target-libada
41149 @: $(MAKE); $(unstage)
41150 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41151 r=`${PWD_COMMAND}`; export r; \
41152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41153 $(NORMAL_TARGET_EXPORTS) \
41154 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41155 for flag in $(EXTRA_TARGET_FLAGS); do \
41156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41157 done; \
41158 (cd $(TARGET_SUBDIR)/libada && \
41159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41161 "RANLIB=$${RANLIB}" \
41162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41163 install-html) \
41164 || exit 1
41166 @endif target-libada
41168 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41169 maybe-installcheck-target-libada:
41170 @if target-libada
41171 maybe-installcheck-target-libada: installcheck-target-libada
41173 installcheck-target-libada: \
41174 configure-target-libada
41175 @: $(MAKE); $(unstage)
41176 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41177 r=`${PWD_COMMAND}`; export r; \
41178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41179 $(NORMAL_TARGET_EXPORTS) \
41180 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41181 for flag in $(EXTRA_TARGET_FLAGS); do \
41182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41183 done; \
41184 (cd $(TARGET_SUBDIR)/libada && \
41185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41187 "RANLIB=$${RANLIB}" \
41188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41189 installcheck) \
41190 || exit 1
41192 @endif target-libada
41194 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41195 maybe-mostlyclean-target-libada:
41196 @if target-libada
41197 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41199 mostlyclean-target-libada:
41200 @: $(MAKE); $(unstage)
41201 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41202 r=`${PWD_COMMAND}`; export r; \
41203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41204 $(NORMAL_TARGET_EXPORTS) \
41205 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41206 for flag in $(EXTRA_TARGET_FLAGS); do \
41207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41208 done; \
41209 (cd $(TARGET_SUBDIR)/libada && \
41210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41212 "RANLIB=$${RANLIB}" \
41213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41214 mostlyclean) \
41215 || exit 1
41217 @endif target-libada
41219 .PHONY: maybe-clean-target-libada clean-target-libada
41220 maybe-clean-target-libada:
41221 @if target-libada
41222 maybe-clean-target-libada: clean-target-libada
41224 clean-target-libada:
41225 @: $(MAKE); $(unstage)
41226 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41227 r=`${PWD_COMMAND}`; export r; \
41228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41229 $(NORMAL_TARGET_EXPORTS) \
41230 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41231 for flag in $(EXTRA_TARGET_FLAGS); do \
41232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41233 done; \
41234 (cd $(TARGET_SUBDIR)/libada && \
41235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41237 "RANLIB=$${RANLIB}" \
41238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41239 clean) \
41240 || exit 1
41242 @endif target-libada
41244 .PHONY: maybe-distclean-target-libada distclean-target-libada
41245 maybe-distclean-target-libada:
41246 @if target-libada
41247 maybe-distclean-target-libada: distclean-target-libada
41249 distclean-target-libada:
41250 @: $(MAKE); $(unstage)
41251 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41252 r=`${PWD_COMMAND}`; export r; \
41253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41254 $(NORMAL_TARGET_EXPORTS) \
41255 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41256 for flag in $(EXTRA_TARGET_FLAGS); do \
41257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41258 done; \
41259 (cd $(TARGET_SUBDIR)/libada && \
41260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41262 "RANLIB=$${RANLIB}" \
41263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41264 distclean) \
41265 || exit 1
41267 @endif target-libada
41269 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41270 maybe-maintainer-clean-target-libada:
41271 @if target-libada
41272 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41274 maintainer-clean-target-libada:
41275 @: $(MAKE); $(unstage)
41276 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41277 r=`${PWD_COMMAND}`; export r; \
41278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41279 $(NORMAL_TARGET_EXPORTS) \
41280 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41281 for flag in $(EXTRA_TARGET_FLAGS); do \
41282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41283 done; \
41284 (cd $(TARGET_SUBDIR)/libada && \
41285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41287 "RANLIB=$${RANLIB}" \
41288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41289 maintainer-clean) \
41290 || exit 1
41292 @endif target-libada
41298 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41299 maybe-configure-target-libgomp:
41300 @if gcc-bootstrap
41301 configure-target-libgomp: stage_current
41302 @endif gcc-bootstrap
41303 @if target-libgomp
41304 maybe-configure-target-libgomp: configure-target-libgomp
41305 configure-target-libgomp:
41306 @: $(MAKE); $(unstage)
41307 @r=`${PWD_COMMAND}`; export r; \
41308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41309 echo "Checking multilib configuration for libgomp..."; \
41310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41311 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41312 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41313 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41314 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41315 else \
41316 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41317 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41318 fi; \
41319 else \
41320 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41321 fi; \
41322 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41323 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41324 $(NORMAL_TARGET_EXPORTS) \
41325 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41326 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41327 case $(srcdir) in \
41328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41329 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41331 esac; \
41332 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41333 libsrcdir="$$s/libgomp"; \
41334 rm -f no-such-file || : ; \
41335 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41336 $(TARGET_CONFIGARGS) $${srcdiroption} \
41337 || exit 1
41338 @endif target-libgomp
41344 .PHONY: all-target-libgomp maybe-all-target-libgomp
41345 maybe-all-target-libgomp:
41346 @if gcc-bootstrap
41347 all-target-libgomp: stage_current
41348 @endif gcc-bootstrap
41349 @if target-libgomp
41350 TARGET-target-libgomp=all
41351 maybe-all-target-libgomp: all-target-libgomp
41352 all-target-libgomp: configure-target-libgomp
41353 @: $(MAKE); $(unstage)
41354 @r=`${PWD_COMMAND}`; export r; \
41355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41356 $(NORMAL_TARGET_EXPORTS) \
41357 (cd $(TARGET_SUBDIR)/libgomp && \
41358 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
41359 @endif target-libgomp
41365 .PHONY: check-target-libgomp maybe-check-target-libgomp
41366 maybe-check-target-libgomp:
41367 @if target-libgomp
41368 maybe-check-target-libgomp: check-target-libgomp
41370 check-target-libgomp:
41371 @: $(MAKE); $(unstage)
41372 @r=`${PWD_COMMAND}`; export r; \
41373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41374 $(NORMAL_TARGET_EXPORTS) \
41375 (cd $(TARGET_SUBDIR)/libgomp && \
41376 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41378 @endif target-libgomp
41380 .PHONY: install-target-libgomp maybe-install-target-libgomp
41381 maybe-install-target-libgomp:
41382 @if target-libgomp
41383 maybe-install-target-libgomp: install-target-libgomp
41385 install-target-libgomp: installdirs
41386 @: $(MAKE); $(unstage)
41387 @r=`${PWD_COMMAND}`; export r; \
41388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41389 $(NORMAL_TARGET_EXPORTS) \
41390 (cd $(TARGET_SUBDIR)/libgomp && \
41391 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41393 @endif target-libgomp
41395 # Other targets (info, dvi, pdf, etc.)
41397 .PHONY: maybe-info-target-libgomp info-target-libgomp
41398 maybe-info-target-libgomp:
41399 @if target-libgomp
41400 maybe-info-target-libgomp: info-target-libgomp
41402 info-target-libgomp: \
41403 configure-target-libgomp
41404 @: $(MAKE); $(unstage)
41405 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41406 r=`${PWD_COMMAND}`; export r; \
41407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41408 $(NORMAL_TARGET_EXPORTS) \
41409 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41410 for flag in $(EXTRA_TARGET_FLAGS); do \
41411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41412 done; \
41413 (cd $(TARGET_SUBDIR)/libgomp && \
41414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41416 "RANLIB=$${RANLIB}" \
41417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41418 info) \
41419 || exit 1
41421 @endif target-libgomp
41423 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41424 maybe-dvi-target-libgomp:
41425 @if target-libgomp
41426 maybe-dvi-target-libgomp: dvi-target-libgomp
41428 dvi-target-libgomp: \
41429 configure-target-libgomp
41430 @: $(MAKE); $(unstage)
41431 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41432 r=`${PWD_COMMAND}`; export r; \
41433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41434 $(NORMAL_TARGET_EXPORTS) \
41435 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41436 for flag in $(EXTRA_TARGET_FLAGS); do \
41437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41438 done; \
41439 (cd $(TARGET_SUBDIR)/libgomp && \
41440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41442 "RANLIB=$${RANLIB}" \
41443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41444 dvi) \
41445 || exit 1
41447 @endif target-libgomp
41449 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41450 maybe-pdf-target-libgomp:
41451 @if target-libgomp
41452 maybe-pdf-target-libgomp: pdf-target-libgomp
41454 pdf-target-libgomp: \
41455 configure-target-libgomp
41456 @: $(MAKE); $(unstage)
41457 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41458 r=`${PWD_COMMAND}`; export r; \
41459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41460 $(NORMAL_TARGET_EXPORTS) \
41461 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41462 for flag in $(EXTRA_TARGET_FLAGS); do \
41463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41464 done; \
41465 (cd $(TARGET_SUBDIR)/libgomp && \
41466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41468 "RANLIB=$${RANLIB}" \
41469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41470 pdf) \
41471 || exit 1
41473 @endif target-libgomp
41475 .PHONY: maybe-html-target-libgomp html-target-libgomp
41476 maybe-html-target-libgomp:
41477 @if target-libgomp
41478 maybe-html-target-libgomp: html-target-libgomp
41480 html-target-libgomp: \
41481 configure-target-libgomp
41482 @: $(MAKE); $(unstage)
41483 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41484 r=`${PWD_COMMAND}`; export r; \
41485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41486 $(NORMAL_TARGET_EXPORTS) \
41487 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41488 for flag in $(EXTRA_TARGET_FLAGS); do \
41489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41490 done; \
41491 (cd $(TARGET_SUBDIR)/libgomp && \
41492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41494 "RANLIB=$${RANLIB}" \
41495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41496 html) \
41497 || exit 1
41499 @endif target-libgomp
41501 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41502 maybe-TAGS-target-libgomp:
41503 @if target-libgomp
41504 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41506 TAGS-target-libgomp: \
41507 configure-target-libgomp
41508 @: $(MAKE); $(unstage)
41509 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41510 r=`${PWD_COMMAND}`; export r; \
41511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41512 $(NORMAL_TARGET_EXPORTS) \
41513 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41514 for flag in $(EXTRA_TARGET_FLAGS); do \
41515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41516 done; \
41517 (cd $(TARGET_SUBDIR)/libgomp && \
41518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41520 "RANLIB=$${RANLIB}" \
41521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41522 TAGS) \
41523 || exit 1
41525 @endif target-libgomp
41527 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41528 maybe-install-info-target-libgomp:
41529 @if target-libgomp
41530 maybe-install-info-target-libgomp: install-info-target-libgomp
41532 install-info-target-libgomp: \
41533 configure-target-libgomp \
41534 info-target-libgomp
41535 @: $(MAKE); $(unstage)
41536 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41537 r=`${PWD_COMMAND}`; export r; \
41538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41539 $(NORMAL_TARGET_EXPORTS) \
41540 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41541 for flag in $(EXTRA_TARGET_FLAGS); do \
41542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41543 done; \
41544 (cd $(TARGET_SUBDIR)/libgomp && \
41545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41547 "RANLIB=$${RANLIB}" \
41548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41549 install-info) \
41550 || exit 1
41552 @endif target-libgomp
41554 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41555 maybe-install-html-target-libgomp:
41556 @if target-libgomp
41557 maybe-install-html-target-libgomp: install-html-target-libgomp
41559 install-html-target-libgomp: \
41560 configure-target-libgomp \
41561 html-target-libgomp
41562 @: $(MAKE); $(unstage)
41563 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41564 r=`${PWD_COMMAND}`; export r; \
41565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41566 $(NORMAL_TARGET_EXPORTS) \
41567 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41568 for flag in $(EXTRA_TARGET_FLAGS); do \
41569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41570 done; \
41571 (cd $(TARGET_SUBDIR)/libgomp && \
41572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41574 "RANLIB=$${RANLIB}" \
41575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41576 install-html) \
41577 || exit 1
41579 @endif target-libgomp
41581 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41582 maybe-installcheck-target-libgomp:
41583 @if target-libgomp
41584 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41586 installcheck-target-libgomp: \
41587 configure-target-libgomp
41588 @: $(MAKE); $(unstage)
41589 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41590 r=`${PWD_COMMAND}`; export r; \
41591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41592 $(NORMAL_TARGET_EXPORTS) \
41593 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41594 for flag in $(EXTRA_TARGET_FLAGS); do \
41595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41596 done; \
41597 (cd $(TARGET_SUBDIR)/libgomp && \
41598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41600 "RANLIB=$${RANLIB}" \
41601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41602 installcheck) \
41603 || exit 1
41605 @endif target-libgomp
41607 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41608 maybe-mostlyclean-target-libgomp:
41609 @if target-libgomp
41610 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41612 mostlyclean-target-libgomp:
41613 @: $(MAKE); $(unstage)
41614 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41615 r=`${PWD_COMMAND}`; export r; \
41616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41617 $(NORMAL_TARGET_EXPORTS) \
41618 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41619 for flag in $(EXTRA_TARGET_FLAGS); do \
41620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41621 done; \
41622 (cd $(TARGET_SUBDIR)/libgomp && \
41623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41625 "RANLIB=$${RANLIB}" \
41626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41627 mostlyclean) \
41628 || exit 1
41630 @endif target-libgomp
41632 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41633 maybe-clean-target-libgomp:
41634 @if target-libgomp
41635 maybe-clean-target-libgomp: clean-target-libgomp
41637 clean-target-libgomp:
41638 @: $(MAKE); $(unstage)
41639 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41640 r=`${PWD_COMMAND}`; export r; \
41641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41642 $(NORMAL_TARGET_EXPORTS) \
41643 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41644 for flag in $(EXTRA_TARGET_FLAGS); do \
41645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41646 done; \
41647 (cd $(TARGET_SUBDIR)/libgomp && \
41648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41650 "RANLIB=$${RANLIB}" \
41651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41652 clean) \
41653 || exit 1
41655 @endif target-libgomp
41657 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41658 maybe-distclean-target-libgomp:
41659 @if target-libgomp
41660 maybe-distclean-target-libgomp: distclean-target-libgomp
41662 distclean-target-libgomp:
41663 @: $(MAKE); $(unstage)
41664 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41665 r=`${PWD_COMMAND}`; export r; \
41666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41667 $(NORMAL_TARGET_EXPORTS) \
41668 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41669 for flag in $(EXTRA_TARGET_FLAGS); do \
41670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41671 done; \
41672 (cd $(TARGET_SUBDIR)/libgomp && \
41673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41675 "RANLIB=$${RANLIB}" \
41676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41677 distclean) \
41678 || exit 1
41680 @endif target-libgomp
41682 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41683 maybe-maintainer-clean-target-libgomp:
41684 @if target-libgomp
41685 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41687 maintainer-clean-target-libgomp:
41688 @: $(MAKE); $(unstage)
41689 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41690 r=`${PWD_COMMAND}`; export r; \
41691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41692 $(NORMAL_TARGET_EXPORTS) \
41693 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41694 for flag in $(EXTRA_TARGET_FLAGS); do \
41695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41696 done; \
41697 (cd $(TARGET_SUBDIR)/libgomp && \
41698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41700 "RANLIB=$${RANLIB}" \
41701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41702 maintainer-clean) \
41703 || exit 1
41705 @endif target-libgomp
41709 # ----------
41710 # GCC module
41711 # ----------
41713 @if gcc-no-bootstrap
41714 # GCC has some more recursive targets, which trigger the old
41715 # (but still current, until the toplevel bootstrap project
41716 # is finished) compiler bootstrapping rules.
41718 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
41719 .PHONY: $(GCC_STRAP_TARGETS)
41720 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
41721 @r=`${PWD_COMMAND}`; export r; \
41722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41723 $(HOST_EXPORTS) \
41724 echo "Bootstrapping the compiler"; \
41725 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41726 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
41727 @r=`${PWD_COMMAND}`; export r; \
41728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41729 case "$@" in \
41730 *bootstrap4-lean ) \
41731 msg="Comparing stage3 and stage4 of the compiler"; \
41732 compare=compare3-lean ;; \
41733 *bootstrap4 ) \
41734 msg="Comparing stage3 and stage4 of the compiler"; \
41735 compare=compare3 ;; \
41736 *-lean ) \
41737 msg="Comparing stage2 and stage3 of the compiler"; \
41738 compare=compare-lean ;; \
41739 * ) \
41740 msg="Comparing stage2 and stage3 of the compiler"; \
41741 compare=compare ;; \
41742 esac; \
41743 $(HOST_EXPORTS) \
41744 echo "$$msg"; \
41745 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
41746 @r=`${PWD_COMMAND}`; export r; \
41747 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41748 echo "Building runtime libraries"; \
41749 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41751 profiledbootstrap: all-prebootstrap configure-gcc
41752 @r=`${PWD_COMMAND}`; export r; \
41753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41754 $(HOST_EXPORTS) \
41755 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41756 echo "Bootstrapping training compiler"; \
41757 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
41758 @r=`${PWD_COMMAND}`; export r; \
41759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41760 $(HOST_EXPORTS) \
41761 echo "Building feedback based compiler"; \
41762 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
41763 @r=`${PWD_COMMAND}`; export r; \
41764 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41765 echo "Building runtime libraries"; \
41766 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41768 .PHONY: cross
41769 cross: all-build all-gas all-ld
41770 @r=`${PWD_COMMAND}`; export r; \
41771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41772 $(HOST_EXPORTS) \
41773 echo "Building the C and C++ compiler"; \
41774 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41775 @r=`${PWD_COMMAND}`; export r; \
41776 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41777 echo "Building runtime libraries"; \
41778 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41779 @endif gcc-no-bootstrap
41781 @if gcc
41782 .PHONY: check-gcc-c++
41783 check-gcc-c++:
41784 @if [ -f ./gcc/Makefile ] ; then \
41785 r=`${PWD_COMMAND}`; export r; \
41786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41787 $(HOST_EXPORTS) \
41788 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
41789 else \
41790 true; \
41793 .PHONY: check-c++
41794 check-c++: check-target-libstdc++-v3 check-gcc-c++
41796 # Install the gcc headers files, but not the fixed include files,
41797 # which Cygnus is not allowed to distribute. This rule is very
41798 # dependent on the workings of the gcc Makefile.in.
41799 .PHONY: gcc-no-fixedincludes
41800 gcc-no-fixedincludes:
41801 @if [ -f ./gcc/Makefile ]; then \
41802 rm -rf gcc/tmp-include; \
41803 mv gcc/include gcc/tmp-include 2>/dev/null; \
41804 mkdir gcc/include; \
41805 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
41806 touch gcc/stmp-fixinc gcc/include/fixed; \
41807 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
41808 r=`${PWD_COMMAND}`; export r; \
41809 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41810 $(HOST_EXPORTS) \
41811 (cd ./gcc && \
41812 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
41813 rm -rf gcc/include; \
41814 mv gcc/tmp-include gcc/include 2>/dev/null; \
41815 else true; fi
41816 @endif gcc
41818 # ---------------------
41819 # GCC bootstrap support
41820 # ---------------------
41822 # We track the current stage (the one in 'gcc') in the stage_current file.
41823 # stage_last instead tracks the stage that was built last. These targets
41824 # are dummy when toplevel bootstrap is not active.
41826 # While making host and target tools, symlinks to the final stage must be
41827 # there, so $(unstage) should be run at various points. To avoid excessive
41828 # recursive invocations of make, we "inline" them using a variable. These
41829 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41830 # to avoid warnings from the GNU Make job server.
41832 unstage = :
41833 stage = :
41834 current_stage = ""
41836 @if gcc-bootstrap
41837 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41838 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41839 current_stage = "`cat stage_current 2> /dev/null`"
41840 @endif gcc-bootstrap
41842 .PHONY: unstage stage
41843 unstage:
41844 @: $(MAKE); $(unstage)
41845 stage:
41846 @: $(MAKE); $(stage)
41848 # Disable commands for lean bootstrap.
41849 LEAN = false
41851 # We name the build directories for the various stages "stage1-gcc",
41852 # "stage2-gcc","stage3-gcc", etc.
41854 # Since the 'compare' process will fail (on debugging information) if any
41855 # directory names are different, we need to link the gcc directory for
41856 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41857 # the build directories constant as well. For the latter, we use naked names
41858 # like 'gcc', because the scripts in that directory assume it. We use
41859 # mv on platforms where symlinks to directories do not work or are not
41860 # reliable.
41862 # 'touch' doesn't work right on some platforms.
41863 STAMP = echo timestamp >
41865 # We only want to compare .o files, so set this!
41866 objext = .o
41869 .PHONY: stage1-start stage1-end
41871 stage1-start::
41872 @: $(MAKE); $(stage); \
41873 echo stage1 > stage_current ; \
41874 echo stage1 > stage_last; \
41875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41876 @if bfd
41877 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41878 mkdir stage1-bfd; \
41879 mv stage1-bfd bfd
41880 @endif bfd
41881 @if opcodes
41882 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41883 mkdir stage1-opcodes; \
41884 mv stage1-opcodes opcodes
41885 @endif opcodes
41886 @if binutils
41887 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41888 mkdir stage1-binutils; \
41889 mv stage1-binutils binutils
41890 @endif binutils
41891 @if gas
41892 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41893 mkdir stage1-gas; \
41894 mv stage1-gas gas
41895 @endif gas
41896 @if gcc
41897 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41898 mkdir stage1-gcc; \
41899 mv stage1-gcc gcc
41900 @endif gcc
41901 @if intl
41902 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41903 mkdir stage1-intl; \
41904 mv stage1-intl intl
41905 @endif intl
41906 @if ld
41907 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41908 mkdir stage1-ld; \
41909 mv stage1-ld ld
41910 @endif ld
41911 @if libcpp
41912 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41913 mkdir stage1-libcpp; \
41914 mv stage1-libcpp libcpp
41915 @endif libcpp
41916 @if libdecnumber
41917 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41918 mkdir stage1-libdecnumber; \
41919 mv stage1-libdecnumber libdecnumber
41920 @endif libdecnumber
41921 @if libiberty
41922 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41923 mkdir stage1-libiberty; \
41924 mv stage1-libiberty libiberty
41925 @endif libiberty
41926 @if zlib
41927 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41928 mkdir stage1-zlib; \
41929 mv stage1-zlib zlib
41930 @endif zlib
41931 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41932 mkdir stage1-$(TARGET_SUBDIR); \
41933 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41935 stage1-end::
41936 @if bfd
41937 @if test -d $(HOST_SUBDIR)/bfd ; then \
41938 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41940 @endif bfd
41941 @if opcodes
41942 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41943 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41945 @endif opcodes
41946 @if binutils
41947 @if test -d $(HOST_SUBDIR)/binutils ; then \
41948 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41950 @endif binutils
41951 @if gas
41952 @if test -d $(HOST_SUBDIR)/gas ; then \
41953 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41955 @endif gas
41956 @if gcc
41957 @if test -d $(HOST_SUBDIR)/gcc ; then \
41958 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41960 @endif gcc
41961 @if intl
41962 @if test -d $(HOST_SUBDIR)/intl ; then \
41963 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41965 @endif intl
41966 @if ld
41967 @if test -d $(HOST_SUBDIR)/ld ; then \
41968 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41970 @endif ld
41971 @if libcpp
41972 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41973 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41975 @endif libcpp
41976 @if libdecnumber
41977 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41978 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41980 @endif libdecnumber
41981 @if libiberty
41982 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41983 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41985 @endif libiberty
41986 @if zlib
41987 @if test -d $(HOST_SUBDIR)/zlib ; then \
41988 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41990 @endif zlib
41991 @if test -d $(TARGET_SUBDIR) ; then \
41992 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41994 rm -f stage_current
41996 # Bubble a bugfix through all the stages up to stage 1. They are
41997 # remade, but not reconfigured. The next stage (if any) will not be
41998 # reconfigured as well.
41999 .PHONY: stage1-bubble
42000 stage1-bubble::
42001 @r=`${PWD_COMMAND}`; export r; \
42002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42003 if test -f stage1-lean ; then \
42004 echo Skipping rebuild of stage1 ; \
42005 else \
42006 $(MAKE) stage1-start; \
42007 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
42010 .PHONY: all-stage1 clean-stage1
42011 do-clean: clean-stage1
42013 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42014 # only possibility, but now it conflicts with no-bootstrap rules
42015 @if gcc-bootstrap
42020 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42022 .PHONY: distclean-stage1
42023 distclean-stage1::
42024 @: $(MAKE); $(stage)
42025 rm -rf stage1-*
42028 @endif gcc-bootstrap
42031 .PHONY: stage2-start stage2-end
42033 stage2-start::
42034 @: $(MAKE); $(stage); \
42035 echo stage2 > stage_current ; \
42036 echo stage2 > stage_last; \
42037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42038 @if bfd
42039 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
42040 mkdir stage2-bfd; \
42041 mv stage2-bfd bfd ; \
42042 mv stage1-bfd prev-bfd || test -f stage1-lean
42043 @endif bfd
42044 @if opcodes
42045 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
42046 mkdir stage2-opcodes; \
42047 mv stage2-opcodes opcodes ; \
42048 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42049 @endif opcodes
42050 @if binutils
42051 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
42052 mkdir stage2-binutils; \
42053 mv stage2-binutils binutils ; \
42054 mv stage1-binutils prev-binutils || test -f stage1-lean
42055 @endif binutils
42056 @if gas
42057 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
42058 mkdir stage2-gas; \
42059 mv stage2-gas gas ; \
42060 mv stage1-gas prev-gas || test -f stage1-lean
42061 @endif gas
42062 @if gcc
42063 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
42064 mkdir stage2-gcc; \
42065 mv stage2-gcc gcc ; \
42066 mv stage1-gcc prev-gcc || test -f stage1-lean
42067 @endif gcc
42068 @if intl
42069 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42070 mkdir stage2-intl; \
42071 mv stage2-intl intl ; \
42072 mv stage1-intl prev-intl || test -f stage1-lean
42073 @endif intl
42074 @if ld
42075 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42076 mkdir stage2-ld; \
42077 mv stage2-ld ld ; \
42078 mv stage1-ld prev-ld || test -f stage1-lean
42079 @endif ld
42080 @if libcpp
42081 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42082 mkdir stage2-libcpp; \
42083 mv stage2-libcpp libcpp ; \
42084 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42085 @endif libcpp
42086 @if libdecnumber
42087 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42088 mkdir stage2-libdecnumber; \
42089 mv stage2-libdecnumber libdecnumber ; \
42090 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42091 @endif libdecnumber
42092 @if libiberty
42093 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42094 mkdir stage2-libiberty; \
42095 mv stage2-libiberty libiberty ; \
42096 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42097 @endif libiberty
42098 @if zlib
42099 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42100 mkdir stage2-zlib; \
42101 mv stage2-zlib zlib ; \
42102 mv stage1-zlib prev-zlib || test -f stage1-lean
42103 @endif zlib
42104 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42105 mkdir stage2-$(TARGET_SUBDIR); \
42106 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42107 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42109 stage2-end::
42110 @if bfd
42111 @if test -d $(HOST_SUBDIR)/bfd ; then \
42112 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42113 mv prev-bfd stage1-bfd ; : ; \
42115 @endif bfd
42116 @if opcodes
42117 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42118 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42119 mv prev-opcodes stage1-opcodes ; : ; \
42121 @endif opcodes
42122 @if binutils
42123 @if test -d $(HOST_SUBDIR)/binutils ; then \
42124 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42125 mv prev-binutils stage1-binutils ; : ; \
42127 @endif binutils
42128 @if gas
42129 @if test -d $(HOST_SUBDIR)/gas ; then \
42130 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42131 mv prev-gas stage1-gas ; : ; \
42133 @endif gas
42134 @if gcc
42135 @if test -d $(HOST_SUBDIR)/gcc ; then \
42136 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42137 mv prev-gcc stage1-gcc ; : ; \
42139 @endif gcc
42140 @if intl
42141 @if test -d $(HOST_SUBDIR)/intl ; then \
42142 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42143 mv prev-intl stage1-intl ; : ; \
42145 @endif intl
42146 @if ld
42147 @if test -d $(HOST_SUBDIR)/ld ; then \
42148 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42149 mv prev-ld stage1-ld ; : ; \
42151 @endif ld
42152 @if libcpp
42153 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42154 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42155 mv prev-libcpp stage1-libcpp ; : ; \
42157 @endif libcpp
42158 @if libdecnumber
42159 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42160 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42161 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42163 @endif libdecnumber
42164 @if libiberty
42165 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42166 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42167 mv prev-libiberty stage1-libiberty ; : ; \
42169 @endif libiberty
42170 @if zlib
42171 @if test -d $(HOST_SUBDIR)/zlib ; then \
42172 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42173 mv prev-zlib stage1-zlib ; : ; \
42175 @endif zlib
42176 @if test -d $(TARGET_SUBDIR) ; then \
42177 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42178 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42180 rm -f stage_current
42182 # Bubble a bugfix through all the stages up to stage 2. They are
42183 # remade, but not reconfigured. The next stage (if any) will not be
42184 # reconfigured as well.
42185 .PHONY: stage2-bubble
42186 stage2-bubble:: stage1-bubble
42187 @r=`${PWD_COMMAND}`; export r; \
42188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42189 if test -f stage2-lean || test -f stage1-lean ; then \
42190 echo Skipping rebuild of stage2 ; \
42191 else \
42192 $(MAKE) stage2-start; \
42193 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42196 .PHONY: all-stage2 clean-stage2
42197 do-clean: clean-stage2
42199 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42200 # only possibility, but now it conflicts with no-bootstrap rules
42201 @if gcc-bootstrap
42205 .PHONY: bootstrap2 bootstrap2-lean
42206 bootstrap2:
42207 echo stage2 > stage_final
42208 @r=`${PWD_COMMAND}`; export r; \
42209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42210 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42211 @: $(MAKE); $(unstage)
42212 @r=`${PWD_COMMAND}`; export r; \
42213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42214 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42216 bootstrap2-lean:
42217 echo stage2 > stage_final
42218 @r=`${PWD_COMMAND}`; export r; \
42219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42220 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42221 @: $(MAKE); $(unstage)
42222 @r=`${PWD_COMMAND}`; export r; \
42223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42224 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42227 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42228 distclean-stage1:: distclean-stage2
42229 .PHONY: distclean-stage2
42230 distclean-stage2::
42231 @: $(MAKE); $(stage)
42232 rm -rf stage2-*
42235 @endif gcc-bootstrap
42238 .PHONY: stage3-start stage3-end
42240 stage3-start::
42241 @: $(MAKE); $(stage); \
42242 echo stage3 > stage_current ; \
42243 echo stage3 > stage_last; \
42244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42245 @if bfd
42246 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
42247 mkdir stage3-bfd; \
42248 mv stage3-bfd bfd ; \
42249 mv stage2-bfd prev-bfd || test -f stage2-lean
42250 @endif bfd
42251 @if opcodes
42252 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
42253 mkdir stage3-opcodes; \
42254 mv stage3-opcodes opcodes ; \
42255 mv stage2-opcodes prev-opcodes || test -f stage2-lean
42256 @endif opcodes
42257 @if binutils
42258 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
42259 mkdir stage3-binutils; \
42260 mv stage3-binutils binutils ; \
42261 mv stage2-binutils prev-binutils || test -f stage2-lean
42262 @endif binutils
42263 @if gas
42264 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
42265 mkdir stage3-gas; \
42266 mv stage3-gas gas ; \
42267 mv stage2-gas prev-gas || test -f stage2-lean
42268 @endif gas
42269 @if gcc
42270 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
42271 mkdir stage3-gcc; \
42272 mv stage3-gcc gcc ; \
42273 mv stage2-gcc prev-gcc || test -f stage2-lean
42274 @endif gcc
42275 @if intl
42276 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
42277 mkdir stage3-intl; \
42278 mv stage3-intl intl ; \
42279 mv stage2-intl prev-intl || test -f stage2-lean
42280 @endif intl
42281 @if ld
42282 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
42283 mkdir stage3-ld; \
42284 mv stage3-ld ld ; \
42285 mv stage2-ld prev-ld || test -f stage2-lean
42286 @endif ld
42287 @if libcpp
42288 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
42289 mkdir stage3-libcpp; \
42290 mv stage3-libcpp libcpp ; \
42291 mv stage2-libcpp prev-libcpp || test -f stage2-lean
42292 @endif libcpp
42293 @if libdecnumber
42294 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
42295 mkdir stage3-libdecnumber; \
42296 mv stage3-libdecnumber libdecnumber ; \
42297 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
42298 @endif libdecnumber
42299 @if libiberty
42300 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
42301 mkdir stage3-libiberty; \
42302 mv stage3-libiberty libiberty ; \
42303 mv stage2-libiberty prev-libiberty || test -f stage2-lean
42304 @endif libiberty
42305 @if zlib
42306 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
42307 mkdir stage3-zlib; \
42308 mv stage3-zlib zlib ; \
42309 mv stage2-zlib prev-zlib || test -f stage2-lean
42310 @endif zlib
42311 @[ -d stage3-$(TARGET_SUBDIR) ] || \
42312 mkdir stage3-$(TARGET_SUBDIR); \
42313 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42314 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
42316 stage3-end::
42317 @if bfd
42318 @if test -d $(HOST_SUBDIR)/bfd ; then \
42319 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
42320 mv prev-bfd stage2-bfd ; : ; \
42322 @endif bfd
42323 @if opcodes
42324 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42325 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
42326 mv prev-opcodes stage2-opcodes ; : ; \
42328 @endif opcodes
42329 @if binutils
42330 @if test -d $(HOST_SUBDIR)/binutils ; then \
42331 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
42332 mv prev-binutils stage2-binutils ; : ; \
42334 @endif binutils
42335 @if gas
42336 @if test -d $(HOST_SUBDIR)/gas ; then \
42337 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
42338 mv prev-gas stage2-gas ; : ; \
42340 @endif gas
42341 @if gcc
42342 @if test -d $(HOST_SUBDIR)/gcc ; then \
42343 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
42344 mv prev-gcc stage2-gcc ; : ; \
42346 @endif gcc
42347 @if intl
42348 @if test -d $(HOST_SUBDIR)/intl ; then \
42349 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42350 mv prev-intl stage2-intl ; : ; \
42352 @endif intl
42353 @if ld
42354 @if test -d $(HOST_SUBDIR)/ld ; then \
42355 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42356 mv prev-ld stage2-ld ; : ; \
42358 @endif ld
42359 @if libcpp
42360 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42361 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42362 mv prev-libcpp stage2-libcpp ; : ; \
42364 @endif libcpp
42365 @if libdecnumber
42366 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42367 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42368 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42370 @endif libdecnumber
42371 @if libiberty
42372 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42373 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42374 mv prev-libiberty stage2-libiberty ; : ; \
42376 @endif libiberty
42377 @if zlib
42378 @if test -d $(HOST_SUBDIR)/zlib ; then \
42379 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42380 mv prev-zlib stage2-zlib ; : ; \
42382 @endif zlib
42383 @if test -d $(TARGET_SUBDIR) ; then \
42384 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42385 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42387 rm -f stage_current
42389 # Bubble a bugfix through all the stages up to stage 3. They are
42390 # remade, but not reconfigured. The next stage (if any) will not be
42391 # reconfigured as well.
42392 .PHONY: stage3-bubble
42393 stage3-bubble:: stage2-bubble
42394 @r=`${PWD_COMMAND}`; export r; \
42395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42396 if test -f stage3-lean || test -f stage2-lean ; then \
42397 echo Skipping rebuild of stage3 ; \
42398 else \
42399 $(MAKE) stage3-start; \
42400 if $(LEAN); then \
42401 rm -rf stage1-* ; \
42402 $(STAMP) stage1-lean ; \
42403 fi; \
42404 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42406 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42408 .PHONY: all-stage3 clean-stage3
42409 do-clean: clean-stage3
42411 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42412 # only possibility, but now it conflicts with no-bootstrap rules
42413 @if gcc-bootstrap
42415 compare:
42416 @r=`${PWD_COMMAND}`; export r; \
42417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42418 if test -f stage2-lean; then \
42419 echo Cannot compare object files as stage 2 was deleted. ; \
42420 exit 0 ; \
42421 fi; \
42422 : $(MAKE); $(stage); \
42423 rm -f .bad_compare ; \
42424 echo Comparing stages 2 and 3 ; \
42425 cd stage3-gcc; \
42426 files=`find . -name "*$(objext)" -print` ; \
42427 cd .. ; \
42428 for file in $${files} ; do \
42429 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
42430 @do_compare@ > /dev/null 2>&1; \
42431 if test $$? -eq 1; then \
42432 case $$file in \
42433 ./cc*-checksum$(objext) | ./libgcc/* ) \
42434 echo warning: $$file differs ;; \
42435 *) \
42436 echo $$file differs >> .bad_compare ;; \
42437 esac ; \
42438 fi ; \
42439 done ; \
42440 if [ -f .bad_compare ]; then \
42441 echo "Bootstrap comparison failure!"; \
42442 cat .bad_compare; \
42443 exit 1; \
42444 else \
42445 echo Comparison successful.; \
42446 fi ; \
42447 $(STAMP) compare
42448 if $(LEAN); then \
42449 rm -rf stage2-*; \
42450 $(STAMP) stage2-lean; \
42455 .PHONY: bootstrap bootstrap-lean
42456 bootstrap:
42457 echo stage3 > stage_final
42458 @r=`${PWD_COMMAND}`; export r; \
42459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42460 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42461 @: $(MAKE); $(unstage)
42462 @r=`${PWD_COMMAND}`; export r; \
42463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42464 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42466 bootstrap-lean:
42467 echo stage3 > stage_final
42468 @r=`${PWD_COMMAND}`; export r; \
42469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42470 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42471 @: $(MAKE); $(unstage)
42472 @r=`${PWD_COMMAND}`; export r; \
42473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42474 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42477 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42478 distclean-stage2:: distclean-stage3
42479 .PHONY: distclean-stage3
42480 distclean-stage3::
42481 @: $(MAKE); $(stage)
42482 rm -rf stage3-* compare
42485 .PHONY: cleanstrap
42486 cleanstrap: distclean bootstrap
42488 @endif gcc-bootstrap
42491 .PHONY: stage4-start stage4-end
42493 stage4-start::
42494 @: $(MAKE); $(stage); \
42495 echo stage4 > stage_current ; \
42496 echo stage4 > stage_last; \
42497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42498 @if bfd
42499 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42500 mkdir stage4-bfd; \
42501 mv stage4-bfd bfd ; \
42502 mv stage3-bfd prev-bfd || test -f stage3-lean
42503 @endif bfd
42504 @if opcodes
42505 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42506 mkdir stage4-opcodes; \
42507 mv stage4-opcodes opcodes ; \
42508 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42509 @endif opcodes
42510 @if binutils
42511 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42512 mkdir stage4-binutils; \
42513 mv stage4-binutils binutils ; \
42514 mv stage3-binutils prev-binutils || test -f stage3-lean
42515 @endif binutils
42516 @if gas
42517 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42518 mkdir stage4-gas; \
42519 mv stage4-gas gas ; \
42520 mv stage3-gas prev-gas || test -f stage3-lean
42521 @endif gas
42522 @if gcc
42523 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42524 mkdir stage4-gcc; \
42525 mv stage4-gcc gcc ; \
42526 mv stage3-gcc prev-gcc || test -f stage3-lean
42527 @endif gcc
42528 @if intl
42529 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42530 mkdir stage4-intl; \
42531 mv stage4-intl intl ; \
42532 mv stage3-intl prev-intl || test -f stage3-lean
42533 @endif intl
42534 @if ld
42535 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42536 mkdir stage4-ld; \
42537 mv stage4-ld ld ; \
42538 mv stage3-ld prev-ld || test -f stage3-lean
42539 @endif ld
42540 @if libcpp
42541 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42542 mkdir stage4-libcpp; \
42543 mv stage4-libcpp libcpp ; \
42544 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42545 @endif libcpp
42546 @if libdecnumber
42547 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42548 mkdir stage4-libdecnumber; \
42549 mv stage4-libdecnumber libdecnumber ; \
42550 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42551 @endif libdecnumber
42552 @if libiberty
42553 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42554 mkdir stage4-libiberty; \
42555 mv stage4-libiberty libiberty ; \
42556 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42557 @endif libiberty
42558 @if zlib
42559 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42560 mkdir stage4-zlib; \
42561 mv stage4-zlib zlib ; \
42562 mv stage3-zlib prev-zlib || test -f stage3-lean
42563 @endif zlib
42564 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42565 mkdir stage4-$(TARGET_SUBDIR); \
42566 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42567 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42569 stage4-end::
42570 @if bfd
42571 @if test -d $(HOST_SUBDIR)/bfd ; then \
42572 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42573 mv prev-bfd stage3-bfd ; : ; \
42575 @endif bfd
42576 @if opcodes
42577 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42578 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42579 mv prev-opcodes stage3-opcodes ; : ; \
42581 @endif opcodes
42582 @if binutils
42583 @if test -d $(HOST_SUBDIR)/binutils ; then \
42584 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42585 mv prev-binutils stage3-binutils ; : ; \
42587 @endif binutils
42588 @if gas
42589 @if test -d $(HOST_SUBDIR)/gas ; then \
42590 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42591 mv prev-gas stage3-gas ; : ; \
42593 @endif gas
42594 @if gcc
42595 @if test -d $(HOST_SUBDIR)/gcc ; then \
42596 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42597 mv prev-gcc stage3-gcc ; : ; \
42599 @endif gcc
42600 @if intl
42601 @if test -d $(HOST_SUBDIR)/intl ; then \
42602 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42603 mv prev-intl stage3-intl ; : ; \
42605 @endif intl
42606 @if ld
42607 @if test -d $(HOST_SUBDIR)/ld ; then \
42608 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42609 mv prev-ld stage3-ld ; : ; \
42611 @endif ld
42612 @if libcpp
42613 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42614 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42615 mv prev-libcpp stage3-libcpp ; : ; \
42617 @endif libcpp
42618 @if libdecnumber
42619 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42620 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42621 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42623 @endif libdecnumber
42624 @if libiberty
42625 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42626 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42627 mv prev-libiberty stage3-libiberty ; : ; \
42629 @endif libiberty
42630 @if zlib
42631 @if test -d $(HOST_SUBDIR)/zlib ; then \
42632 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42633 mv prev-zlib stage3-zlib ; : ; \
42635 @endif zlib
42636 @if test -d $(TARGET_SUBDIR) ; then \
42637 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42638 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42640 rm -f stage_current
42642 # Bubble a bugfix through all the stages up to stage 4. They are
42643 # remade, but not reconfigured. The next stage (if any) will not be
42644 # reconfigured as well.
42645 .PHONY: stage4-bubble
42646 stage4-bubble:: stage3-bubble
42647 @r=`${PWD_COMMAND}`; export r; \
42648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42649 if test -f stage4-lean || test -f stage3-lean ; then \
42650 echo Skipping rebuild of stage4 ; \
42651 else \
42652 $(MAKE) stage4-start; \
42653 if $(LEAN); then \
42654 rm -rf stage2-* ; \
42655 $(STAMP) stage2-lean ; \
42656 fi; \
42657 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42659 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42661 .PHONY: all-stage4 clean-stage4
42662 do-clean: clean-stage4
42664 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42665 # only possibility, but now it conflicts with no-bootstrap rules
42666 @if gcc-bootstrap
42668 compare3:
42669 @r=`${PWD_COMMAND}`; export r; \
42670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42671 if test -f stage3-lean; then \
42672 echo Cannot compare object files as stage 3 was deleted. ; \
42673 exit 0 ; \
42674 fi; \
42675 : $(MAKE); $(stage); \
42676 rm -f .bad_compare ; \
42677 echo Comparing stages 3 and 4 ; \
42678 cd stage4-gcc; \
42679 files=`find . -name "*$(objext)" -print` ; \
42680 cd .. ; \
42681 for file in $${files} ; do \
42682 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
42683 @do_compare@ > /dev/null 2>&1; \
42684 if test $$? -eq 1; then \
42685 case $$file in \
42686 ./cc*-checksum$(objext) | ./libgcc/* ) \
42687 echo warning: $$file differs ;; \
42688 *) \
42689 echo $$file differs >> .bad_compare ;; \
42690 esac ; \
42691 fi ; \
42692 done ; \
42693 if [ -f .bad_compare ]; then \
42694 echo "Bootstrap comparison failure!"; \
42695 cat .bad_compare; \
42696 exit 1; \
42697 else \
42698 echo Comparison successful.; \
42699 fi ; \
42700 $(STAMP) compare3
42701 if $(LEAN); then \
42702 rm -rf stage3-*; \
42703 $(STAMP) stage3-lean; \
42708 .PHONY: bootstrap4 bootstrap4-lean
42709 bootstrap4:
42710 echo stage4 > stage_final
42711 @r=`${PWD_COMMAND}`; export r; \
42712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42713 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42714 @: $(MAKE); $(unstage)
42715 @r=`${PWD_COMMAND}`; export r; \
42716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42717 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42719 bootstrap4-lean:
42720 echo stage4 > stage_final
42721 @r=`${PWD_COMMAND}`; export r; \
42722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42723 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42724 @: $(MAKE); $(unstage)
42725 @r=`${PWD_COMMAND}`; export r; \
42726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42727 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42730 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42731 distclean-stage3:: distclean-stage4
42732 .PHONY: distclean-stage4
42733 distclean-stage4::
42734 @: $(MAKE); $(stage)
42735 rm -rf stage4-* compare3
42738 @endif gcc-bootstrap
42741 .PHONY: stageprofile-start stageprofile-end
42743 stageprofile-start::
42744 @: $(MAKE); $(stage); \
42745 echo stageprofile > stage_current ; \
42746 echo stageprofile > stage_last; \
42747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42748 @if bfd
42749 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42750 mkdir stageprofile-bfd; \
42751 mv stageprofile-bfd bfd ; \
42752 mv stage1-bfd prev-bfd || test -f stage1-lean
42753 @endif bfd
42754 @if opcodes
42755 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42756 mkdir stageprofile-opcodes; \
42757 mv stageprofile-opcodes opcodes ; \
42758 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42759 @endif opcodes
42760 @if binutils
42761 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42762 mkdir stageprofile-binutils; \
42763 mv stageprofile-binutils binutils ; \
42764 mv stage1-binutils prev-binutils || test -f stage1-lean
42765 @endif binutils
42766 @if gas
42767 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42768 mkdir stageprofile-gas; \
42769 mv stageprofile-gas gas ; \
42770 mv stage1-gas prev-gas || test -f stage1-lean
42771 @endif gas
42772 @if gcc
42773 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42774 mkdir stageprofile-gcc; \
42775 mv stageprofile-gcc gcc ; \
42776 mv stage1-gcc prev-gcc || test -f stage1-lean
42777 @endif gcc
42778 @if intl
42779 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42780 mkdir stageprofile-intl; \
42781 mv stageprofile-intl intl ; \
42782 mv stage1-intl prev-intl || test -f stage1-lean
42783 @endif intl
42784 @if ld
42785 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42786 mkdir stageprofile-ld; \
42787 mv stageprofile-ld ld ; \
42788 mv stage1-ld prev-ld || test -f stage1-lean
42789 @endif ld
42790 @if libcpp
42791 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42792 mkdir stageprofile-libcpp; \
42793 mv stageprofile-libcpp libcpp ; \
42794 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42795 @endif libcpp
42796 @if libdecnumber
42797 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42798 mkdir stageprofile-libdecnumber; \
42799 mv stageprofile-libdecnumber libdecnumber ; \
42800 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42801 @endif libdecnumber
42802 @if libiberty
42803 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42804 mkdir stageprofile-libiberty; \
42805 mv stageprofile-libiberty libiberty ; \
42806 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42807 @endif libiberty
42808 @if zlib
42809 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42810 mkdir stageprofile-zlib; \
42811 mv stageprofile-zlib zlib ; \
42812 mv stage1-zlib prev-zlib || test -f stage1-lean
42813 @endif zlib
42814 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42815 mkdir stageprofile-$(TARGET_SUBDIR); \
42816 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42817 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42819 stageprofile-end::
42820 @if bfd
42821 @if test -d $(HOST_SUBDIR)/bfd ; then \
42822 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42823 mv prev-bfd stage1-bfd ; : ; \
42825 @endif bfd
42826 @if opcodes
42827 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42828 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42829 mv prev-opcodes stage1-opcodes ; : ; \
42831 @endif opcodes
42832 @if binutils
42833 @if test -d $(HOST_SUBDIR)/binutils ; then \
42834 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42835 mv prev-binutils stage1-binutils ; : ; \
42837 @endif binutils
42838 @if gas
42839 @if test -d $(HOST_SUBDIR)/gas ; then \
42840 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42841 mv prev-gas stage1-gas ; : ; \
42843 @endif gas
42844 @if gcc
42845 @if test -d $(HOST_SUBDIR)/gcc ; then \
42846 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42847 mv prev-gcc stage1-gcc ; : ; \
42849 @endif gcc
42850 @if intl
42851 @if test -d $(HOST_SUBDIR)/intl ; then \
42852 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42853 mv prev-intl stage1-intl ; : ; \
42855 @endif intl
42856 @if ld
42857 @if test -d $(HOST_SUBDIR)/ld ; then \
42858 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42859 mv prev-ld stage1-ld ; : ; \
42861 @endif ld
42862 @if libcpp
42863 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42864 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42865 mv prev-libcpp stage1-libcpp ; : ; \
42867 @endif libcpp
42868 @if libdecnumber
42869 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42870 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42871 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42873 @endif libdecnumber
42874 @if libiberty
42875 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42876 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42877 mv prev-libiberty stage1-libiberty ; : ; \
42879 @endif libiberty
42880 @if zlib
42881 @if test -d $(HOST_SUBDIR)/zlib ; then \
42882 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42883 mv prev-zlib stage1-zlib ; : ; \
42885 @endif zlib
42886 @if test -d $(TARGET_SUBDIR) ; then \
42887 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42888 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42890 rm -f stage_current
42892 # Bubble a bugfix through all the stages up to stage profile. They are
42893 # remade, but not reconfigured. The next stage (if any) will not be
42894 # reconfigured as well.
42895 .PHONY: stageprofile-bubble
42896 stageprofile-bubble:: stage1-bubble
42897 @r=`${PWD_COMMAND}`; export r; \
42898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42899 if test -f stageprofile-lean || test -f stage1-lean ; then \
42900 echo Skipping rebuild of stageprofile ; \
42901 else \
42902 $(MAKE) stageprofile-start; \
42903 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42906 .PHONY: all-stageprofile clean-stageprofile
42907 do-clean: clean-stageprofile
42909 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42910 # only possibility, but now it conflicts with no-bootstrap rules
42911 @if gcc-bootstrap
42916 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42917 distclean-stage1:: distclean-stageprofile
42918 .PHONY: distclean-stageprofile
42919 distclean-stageprofile::
42920 @: $(MAKE); $(stage)
42921 rm -rf stageprofile-*
42924 @endif gcc-bootstrap
42927 .PHONY: stagefeedback-start stagefeedback-end
42929 stagefeedback-start::
42930 @: $(MAKE); $(stage); \
42931 echo stagefeedback > stage_current ; \
42932 echo stagefeedback > stage_last; \
42933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42934 @if bfd
42935 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42936 mkdir stagefeedback-bfd; \
42937 mv stagefeedback-bfd bfd ; \
42938 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42939 @endif bfd
42940 @if opcodes
42941 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42942 mkdir stagefeedback-opcodes; \
42943 mv stagefeedback-opcodes opcodes ; \
42944 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42945 @endif opcodes
42946 @if binutils
42947 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42948 mkdir stagefeedback-binutils; \
42949 mv stagefeedback-binutils binutils ; \
42950 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42951 @endif binutils
42952 @if gas
42953 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42954 mkdir stagefeedback-gas; \
42955 mv stagefeedback-gas gas ; \
42956 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42957 @endif gas
42958 @if gcc
42959 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42960 mkdir stagefeedback-gcc; \
42961 mv stagefeedback-gcc gcc ; \
42962 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42963 @endif gcc
42964 @if intl
42965 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42966 mkdir stagefeedback-intl; \
42967 mv stagefeedback-intl intl ; \
42968 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42969 @endif intl
42970 @if ld
42971 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42972 mkdir stagefeedback-ld; \
42973 mv stagefeedback-ld ld ; \
42974 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42975 @endif ld
42976 @if libcpp
42977 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42978 mkdir stagefeedback-libcpp; \
42979 mv stagefeedback-libcpp libcpp ; \
42980 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42981 @endif libcpp
42982 @if libdecnumber
42983 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42984 mkdir stagefeedback-libdecnumber; \
42985 mv stagefeedback-libdecnumber libdecnumber ; \
42986 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42987 @endif libdecnumber
42988 @if libiberty
42989 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42990 mkdir stagefeedback-libiberty; \
42991 mv stagefeedback-libiberty libiberty ; \
42992 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42993 @endif libiberty
42994 @if zlib
42995 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42996 mkdir stagefeedback-zlib; \
42997 mv stagefeedback-zlib zlib ; \
42998 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42999 @endif zlib
43000 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
43001 mkdir stagefeedback-$(TARGET_SUBDIR); \
43002 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43003 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
43005 stagefeedback-end::
43006 @if bfd
43007 @if test -d $(HOST_SUBDIR)/bfd ; then \
43008 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
43009 mv prev-bfd stageprofile-bfd ; : ; \
43011 @endif bfd
43012 @if opcodes
43013 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43014 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
43015 mv prev-opcodes stageprofile-opcodes ; : ; \
43017 @endif opcodes
43018 @if binutils
43019 @if test -d $(HOST_SUBDIR)/binutils ; then \
43020 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
43021 mv prev-binutils stageprofile-binutils ; : ; \
43023 @endif binutils
43024 @if gas
43025 @if test -d $(HOST_SUBDIR)/gas ; then \
43026 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
43027 mv prev-gas stageprofile-gas ; : ; \
43029 @endif gas
43030 @if gcc
43031 @if test -d $(HOST_SUBDIR)/gcc ; then \
43032 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
43033 mv prev-gcc stageprofile-gcc ; : ; \
43035 @endif gcc
43036 @if intl
43037 @if test -d $(HOST_SUBDIR)/intl ; then \
43038 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43039 mv prev-intl stageprofile-intl ; : ; \
43041 @endif intl
43042 @if ld
43043 @if test -d $(HOST_SUBDIR)/ld ; then \
43044 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43045 mv prev-ld stageprofile-ld ; : ; \
43047 @endif ld
43048 @if libcpp
43049 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43050 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43051 mv prev-libcpp stageprofile-libcpp ; : ; \
43053 @endif libcpp
43054 @if libdecnumber
43055 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43056 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43057 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43059 @endif libdecnumber
43060 @if libiberty
43061 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43062 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43063 mv prev-libiberty stageprofile-libiberty ; : ; \
43065 @endif libiberty
43066 @if zlib
43067 @if test -d $(HOST_SUBDIR)/zlib ; then \
43068 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43069 mv prev-zlib stageprofile-zlib ; : ; \
43071 @endif zlib
43072 @if test -d $(TARGET_SUBDIR) ; then \
43073 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43074 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43076 rm -f stage_current
43078 # Bubble a bugfix through all the stages up to stage feedback. They are
43079 # remade, but not reconfigured. The next stage (if any) will not be
43080 # reconfigured as well.
43081 .PHONY: stagefeedback-bubble
43082 stagefeedback-bubble:: stageprofile-bubble
43083 @r=`${PWD_COMMAND}`; export r; \
43084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43085 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43086 echo Skipping rebuild of stagefeedback ; \
43087 else \
43088 $(MAKE) stagefeedback-start; \
43089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43092 .PHONY: all-stagefeedback clean-stagefeedback
43093 do-clean: clean-stagefeedback
43095 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43096 # only possibility, but now it conflicts with no-bootstrap rules
43097 @if gcc-bootstrap
43101 .PHONY: profiledbootstrap profiledbootstrap-lean
43102 profiledbootstrap:
43103 echo stagefeedback > stage_final
43104 @r=`${PWD_COMMAND}`; export r; \
43105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43106 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43107 @: $(MAKE); $(unstage)
43108 @r=`${PWD_COMMAND}`; export r; \
43109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43110 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43112 profiledbootstrap-lean:
43113 echo stagefeedback > stage_final
43114 @r=`${PWD_COMMAND}`; export r; \
43115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43116 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43117 @: $(MAKE); $(unstage)
43118 @r=`${PWD_COMMAND}`; export r; \
43119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43120 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43123 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43124 distclean-stageprofile:: distclean-stagefeedback
43125 .PHONY: distclean-stagefeedback
43126 distclean-stagefeedback::
43127 @: $(MAKE); $(stage)
43128 rm -rf stagefeedback-*
43131 @endif gcc-bootstrap
43135 stageprofile-end::
43136 $(MAKE) distclean-stagefeedback
43138 stagefeedback-start::
43139 @r=`${PWD_COMMAND}`; export r; \
43140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43141 for i in prev-*; do \
43142 j=`echo $$i | sed s/^prev-//` ; \
43143 cd $$r/$$i && \
43144 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43145 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43146 done
43148 @if gcc-bootstrap
43149 do-distclean: distclean-stage1
43151 # Provide a GCC build when we're building target libraries. This does
43152 # not work as a dependency, just as the minimum necessary to avoid errors.
43153 stage_last:
43154 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43156 # Same as unstage, but not phony and defaulting to stage1-start. We place
43157 # it in the dependency so that for example `make -j3 all-gcc' works.
43158 stage_current:
43159 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43161 .PHONY: restrap
43162 restrap:
43163 @: $(MAKE); $(stage)
43164 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43165 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
43166 @endif gcc-bootstrap
43168 # --------------------------------------
43169 # Dependencies between different modules
43170 # --------------------------------------
43172 # Generic dependencies for target modules on host stuff, especially gcc
43173 @if gcc-bootstrap
43174 configure-target-libstdc++-v3: stage_last
43175 configure-target-libmudflap: stage_last
43176 configure-target-libssp: stage_last
43177 configure-target-newlib: stage_last
43178 configure-target-libgfortran: stage_last
43179 configure-target-libobjc: stage_last
43180 configure-target-libtermcap: stage_last
43181 configure-target-winsup: stage_last
43182 configure-target-libgloss: stage_last
43183 configure-target-libiberty: stage_last
43184 configure-target-gperf: stage_last
43185 configure-target-examples: stage_last
43186 configure-target-libffi: stage_last
43187 configure-target-libjava: stage_last
43188 configure-target-zlib: stage_last
43189 configure-target-boehm-gc: stage_last
43190 configure-target-qthreads: stage_last
43191 configure-target-rda: stage_last
43192 configure-target-libada: stage_last
43193 configure-target-libgomp: stage_last
43194 @endif gcc-bootstrap
43196 @if gcc-no-bootstrap
43197 configure-target-libstdc++-v3: maybe-all-gcc
43198 configure-target-libmudflap: maybe-all-gcc
43199 configure-target-libssp: maybe-all-gcc
43200 configure-target-newlib: maybe-all-gcc
43201 configure-target-libgfortran: maybe-all-gcc
43202 configure-target-libobjc: maybe-all-gcc
43203 configure-target-libtermcap: maybe-all-gcc
43204 configure-target-winsup: maybe-all-gcc
43205 configure-target-libgloss: maybe-all-gcc
43206 configure-target-libiberty: maybe-all-gcc
43207 configure-target-gperf: maybe-all-gcc
43208 configure-target-examples: maybe-all-gcc
43209 configure-target-libffi: maybe-all-gcc
43210 configure-target-libjava: maybe-all-gcc
43211 configure-target-zlib: maybe-all-gcc
43212 configure-target-boehm-gc: maybe-all-gcc
43213 configure-target-qthreads: maybe-all-gcc
43214 configure-target-rda: maybe-all-gcc
43215 configure-target-libada: maybe-all-gcc
43216 configure-target-libgomp: maybe-all-gcc
43217 @endif gcc-no-bootstrap
43221 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43223 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
43224 configure-target-gperf: maybe-all-target-libstdc++-v3
43226 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43228 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43230 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43232 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43233 configure-target-libjava: maybe-all-target-libstdc++-v3
43235 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43237 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43239 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43241 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43243 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43245 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
43247 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43249 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43251 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43253 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
43256 # There are two types of dependencies here: 'hard' dependencies, where one
43257 # module simply won't build without the other; and 'soft' dependencies, where
43258 # if the depended-on module is missing, the depending module will do without
43259 # or find a substitute somewhere (perhaps installed). Soft dependencies
43260 # are made here to depend on a 'maybe-' target. If you're not sure,
43261 # it's safer to use a soft dependency.
43268 # With all the machinery above in place, it is pretty easy to generate
43269 # dependencies. Host dependencies are a bit more complex because we have
43270 # to check for bootstrap/prebootstrap dependencies. To resolve
43271 # prebootstrap dependencies, prebootstrap modules are gathered in
43272 # a hash table.
43273 all-build-bison: maybe-all-build-texinfo
43274 all-build-byacc: maybe-all-build-texinfo
43275 all-build-flex: maybe-all-build-texinfo
43276 all-build-flex: maybe-all-build-bison
43277 all-build-flex: maybe-all-build-byacc
43278 all-build-flex: maybe-all-build-m4
43279 all-build-libiberty: maybe-all-build-texinfo
43280 all-build-m4: maybe-all-build-texinfo
43281 all-build-fixincludes: maybe-all-build-libiberty
43282 configure-gcc: maybe-configure-intl
43284 configure-stage1-gcc: maybe-configure-stage1-intl
43285 configure-stage2-gcc: maybe-configure-stage2-intl
43286 configure-stage3-gcc: maybe-configure-stage3-intl
43287 configure-stage4-gcc: maybe-configure-stage4-intl
43288 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43289 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43290 configure-gcc: maybe-all-binutils
43292 configure-stage1-gcc: maybe-all-stage1-binutils
43293 configure-stage2-gcc: maybe-all-stage2-binutils
43294 configure-stage3-gcc: maybe-all-stage3-binutils
43295 configure-stage4-gcc: maybe-all-stage4-binutils
43296 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43297 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43298 configure-gcc: maybe-all-gas
43300 configure-stage1-gcc: maybe-all-stage1-gas
43301 configure-stage2-gcc: maybe-all-stage2-gas
43302 configure-stage3-gcc: maybe-all-stage3-gas
43303 configure-stage4-gcc: maybe-all-stage4-gas
43304 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43305 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43306 configure-gcc: maybe-all-ld
43308 configure-stage1-gcc: maybe-all-stage1-ld
43309 configure-stage2-gcc: maybe-all-stage2-ld
43310 configure-stage3-gcc: maybe-all-stage3-ld
43311 configure-stage4-gcc: maybe-all-stage4-ld
43312 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43313 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43314 all-gcc: all-libiberty
43316 all-stage1-gcc: all-stage1-libiberty
43317 all-stage2-gcc: all-stage2-libiberty
43318 all-stage3-gcc: all-stage3-libiberty
43319 all-stage4-gcc: all-stage4-libiberty
43320 all-stageprofile-gcc: all-stageprofile-libiberty
43321 all-stagefeedback-gcc: all-stagefeedback-libiberty
43322 all-gcc: maybe-all-intl
43324 all-stage1-gcc: maybe-all-stage1-intl
43325 all-stage2-gcc: maybe-all-stage2-intl
43326 all-stage3-gcc: maybe-all-stage3-intl
43327 all-stage4-gcc: maybe-all-stage4-intl
43328 all-stageprofile-gcc: maybe-all-stageprofile-intl
43329 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43330 all-gcc: maybe-all-build-texinfo
43332 all-stage1-gcc: maybe-all-build-texinfo
43333 all-stage2-gcc: maybe-all-build-texinfo
43334 all-stage3-gcc: maybe-all-build-texinfo
43335 all-stage4-gcc: maybe-all-build-texinfo
43336 all-stageprofile-gcc: maybe-all-build-texinfo
43337 all-stagefeedback-gcc: maybe-all-build-texinfo
43338 all-prebootstrap: maybe-all-build-texinfo
43339 all-gcc: maybe-all-build-bison
43341 all-stage1-gcc: maybe-all-build-bison
43342 all-stage2-gcc: maybe-all-build-bison
43343 all-stage3-gcc: maybe-all-build-bison
43344 all-stage4-gcc: maybe-all-build-bison
43345 all-stageprofile-gcc: maybe-all-build-bison
43346 all-stagefeedback-gcc: maybe-all-build-bison
43347 all-prebootstrap: maybe-all-build-bison
43348 all-gcc: maybe-all-build-byacc
43350 all-stage1-gcc: maybe-all-build-byacc
43351 all-stage2-gcc: maybe-all-build-byacc
43352 all-stage3-gcc: maybe-all-build-byacc
43353 all-stage4-gcc: maybe-all-build-byacc
43354 all-stageprofile-gcc: maybe-all-build-byacc
43355 all-stagefeedback-gcc: maybe-all-build-byacc
43356 all-prebootstrap: maybe-all-build-byacc
43357 all-gcc: maybe-all-build-flex
43359 all-stage1-gcc: maybe-all-build-flex
43360 all-stage2-gcc: maybe-all-build-flex
43361 all-stage3-gcc: maybe-all-build-flex
43362 all-stage4-gcc: maybe-all-build-flex
43363 all-stageprofile-gcc: maybe-all-build-flex
43364 all-stagefeedback-gcc: maybe-all-build-flex
43365 all-prebootstrap: maybe-all-build-flex
43366 all-gcc: maybe-all-build-libiberty
43368 all-stage1-gcc: maybe-all-build-libiberty
43369 all-stage2-gcc: maybe-all-build-libiberty
43370 all-stage3-gcc: maybe-all-build-libiberty
43371 all-stage4-gcc: maybe-all-build-libiberty
43372 all-stageprofile-gcc: maybe-all-build-libiberty
43373 all-stagefeedback-gcc: maybe-all-build-libiberty
43374 all-prebootstrap: maybe-all-build-libiberty
43375 all-gcc: maybe-all-build-fixincludes
43377 all-stage1-gcc: maybe-all-build-fixincludes
43378 all-stage2-gcc: maybe-all-build-fixincludes
43379 all-stage3-gcc: maybe-all-build-fixincludes
43380 all-stage4-gcc: maybe-all-build-fixincludes
43381 all-stageprofile-gcc: maybe-all-build-fixincludes
43382 all-stagefeedback-gcc: maybe-all-build-fixincludes
43383 all-prebootstrap: maybe-all-build-fixincludes
43384 all-gcc: maybe-all-zlib
43386 all-stage1-gcc: maybe-all-stage1-zlib
43387 all-stage2-gcc: maybe-all-stage2-zlib
43388 all-stage3-gcc: maybe-all-stage3-zlib
43389 all-stage4-gcc: maybe-all-stage4-zlib
43390 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43391 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43392 all-gcc: all-libcpp
43394 all-stage1-gcc: all-stage1-libcpp
43395 all-stage2-gcc: all-stage2-libcpp
43396 all-stage3-gcc: all-stage3-libcpp
43397 all-stage4-gcc: all-stage4-libcpp
43398 all-stageprofile-gcc: all-stageprofile-libcpp
43399 all-stagefeedback-gcc: all-stagefeedback-libcpp
43400 all-gcc: all-libdecnumber
43402 all-stage1-gcc: all-stage1-libdecnumber
43403 all-stage2-gcc: all-stage2-libdecnumber
43404 all-stage3-gcc: all-stage3-libdecnumber
43405 all-stage4-gcc: all-stage4-libdecnumber
43406 all-stageprofile-gcc: all-stageprofile-libdecnumber
43407 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43408 all-gcc: maybe-all-libiberty
43410 all-stage1-gcc: maybe-all-stage1-libiberty
43411 all-stage2-gcc: maybe-all-stage2-libiberty
43412 all-stage3-gcc: maybe-all-stage3-libiberty
43413 all-stage4-gcc: maybe-all-stage4-libiberty
43414 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43415 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43416 all-gcc: maybe-all-fixincludes
43417 install-gcc: maybe-install-fixincludes
43418 configure-libcpp: configure-libiberty
43420 configure-stage1-libcpp: configure-stage1-libiberty
43421 configure-stage2-libcpp: configure-stage2-libiberty
43422 configure-stage3-libcpp: configure-stage3-libiberty
43423 configure-stage4-libcpp: configure-stage4-libiberty
43424 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43425 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43426 configure-libcpp: maybe-configure-intl
43428 configure-stage1-libcpp: maybe-configure-stage1-intl
43429 configure-stage2-libcpp: maybe-configure-stage2-intl
43430 configure-stage3-libcpp: maybe-configure-stage3-intl
43431 configure-stage4-libcpp: maybe-configure-stage4-intl
43432 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43433 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43434 all-libcpp: all-libiberty
43436 all-stage1-libcpp: all-stage1-libiberty
43437 all-stage2-libcpp: all-stage2-libiberty
43438 all-stage3-libcpp: all-stage3-libiberty
43439 all-stage4-libcpp: all-stage4-libiberty
43440 all-stageprofile-libcpp: all-stageprofile-libiberty
43441 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43442 all-libcpp: maybe-all-intl
43444 all-stage1-libcpp: maybe-all-stage1-intl
43445 all-stage2-libcpp: maybe-all-stage2-intl
43446 all-stage3-libcpp: maybe-all-stage3-intl
43447 all-stage4-libcpp: maybe-all-stage4-intl
43448 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43449 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43450 all-fixincludes: maybe-all-libiberty
43451 all-gnattools: maybe-all-target-libada
43452 configure-gdb: maybe-configure-intl
43453 configure-gdb: maybe-configure-sim
43454 all-gdb: maybe-all-intl
43455 all-gdb: maybe-all-libiberty
43456 all-gdb: maybe-all-opcodes
43457 all-gdb: maybe-all-bfd
43458 all-gdb: maybe-all-readline
43459 all-gdb: maybe-all-build-bison
43460 all-gdb: maybe-all-build-byacc
43461 all-gdb: maybe-all-sim
43462 configure-libgui: maybe-configure-tcl
43463 configure-libgui: maybe-configure-tk
43464 all-libgui: maybe-all-tcl
43465 all-libgui: maybe-all-tk
43466 all-libgui: maybe-all-itcl
43467 configure-bfd: configure-libiberty
43469 configure-stage1-bfd: configure-stage1-libiberty
43470 configure-stage2-bfd: configure-stage2-libiberty
43471 configure-stage3-bfd: configure-stage3-libiberty
43472 configure-stage4-bfd: configure-stage4-libiberty
43473 configure-stageprofile-bfd: configure-stageprofile-libiberty
43474 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43475 configure-bfd: maybe-configure-intl
43477 configure-stage1-bfd: maybe-configure-stage1-intl
43478 configure-stage2-bfd: maybe-configure-stage2-intl
43479 configure-stage3-bfd: maybe-configure-stage3-intl
43480 configure-stage4-bfd: maybe-configure-stage4-intl
43481 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43482 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43483 all-bfd: maybe-all-libiberty
43485 all-stage1-bfd: maybe-all-stage1-libiberty
43486 all-stage2-bfd: maybe-all-stage2-libiberty
43487 all-stage3-bfd: maybe-all-stage3-libiberty
43488 all-stage4-bfd: maybe-all-stage4-libiberty
43489 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43490 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43491 all-bfd: maybe-all-intl
43493 all-stage1-bfd: maybe-all-stage1-intl
43494 all-stage2-bfd: maybe-all-stage2-intl
43495 all-stage3-bfd: maybe-all-stage3-intl
43496 all-stage4-bfd: maybe-all-stage4-intl
43497 all-stageprofile-bfd: maybe-all-stageprofile-intl
43498 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43499 configure-binutils: maybe-configure-intl
43501 configure-stage1-binutils: maybe-configure-stage1-intl
43502 configure-stage2-binutils: maybe-configure-stage2-intl
43503 configure-stage3-binutils: maybe-configure-stage3-intl
43504 configure-stage4-binutils: maybe-configure-stage4-intl
43505 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43506 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43507 all-binutils: maybe-all-libiberty
43509 all-stage1-binutils: maybe-all-stage1-libiberty
43510 all-stage2-binutils: maybe-all-stage2-libiberty
43511 all-stage3-binutils: maybe-all-stage3-libiberty
43512 all-stage4-binutils: maybe-all-stage4-libiberty
43513 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43514 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43515 all-binutils: maybe-all-opcodes
43517 all-stage1-binutils: maybe-all-stage1-opcodes
43518 all-stage2-binutils: maybe-all-stage2-opcodes
43519 all-stage3-binutils: maybe-all-stage3-opcodes
43520 all-stage4-binutils: maybe-all-stage4-opcodes
43521 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43522 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43523 all-binutils: maybe-all-bfd
43525 all-stage1-binutils: maybe-all-stage1-bfd
43526 all-stage2-binutils: maybe-all-stage2-bfd
43527 all-stage3-binutils: maybe-all-stage3-bfd
43528 all-stage4-binutils: maybe-all-stage4-bfd
43529 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43530 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43531 all-binutils: maybe-all-build-flex
43533 all-stage1-binutils: maybe-all-build-flex
43534 all-stage2-binutils: maybe-all-build-flex
43535 all-stage3-binutils: maybe-all-build-flex
43536 all-stage4-binutils: maybe-all-build-flex
43537 all-stageprofile-binutils: maybe-all-build-flex
43538 all-stagefeedback-binutils: maybe-all-build-flex
43539 all-prebootstrap: maybe-all-build-flex
43540 all-binutils: maybe-all-build-bison
43542 all-stage1-binutils: maybe-all-build-bison
43543 all-stage2-binutils: maybe-all-build-bison
43544 all-stage3-binutils: maybe-all-build-bison
43545 all-stage4-binutils: maybe-all-build-bison
43546 all-stageprofile-binutils: maybe-all-build-bison
43547 all-stagefeedback-binutils: maybe-all-build-bison
43548 all-prebootstrap: maybe-all-build-bison
43549 all-binutils: maybe-all-build-byacc
43551 all-stage1-binutils: maybe-all-build-byacc
43552 all-stage2-binutils: maybe-all-build-byacc
43553 all-stage3-binutils: maybe-all-build-byacc
43554 all-stage4-binutils: maybe-all-build-byacc
43555 all-stageprofile-binutils: maybe-all-build-byacc
43556 all-stagefeedback-binutils: maybe-all-build-byacc
43557 all-prebootstrap: maybe-all-build-byacc
43558 all-binutils: maybe-all-intl
43560 all-stage1-binutils: maybe-all-stage1-intl
43561 all-stage2-binutils: maybe-all-stage2-intl
43562 all-stage3-binutils: maybe-all-stage3-intl
43563 all-stage4-binutils: maybe-all-stage4-intl
43564 all-stageprofile-binutils: maybe-all-stageprofile-intl
43565 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43566 install-binutils: maybe-install-opcodes
43567 install-opcodes: maybe-install-bfd
43568 configure-gas: maybe-configure-intl
43570 configure-stage1-gas: maybe-configure-stage1-intl
43571 configure-stage2-gas: maybe-configure-stage2-intl
43572 configure-stage3-gas: maybe-configure-stage3-intl
43573 configure-stage4-gas: maybe-configure-stage4-intl
43574 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43575 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43576 all-gas: maybe-all-libiberty
43578 all-stage1-gas: maybe-all-stage1-libiberty
43579 all-stage2-gas: maybe-all-stage2-libiberty
43580 all-stage3-gas: maybe-all-stage3-libiberty
43581 all-stage4-gas: maybe-all-stage4-libiberty
43582 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43583 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43584 all-gas: maybe-all-opcodes
43586 all-stage1-gas: maybe-all-stage1-opcodes
43587 all-stage2-gas: maybe-all-stage2-opcodes
43588 all-stage3-gas: maybe-all-stage3-opcodes
43589 all-stage4-gas: maybe-all-stage4-opcodes
43590 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43591 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43592 all-gas: maybe-all-bfd
43594 all-stage1-gas: maybe-all-stage1-bfd
43595 all-stage2-gas: maybe-all-stage2-bfd
43596 all-stage3-gas: maybe-all-stage3-bfd
43597 all-stage4-gas: maybe-all-stage4-bfd
43598 all-stageprofile-gas: maybe-all-stageprofile-bfd
43599 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43600 all-gas: maybe-all-intl
43602 all-stage1-gas: maybe-all-stage1-intl
43603 all-stage2-gas: maybe-all-stage2-intl
43604 all-stage3-gas: maybe-all-stage3-intl
43605 all-stage4-gas: maybe-all-stage4-intl
43606 all-stageprofile-gas: maybe-all-stageprofile-intl
43607 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43608 configure-gprof: maybe-configure-intl
43609 all-gprof: maybe-all-libiberty
43610 all-gprof: maybe-all-bfd
43611 all-gprof: maybe-all-opcodes
43612 all-gprof: maybe-all-intl
43613 configure-ld: maybe-configure-intl
43615 configure-stage1-ld: maybe-configure-stage1-intl
43616 configure-stage2-ld: maybe-configure-stage2-intl
43617 configure-stage3-ld: maybe-configure-stage3-intl
43618 configure-stage4-ld: maybe-configure-stage4-intl
43619 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43620 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43621 all-ld: maybe-all-libiberty
43623 all-stage1-ld: maybe-all-stage1-libiberty
43624 all-stage2-ld: maybe-all-stage2-libiberty
43625 all-stage3-ld: maybe-all-stage3-libiberty
43626 all-stage4-ld: maybe-all-stage4-libiberty
43627 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43628 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43629 all-ld: maybe-all-bfd
43631 all-stage1-ld: maybe-all-stage1-bfd
43632 all-stage2-ld: maybe-all-stage2-bfd
43633 all-stage3-ld: maybe-all-stage3-bfd
43634 all-stage4-ld: maybe-all-stage4-bfd
43635 all-stageprofile-ld: maybe-all-stageprofile-bfd
43636 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43637 all-ld: maybe-all-opcodes
43639 all-stage1-ld: maybe-all-stage1-opcodes
43640 all-stage2-ld: maybe-all-stage2-opcodes
43641 all-stage3-ld: maybe-all-stage3-opcodes
43642 all-stage4-ld: maybe-all-stage4-opcodes
43643 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43644 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43645 all-ld: maybe-all-build-bison
43647 all-stage1-ld: maybe-all-build-bison
43648 all-stage2-ld: maybe-all-build-bison
43649 all-stage3-ld: maybe-all-build-bison
43650 all-stage4-ld: maybe-all-build-bison
43651 all-stageprofile-ld: maybe-all-build-bison
43652 all-stagefeedback-ld: maybe-all-build-bison
43653 all-prebootstrap: maybe-all-build-bison
43654 all-ld: maybe-all-build-byacc
43656 all-stage1-ld: maybe-all-build-byacc
43657 all-stage2-ld: maybe-all-build-byacc
43658 all-stage3-ld: maybe-all-build-byacc
43659 all-stage4-ld: maybe-all-build-byacc
43660 all-stageprofile-ld: maybe-all-build-byacc
43661 all-stagefeedback-ld: maybe-all-build-byacc
43662 all-prebootstrap: maybe-all-build-byacc
43663 all-ld: maybe-all-build-flex
43665 all-stage1-ld: maybe-all-build-flex
43666 all-stage2-ld: maybe-all-build-flex
43667 all-stage3-ld: maybe-all-build-flex
43668 all-stage4-ld: maybe-all-build-flex
43669 all-stageprofile-ld: maybe-all-build-flex
43670 all-stagefeedback-ld: maybe-all-build-flex
43671 all-prebootstrap: maybe-all-build-flex
43672 all-ld: maybe-all-intl
43674 all-stage1-ld: maybe-all-stage1-intl
43675 all-stage2-ld: maybe-all-stage2-intl
43676 all-stage3-ld: maybe-all-stage3-intl
43677 all-stage4-ld: maybe-all-stage4-intl
43678 all-stageprofile-ld: maybe-all-stageprofile-intl
43679 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43680 configure-opcodes: maybe-configure-intl
43682 configure-stage1-opcodes: maybe-configure-stage1-intl
43683 configure-stage2-opcodes: maybe-configure-stage2-intl
43684 configure-stage3-opcodes: maybe-configure-stage3-intl
43685 configure-stage4-opcodes: maybe-configure-stage4-intl
43686 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43687 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43688 all-opcodes: maybe-all-bfd
43690 all-stage1-opcodes: maybe-all-stage1-bfd
43691 all-stage2-opcodes: maybe-all-stage2-bfd
43692 all-stage3-opcodes: maybe-all-stage3-bfd
43693 all-stage4-opcodes: maybe-all-stage4-bfd
43694 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43695 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43696 all-opcodes: maybe-all-libiberty
43698 all-stage1-opcodes: maybe-all-stage1-libiberty
43699 all-stage2-opcodes: maybe-all-stage2-libiberty
43700 all-stage3-opcodes: maybe-all-stage3-libiberty
43701 all-stage4-opcodes: maybe-all-stage4-libiberty
43702 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43703 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43704 all-opcodes: maybe-all-intl
43706 all-stage1-opcodes: maybe-all-stage1-intl
43707 all-stage2-opcodes: maybe-all-stage2-intl
43708 all-stage3-opcodes: maybe-all-stage3-intl
43709 all-stage4-opcodes: maybe-all-stage4-intl
43710 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43711 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43712 all-dejagnu: maybe-all-tcl
43713 all-dejagnu: maybe-all-expect
43714 all-dejagnu: maybe-all-tk
43715 configure-expect: maybe-configure-tcl
43716 configure-expect: maybe-configure-tk
43717 all-expect: maybe-all-tcl
43718 all-expect: maybe-all-tk
43719 configure-itcl: maybe-configure-tcl
43720 configure-itcl: maybe-configure-tk
43721 all-itcl: maybe-all-tcl
43722 all-itcl: maybe-all-tk
43723 install-itcl: maybe-install-tcl
43724 configure-tk: maybe-configure-tcl
43725 all-tk: maybe-all-tcl
43726 all-sid: maybe-all-libiberty
43727 all-sid: maybe-all-bfd
43728 all-sid: maybe-all-opcodes
43729 all-sid: maybe-all-tcl
43730 all-sid: maybe-all-tk
43731 install-sid: maybe-install-tcl
43732 install-sid: maybe-install-tk
43733 configure-sim: maybe-configure-intl
43734 all-sim: maybe-all-intl
43735 all-sim: maybe-all-libiberty
43736 all-sim: maybe-all-bfd
43737 all-sim: maybe-all-opcodes
43738 all-sim: maybe-all-readline
43739 all-sim: maybe-configure-gdb
43740 all-fastjar: maybe-all-zlib
43741 all-fastjar: maybe-all-build-texinfo
43742 all-fastjar: maybe-all-libiberty
43743 all-autoconf: maybe-all-m4
43744 all-autoconf: maybe-all-build-texinfo
43745 all-automake: maybe-all-m4
43746 all-automake: maybe-all-build-texinfo
43747 all-automake: maybe-all-autoconf
43748 all-bison: maybe-all-intl
43749 all-bison: maybe-all-build-texinfo
43750 all-diff: maybe-all-intl
43751 all-diff: maybe-all-build-texinfo
43752 all-fileutils: maybe-all-intl
43753 all-fileutils: maybe-all-build-texinfo
43754 all-flex: maybe-all-build-bison
43755 all-flex: maybe-all-build-byacc
43756 all-flex: maybe-all-intl
43757 all-flex: maybe-all-m4
43758 all-flex: maybe-all-build-texinfo
43759 all-gzip: maybe-all-intl
43760 all-gzip: maybe-all-zlib
43761 all-gzip: maybe-all-build-texinfo
43762 all-hello: maybe-all-intl
43763 all-hello: maybe-all-build-texinfo
43764 all-m4: maybe-all-intl
43765 all-m4: maybe-all-build-texinfo
43766 all-make: maybe-all-intl
43767 all-make: maybe-all-build-texinfo
43768 all-patch: maybe-all-build-texinfo
43769 all-make: maybe-all-build-texinfo
43770 all-prms: maybe-all-libiberty
43771 all-recode: maybe-all-build-texinfo
43772 all-sed: maybe-all-build-texinfo
43773 all-send-pr: maybe-all-prms
43774 all-tar: maybe-all-build-texinfo
43775 all-uudecode: maybe-all-build-texinfo
43776 configure-target-boehm-gc: maybe-configure-target-qthreads
43777 configure-target-fastjar: maybe-configure-target-zlib
43778 all-target-fastjar: maybe-all-target-zlib
43779 all-target-fastjar: maybe-all-target-libiberty
43780 configure-target-libjava: maybe-configure-target-zlib
43781 configure-target-libjava: maybe-configure-target-boehm-gc
43782 configure-target-libjava: maybe-configure-target-qthreads
43783 configure-target-libjava: maybe-configure-target-libffi
43784 all-target-libjava: maybe-all-fastjar
43785 all-target-libjava: maybe-all-target-zlib
43786 all-target-libjava: maybe-all-target-boehm-gc
43787 all-target-libjava: maybe-all-target-qthreads
43788 all-target-libjava: maybe-all-target-libffi
43789 configure-target-libobjc: maybe-configure-target-boehm-gc
43790 all-target-libobjc: maybe-all-target-libiberty
43791 all-target-libobjc: maybe-all-target-boehm-gc
43792 all-target-libstdc++-v3: maybe-all-target-libiberty
43793 install-target-libssp: maybe-install-gcc
43794 install-target-libgomp: maybe-install-gcc
43795 # LLVM LOCAL mainline
43796 all-target-libgloss: maybe-all-target-newlib
43797 all-target-winsup: maybe-all-target-libiberty
43798 all-target-winsup: maybe-all-target-libtermcap
43801 # Non-toplevel bootstrap rules must depend on several packages, to be built
43802 # before gcc. Another wart that will go away, hopefully soon.
43803 @if gcc-no-bootstrap
43805 all-prebootstrap: maybe-all-bfd
43806 all-prebootstrap: maybe-all-opcodes
43807 all-prebootstrap: maybe-all-binutils
43808 all-prebootstrap: maybe-all-gas
43809 all-prebootstrap: maybe-all-intl
43810 all-prebootstrap: maybe-all-ld
43811 all-prebootstrap: maybe-all-libcpp
43812 all-prebootstrap: maybe-all-libdecnumber
43813 all-prebootstrap: maybe-all-libiberty
43814 all-prebootstrap: maybe-all-zlib
43815 @endif gcc-no-bootstrap
43817 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43818 GDB_TK = @GDB_TK@
43819 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43820 configure-gdb: $(CONFIGURE_GDB_TK)
43821 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43822 install-gdb: $(INSTALL_GDB_TK)
43824 # Serialization dependencies. Host configures don't work well in parallel to
43825 # each other, due to contention over config.cache. Target configures and
43826 # build configures are similar.
43827 @serialization_dependencies@
43829 # --------------------------------
43830 # Regenerating top level configury
43831 # --------------------------------
43833 # Rebuilding Makefile.in, using autogen.
43834 AUTOGEN = autogen
43835 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43836 cd $(srcdir) && $(AUTOGEN) Makefile.def
43838 # Rebuilding Makefile.
43839 Makefile: $(srcdir)/Makefile.in config.status
43840 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43842 config.status: configure
43843 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43845 # Rebuilding configure.
43846 AUTOCONF = autoconf
43847 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
43848 cd $(srcdir) && $(AUTOCONF)
43850 # ------------------------------
43851 # Special directives to GNU Make
43852 # ------------------------------
43854 # Don't pass command-line variables to submakes.
43855 .NOEXPORT:
43856 MAKEOVERRIDES=
43858 # end of Makefile.in