bfd/
[binutils.git] / Makefile.in
blob26d1d01b58430997ca80414c93cfab49ec1800a7
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, 2007 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 # First, test for a proper version of make, but only where one is required.
25 @if gcc
26 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
27 $(error GNU make version 3.80 or newer is required.)
28 endif
29 @endif gcc
31 # -------------------------------
32 # Standard Autoconf-set variables
33 # -------------------------------
34 VPATH=@srcdir@
36 build_alias=@build_noncanonical@
37 build_vendor=@build_vendor@
38 build_os=@build_os@
39 build=@build@
40 host_alias=@host_noncanonical@
41 host_vendor=@host_vendor@
42 host_os=@host_os@
43 host=@host@
44 target_alias=@target_noncanonical@
45 target_vendor=@target_vendor@
46 target_os=@target_os@
47 target=@target@
49 program_transform_name = @program_transform_name@
51 prefix = @prefix@
52 exec_prefix = @exec_prefix@
54 srcdir = @srcdir@
56 bindir = @bindir@
57 sbindir = @sbindir@
58 libexecdir = @libexecdir@
59 datadir = @datadir@
60 sysconfdir = @sysconfdir@
61 sharedstatedir = @sharedstatedir@
62 localstatedir = @localstatedir@
63 libdir = @libdir@
64 includedir = @includedir@
65 oldincludedir = @oldincludedir@
66 infodir = @infodir@
67 datarootdir = @datarootdir@
68 docdir = @docdir@
69 pdfdir = @pdfdir@
70 htmldir = @htmldir@
71 mandir = @mandir@
72 man1dir = $(mandir)/man1
73 man2dir = $(mandir)/man2
74 man3dir = $(mandir)/man3
75 man4dir = $(mandir)/man4
76 man5dir = $(mandir)/man5
77 man6dir = $(mandir)/man6
78 man7dir = $(mandir)/man7
79 man8dir = $(mandir)/man8
80 man9dir = $(mandir)/man9
82 INSTALL = @INSTALL@
83 INSTALL_PROGRAM = @INSTALL_PROGRAM@
84 INSTALL_SCRIPT = @INSTALL_SCRIPT@
85 INSTALL_DATA = @INSTALL_DATA@
86 LN = @LN@
87 LN_S = @LN_S@
88 MAINT = @MAINT@
89 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
90 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
92 # -------------------------------------------------
93 # Miscellaneous non-standard autoconf-set variables
94 # -------------------------------------------------
96 # The gcc driver likes to know the arguments it was configured with.
97 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
99 tooldir = @tooldir@
100 build_tooldir = @build_tooldir@
102 GDB_NLM_DEPS =
104 # This is the name of the environment variable used for the path to
105 # the libraries.
106 RPATH_ENVVAR = @RPATH_ENVVAR@
108 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
109 # is used instead of the directory itself to avoid including built
110 # executables in PATH.
111 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
113 # Build programs are put under this directory.
114 BUILD_SUBDIR = @build_subdir@
115 # This is set by the configure script to the arguments to use when configuring
116 # directories built for the build system.
117 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
119 # This is the list of variables to export in the environment when
120 # configuring any subdirectory. It must also be exported whenever
121 # recursing into a build directory in case that directory's Makefile
122 # re-runs configure.
123 BASE_EXPORTS = \
124 FLEX="$(FLEX)"; export FLEX; \
125 LEX="$(LEX)"; export LEX; \
126 BISON="$(BISON)"; export BISON; \
127 YACC="$(YACC)"; export YACC; \
128 M4="$(M4)"; export M4; \
129 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
131 # This is the list of variables to export in the environment when
132 # configuring subdirectories for the build system.
133 BUILD_EXPORTS = \
134 $(BASE_EXPORTS) \
135 AR="$(AR_FOR_BUILD)"; export AR; \
136 AS="$(AS_FOR_BUILD)"; export AS; \
137 CC="$(CC_FOR_BUILD)"; export CC; \
138 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
139 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
140 CXX="$(CXX_FOR_BUILD)"; export CXX; \
141 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
142 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
143 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
144 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
145 LD="$(LD_FOR_BUILD)"; export LD; \
146 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
147 NM="$(NM_FOR_BUILD)"; export NM; \
148 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
149 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
150 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
152 # These variables must be set on the make command line for directories
153 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
154 EXTRA_BUILD_FLAGS = \
155 CFLAGS="$(CFLAGS_FOR_BUILD)" \
156 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
158 # This is the list of directories to built for the host system.
159 SUBDIRS = @configdirs@
160 # This is set by the configure script to the arguments to use when configuring
161 # directories built for the host system.
162 HOST_CONFIGARGS = @host_configargs@
163 # Host programs are put under this directory, which is . except if building
164 # with srcdir=..
165 HOST_SUBDIR = @host_subdir@
166 # This is the list of variables to export in the environment when
167 # configuring subdirectories for the host system. We need to pass
168 # some to the GCC configure because of its hybrid host/target nature.
169 HOST_EXPORTS = \
170 $(BASE_EXPORTS) \
171 CC="$(CC)"; export CC; \
172 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
173 CFLAGS="$(CFLAGS)"; export CFLAGS; \
174 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
175 CXX="$(CXX)"; export CXX; \
176 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
177 AR="$(AR)"; export AR; \
178 AS="$(AS)"; export AS; \
179 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
180 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
181 LD="$(LD)"; export LD; \
182 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
183 NM="$(NM)"; export NM; \
184 RANLIB="$(RANLIB)"; export RANLIB; \
185 WINDRES="$(WINDRES)"; export WINDRES; \
186 WINDMC="$(WINDMC)"; export WINDMC; \
187 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
188 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
189 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
190 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
191 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
192 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
193 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
194 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
195 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
196 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
197 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
198 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
199 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
200 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
201 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
202 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
203 @if gcc-bootstrap
204 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
205 @endif gcc-bootstrap
206 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
208 # Similar, for later GCC stages.
209 POSTSTAGE1_HOST_EXPORTS = \
210 $(HOST_EXPORTS) \
211 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
212 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
213 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
214 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
215 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
216 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
217 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
219 # Target libraries are put under this directory:
220 TARGET_SUBDIR = @target_subdir@
221 # This is set by the configure script to the arguments to use when configuring
222 # directories built for the target.
223 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
224 # This is the list of variables to export in the environment when
225 # configuring subdirectories for the host system.
226 BASE_TARGET_EXPORTS = \
227 $(BASE_EXPORTS) \
228 AR="$(AR_FOR_TARGET)"; export AR; \
229 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
230 CC="$(CC_FOR_TARGET)"; export CC; \
231 CFLAGS="$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
232 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
233 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
235 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
236 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
237 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
238 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
239 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
240 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
241 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
242 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
243 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
244 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
245 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
246 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
247 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
249 RAW_CXX_TARGET_EXPORTS = \
250 $(BASE_TARGET_EXPORTS) \
251 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
252 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
254 NORMAL_TARGET_EXPORTS = \
255 $(BASE_TARGET_EXPORTS) \
256 CXX="$(CXX_FOR_TARGET)"; export CXX;
258 # Where to find GMP
259 HOST_GMPLIBS = @gmplibs@
260 HOST_GMPINC = @gmpinc@
262 # Where to find PPL
263 HOST_PPLLIBS = @ppllibs@
264 HOST_PPLINC = @pplinc@
266 # Where to find CLOOG
267 HOST_CLOOGLIBS = @clooglibs@
268 HOST_CLOOGINC = @clooginc@
270 # ----------------------------------------------
271 # Programs producing files for the BUILD machine
272 # ----------------------------------------------
274 SHELL = @config_shell@
276 # pwd command to use. Allow user to override default by setting PWDCMD in
277 # the environment to account for automounters. The make variable must not
278 # be called PWDCMD, otherwise the value set here is passed to make
279 # subprocesses and overrides the setting from the user's environment.
280 # Don't use PWD since it is a common shell environment variable and we
281 # don't want to corrupt it.
282 PWD_COMMAND = $${PWDCMD-pwd}
284 # compilers to use to create programs which must be run in the build
285 # environment.
286 AR_FOR_BUILD = @AR_FOR_BUILD@
287 AS_FOR_BUILD = @AS_FOR_BUILD@
288 CC_FOR_BUILD = @CC_FOR_BUILD@
289 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
290 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
291 CXX_FOR_BUILD = @CXX_FOR_BUILD@
292 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
293 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
294 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
295 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
296 LD_FOR_BUILD = @LD_FOR_BUILD@
297 NM_FOR_BUILD = @NM_FOR_BUILD@
298 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
299 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
300 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
302 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
303 # here so that they can be overridden by Makefile fragments.
304 BUILD_PREFIX = @BUILD_PREFIX@
305 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
307 # Flags to pass to stage2 and later makes. They are defined
308 # here so that they can be overridden by Makefile fragments.
309 BOOT_CFLAGS= -g -O2
310 BOOT_LDFLAGS=
311 BOOT_ADAFLAGS=-gnatpg -gnata
313 BISON = @BISON@
314 YACC = @YACC@
315 FLEX = @FLEX@
316 LEX = @LEX@
317 M4 = @M4@
318 MAKEINFO = @MAKEINFO@
319 EXPECT = @EXPECT@
320 RUNTEST = @RUNTEST@
322 # This just becomes part of the MAKEINFO definition passed down to
323 # sub-makes. It lets flags be given on the command line while still
324 # using the makeinfo from the object tree.
325 # (Default to avoid splitting info files by setting the threshold high.)
326 MAKEINFOFLAGS = --split-size=5000000
328 # ---------------------------------------------
329 # Programs producing files for the HOST machine
330 # ---------------------------------------------
332 AS = @AS@
333 AR = @AR@
334 AR_FLAGS = rc
335 CC = @CC@
336 CXX = @CXX@
337 DLLTOOL = @DLLTOOL@
338 LD = @LD@
339 LIPO = @LIPO@
340 NM = @NM@
341 OBJDUMP = @OBJDUMP@
342 RANLIB = @RANLIB@
343 STRIP = @STRIP@
344 WINDRES = @WINDRES@
345 WINDMC = @WINDMC@
347 GNATBIND = @GNATBIND@
348 GNATMAKE = @GNATMAKE@
350 CFLAGS = @CFLAGS@
351 LDFLAGS = @LDFLAGS@
352 LIBCFLAGS = $(CFLAGS)
353 CXXFLAGS = @CXXFLAGS@
354 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
356 # Only build the C compiler for stage1, because that is the only one that
357 # we can guarantee will build with the native compiler, and also it is the
358 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
359 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
360 # overrideable (for a bootstrap build stage1 also builds gcc.info).
362 STAGE1_CHECKING=@stage1_checking@
363 STAGE1_LANGUAGES=@stage1_languages@
365 STAGE1_CFLAGS=@stage1_cflags@
366 STAGE2_CFLAGS=$(BOOT_CFLAGS)
367 STAGE3_CFLAGS=$(BOOT_CFLAGS)
368 STAGE4_CFLAGS=$(BOOT_CFLAGS)
370 STAGE1_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
371 STAGE2_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
372 STAGE3_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
373 STAGE4_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
375 do-compare = @do_compare@
376 do-compare3 = $(do-compare)
377 do-compare-debug = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2
379 # -----------------------------------------------
380 # Programs producing files for the TARGET machine
381 # -----------------------------------------------
383 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
385 AR_FOR_TARGET=@AR_FOR_TARGET@
386 AS_FOR_TARGET=@AS_FOR_TARGET@
387 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
389 # If GCC_FOR_TARGET is not overriden on the command line, then this
390 # variable is passed down to the gcc Makefile, where it is used to
391 # build libgcc2.a. We define it here so that it can itself be
392 # overridden on the command line.
393 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
394 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
395 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
396 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
397 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
398 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
399 LD_FOR_TARGET=@LD_FOR_TARGET@
401 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
402 NM_FOR_TARGET=@NM_FOR_TARGET@
403 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
404 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
405 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
406 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
407 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
409 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
410 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
411 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
413 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
414 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
415 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
416 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
418 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
419 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
420 LDFLAGS_FOR_TARGET =
422 # ------------------------------------
423 # Miscellaneous targets and flag lists
424 # ------------------------------------
426 # The first rule in the file had better be this one. Don't put any above it.
427 # This lives here to allow makefile fragments to contain dependencies.
428 all:
430 #### host and target specific makefile fragments come in here.
431 @target_makefile_frag@
432 @alphaieee_frag@
433 @ospace_frag@
434 @host_makefile_frag@
437 # This is the list of directories that may be needed in RPATH_ENVVAR
438 # so that prorgams built for the target machine work.
439 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
441 @if target-libstdc++-v3
442 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
443 @endif target-libstdc++-v3
445 @if target-libmudflap
446 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
447 @endif target-libmudflap
449 @if target-libssp
450 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
451 @endif target-libssp
453 @if target-libgomp
454 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
455 @endif target-libgomp
459 # This is the list of directories that may be needed in RPATH_ENVVAR
460 # so that programs built for the host machine work.
461 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)
463 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
464 @if gcc
465 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
466 @endif gcc
469 @if bfd
470 HOST_LIB_PATH_bfd = \
471 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
472 @endif bfd
474 @if opcodes
475 HOST_LIB_PATH_opcodes = \
476 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
477 @endif opcodes
479 @if gmp
480 HOST_LIB_PATH_gmp = \
481 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
482 @endif gmp
484 @if mpfr
485 HOST_LIB_PATH_mpfr = \
486 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
487 @endif mpfr
489 @if ppl
490 HOST_LIB_PATH_ppl = \
491 $$r/$(HOST_SUBDIR)/ppl/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/.libs:
492 @endif ppl
494 @if cloog
495 HOST_LIB_PATH_cloog = \
496 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
497 @endif cloog
500 # Flags to pass down to all sub-makes.
501 BASE_FLAGS_TO_PASS = \
502 "DESTDIR=$(DESTDIR)" \
503 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
504 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
505 "bindir=$(bindir)" \
506 "datadir=$(datadir)" \
507 "exec_prefix=$(exec_prefix)" \
508 "includedir=$(includedir)" \
509 "datarootdir=$(datarootdir)" \
510 "docdir=$(docdir)" \
511 "infodir=$(infodir)" \
512 "pdfdir=$(pdfdir)" \
513 "htmldir=$(htmldir)" \
514 "libdir=$(libdir)" \
515 "libexecdir=$(libexecdir)" \
516 "lispdir=$(lispdir)" \
517 "localstatedir=$(localstatedir)" \
518 "mandir=$(mandir)" \
519 "oldincludedir=$(oldincludedir)" \
520 "prefix=$(prefix)" \
521 "sbindir=$(sbindir)" \
522 "sharedstatedir=$(sharedstatedir)" \
523 "sysconfdir=$(sysconfdir)" \
524 "tooldir=$(tooldir)" \
525 "build_tooldir=$(build_tooldir)" \
526 "target_alias=$(target_alias)" \
527 "BISON=$(BISON)" \
528 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
529 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
530 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
531 "EXPECT=$(EXPECT)" \
532 "FLEX=$(FLEX)" \
533 "INSTALL=$(INSTALL)" \
534 "INSTALL_DATA=$(INSTALL_DATA)" \
535 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
536 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
537 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
538 "LEX=$(LEX)" \
539 "M4=$(M4)" \
540 "MAKE=$(MAKE)" \
541 "RUNTEST=$(RUNTEST)" \
542 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
543 "SHELL=$(SHELL)" \
544 "YACC=$(YACC)" \
545 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "ADA_CFLAGS=$(ADA_CFLAGS)" \
547 "AR_FLAGS=$(AR_FLAGS)" \
548 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
549 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
550 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
551 "CFLAGS=$(CFLAGS)" \
552 "CXXFLAGS=$(CXXFLAGS)" \
553 "LDFLAGS=$(LDFLAGS)" \
554 "LIBCFLAGS=$(LIBCFLAGS)" \
555 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
556 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
557 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
558 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
559 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
560 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
561 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
562 "GNATBIND=$(GNATBIND)" \
563 "GNATMAKE=$(GNATMAKE)" \
564 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
565 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
566 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
567 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
568 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
569 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
570 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
571 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
572 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
573 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
574 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
575 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
576 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
577 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
578 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
579 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
580 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
581 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
582 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
583 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
584 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
585 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
586 "LEAN=$(LEAN)" \
587 "CONFIG_SHELL=$(SHELL)" \
588 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
590 # We leave this in just in case, but it is not needed anymore.
591 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
593 # Flags to pass down to most sub-makes, in which we're building with
594 # the host environment.
595 EXTRA_HOST_FLAGS = \
596 'AR=$(AR)' \
597 'AS=$(AS)' \
598 'CC=$(CC)' \
599 'CXX=$(CXX)' \
600 'DLLTOOL=$(DLLTOOL)' \
601 'LD=$(LD)' \
602 'LIPO=$(LIPO)' \
603 'NM=$(NM)' \
604 'OBJDUMP=$(OBJDUMP)' \
605 'RANLIB=$(RANLIB)' \
606 'STRIP=$(STRIP)' \
607 'WINDRES=$(WINDRES)' \
608 'WINDMC=$(WINDMC)'
610 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
612 # Flags that are concerned with the location of the X11 include files
613 # and library files
615 # NOTE: until the top-level is getting the values via autoconf, it only
616 # causes problems to have this top-level Makefile overriding the autoconf-set
617 # values in child directories. Only variables that don't conflict with
618 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
620 X11_FLAGS_TO_PASS = \
621 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
622 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
624 # Flags to pass to stage2 and later makes.
626 POSTSTAGE1_FLAGS_TO_PASS = \
627 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
628 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
629 LDFLAGS="$(BOOT_LDFLAGS)" \
630 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
632 # Flags to pass down to makes which are built with the target environment.
633 # The double $ decreases the length of the command line; those variables
634 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
635 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
636 # so we expand them here.
637 EXTRA_TARGET_FLAGS = \
638 'AR=$$(AR_FOR_TARGET)' \
639 'AS=$(COMPILER_AS_FOR_TARGET)' \
640 'CC=$$(CC_FOR_TARGET)' \
641 'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
642 'CXX=$$(CXX_FOR_TARGET)' \
643 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
644 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
645 'LD=$(COMPILER_LD_FOR_TARGET)' \
646 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
647 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
648 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
649 'NM=$(COMPILER_NM_FOR_TARGET)' \
650 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
651 'RANLIB=$$(RANLIB_FOR_TARGET)' \
652 'WINDRES=$$(WINDRES_FOR_TARGET)' \
653 'WINDMC=$$(WINDMC_FOR_TARGET)'
655 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
657 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
658 # unfortunately needs the native compiler and the target ar and
659 # ranlib.
660 # If any variables are added here, they must be added to do-*, below.
661 # The BUILD_* variables are a special case, which are used for the gcc
662 # cross-building scheme.
663 EXTRA_GCC_FLAGS = \
664 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
665 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
666 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
667 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
668 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
669 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
671 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
673 .PHONY: configure-host
674 configure-host: \
675 maybe-configure-ash \
676 maybe-configure-autoconf \
677 maybe-configure-automake \
678 maybe-configure-bash \
679 maybe-configure-bfd \
680 maybe-configure-opcodes \
681 maybe-configure-binutils \
682 maybe-configure-bison \
683 maybe-configure-byacc \
684 maybe-configure-bzip2 \
685 maybe-configure-dejagnu \
686 maybe-configure-diff \
687 maybe-configure-dosutils \
688 maybe-configure-etc \
689 maybe-configure-fastjar \
690 maybe-configure-fileutils \
691 maybe-configure-findutils \
692 maybe-configure-find \
693 maybe-configure-fixincludes \
694 maybe-configure-flex \
695 maybe-configure-gas \
696 maybe-configure-gcc \
697 maybe-configure-gawk \
698 maybe-configure-gettext \
699 maybe-configure-gmp \
700 maybe-configure-mpfr \
701 maybe-configure-ppl \
702 maybe-configure-cloog \
703 maybe-configure-gnuserv \
704 maybe-configure-gold \
705 maybe-configure-gprof \
706 maybe-configure-gzip \
707 maybe-configure-hello \
708 maybe-configure-indent \
709 maybe-configure-intl \
710 maybe-configure-tcl \
711 maybe-configure-itcl \
712 maybe-configure-ld \
713 maybe-configure-libcpp \
714 maybe-configure-libdecnumber \
715 maybe-configure-libgui \
716 maybe-configure-libiberty \
717 maybe-configure-libiconv \
718 maybe-configure-libtool \
719 maybe-configure-m4 \
720 maybe-configure-make \
721 maybe-configure-mmalloc \
722 maybe-configure-patch \
723 maybe-configure-perl \
724 maybe-configure-prms \
725 maybe-configure-rcs \
726 maybe-configure-readline \
727 maybe-configure-release \
728 maybe-configure-recode \
729 maybe-configure-sed \
730 maybe-configure-send-pr \
731 maybe-configure-shellutils \
732 maybe-configure-sid \
733 maybe-configure-sim \
734 maybe-configure-tar \
735 maybe-configure-texinfo \
736 maybe-configure-textutils \
737 maybe-configure-time \
738 maybe-configure-uudecode \
739 maybe-configure-wdiff \
740 maybe-configure-zip \
741 maybe-configure-zlib \
742 maybe-configure-gdb \
743 maybe-configure-expect \
744 maybe-configure-guile \
745 maybe-configure-tk \
746 maybe-configure-libtermcap \
747 maybe-configure-utils \
748 maybe-configure-gnattools
749 .PHONY: configure-target
750 configure-target: \
751 maybe-configure-target-libstdc++-v3 \
752 maybe-configure-target-libmudflap \
753 maybe-configure-target-libssp \
754 maybe-configure-target-newlib \
755 maybe-configure-target-libgcc \
756 maybe-configure-target-libgfortran \
757 maybe-configure-target-libobjc \
758 maybe-configure-target-libtermcap \
759 maybe-configure-target-winsup \
760 maybe-configure-target-libgloss \
761 maybe-configure-target-libiberty \
762 maybe-configure-target-gperf \
763 maybe-configure-target-examples \
764 maybe-configure-target-libffi \
765 maybe-configure-target-libjava \
766 maybe-configure-target-zlib \
767 maybe-configure-target-boehm-gc \
768 maybe-configure-target-qthreads \
769 maybe-configure-target-rda \
770 maybe-configure-target-libada \
771 maybe-configure-target-libgomp
773 # The target built for a native non-bootstrap build.
774 .PHONY: all
775 all:
776 @if gcc-bootstrap
777 [ -f stage_final ] || echo stage3 > stage_final
778 @r=`${PWD_COMMAND}`; export r; \
779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
780 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
781 @endif gcc-bootstrap
782 @: $(MAKE); $(unstage)
783 @r=`${PWD_COMMAND}`; export r; \
784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
785 if [ -f stage_last ]; then \
786 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
787 else \
788 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
791 .PHONY: all-build
793 all-build: maybe-all-build-libiberty
794 all-build: maybe-all-build-bison
795 all-build: maybe-all-build-byacc
796 all-build: maybe-all-build-flex
797 all-build: maybe-all-build-m4
798 all-build: maybe-all-build-texinfo
799 all-build: maybe-all-build-fixincludes
801 .PHONY: all-host
803 all-host: maybe-all-ash
804 all-host: maybe-all-autoconf
805 all-host: maybe-all-automake
806 all-host: maybe-all-bash
807 @if bfd-no-bootstrap
808 all-host: maybe-all-bfd
809 @endif bfd-no-bootstrap
810 @if opcodes-no-bootstrap
811 all-host: maybe-all-opcodes
812 @endif opcodes-no-bootstrap
813 @if binutils-no-bootstrap
814 all-host: maybe-all-binutils
815 @endif binutils-no-bootstrap
816 all-host: maybe-all-bison
817 all-host: maybe-all-byacc
818 all-host: maybe-all-bzip2
819 all-host: maybe-all-dejagnu
820 all-host: maybe-all-diff
821 all-host: maybe-all-dosutils
822 all-host: maybe-all-etc
823 all-host: maybe-all-fastjar
824 all-host: maybe-all-fileutils
825 all-host: maybe-all-findutils
826 all-host: maybe-all-find
827 all-host: maybe-all-fixincludes
828 all-host: maybe-all-flex
829 @if gas-no-bootstrap
830 all-host: maybe-all-gas
831 @endif gas-no-bootstrap
832 @if gcc-no-bootstrap
833 all-host: maybe-all-gcc
834 @endif gcc-no-bootstrap
835 all-host: maybe-all-gawk
836 all-host: maybe-all-gettext
837 @if gmp-no-bootstrap
838 all-host: maybe-all-gmp
839 @endif gmp-no-bootstrap
840 @if mpfr-no-bootstrap
841 all-host: maybe-all-mpfr
842 @endif mpfr-no-bootstrap
843 @if ppl-no-bootstrap
844 all-host: maybe-all-ppl
845 @endif ppl-no-bootstrap
846 @if cloog-no-bootstrap
847 all-host: maybe-all-cloog
848 @endif cloog-no-bootstrap
849 all-host: maybe-all-gnuserv
850 @if gold-no-bootstrap
851 all-host: maybe-all-gold
852 @endif gold-no-bootstrap
853 all-host: maybe-all-gprof
854 all-host: maybe-all-gzip
855 all-host: maybe-all-hello
856 all-host: maybe-all-indent
857 @if intl-no-bootstrap
858 all-host: maybe-all-intl
859 @endif intl-no-bootstrap
860 all-host: maybe-all-tcl
861 all-host: maybe-all-itcl
862 @if ld-no-bootstrap
863 all-host: maybe-all-ld
864 @endif ld-no-bootstrap
865 @if libcpp-no-bootstrap
866 all-host: maybe-all-libcpp
867 @endif libcpp-no-bootstrap
868 @if libdecnumber-no-bootstrap
869 all-host: maybe-all-libdecnumber
870 @endif libdecnumber-no-bootstrap
871 all-host: maybe-all-libgui
872 @if libiberty-no-bootstrap
873 all-host: maybe-all-libiberty
874 @endif libiberty-no-bootstrap
875 all-host: maybe-all-libiconv
876 all-host: maybe-all-libtool
877 all-host: maybe-all-m4
878 all-host: maybe-all-make
879 all-host: maybe-all-mmalloc
880 all-host: maybe-all-patch
881 all-host: maybe-all-perl
882 all-host: maybe-all-prms
883 all-host: maybe-all-rcs
884 all-host: maybe-all-readline
885 all-host: maybe-all-release
886 all-host: maybe-all-recode
887 all-host: maybe-all-sed
888 all-host: maybe-all-send-pr
889 all-host: maybe-all-shellutils
890 all-host: maybe-all-sid
891 all-host: maybe-all-sim
892 all-host: maybe-all-tar
893 all-host: maybe-all-texinfo
894 all-host: maybe-all-textutils
895 all-host: maybe-all-time
896 all-host: maybe-all-uudecode
897 all-host: maybe-all-wdiff
898 all-host: maybe-all-zip
899 @if zlib-no-bootstrap
900 all-host: maybe-all-zlib
901 @endif zlib-no-bootstrap
902 all-host: maybe-all-gdb
903 all-host: maybe-all-expect
904 all-host: maybe-all-guile
905 all-host: maybe-all-tk
906 all-host: maybe-all-libtermcap
907 all-host: maybe-all-utils
908 all-host: maybe-all-gnattools
910 .PHONY: all-target
912 all-target: maybe-all-target-libstdc++-v3
913 all-target: maybe-all-target-libmudflap
914 all-target: maybe-all-target-libssp
915 all-target: maybe-all-target-newlib
916 @if target-libgcc-no-bootstrap
917 all-target: maybe-all-target-libgcc
918 @endif target-libgcc-no-bootstrap
919 all-target: maybe-all-target-libgfortran
920 all-target: maybe-all-target-libobjc
921 all-target: maybe-all-target-libtermcap
922 all-target: maybe-all-target-winsup
923 all-target: maybe-all-target-libgloss
924 all-target: maybe-all-target-libiberty
925 all-target: maybe-all-target-gperf
926 all-target: maybe-all-target-examples
927 all-target: maybe-all-target-libffi
928 all-target: maybe-all-target-libjava
929 all-target: maybe-all-target-zlib
930 all-target: maybe-all-target-boehm-gc
931 all-target: maybe-all-target-qthreads
932 all-target: maybe-all-target-rda
933 all-target: maybe-all-target-libada
934 all-target: maybe-all-target-libgomp
936 # Do a target for all the subdirectories. A ``make do-X'' will do a
937 # ``make X'' in all subdirectories (because, in general, there is a
938 # dependency (below) of X upon do-X, a ``make X'' will also do this,
939 # but it may do additional work as well).
941 .PHONY: do-info
942 do-info:
943 @: $(MAKE); $(unstage)
944 @r=`${PWD_COMMAND}`; export r; \
945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
946 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
947 info-target
950 .PHONY: info-host
952 info-host: maybe-info-ash
953 info-host: maybe-info-autoconf
954 info-host: maybe-info-automake
955 info-host: maybe-info-bash
956 info-host: maybe-info-bfd
957 info-host: maybe-info-opcodes
958 info-host: maybe-info-binutils
959 info-host: maybe-info-bison
960 info-host: maybe-info-byacc
961 info-host: maybe-info-bzip2
962 info-host: maybe-info-dejagnu
963 info-host: maybe-info-diff
964 info-host: maybe-info-dosutils
965 info-host: maybe-info-etc
966 info-host: maybe-info-fastjar
967 info-host: maybe-info-fileutils
968 info-host: maybe-info-findutils
969 info-host: maybe-info-find
970 info-host: maybe-info-fixincludes
971 info-host: maybe-info-flex
972 info-host: maybe-info-gas
973 info-host: maybe-info-gcc
974 info-host: maybe-info-gawk
975 info-host: maybe-info-gettext
976 info-host: maybe-info-gmp
977 info-host: maybe-info-mpfr
978 info-host: maybe-info-ppl
979 info-host: maybe-info-cloog
980 info-host: maybe-info-gnuserv
981 info-host: maybe-info-gold
982 info-host: maybe-info-gprof
983 info-host: maybe-info-gzip
984 info-host: maybe-info-hello
985 info-host: maybe-info-indent
986 info-host: maybe-info-intl
987 info-host: maybe-info-tcl
988 info-host: maybe-info-itcl
989 info-host: maybe-info-ld
990 info-host: maybe-info-libcpp
991 info-host: maybe-info-libdecnumber
992 info-host: maybe-info-libgui
993 info-host: maybe-info-libiberty
994 info-host: maybe-info-libiconv
995 info-host: maybe-info-libtool
996 info-host: maybe-info-m4
997 info-host: maybe-info-make
998 info-host: maybe-info-mmalloc
999 info-host: maybe-info-patch
1000 info-host: maybe-info-perl
1001 info-host: maybe-info-prms
1002 info-host: maybe-info-rcs
1003 info-host: maybe-info-readline
1004 info-host: maybe-info-release
1005 info-host: maybe-info-recode
1006 info-host: maybe-info-sed
1007 info-host: maybe-info-send-pr
1008 info-host: maybe-info-shellutils
1009 info-host: maybe-info-sid
1010 info-host: maybe-info-sim
1011 info-host: maybe-info-tar
1012 info-host: maybe-info-texinfo
1013 info-host: maybe-info-textutils
1014 info-host: maybe-info-time
1015 info-host: maybe-info-uudecode
1016 info-host: maybe-info-wdiff
1017 info-host: maybe-info-zip
1018 info-host: maybe-info-zlib
1019 info-host: maybe-info-gdb
1020 info-host: maybe-info-expect
1021 info-host: maybe-info-guile
1022 info-host: maybe-info-tk
1023 info-host: maybe-info-libtermcap
1024 info-host: maybe-info-utils
1025 info-host: maybe-info-gnattools
1027 .PHONY: info-target
1029 info-target: maybe-info-target-libstdc++-v3
1030 info-target: maybe-info-target-libmudflap
1031 info-target: maybe-info-target-libssp
1032 info-target: maybe-info-target-newlib
1033 info-target: maybe-info-target-libgcc
1034 info-target: maybe-info-target-libgfortran
1035 info-target: maybe-info-target-libobjc
1036 info-target: maybe-info-target-libtermcap
1037 info-target: maybe-info-target-winsup
1038 info-target: maybe-info-target-libgloss
1039 info-target: maybe-info-target-libiberty
1040 info-target: maybe-info-target-gperf
1041 info-target: maybe-info-target-examples
1042 info-target: maybe-info-target-libffi
1043 info-target: maybe-info-target-libjava
1044 info-target: maybe-info-target-zlib
1045 info-target: maybe-info-target-boehm-gc
1046 info-target: maybe-info-target-qthreads
1047 info-target: maybe-info-target-rda
1048 info-target: maybe-info-target-libada
1049 info-target: maybe-info-target-libgomp
1051 .PHONY: do-dvi
1052 do-dvi:
1053 @: $(MAKE); $(unstage)
1054 @r=`${PWD_COMMAND}`; export r; \
1055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1056 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1057 dvi-target
1060 .PHONY: dvi-host
1062 dvi-host: maybe-dvi-ash
1063 dvi-host: maybe-dvi-autoconf
1064 dvi-host: maybe-dvi-automake
1065 dvi-host: maybe-dvi-bash
1066 dvi-host: maybe-dvi-bfd
1067 dvi-host: maybe-dvi-opcodes
1068 dvi-host: maybe-dvi-binutils
1069 dvi-host: maybe-dvi-bison
1070 dvi-host: maybe-dvi-byacc
1071 dvi-host: maybe-dvi-bzip2
1072 dvi-host: maybe-dvi-dejagnu
1073 dvi-host: maybe-dvi-diff
1074 dvi-host: maybe-dvi-dosutils
1075 dvi-host: maybe-dvi-etc
1076 dvi-host: maybe-dvi-fastjar
1077 dvi-host: maybe-dvi-fileutils
1078 dvi-host: maybe-dvi-findutils
1079 dvi-host: maybe-dvi-find
1080 dvi-host: maybe-dvi-fixincludes
1081 dvi-host: maybe-dvi-flex
1082 dvi-host: maybe-dvi-gas
1083 dvi-host: maybe-dvi-gcc
1084 dvi-host: maybe-dvi-gawk
1085 dvi-host: maybe-dvi-gettext
1086 dvi-host: maybe-dvi-gmp
1087 dvi-host: maybe-dvi-mpfr
1088 dvi-host: maybe-dvi-ppl
1089 dvi-host: maybe-dvi-cloog
1090 dvi-host: maybe-dvi-gnuserv
1091 dvi-host: maybe-dvi-gold
1092 dvi-host: maybe-dvi-gprof
1093 dvi-host: maybe-dvi-gzip
1094 dvi-host: maybe-dvi-hello
1095 dvi-host: maybe-dvi-indent
1096 dvi-host: maybe-dvi-intl
1097 dvi-host: maybe-dvi-tcl
1098 dvi-host: maybe-dvi-itcl
1099 dvi-host: maybe-dvi-ld
1100 dvi-host: maybe-dvi-libcpp
1101 dvi-host: maybe-dvi-libdecnumber
1102 dvi-host: maybe-dvi-libgui
1103 dvi-host: maybe-dvi-libiberty
1104 dvi-host: maybe-dvi-libiconv
1105 dvi-host: maybe-dvi-libtool
1106 dvi-host: maybe-dvi-m4
1107 dvi-host: maybe-dvi-make
1108 dvi-host: maybe-dvi-mmalloc
1109 dvi-host: maybe-dvi-patch
1110 dvi-host: maybe-dvi-perl
1111 dvi-host: maybe-dvi-prms
1112 dvi-host: maybe-dvi-rcs
1113 dvi-host: maybe-dvi-readline
1114 dvi-host: maybe-dvi-release
1115 dvi-host: maybe-dvi-recode
1116 dvi-host: maybe-dvi-sed
1117 dvi-host: maybe-dvi-send-pr
1118 dvi-host: maybe-dvi-shellutils
1119 dvi-host: maybe-dvi-sid
1120 dvi-host: maybe-dvi-sim
1121 dvi-host: maybe-dvi-tar
1122 dvi-host: maybe-dvi-texinfo
1123 dvi-host: maybe-dvi-textutils
1124 dvi-host: maybe-dvi-time
1125 dvi-host: maybe-dvi-uudecode
1126 dvi-host: maybe-dvi-wdiff
1127 dvi-host: maybe-dvi-zip
1128 dvi-host: maybe-dvi-zlib
1129 dvi-host: maybe-dvi-gdb
1130 dvi-host: maybe-dvi-expect
1131 dvi-host: maybe-dvi-guile
1132 dvi-host: maybe-dvi-tk
1133 dvi-host: maybe-dvi-libtermcap
1134 dvi-host: maybe-dvi-utils
1135 dvi-host: maybe-dvi-gnattools
1137 .PHONY: dvi-target
1139 dvi-target: maybe-dvi-target-libstdc++-v3
1140 dvi-target: maybe-dvi-target-libmudflap
1141 dvi-target: maybe-dvi-target-libssp
1142 dvi-target: maybe-dvi-target-newlib
1143 dvi-target: maybe-dvi-target-libgcc
1144 dvi-target: maybe-dvi-target-libgfortran
1145 dvi-target: maybe-dvi-target-libobjc
1146 dvi-target: maybe-dvi-target-libtermcap
1147 dvi-target: maybe-dvi-target-winsup
1148 dvi-target: maybe-dvi-target-libgloss
1149 dvi-target: maybe-dvi-target-libiberty
1150 dvi-target: maybe-dvi-target-gperf
1151 dvi-target: maybe-dvi-target-examples
1152 dvi-target: maybe-dvi-target-libffi
1153 dvi-target: maybe-dvi-target-libjava
1154 dvi-target: maybe-dvi-target-zlib
1155 dvi-target: maybe-dvi-target-boehm-gc
1156 dvi-target: maybe-dvi-target-qthreads
1157 dvi-target: maybe-dvi-target-rda
1158 dvi-target: maybe-dvi-target-libada
1159 dvi-target: maybe-dvi-target-libgomp
1161 .PHONY: do-pdf
1162 do-pdf:
1163 @: $(MAKE); $(unstage)
1164 @r=`${PWD_COMMAND}`; export r; \
1165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1166 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1167 pdf-target
1170 .PHONY: pdf-host
1172 pdf-host: maybe-pdf-ash
1173 pdf-host: maybe-pdf-autoconf
1174 pdf-host: maybe-pdf-automake
1175 pdf-host: maybe-pdf-bash
1176 pdf-host: maybe-pdf-bfd
1177 pdf-host: maybe-pdf-opcodes
1178 pdf-host: maybe-pdf-binutils
1179 pdf-host: maybe-pdf-bison
1180 pdf-host: maybe-pdf-byacc
1181 pdf-host: maybe-pdf-bzip2
1182 pdf-host: maybe-pdf-dejagnu
1183 pdf-host: maybe-pdf-diff
1184 pdf-host: maybe-pdf-dosutils
1185 pdf-host: maybe-pdf-etc
1186 pdf-host: maybe-pdf-fastjar
1187 pdf-host: maybe-pdf-fileutils
1188 pdf-host: maybe-pdf-findutils
1189 pdf-host: maybe-pdf-find
1190 pdf-host: maybe-pdf-fixincludes
1191 pdf-host: maybe-pdf-flex
1192 pdf-host: maybe-pdf-gas
1193 pdf-host: maybe-pdf-gcc
1194 pdf-host: maybe-pdf-gawk
1195 pdf-host: maybe-pdf-gettext
1196 pdf-host: maybe-pdf-gmp
1197 pdf-host: maybe-pdf-mpfr
1198 pdf-host: maybe-pdf-ppl
1199 pdf-host: maybe-pdf-cloog
1200 pdf-host: maybe-pdf-gnuserv
1201 pdf-host: maybe-pdf-gold
1202 pdf-host: maybe-pdf-gprof
1203 pdf-host: maybe-pdf-gzip
1204 pdf-host: maybe-pdf-hello
1205 pdf-host: maybe-pdf-indent
1206 pdf-host: maybe-pdf-intl
1207 pdf-host: maybe-pdf-tcl
1208 pdf-host: maybe-pdf-itcl
1209 pdf-host: maybe-pdf-ld
1210 pdf-host: maybe-pdf-libcpp
1211 pdf-host: maybe-pdf-libdecnumber
1212 pdf-host: maybe-pdf-libgui
1213 pdf-host: maybe-pdf-libiberty
1214 pdf-host: maybe-pdf-libiconv
1215 pdf-host: maybe-pdf-libtool
1216 pdf-host: maybe-pdf-m4
1217 pdf-host: maybe-pdf-make
1218 pdf-host: maybe-pdf-mmalloc
1219 pdf-host: maybe-pdf-patch
1220 pdf-host: maybe-pdf-perl
1221 pdf-host: maybe-pdf-prms
1222 pdf-host: maybe-pdf-rcs
1223 pdf-host: maybe-pdf-readline
1224 pdf-host: maybe-pdf-release
1225 pdf-host: maybe-pdf-recode
1226 pdf-host: maybe-pdf-sed
1227 pdf-host: maybe-pdf-send-pr
1228 pdf-host: maybe-pdf-shellutils
1229 pdf-host: maybe-pdf-sid
1230 pdf-host: maybe-pdf-sim
1231 pdf-host: maybe-pdf-tar
1232 pdf-host: maybe-pdf-texinfo
1233 pdf-host: maybe-pdf-textutils
1234 pdf-host: maybe-pdf-time
1235 pdf-host: maybe-pdf-uudecode
1236 pdf-host: maybe-pdf-wdiff
1237 pdf-host: maybe-pdf-zip
1238 pdf-host: maybe-pdf-zlib
1239 pdf-host: maybe-pdf-gdb
1240 pdf-host: maybe-pdf-expect
1241 pdf-host: maybe-pdf-guile
1242 pdf-host: maybe-pdf-tk
1243 pdf-host: maybe-pdf-libtermcap
1244 pdf-host: maybe-pdf-utils
1245 pdf-host: maybe-pdf-gnattools
1247 .PHONY: pdf-target
1249 pdf-target: maybe-pdf-target-libstdc++-v3
1250 pdf-target: maybe-pdf-target-libmudflap
1251 pdf-target: maybe-pdf-target-libssp
1252 pdf-target: maybe-pdf-target-newlib
1253 pdf-target: maybe-pdf-target-libgcc
1254 pdf-target: maybe-pdf-target-libgfortran
1255 pdf-target: maybe-pdf-target-libobjc
1256 pdf-target: maybe-pdf-target-libtermcap
1257 pdf-target: maybe-pdf-target-winsup
1258 pdf-target: maybe-pdf-target-libgloss
1259 pdf-target: maybe-pdf-target-libiberty
1260 pdf-target: maybe-pdf-target-gperf
1261 pdf-target: maybe-pdf-target-examples
1262 pdf-target: maybe-pdf-target-libffi
1263 pdf-target: maybe-pdf-target-libjava
1264 pdf-target: maybe-pdf-target-zlib
1265 pdf-target: maybe-pdf-target-boehm-gc
1266 pdf-target: maybe-pdf-target-qthreads
1267 pdf-target: maybe-pdf-target-rda
1268 pdf-target: maybe-pdf-target-libada
1269 pdf-target: maybe-pdf-target-libgomp
1271 .PHONY: do-html
1272 do-html:
1273 @: $(MAKE); $(unstage)
1274 @r=`${PWD_COMMAND}`; export r; \
1275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1276 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1277 html-target
1280 .PHONY: html-host
1282 html-host: maybe-html-ash
1283 html-host: maybe-html-autoconf
1284 html-host: maybe-html-automake
1285 html-host: maybe-html-bash
1286 html-host: maybe-html-bfd
1287 html-host: maybe-html-opcodes
1288 html-host: maybe-html-binutils
1289 html-host: maybe-html-bison
1290 html-host: maybe-html-byacc
1291 html-host: maybe-html-bzip2
1292 html-host: maybe-html-dejagnu
1293 html-host: maybe-html-diff
1294 html-host: maybe-html-dosutils
1295 html-host: maybe-html-etc
1296 html-host: maybe-html-fastjar
1297 html-host: maybe-html-fileutils
1298 html-host: maybe-html-findutils
1299 html-host: maybe-html-find
1300 html-host: maybe-html-fixincludes
1301 html-host: maybe-html-flex
1302 html-host: maybe-html-gas
1303 html-host: maybe-html-gcc
1304 html-host: maybe-html-gawk
1305 html-host: maybe-html-gettext
1306 html-host: maybe-html-gmp
1307 html-host: maybe-html-mpfr
1308 html-host: maybe-html-ppl
1309 html-host: maybe-html-cloog
1310 html-host: maybe-html-gnuserv
1311 html-host: maybe-html-gold
1312 html-host: maybe-html-gprof
1313 html-host: maybe-html-gzip
1314 html-host: maybe-html-hello
1315 html-host: maybe-html-indent
1316 html-host: maybe-html-intl
1317 html-host: maybe-html-tcl
1318 html-host: maybe-html-itcl
1319 html-host: maybe-html-ld
1320 html-host: maybe-html-libcpp
1321 html-host: maybe-html-libdecnumber
1322 html-host: maybe-html-libgui
1323 html-host: maybe-html-libiberty
1324 html-host: maybe-html-libiconv
1325 html-host: maybe-html-libtool
1326 html-host: maybe-html-m4
1327 html-host: maybe-html-make
1328 html-host: maybe-html-mmalloc
1329 html-host: maybe-html-patch
1330 html-host: maybe-html-perl
1331 html-host: maybe-html-prms
1332 html-host: maybe-html-rcs
1333 html-host: maybe-html-readline
1334 html-host: maybe-html-release
1335 html-host: maybe-html-recode
1336 html-host: maybe-html-sed
1337 html-host: maybe-html-send-pr
1338 html-host: maybe-html-shellutils
1339 html-host: maybe-html-sid
1340 html-host: maybe-html-sim
1341 html-host: maybe-html-tar
1342 html-host: maybe-html-texinfo
1343 html-host: maybe-html-textutils
1344 html-host: maybe-html-time
1345 html-host: maybe-html-uudecode
1346 html-host: maybe-html-wdiff
1347 html-host: maybe-html-zip
1348 html-host: maybe-html-zlib
1349 html-host: maybe-html-gdb
1350 html-host: maybe-html-expect
1351 html-host: maybe-html-guile
1352 html-host: maybe-html-tk
1353 html-host: maybe-html-libtermcap
1354 html-host: maybe-html-utils
1355 html-host: maybe-html-gnattools
1357 .PHONY: html-target
1359 html-target: maybe-html-target-libstdc++-v3
1360 html-target: maybe-html-target-libmudflap
1361 html-target: maybe-html-target-libssp
1362 html-target: maybe-html-target-newlib
1363 html-target: maybe-html-target-libgcc
1364 html-target: maybe-html-target-libgfortran
1365 html-target: maybe-html-target-libobjc
1366 html-target: maybe-html-target-libtermcap
1367 html-target: maybe-html-target-winsup
1368 html-target: maybe-html-target-libgloss
1369 html-target: maybe-html-target-libiberty
1370 html-target: maybe-html-target-gperf
1371 html-target: maybe-html-target-examples
1372 html-target: maybe-html-target-libffi
1373 html-target: maybe-html-target-libjava
1374 html-target: maybe-html-target-zlib
1375 html-target: maybe-html-target-boehm-gc
1376 html-target: maybe-html-target-qthreads
1377 html-target: maybe-html-target-rda
1378 html-target: maybe-html-target-libada
1379 html-target: maybe-html-target-libgomp
1381 .PHONY: do-TAGS
1382 do-TAGS:
1383 @: $(MAKE); $(unstage)
1384 @r=`${PWD_COMMAND}`; export r; \
1385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1386 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1387 TAGS-target
1390 .PHONY: TAGS-host
1392 TAGS-host: maybe-TAGS-ash
1393 TAGS-host: maybe-TAGS-autoconf
1394 TAGS-host: maybe-TAGS-automake
1395 TAGS-host: maybe-TAGS-bash
1396 TAGS-host: maybe-TAGS-bfd
1397 TAGS-host: maybe-TAGS-opcodes
1398 TAGS-host: maybe-TAGS-binutils
1399 TAGS-host: maybe-TAGS-bison
1400 TAGS-host: maybe-TAGS-byacc
1401 TAGS-host: maybe-TAGS-bzip2
1402 TAGS-host: maybe-TAGS-dejagnu
1403 TAGS-host: maybe-TAGS-diff
1404 TAGS-host: maybe-TAGS-dosutils
1405 TAGS-host: maybe-TAGS-etc
1406 TAGS-host: maybe-TAGS-fastjar
1407 TAGS-host: maybe-TAGS-fileutils
1408 TAGS-host: maybe-TAGS-findutils
1409 TAGS-host: maybe-TAGS-find
1410 TAGS-host: maybe-TAGS-fixincludes
1411 TAGS-host: maybe-TAGS-flex
1412 TAGS-host: maybe-TAGS-gas
1413 TAGS-host: maybe-TAGS-gcc
1414 TAGS-host: maybe-TAGS-gawk
1415 TAGS-host: maybe-TAGS-gettext
1416 TAGS-host: maybe-TAGS-gmp
1417 TAGS-host: maybe-TAGS-mpfr
1418 TAGS-host: maybe-TAGS-ppl
1419 TAGS-host: maybe-TAGS-cloog
1420 TAGS-host: maybe-TAGS-gnuserv
1421 TAGS-host: maybe-TAGS-gold
1422 TAGS-host: maybe-TAGS-gprof
1423 TAGS-host: maybe-TAGS-gzip
1424 TAGS-host: maybe-TAGS-hello
1425 TAGS-host: maybe-TAGS-indent
1426 TAGS-host: maybe-TAGS-intl
1427 TAGS-host: maybe-TAGS-tcl
1428 TAGS-host: maybe-TAGS-itcl
1429 TAGS-host: maybe-TAGS-ld
1430 TAGS-host: maybe-TAGS-libcpp
1431 TAGS-host: maybe-TAGS-libdecnumber
1432 TAGS-host: maybe-TAGS-libgui
1433 TAGS-host: maybe-TAGS-libiberty
1434 TAGS-host: maybe-TAGS-libiconv
1435 TAGS-host: maybe-TAGS-libtool
1436 TAGS-host: maybe-TAGS-m4
1437 TAGS-host: maybe-TAGS-make
1438 TAGS-host: maybe-TAGS-mmalloc
1439 TAGS-host: maybe-TAGS-patch
1440 TAGS-host: maybe-TAGS-perl
1441 TAGS-host: maybe-TAGS-prms
1442 TAGS-host: maybe-TAGS-rcs
1443 TAGS-host: maybe-TAGS-readline
1444 TAGS-host: maybe-TAGS-release
1445 TAGS-host: maybe-TAGS-recode
1446 TAGS-host: maybe-TAGS-sed
1447 TAGS-host: maybe-TAGS-send-pr
1448 TAGS-host: maybe-TAGS-shellutils
1449 TAGS-host: maybe-TAGS-sid
1450 TAGS-host: maybe-TAGS-sim
1451 TAGS-host: maybe-TAGS-tar
1452 TAGS-host: maybe-TAGS-texinfo
1453 TAGS-host: maybe-TAGS-textutils
1454 TAGS-host: maybe-TAGS-time
1455 TAGS-host: maybe-TAGS-uudecode
1456 TAGS-host: maybe-TAGS-wdiff
1457 TAGS-host: maybe-TAGS-zip
1458 TAGS-host: maybe-TAGS-zlib
1459 TAGS-host: maybe-TAGS-gdb
1460 TAGS-host: maybe-TAGS-expect
1461 TAGS-host: maybe-TAGS-guile
1462 TAGS-host: maybe-TAGS-tk
1463 TAGS-host: maybe-TAGS-libtermcap
1464 TAGS-host: maybe-TAGS-utils
1465 TAGS-host: maybe-TAGS-gnattools
1467 .PHONY: TAGS-target
1469 TAGS-target: maybe-TAGS-target-libstdc++-v3
1470 TAGS-target: maybe-TAGS-target-libmudflap
1471 TAGS-target: maybe-TAGS-target-libssp
1472 TAGS-target: maybe-TAGS-target-newlib
1473 TAGS-target: maybe-TAGS-target-libgcc
1474 TAGS-target: maybe-TAGS-target-libgfortran
1475 TAGS-target: maybe-TAGS-target-libobjc
1476 TAGS-target: maybe-TAGS-target-libtermcap
1477 TAGS-target: maybe-TAGS-target-winsup
1478 TAGS-target: maybe-TAGS-target-libgloss
1479 TAGS-target: maybe-TAGS-target-libiberty
1480 TAGS-target: maybe-TAGS-target-gperf
1481 TAGS-target: maybe-TAGS-target-examples
1482 TAGS-target: maybe-TAGS-target-libffi
1483 TAGS-target: maybe-TAGS-target-libjava
1484 TAGS-target: maybe-TAGS-target-zlib
1485 TAGS-target: maybe-TAGS-target-boehm-gc
1486 TAGS-target: maybe-TAGS-target-qthreads
1487 TAGS-target: maybe-TAGS-target-rda
1488 TAGS-target: maybe-TAGS-target-libada
1489 TAGS-target: maybe-TAGS-target-libgomp
1491 .PHONY: do-install-info
1492 do-install-info:
1493 @: $(MAKE); $(unstage)
1494 @r=`${PWD_COMMAND}`; export r; \
1495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1496 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1497 install-info-target
1500 .PHONY: install-info-host
1502 install-info-host: maybe-install-info-ash
1503 install-info-host: maybe-install-info-autoconf
1504 install-info-host: maybe-install-info-automake
1505 install-info-host: maybe-install-info-bash
1506 install-info-host: maybe-install-info-bfd
1507 install-info-host: maybe-install-info-opcodes
1508 install-info-host: maybe-install-info-binutils
1509 install-info-host: maybe-install-info-bison
1510 install-info-host: maybe-install-info-byacc
1511 install-info-host: maybe-install-info-bzip2
1512 install-info-host: maybe-install-info-dejagnu
1513 install-info-host: maybe-install-info-diff
1514 install-info-host: maybe-install-info-dosutils
1515 install-info-host: maybe-install-info-etc
1516 install-info-host: maybe-install-info-fastjar
1517 install-info-host: maybe-install-info-fileutils
1518 install-info-host: maybe-install-info-findutils
1519 install-info-host: maybe-install-info-find
1520 install-info-host: maybe-install-info-fixincludes
1521 install-info-host: maybe-install-info-flex
1522 install-info-host: maybe-install-info-gas
1523 install-info-host: maybe-install-info-gcc
1524 install-info-host: maybe-install-info-gawk
1525 install-info-host: maybe-install-info-gettext
1526 install-info-host: maybe-install-info-gmp
1527 install-info-host: maybe-install-info-mpfr
1528 install-info-host: maybe-install-info-ppl
1529 install-info-host: maybe-install-info-cloog
1530 install-info-host: maybe-install-info-gnuserv
1531 install-info-host: maybe-install-info-gold
1532 install-info-host: maybe-install-info-gprof
1533 install-info-host: maybe-install-info-gzip
1534 install-info-host: maybe-install-info-hello
1535 install-info-host: maybe-install-info-indent
1536 install-info-host: maybe-install-info-intl
1537 install-info-host: maybe-install-info-tcl
1538 install-info-host: maybe-install-info-itcl
1539 install-info-host: maybe-install-info-ld
1540 install-info-host: maybe-install-info-libcpp
1541 install-info-host: maybe-install-info-libdecnumber
1542 install-info-host: maybe-install-info-libgui
1543 install-info-host: maybe-install-info-libiberty
1544 install-info-host: maybe-install-info-libiconv
1545 install-info-host: maybe-install-info-libtool
1546 install-info-host: maybe-install-info-m4
1547 install-info-host: maybe-install-info-make
1548 install-info-host: maybe-install-info-mmalloc
1549 install-info-host: maybe-install-info-patch
1550 install-info-host: maybe-install-info-perl
1551 install-info-host: maybe-install-info-prms
1552 install-info-host: maybe-install-info-rcs
1553 install-info-host: maybe-install-info-readline
1554 install-info-host: maybe-install-info-release
1555 install-info-host: maybe-install-info-recode
1556 install-info-host: maybe-install-info-sed
1557 install-info-host: maybe-install-info-send-pr
1558 install-info-host: maybe-install-info-shellutils
1559 install-info-host: maybe-install-info-sid
1560 install-info-host: maybe-install-info-sim
1561 install-info-host: maybe-install-info-tar
1562 install-info-host: maybe-install-info-texinfo
1563 install-info-host: maybe-install-info-textutils
1564 install-info-host: maybe-install-info-time
1565 install-info-host: maybe-install-info-uudecode
1566 install-info-host: maybe-install-info-wdiff
1567 install-info-host: maybe-install-info-zip
1568 install-info-host: maybe-install-info-zlib
1569 install-info-host: maybe-install-info-gdb
1570 install-info-host: maybe-install-info-expect
1571 install-info-host: maybe-install-info-guile
1572 install-info-host: maybe-install-info-tk
1573 install-info-host: maybe-install-info-libtermcap
1574 install-info-host: maybe-install-info-utils
1575 install-info-host: maybe-install-info-gnattools
1577 .PHONY: install-info-target
1579 install-info-target: maybe-install-info-target-libstdc++-v3
1580 install-info-target: maybe-install-info-target-libmudflap
1581 install-info-target: maybe-install-info-target-libssp
1582 install-info-target: maybe-install-info-target-newlib
1583 install-info-target: maybe-install-info-target-libgcc
1584 install-info-target: maybe-install-info-target-libgfortran
1585 install-info-target: maybe-install-info-target-libobjc
1586 install-info-target: maybe-install-info-target-libtermcap
1587 install-info-target: maybe-install-info-target-winsup
1588 install-info-target: maybe-install-info-target-libgloss
1589 install-info-target: maybe-install-info-target-libiberty
1590 install-info-target: maybe-install-info-target-gperf
1591 install-info-target: maybe-install-info-target-examples
1592 install-info-target: maybe-install-info-target-libffi
1593 install-info-target: maybe-install-info-target-libjava
1594 install-info-target: maybe-install-info-target-zlib
1595 install-info-target: maybe-install-info-target-boehm-gc
1596 install-info-target: maybe-install-info-target-qthreads
1597 install-info-target: maybe-install-info-target-rda
1598 install-info-target: maybe-install-info-target-libada
1599 install-info-target: maybe-install-info-target-libgomp
1601 .PHONY: do-install-pdf
1602 do-install-pdf:
1603 @: $(MAKE); $(unstage)
1604 @r=`${PWD_COMMAND}`; export r; \
1605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1606 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1607 install-pdf-target
1610 .PHONY: install-pdf-host
1612 install-pdf-host: maybe-install-pdf-ash
1613 install-pdf-host: maybe-install-pdf-autoconf
1614 install-pdf-host: maybe-install-pdf-automake
1615 install-pdf-host: maybe-install-pdf-bash
1616 install-pdf-host: maybe-install-pdf-bfd
1617 install-pdf-host: maybe-install-pdf-opcodes
1618 install-pdf-host: maybe-install-pdf-binutils
1619 install-pdf-host: maybe-install-pdf-bison
1620 install-pdf-host: maybe-install-pdf-byacc
1621 install-pdf-host: maybe-install-pdf-bzip2
1622 install-pdf-host: maybe-install-pdf-dejagnu
1623 install-pdf-host: maybe-install-pdf-diff
1624 install-pdf-host: maybe-install-pdf-dosutils
1625 install-pdf-host: maybe-install-pdf-etc
1626 install-pdf-host: maybe-install-pdf-fastjar
1627 install-pdf-host: maybe-install-pdf-fileutils
1628 install-pdf-host: maybe-install-pdf-findutils
1629 install-pdf-host: maybe-install-pdf-find
1630 install-pdf-host: maybe-install-pdf-fixincludes
1631 install-pdf-host: maybe-install-pdf-flex
1632 install-pdf-host: maybe-install-pdf-gas
1633 install-pdf-host: maybe-install-pdf-gcc
1634 install-pdf-host: maybe-install-pdf-gawk
1635 install-pdf-host: maybe-install-pdf-gettext
1636 install-pdf-host: maybe-install-pdf-gmp
1637 install-pdf-host: maybe-install-pdf-mpfr
1638 install-pdf-host: maybe-install-pdf-ppl
1639 install-pdf-host: maybe-install-pdf-cloog
1640 install-pdf-host: maybe-install-pdf-gnuserv
1641 install-pdf-host: maybe-install-pdf-gold
1642 install-pdf-host: maybe-install-pdf-gprof
1643 install-pdf-host: maybe-install-pdf-gzip
1644 install-pdf-host: maybe-install-pdf-hello
1645 install-pdf-host: maybe-install-pdf-indent
1646 install-pdf-host: maybe-install-pdf-intl
1647 install-pdf-host: maybe-install-pdf-tcl
1648 install-pdf-host: maybe-install-pdf-itcl
1649 install-pdf-host: maybe-install-pdf-ld
1650 install-pdf-host: maybe-install-pdf-libcpp
1651 install-pdf-host: maybe-install-pdf-libdecnumber
1652 install-pdf-host: maybe-install-pdf-libgui
1653 install-pdf-host: maybe-install-pdf-libiberty
1654 install-pdf-host: maybe-install-pdf-libiconv
1655 install-pdf-host: maybe-install-pdf-libtool
1656 install-pdf-host: maybe-install-pdf-m4
1657 install-pdf-host: maybe-install-pdf-make
1658 install-pdf-host: maybe-install-pdf-mmalloc
1659 install-pdf-host: maybe-install-pdf-patch
1660 install-pdf-host: maybe-install-pdf-perl
1661 install-pdf-host: maybe-install-pdf-prms
1662 install-pdf-host: maybe-install-pdf-rcs
1663 install-pdf-host: maybe-install-pdf-readline
1664 install-pdf-host: maybe-install-pdf-release
1665 install-pdf-host: maybe-install-pdf-recode
1666 install-pdf-host: maybe-install-pdf-sed
1667 install-pdf-host: maybe-install-pdf-send-pr
1668 install-pdf-host: maybe-install-pdf-shellutils
1669 install-pdf-host: maybe-install-pdf-sid
1670 install-pdf-host: maybe-install-pdf-sim
1671 install-pdf-host: maybe-install-pdf-tar
1672 install-pdf-host: maybe-install-pdf-texinfo
1673 install-pdf-host: maybe-install-pdf-textutils
1674 install-pdf-host: maybe-install-pdf-time
1675 install-pdf-host: maybe-install-pdf-uudecode
1676 install-pdf-host: maybe-install-pdf-wdiff
1677 install-pdf-host: maybe-install-pdf-zip
1678 install-pdf-host: maybe-install-pdf-zlib
1679 install-pdf-host: maybe-install-pdf-gdb
1680 install-pdf-host: maybe-install-pdf-expect
1681 install-pdf-host: maybe-install-pdf-guile
1682 install-pdf-host: maybe-install-pdf-tk
1683 install-pdf-host: maybe-install-pdf-libtermcap
1684 install-pdf-host: maybe-install-pdf-utils
1685 install-pdf-host: maybe-install-pdf-gnattools
1687 .PHONY: install-pdf-target
1689 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1690 install-pdf-target: maybe-install-pdf-target-libmudflap
1691 install-pdf-target: maybe-install-pdf-target-libssp
1692 install-pdf-target: maybe-install-pdf-target-newlib
1693 install-pdf-target: maybe-install-pdf-target-libgcc
1694 install-pdf-target: maybe-install-pdf-target-libgfortran
1695 install-pdf-target: maybe-install-pdf-target-libobjc
1696 install-pdf-target: maybe-install-pdf-target-libtermcap
1697 install-pdf-target: maybe-install-pdf-target-winsup
1698 install-pdf-target: maybe-install-pdf-target-libgloss
1699 install-pdf-target: maybe-install-pdf-target-libiberty
1700 install-pdf-target: maybe-install-pdf-target-gperf
1701 install-pdf-target: maybe-install-pdf-target-examples
1702 install-pdf-target: maybe-install-pdf-target-libffi
1703 install-pdf-target: maybe-install-pdf-target-libjava
1704 install-pdf-target: maybe-install-pdf-target-zlib
1705 install-pdf-target: maybe-install-pdf-target-boehm-gc
1706 install-pdf-target: maybe-install-pdf-target-qthreads
1707 install-pdf-target: maybe-install-pdf-target-rda
1708 install-pdf-target: maybe-install-pdf-target-libada
1709 install-pdf-target: maybe-install-pdf-target-libgomp
1711 .PHONY: do-install-html
1712 do-install-html:
1713 @: $(MAKE); $(unstage)
1714 @r=`${PWD_COMMAND}`; export r; \
1715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1716 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1717 install-html-target
1720 .PHONY: install-html-host
1722 install-html-host: maybe-install-html-ash
1723 install-html-host: maybe-install-html-autoconf
1724 install-html-host: maybe-install-html-automake
1725 install-html-host: maybe-install-html-bash
1726 install-html-host: maybe-install-html-bfd
1727 install-html-host: maybe-install-html-opcodes
1728 install-html-host: maybe-install-html-binutils
1729 install-html-host: maybe-install-html-bison
1730 install-html-host: maybe-install-html-byacc
1731 install-html-host: maybe-install-html-bzip2
1732 install-html-host: maybe-install-html-dejagnu
1733 install-html-host: maybe-install-html-diff
1734 install-html-host: maybe-install-html-dosutils
1735 install-html-host: maybe-install-html-etc
1736 install-html-host: maybe-install-html-fastjar
1737 install-html-host: maybe-install-html-fileutils
1738 install-html-host: maybe-install-html-findutils
1739 install-html-host: maybe-install-html-find
1740 install-html-host: maybe-install-html-fixincludes
1741 install-html-host: maybe-install-html-flex
1742 install-html-host: maybe-install-html-gas
1743 install-html-host: maybe-install-html-gcc
1744 install-html-host: maybe-install-html-gawk
1745 install-html-host: maybe-install-html-gettext
1746 install-html-host: maybe-install-html-gmp
1747 install-html-host: maybe-install-html-mpfr
1748 install-html-host: maybe-install-html-ppl
1749 install-html-host: maybe-install-html-cloog
1750 install-html-host: maybe-install-html-gnuserv
1751 install-html-host: maybe-install-html-gold
1752 install-html-host: maybe-install-html-gprof
1753 install-html-host: maybe-install-html-gzip
1754 install-html-host: maybe-install-html-hello
1755 install-html-host: maybe-install-html-indent
1756 install-html-host: maybe-install-html-intl
1757 install-html-host: maybe-install-html-tcl
1758 install-html-host: maybe-install-html-itcl
1759 install-html-host: maybe-install-html-ld
1760 install-html-host: maybe-install-html-libcpp
1761 install-html-host: maybe-install-html-libdecnumber
1762 install-html-host: maybe-install-html-libgui
1763 install-html-host: maybe-install-html-libiberty
1764 install-html-host: maybe-install-html-libiconv
1765 install-html-host: maybe-install-html-libtool
1766 install-html-host: maybe-install-html-m4
1767 install-html-host: maybe-install-html-make
1768 install-html-host: maybe-install-html-mmalloc
1769 install-html-host: maybe-install-html-patch
1770 install-html-host: maybe-install-html-perl
1771 install-html-host: maybe-install-html-prms
1772 install-html-host: maybe-install-html-rcs
1773 install-html-host: maybe-install-html-readline
1774 install-html-host: maybe-install-html-release
1775 install-html-host: maybe-install-html-recode
1776 install-html-host: maybe-install-html-sed
1777 install-html-host: maybe-install-html-send-pr
1778 install-html-host: maybe-install-html-shellutils
1779 install-html-host: maybe-install-html-sid
1780 install-html-host: maybe-install-html-sim
1781 install-html-host: maybe-install-html-tar
1782 install-html-host: maybe-install-html-texinfo
1783 install-html-host: maybe-install-html-textutils
1784 install-html-host: maybe-install-html-time
1785 install-html-host: maybe-install-html-uudecode
1786 install-html-host: maybe-install-html-wdiff
1787 install-html-host: maybe-install-html-zip
1788 install-html-host: maybe-install-html-zlib
1789 install-html-host: maybe-install-html-gdb
1790 install-html-host: maybe-install-html-expect
1791 install-html-host: maybe-install-html-guile
1792 install-html-host: maybe-install-html-tk
1793 install-html-host: maybe-install-html-libtermcap
1794 install-html-host: maybe-install-html-utils
1795 install-html-host: maybe-install-html-gnattools
1797 .PHONY: install-html-target
1799 install-html-target: maybe-install-html-target-libstdc++-v3
1800 install-html-target: maybe-install-html-target-libmudflap
1801 install-html-target: maybe-install-html-target-libssp
1802 install-html-target: maybe-install-html-target-newlib
1803 install-html-target: maybe-install-html-target-libgcc
1804 install-html-target: maybe-install-html-target-libgfortran
1805 install-html-target: maybe-install-html-target-libobjc
1806 install-html-target: maybe-install-html-target-libtermcap
1807 install-html-target: maybe-install-html-target-winsup
1808 install-html-target: maybe-install-html-target-libgloss
1809 install-html-target: maybe-install-html-target-libiberty
1810 install-html-target: maybe-install-html-target-gperf
1811 install-html-target: maybe-install-html-target-examples
1812 install-html-target: maybe-install-html-target-libffi
1813 install-html-target: maybe-install-html-target-libjava
1814 install-html-target: maybe-install-html-target-zlib
1815 install-html-target: maybe-install-html-target-boehm-gc
1816 install-html-target: maybe-install-html-target-qthreads
1817 install-html-target: maybe-install-html-target-rda
1818 install-html-target: maybe-install-html-target-libada
1819 install-html-target: maybe-install-html-target-libgomp
1821 .PHONY: do-installcheck
1822 do-installcheck:
1823 @: $(MAKE); $(unstage)
1824 @r=`${PWD_COMMAND}`; export r; \
1825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1826 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1827 installcheck-target
1830 .PHONY: installcheck-host
1832 installcheck-host: maybe-installcheck-ash
1833 installcheck-host: maybe-installcheck-autoconf
1834 installcheck-host: maybe-installcheck-automake
1835 installcheck-host: maybe-installcheck-bash
1836 installcheck-host: maybe-installcheck-bfd
1837 installcheck-host: maybe-installcheck-opcodes
1838 installcheck-host: maybe-installcheck-binutils
1839 installcheck-host: maybe-installcheck-bison
1840 installcheck-host: maybe-installcheck-byacc
1841 installcheck-host: maybe-installcheck-bzip2
1842 installcheck-host: maybe-installcheck-dejagnu
1843 installcheck-host: maybe-installcheck-diff
1844 installcheck-host: maybe-installcheck-dosutils
1845 installcheck-host: maybe-installcheck-etc
1846 installcheck-host: maybe-installcheck-fastjar
1847 installcheck-host: maybe-installcheck-fileutils
1848 installcheck-host: maybe-installcheck-findutils
1849 installcheck-host: maybe-installcheck-find
1850 installcheck-host: maybe-installcheck-fixincludes
1851 installcheck-host: maybe-installcheck-flex
1852 installcheck-host: maybe-installcheck-gas
1853 installcheck-host: maybe-installcheck-gcc
1854 installcheck-host: maybe-installcheck-gawk
1855 installcheck-host: maybe-installcheck-gettext
1856 installcheck-host: maybe-installcheck-gmp
1857 installcheck-host: maybe-installcheck-mpfr
1858 installcheck-host: maybe-installcheck-ppl
1859 installcheck-host: maybe-installcheck-cloog
1860 installcheck-host: maybe-installcheck-gnuserv
1861 installcheck-host: maybe-installcheck-gold
1862 installcheck-host: maybe-installcheck-gprof
1863 installcheck-host: maybe-installcheck-gzip
1864 installcheck-host: maybe-installcheck-hello
1865 installcheck-host: maybe-installcheck-indent
1866 installcheck-host: maybe-installcheck-intl
1867 installcheck-host: maybe-installcheck-tcl
1868 installcheck-host: maybe-installcheck-itcl
1869 installcheck-host: maybe-installcheck-ld
1870 installcheck-host: maybe-installcheck-libcpp
1871 installcheck-host: maybe-installcheck-libdecnumber
1872 installcheck-host: maybe-installcheck-libgui
1873 installcheck-host: maybe-installcheck-libiberty
1874 installcheck-host: maybe-installcheck-libiconv
1875 installcheck-host: maybe-installcheck-libtool
1876 installcheck-host: maybe-installcheck-m4
1877 installcheck-host: maybe-installcheck-make
1878 installcheck-host: maybe-installcheck-mmalloc
1879 installcheck-host: maybe-installcheck-patch
1880 installcheck-host: maybe-installcheck-perl
1881 installcheck-host: maybe-installcheck-prms
1882 installcheck-host: maybe-installcheck-rcs
1883 installcheck-host: maybe-installcheck-readline
1884 installcheck-host: maybe-installcheck-release
1885 installcheck-host: maybe-installcheck-recode
1886 installcheck-host: maybe-installcheck-sed
1887 installcheck-host: maybe-installcheck-send-pr
1888 installcheck-host: maybe-installcheck-shellutils
1889 installcheck-host: maybe-installcheck-sid
1890 installcheck-host: maybe-installcheck-sim
1891 installcheck-host: maybe-installcheck-tar
1892 installcheck-host: maybe-installcheck-texinfo
1893 installcheck-host: maybe-installcheck-textutils
1894 installcheck-host: maybe-installcheck-time
1895 installcheck-host: maybe-installcheck-uudecode
1896 installcheck-host: maybe-installcheck-wdiff
1897 installcheck-host: maybe-installcheck-zip
1898 installcheck-host: maybe-installcheck-zlib
1899 installcheck-host: maybe-installcheck-gdb
1900 installcheck-host: maybe-installcheck-expect
1901 installcheck-host: maybe-installcheck-guile
1902 installcheck-host: maybe-installcheck-tk
1903 installcheck-host: maybe-installcheck-libtermcap
1904 installcheck-host: maybe-installcheck-utils
1905 installcheck-host: maybe-installcheck-gnattools
1907 .PHONY: installcheck-target
1909 installcheck-target: maybe-installcheck-target-libstdc++-v3
1910 installcheck-target: maybe-installcheck-target-libmudflap
1911 installcheck-target: maybe-installcheck-target-libssp
1912 installcheck-target: maybe-installcheck-target-newlib
1913 installcheck-target: maybe-installcheck-target-libgcc
1914 installcheck-target: maybe-installcheck-target-libgfortran
1915 installcheck-target: maybe-installcheck-target-libobjc
1916 installcheck-target: maybe-installcheck-target-libtermcap
1917 installcheck-target: maybe-installcheck-target-winsup
1918 installcheck-target: maybe-installcheck-target-libgloss
1919 installcheck-target: maybe-installcheck-target-libiberty
1920 installcheck-target: maybe-installcheck-target-gperf
1921 installcheck-target: maybe-installcheck-target-examples
1922 installcheck-target: maybe-installcheck-target-libffi
1923 installcheck-target: maybe-installcheck-target-libjava
1924 installcheck-target: maybe-installcheck-target-zlib
1925 installcheck-target: maybe-installcheck-target-boehm-gc
1926 installcheck-target: maybe-installcheck-target-qthreads
1927 installcheck-target: maybe-installcheck-target-rda
1928 installcheck-target: maybe-installcheck-target-libada
1929 installcheck-target: maybe-installcheck-target-libgomp
1931 .PHONY: do-mostlyclean
1932 do-mostlyclean:
1933 @: $(MAKE); $(unstage)
1934 @r=`${PWD_COMMAND}`; export r; \
1935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1936 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1937 mostlyclean-target
1940 .PHONY: mostlyclean-host
1942 mostlyclean-host: maybe-mostlyclean-ash
1943 mostlyclean-host: maybe-mostlyclean-autoconf
1944 mostlyclean-host: maybe-mostlyclean-automake
1945 mostlyclean-host: maybe-mostlyclean-bash
1946 mostlyclean-host: maybe-mostlyclean-bfd
1947 mostlyclean-host: maybe-mostlyclean-opcodes
1948 mostlyclean-host: maybe-mostlyclean-binutils
1949 mostlyclean-host: maybe-mostlyclean-bison
1950 mostlyclean-host: maybe-mostlyclean-byacc
1951 mostlyclean-host: maybe-mostlyclean-bzip2
1952 mostlyclean-host: maybe-mostlyclean-dejagnu
1953 mostlyclean-host: maybe-mostlyclean-diff
1954 mostlyclean-host: maybe-mostlyclean-dosutils
1955 mostlyclean-host: maybe-mostlyclean-etc
1956 mostlyclean-host: maybe-mostlyclean-fastjar
1957 mostlyclean-host: maybe-mostlyclean-fileutils
1958 mostlyclean-host: maybe-mostlyclean-findutils
1959 mostlyclean-host: maybe-mostlyclean-find
1960 mostlyclean-host: maybe-mostlyclean-fixincludes
1961 mostlyclean-host: maybe-mostlyclean-flex
1962 mostlyclean-host: maybe-mostlyclean-gas
1963 mostlyclean-host: maybe-mostlyclean-gcc
1964 mostlyclean-host: maybe-mostlyclean-gawk
1965 mostlyclean-host: maybe-mostlyclean-gettext
1966 mostlyclean-host: maybe-mostlyclean-gmp
1967 mostlyclean-host: maybe-mostlyclean-mpfr
1968 mostlyclean-host: maybe-mostlyclean-ppl
1969 mostlyclean-host: maybe-mostlyclean-cloog
1970 mostlyclean-host: maybe-mostlyclean-gnuserv
1971 mostlyclean-host: maybe-mostlyclean-gold
1972 mostlyclean-host: maybe-mostlyclean-gprof
1973 mostlyclean-host: maybe-mostlyclean-gzip
1974 mostlyclean-host: maybe-mostlyclean-hello
1975 mostlyclean-host: maybe-mostlyclean-indent
1976 mostlyclean-host: maybe-mostlyclean-intl
1977 mostlyclean-host: maybe-mostlyclean-tcl
1978 mostlyclean-host: maybe-mostlyclean-itcl
1979 mostlyclean-host: maybe-mostlyclean-ld
1980 mostlyclean-host: maybe-mostlyclean-libcpp
1981 mostlyclean-host: maybe-mostlyclean-libdecnumber
1982 mostlyclean-host: maybe-mostlyclean-libgui
1983 mostlyclean-host: maybe-mostlyclean-libiberty
1984 mostlyclean-host: maybe-mostlyclean-libiconv
1985 mostlyclean-host: maybe-mostlyclean-libtool
1986 mostlyclean-host: maybe-mostlyclean-m4
1987 mostlyclean-host: maybe-mostlyclean-make
1988 mostlyclean-host: maybe-mostlyclean-mmalloc
1989 mostlyclean-host: maybe-mostlyclean-patch
1990 mostlyclean-host: maybe-mostlyclean-perl
1991 mostlyclean-host: maybe-mostlyclean-prms
1992 mostlyclean-host: maybe-mostlyclean-rcs
1993 mostlyclean-host: maybe-mostlyclean-readline
1994 mostlyclean-host: maybe-mostlyclean-release
1995 mostlyclean-host: maybe-mostlyclean-recode
1996 mostlyclean-host: maybe-mostlyclean-sed
1997 mostlyclean-host: maybe-mostlyclean-send-pr
1998 mostlyclean-host: maybe-mostlyclean-shellutils
1999 mostlyclean-host: maybe-mostlyclean-sid
2000 mostlyclean-host: maybe-mostlyclean-sim
2001 mostlyclean-host: maybe-mostlyclean-tar
2002 mostlyclean-host: maybe-mostlyclean-texinfo
2003 mostlyclean-host: maybe-mostlyclean-textutils
2004 mostlyclean-host: maybe-mostlyclean-time
2005 mostlyclean-host: maybe-mostlyclean-uudecode
2006 mostlyclean-host: maybe-mostlyclean-wdiff
2007 mostlyclean-host: maybe-mostlyclean-zip
2008 mostlyclean-host: maybe-mostlyclean-zlib
2009 mostlyclean-host: maybe-mostlyclean-gdb
2010 mostlyclean-host: maybe-mostlyclean-expect
2011 mostlyclean-host: maybe-mostlyclean-guile
2012 mostlyclean-host: maybe-mostlyclean-tk
2013 mostlyclean-host: maybe-mostlyclean-libtermcap
2014 mostlyclean-host: maybe-mostlyclean-utils
2015 mostlyclean-host: maybe-mostlyclean-gnattools
2017 .PHONY: mostlyclean-target
2019 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2020 mostlyclean-target: maybe-mostlyclean-target-libmudflap
2021 mostlyclean-target: maybe-mostlyclean-target-libssp
2022 mostlyclean-target: maybe-mostlyclean-target-newlib
2023 mostlyclean-target: maybe-mostlyclean-target-libgcc
2024 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2025 mostlyclean-target: maybe-mostlyclean-target-libobjc
2026 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2027 mostlyclean-target: maybe-mostlyclean-target-winsup
2028 mostlyclean-target: maybe-mostlyclean-target-libgloss
2029 mostlyclean-target: maybe-mostlyclean-target-libiberty
2030 mostlyclean-target: maybe-mostlyclean-target-gperf
2031 mostlyclean-target: maybe-mostlyclean-target-examples
2032 mostlyclean-target: maybe-mostlyclean-target-libffi
2033 mostlyclean-target: maybe-mostlyclean-target-libjava
2034 mostlyclean-target: maybe-mostlyclean-target-zlib
2035 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2036 mostlyclean-target: maybe-mostlyclean-target-qthreads
2037 mostlyclean-target: maybe-mostlyclean-target-rda
2038 mostlyclean-target: maybe-mostlyclean-target-libada
2039 mostlyclean-target: maybe-mostlyclean-target-libgomp
2041 .PHONY: do-clean
2042 do-clean:
2043 @: $(MAKE); $(unstage)
2044 @r=`${PWD_COMMAND}`; export r; \
2045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2046 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2047 clean-target
2050 .PHONY: clean-host
2052 clean-host: maybe-clean-ash
2053 clean-host: maybe-clean-autoconf
2054 clean-host: maybe-clean-automake
2055 clean-host: maybe-clean-bash
2056 clean-host: maybe-clean-bfd
2057 clean-host: maybe-clean-opcodes
2058 clean-host: maybe-clean-binutils
2059 clean-host: maybe-clean-bison
2060 clean-host: maybe-clean-byacc
2061 clean-host: maybe-clean-bzip2
2062 clean-host: maybe-clean-dejagnu
2063 clean-host: maybe-clean-diff
2064 clean-host: maybe-clean-dosutils
2065 clean-host: maybe-clean-etc
2066 clean-host: maybe-clean-fastjar
2067 clean-host: maybe-clean-fileutils
2068 clean-host: maybe-clean-findutils
2069 clean-host: maybe-clean-find
2070 clean-host: maybe-clean-fixincludes
2071 clean-host: maybe-clean-flex
2072 clean-host: maybe-clean-gas
2073 clean-host: maybe-clean-gcc
2074 clean-host: maybe-clean-gawk
2075 clean-host: maybe-clean-gettext
2076 clean-host: maybe-clean-gmp
2077 clean-host: maybe-clean-mpfr
2078 clean-host: maybe-clean-ppl
2079 clean-host: maybe-clean-cloog
2080 clean-host: maybe-clean-gnuserv
2081 clean-host: maybe-clean-gold
2082 clean-host: maybe-clean-gprof
2083 clean-host: maybe-clean-gzip
2084 clean-host: maybe-clean-hello
2085 clean-host: maybe-clean-indent
2086 clean-host: maybe-clean-intl
2087 clean-host: maybe-clean-tcl
2088 clean-host: maybe-clean-itcl
2089 clean-host: maybe-clean-ld
2090 clean-host: maybe-clean-libcpp
2091 clean-host: maybe-clean-libdecnumber
2092 clean-host: maybe-clean-libgui
2093 clean-host: maybe-clean-libiberty
2094 clean-host: maybe-clean-libiconv
2095 clean-host: maybe-clean-libtool
2096 clean-host: maybe-clean-m4
2097 clean-host: maybe-clean-make
2098 clean-host: maybe-clean-mmalloc
2099 clean-host: maybe-clean-patch
2100 clean-host: maybe-clean-perl
2101 clean-host: maybe-clean-prms
2102 clean-host: maybe-clean-rcs
2103 clean-host: maybe-clean-readline
2104 clean-host: maybe-clean-release
2105 clean-host: maybe-clean-recode
2106 clean-host: maybe-clean-sed
2107 clean-host: maybe-clean-send-pr
2108 clean-host: maybe-clean-shellutils
2109 clean-host: maybe-clean-sid
2110 clean-host: maybe-clean-sim
2111 clean-host: maybe-clean-tar
2112 clean-host: maybe-clean-texinfo
2113 clean-host: maybe-clean-textutils
2114 clean-host: maybe-clean-time
2115 clean-host: maybe-clean-uudecode
2116 clean-host: maybe-clean-wdiff
2117 clean-host: maybe-clean-zip
2118 clean-host: maybe-clean-zlib
2119 clean-host: maybe-clean-gdb
2120 clean-host: maybe-clean-expect
2121 clean-host: maybe-clean-guile
2122 clean-host: maybe-clean-tk
2123 clean-host: maybe-clean-libtermcap
2124 clean-host: maybe-clean-utils
2125 clean-host: maybe-clean-gnattools
2127 .PHONY: clean-target
2129 clean-target: maybe-clean-target-libstdc++-v3
2130 clean-target: maybe-clean-target-libmudflap
2131 clean-target: maybe-clean-target-libssp
2132 clean-target: maybe-clean-target-newlib
2133 clean-target: maybe-clean-target-libgcc
2134 clean-target: maybe-clean-target-libgfortran
2135 clean-target: maybe-clean-target-libobjc
2136 clean-target: maybe-clean-target-libtermcap
2137 clean-target: maybe-clean-target-winsup
2138 clean-target: maybe-clean-target-libgloss
2139 clean-target: maybe-clean-target-libiberty
2140 clean-target: maybe-clean-target-gperf
2141 clean-target: maybe-clean-target-examples
2142 clean-target: maybe-clean-target-libffi
2143 clean-target: maybe-clean-target-libjava
2144 clean-target: maybe-clean-target-zlib
2145 clean-target: maybe-clean-target-boehm-gc
2146 clean-target: maybe-clean-target-qthreads
2147 clean-target: maybe-clean-target-rda
2148 clean-target: maybe-clean-target-libada
2149 clean-target: maybe-clean-target-libgomp
2151 .PHONY: do-distclean
2152 do-distclean:
2153 @: $(MAKE); $(unstage)
2154 @r=`${PWD_COMMAND}`; export r; \
2155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2156 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2157 distclean-target
2160 .PHONY: distclean-host
2162 distclean-host: maybe-distclean-ash
2163 distclean-host: maybe-distclean-autoconf
2164 distclean-host: maybe-distclean-automake
2165 distclean-host: maybe-distclean-bash
2166 distclean-host: maybe-distclean-bfd
2167 distclean-host: maybe-distclean-opcodes
2168 distclean-host: maybe-distclean-binutils
2169 distclean-host: maybe-distclean-bison
2170 distclean-host: maybe-distclean-byacc
2171 distclean-host: maybe-distclean-bzip2
2172 distclean-host: maybe-distclean-dejagnu
2173 distclean-host: maybe-distclean-diff
2174 distclean-host: maybe-distclean-dosutils
2175 distclean-host: maybe-distclean-etc
2176 distclean-host: maybe-distclean-fastjar
2177 distclean-host: maybe-distclean-fileutils
2178 distclean-host: maybe-distclean-findutils
2179 distclean-host: maybe-distclean-find
2180 distclean-host: maybe-distclean-fixincludes
2181 distclean-host: maybe-distclean-flex
2182 distclean-host: maybe-distclean-gas
2183 distclean-host: maybe-distclean-gcc
2184 distclean-host: maybe-distclean-gawk
2185 distclean-host: maybe-distclean-gettext
2186 distclean-host: maybe-distclean-gmp
2187 distclean-host: maybe-distclean-mpfr
2188 distclean-host: maybe-distclean-ppl
2189 distclean-host: maybe-distclean-cloog
2190 distclean-host: maybe-distclean-gnuserv
2191 distclean-host: maybe-distclean-gold
2192 distclean-host: maybe-distclean-gprof
2193 distclean-host: maybe-distclean-gzip
2194 distclean-host: maybe-distclean-hello
2195 distclean-host: maybe-distclean-indent
2196 distclean-host: maybe-distclean-intl
2197 distclean-host: maybe-distclean-tcl
2198 distclean-host: maybe-distclean-itcl
2199 distclean-host: maybe-distclean-ld
2200 distclean-host: maybe-distclean-libcpp
2201 distclean-host: maybe-distclean-libdecnumber
2202 distclean-host: maybe-distclean-libgui
2203 distclean-host: maybe-distclean-libiberty
2204 distclean-host: maybe-distclean-libiconv
2205 distclean-host: maybe-distclean-libtool
2206 distclean-host: maybe-distclean-m4
2207 distclean-host: maybe-distclean-make
2208 distclean-host: maybe-distclean-mmalloc
2209 distclean-host: maybe-distclean-patch
2210 distclean-host: maybe-distclean-perl
2211 distclean-host: maybe-distclean-prms
2212 distclean-host: maybe-distclean-rcs
2213 distclean-host: maybe-distclean-readline
2214 distclean-host: maybe-distclean-release
2215 distclean-host: maybe-distclean-recode
2216 distclean-host: maybe-distclean-sed
2217 distclean-host: maybe-distclean-send-pr
2218 distclean-host: maybe-distclean-shellutils
2219 distclean-host: maybe-distclean-sid
2220 distclean-host: maybe-distclean-sim
2221 distclean-host: maybe-distclean-tar
2222 distclean-host: maybe-distclean-texinfo
2223 distclean-host: maybe-distclean-textutils
2224 distclean-host: maybe-distclean-time
2225 distclean-host: maybe-distclean-uudecode
2226 distclean-host: maybe-distclean-wdiff
2227 distclean-host: maybe-distclean-zip
2228 distclean-host: maybe-distclean-zlib
2229 distclean-host: maybe-distclean-gdb
2230 distclean-host: maybe-distclean-expect
2231 distclean-host: maybe-distclean-guile
2232 distclean-host: maybe-distclean-tk
2233 distclean-host: maybe-distclean-libtermcap
2234 distclean-host: maybe-distclean-utils
2235 distclean-host: maybe-distclean-gnattools
2237 .PHONY: distclean-target
2239 distclean-target: maybe-distclean-target-libstdc++-v3
2240 distclean-target: maybe-distclean-target-libmudflap
2241 distclean-target: maybe-distclean-target-libssp
2242 distclean-target: maybe-distclean-target-newlib
2243 distclean-target: maybe-distclean-target-libgcc
2244 distclean-target: maybe-distclean-target-libgfortran
2245 distclean-target: maybe-distclean-target-libobjc
2246 distclean-target: maybe-distclean-target-libtermcap
2247 distclean-target: maybe-distclean-target-winsup
2248 distclean-target: maybe-distclean-target-libgloss
2249 distclean-target: maybe-distclean-target-libiberty
2250 distclean-target: maybe-distclean-target-gperf
2251 distclean-target: maybe-distclean-target-examples
2252 distclean-target: maybe-distclean-target-libffi
2253 distclean-target: maybe-distclean-target-libjava
2254 distclean-target: maybe-distclean-target-zlib
2255 distclean-target: maybe-distclean-target-boehm-gc
2256 distclean-target: maybe-distclean-target-qthreads
2257 distclean-target: maybe-distclean-target-rda
2258 distclean-target: maybe-distclean-target-libada
2259 distclean-target: maybe-distclean-target-libgomp
2261 .PHONY: do-maintainer-clean
2262 do-maintainer-clean:
2263 @: $(MAKE); $(unstage)
2264 @r=`${PWD_COMMAND}`; export r; \
2265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2266 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2267 maintainer-clean-target
2270 .PHONY: maintainer-clean-host
2272 maintainer-clean-host: maybe-maintainer-clean-ash
2273 maintainer-clean-host: maybe-maintainer-clean-autoconf
2274 maintainer-clean-host: maybe-maintainer-clean-automake
2275 maintainer-clean-host: maybe-maintainer-clean-bash
2276 maintainer-clean-host: maybe-maintainer-clean-bfd
2277 maintainer-clean-host: maybe-maintainer-clean-opcodes
2278 maintainer-clean-host: maybe-maintainer-clean-binutils
2279 maintainer-clean-host: maybe-maintainer-clean-bison
2280 maintainer-clean-host: maybe-maintainer-clean-byacc
2281 maintainer-clean-host: maybe-maintainer-clean-bzip2
2282 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2283 maintainer-clean-host: maybe-maintainer-clean-diff
2284 maintainer-clean-host: maybe-maintainer-clean-dosutils
2285 maintainer-clean-host: maybe-maintainer-clean-etc
2286 maintainer-clean-host: maybe-maintainer-clean-fastjar
2287 maintainer-clean-host: maybe-maintainer-clean-fileutils
2288 maintainer-clean-host: maybe-maintainer-clean-findutils
2289 maintainer-clean-host: maybe-maintainer-clean-find
2290 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2291 maintainer-clean-host: maybe-maintainer-clean-flex
2292 maintainer-clean-host: maybe-maintainer-clean-gas
2293 maintainer-clean-host: maybe-maintainer-clean-gcc
2294 maintainer-clean-host: maybe-maintainer-clean-gawk
2295 maintainer-clean-host: maybe-maintainer-clean-gettext
2296 maintainer-clean-host: maybe-maintainer-clean-gmp
2297 maintainer-clean-host: maybe-maintainer-clean-mpfr
2298 maintainer-clean-host: maybe-maintainer-clean-ppl
2299 maintainer-clean-host: maybe-maintainer-clean-cloog
2300 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2301 maintainer-clean-host: maybe-maintainer-clean-gold
2302 maintainer-clean-host: maybe-maintainer-clean-gprof
2303 maintainer-clean-host: maybe-maintainer-clean-gzip
2304 maintainer-clean-host: maybe-maintainer-clean-hello
2305 maintainer-clean-host: maybe-maintainer-clean-indent
2306 maintainer-clean-host: maybe-maintainer-clean-intl
2307 maintainer-clean-host: maybe-maintainer-clean-tcl
2308 maintainer-clean-host: maybe-maintainer-clean-itcl
2309 maintainer-clean-host: maybe-maintainer-clean-ld
2310 maintainer-clean-host: maybe-maintainer-clean-libcpp
2311 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2312 maintainer-clean-host: maybe-maintainer-clean-libgui
2313 maintainer-clean-host: maybe-maintainer-clean-libiberty
2314 maintainer-clean-host: maybe-maintainer-clean-libiconv
2315 maintainer-clean-host: maybe-maintainer-clean-libtool
2316 maintainer-clean-host: maybe-maintainer-clean-m4
2317 maintainer-clean-host: maybe-maintainer-clean-make
2318 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2319 maintainer-clean-host: maybe-maintainer-clean-patch
2320 maintainer-clean-host: maybe-maintainer-clean-perl
2321 maintainer-clean-host: maybe-maintainer-clean-prms
2322 maintainer-clean-host: maybe-maintainer-clean-rcs
2323 maintainer-clean-host: maybe-maintainer-clean-readline
2324 maintainer-clean-host: maybe-maintainer-clean-release
2325 maintainer-clean-host: maybe-maintainer-clean-recode
2326 maintainer-clean-host: maybe-maintainer-clean-sed
2327 maintainer-clean-host: maybe-maintainer-clean-send-pr
2328 maintainer-clean-host: maybe-maintainer-clean-shellutils
2329 maintainer-clean-host: maybe-maintainer-clean-sid
2330 maintainer-clean-host: maybe-maintainer-clean-sim
2331 maintainer-clean-host: maybe-maintainer-clean-tar
2332 maintainer-clean-host: maybe-maintainer-clean-texinfo
2333 maintainer-clean-host: maybe-maintainer-clean-textutils
2334 maintainer-clean-host: maybe-maintainer-clean-time
2335 maintainer-clean-host: maybe-maintainer-clean-uudecode
2336 maintainer-clean-host: maybe-maintainer-clean-wdiff
2337 maintainer-clean-host: maybe-maintainer-clean-zip
2338 maintainer-clean-host: maybe-maintainer-clean-zlib
2339 maintainer-clean-host: maybe-maintainer-clean-gdb
2340 maintainer-clean-host: maybe-maintainer-clean-expect
2341 maintainer-clean-host: maybe-maintainer-clean-guile
2342 maintainer-clean-host: maybe-maintainer-clean-tk
2343 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2344 maintainer-clean-host: maybe-maintainer-clean-utils
2345 maintainer-clean-host: maybe-maintainer-clean-gnattools
2347 .PHONY: maintainer-clean-target
2349 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2350 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2351 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2352 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2353 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2354 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2355 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2356 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2357 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2358 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2359 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2360 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2361 maintainer-clean-target: maybe-maintainer-clean-target-examples
2362 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2363 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2364 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2365 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2366 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2367 maintainer-clean-target: maybe-maintainer-clean-target-rda
2368 maintainer-clean-target: maybe-maintainer-clean-target-libada
2369 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2372 # Here are the targets which correspond to the do-X targets.
2374 .PHONY: info installcheck dvi pdf html
2375 .PHONY: install-info install-pdf install-html
2376 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2377 .PHONY: local-clean local-distclean local-maintainer-clean
2378 info: do-info
2379 installcheck: do-installcheck
2380 dvi: do-dvi
2381 pdf: do-pdf
2382 html: do-html
2384 # Make sure makeinfo is built before we do a `make info', if we're
2385 # in fact building texinfo.
2386 do-info: maybe-all-texinfo
2388 install-info: do-install-info dir.info
2389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2390 if [ -f dir.info ] ; then \
2391 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2392 else true ; fi
2394 install-pdf: do-install-pdf
2396 install-html: do-install-html
2398 local-clean:
2399 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2401 local-distclean:
2402 -rm -f Makefile config.status config.cache mh-frag mt-frag
2403 -rm -f maybedep.tmp serdep.tmp
2404 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2405 rm -rf $(TARGET_SUBDIR); \
2406 else true; fi
2407 -rm -rf $(BUILD_SUBDIR)
2408 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2409 rm -rf $(HOST_SUBDIR); \
2410 else true; fi
2411 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2412 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2413 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2414 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2415 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2417 local-maintainer-clean:
2418 @echo "This command is intended for maintainers to use;"
2419 @echo "it deletes files that may require special tools to rebuild."
2421 clean: do-clean local-clean
2422 mostlyclean: do-mostlyclean local-clean
2423 distclean: do-distclean local-clean local-distclean
2424 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2425 maintainer-clean: local-distclean
2426 realclean: maintainer-clean
2428 # Check target.
2430 .PHONY: check do-check
2431 check: do-check
2433 # Only include modules actually being configured and built.
2434 .PHONY: check-host
2435 check-host: \
2436 maybe-check-ash \
2437 maybe-check-autoconf \
2438 maybe-check-automake \
2439 maybe-check-bash \
2440 maybe-check-bfd \
2441 maybe-check-opcodes \
2442 maybe-check-binutils \
2443 maybe-check-bison \
2444 maybe-check-byacc \
2445 maybe-check-bzip2 \
2446 maybe-check-dejagnu \
2447 maybe-check-diff \
2448 maybe-check-dosutils \
2449 maybe-check-etc \
2450 maybe-check-fastjar \
2451 maybe-check-fileutils \
2452 maybe-check-findutils \
2453 maybe-check-find \
2454 maybe-check-fixincludes \
2455 maybe-check-flex \
2456 maybe-check-gas \
2457 maybe-check-gcc \
2458 maybe-check-gawk \
2459 maybe-check-gettext \
2460 maybe-check-gmp \
2461 maybe-check-mpfr \
2462 maybe-check-ppl \
2463 maybe-check-cloog \
2464 maybe-check-gnuserv \
2465 maybe-check-gold \
2466 maybe-check-gprof \
2467 maybe-check-gzip \
2468 maybe-check-hello \
2469 maybe-check-indent \
2470 maybe-check-intl \
2471 maybe-check-tcl \
2472 maybe-check-itcl \
2473 maybe-check-ld \
2474 maybe-check-libcpp \
2475 maybe-check-libdecnumber \
2476 maybe-check-libgui \
2477 maybe-check-libiberty \
2478 maybe-check-libiconv \
2479 maybe-check-libtool \
2480 maybe-check-m4 \
2481 maybe-check-make \
2482 maybe-check-mmalloc \
2483 maybe-check-patch \
2484 maybe-check-perl \
2485 maybe-check-prms \
2486 maybe-check-rcs \
2487 maybe-check-readline \
2488 maybe-check-release \
2489 maybe-check-recode \
2490 maybe-check-sed \
2491 maybe-check-send-pr \
2492 maybe-check-shellutils \
2493 maybe-check-sid \
2494 maybe-check-sim \
2495 maybe-check-tar \
2496 maybe-check-texinfo \
2497 maybe-check-textutils \
2498 maybe-check-time \
2499 maybe-check-uudecode \
2500 maybe-check-wdiff \
2501 maybe-check-zip \
2502 maybe-check-zlib \
2503 maybe-check-gdb \
2504 maybe-check-expect \
2505 maybe-check-guile \
2506 maybe-check-tk \
2507 maybe-check-libtermcap \
2508 maybe-check-utils \
2509 maybe-check-gnattools
2511 .PHONY: check-target
2512 check-target: \
2513 maybe-check-target-libstdc++-v3 \
2514 maybe-check-target-libmudflap \
2515 maybe-check-target-libssp \
2516 maybe-check-target-newlib \
2517 maybe-check-target-libgcc \
2518 maybe-check-target-libgfortran \
2519 maybe-check-target-libobjc \
2520 maybe-check-target-libtermcap \
2521 maybe-check-target-winsup \
2522 maybe-check-target-libgloss \
2523 maybe-check-target-libiberty \
2524 maybe-check-target-gperf \
2525 maybe-check-target-examples \
2526 maybe-check-target-libffi \
2527 maybe-check-target-libjava \
2528 maybe-check-target-zlib \
2529 maybe-check-target-boehm-gc \
2530 maybe-check-target-qthreads \
2531 maybe-check-target-rda \
2532 maybe-check-target-libada \
2533 maybe-check-target-libgomp
2535 do-check:
2536 @: $(MAKE); $(unstage)
2537 @r=`${PWD_COMMAND}`; export r; \
2538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2539 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2541 # Automated reporting of test results.
2543 warning.log: build.log
2544 $(srcdir)/contrib/warn_summary build.log > $@
2546 mail-report.log:
2547 if test x'$(BOOT_CFLAGS)' != x''; then \
2548 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2549 fi; \
2550 $(srcdir)/contrib/test_summary -t >$@
2551 chmod +x $@
2552 echo If you really want to send e-mail, run ./$@ now
2554 mail-report-with-warnings.log: warning.log
2555 if test x'$(BOOT_CFLAGS)' != x''; then \
2556 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2557 fi; \
2558 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2559 chmod +x $@
2560 echo If you really want to send e-mail, run ./$@ now
2562 # Installation targets.
2564 .PHONY: install uninstall
2565 install:
2566 @: $(MAKE); $(unstage)
2567 @r=`${PWD_COMMAND}`; export r; \
2568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2569 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2571 .PHONY: install-host-nogcc
2572 install-host-nogcc: \
2573 maybe-install-ash \
2574 maybe-install-autoconf \
2575 maybe-install-automake \
2576 maybe-install-bash \
2577 maybe-install-bfd \
2578 maybe-install-opcodes \
2579 maybe-install-binutils \
2580 maybe-install-bison \
2581 maybe-install-byacc \
2582 maybe-install-bzip2 \
2583 maybe-install-dejagnu \
2584 maybe-install-diff \
2585 maybe-install-dosutils \
2586 maybe-install-etc \
2587 maybe-install-fastjar \
2588 maybe-install-fileutils \
2589 maybe-install-findutils \
2590 maybe-install-find \
2591 maybe-install-fixincludes \
2592 maybe-install-flex \
2593 maybe-install-gas \
2594 maybe-install-gawk \
2595 maybe-install-gettext \
2596 maybe-install-gmp \
2597 maybe-install-mpfr \
2598 maybe-install-ppl \
2599 maybe-install-cloog \
2600 maybe-install-gnuserv \
2601 maybe-install-gold \
2602 maybe-install-gprof \
2603 maybe-install-gzip \
2604 maybe-install-hello \
2605 maybe-install-indent \
2606 maybe-install-intl \
2607 maybe-install-tcl \
2608 maybe-install-itcl \
2609 maybe-install-ld \
2610 maybe-install-libcpp \
2611 maybe-install-libdecnumber \
2612 maybe-install-libgui \
2613 maybe-install-libiberty \
2614 maybe-install-libiconv \
2615 maybe-install-libtool \
2616 maybe-install-m4 \
2617 maybe-install-make \
2618 maybe-install-mmalloc \
2619 maybe-install-patch \
2620 maybe-install-perl \
2621 maybe-install-prms \
2622 maybe-install-rcs \
2623 maybe-install-readline \
2624 maybe-install-release \
2625 maybe-install-recode \
2626 maybe-install-sed \
2627 maybe-install-send-pr \
2628 maybe-install-shellutils \
2629 maybe-install-sid \
2630 maybe-install-sim \
2631 maybe-install-tar \
2632 maybe-install-texinfo \
2633 maybe-install-textutils \
2634 maybe-install-time \
2635 maybe-install-uudecode \
2636 maybe-install-wdiff \
2637 maybe-install-zip \
2638 maybe-install-zlib \
2639 maybe-install-gdb \
2640 maybe-install-expect \
2641 maybe-install-guile \
2642 maybe-install-tk \
2643 maybe-install-libtermcap \
2644 maybe-install-utils \
2645 maybe-install-gnattools
2647 .PHONY: install-host
2648 install-host: \
2649 maybe-install-ash \
2650 maybe-install-autoconf \
2651 maybe-install-automake \
2652 maybe-install-bash \
2653 maybe-install-bfd \
2654 maybe-install-opcodes \
2655 maybe-install-binutils \
2656 maybe-install-bison \
2657 maybe-install-byacc \
2658 maybe-install-bzip2 \
2659 maybe-install-dejagnu \
2660 maybe-install-diff \
2661 maybe-install-dosutils \
2662 maybe-install-etc \
2663 maybe-install-fastjar \
2664 maybe-install-fileutils \
2665 maybe-install-findutils \
2666 maybe-install-find \
2667 maybe-install-fixincludes \
2668 maybe-install-flex \
2669 maybe-install-gas \
2670 maybe-install-gcc \
2671 maybe-install-gawk \
2672 maybe-install-gettext \
2673 maybe-install-gmp \
2674 maybe-install-mpfr \
2675 maybe-install-ppl \
2676 maybe-install-cloog \
2677 maybe-install-gnuserv \
2678 maybe-install-gold \
2679 maybe-install-gprof \
2680 maybe-install-gzip \
2681 maybe-install-hello \
2682 maybe-install-indent \
2683 maybe-install-intl \
2684 maybe-install-tcl \
2685 maybe-install-itcl \
2686 maybe-install-ld \
2687 maybe-install-libcpp \
2688 maybe-install-libdecnumber \
2689 maybe-install-libgui \
2690 maybe-install-libiberty \
2691 maybe-install-libiconv \
2692 maybe-install-libtool \
2693 maybe-install-m4 \
2694 maybe-install-make \
2695 maybe-install-mmalloc \
2696 maybe-install-patch \
2697 maybe-install-perl \
2698 maybe-install-prms \
2699 maybe-install-rcs \
2700 maybe-install-readline \
2701 maybe-install-release \
2702 maybe-install-recode \
2703 maybe-install-sed \
2704 maybe-install-send-pr \
2705 maybe-install-shellutils \
2706 maybe-install-sid \
2707 maybe-install-sim \
2708 maybe-install-tar \
2709 maybe-install-texinfo \
2710 maybe-install-textutils \
2711 maybe-install-time \
2712 maybe-install-uudecode \
2713 maybe-install-wdiff \
2714 maybe-install-zip \
2715 maybe-install-zlib \
2716 maybe-install-gdb \
2717 maybe-install-expect \
2718 maybe-install-guile \
2719 maybe-install-tk \
2720 maybe-install-libtermcap \
2721 maybe-install-utils \
2722 maybe-install-gnattools
2724 .PHONY: install-target
2725 install-target: \
2726 maybe-install-target-libstdc++-v3 \
2727 maybe-install-target-libmudflap \
2728 maybe-install-target-libssp \
2729 maybe-install-target-newlib \
2730 maybe-install-target-libgcc \
2731 maybe-install-target-libgfortran \
2732 maybe-install-target-libobjc \
2733 maybe-install-target-libtermcap \
2734 maybe-install-target-winsup \
2735 maybe-install-target-libgloss \
2736 maybe-install-target-libiberty \
2737 maybe-install-target-gperf \
2738 maybe-install-target-examples \
2739 maybe-install-target-libffi \
2740 maybe-install-target-libjava \
2741 maybe-install-target-zlib \
2742 maybe-install-target-boehm-gc \
2743 maybe-install-target-qthreads \
2744 maybe-install-target-rda \
2745 maybe-install-target-libada \
2746 maybe-install-target-libgomp
2748 uninstall:
2749 @echo "the uninstall target is not supported in this tree"
2751 .PHONY: install.all
2752 install.all: install-no-fixedincludes
2753 @if [ -f ./gcc/Makefile ] ; then \
2754 r=`${PWD_COMMAND}` ; export r ; \
2755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2756 $(HOST_EXPORTS) \
2757 (cd ./gcc && \
2758 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2759 else \
2760 true ; \
2763 # install-no-fixedincludes is used because Cygnus can not distribute
2764 # the fixed header files.
2765 .PHONY: install-no-fixedincludes
2766 install-no-fixedincludes: installdirs install-host-nogcc \
2767 install-target gcc-no-fixedincludes
2769 ### other supporting targets
2771 MAKEDIRS= \
2772 $(DESTDIR)$(prefix) \
2773 $(DESTDIR)$(exec_prefix)
2774 .PHONY: installdirs
2775 installdirs: mkinstalldirs
2776 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2778 dir.info: do-install-info
2779 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2780 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2781 mv -f dir.info.new dir.info ; \
2782 else true ; \
2785 dist:
2786 @echo "Building a full distribution of this tree isn't done"
2787 @echo "via 'make dist'. Check out the etc/ subdirectory"
2789 etags tags: TAGS
2791 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2792 # ability to use several tags files at once, so there is probably no need
2793 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2794 # (if we felt like it) have this Makefile write a piece of elisp which
2795 # the user could load to tell emacs19 where all the TAGS files we just
2796 # built are.
2797 TAGS: do-TAGS
2799 # ------------------------------------
2800 # Macros for configure and all targets
2801 # ------------------------------------
2807 # --------------------------------------
2808 # Modules which run on the build machine
2809 # --------------------------------------
2812 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2813 maybe-configure-build-libiberty:
2814 @if gcc-bootstrap
2815 configure-build-libiberty: stage_current
2816 @endif gcc-bootstrap
2817 @if build-libiberty
2818 maybe-configure-build-libiberty: configure-build-libiberty
2819 configure-build-libiberty:
2820 @: $(MAKE); $(unstage)
2821 @r=`${PWD_COMMAND}`; export r; \
2822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2823 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2824 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2825 $(BUILD_EXPORTS) \
2826 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2827 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2828 case $(srcdir) in \
2829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2830 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2832 esac; \
2833 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2834 libsrcdir="$$s/libiberty"; \
2835 rm -f no-such-file || : ; \
2836 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2837 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2838 --target=${target_alias} $${srcdiroption} \
2839 || exit 1
2840 @endif build-libiberty
2846 .PHONY: all-build-libiberty maybe-all-build-libiberty
2847 maybe-all-build-libiberty:
2848 @if gcc-bootstrap
2849 all-build-libiberty: stage_current
2850 @endif gcc-bootstrap
2851 @if build-libiberty
2852 TARGET-build-libiberty=all
2853 maybe-all-build-libiberty: all-build-libiberty
2854 all-build-libiberty: configure-build-libiberty
2855 @: $(MAKE); $(unstage)
2856 @r=`${PWD_COMMAND}`; export r; \
2857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2858 $(BUILD_EXPORTS) \
2859 (cd $(BUILD_SUBDIR)/libiberty && \
2860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2861 $(TARGET-build-libiberty))
2862 @endif build-libiberty
2868 .PHONY: configure-build-bison maybe-configure-build-bison
2869 maybe-configure-build-bison:
2870 @if gcc-bootstrap
2871 configure-build-bison: stage_current
2872 @endif gcc-bootstrap
2873 @if build-bison
2874 maybe-configure-build-bison: configure-build-bison
2875 configure-build-bison:
2876 @: $(MAKE); $(unstage)
2877 @r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2880 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2881 $(BUILD_EXPORTS) \
2882 echo Configuring in $(BUILD_SUBDIR)/bison; \
2883 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2884 case $(srcdir) in \
2885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2886 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2888 esac; \
2889 srcdiroption="--srcdir=$${topdir}/bison"; \
2890 libsrcdir="$$s/bison"; \
2891 rm -f no-such-file || : ; \
2892 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2893 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2894 --target=${target_alias} $${srcdiroption} \
2895 || exit 1
2896 @endif build-bison
2902 .PHONY: all-build-bison maybe-all-build-bison
2903 maybe-all-build-bison:
2904 @if gcc-bootstrap
2905 all-build-bison: stage_current
2906 @endif gcc-bootstrap
2907 @if build-bison
2908 TARGET-build-bison=all
2909 maybe-all-build-bison: all-build-bison
2910 all-build-bison: configure-build-bison
2911 @: $(MAKE); $(unstage)
2912 @r=`${PWD_COMMAND}`; export r; \
2913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2914 $(BUILD_EXPORTS) \
2915 (cd $(BUILD_SUBDIR)/bison && \
2916 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2917 $(TARGET-build-bison))
2918 @endif build-bison
2924 .PHONY: configure-build-byacc maybe-configure-build-byacc
2925 maybe-configure-build-byacc:
2926 @if gcc-bootstrap
2927 configure-build-byacc: stage_current
2928 @endif gcc-bootstrap
2929 @if build-byacc
2930 maybe-configure-build-byacc: configure-build-byacc
2931 configure-build-byacc:
2932 @: $(MAKE); $(unstage)
2933 @r=`${PWD_COMMAND}`; export r; \
2934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2935 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2936 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2937 $(BUILD_EXPORTS) \
2938 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2939 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2940 case $(srcdir) in \
2941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2942 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2944 esac; \
2945 srcdiroption="--srcdir=$${topdir}/byacc"; \
2946 libsrcdir="$$s/byacc"; \
2947 rm -f no-such-file || : ; \
2948 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2949 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2950 --target=${target_alias} $${srcdiroption} \
2951 || exit 1
2952 @endif build-byacc
2958 .PHONY: all-build-byacc maybe-all-build-byacc
2959 maybe-all-build-byacc:
2960 @if gcc-bootstrap
2961 all-build-byacc: stage_current
2962 @endif gcc-bootstrap
2963 @if build-byacc
2964 TARGET-build-byacc=all
2965 maybe-all-build-byacc: all-build-byacc
2966 all-build-byacc: configure-build-byacc
2967 @: $(MAKE); $(unstage)
2968 @r=`${PWD_COMMAND}`; export r; \
2969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2970 $(BUILD_EXPORTS) \
2971 (cd $(BUILD_SUBDIR)/byacc && \
2972 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2973 $(TARGET-build-byacc))
2974 @endif build-byacc
2980 .PHONY: configure-build-flex maybe-configure-build-flex
2981 maybe-configure-build-flex:
2982 @if gcc-bootstrap
2983 configure-build-flex: stage_current
2984 @endif gcc-bootstrap
2985 @if build-flex
2986 maybe-configure-build-flex: configure-build-flex
2987 configure-build-flex:
2988 @: $(MAKE); $(unstage)
2989 @r=`${PWD_COMMAND}`; export r; \
2990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2991 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2992 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2993 $(BUILD_EXPORTS) \
2994 echo Configuring in $(BUILD_SUBDIR)/flex; \
2995 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2996 case $(srcdir) in \
2997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2998 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3000 esac; \
3001 srcdiroption="--srcdir=$${topdir}/flex"; \
3002 libsrcdir="$$s/flex"; \
3003 rm -f no-such-file || : ; \
3004 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3005 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3006 --target=${target_alias} $${srcdiroption} \
3007 || exit 1
3008 @endif build-flex
3014 .PHONY: all-build-flex maybe-all-build-flex
3015 maybe-all-build-flex:
3016 @if gcc-bootstrap
3017 all-build-flex: stage_current
3018 @endif gcc-bootstrap
3019 @if build-flex
3020 TARGET-build-flex=all
3021 maybe-all-build-flex: all-build-flex
3022 all-build-flex: configure-build-flex
3023 @: $(MAKE); $(unstage)
3024 @r=`${PWD_COMMAND}`; export r; \
3025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3026 $(BUILD_EXPORTS) \
3027 (cd $(BUILD_SUBDIR)/flex && \
3028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3029 $(TARGET-build-flex))
3030 @endif build-flex
3036 .PHONY: configure-build-m4 maybe-configure-build-m4
3037 maybe-configure-build-m4:
3038 @if gcc-bootstrap
3039 configure-build-m4: stage_current
3040 @endif gcc-bootstrap
3041 @if build-m4
3042 maybe-configure-build-m4: configure-build-m4
3043 configure-build-m4:
3044 @: $(MAKE); $(unstage)
3045 @r=`${PWD_COMMAND}`; export r; \
3046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3048 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
3049 $(BUILD_EXPORTS) \
3050 echo Configuring in $(BUILD_SUBDIR)/m4; \
3051 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3052 case $(srcdir) in \
3053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3054 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3056 esac; \
3057 srcdiroption="--srcdir=$${topdir}/m4"; \
3058 libsrcdir="$$s/m4"; \
3059 rm -f no-such-file || : ; \
3060 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3061 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3062 --target=${target_alias} $${srcdiroption} \
3063 || exit 1
3064 @endif build-m4
3070 .PHONY: all-build-m4 maybe-all-build-m4
3071 maybe-all-build-m4:
3072 @if gcc-bootstrap
3073 all-build-m4: stage_current
3074 @endif gcc-bootstrap
3075 @if build-m4
3076 TARGET-build-m4=all
3077 maybe-all-build-m4: all-build-m4
3078 all-build-m4: configure-build-m4
3079 @: $(MAKE); $(unstage)
3080 @r=`${PWD_COMMAND}`; export r; \
3081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3082 $(BUILD_EXPORTS) \
3083 (cd $(BUILD_SUBDIR)/m4 && \
3084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3085 $(TARGET-build-m4))
3086 @endif build-m4
3092 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3093 maybe-configure-build-texinfo:
3094 @if gcc-bootstrap
3095 configure-build-texinfo: stage_current
3096 @endif gcc-bootstrap
3097 @if build-texinfo
3098 maybe-configure-build-texinfo: configure-build-texinfo
3099 configure-build-texinfo:
3100 @: $(MAKE); $(unstage)
3101 @r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3104 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3105 $(BUILD_EXPORTS) \
3106 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3107 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3108 case $(srcdir) in \
3109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3110 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3112 esac; \
3113 srcdiroption="--srcdir=$${topdir}/texinfo"; \
3114 libsrcdir="$$s/texinfo"; \
3115 rm -f no-such-file || : ; \
3116 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3117 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3118 --target=${target_alias} $${srcdiroption} \
3119 || exit 1
3120 @endif build-texinfo
3126 .PHONY: all-build-texinfo maybe-all-build-texinfo
3127 maybe-all-build-texinfo:
3128 @if gcc-bootstrap
3129 all-build-texinfo: stage_current
3130 @endif gcc-bootstrap
3131 @if build-texinfo
3132 TARGET-build-texinfo=all
3133 maybe-all-build-texinfo: all-build-texinfo
3134 all-build-texinfo: configure-build-texinfo
3135 @: $(MAKE); $(unstage)
3136 @r=`${PWD_COMMAND}`; export r; \
3137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3138 $(BUILD_EXPORTS) \
3139 (cd $(BUILD_SUBDIR)/texinfo && \
3140 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3141 $(TARGET-build-texinfo))
3142 @endif build-texinfo
3148 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3149 maybe-configure-build-fixincludes:
3150 @if gcc-bootstrap
3151 configure-build-fixincludes: stage_current
3152 @endif gcc-bootstrap
3153 @if build-fixincludes
3154 maybe-configure-build-fixincludes: configure-build-fixincludes
3155 configure-build-fixincludes:
3156 @: $(MAKE); $(unstage)
3157 @r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3159 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3160 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3161 $(BUILD_EXPORTS) \
3162 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3163 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3164 case $(srcdir) in \
3165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3166 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3168 esac; \
3169 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3170 libsrcdir="$$s/fixincludes"; \
3171 rm -f no-such-file || : ; \
3172 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3173 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3174 --target=${target_alias} $${srcdiroption} \
3175 || exit 1
3176 @endif build-fixincludes
3182 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3183 maybe-all-build-fixincludes:
3184 @if gcc-bootstrap
3185 all-build-fixincludes: stage_current
3186 @endif gcc-bootstrap
3187 @if build-fixincludes
3188 TARGET-build-fixincludes=all
3189 maybe-all-build-fixincludes: all-build-fixincludes
3190 all-build-fixincludes: configure-build-fixincludes
3191 @: $(MAKE); $(unstage)
3192 @r=`${PWD_COMMAND}`; export r; \
3193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194 $(BUILD_EXPORTS) \
3195 (cd $(BUILD_SUBDIR)/fixincludes && \
3196 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3197 $(TARGET-build-fixincludes))
3198 @endif build-fixincludes
3204 # --------------------------------------
3205 # Modules which run on the host machine
3206 # --------------------------------------
3209 .PHONY: configure-ash maybe-configure-ash
3210 maybe-configure-ash:
3211 @if gcc-bootstrap
3212 configure-ash: stage_current
3213 @endif gcc-bootstrap
3214 @if ash
3215 maybe-configure-ash: configure-ash
3216 configure-ash:
3217 @: $(MAKE); $(unstage)
3218 @r=`${PWD_COMMAND}`; export r; \
3219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3220 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3222 $(HOST_EXPORTS) \
3223 echo Configuring in $(HOST_SUBDIR)/ash; \
3224 cd "$(HOST_SUBDIR)/ash" || exit 1; \
3225 case $(srcdir) in \
3226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3227 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3229 esac; \
3230 srcdiroption="--srcdir=$${topdir}/ash"; \
3231 libsrcdir="$$s/ash"; \
3232 $(SHELL) $${libsrcdir}/configure \
3233 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3234 --target=${target_alias} $${srcdiroption} \
3235 || exit 1
3236 @endif ash
3242 .PHONY: all-ash maybe-all-ash
3243 maybe-all-ash:
3244 @if gcc-bootstrap
3245 all-ash: stage_current
3246 @endif gcc-bootstrap
3247 @if ash
3248 TARGET-ash=all
3249 maybe-all-ash: all-ash
3250 all-ash: configure-ash
3251 @: $(MAKE); $(unstage)
3252 @r=`${PWD_COMMAND}`; export r; \
3253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3254 $(HOST_EXPORTS) \
3255 (cd $(HOST_SUBDIR)/ash && \
3256 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3257 $(TARGET-ash))
3258 @endif ash
3263 .PHONY: check-ash maybe-check-ash
3264 maybe-check-ash:
3265 @if ash
3266 maybe-check-ash: check-ash
3268 check-ash:
3269 @: $(MAKE); $(unstage)
3270 @r=`${PWD_COMMAND}`; export r; \
3271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3272 $(HOST_EXPORTS) \
3273 (cd $(HOST_SUBDIR)/ash && \
3274 $(MAKE) $(FLAGS_TO_PASS) check)
3276 @endif ash
3278 .PHONY: install-ash maybe-install-ash
3279 maybe-install-ash:
3280 @if ash
3281 maybe-install-ash: install-ash
3283 install-ash: installdirs
3284 @: $(MAKE); $(unstage)
3285 @r=`${PWD_COMMAND}`; export r; \
3286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3287 $(HOST_EXPORTS) \
3288 (cd $(HOST_SUBDIR)/ash && \
3289 $(MAKE) $(FLAGS_TO_PASS) install)
3291 @endif ash
3293 # Other targets (info, dvi, pdf, etc.)
3295 .PHONY: maybe-info-ash info-ash
3296 maybe-info-ash:
3297 @if ash
3298 maybe-info-ash: info-ash
3300 info-ash: \
3301 configure-ash
3302 @: $(MAKE); $(unstage)
3303 @[ -f ./ash/Makefile ] || exit 0; \
3304 r=`${PWD_COMMAND}`; export r; \
3305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3306 $(HOST_EXPORTS) \
3307 for flag in $(EXTRA_HOST_FLAGS) ; do \
3308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3309 done; \
3310 echo "Doing info in ash" ; \
3311 (cd $(HOST_SUBDIR)/ash && \
3312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3314 "RANLIB=$${RANLIB}" \
3315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3316 info) \
3317 || exit 1
3319 @endif ash
3321 .PHONY: maybe-dvi-ash dvi-ash
3322 maybe-dvi-ash:
3323 @if ash
3324 maybe-dvi-ash: dvi-ash
3326 dvi-ash: \
3327 configure-ash
3328 @: $(MAKE); $(unstage)
3329 @[ -f ./ash/Makefile ] || exit 0; \
3330 r=`${PWD_COMMAND}`; export r; \
3331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3332 $(HOST_EXPORTS) \
3333 for flag in $(EXTRA_HOST_FLAGS) ; do \
3334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3335 done; \
3336 echo "Doing dvi in ash" ; \
3337 (cd $(HOST_SUBDIR)/ash && \
3338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3340 "RANLIB=$${RANLIB}" \
3341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3342 dvi) \
3343 || exit 1
3345 @endif ash
3347 .PHONY: maybe-pdf-ash pdf-ash
3348 maybe-pdf-ash:
3349 @if ash
3350 maybe-pdf-ash: pdf-ash
3352 pdf-ash: \
3353 configure-ash
3354 @: $(MAKE); $(unstage)
3355 @[ -f ./ash/Makefile ] || exit 0; \
3356 r=`${PWD_COMMAND}`; export r; \
3357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3358 $(HOST_EXPORTS) \
3359 for flag in $(EXTRA_HOST_FLAGS) ; do \
3360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3361 done; \
3362 echo "Doing pdf in ash" ; \
3363 (cd $(HOST_SUBDIR)/ash && \
3364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3366 "RANLIB=$${RANLIB}" \
3367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3368 pdf) \
3369 || exit 1
3371 @endif ash
3373 .PHONY: maybe-html-ash html-ash
3374 maybe-html-ash:
3375 @if ash
3376 maybe-html-ash: html-ash
3378 html-ash: \
3379 configure-ash
3380 @: $(MAKE); $(unstage)
3381 @[ -f ./ash/Makefile ] || exit 0; \
3382 r=`${PWD_COMMAND}`; export r; \
3383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3384 $(HOST_EXPORTS) \
3385 for flag in $(EXTRA_HOST_FLAGS) ; do \
3386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3387 done; \
3388 echo "Doing html in ash" ; \
3389 (cd $(HOST_SUBDIR)/ash && \
3390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3392 "RANLIB=$${RANLIB}" \
3393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3394 html) \
3395 || exit 1
3397 @endif ash
3399 .PHONY: maybe-TAGS-ash TAGS-ash
3400 maybe-TAGS-ash:
3401 @if ash
3402 maybe-TAGS-ash: TAGS-ash
3404 TAGS-ash: \
3405 configure-ash
3406 @: $(MAKE); $(unstage)
3407 @[ -f ./ash/Makefile ] || exit 0; \
3408 r=`${PWD_COMMAND}`; export r; \
3409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3410 $(HOST_EXPORTS) \
3411 for flag in $(EXTRA_HOST_FLAGS) ; do \
3412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3413 done; \
3414 echo "Doing TAGS in ash" ; \
3415 (cd $(HOST_SUBDIR)/ash && \
3416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3418 "RANLIB=$${RANLIB}" \
3419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3420 TAGS) \
3421 || exit 1
3423 @endif ash
3425 .PHONY: maybe-install-info-ash install-info-ash
3426 maybe-install-info-ash:
3427 @if ash
3428 maybe-install-info-ash: install-info-ash
3430 install-info-ash: \
3431 configure-ash \
3432 info-ash
3433 @: $(MAKE); $(unstage)
3434 @[ -f ./ash/Makefile ] || exit 0; \
3435 r=`${PWD_COMMAND}`; export r; \
3436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3437 $(HOST_EXPORTS) \
3438 for flag in $(EXTRA_HOST_FLAGS) ; do \
3439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3440 done; \
3441 echo "Doing install-info in ash" ; \
3442 (cd $(HOST_SUBDIR)/ash && \
3443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3445 "RANLIB=$${RANLIB}" \
3446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3447 install-info) \
3448 || exit 1
3450 @endif ash
3452 .PHONY: maybe-install-pdf-ash install-pdf-ash
3453 maybe-install-pdf-ash:
3454 @if ash
3455 maybe-install-pdf-ash: install-pdf-ash
3457 install-pdf-ash: \
3458 configure-ash \
3459 pdf-ash
3460 @: $(MAKE); $(unstage)
3461 @[ -f ./ash/Makefile ] || exit 0; \
3462 r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464 $(HOST_EXPORTS) \
3465 for flag in $(EXTRA_HOST_FLAGS) ; do \
3466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3467 done; \
3468 echo "Doing install-pdf in ash" ; \
3469 (cd $(HOST_SUBDIR)/ash && \
3470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3472 "RANLIB=$${RANLIB}" \
3473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3474 install-pdf) \
3475 || exit 1
3477 @endif ash
3479 .PHONY: maybe-install-html-ash install-html-ash
3480 maybe-install-html-ash:
3481 @if ash
3482 maybe-install-html-ash: install-html-ash
3484 install-html-ash: \
3485 configure-ash \
3486 html-ash
3487 @: $(MAKE); $(unstage)
3488 @[ -f ./ash/Makefile ] || exit 0; \
3489 r=`${PWD_COMMAND}`; export r; \
3490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3491 $(HOST_EXPORTS) \
3492 for flag in $(EXTRA_HOST_FLAGS) ; do \
3493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3494 done; \
3495 echo "Doing install-html in ash" ; \
3496 (cd $(HOST_SUBDIR)/ash && \
3497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3499 "RANLIB=$${RANLIB}" \
3500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3501 install-html) \
3502 || exit 1
3504 @endif ash
3506 .PHONY: maybe-installcheck-ash installcheck-ash
3507 maybe-installcheck-ash:
3508 @if ash
3509 maybe-installcheck-ash: installcheck-ash
3511 installcheck-ash: \
3512 configure-ash
3513 @: $(MAKE); $(unstage)
3514 @[ -f ./ash/Makefile ] || exit 0; \
3515 r=`${PWD_COMMAND}`; export r; \
3516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3517 $(HOST_EXPORTS) \
3518 for flag in $(EXTRA_HOST_FLAGS) ; do \
3519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3520 done; \
3521 echo "Doing installcheck in ash" ; \
3522 (cd $(HOST_SUBDIR)/ash && \
3523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3525 "RANLIB=$${RANLIB}" \
3526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3527 installcheck) \
3528 || exit 1
3530 @endif ash
3532 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3533 maybe-mostlyclean-ash:
3534 @if ash
3535 maybe-mostlyclean-ash: mostlyclean-ash
3537 mostlyclean-ash:
3538 @: $(MAKE); $(unstage)
3539 @[ -f ./ash/Makefile ] || exit 0; \
3540 r=`${PWD_COMMAND}`; export r; \
3541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3542 $(HOST_EXPORTS) \
3543 for flag in $(EXTRA_HOST_FLAGS) ; do \
3544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3545 done; \
3546 echo "Doing mostlyclean in ash" ; \
3547 (cd $(HOST_SUBDIR)/ash && \
3548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3550 "RANLIB=$${RANLIB}" \
3551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3552 mostlyclean) \
3553 || exit 1
3555 @endif ash
3557 .PHONY: maybe-clean-ash clean-ash
3558 maybe-clean-ash:
3559 @if ash
3560 maybe-clean-ash: clean-ash
3562 clean-ash:
3563 @: $(MAKE); $(unstage)
3564 @[ -f ./ash/Makefile ] || exit 0; \
3565 r=`${PWD_COMMAND}`; export r; \
3566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567 $(HOST_EXPORTS) \
3568 for flag in $(EXTRA_HOST_FLAGS) ; do \
3569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3570 done; \
3571 echo "Doing clean in ash" ; \
3572 (cd $(HOST_SUBDIR)/ash && \
3573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3575 "RANLIB=$${RANLIB}" \
3576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3577 clean) \
3578 || exit 1
3580 @endif ash
3582 .PHONY: maybe-distclean-ash distclean-ash
3583 maybe-distclean-ash:
3584 @if ash
3585 maybe-distclean-ash: distclean-ash
3587 distclean-ash:
3588 @: $(MAKE); $(unstage)
3589 @[ -f ./ash/Makefile ] || exit 0; \
3590 r=`${PWD_COMMAND}`; export r; \
3591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3592 $(HOST_EXPORTS) \
3593 for flag in $(EXTRA_HOST_FLAGS) ; do \
3594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3595 done; \
3596 echo "Doing distclean in ash" ; \
3597 (cd $(HOST_SUBDIR)/ash && \
3598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3600 "RANLIB=$${RANLIB}" \
3601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3602 distclean) \
3603 || exit 1
3605 @endif ash
3607 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3608 maybe-maintainer-clean-ash:
3609 @if ash
3610 maybe-maintainer-clean-ash: maintainer-clean-ash
3612 maintainer-clean-ash:
3613 @: $(MAKE); $(unstage)
3614 @[ -f ./ash/Makefile ] || exit 0; \
3615 r=`${PWD_COMMAND}`; export r; \
3616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3617 $(HOST_EXPORTS) \
3618 for flag in $(EXTRA_HOST_FLAGS) ; do \
3619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3620 done; \
3621 echo "Doing maintainer-clean in ash" ; \
3622 (cd $(HOST_SUBDIR)/ash && \
3623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3625 "RANLIB=$${RANLIB}" \
3626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3627 maintainer-clean) \
3628 || exit 1
3630 @endif ash
3634 .PHONY: configure-autoconf maybe-configure-autoconf
3635 maybe-configure-autoconf:
3636 @if gcc-bootstrap
3637 configure-autoconf: stage_current
3638 @endif gcc-bootstrap
3639 @if autoconf
3640 maybe-configure-autoconf: configure-autoconf
3641 configure-autoconf:
3642 @: $(MAKE); $(unstage)
3643 @r=`${PWD_COMMAND}`; export r; \
3644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3645 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3647 $(HOST_EXPORTS) \
3648 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3649 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3650 case $(srcdir) in \
3651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3652 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3654 esac; \
3655 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3656 libsrcdir="$$s/autoconf"; \
3657 $(SHELL) $${libsrcdir}/configure \
3658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3659 --target=${target_alias} $${srcdiroption} \
3660 || exit 1
3661 @endif autoconf
3667 .PHONY: all-autoconf maybe-all-autoconf
3668 maybe-all-autoconf:
3669 @if gcc-bootstrap
3670 all-autoconf: stage_current
3671 @endif gcc-bootstrap
3672 @if autoconf
3673 TARGET-autoconf=all
3674 maybe-all-autoconf: all-autoconf
3675 all-autoconf: configure-autoconf
3676 @: $(MAKE); $(unstage)
3677 @r=`${PWD_COMMAND}`; export r; \
3678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3679 $(HOST_EXPORTS) \
3680 (cd $(HOST_SUBDIR)/autoconf && \
3681 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3682 $(TARGET-autoconf))
3683 @endif autoconf
3688 .PHONY: check-autoconf maybe-check-autoconf
3689 maybe-check-autoconf:
3690 @if autoconf
3691 maybe-check-autoconf: check-autoconf
3693 check-autoconf:
3694 @: $(MAKE); $(unstage)
3695 @r=`${PWD_COMMAND}`; export r; \
3696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3697 $(HOST_EXPORTS) \
3698 (cd $(HOST_SUBDIR)/autoconf && \
3699 $(MAKE) $(FLAGS_TO_PASS) check)
3701 @endif autoconf
3703 .PHONY: install-autoconf maybe-install-autoconf
3704 maybe-install-autoconf:
3705 @if autoconf
3706 maybe-install-autoconf: install-autoconf
3708 install-autoconf: installdirs
3709 @: $(MAKE); $(unstage)
3710 @r=`${PWD_COMMAND}`; export r; \
3711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3712 $(HOST_EXPORTS) \
3713 (cd $(HOST_SUBDIR)/autoconf && \
3714 $(MAKE) $(FLAGS_TO_PASS) install)
3716 @endif autoconf
3718 # Other targets (info, dvi, pdf, etc.)
3720 .PHONY: maybe-info-autoconf info-autoconf
3721 maybe-info-autoconf:
3722 @if autoconf
3723 maybe-info-autoconf: info-autoconf
3725 info-autoconf: \
3726 configure-autoconf
3727 @: $(MAKE); $(unstage)
3728 @[ -f ./autoconf/Makefile ] || exit 0; \
3729 r=`${PWD_COMMAND}`; export r; \
3730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3731 $(HOST_EXPORTS) \
3732 for flag in $(EXTRA_HOST_FLAGS) ; do \
3733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3734 done; \
3735 echo "Doing info in autoconf" ; \
3736 (cd $(HOST_SUBDIR)/autoconf && \
3737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3739 "RANLIB=$${RANLIB}" \
3740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3741 info) \
3742 || exit 1
3744 @endif autoconf
3746 .PHONY: maybe-dvi-autoconf dvi-autoconf
3747 maybe-dvi-autoconf:
3748 @if autoconf
3749 maybe-dvi-autoconf: dvi-autoconf
3751 dvi-autoconf: \
3752 configure-autoconf
3753 @: $(MAKE); $(unstage)
3754 @[ -f ./autoconf/Makefile ] || exit 0; \
3755 r=`${PWD_COMMAND}`; export r; \
3756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3757 $(HOST_EXPORTS) \
3758 for flag in $(EXTRA_HOST_FLAGS) ; do \
3759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3760 done; \
3761 echo "Doing dvi in autoconf" ; \
3762 (cd $(HOST_SUBDIR)/autoconf && \
3763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3765 "RANLIB=$${RANLIB}" \
3766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3767 dvi) \
3768 || exit 1
3770 @endif autoconf
3772 .PHONY: maybe-pdf-autoconf pdf-autoconf
3773 maybe-pdf-autoconf:
3774 @if autoconf
3775 maybe-pdf-autoconf: pdf-autoconf
3777 pdf-autoconf: \
3778 configure-autoconf
3779 @: $(MAKE); $(unstage)
3780 @[ -f ./autoconf/Makefile ] || exit 0; \
3781 r=`${PWD_COMMAND}`; export r; \
3782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3783 $(HOST_EXPORTS) \
3784 for flag in $(EXTRA_HOST_FLAGS) ; do \
3785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3786 done; \
3787 echo "Doing pdf in autoconf" ; \
3788 (cd $(HOST_SUBDIR)/autoconf && \
3789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3791 "RANLIB=$${RANLIB}" \
3792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3793 pdf) \
3794 || exit 1
3796 @endif autoconf
3798 .PHONY: maybe-html-autoconf html-autoconf
3799 maybe-html-autoconf:
3800 @if autoconf
3801 maybe-html-autoconf: html-autoconf
3803 html-autoconf: \
3804 configure-autoconf
3805 @: $(MAKE); $(unstage)
3806 @[ -f ./autoconf/Makefile ] || exit 0; \
3807 r=`${PWD_COMMAND}`; export r; \
3808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3809 $(HOST_EXPORTS) \
3810 for flag in $(EXTRA_HOST_FLAGS) ; do \
3811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3812 done; \
3813 echo "Doing html in autoconf" ; \
3814 (cd $(HOST_SUBDIR)/autoconf && \
3815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3817 "RANLIB=$${RANLIB}" \
3818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3819 html) \
3820 || exit 1
3822 @endif autoconf
3824 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3825 maybe-TAGS-autoconf:
3826 @if autoconf
3827 maybe-TAGS-autoconf: TAGS-autoconf
3829 TAGS-autoconf: \
3830 configure-autoconf
3831 @: $(MAKE); $(unstage)
3832 @[ -f ./autoconf/Makefile ] || exit 0; \
3833 r=`${PWD_COMMAND}`; export r; \
3834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3835 $(HOST_EXPORTS) \
3836 for flag in $(EXTRA_HOST_FLAGS) ; do \
3837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3838 done; \
3839 echo "Doing TAGS in autoconf" ; \
3840 (cd $(HOST_SUBDIR)/autoconf && \
3841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3843 "RANLIB=$${RANLIB}" \
3844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3845 TAGS) \
3846 || exit 1
3848 @endif autoconf
3850 .PHONY: maybe-install-info-autoconf install-info-autoconf
3851 maybe-install-info-autoconf:
3852 @if autoconf
3853 maybe-install-info-autoconf: install-info-autoconf
3855 install-info-autoconf: \
3856 configure-autoconf \
3857 info-autoconf
3858 @: $(MAKE); $(unstage)
3859 @[ -f ./autoconf/Makefile ] || exit 0; \
3860 r=`${PWD_COMMAND}`; export r; \
3861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3862 $(HOST_EXPORTS) \
3863 for flag in $(EXTRA_HOST_FLAGS) ; do \
3864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3865 done; \
3866 echo "Doing install-info in autoconf" ; \
3867 (cd $(HOST_SUBDIR)/autoconf && \
3868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3870 "RANLIB=$${RANLIB}" \
3871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3872 install-info) \
3873 || exit 1
3875 @endif autoconf
3877 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
3878 maybe-install-pdf-autoconf:
3879 @if autoconf
3880 maybe-install-pdf-autoconf: install-pdf-autoconf
3882 install-pdf-autoconf: \
3883 configure-autoconf \
3884 pdf-autoconf
3885 @: $(MAKE); $(unstage)
3886 @[ -f ./autoconf/Makefile ] || exit 0; \
3887 r=`${PWD_COMMAND}`; export r; \
3888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3889 $(HOST_EXPORTS) \
3890 for flag in $(EXTRA_HOST_FLAGS) ; do \
3891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3892 done; \
3893 echo "Doing install-pdf in autoconf" ; \
3894 (cd $(HOST_SUBDIR)/autoconf && \
3895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3897 "RANLIB=$${RANLIB}" \
3898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3899 install-pdf) \
3900 || exit 1
3902 @endif autoconf
3904 .PHONY: maybe-install-html-autoconf install-html-autoconf
3905 maybe-install-html-autoconf:
3906 @if autoconf
3907 maybe-install-html-autoconf: install-html-autoconf
3909 install-html-autoconf: \
3910 configure-autoconf \
3911 html-autoconf
3912 @: $(MAKE); $(unstage)
3913 @[ -f ./autoconf/Makefile ] || exit 0; \
3914 r=`${PWD_COMMAND}`; export r; \
3915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3916 $(HOST_EXPORTS) \
3917 for flag in $(EXTRA_HOST_FLAGS) ; do \
3918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3919 done; \
3920 echo "Doing install-html in autoconf" ; \
3921 (cd $(HOST_SUBDIR)/autoconf && \
3922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3924 "RANLIB=$${RANLIB}" \
3925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3926 install-html) \
3927 || exit 1
3929 @endif autoconf
3931 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3932 maybe-installcheck-autoconf:
3933 @if autoconf
3934 maybe-installcheck-autoconf: installcheck-autoconf
3936 installcheck-autoconf: \
3937 configure-autoconf
3938 @: $(MAKE); $(unstage)
3939 @[ -f ./autoconf/Makefile ] || exit 0; \
3940 r=`${PWD_COMMAND}`; export r; \
3941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3942 $(HOST_EXPORTS) \
3943 for flag in $(EXTRA_HOST_FLAGS) ; do \
3944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3945 done; \
3946 echo "Doing installcheck in autoconf" ; \
3947 (cd $(HOST_SUBDIR)/autoconf && \
3948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3950 "RANLIB=$${RANLIB}" \
3951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3952 installcheck) \
3953 || exit 1
3955 @endif autoconf
3957 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3958 maybe-mostlyclean-autoconf:
3959 @if autoconf
3960 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3962 mostlyclean-autoconf:
3963 @: $(MAKE); $(unstage)
3964 @[ -f ./autoconf/Makefile ] || exit 0; \
3965 r=`${PWD_COMMAND}`; export r; \
3966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3967 $(HOST_EXPORTS) \
3968 for flag in $(EXTRA_HOST_FLAGS) ; do \
3969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3970 done; \
3971 echo "Doing mostlyclean in autoconf" ; \
3972 (cd $(HOST_SUBDIR)/autoconf && \
3973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3975 "RANLIB=$${RANLIB}" \
3976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3977 mostlyclean) \
3978 || exit 1
3980 @endif autoconf
3982 .PHONY: maybe-clean-autoconf clean-autoconf
3983 maybe-clean-autoconf:
3984 @if autoconf
3985 maybe-clean-autoconf: clean-autoconf
3987 clean-autoconf:
3988 @: $(MAKE); $(unstage)
3989 @[ -f ./autoconf/Makefile ] || exit 0; \
3990 r=`${PWD_COMMAND}`; export r; \
3991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3992 $(HOST_EXPORTS) \
3993 for flag in $(EXTRA_HOST_FLAGS) ; do \
3994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3995 done; \
3996 echo "Doing clean in autoconf" ; \
3997 (cd $(HOST_SUBDIR)/autoconf && \
3998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4000 "RANLIB=$${RANLIB}" \
4001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4002 clean) \
4003 || exit 1
4005 @endif autoconf
4007 .PHONY: maybe-distclean-autoconf distclean-autoconf
4008 maybe-distclean-autoconf:
4009 @if autoconf
4010 maybe-distclean-autoconf: distclean-autoconf
4012 distclean-autoconf:
4013 @: $(MAKE); $(unstage)
4014 @[ -f ./autoconf/Makefile ] || exit 0; \
4015 r=`${PWD_COMMAND}`; export r; \
4016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4017 $(HOST_EXPORTS) \
4018 for flag in $(EXTRA_HOST_FLAGS) ; do \
4019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4020 done; \
4021 echo "Doing distclean in autoconf" ; \
4022 (cd $(HOST_SUBDIR)/autoconf && \
4023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4025 "RANLIB=$${RANLIB}" \
4026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4027 distclean) \
4028 || exit 1
4030 @endif autoconf
4032 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
4033 maybe-maintainer-clean-autoconf:
4034 @if autoconf
4035 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
4037 maintainer-clean-autoconf:
4038 @: $(MAKE); $(unstage)
4039 @[ -f ./autoconf/Makefile ] || exit 0; \
4040 r=`${PWD_COMMAND}`; export r; \
4041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4042 $(HOST_EXPORTS) \
4043 for flag in $(EXTRA_HOST_FLAGS) ; do \
4044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4045 done; \
4046 echo "Doing maintainer-clean in autoconf" ; \
4047 (cd $(HOST_SUBDIR)/autoconf && \
4048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4050 "RANLIB=$${RANLIB}" \
4051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4052 maintainer-clean) \
4053 || exit 1
4055 @endif autoconf
4059 .PHONY: configure-automake maybe-configure-automake
4060 maybe-configure-automake:
4061 @if gcc-bootstrap
4062 configure-automake: stage_current
4063 @endif gcc-bootstrap
4064 @if automake
4065 maybe-configure-automake: configure-automake
4066 configure-automake:
4067 @: $(MAKE); $(unstage)
4068 @r=`${PWD_COMMAND}`; export r; \
4069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4070 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
4071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
4072 $(HOST_EXPORTS) \
4073 echo Configuring in $(HOST_SUBDIR)/automake; \
4074 cd "$(HOST_SUBDIR)/automake" || exit 1; \
4075 case $(srcdir) in \
4076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4077 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
4078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4079 esac; \
4080 srcdiroption="--srcdir=$${topdir}/automake"; \
4081 libsrcdir="$$s/automake"; \
4082 $(SHELL) $${libsrcdir}/configure \
4083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4084 --target=${target_alias} $${srcdiroption} \
4085 || exit 1
4086 @endif automake
4092 .PHONY: all-automake maybe-all-automake
4093 maybe-all-automake:
4094 @if gcc-bootstrap
4095 all-automake: stage_current
4096 @endif gcc-bootstrap
4097 @if automake
4098 TARGET-automake=all
4099 maybe-all-automake: all-automake
4100 all-automake: configure-automake
4101 @: $(MAKE); $(unstage)
4102 @r=`${PWD_COMMAND}`; export r; \
4103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4104 $(HOST_EXPORTS) \
4105 (cd $(HOST_SUBDIR)/automake && \
4106 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4107 $(TARGET-automake))
4108 @endif automake
4113 .PHONY: check-automake maybe-check-automake
4114 maybe-check-automake:
4115 @if automake
4116 maybe-check-automake: check-automake
4118 check-automake:
4119 @: $(MAKE); $(unstage)
4120 @r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(HOST_EXPORTS) \
4123 (cd $(HOST_SUBDIR)/automake && \
4124 $(MAKE) $(FLAGS_TO_PASS) check)
4126 @endif automake
4128 .PHONY: install-automake maybe-install-automake
4129 maybe-install-automake:
4130 @if automake
4131 maybe-install-automake: install-automake
4133 install-automake: installdirs
4134 @: $(MAKE); $(unstage)
4135 @r=`${PWD_COMMAND}`; export r; \
4136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4137 $(HOST_EXPORTS) \
4138 (cd $(HOST_SUBDIR)/automake && \
4139 $(MAKE) $(FLAGS_TO_PASS) install)
4141 @endif automake
4143 # Other targets (info, dvi, pdf, etc.)
4145 .PHONY: maybe-info-automake info-automake
4146 maybe-info-automake:
4147 @if automake
4148 maybe-info-automake: info-automake
4150 info-automake: \
4151 configure-automake
4152 @: $(MAKE); $(unstage)
4153 @[ -f ./automake/Makefile ] || exit 0; \
4154 r=`${PWD_COMMAND}`; export r; \
4155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156 $(HOST_EXPORTS) \
4157 for flag in $(EXTRA_HOST_FLAGS) ; do \
4158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4159 done; \
4160 echo "Doing info in automake" ; \
4161 (cd $(HOST_SUBDIR)/automake && \
4162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4164 "RANLIB=$${RANLIB}" \
4165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4166 info) \
4167 || exit 1
4169 @endif automake
4171 .PHONY: maybe-dvi-automake dvi-automake
4172 maybe-dvi-automake:
4173 @if automake
4174 maybe-dvi-automake: dvi-automake
4176 dvi-automake: \
4177 configure-automake
4178 @: $(MAKE); $(unstage)
4179 @[ -f ./automake/Makefile ] || exit 0; \
4180 r=`${PWD_COMMAND}`; export r; \
4181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4182 $(HOST_EXPORTS) \
4183 for flag in $(EXTRA_HOST_FLAGS) ; do \
4184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4185 done; \
4186 echo "Doing dvi in automake" ; \
4187 (cd $(HOST_SUBDIR)/automake && \
4188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4190 "RANLIB=$${RANLIB}" \
4191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4192 dvi) \
4193 || exit 1
4195 @endif automake
4197 .PHONY: maybe-pdf-automake pdf-automake
4198 maybe-pdf-automake:
4199 @if automake
4200 maybe-pdf-automake: pdf-automake
4202 pdf-automake: \
4203 configure-automake
4204 @: $(MAKE); $(unstage)
4205 @[ -f ./automake/Makefile ] || exit 0; \
4206 r=`${PWD_COMMAND}`; export r; \
4207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4208 $(HOST_EXPORTS) \
4209 for flag in $(EXTRA_HOST_FLAGS) ; do \
4210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4211 done; \
4212 echo "Doing pdf in automake" ; \
4213 (cd $(HOST_SUBDIR)/automake && \
4214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4216 "RANLIB=$${RANLIB}" \
4217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4218 pdf) \
4219 || exit 1
4221 @endif automake
4223 .PHONY: maybe-html-automake html-automake
4224 maybe-html-automake:
4225 @if automake
4226 maybe-html-automake: html-automake
4228 html-automake: \
4229 configure-automake
4230 @: $(MAKE); $(unstage)
4231 @[ -f ./automake/Makefile ] || exit 0; \
4232 r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234 $(HOST_EXPORTS) \
4235 for flag in $(EXTRA_HOST_FLAGS) ; do \
4236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4237 done; \
4238 echo "Doing html in automake" ; \
4239 (cd $(HOST_SUBDIR)/automake && \
4240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4242 "RANLIB=$${RANLIB}" \
4243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4244 html) \
4245 || exit 1
4247 @endif automake
4249 .PHONY: maybe-TAGS-automake TAGS-automake
4250 maybe-TAGS-automake:
4251 @if automake
4252 maybe-TAGS-automake: TAGS-automake
4254 TAGS-automake: \
4255 configure-automake
4256 @: $(MAKE); $(unstage)
4257 @[ -f ./automake/Makefile ] || exit 0; \
4258 r=`${PWD_COMMAND}`; export r; \
4259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4260 $(HOST_EXPORTS) \
4261 for flag in $(EXTRA_HOST_FLAGS) ; do \
4262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4263 done; \
4264 echo "Doing TAGS in automake" ; \
4265 (cd $(HOST_SUBDIR)/automake && \
4266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4268 "RANLIB=$${RANLIB}" \
4269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4270 TAGS) \
4271 || exit 1
4273 @endif automake
4275 .PHONY: maybe-install-info-automake install-info-automake
4276 maybe-install-info-automake:
4277 @if automake
4278 maybe-install-info-automake: install-info-automake
4280 install-info-automake: \
4281 configure-automake \
4282 info-automake
4283 @: $(MAKE); $(unstage)
4284 @[ -f ./automake/Makefile ] || exit 0; \
4285 r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 $(HOST_EXPORTS) \
4288 for flag in $(EXTRA_HOST_FLAGS) ; do \
4289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4290 done; \
4291 echo "Doing install-info in automake" ; \
4292 (cd $(HOST_SUBDIR)/automake && \
4293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4295 "RANLIB=$${RANLIB}" \
4296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4297 install-info) \
4298 || exit 1
4300 @endif automake
4302 .PHONY: maybe-install-pdf-automake install-pdf-automake
4303 maybe-install-pdf-automake:
4304 @if automake
4305 maybe-install-pdf-automake: install-pdf-automake
4307 install-pdf-automake: \
4308 configure-automake \
4309 pdf-automake
4310 @: $(MAKE); $(unstage)
4311 @[ -f ./automake/Makefile ] || exit 0; \
4312 r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4314 $(HOST_EXPORTS) \
4315 for flag in $(EXTRA_HOST_FLAGS) ; do \
4316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4317 done; \
4318 echo "Doing install-pdf in automake" ; \
4319 (cd $(HOST_SUBDIR)/automake && \
4320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4322 "RANLIB=$${RANLIB}" \
4323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4324 install-pdf) \
4325 || exit 1
4327 @endif automake
4329 .PHONY: maybe-install-html-automake install-html-automake
4330 maybe-install-html-automake:
4331 @if automake
4332 maybe-install-html-automake: install-html-automake
4334 install-html-automake: \
4335 configure-automake \
4336 html-automake
4337 @: $(MAKE); $(unstage)
4338 @[ -f ./automake/Makefile ] || exit 0; \
4339 r=`${PWD_COMMAND}`; export r; \
4340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4341 $(HOST_EXPORTS) \
4342 for flag in $(EXTRA_HOST_FLAGS) ; do \
4343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4344 done; \
4345 echo "Doing install-html in automake" ; \
4346 (cd $(HOST_SUBDIR)/automake && \
4347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4349 "RANLIB=$${RANLIB}" \
4350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4351 install-html) \
4352 || exit 1
4354 @endif automake
4356 .PHONY: maybe-installcheck-automake installcheck-automake
4357 maybe-installcheck-automake:
4358 @if automake
4359 maybe-installcheck-automake: installcheck-automake
4361 installcheck-automake: \
4362 configure-automake
4363 @: $(MAKE); $(unstage)
4364 @[ -f ./automake/Makefile ] || exit 0; \
4365 r=`${PWD_COMMAND}`; export r; \
4366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4367 $(HOST_EXPORTS) \
4368 for flag in $(EXTRA_HOST_FLAGS) ; do \
4369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4370 done; \
4371 echo "Doing installcheck in automake" ; \
4372 (cd $(HOST_SUBDIR)/automake && \
4373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4375 "RANLIB=$${RANLIB}" \
4376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4377 installcheck) \
4378 || exit 1
4380 @endif automake
4382 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4383 maybe-mostlyclean-automake:
4384 @if automake
4385 maybe-mostlyclean-automake: mostlyclean-automake
4387 mostlyclean-automake:
4388 @: $(MAKE); $(unstage)
4389 @[ -f ./automake/Makefile ] || exit 0; \
4390 r=`${PWD_COMMAND}`; export r; \
4391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4392 $(HOST_EXPORTS) \
4393 for flag in $(EXTRA_HOST_FLAGS) ; do \
4394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4395 done; \
4396 echo "Doing mostlyclean in automake" ; \
4397 (cd $(HOST_SUBDIR)/automake && \
4398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4400 "RANLIB=$${RANLIB}" \
4401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4402 mostlyclean) \
4403 || exit 1
4405 @endif automake
4407 .PHONY: maybe-clean-automake clean-automake
4408 maybe-clean-automake:
4409 @if automake
4410 maybe-clean-automake: clean-automake
4412 clean-automake:
4413 @: $(MAKE); $(unstage)
4414 @[ -f ./automake/Makefile ] || exit 0; \
4415 r=`${PWD_COMMAND}`; export r; \
4416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4417 $(HOST_EXPORTS) \
4418 for flag in $(EXTRA_HOST_FLAGS) ; do \
4419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4420 done; \
4421 echo "Doing clean in automake" ; \
4422 (cd $(HOST_SUBDIR)/automake && \
4423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4425 "RANLIB=$${RANLIB}" \
4426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4427 clean) \
4428 || exit 1
4430 @endif automake
4432 .PHONY: maybe-distclean-automake distclean-automake
4433 maybe-distclean-automake:
4434 @if automake
4435 maybe-distclean-automake: distclean-automake
4437 distclean-automake:
4438 @: $(MAKE); $(unstage)
4439 @[ -f ./automake/Makefile ] || exit 0; \
4440 r=`${PWD_COMMAND}`; export r; \
4441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4442 $(HOST_EXPORTS) \
4443 for flag in $(EXTRA_HOST_FLAGS) ; do \
4444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4445 done; \
4446 echo "Doing distclean in automake" ; \
4447 (cd $(HOST_SUBDIR)/automake && \
4448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4450 "RANLIB=$${RANLIB}" \
4451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4452 distclean) \
4453 || exit 1
4455 @endif automake
4457 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4458 maybe-maintainer-clean-automake:
4459 @if automake
4460 maybe-maintainer-clean-automake: maintainer-clean-automake
4462 maintainer-clean-automake:
4463 @: $(MAKE); $(unstage)
4464 @[ -f ./automake/Makefile ] || exit 0; \
4465 r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 $(HOST_EXPORTS) \
4468 for flag in $(EXTRA_HOST_FLAGS) ; do \
4469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4470 done; \
4471 echo "Doing maintainer-clean in automake" ; \
4472 (cd $(HOST_SUBDIR)/automake && \
4473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4475 "RANLIB=$${RANLIB}" \
4476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4477 maintainer-clean) \
4478 || exit 1
4480 @endif automake
4484 .PHONY: configure-bash maybe-configure-bash
4485 maybe-configure-bash:
4486 @if gcc-bootstrap
4487 configure-bash: stage_current
4488 @endif gcc-bootstrap
4489 @if bash
4490 maybe-configure-bash: configure-bash
4491 configure-bash:
4492 @: $(MAKE); $(unstage)
4493 @r=`${PWD_COMMAND}`; export r; \
4494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4495 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4497 $(HOST_EXPORTS) \
4498 echo Configuring in $(HOST_SUBDIR)/bash; \
4499 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4500 case $(srcdir) in \
4501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4502 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4504 esac; \
4505 srcdiroption="--srcdir=$${topdir}/bash"; \
4506 libsrcdir="$$s/bash"; \
4507 $(SHELL) $${libsrcdir}/configure \
4508 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4509 --target=${target_alias} $${srcdiroption} \
4510 || exit 1
4511 @endif bash
4517 .PHONY: all-bash maybe-all-bash
4518 maybe-all-bash:
4519 @if gcc-bootstrap
4520 all-bash: stage_current
4521 @endif gcc-bootstrap
4522 @if bash
4523 TARGET-bash=all
4524 maybe-all-bash: all-bash
4525 all-bash: configure-bash
4526 @: $(MAKE); $(unstage)
4527 @r=`${PWD_COMMAND}`; export r; \
4528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4529 $(HOST_EXPORTS) \
4530 (cd $(HOST_SUBDIR)/bash && \
4531 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4532 $(TARGET-bash))
4533 @endif bash
4538 .PHONY: check-bash maybe-check-bash
4539 maybe-check-bash:
4540 @if bash
4541 maybe-check-bash: check-bash
4543 check-bash:
4544 @: $(MAKE); $(unstage)
4545 @r=`${PWD_COMMAND}`; export r; \
4546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4547 $(HOST_EXPORTS) \
4548 (cd $(HOST_SUBDIR)/bash && \
4549 $(MAKE) $(FLAGS_TO_PASS) check)
4551 @endif bash
4553 .PHONY: install-bash maybe-install-bash
4554 maybe-install-bash:
4555 @if bash
4556 maybe-install-bash: install-bash
4558 install-bash: installdirs
4559 @: $(MAKE); $(unstage)
4560 @r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562 $(HOST_EXPORTS) \
4563 (cd $(HOST_SUBDIR)/bash && \
4564 $(MAKE) $(FLAGS_TO_PASS) install)
4566 @endif bash
4568 # Other targets (info, dvi, pdf, etc.)
4570 .PHONY: maybe-info-bash info-bash
4571 maybe-info-bash:
4572 @if bash
4573 maybe-info-bash: info-bash
4575 info-bash: \
4576 configure-bash
4577 @: $(MAKE); $(unstage)
4578 @[ -f ./bash/Makefile ] || exit 0; \
4579 r=`${PWD_COMMAND}`; export r; \
4580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4581 $(HOST_EXPORTS) \
4582 for flag in $(EXTRA_HOST_FLAGS) ; do \
4583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4584 done; \
4585 echo "Doing info in bash" ; \
4586 (cd $(HOST_SUBDIR)/bash && \
4587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4589 "RANLIB=$${RANLIB}" \
4590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4591 info) \
4592 || exit 1
4594 @endif bash
4596 .PHONY: maybe-dvi-bash dvi-bash
4597 maybe-dvi-bash:
4598 @if bash
4599 maybe-dvi-bash: dvi-bash
4601 dvi-bash: \
4602 configure-bash
4603 @: $(MAKE); $(unstage)
4604 @[ -f ./bash/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607 $(HOST_EXPORTS) \
4608 for flag in $(EXTRA_HOST_FLAGS) ; do \
4609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4610 done; \
4611 echo "Doing dvi in bash" ; \
4612 (cd $(HOST_SUBDIR)/bash && \
4613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4615 "RANLIB=$${RANLIB}" \
4616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4617 dvi) \
4618 || exit 1
4620 @endif bash
4622 .PHONY: maybe-pdf-bash pdf-bash
4623 maybe-pdf-bash:
4624 @if bash
4625 maybe-pdf-bash: pdf-bash
4627 pdf-bash: \
4628 configure-bash
4629 @: $(MAKE); $(unstage)
4630 @[ -f ./bash/Makefile ] || exit 0; \
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4633 $(HOST_EXPORTS) \
4634 for flag in $(EXTRA_HOST_FLAGS) ; do \
4635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4636 done; \
4637 echo "Doing pdf in bash" ; \
4638 (cd $(HOST_SUBDIR)/bash && \
4639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641 "RANLIB=$${RANLIB}" \
4642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4643 pdf) \
4644 || exit 1
4646 @endif bash
4648 .PHONY: maybe-html-bash html-bash
4649 maybe-html-bash:
4650 @if bash
4651 maybe-html-bash: html-bash
4653 html-bash: \
4654 configure-bash
4655 @: $(MAKE); $(unstage)
4656 @[ -f ./bash/Makefile ] || exit 0; \
4657 r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 $(HOST_EXPORTS) \
4660 for flag in $(EXTRA_HOST_FLAGS) ; do \
4661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4662 done; \
4663 echo "Doing html in bash" ; \
4664 (cd $(HOST_SUBDIR)/bash && \
4665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4667 "RANLIB=$${RANLIB}" \
4668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4669 html) \
4670 || exit 1
4672 @endif bash
4674 .PHONY: maybe-TAGS-bash TAGS-bash
4675 maybe-TAGS-bash:
4676 @if bash
4677 maybe-TAGS-bash: TAGS-bash
4679 TAGS-bash: \
4680 configure-bash
4681 @: $(MAKE); $(unstage)
4682 @[ -f ./bash/Makefile ] || exit 0; \
4683 r=`${PWD_COMMAND}`; export r; \
4684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4685 $(HOST_EXPORTS) \
4686 for flag in $(EXTRA_HOST_FLAGS) ; do \
4687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4688 done; \
4689 echo "Doing TAGS in bash" ; \
4690 (cd $(HOST_SUBDIR)/bash && \
4691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4693 "RANLIB=$${RANLIB}" \
4694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4695 TAGS) \
4696 || exit 1
4698 @endif bash
4700 .PHONY: maybe-install-info-bash install-info-bash
4701 maybe-install-info-bash:
4702 @if bash
4703 maybe-install-info-bash: install-info-bash
4705 install-info-bash: \
4706 configure-bash \
4707 info-bash
4708 @: $(MAKE); $(unstage)
4709 @[ -f ./bash/Makefile ] || exit 0; \
4710 r=`${PWD_COMMAND}`; export r; \
4711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4712 $(HOST_EXPORTS) \
4713 for flag in $(EXTRA_HOST_FLAGS) ; do \
4714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4715 done; \
4716 echo "Doing install-info in bash" ; \
4717 (cd $(HOST_SUBDIR)/bash && \
4718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4720 "RANLIB=$${RANLIB}" \
4721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4722 install-info) \
4723 || exit 1
4725 @endif bash
4727 .PHONY: maybe-install-pdf-bash install-pdf-bash
4728 maybe-install-pdf-bash:
4729 @if bash
4730 maybe-install-pdf-bash: install-pdf-bash
4732 install-pdf-bash: \
4733 configure-bash \
4734 pdf-bash
4735 @: $(MAKE); $(unstage)
4736 @[ -f ./bash/Makefile ] || exit 0; \
4737 r=`${PWD_COMMAND}`; export r; \
4738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4739 $(HOST_EXPORTS) \
4740 for flag in $(EXTRA_HOST_FLAGS) ; do \
4741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4742 done; \
4743 echo "Doing install-pdf in bash" ; \
4744 (cd $(HOST_SUBDIR)/bash && \
4745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4747 "RANLIB=$${RANLIB}" \
4748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4749 install-pdf) \
4750 || exit 1
4752 @endif bash
4754 .PHONY: maybe-install-html-bash install-html-bash
4755 maybe-install-html-bash:
4756 @if bash
4757 maybe-install-html-bash: install-html-bash
4759 install-html-bash: \
4760 configure-bash \
4761 html-bash
4762 @: $(MAKE); $(unstage)
4763 @[ -f ./bash/Makefile ] || exit 0; \
4764 r=`${PWD_COMMAND}`; export r; \
4765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4766 $(HOST_EXPORTS) \
4767 for flag in $(EXTRA_HOST_FLAGS) ; do \
4768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4769 done; \
4770 echo "Doing install-html in bash" ; \
4771 (cd $(HOST_SUBDIR)/bash && \
4772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4774 "RANLIB=$${RANLIB}" \
4775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4776 install-html) \
4777 || exit 1
4779 @endif bash
4781 .PHONY: maybe-installcheck-bash installcheck-bash
4782 maybe-installcheck-bash:
4783 @if bash
4784 maybe-installcheck-bash: installcheck-bash
4786 installcheck-bash: \
4787 configure-bash
4788 @: $(MAKE); $(unstage)
4789 @[ -f ./bash/Makefile ] || exit 0; \
4790 r=`${PWD_COMMAND}`; export r; \
4791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4792 $(HOST_EXPORTS) \
4793 for flag in $(EXTRA_HOST_FLAGS) ; do \
4794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4795 done; \
4796 echo "Doing installcheck in bash" ; \
4797 (cd $(HOST_SUBDIR)/bash && \
4798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4800 "RANLIB=$${RANLIB}" \
4801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4802 installcheck) \
4803 || exit 1
4805 @endif bash
4807 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4808 maybe-mostlyclean-bash:
4809 @if bash
4810 maybe-mostlyclean-bash: mostlyclean-bash
4812 mostlyclean-bash:
4813 @: $(MAKE); $(unstage)
4814 @[ -f ./bash/Makefile ] || exit 0; \
4815 r=`${PWD_COMMAND}`; export r; \
4816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4817 $(HOST_EXPORTS) \
4818 for flag in $(EXTRA_HOST_FLAGS) ; do \
4819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4820 done; \
4821 echo "Doing mostlyclean in bash" ; \
4822 (cd $(HOST_SUBDIR)/bash && \
4823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4825 "RANLIB=$${RANLIB}" \
4826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4827 mostlyclean) \
4828 || exit 1
4830 @endif bash
4832 .PHONY: maybe-clean-bash clean-bash
4833 maybe-clean-bash:
4834 @if bash
4835 maybe-clean-bash: clean-bash
4837 clean-bash:
4838 @: $(MAKE); $(unstage)
4839 @[ -f ./bash/Makefile ] || exit 0; \
4840 r=`${PWD_COMMAND}`; export r; \
4841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4842 $(HOST_EXPORTS) \
4843 for flag in $(EXTRA_HOST_FLAGS) ; do \
4844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4845 done; \
4846 echo "Doing clean in bash" ; \
4847 (cd $(HOST_SUBDIR)/bash && \
4848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4850 "RANLIB=$${RANLIB}" \
4851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4852 clean) \
4853 || exit 1
4855 @endif bash
4857 .PHONY: maybe-distclean-bash distclean-bash
4858 maybe-distclean-bash:
4859 @if bash
4860 maybe-distclean-bash: distclean-bash
4862 distclean-bash:
4863 @: $(MAKE); $(unstage)
4864 @[ -f ./bash/Makefile ] || exit 0; \
4865 r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4867 $(HOST_EXPORTS) \
4868 for flag in $(EXTRA_HOST_FLAGS) ; do \
4869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4870 done; \
4871 echo "Doing distclean in bash" ; \
4872 (cd $(HOST_SUBDIR)/bash && \
4873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4875 "RANLIB=$${RANLIB}" \
4876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4877 distclean) \
4878 || exit 1
4880 @endif bash
4882 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4883 maybe-maintainer-clean-bash:
4884 @if bash
4885 maybe-maintainer-clean-bash: maintainer-clean-bash
4887 maintainer-clean-bash:
4888 @: $(MAKE); $(unstage)
4889 @[ -f ./bash/Makefile ] || exit 0; \
4890 r=`${PWD_COMMAND}`; export r; \
4891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4892 $(HOST_EXPORTS) \
4893 for flag in $(EXTRA_HOST_FLAGS) ; do \
4894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4895 done; \
4896 echo "Doing maintainer-clean in bash" ; \
4897 (cd $(HOST_SUBDIR)/bash && \
4898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4900 "RANLIB=$${RANLIB}" \
4901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4902 maintainer-clean) \
4903 || exit 1
4905 @endif bash
4909 .PHONY: configure-bfd maybe-configure-bfd
4910 maybe-configure-bfd:
4911 @if gcc-bootstrap
4912 configure-bfd: stage_current
4913 @endif gcc-bootstrap
4914 @if bfd
4915 maybe-configure-bfd: configure-bfd
4916 configure-bfd:
4917 @r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4921 $(HOST_EXPORTS) \
4922 echo Configuring in $(HOST_SUBDIR)/bfd; \
4923 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4924 case $(srcdir) in \
4925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4926 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4928 esac; \
4929 srcdiroption="--srcdir=$${topdir}/bfd"; \
4930 libsrcdir="$$s/bfd"; \
4931 $(SHELL) $${libsrcdir}/configure \
4932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4933 --target=${target_alias} $${srcdiroption} \
4934 || exit 1
4935 @endif bfd
4939 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4940 maybe-configure-stage1-bfd:
4941 @if bfd-bootstrap
4942 maybe-configure-stage1-bfd: configure-stage1-bfd
4943 configure-stage1-bfd:
4944 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4946 @r=`${PWD_COMMAND}`; export r; \
4947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4948 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4949 $(HOST_EXPORTS) \
4950 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4951 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
4952 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4954 cd $(HOST_SUBDIR)/bfd || exit 1; \
4955 case $(srcdir) in \
4956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4957 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4959 esac; \
4960 srcdiroption="--srcdir=$${topdir}/bfd"; \
4961 libsrcdir="$$s/bfd"; \
4962 $(SHELL) $${libsrcdir}/configure \
4963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4964 --target=${target_alias} $${srcdiroption} \
4966 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4967 @endif bfd-bootstrap
4969 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4970 maybe-configure-stage2-bfd:
4971 @if bfd-bootstrap
4972 maybe-configure-stage2-bfd: configure-stage2-bfd
4973 configure-stage2-bfd:
4974 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4976 @r=`${PWD_COMMAND}`; export r; \
4977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4978 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4979 $(HOST_EXPORTS) \
4980 $(POSTSTAGE1_HOST_EXPORTS) \
4981 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4982 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
4983 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4985 cd $(HOST_SUBDIR)/bfd || exit 1; \
4986 case $(srcdir) in \
4987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4988 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4990 esac; \
4991 srcdiroption="--srcdir=$${topdir}/bfd"; \
4992 libsrcdir="$$s/bfd"; \
4993 $(SHELL) $${libsrcdir}/configure \
4994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4995 --target=${target_alias} $${srcdiroption} \
4996 --with-build-libsubdir=$(HOST_SUBDIR) \
4997 @stage2_werror_flag@
4998 @endif bfd-bootstrap
5000 .PHONY: configure-stageb2g0-bfd maybe-configure-stageb2g0-bfd
5001 maybe-configure-stageb2g0-bfd:
5002 @if bfd-bootstrap
5003 maybe-configure-stageb2g0-bfd: configure-stageb2g0-bfd
5004 configure-stageb2g0-bfd:
5005 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
5006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5007 @r=`${PWD_COMMAND}`; export r; \
5008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5009 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5010 $(HOST_EXPORTS) \
5011 $(POSTSTAGE1_HOST_EXPORTS) \
5012 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
5013 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
5014 echo Configuring stage b2g0 in $(HOST_SUBDIR)/bfd ; \
5015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5016 cd $(HOST_SUBDIR)/bfd || exit 1; \
5017 case $(srcdir) in \
5018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5019 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5021 esac; \
5022 srcdiroption="--srcdir=$${topdir}/bfd"; \
5023 libsrcdir="$$s/bfd"; \
5024 $(SHELL) $${libsrcdir}/configure \
5025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5026 --target=${target_alias} $${srcdiroption} \
5027 --with-build-libsubdir=$(HOST_SUBDIR) \
5028 @stage2_werror_flag@
5029 @endif bfd-bootstrap
5031 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
5032 maybe-configure-stage3-bfd:
5033 @if bfd-bootstrap
5034 maybe-configure-stage3-bfd: configure-stage3-bfd
5035 configure-stage3-bfd:
5036 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5038 @r=`${PWD_COMMAND}`; export r; \
5039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5040 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5041 $(HOST_EXPORTS) \
5042 $(POSTSTAGE1_HOST_EXPORTS) \
5043 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5044 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
5045 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
5046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5047 cd $(HOST_SUBDIR)/bfd || exit 1; \
5048 case $(srcdir) in \
5049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5050 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5052 esac; \
5053 srcdiroption="--srcdir=$${topdir}/bfd"; \
5054 libsrcdir="$$s/bfd"; \
5055 $(SHELL) $${libsrcdir}/configure \
5056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5057 --target=${target_alias} $${srcdiroption} \
5058 --with-build-libsubdir=$(HOST_SUBDIR) \
5059 @stage2_werror_flag@
5060 @endif bfd-bootstrap
5062 .PHONY: configure-stageb3g2-bfd maybe-configure-stageb3g2-bfd
5063 maybe-configure-stageb3g2-bfd:
5064 @if bfd-bootstrap
5065 maybe-configure-stageb3g2-bfd: configure-stageb3g2-bfd
5066 configure-stageb3g2-bfd:
5067 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
5068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5069 @r=`${PWD_COMMAND}`; export r; \
5070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5071 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5072 $(HOST_EXPORTS) \
5073 $(POSTSTAGE1_HOST_EXPORTS) \
5074 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
5075 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
5076 echo Configuring stage b3g2 in $(HOST_SUBDIR)/bfd ; \
5077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5078 cd $(HOST_SUBDIR)/bfd || exit 1; \
5079 case $(srcdir) in \
5080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5081 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5083 esac; \
5084 srcdiroption="--srcdir=$${topdir}/bfd"; \
5085 libsrcdir="$$s/bfd"; \
5086 $(SHELL) $${libsrcdir}/configure \
5087 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5088 --target=${target_alias} $${srcdiroption} \
5089 --with-build-libsubdir=$(HOST_SUBDIR) \
5090 @stage2_werror_flag@
5091 @endif bfd-bootstrap
5093 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
5094 maybe-configure-stage4-bfd:
5095 @if bfd-bootstrap
5096 maybe-configure-stage4-bfd: configure-stage4-bfd
5097 configure-stage4-bfd:
5098 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5100 @r=`${PWD_COMMAND}`; export r; \
5101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5102 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5103 $(HOST_EXPORTS) \
5104 $(POSTSTAGE1_HOST_EXPORTS) \
5105 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5106 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
5107 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
5108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5109 cd $(HOST_SUBDIR)/bfd || exit 1; \
5110 case $(srcdir) in \
5111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5112 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5114 esac; \
5115 srcdiroption="--srcdir=$${topdir}/bfd"; \
5116 libsrcdir="$$s/bfd"; \
5117 $(SHELL) $${libsrcdir}/configure \
5118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5119 --target=${target_alias} $${srcdiroption} \
5120 --with-build-libsubdir=$(HOST_SUBDIR) \
5121 @stage2_werror_flag@
5122 @endif bfd-bootstrap
5124 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
5125 maybe-configure-stageprofile-bfd:
5126 @if bfd-bootstrap
5127 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
5128 configure-stageprofile-bfd:
5129 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5131 @r=`${PWD_COMMAND}`; export r; \
5132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5133 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5134 $(HOST_EXPORTS) \
5135 $(POSTSTAGE1_HOST_EXPORTS) \
5136 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
5137 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
5138 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
5139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5140 cd $(HOST_SUBDIR)/bfd || exit 1; \
5141 case $(srcdir) in \
5142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5143 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5145 esac; \
5146 srcdiroption="--srcdir=$${topdir}/bfd"; \
5147 libsrcdir="$$s/bfd"; \
5148 $(SHELL) $${libsrcdir}/configure \
5149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5150 --target=${target_alias} $${srcdiroption} \
5151 --with-build-libsubdir=$(HOST_SUBDIR) \
5152 @stage2_werror_flag@
5153 @endif bfd-bootstrap
5155 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
5156 maybe-configure-stagefeedback-bfd:
5157 @if bfd-bootstrap
5158 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
5159 configure-stagefeedback-bfd:
5160 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5161 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5162 @r=`${PWD_COMMAND}`; export r; \
5163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5164 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5165 $(HOST_EXPORTS) \
5166 $(POSTSTAGE1_HOST_EXPORTS) \
5167 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
5168 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
5169 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
5170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5171 cd $(HOST_SUBDIR)/bfd || exit 1; \
5172 case $(srcdir) in \
5173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5174 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5176 esac; \
5177 srcdiroption="--srcdir=$${topdir}/bfd"; \
5178 libsrcdir="$$s/bfd"; \
5179 $(SHELL) $${libsrcdir}/configure \
5180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5181 --target=${target_alias} $${srcdiroption} \
5182 --with-build-libsubdir=$(HOST_SUBDIR) \
5183 @stage2_werror_flag@
5184 @endif bfd-bootstrap
5190 .PHONY: all-bfd maybe-all-bfd
5191 maybe-all-bfd:
5192 @if gcc-bootstrap
5193 all-bfd: stage_current
5194 @endif gcc-bootstrap
5195 @if bfd
5196 TARGET-bfd=all
5197 maybe-all-bfd: all-bfd
5198 all-bfd: configure-bfd
5199 @r=`${PWD_COMMAND}`; export r; \
5200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5201 $(HOST_EXPORTS) \
5202 (cd $(HOST_SUBDIR)/bfd && \
5203 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5204 $(TARGET-bfd))
5205 @endif bfd
5209 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
5210 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
5211 maybe-all-stage1-bfd:
5212 maybe-clean-stage1-bfd:
5213 @if bfd-bootstrap
5214 maybe-all-stage1-bfd: all-stage1-bfd
5215 all-stage1: all-stage1-bfd
5216 TARGET-stage1-bfd = $(TARGET-bfd)
5217 all-stage1-bfd: configure-stage1-bfd
5218 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5219 @r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221 $(HOST_EXPORTS) \
5222 cd $(HOST_SUBDIR)/bfd && \
5223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5224 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
5225 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
5226 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
5227 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
5228 $(TARGET-stage1-bfd)
5230 maybe-clean-stage1-bfd: clean-stage1-bfd
5231 clean-stage1: clean-stage1-bfd
5232 clean-stage1-bfd:
5233 @if [ $(current_stage) = stage1 ]; then \
5234 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5235 else \
5236 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
5237 $(MAKE) stage1-start; \
5238 fi; \
5239 cd $(HOST_SUBDIR)/bfd && \
5240 $(MAKE) $(EXTRA_HOST_FLAGS) \
5241 clean
5242 @endif bfd-bootstrap
5245 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
5246 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
5247 maybe-all-stage2-bfd:
5248 maybe-clean-stage2-bfd:
5249 @if bfd-bootstrap
5250 maybe-all-stage2-bfd: all-stage2-bfd
5251 all-stage2: all-stage2-bfd
5252 TARGET-stage2-bfd = $(TARGET-bfd)
5253 all-stage2-bfd: configure-stage2-bfd
5254 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5255 @r=`${PWD_COMMAND}`; export r; \
5256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5257 $(HOST_EXPORTS) \
5258 $(POSTSTAGE1_HOST_EXPORTS) \
5259 cd $(HOST_SUBDIR)/bfd && \
5260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5261 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
5262 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
5263 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
5264 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5265 $(TARGET-stage2-bfd)
5267 maybe-clean-stage2-bfd: clean-stage2-bfd
5268 clean-stage2: clean-stage2-bfd
5269 clean-stage2-bfd:
5270 @if [ $(current_stage) = stage2 ]; then \
5271 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5272 else \
5273 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
5274 $(MAKE) stage2-start; \
5275 fi; \
5276 cd $(HOST_SUBDIR)/bfd && \
5277 $(MAKE) $(EXTRA_HOST_FLAGS) \
5278 $(POSTSTAGE1_FLAGS_TO_PASS) \
5279 clean
5280 @endif bfd-bootstrap
5283 .PHONY: all-stageb2g0-bfd maybe-all-stageb2g0-bfd
5284 .PHONY: clean-stageb2g0-bfd maybe-clean-stageb2g0-bfd
5285 maybe-all-stageb2g0-bfd:
5286 maybe-clean-stageb2g0-bfd:
5287 @if bfd-bootstrap
5288 maybe-all-stageb2g0-bfd: all-stageb2g0-bfd
5289 all-stageb2g0: all-stageb2g0-bfd
5290 TARGET-stageb2g0-bfd = $(TARGET-bfd)
5291 all-stageb2g0-bfd: configure-stageb2g0-bfd
5292 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
5293 @r=`${PWD_COMMAND}`; export r; \
5294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5295 $(HOST_EXPORTS) \
5296 $(POSTSTAGE1_HOST_EXPORTS) \
5297 cd $(HOST_SUBDIR)/bfd && \
5298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5299 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
5300 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
5301 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
5302 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5303 $(TARGET-stageb2g0-bfd)
5305 maybe-clean-stageb2g0-bfd: clean-stageb2g0-bfd
5306 clean-stageb2g0: clean-stageb2g0-bfd
5307 clean-stageb2g0-bfd:
5308 @if [ $(current_stage) = stageb2g0 ]; then \
5309 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5310 else \
5311 [ -f $(HOST_SUBDIR)/stageb2g0-bfd/Makefile ] || exit 0; \
5312 $(MAKE) stageb2g0-start; \
5313 fi; \
5314 cd $(HOST_SUBDIR)/bfd && \
5315 $(MAKE) $(EXTRA_HOST_FLAGS) \
5316 $(POSTSTAGE1_FLAGS_TO_PASS) \
5317 clean
5318 @endif bfd-bootstrap
5321 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
5322 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
5323 maybe-all-stage3-bfd:
5324 maybe-clean-stage3-bfd:
5325 @if bfd-bootstrap
5326 maybe-all-stage3-bfd: all-stage3-bfd
5327 all-stage3: all-stage3-bfd
5328 TARGET-stage3-bfd = $(TARGET-bfd)
5329 all-stage3-bfd: configure-stage3-bfd
5330 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5331 @r=`${PWD_COMMAND}`; export r; \
5332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5333 $(HOST_EXPORTS) \
5334 $(POSTSTAGE1_HOST_EXPORTS) \
5335 cd $(HOST_SUBDIR)/bfd && \
5336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5337 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
5338 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
5339 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
5340 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5341 $(TARGET-stage3-bfd)
5343 maybe-clean-stage3-bfd: clean-stage3-bfd
5344 clean-stage3: clean-stage3-bfd
5345 clean-stage3-bfd:
5346 @if [ $(current_stage) = stage3 ]; then \
5347 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5348 else \
5349 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
5350 $(MAKE) stage3-start; \
5351 fi; \
5352 cd $(HOST_SUBDIR)/bfd && \
5353 $(MAKE) $(EXTRA_HOST_FLAGS) \
5354 $(POSTSTAGE1_FLAGS_TO_PASS) \
5355 clean
5356 @endif bfd-bootstrap
5359 .PHONY: all-stageb3g2-bfd maybe-all-stageb3g2-bfd
5360 .PHONY: clean-stageb3g2-bfd maybe-clean-stageb3g2-bfd
5361 maybe-all-stageb3g2-bfd:
5362 maybe-clean-stageb3g2-bfd:
5363 @if bfd-bootstrap
5364 maybe-all-stageb3g2-bfd: all-stageb3g2-bfd
5365 all-stageb3g2: all-stageb3g2-bfd
5366 TARGET-stageb3g2-bfd = $(TARGET-bfd)
5367 all-stageb3g2-bfd: configure-stageb3g2-bfd
5368 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
5369 @r=`${PWD_COMMAND}`; export r; \
5370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5371 $(HOST_EXPORTS) \
5372 $(POSTSTAGE1_HOST_EXPORTS) \
5373 cd $(HOST_SUBDIR)/bfd && \
5374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5375 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
5376 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
5377 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
5378 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5379 $(TARGET-stageb3g2-bfd)
5381 maybe-clean-stageb3g2-bfd: clean-stageb3g2-bfd
5382 clean-stageb3g2: clean-stageb3g2-bfd
5383 clean-stageb3g2-bfd:
5384 @if [ $(current_stage) = stageb3g2 ]; then \
5385 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5386 else \
5387 [ -f $(HOST_SUBDIR)/stageb3g2-bfd/Makefile ] || exit 0; \
5388 $(MAKE) stageb3g2-start; \
5389 fi; \
5390 cd $(HOST_SUBDIR)/bfd && \
5391 $(MAKE) $(EXTRA_HOST_FLAGS) \
5392 $(POSTSTAGE1_FLAGS_TO_PASS) \
5393 clean
5394 @endif bfd-bootstrap
5397 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
5398 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
5399 maybe-all-stage4-bfd:
5400 maybe-clean-stage4-bfd:
5401 @if bfd-bootstrap
5402 maybe-all-stage4-bfd: all-stage4-bfd
5403 all-stage4: all-stage4-bfd
5404 TARGET-stage4-bfd = $(TARGET-bfd)
5405 all-stage4-bfd: configure-stage4-bfd
5406 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5407 @r=`${PWD_COMMAND}`; export r; \
5408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5409 $(HOST_EXPORTS) \
5410 $(POSTSTAGE1_HOST_EXPORTS) \
5411 cd $(HOST_SUBDIR)/bfd && \
5412 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5413 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
5414 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5415 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
5416 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5417 $(TARGET-stage4-bfd)
5419 maybe-clean-stage4-bfd: clean-stage4-bfd
5420 clean-stage4: clean-stage4-bfd
5421 clean-stage4-bfd:
5422 @if [ $(current_stage) = stage4 ]; then \
5423 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5424 else \
5425 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
5426 $(MAKE) stage4-start; \
5427 fi; \
5428 cd $(HOST_SUBDIR)/bfd && \
5429 $(MAKE) $(EXTRA_HOST_FLAGS) \
5430 $(POSTSTAGE1_FLAGS_TO_PASS) \
5431 clean
5432 @endif bfd-bootstrap
5435 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
5436 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
5437 maybe-all-stageprofile-bfd:
5438 maybe-clean-stageprofile-bfd:
5439 @if bfd-bootstrap
5440 maybe-all-stageprofile-bfd: all-stageprofile-bfd
5441 all-stageprofile: all-stageprofile-bfd
5442 TARGET-stageprofile-bfd = $(TARGET-bfd)
5443 all-stageprofile-bfd: configure-stageprofile-bfd
5444 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5445 @r=`${PWD_COMMAND}`; export r; \
5446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5447 $(HOST_EXPORTS) \
5448 $(POSTSTAGE1_HOST_EXPORTS) \
5449 cd $(HOST_SUBDIR)/bfd && \
5450 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5451 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
5452 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
5453 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
5454 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5455 $(TARGET-stageprofile-bfd)
5457 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
5458 clean-stageprofile: clean-stageprofile-bfd
5459 clean-stageprofile-bfd:
5460 @if [ $(current_stage) = stageprofile ]; then \
5461 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5462 else \
5463 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
5464 $(MAKE) stageprofile-start; \
5465 fi; \
5466 cd $(HOST_SUBDIR)/bfd && \
5467 $(MAKE) $(EXTRA_HOST_FLAGS) \
5468 $(POSTSTAGE1_FLAGS_TO_PASS) \
5469 clean
5470 @endif bfd-bootstrap
5473 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
5474 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
5475 maybe-all-stagefeedback-bfd:
5476 maybe-clean-stagefeedback-bfd:
5477 @if bfd-bootstrap
5478 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
5479 all-stagefeedback: all-stagefeedback-bfd
5480 TARGET-stagefeedback-bfd = $(TARGET-bfd)
5481 all-stagefeedback-bfd: configure-stagefeedback-bfd
5482 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5483 @r=`${PWD_COMMAND}`; export r; \
5484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5485 $(HOST_EXPORTS) \
5486 $(POSTSTAGE1_HOST_EXPORTS) \
5487 cd $(HOST_SUBDIR)/bfd && \
5488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5489 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
5490 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
5491 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
5492 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5493 $(TARGET-stagefeedback-bfd)
5495 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
5496 clean-stagefeedback: clean-stagefeedback-bfd
5497 clean-stagefeedback-bfd:
5498 @if [ $(current_stage) = stagefeedback ]; then \
5499 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5500 else \
5501 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
5502 $(MAKE) stagefeedback-start; \
5503 fi; \
5504 cd $(HOST_SUBDIR)/bfd && \
5505 $(MAKE) $(EXTRA_HOST_FLAGS) \
5506 $(POSTSTAGE1_FLAGS_TO_PASS) \
5507 clean
5508 @endif bfd-bootstrap
5514 .PHONY: check-bfd maybe-check-bfd
5515 maybe-check-bfd:
5516 @if bfd
5517 maybe-check-bfd: check-bfd
5519 check-bfd:
5520 @: $(MAKE); $(unstage)
5521 @r=`${PWD_COMMAND}`; export r; \
5522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5523 $(HOST_EXPORTS) \
5524 (cd $(HOST_SUBDIR)/bfd && \
5525 $(MAKE) $(FLAGS_TO_PASS) check)
5527 @endif bfd
5529 .PHONY: install-bfd maybe-install-bfd
5530 maybe-install-bfd:
5531 @if bfd
5532 maybe-install-bfd: install-bfd
5534 install-bfd: installdirs
5535 @: $(MAKE); $(unstage)
5536 @r=`${PWD_COMMAND}`; export r; \
5537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5538 $(HOST_EXPORTS) \
5539 (cd $(HOST_SUBDIR)/bfd && \
5540 $(MAKE) $(FLAGS_TO_PASS) install)
5542 @endif bfd
5544 # Other targets (info, dvi, pdf, etc.)
5546 .PHONY: maybe-info-bfd info-bfd
5547 maybe-info-bfd:
5548 @if bfd
5549 maybe-info-bfd: info-bfd
5551 info-bfd: \
5552 configure-bfd
5553 @[ -f ./bfd/Makefile ] || exit 0; \
5554 r=`${PWD_COMMAND}`; export r; \
5555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5556 $(HOST_EXPORTS) \
5557 for flag in $(EXTRA_HOST_FLAGS) ; do \
5558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5559 done; \
5560 echo "Doing info in bfd" ; \
5561 (cd $(HOST_SUBDIR)/bfd && \
5562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5564 "RANLIB=$${RANLIB}" \
5565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5566 info) \
5567 || exit 1
5569 @endif bfd
5571 .PHONY: maybe-dvi-bfd dvi-bfd
5572 maybe-dvi-bfd:
5573 @if bfd
5574 maybe-dvi-bfd: dvi-bfd
5576 dvi-bfd: \
5577 configure-bfd
5578 @[ -f ./bfd/Makefile ] || exit 0; \
5579 r=`${PWD_COMMAND}`; export r; \
5580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5581 $(HOST_EXPORTS) \
5582 for flag in $(EXTRA_HOST_FLAGS) ; do \
5583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5584 done; \
5585 echo "Doing dvi in bfd" ; \
5586 (cd $(HOST_SUBDIR)/bfd && \
5587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5589 "RANLIB=$${RANLIB}" \
5590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5591 dvi) \
5592 || exit 1
5594 @endif bfd
5596 .PHONY: maybe-pdf-bfd pdf-bfd
5597 maybe-pdf-bfd:
5598 @if bfd
5599 maybe-pdf-bfd: pdf-bfd
5601 pdf-bfd: \
5602 configure-bfd
5603 @[ -f ./bfd/Makefile ] || exit 0; \
5604 r=`${PWD_COMMAND}`; export r; \
5605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5606 $(HOST_EXPORTS) \
5607 for flag in $(EXTRA_HOST_FLAGS) ; do \
5608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5609 done; \
5610 echo "Doing pdf in bfd" ; \
5611 (cd $(HOST_SUBDIR)/bfd && \
5612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5614 "RANLIB=$${RANLIB}" \
5615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5616 pdf) \
5617 || exit 1
5619 @endif bfd
5621 .PHONY: maybe-html-bfd html-bfd
5622 maybe-html-bfd:
5623 @if bfd
5624 maybe-html-bfd: html-bfd
5626 html-bfd: \
5627 configure-bfd
5628 @[ -f ./bfd/Makefile ] || exit 0; \
5629 r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(HOST_EXPORTS) \
5632 for flag in $(EXTRA_HOST_FLAGS) ; do \
5633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5634 done; \
5635 echo "Doing html in bfd" ; \
5636 (cd $(HOST_SUBDIR)/bfd && \
5637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5639 "RANLIB=$${RANLIB}" \
5640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5641 html) \
5642 || exit 1
5644 @endif bfd
5646 .PHONY: maybe-TAGS-bfd TAGS-bfd
5647 maybe-TAGS-bfd:
5648 @if bfd
5649 maybe-TAGS-bfd: TAGS-bfd
5651 TAGS-bfd: \
5652 configure-bfd
5653 @[ -f ./bfd/Makefile ] || exit 0; \
5654 r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5656 $(HOST_EXPORTS) \
5657 for flag in $(EXTRA_HOST_FLAGS) ; do \
5658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5659 done; \
5660 echo "Doing TAGS in bfd" ; \
5661 (cd $(HOST_SUBDIR)/bfd && \
5662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5664 "RANLIB=$${RANLIB}" \
5665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5666 TAGS) \
5667 || exit 1
5669 @endif bfd
5671 .PHONY: maybe-install-info-bfd install-info-bfd
5672 maybe-install-info-bfd:
5673 @if bfd
5674 maybe-install-info-bfd: install-info-bfd
5676 install-info-bfd: \
5677 configure-bfd \
5678 info-bfd
5679 @[ -f ./bfd/Makefile ] || exit 0; \
5680 r=`${PWD_COMMAND}`; export r; \
5681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5682 $(HOST_EXPORTS) \
5683 for flag in $(EXTRA_HOST_FLAGS) ; do \
5684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5685 done; \
5686 echo "Doing install-info in bfd" ; \
5687 (cd $(HOST_SUBDIR)/bfd && \
5688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5690 "RANLIB=$${RANLIB}" \
5691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5692 install-info) \
5693 || exit 1
5695 @endif bfd
5697 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
5698 maybe-install-pdf-bfd:
5699 @if bfd
5700 maybe-install-pdf-bfd: install-pdf-bfd
5702 install-pdf-bfd: \
5703 configure-bfd \
5704 pdf-bfd
5705 @[ -f ./bfd/Makefile ] || exit 0; \
5706 r=`${PWD_COMMAND}`; export r; \
5707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5708 $(HOST_EXPORTS) \
5709 for flag in $(EXTRA_HOST_FLAGS) ; do \
5710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5711 done; \
5712 echo "Doing install-pdf in bfd" ; \
5713 (cd $(HOST_SUBDIR)/bfd && \
5714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5716 "RANLIB=$${RANLIB}" \
5717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5718 install-pdf) \
5719 || exit 1
5721 @endif bfd
5723 .PHONY: maybe-install-html-bfd install-html-bfd
5724 maybe-install-html-bfd:
5725 @if bfd
5726 maybe-install-html-bfd: install-html-bfd
5728 install-html-bfd: \
5729 configure-bfd \
5730 html-bfd
5731 @[ -f ./bfd/Makefile ] || exit 0; \
5732 r=`${PWD_COMMAND}`; export r; \
5733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5734 $(HOST_EXPORTS) \
5735 for flag in $(EXTRA_HOST_FLAGS) ; do \
5736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5737 done; \
5738 echo "Doing install-html in bfd" ; \
5739 (cd $(HOST_SUBDIR)/bfd && \
5740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5742 "RANLIB=$${RANLIB}" \
5743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5744 install-html) \
5745 || exit 1
5747 @endif bfd
5749 .PHONY: maybe-installcheck-bfd installcheck-bfd
5750 maybe-installcheck-bfd:
5751 @if bfd
5752 maybe-installcheck-bfd: installcheck-bfd
5754 installcheck-bfd: \
5755 configure-bfd
5756 @[ -f ./bfd/Makefile ] || exit 0; \
5757 r=`${PWD_COMMAND}`; export r; \
5758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5759 $(HOST_EXPORTS) \
5760 for flag in $(EXTRA_HOST_FLAGS) ; do \
5761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5762 done; \
5763 echo "Doing installcheck in bfd" ; \
5764 (cd $(HOST_SUBDIR)/bfd && \
5765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5767 "RANLIB=$${RANLIB}" \
5768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5769 installcheck) \
5770 || exit 1
5772 @endif bfd
5774 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5775 maybe-mostlyclean-bfd:
5776 @if bfd
5777 maybe-mostlyclean-bfd: mostlyclean-bfd
5779 mostlyclean-bfd:
5780 @[ -f ./bfd/Makefile ] || exit 0; \
5781 r=`${PWD_COMMAND}`; export r; \
5782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5783 $(HOST_EXPORTS) \
5784 for flag in $(EXTRA_HOST_FLAGS) ; do \
5785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5786 done; \
5787 echo "Doing mostlyclean in bfd" ; \
5788 (cd $(HOST_SUBDIR)/bfd && \
5789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5791 "RANLIB=$${RANLIB}" \
5792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5793 mostlyclean) \
5794 || exit 1
5796 @endif bfd
5798 .PHONY: maybe-clean-bfd clean-bfd
5799 maybe-clean-bfd:
5800 @if bfd
5801 maybe-clean-bfd: clean-bfd
5803 clean-bfd:
5804 @[ -f ./bfd/Makefile ] || exit 0; \
5805 r=`${PWD_COMMAND}`; export r; \
5806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5807 $(HOST_EXPORTS) \
5808 for flag in $(EXTRA_HOST_FLAGS) ; do \
5809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5810 done; \
5811 echo "Doing clean in bfd" ; \
5812 (cd $(HOST_SUBDIR)/bfd && \
5813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5815 "RANLIB=$${RANLIB}" \
5816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5817 clean) \
5818 || exit 1
5820 @endif bfd
5822 .PHONY: maybe-distclean-bfd distclean-bfd
5823 maybe-distclean-bfd:
5824 @if bfd
5825 maybe-distclean-bfd: distclean-bfd
5827 distclean-bfd:
5828 @[ -f ./bfd/Makefile ] || exit 0; \
5829 r=`${PWD_COMMAND}`; export r; \
5830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831 $(HOST_EXPORTS) \
5832 for flag in $(EXTRA_HOST_FLAGS) ; do \
5833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5834 done; \
5835 echo "Doing distclean in bfd" ; \
5836 (cd $(HOST_SUBDIR)/bfd && \
5837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5839 "RANLIB=$${RANLIB}" \
5840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5841 distclean) \
5842 || exit 1
5844 @endif bfd
5846 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5847 maybe-maintainer-clean-bfd:
5848 @if bfd
5849 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5851 maintainer-clean-bfd:
5852 @[ -f ./bfd/Makefile ] || exit 0; \
5853 r=`${PWD_COMMAND}`; export r; \
5854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5855 $(HOST_EXPORTS) \
5856 for flag in $(EXTRA_HOST_FLAGS) ; do \
5857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5858 done; \
5859 echo "Doing maintainer-clean in bfd" ; \
5860 (cd $(HOST_SUBDIR)/bfd && \
5861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5863 "RANLIB=$${RANLIB}" \
5864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5865 maintainer-clean) \
5866 || exit 1
5868 @endif bfd
5872 .PHONY: configure-opcodes maybe-configure-opcodes
5873 maybe-configure-opcodes:
5874 @if gcc-bootstrap
5875 configure-opcodes: stage_current
5876 @endif gcc-bootstrap
5877 @if opcodes
5878 maybe-configure-opcodes: configure-opcodes
5879 configure-opcodes:
5880 @r=`${PWD_COMMAND}`; export r; \
5881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5882 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5884 $(HOST_EXPORTS) \
5885 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5886 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5887 case $(srcdir) in \
5888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5889 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5891 esac; \
5892 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5893 libsrcdir="$$s/opcodes"; \
5894 $(SHELL) $${libsrcdir}/configure \
5895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5896 --target=${target_alias} $${srcdiroption} \
5897 || exit 1
5898 @endif opcodes
5902 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5903 maybe-configure-stage1-opcodes:
5904 @if opcodes-bootstrap
5905 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5906 configure-stage1-opcodes:
5907 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5909 @r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5912 $(HOST_EXPORTS) \
5913 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5914 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
5915 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5917 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5918 case $(srcdir) in \
5919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5920 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5922 esac; \
5923 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5924 libsrcdir="$$s/opcodes"; \
5925 $(SHELL) $${libsrcdir}/configure \
5926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5927 --target=${target_alias} $${srcdiroption} \
5929 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5930 @endif opcodes-bootstrap
5932 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5933 maybe-configure-stage2-opcodes:
5934 @if opcodes-bootstrap
5935 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5936 configure-stage2-opcodes:
5937 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5938 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5939 @r=`${PWD_COMMAND}`; export r; \
5940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5941 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5942 $(HOST_EXPORTS) \
5943 $(POSTSTAGE1_HOST_EXPORTS) \
5944 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5945 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
5946 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5948 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5949 case $(srcdir) in \
5950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5951 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5953 esac; \
5954 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5955 libsrcdir="$$s/opcodes"; \
5956 $(SHELL) $${libsrcdir}/configure \
5957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5958 --target=${target_alias} $${srcdiroption} \
5959 --with-build-libsubdir=$(HOST_SUBDIR) \
5960 @stage2_werror_flag@
5961 @endif opcodes-bootstrap
5963 .PHONY: configure-stageb2g0-opcodes maybe-configure-stageb2g0-opcodes
5964 maybe-configure-stageb2g0-opcodes:
5965 @if opcodes-bootstrap
5966 maybe-configure-stageb2g0-opcodes: configure-stageb2g0-opcodes
5967 configure-stageb2g0-opcodes:
5968 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
5969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5970 @r=`${PWD_COMMAND}`; export r; \
5971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5972 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5973 $(HOST_EXPORTS) \
5974 $(POSTSTAGE1_HOST_EXPORTS) \
5975 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
5976 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
5977 echo Configuring stage b2g0 in $(HOST_SUBDIR)/opcodes ; \
5978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5979 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5980 case $(srcdir) in \
5981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5982 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5984 esac; \
5985 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5986 libsrcdir="$$s/opcodes"; \
5987 $(SHELL) $${libsrcdir}/configure \
5988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5989 --target=${target_alias} $${srcdiroption} \
5990 --with-build-libsubdir=$(HOST_SUBDIR) \
5991 @stage2_werror_flag@
5992 @endif opcodes-bootstrap
5994 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5995 maybe-configure-stage3-opcodes:
5996 @if opcodes-bootstrap
5997 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5998 configure-stage3-opcodes:
5999 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6000 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6001 @r=`${PWD_COMMAND}`; export r; \
6002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6003 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6004 $(HOST_EXPORTS) \
6005 $(POSTSTAGE1_HOST_EXPORTS) \
6006 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
6007 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
6008 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
6009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6010 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6011 case $(srcdir) in \
6012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6013 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6015 esac; \
6016 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6017 libsrcdir="$$s/opcodes"; \
6018 $(SHELL) $${libsrcdir}/configure \
6019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6020 --target=${target_alias} $${srcdiroption} \
6021 --with-build-libsubdir=$(HOST_SUBDIR) \
6022 @stage2_werror_flag@
6023 @endif opcodes-bootstrap
6025 .PHONY: configure-stageb3g2-opcodes maybe-configure-stageb3g2-opcodes
6026 maybe-configure-stageb3g2-opcodes:
6027 @if opcodes-bootstrap
6028 maybe-configure-stageb3g2-opcodes: configure-stageb3g2-opcodes
6029 configure-stageb3g2-opcodes:
6030 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6032 @r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6035 $(HOST_EXPORTS) \
6036 $(POSTSTAGE1_HOST_EXPORTS) \
6037 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
6038 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
6039 echo Configuring stage b3g2 in $(HOST_SUBDIR)/opcodes ; \
6040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6041 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6042 case $(srcdir) in \
6043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6044 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6046 esac; \
6047 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6048 libsrcdir="$$s/opcodes"; \
6049 $(SHELL) $${libsrcdir}/configure \
6050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6051 --target=${target_alias} $${srcdiroption} \
6052 --with-build-libsubdir=$(HOST_SUBDIR) \
6053 @stage2_werror_flag@
6054 @endif opcodes-bootstrap
6056 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
6057 maybe-configure-stage4-opcodes:
6058 @if opcodes-bootstrap
6059 maybe-configure-stage4-opcodes: configure-stage4-opcodes
6060 configure-stage4-opcodes:
6061 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6063 @r=`${PWD_COMMAND}`; export r; \
6064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6065 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6066 $(HOST_EXPORTS) \
6067 $(POSTSTAGE1_HOST_EXPORTS) \
6068 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
6069 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
6070 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
6071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6072 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6073 case $(srcdir) in \
6074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6075 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6077 esac; \
6078 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6079 libsrcdir="$$s/opcodes"; \
6080 $(SHELL) $${libsrcdir}/configure \
6081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6082 --target=${target_alias} $${srcdiroption} \
6083 --with-build-libsubdir=$(HOST_SUBDIR) \
6084 @stage2_werror_flag@
6085 @endif opcodes-bootstrap
6087 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
6088 maybe-configure-stageprofile-opcodes:
6089 @if opcodes-bootstrap
6090 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
6091 configure-stageprofile-opcodes:
6092 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6093 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6094 @r=`${PWD_COMMAND}`; export r; \
6095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6096 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6097 $(HOST_EXPORTS) \
6098 $(POSTSTAGE1_HOST_EXPORTS) \
6099 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
6100 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
6101 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
6102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6103 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6104 case $(srcdir) in \
6105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6106 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6108 esac; \
6109 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6110 libsrcdir="$$s/opcodes"; \
6111 $(SHELL) $${libsrcdir}/configure \
6112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6113 --target=${target_alias} $${srcdiroption} \
6114 --with-build-libsubdir=$(HOST_SUBDIR) \
6115 @stage2_werror_flag@
6116 @endif opcodes-bootstrap
6118 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
6119 maybe-configure-stagefeedback-opcodes:
6120 @if opcodes-bootstrap
6121 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
6122 configure-stagefeedback-opcodes:
6123 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6125 @r=`${PWD_COMMAND}`; export r; \
6126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6127 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6128 $(HOST_EXPORTS) \
6129 $(POSTSTAGE1_HOST_EXPORTS) \
6130 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
6131 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
6132 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
6133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6134 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6135 case $(srcdir) in \
6136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6137 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6139 esac; \
6140 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6141 libsrcdir="$$s/opcodes"; \
6142 $(SHELL) $${libsrcdir}/configure \
6143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6144 --target=${target_alias} $${srcdiroption} \
6145 --with-build-libsubdir=$(HOST_SUBDIR) \
6146 @stage2_werror_flag@
6147 @endif opcodes-bootstrap
6153 .PHONY: all-opcodes maybe-all-opcodes
6154 maybe-all-opcodes:
6155 @if gcc-bootstrap
6156 all-opcodes: stage_current
6157 @endif gcc-bootstrap
6158 @if opcodes
6159 TARGET-opcodes=all
6160 maybe-all-opcodes: all-opcodes
6161 all-opcodes: configure-opcodes
6162 @r=`${PWD_COMMAND}`; export r; \
6163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6164 $(HOST_EXPORTS) \
6165 (cd $(HOST_SUBDIR)/opcodes && \
6166 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6167 $(TARGET-opcodes))
6168 @endif opcodes
6172 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
6173 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
6174 maybe-all-stage1-opcodes:
6175 maybe-clean-stage1-opcodes:
6176 @if opcodes-bootstrap
6177 maybe-all-stage1-opcodes: all-stage1-opcodes
6178 all-stage1: all-stage1-opcodes
6179 TARGET-stage1-opcodes = $(TARGET-opcodes)
6180 all-stage1-opcodes: configure-stage1-opcodes
6181 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6182 @r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184 $(HOST_EXPORTS) \
6185 cd $(HOST_SUBDIR)/opcodes && \
6186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6187 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
6188 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
6189 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
6190 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
6191 $(TARGET-stage1-opcodes)
6193 maybe-clean-stage1-opcodes: clean-stage1-opcodes
6194 clean-stage1: clean-stage1-opcodes
6195 clean-stage1-opcodes:
6196 @if [ $(current_stage) = stage1 ]; then \
6197 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6198 else \
6199 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
6200 $(MAKE) stage1-start; \
6201 fi; \
6202 cd $(HOST_SUBDIR)/opcodes && \
6203 $(MAKE) $(EXTRA_HOST_FLAGS) \
6204 clean
6205 @endif opcodes-bootstrap
6208 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
6209 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
6210 maybe-all-stage2-opcodes:
6211 maybe-clean-stage2-opcodes:
6212 @if opcodes-bootstrap
6213 maybe-all-stage2-opcodes: all-stage2-opcodes
6214 all-stage2: all-stage2-opcodes
6215 TARGET-stage2-opcodes = $(TARGET-opcodes)
6216 all-stage2-opcodes: configure-stage2-opcodes
6217 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6218 @r=`${PWD_COMMAND}`; export r; \
6219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6220 $(HOST_EXPORTS) \
6221 $(POSTSTAGE1_HOST_EXPORTS) \
6222 cd $(HOST_SUBDIR)/opcodes && \
6223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6224 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
6225 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
6226 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
6227 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6228 $(TARGET-stage2-opcodes)
6230 maybe-clean-stage2-opcodes: clean-stage2-opcodes
6231 clean-stage2: clean-stage2-opcodes
6232 clean-stage2-opcodes:
6233 @if [ $(current_stage) = stage2 ]; then \
6234 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6235 else \
6236 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
6237 $(MAKE) stage2-start; \
6238 fi; \
6239 cd $(HOST_SUBDIR)/opcodes && \
6240 $(MAKE) $(EXTRA_HOST_FLAGS) \
6241 $(POSTSTAGE1_FLAGS_TO_PASS) \
6242 clean
6243 @endif opcodes-bootstrap
6246 .PHONY: all-stageb2g0-opcodes maybe-all-stageb2g0-opcodes
6247 .PHONY: clean-stageb2g0-opcodes maybe-clean-stageb2g0-opcodes
6248 maybe-all-stageb2g0-opcodes:
6249 maybe-clean-stageb2g0-opcodes:
6250 @if opcodes-bootstrap
6251 maybe-all-stageb2g0-opcodes: all-stageb2g0-opcodes
6252 all-stageb2g0: all-stageb2g0-opcodes
6253 TARGET-stageb2g0-opcodes = $(TARGET-opcodes)
6254 all-stageb2g0-opcodes: configure-stageb2g0-opcodes
6255 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
6256 @r=`${PWD_COMMAND}`; export r; \
6257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6258 $(HOST_EXPORTS) \
6259 $(POSTSTAGE1_HOST_EXPORTS) \
6260 cd $(HOST_SUBDIR)/opcodes && \
6261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6262 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
6263 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
6264 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
6265 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6266 $(TARGET-stageb2g0-opcodes)
6268 maybe-clean-stageb2g0-opcodes: clean-stageb2g0-opcodes
6269 clean-stageb2g0: clean-stageb2g0-opcodes
6270 clean-stageb2g0-opcodes:
6271 @if [ $(current_stage) = stageb2g0 ]; then \
6272 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6273 else \
6274 [ -f $(HOST_SUBDIR)/stageb2g0-opcodes/Makefile ] || exit 0; \
6275 $(MAKE) stageb2g0-start; \
6276 fi; \
6277 cd $(HOST_SUBDIR)/opcodes && \
6278 $(MAKE) $(EXTRA_HOST_FLAGS) \
6279 $(POSTSTAGE1_FLAGS_TO_PASS) \
6280 clean
6281 @endif opcodes-bootstrap
6284 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
6285 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
6286 maybe-all-stage3-opcodes:
6287 maybe-clean-stage3-opcodes:
6288 @if opcodes-bootstrap
6289 maybe-all-stage3-opcodes: all-stage3-opcodes
6290 all-stage3: all-stage3-opcodes
6291 TARGET-stage3-opcodes = $(TARGET-opcodes)
6292 all-stage3-opcodes: configure-stage3-opcodes
6293 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6294 @r=`${PWD_COMMAND}`; export r; \
6295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6296 $(HOST_EXPORTS) \
6297 $(POSTSTAGE1_HOST_EXPORTS) \
6298 cd $(HOST_SUBDIR)/opcodes && \
6299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6300 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
6301 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
6302 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
6303 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6304 $(TARGET-stage3-opcodes)
6306 maybe-clean-stage3-opcodes: clean-stage3-opcodes
6307 clean-stage3: clean-stage3-opcodes
6308 clean-stage3-opcodes:
6309 @if [ $(current_stage) = stage3 ]; then \
6310 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6311 else \
6312 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
6313 $(MAKE) stage3-start; \
6314 fi; \
6315 cd $(HOST_SUBDIR)/opcodes && \
6316 $(MAKE) $(EXTRA_HOST_FLAGS) \
6317 $(POSTSTAGE1_FLAGS_TO_PASS) \
6318 clean
6319 @endif opcodes-bootstrap
6322 .PHONY: all-stageb3g2-opcodes maybe-all-stageb3g2-opcodes
6323 .PHONY: clean-stageb3g2-opcodes maybe-clean-stageb3g2-opcodes
6324 maybe-all-stageb3g2-opcodes:
6325 maybe-clean-stageb3g2-opcodes:
6326 @if opcodes-bootstrap
6327 maybe-all-stageb3g2-opcodes: all-stageb3g2-opcodes
6328 all-stageb3g2: all-stageb3g2-opcodes
6329 TARGET-stageb3g2-opcodes = $(TARGET-opcodes)
6330 all-stageb3g2-opcodes: configure-stageb3g2-opcodes
6331 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6332 @r=`${PWD_COMMAND}`; export r; \
6333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6334 $(HOST_EXPORTS) \
6335 $(POSTSTAGE1_HOST_EXPORTS) \
6336 cd $(HOST_SUBDIR)/opcodes && \
6337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6338 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
6339 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
6340 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
6341 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6342 $(TARGET-stageb3g2-opcodes)
6344 maybe-clean-stageb3g2-opcodes: clean-stageb3g2-opcodes
6345 clean-stageb3g2: clean-stageb3g2-opcodes
6346 clean-stageb3g2-opcodes:
6347 @if [ $(current_stage) = stageb3g2 ]; then \
6348 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6349 else \
6350 [ -f $(HOST_SUBDIR)/stageb3g2-opcodes/Makefile ] || exit 0; \
6351 $(MAKE) stageb3g2-start; \
6352 fi; \
6353 cd $(HOST_SUBDIR)/opcodes && \
6354 $(MAKE) $(EXTRA_HOST_FLAGS) \
6355 $(POSTSTAGE1_FLAGS_TO_PASS) \
6356 clean
6357 @endif opcodes-bootstrap
6360 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
6361 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
6362 maybe-all-stage4-opcodes:
6363 maybe-clean-stage4-opcodes:
6364 @if opcodes-bootstrap
6365 maybe-all-stage4-opcodes: all-stage4-opcodes
6366 all-stage4: all-stage4-opcodes
6367 TARGET-stage4-opcodes = $(TARGET-opcodes)
6368 all-stage4-opcodes: configure-stage4-opcodes
6369 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6370 @r=`${PWD_COMMAND}`; export r; \
6371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6372 $(HOST_EXPORTS) \
6373 $(POSTSTAGE1_HOST_EXPORTS) \
6374 cd $(HOST_SUBDIR)/opcodes && \
6375 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6376 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
6377 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6378 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
6379 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6380 $(TARGET-stage4-opcodes)
6382 maybe-clean-stage4-opcodes: clean-stage4-opcodes
6383 clean-stage4: clean-stage4-opcodes
6384 clean-stage4-opcodes:
6385 @if [ $(current_stage) = stage4 ]; then \
6386 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6387 else \
6388 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
6389 $(MAKE) stage4-start; \
6390 fi; \
6391 cd $(HOST_SUBDIR)/opcodes && \
6392 $(MAKE) $(EXTRA_HOST_FLAGS) \
6393 $(POSTSTAGE1_FLAGS_TO_PASS) \
6394 clean
6395 @endif opcodes-bootstrap
6398 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
6399 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
6400 maybe-all-stageprofile-opcodes:
6401 maybe-clean-stageprofile-opcodes:
6402 @if opcodes-bootstrap
6403 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
6404 all-stageprofile: all-stageprofile-opcodes
6405 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
6406 all-stageprofile-opcodes: configure-stageprofile-opcodes
6407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6408 @r=`${PWD_COMMAND}`; export r; \
6409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6410 $(HOST_EXPORTS) \
6411 $(POSTSTAGE1_HOST_EXPORTS) \
6412 cd $(HOST_SUBDIR)/opcodes && \
6413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6414 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
6415 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
6416 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
6417 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6418 $(TARGET-stageprofile-opcodes)
6420 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
6421 clean-stageprofile: clean-stageprofile-opcodes
6422 clean-stageprofile-opcodes:
6423 @if [ $(current_stage) = stageprofile ]; then \
6424 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6425 else \
6426 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
6427 $(MAKE) stageprofile-start; \
6428 fi; \
6429 cd $(HOST_SUBDIR)/opcodes && \
6430 $(MAKE) $(EXTRA_HOST_FLAGS) \
6431 $(POSTSTAGE1_FLAGS_TO_PASS) \
6432 clean
6433 @endif opcodes-bootstrap
6436 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
6437 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
6438 maybe-all-stagefeedback-opcodes:
6439 maybe-clean-stagefeedback-opcodes:
6440 @if opcodes-bootstrap
6441 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
6442 all-stagefeedback: all-stagefeedback-opcodes
6443 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
6444 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
6445 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6446 @r=`${PWD_COMMAND}`; export r; \
6447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6448 $(HOST_EXPORTS) \
6449 $(POSTSTAGE1_HOST_EXPORTS) \
6450 cd $(HOST_SUBDIR)/opcodes && \
6451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6452 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
6453 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
6454 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
6455 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6456 $(TARGET-stagefeedback-opcodes)
6458 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
6459 clean-stagefeedback: clean-stagefeedback-opcodes
6460 clean-stagefeedback-opcodes:
6461 @if [ $(current_stage) = stagefeedback ]; then \
6462 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6463 else \
6464 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
6465 $(MAKE) stagefeedback-start; \
6466 fi; \
6467 cd $(HOST_SUBDIR)/opcodes && \
6468 $(MAKE) $(EXTRA_HOST_FLAGS) \
6469 $(POSTSTAGE1_FLAGS_TO_PASS) \
6470 clean
6471 @endif opcodes-bootstrap
6477 .PHONY: check-opcodes maybe-check-opcodes
6478 maybe-check-opcodes:
6479 @if opcodes
6480 maybe-check-opcodes: check-opcodes
6482 check-opcodes:
6483 @: $(MAKE); $(unstage)
6484 @r=`${PWD_COMMAND}`; export r; \
6485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6486 $(HOST_EXPORTS) \
6487 (cd $(HOST_SUBDIR)/opcodes && \
6488 $(MAKE) $(FLAGS_TO_PASS) check)
6490 @endif opcodes
6492 .PHONY: install-opcodes maybe-install-opcodes
6493 maybe-install-opcodes:
6494 @if opcodes
6495 maybe-install-opcodes: install-opcodes
6497 install-opcodes: installdirs
6498 @: $(MAKE); $(unstage)
6499 @r=`${PWD_COMMAND}`; export r; \
6500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6501 $(HOST_EXPORTS) \
6502 (cd $(HOST_SUBDIR)/opcodes && \
6503 $(MAKE) $(FLAGS_TO_PASS) install)
6505 @endif opcodes
6507 # Other targets (info, dvi, pdf, etc.)
6509 .PHONY: maybe-info-opcodes info-opcodes
6510 maybe-info-opcodes:
6511 @if opcodes
6512 maybe-info-opcodes: info-opcodes
6514 info-opcodes: \
6515 configure-opcodes
6516 @[ -f ./opcodes/Makefile ] || exit 0; \
6517 r=`${PWD_COMMAND}`; export r; \
6518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6519 $(HOST_EXPORTS) \
6520 for flag in $(EXTRA_HOST_FLAGS) ; do \
6521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6522 done; \
6523 echo "Doing info in opcodes" ; \
6524 (cd $(HOST_SUBDIR)/opcodes && \
6525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6527 "RANLIB=$${RANLIB}" \
6528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6529 info) \
6530 || exit 1
6532 @endif opcodes
6534 .PHONY: maybe-dvi-opcodes dvi-opcodes
6535 maybe-dvi-opcodes:
6536 @if opcodes
6537 maybe-dvi-opcodes: dvi-opcodes
6539 dvi-opcodes: \
6540 configure-opcodes
6541 @[ -f ./opcodes/Makefile ] || exit 0; \
6542 r=`${PWD_COMMAND}`; export r; \
6543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6544 $(HOST_EXPORTS) \
6545 for flag in $(EXTRA_HOST_FLAGS) ; do \
6546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6547 done; \
6548 echo "Doing dvi in opcodes" ; \
6549 (cd $(HOST_SUBDIR)/opcodes && \
6550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6552 "RANLIB=$${RANLIB}" \
6553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6554 dvi) \
6555 || exit 1
6557 @endif opcodes
6559 .PHONY: maybe-pdf-opcodes pdf-opcodes
6560 maybe-pdf-opcodes:
6561 @if opcodes
6562 maybe-pdf-opcodes: pdf-opcodes
6564 pdf-opcodes: \
6565 configure-opcodes
6566 @[ -f ./opcodes/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 pdf in opcodes" ; \
6574 (cd $(HOST_SUBDIR)/opcodes && \
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}" "WINDMC=$${WINDMC}" \
6579 pdf) \
6580 || exit 1
6582 @endif opcodes
6584 .PHONY: maybe-html-opcodes html-opcodes
6585 maybe-html-opcodes:
6586 @if opcodes
6587 maybe-html-opcodes: html-opcodes
6589 html-opcodes: \
6590 configure-opcodes
6591 @[ -f ./opcodes/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 html in opcodes" ; \
6599 (cd $(HOST_SUBDIR)/opcodes && \
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}" "WINDMC=$${WINDMC}" \
6604 html) \
6605 || exit 1
6607 @endif opcodes
6609 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
6610 maybe-TAGS-opcodes:
6611 @if opcodes
6612 maybe-TAGS-opcodes: TAGS-opcodes
6614 TAGS-opcodes: \
6615 configure-opcodes
6616 @[ -f ./opcodes/Makefile ] || exit 0; \
6617 r=`${PWD_COMMAND}`; export r; \
6618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6619 $(HOST_EXPORTS) \
6620 for flag in $(EXTRA_HOST_FLAGS) ; do \
6621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6622 done; \
6623 echo "Doing TAGS in opcodes" ; \
6624 (cd $(HOST_SUBDIR)/opcodes && \
6625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6627 "RANLIB=$${RANLIB}" \
6628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6629 TAGS) \
6630 || exit 1
6632 @endif opcodes
6634 .PHONY: maybe-install-info-opcodes install-info-opcodes
6635 maybe-install-info-opcodes:
6636 @if opcodes
6637 maybe-install-info-opcodes: install-info-opcodes
6639 install-info-opcodes: \
6640 configure-opcodes \
6641 info-opcodes
6642 @[ -f ./opcodes/Makefile ] || exit 0; \
6643 r=`${PWD_COMMAND}`; export r; \
6644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6645 $(HOST_EXPORTS) \
6646 for flag in $(EXTRA_HOST_FLAGS) ; do \
6647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6648 done; \
6649 echo "Doing install-info in opcodes" ; \
6650 (cd $(HOST_SUBDIR)/opcodes && \
6651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6653 "RANLIB=$${RANLIB}" \
6654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6655 install-info) \
6656 || exit 1
6658 @endif opcodes
6660 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
6661 maybe-install-pdf-opcodes:
6662 @if opcodes
6663 maybe-install-pdf-opcodes: install-pdf-opcodes
6665 install-pdf-opcodes: \
6666 configure-opcodes \
6667 pdf-opcodes
6668 @[ -f ./opcodes/Makefile ] || exit 0; \
6669 r=`${PWD_COMMAND}`; export r; \
6670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6671 $(HOST_EXPORTS) \
6672 for flag in $(EXTRA_HOST_FLAGS) ; do \
6673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6674 done; \
6675 echo "Doing install-pdf in opcodes" ; \
6676 (cd $(HOST_SUBDIR)/opcodes && \
6677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6679 "RANLIB=$${RANLIB}" \
6680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6681 install-pdf) \
6682 || exit 1
6684 @endif opcodes
6686 .PHONY: maybe-install-html-opcodes install-html-opcodes
6687 maybe-install-html-opcodes:
6688 @if opcodes
6689 maybe-install-html-opcodes: install-html-opcodes
6691 install-html-opcodes: \
6692 configure-opcodes \
6693 html-opcodes
6694 @[ -f ./opcodes/Makefile ] || exit 0; \
6695 r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6697 $(HOST_EXPORTS) \
6698 for flag in $(EXTRA_HOST_FLAGS) ; do \
6699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6700 done; \
6701 echo "Doing install-html in opcodes" ; \
6702 (cd $(HOST_SUBDIR)/opcodes && \
6703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6705 "RANLIB=$${RANLIB}" \
6706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6707 install-html) \
6708 || exit 1
6710 @endif opcodes
6712 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
6713 maybe-installcheck-opcodes:
6714 @if opcodes
6715 maybe-installcheck-opcodes: installcheck-opcodes
6717 installcheck-opcodes: \
6718 configure-opcodes
6719 @[ -f ./opcodes/Makefile ] || exit 0; \
6720 r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6722 $(HOST_EXPORTS) \
6723 for flag in $(EXTRA_HOST_FLAGS) ; do \
6724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6725 done; \
6726 echo "Doing installcheck in opcodes" ; \
6727 (cd $(HOST_SUBDIR)/opcodes && \
6728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6730 "RANLIB=$${RANLIB}" \
6731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6732 installcheck) \
6733 || exit 1
6735 @endif opcodes
6737 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
6738 maybe-mostlyclean-opcodes:
6739 @if opcodes
6740 maybe-mostlyclean-opcodes: mostlyclean-opcodes
6742 mostlyclean-opcodes:
6743 @[ -f ./opcodes/Makefile ] || exit 0; \
6744 r=`${PWD_COMMAND}`; export r; \
6745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6746 $(HOST_EXPORTS) \
6747 for flag in $(EXTRA_HOST_FLAGS) ; do \
6748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6749 done; \
6750 echo "Doing mostlyclean in opcodes" ; \
6751 (cd $(HOST_SUBDIR)/opcodes && \
6752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6754 "RANLIB=$${RANLIB}" \
6755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6756 mostlyclean) \
6757 || exit 1
6759 @endif opcodes
6761 .PHONY: maybe-clean-opcodes clean-opcodes
6762 maybe-clean-opcodes:
6763 @if opcodes
6764 maybe-clean-opcodes: clean-opcodes
6766 clean-opcodes:
6767 @[ -f ./opcodes/Makefile ] || exit 0; \
6768 r=`${PWD_COMMAND}`; export r; \
6769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6770 $(HOST_EXPORTS) \
6771 for flag in $(EXTRA_HOST_FLAGS) ; do \
6772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6773 done; \
6774 echo "Doing clean in opcodes" ; \
6775 (cd $(HOST_SUBDIR)/opcodes && \
6776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6778 "RANLIB=$${RANLIB}" \
6779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6780 clean) \
6781 || exit 1
6783 @endif opcodes
6785 .PHONY: maybe-distclean-opcodes distclean-opcodes
6786 maybe-distclean-opcodes:
6787 @if opcodes
6788 maybe-distclean-opcodes: distclean-opcodes
6790 distclean-opcodes:
6791 @[ -f ./opcodes/Makefile ] || exit 0; \
6792 r=`${PWD_COMMAND}`; export r; \
6793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 $(HOST_EXPORTS) \
6795 for flag in $(EXTRA_HOST_FLAGS) ; do \
6796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6797 done; \
6798 echo "Doing distclean in opcodes" ; \
6799 (cd $(HOST_SUBDIR)/opcodes && \
6800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6802 "RANLIB=$${RANLIB}" \
6803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6804 distclean) \
6805 || exit 1
6807 @endif opcodes
6809 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6810 maybe-maintainer-clean-opcodes:
6811 @if opcodes
6812 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6814 maintainer-clean-opcodes:
6815 @[ -f ./opcodes/Makefile ] || exit 0; \
6816 r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818 $(HOST_EXPORTS) \
6819 for flag in $(EXTRA_HOST_FLAGS) ; do \
6820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6821 done; \
6822 echo "Doing maintainer-clean in opcodes" ; \
6823 (cd $(HOST_SUBDIR)/opcodes && \
6824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6826 "RANLIB=$${RANLIB}" \
6827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6828 maintainer-clean) \
6829 || exit 1
6831 @endif opcodes
6835 .PHONY: configure-binutils maybe-configure-binutils
6836 maybe-configure-binutils:
6837 @if gcc-bootstrap
6838 configure-binutils: stage_current
6839 @endif gcc-bootstrap
6840 @if binutils
6841 maybe-configure-binutils: configure-binutils
6842 configure-binutils:
6843 @r=`${PWD_COMMAND}`; export r; \
6844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6845 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6847 $(HOST_EXPORTS) \
6848 echo Configuring in $(HOST_SUBDIR)/binutils; \
6849 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6850 case $(srcdir) in \
6851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6852 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6854 esac; \
6855 srcdiroption="--srcdir=$${topdir}/binutils"; \
6856 libsrcdir="$$s/binutils"; \
6857 $(SHELL) $${libsrcdir}/configure \
6858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6859 --target=${target_alias} $${srcdiroption} \
6860 || exit 1
6861 @endif binutils
6865 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6866 maybe-configure-stage1-binutils:
6867 @if binutils-bootstrap
6868 maybe-configure-stage1-binutils: configure-stage1-binutils
6869 configure-stage1-binutils:
6870 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6872 @r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6875 $(HOST_EXPORTS) \
6876 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
6877 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
6878 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6879 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6880 cd $(HOST_SUBDIR)/binutils || exit 1; \
6881 case $(srcdir) in \
6882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6883 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6885 esac; \
6886 srcdiroption="--srcdir=$${topdir}/binutils"; \
6887 libsrcdir="$$s/binutils"; \
6888 $(SHELL) $${libsrcdir}/configure \
6889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6890 --target=${target_alias} $${srcdiroption} \
6892 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6893 @endif binutils-bootstrap
6895 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6896 maybe-configure-stage2-binutils:
6897 @if binutils-bootstrap
6898 maybe-configure-stage2-binutils: configure-stage2-binutils
6899 configure-stage2-binutils:
6900 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6901 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6902 @r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6905 $(HOST_EXPORTS) \
6906 $(POSTSTAGE1_HOST_EXPORTS) \
6907 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
6908 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
6909 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6911 cd $(HOST_SUBDIR)/binutils || exit 1; \
6912 case $(srcdir) in \
6913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6914 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6916 esac; \
6917 srcdiroption="--srcdir=$${topdir}/binutils"; \
6918 libsrcdir="$$s/binutils"; \
6919 $(SHELL) $${libsrcdir}/configure \
6920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6921 --target=${target_alias} $${srcdiroption} \
6922 --with-build-libsubdir=$(HOST_SUBDIR) \
6923 @stage2_werror_flag@
6924 @endif binutils-bootstrap
6926 .PHONY: configure-stageb2g0-binutils maybe-configure-stageb2g0-binutils
6927 maybe-configure-stageb2g0-binutils:
6928 @if binutils-bootstrap
6929 maybe-configure-stageb2g0-binutils: configure-stageb2g0-binutils
6930 configure-stageb2g0-binutils:
6931 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
6932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6933 @r=`${PWD_COMMAND}`; export r; \
6934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6935 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6936 $(HOST_EXPORTS) \
6937 $(POSTSTAGE1_HOST_EXPORTS) \
6938 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
6939 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
6940 echo Configuring stage b2g0 in $(HOST_SUBDIR)/binutils ; \
6941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6942 cd $(HOST_SUBDIR)/binutils || exit 1; \
6943 case $(srcdir) in \
6944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6945 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6947 esac; \
6948 srcdiroption="--srcdir=$${topdir}/binutils"; \
6949 libsrcdir="$$s/binutils"; \
6950 $(SHELL) $${libsrcdir}/configure \
6951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6952 --target=${target_alias} $${srcdiroption} \
6953 --with-build-libsubdir=$(HOST_SUBDIR) \
6954 @stage2_werror_flag@
6955 @endif binutils-bootstrap
6957 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6958 maybe-configure-stage3-binutils:
6959 @if binutils-bootstrap
6960 maybe-configure-stage3-binutils: configure-stage3-binutils
6961 configure-stage3-binutils:
6962 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6964 @r=`${PWD_COMMAND}`; export r; \
6965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6966 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6967 $(HOST_EXPORTS) \
6968 $(POSTSTAGE1_HOST_EXPORTS) \
6969 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
6970 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
6971 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6973 cd $(HOST_SUBDIR)/binutils || exit 1; \
6974 case $(srcdir) in \
6975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6976 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6978 esac; \
6979 srcdiroption="--srcdir=$${topdir}/binutils"; \
6980 libsrcdir="$$s/binutils"; \
6981 $(SHELL) $${libsrcdir}/configure \
6982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6983 --target=${target_alias} $${srcdiroption} \
6984 --with-build-libsubdir=$(HOST_SUBDIR) \
6985 @stage2_werror_flag@
6986 @endif binutils-bootstrap
6988 .PHONY: configure-stageb3g2-binutils maybe-configure-stageb3g2-binutils
6989 maybe-configure-stageb3g2-binutils:
6990 @if binutils-bootstrap
6991 maybe-configure-stageb3g2-binutils: configure-stageb3g2-binutils
6992 configure-stageb3g2-binutils:
6993 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6995 @r=`${PWD_COMMAND}`; export r; \
6996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6997 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6998 $(HOST_EXPORTS) \
6999 $(POSTSTAGE1_HOST_EXPORTS) \
7000 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
7001 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
7002 echo Configuring stage b3g2 in $(HOST_SUBDIR)/binutils ; \
7003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7004 cd $(HOST_SUBDIR)/binutils || exit 1; \
7005 case $(srcdir) in \
7006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7007 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7009 esac; \
7010 srcdiroption="--srcdir=$${topdir}/binutils"; \
7011 libsrcdir="$$s/binutils"; \
7012 $(SHELL) $${libsrcdir}/configure \
7013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7014 --target=${target_alias} $${srcdiroption} \
7015 --with-build-libsubdir=$(HOST_SUBDIR) \
7016 @stage2_werror_flag@
7017 @endif binutils-bootstrap
7019 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
7020 maybe-configure-stage4-binutils:
7021 @if binutils-bootstrap
7022 maybe-configure-stage4-binutils: configure-stage4-binutils
7023 configure-stage4-binutils:
7024 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7026 @r=`${PWD_COMMAND}`; export r; \
7027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7028 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7029 $(HOST_EXPORTS) \
7030 $(POSTSTAGE1_HOST_EXPORTS) \
7031 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7032 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
7033 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
7034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7035 cd $(HOST_SUBDIR)/binutils || exit 1; \
7036 case $(srcdir) in \
7037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7038 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7040 esac; \
7041 srcdiroption="--srcdir=$${topdir}/binutils"; \
7042 libsrcdir="$$s/binutils"; \
7043 $(SHELL) $${libsrcdir}/configure \
7044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7045 --target=${target_alias} $${srcdiroption} \
7046 --with-build-libsubdir=$(HOST_SUBDIR) \
7047 @stage2_werror_flag@
7048 @endif binutils-bootstrap
7050 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
7051 maybe-configure-stageprofile-binutils:
7052 @if binutils-bootstrap
7053 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
7054 configure-stageprofile-binutils:
7055 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7057 @r=`${PWD_COMMAND}`; export r; \
7058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7059 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7060 $(HOST_EXPORTS) \
7061 $(POSTSTAGE1_HOST_EXPORTS) \
7062 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
7063 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
7064 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
7065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7066 cd $(HOST_SUBDIR)/binutils || exit 1; \
7067 case $(srcdir) in \
7068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7069 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7071 esac; \
7072 srcdiroption="--srcdir=$${topdir}/binutils"; \
7073 libsrcdir="$$s/binutils"; \
7074 $(SHELL) $${libsrcdir}/configure \
7075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7076 --target=${target_alias} $${srcdiroption} \
7077 --with-build-libsubdir=$(HOST_SUBDIR) \
7078 @stage2_werror_flag@
7079 @endif binutils-bootstrap
7081 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
7082 maybe-configure-stagefeedback-binutils:
7083 @if binutils-bootstrap
7084 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
7085 configure-stagefeedback-binutils:
7086 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7088 @r=`${PWD_COMMAND}`; export r; \
7089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7090 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7091 $(HOST_EXPORTS) \
7092 $(POSTSTAGE1_HOST_EXPORTS) \
7093 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
7094 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
7095 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
7096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7097 cd $(HOST_SUBDIR)/binutils || exit 1; \
7098 case $(srcdir) in \
7099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7100 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7102 esac; \
7103 srcdiroption="--srcdir=$${topdir}/binutils"; \
7104 libsrcdir="$$s/binutils"; \
7105 $(SHELL) $${libsrcdir}/configure \
7106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7107 --target=${target_alias} $${srcdiroption} \
7108 --with-build-libsubdir=$(HOST_SUBDIR) \
7109 @stage2_werror_flag@
7110 @endif binutils-bootstrap
7116 .PHONY: all-binutils maybe-all-binutils
7117 maybe-all-binutils:
7118 @if gcc-bootstrap
7119 all-binutils: stage_current
7120 @endif gcc-bootstrap
7121 @if binutils
7122 TARGET-binutils=all
7123 maybe-all-binutils: all-binutils
7124 all-binutils: configure-binutils
7125 @r=`${PWD_COMMAND}`; export r; \
7126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7127 $(HOST_EXPORTS) \
7128 (cd $(HOST_SUBDIR)/binutils && \
7129 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7130 $(TARGET-binutils))
7131 @endif binutils
7135 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
7136 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
7137 maybe-all-stage1-binutils:
7138 maybe-clean-stage1-binutils:
7139 @if binutils-bootstrap
7140 maybe-all-stage1-binutils: all-stage1-binutils
7141 all-stage1: all-stage1-binutils
7142 TARGET-stage1-binutils = $(TARGET-binutils)
7143 all-stage1-binutils: configure-stage1-binutils
7144 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7145 @r=`${PWD_COMMAND}`; export r; \
7146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7147 $(HOST_EXPORTS) \
7148 cd $(HOST_SUBDIR)/binutils && \
7149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7150 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
7151 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
7152 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
7153 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
7154 $(TARGET-stage1-binutils)
7156 maybe-clean-stage1-binutils: clean-stage1-binutils
7157 clean-stage1: clean-stage1-binutils
7158 clean-stage1-binutils:
7159 @if [ $(current_stage) = stage1 ]; then \
7160 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7161 else \
7162 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
7163 $(MAKE) stage1-start; \
7164 fi; \
7165 cd $(HOST_SUBDIR)/binutils && \
7166 $(MAKE) $(EXTRA_HOST_FLAGS) \
7167 clean
7168 @endif binutils-bootstrap
7171 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
7172 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
7173 maybe-all-stage2-binutils:
7174 maybe-clean-stage2-binutils:
7175 @if binutils-bootstrap
7176 maybe-all-stage2-binutils: all-stage2-binutils
7177 all-stage2: all-stage2-binutils
7178 TARGET-stage2-binutils = $(TARGET-binutils)
7179 all-stage2-binutils: configure-stage2-binutils
7180 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7181 @r=`${PWD_COMMAND}`; export r; \
7182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7183 $(HOST_EXPORTS) \
7184 $(POSTSTAGE1_HOST_EXPORTS) \
7185 cd $(HOST_SUBDIR)/binutils && \
7186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7187 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
7188 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
7189 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
7190 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7191 $(TARGET-stage2-binutils)
7193 maybe-clean-stage2-binutils: clean-stage2-binutils
7194 clean-stage2: clean-stage2-binutils
7195 clean-stage2-binutils:
7196 @if [ $(current_stage) = stage2 ]; then \
7197 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7198 else \
7199 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
7200 $(MAKE) stage2-start; \
7201 fi; \
7202 cd $(HOST_SUBDIR)/binutils && \
7203 $(MAKE) $(EXTRA_HOST_FLAGS) \
7204 $(POSTSTAGE1_FLAGS_TO_PASS) \
7205 clean
7206 @endif binutils-bootstrap
7209 .PHONY: all-stageb2g0-binutils maybe-all-stageb2g0-binutils
7210 .PHONY: clean-stageb2g0-binutils maybe-clean-stageb2g0-binutils
7211 maybe-all-stageb2g0-binutils:
7212 maybe-clean-stageb2g0-binutils:
7213 @if binutils-bootstrap
7214 maybe-all-stageb2g0-binutils: all-stageb2g0-binutils
7215 all-stageb2g0: all-stageb2g0-binutils
7216 TARGET-stageb2g0-binutils = $(TARGET-binutils)
7217 all-stageb2g0-binutils: configure-stageb2g0-binutils
7218 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
7219 @r=`${PWD_COMMAND}`; export r; \
7220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7221 $(HOST_EXPORTS) \
7222 $(POSTSTAGE1_HOST_EXPORTS) \
7223 cd $(HOST_SUBDIR)/binutils && \
7224 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7225 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
7226 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
7227 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
7228 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7229 $(TARGET-stageb2g0-binutils)
7231 maybe-clean-stageb2g0-binutils: clean-stageb2g0-binutils
7232 clean-stageb2g0: clean-stageb2g0-binutils
7233 clean-stageb2g0-binutils:
7234 @if [ $(current_stage) = stageb2g0 ]; then \
7235 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7236 else \
7237 [ -f $(HOST_SUBDIR)/stageb2g0-binutils/Makefile ] || exit 0; \
7238 $(MAKE) stageb2g0-start; \
7239 fi; \
7240 cd $(HOST_SUBDIR)/binutils && \
7241 $(MAKE) $(EXTRA_HOST_FLAGS) \
7242 $(POSTSTAGE1_FLAGS_TO_PASS) \
7243 clean
7244 @endif binutils-bootstrap
7247 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
7248 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
7249 maybe-all-stage3-binutils:
7250 maybe-clean-stage3-binutils:
7251 @if binutils-bootstrap
7252 maybe-all-stage3-binutils: all-stage3-binutils
7253 all-stage3: all-stage3-binutils
7254 TARGET-stage3-binutils = $(TARGET-binutils)
7255 all-stage3-binutils: configure-stage3-binutils
7256 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7257 @r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 $(POSTSTAGE1_HOST_EXPORTS) \
7261 cd $(HOST_SUBDIR)/binutils && \
7262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7263 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
7264 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
7265 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
7266 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7267 $(TARGET-stage3-binutils)
7269 maybe-clean-stage3-binutils: clean-stage3-binutils
7270 clean-stage3: clean-stage3-binutils
7271 clean-stage3-binutils:
7272 @if [ $(current_stage) = stage3 ]; then \
7273 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7274 else \
7275 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
7276 $(MAKE) stage3-start; \
7277 fi; \
7278 cd $(HOST_SUBDIR)/binutils && \
7279 $(MAKE) $(EXTRA_HOST_FLAGS) \
7280 $(POSTSTAGE1_FLAGS_TO_PASS) \
7281 clean
7282 @endif binutils-bootstrap
7285 .PHONY: all-stageb3g2-binutils maybe-all-stageb3g2-binutils
7286 .PHONY: clean-stageb3g2-binutils maybe-clean-stageb3g2-binutils
7287 maybe-all-stageb3g2-binutils:
7288 maybe-clean-stageb3g2-binutils:
7289 @if binutils-bootstrap
7290 maybe-all-stageb3g2-binutils: all-stageb3g2-binutils
7291 all-stageb3g2: all-stageb3g2-binutils
7292 TARGET-stageb3g2-binutils = $(TARGET-binutils)
7293 all-stageb3g2-binutils: configure-stageb3g2-binutils
7294 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
7295 @r=`${PWD_COMMAND}`; export r; \
7296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7297 $(HOST_EXPORTS) \
7298 $(POSTSTAGE1_HOST_EXPORTS) \
7299 cd $(HOST_SUBDIR)/binutils && \
7300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7301 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
7302 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
7303 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
7304 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7305 $(TARGET-stageb3g2-binutils)
7307 maybe-clean-stageb3g2-binutils: clean-stageb3g2-binutils
7308 clean-stageb3g2: clean-stageb3g2-binutils
7309 clean-stageb3g2-binutils:
7310 @if [ $(current_stage) = stageb3g2 ]; then \
7311 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7312 else \
7313 [ -f $(HOST_SUBDIR)/stageb3g2-binutils/Makefile ] || exit 0; \
7314 $(MAKE) stageb3g2-start; \
7315 fi; \
7316 cd $(HOST_SUBDIR)/binutils && \
7317 $(MAKE) $(EXTRA_HOST_FLAGS) \
7318 $(POSTSTAGE1_FLAGS_TO_PASS) \
7319 clean
7320 @endif binutils-bootstrap
7323 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
7324 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
7325 maybe-all-stage4-binutils:
7326 maybe-clean-stage4-binutils:
7327 @if binutils-bootstrap
7328 maybe-all-stage4-binutils: all-stage4-binutils
7329 all-stage4: all-stage4-binutils
7330 TARGET-stage4-binutils = $(TARGET-binutils)
7331 all-stage4-binutils: configure-stage4-binutils
7332 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7333 @r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 $(POSTSTAGE1_HOST_EXPORTS) \
7337 cd $(HOST_SUBDIR)/binutils && \
7338 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7339 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
7340 LIBCFLAGS="$(STAGE4_CFLAGS)" \
7341 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
7342 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7343 $(TARGET-stage4-binutils)
7345 maybe-clean-stage4-binutils: clean-stage4-binutils
7346 clean-stage4: clean-stage4-binutils
7347 clean-stage4-binutils:
7348 @if [ $(current_stage) = stage4 ]; then \
7349 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7350 else \
7351 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
7352 $(MAKE) stage4-start; \
7353 fi; \
7354 cd $(HOST_SUBDIR)/binutils && \
7355 $(MAKE) $(EXTRA_HOST_FLAGS) \
7356 $(POSTSTAGE1_FLAGS_TO_PASS) \
7357 clean
7358 @endif binutils-bootstrap
7361 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
7362 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
7363 maybe-all-stageprofile-binutils:
7364 maybe-clean-stageprofile-binutils:
7365 @if binutils-bootstrap
7366 maybe-all-stageprofile-binutils: all-stageprofile-binutils
7367 all-stageprofile: all-stageprofile-binutils
7368 TARGET-stageprofile-binutils = $(TARGET-binutils)
7369 all-stageprofile-binutils: configure-stageprofile-binutils
7370 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7371 @r=`${PWD_COMMAND}`; export r; \
7372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7373 $(HOST_EXPORTS) \
7374 $(POSTSTAGE1_HOST_EXPORTS) \
7375 cd $(HOST_SUBDIR)/binutils && \
7376 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7377 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
7378 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
7379 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
7380 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7381 $(TARGET-stageprofile-binutils)
7383 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
7384 clean-stageprofile: clean-stageprofile-binutils
7385 clean-stageprofile-binutils:
7386 @if [ $(current_stage) = stageprofile ]; then \
7387 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7388 else \
7389 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
7390 $(MAKE) stageprofile-start; \
7391 fi; \
7392 cd $(HOST_SUBDIR)/binutils && \
7393 $(MAKE) $(EXTRA_HOST_FLAGS) \
7394 $(POSTSTAGE1_FLAGS_TO_PASS) \
7395 clean
7396 @endif binutils-bootstrap
7399 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
7400 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
7401 maybe-all-stagefeedback-binutils:
7402 maybe-clean-stagefeedback-binutils:
7403 @if binutils-bootstrap
7404 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
7405 all-stagefeedback: all-stagefeedback-binutils
7406 TARGET-stagefeedback-binutils = $(TARGET-binutils)
7407 all-stagefeedback-binutils: configure-stagefeedback-binutils
7408 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7409 @r=`${PWD_COMMAND}`; export r; \
7410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7411 $(HOST_EXPORTS) \
7412 $(POSTSTAGE1_HOST_EXPORTS) \
7413 cd $(HOST_SUBDIR)/binutils && \
7414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7415 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
7416 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
7417 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
7418 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7419 $(TARGET-stagefeedback-binutils)
7421 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
7422 clean-stagefeedback: clean-stagefeedback-binutils
7423 clean-stagefeedback-binutils:
7424 @if [ $(current_stage) = stagefeedback ]; then \
7425 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7426 else \
7427 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
7428 $(MAKE) stagefeedback-start; \
7429 fi; \
7430 cd $(HOST_SUBDIR)/binutils && \
7431 $(MAKE) $(EXTRA_HOST_FLAGS) \
7432 $(POSTSTAGE1_FLAGS_TO_PASS) \
7433 clean
7434 @endif binutils-bootstrap
7440 .PHONY: check-binutils maybe-check-binutils
7441 maybe-check-binutils:
7442 @if binutils
7443 maybe-check-binutils: check-binutils
7445 check-binutils:
7446 @: $(MAKE); $(unstage)
7447 @r=`${PWD_COMMAND}`; export r; \
7448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7449 $(HOST_EXPORTS) \
7450 (cd $(HOST_SUBDIR)/binutils && \
7451 $(MAKE) $(FLAGS_TO_PASS) check)
7453 @endif binutils
7455 .PHONY: install-binutils maybe-install-binutils
7456 maybe-install-binutils:
7457 @if binutils
7458 maybe-install-binutils: install-binutils
7460 install-binutils: installdirs
7461 @: $(MAKE); $(unstage)
7462 @r=`${PWD_COMMAND}`; export r; \
7463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7464 $(HOST_EXPORTS) \
7465 (cd $(HOST_SUBDIR)/binutils && \
7466 $(MAKE) $(FLAGS_TO_PASS) install)
7468 @endif binutils
7470 # Other targets (info, dvi, pdf, etc.)
7472 .PHONY: maybe-info-binutils info-binutils
7473 maybe-info-binutils:
7474 @if binutils
7475 maybe-info-binutils: info-binutils
7477 info-binutils: \
7478 configure-binutils
7479 @[ -f ./binutils/Makefile ] || exit 0; \
7480 r=`${PWD_COMMAND}`; export r; \
7481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7482 $(HOST_EXPORTS) \
7483 for flag in $(EXTRA_HOST_FLAGS) ; do \
7484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7485 done; \
7486 echo "Doing info in binutils" ; \
7487 (cd $(HOST_SUBDIR)/binutils && \
7488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7490 "RANLIB=$${RANLIB}" \
7491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7492 info) \
7493 || exit 1
7495 @endif binutils
7497 .PHONY: maybe-dvi-binutils dvi-binutils
7498 maybe-dvi-binutils:
7499 @if binutils
7500 maybe-dvi-binutils: dvi-binutils
7502 dvi-binutils: \
7503 configure-binutils
7504 @[ -f ./binutils/Makefile ] || exit 0; \
7505 r=`${PWD_COMMAND}`; export r; \
7506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7507 $(HOST_EXPORTS) \
7508 for flag in $(EXTRA_HOST_FLAGS) ; do \
7509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7510 done; \
7511 echo "Doing dvi in binutils" ; \
7512 (cd $(HOST_SUBDIR)/binutils && \
7513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7515 "RANLIB=$${RANLIB}" \
7516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7517 dvi) \
7518 || exit 1
7520 @endif binutils
7522 .PHONY: maybe-pdf-binutils pdf-binutils
7523 maybe-pdf-binutils:
7524 @if binutils
7525 maybe-pdf-binutils: pdf-binutils
7527 pdf-binutils: \
7528 configure-binutils
7529 @[ -f ./binutils/Makefile ] || exit 0; \
7530 r=`${PWD_COMMAND}`; export r; \
7531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7532 $(HOST_EXPORTS) \
7533 for flag in $(EXTRA_HOST_FLAGS) ; do \
7534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7535 done; \
7536 echo "Doing pdf in binutils" ; \
7537 (cd $(HOST_SUBDIR)/binutils && \
7538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7540 "RANLIB=$${RANLIB}" \
7541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7542 pdf) \
7543 || exit 1
7545 @endif binutils
7547 .PHONY: maybe-html-binutils html-binutils
7548 maybe-html-binutils:
7549 @if binutils
7550 maybe-html-binutils: html-binutils
7552 html-binutils: \
7553 configure-binutils
7554 @[ -f ./binutils/Makefile ] || exit 0; \
7555 r=`${PWD_COMMAND}`; export r; \
7556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7557 $(HOST_EXPORTS) \
7558 for flag in $(EXTRA_HOST_FLAGS) ; do \
7559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7560 done; \
7561 echo "Doing html in binutils" ; \
7562 (cd $(HOST_SUBDIR)/binutils && \
7563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7565 "RANLIB=$${RANLIB}" \
7566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7567 html) \
7568 || exit 1
7570 @endif binutils
7572 .PHONY: maybe-TAGS-binutils TAGS-binutils
7573 maybe-TAGS-binutils:
7574 @if binutils
7575 maybe-TAGS-binutils: TAGS-binutils
7577 TAGS-binutils: \
7578 configure-binutils
7579 @[ -f ./binutils/Makefile ] || exit 0; \
7580 r=`${PWD_COMMAND}`; export r; \
7581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7582 $(HOST_EXPORTS) \
7583 for flag in $(EXTRA_HOST_FLAGS) ; do \
7584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7585 done; \
7586 echo "Doing TAGS in binutils" ; \
7587 (cd $(HOST_SUBDIR)/binutils && \
7588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7590 "RANLIB=$${RANLIB}" \
7591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7592 TAGS) \
7593 || exit 1
7595 @endif binutils
7597 .PHONY: maybe-install-info-binutils install-info-binutils
7598 maybe-install-info-binutils:
7599 @if binutils
7600 maybe-install-info-binutils: install-info-binutils
7602 install-info-binutils: \
7603 configure-binutils \
7604 info-binutils
7605 @[ -f ./binutils/Makefile ] || exit 0; \
7606 r=`${PWD_COMMAND}`; export r; \
7607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7608 $(HOST_EXPORTS) \
7609 for flag in $(EXTRA_HOST_FLAGS) ; do \
7610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7611 done; \
7612 echo "Doing install-info in binutils" ; \
7613 (cd $(HOST_SUBDIR)/binutils && \
7614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7616 "RANLIB=$${RANLIB}" \
7617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7618 install-info) \
7619 || exit 1
7621 @endif binutils
7623 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
7624 maybe-install-pdf-binutils:
7625 @if binutils
7626 maybe-install-pdf-binutils: install-pdf-binutils
7628 install-pdf-binutils: \
7629 configure-binutils \
7630 pdf-binutils
7631 @[ -f ./binutils/Makefile ] || exit 0; \
7632 r=`${PWD_COMMAND}`; export r; \
7633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7634 $(HOST_EXPORTS) \
7635 for flag in $(EXTRA_HOST_FLAGS) ; do \
7636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7637 done; \
7638 echo "Doing install-pdf in binutils" ; \
7639 (cd $(HOST_SUBDIR)/binutils && \
7640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7642 "RANLIB=$${RANLIB}" \
7643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7644 install-pdf) \
7645 || exit 1
7647 @endif binutils
7649 .PHONY: maybe-install-html-binutils install-html-binutils
7650 maybe-install-html-binutils:
7651 @if binutils
7652 maybe-install-html-binutils: install-html-binutils
7654 install-html-binutils: \
7655 configure-binutils \
7656 html-binutils
7657 @[ -f ./binutils/Makefile ] || exit 0; \
7658 r=`${PWD_COMMAND}`; export r; \
7659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7660 $(HOST_EXPORTS) \
7661 for flag in $(EXTRA_HOST_FLAGS) ; do \
7662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7663 done; \
7664 echo "Doing install-html in binutils" ; \
7665 (cd $(HOST_SUBDIR)/binutils && \
7666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7668 "RANLIB=$${RANLIB}" \
7669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7670 install-html) \
7671 || exit 1
7673 @endif binutils
7675 .PHONY: maybe-installcheck-binutils installcheck-binutils
7676 maybe-installcheck-binutils:
7677 @if binutils
7678 maybe-installcheck-binutils: installcheck-binutils
7680 installcheck-binutils: \
7681 configure-binutils
7682 @[ -f ./binutils/Makefile ] || exit 0; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(HOST_EXPORTS) \
7686 for flag in $(EXTRA_HOST_FLAGS) ; do \
7687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7688 done; \
7689 echo "Doing installcheck in binutils" ; \
7690 (cd $(HOST_SUBDIR)/binutils && \
7691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7693 "RANLIB=$${RANLIB}" \
7694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7695 installcheck) \
7696 || exit 1
7698 @endif binutils
7700 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
7701 maybe-mostlyclean-binutils:
7702 @if binutils
7703 maybe-mostlyclean-binutils: mostlyclean-binutils
7705 mostlyclean-binutils:
7706 @[ -f ./binutils/Makefile ] || exit 0; \
7707 r=`${PWD_COMMAND}`; export r; \
7708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7709 $(HOST_EXPORTS) \
7710 for flag in $(EXTRA_HOST_FLAGS) ; do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7712 done; \
7713 echo "Doing mostlyclean in binutils" ; \
7714 (cd $(HOST_SUBDIR)/binutils && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7719 mostlyclean) \
7720 || exit 1
7722 @endif binutils
7724 .PHONY: maybe-clean-binutils clean-binutils
7725 maybe-clean-binutils:
7726 @if binutils
7727 maybe-clean-binutils: clean-binutils
7729 clean-binutils:
7730 @[ -f ./binutils/Makefile ] || exit 0; \
7731 r=`${PWD_COMMAND}`; export r; \
7732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7733 $(HOST_EXPORTS) \
7734 for flag in $(EXTRA_HOST_FLAGS) ; do \
7735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7736 done; \
7737 echo "Doing clean in binutils" ; \
7738 (cd $(HOST_SUBDIR)/binutils && \
7739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7741 "RANLIB=$${RANLIB}" \
7742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7743 clean) \
7744 || exit 1
7746 @endif binutils
7748 .PHONY: maybe-distclean-binutils distclean-binutils
7749 maybe-distclean-binutils:
7750 @if binutils
7751 maybe-distclean-binutils: distclean-binutils
7753 distclean-binutils:
7754 @[ -f ./binutils/Makefile ] || exit 0; \
7755 r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 $(HOST_EXPORTS) \
7758 for flag in $(EXTRA_HOST_FLAGS) ; do \
7759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 done; \
7761 echo "Doing distclean in binutils" ; \
7762 (cd $(HOST_SUBDIR)/binutils && \
7763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7765 "RANLIB=$${RANLIB}" \
7766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7767 distclean) \
7768 || exit 1
7770 @endif binutils
7772 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
7773 maybe-maintainer-clean-binutils:
7774 @if binutils
7775 maybe-maintainer-clean-binutils: maintainer-clean-binutils
7777 maintainer-clean-binutils:
7778 @[ -f ./binutils/Makefile ] || exit 0; \
7779 r=`${PWD_COMMAND}`; export r; \
7780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7781 $(HOST_EXPORTS) \
7782 for flag in $(EXTRA_HOST_FLAGS) ; do \
7783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7784 done; \
7785 echo "Doing maintainer-clean in binutils" ; \
7786 (cd $(HOST_SUBDIR)/binutils && \
7787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7789 "RANLIB=$${RANLIB}" \
7790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7791 maintainer-clean) \
7792 || exit 1
7794 @endif binutils
7798 .PHONY: configure-bison maybe-configure-bison
7799 maybe-configure-bison:
7800 @if gcc-bootstrap
7801 configure-bison: stage_current
7802 @endif gcc-bootstrap
7803 @if bison
7804 maybe-configure-bison: configure-bison
7805 configure-bison:
7806 @: $(MAKE); $(unstage)
7807 @r=`${PWD_COMMAND}`; export r; \
7808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7809 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
7810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
7811 $(HOST_EXPORTS) \
7812 echo Configuring in $(HOST_SUBDIR)/bison; \
7813 cd "$(HOST_SUBDIR)/bison" || exit 1; \
7814 case $(srcdir) in \
7815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7816 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
7817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7818 esac; \
7819 srcdiroption="--srcdir=$${topdir}/bison"; \
7820 libsrcdir="$$s/bison"; \
7821 $(SHELL) $${libsrcdir}/configure \
7822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7823 --target=${target_alias} $${srcdiroption} \
7824 || exit 1
7825 @endif bison
7831 .PHONY: all-bison maybe-all-bison
7832 maybe-all-bison:
7833 @if gcc-bootstrap
7834 all-bison: stage_current
7835 @endif gcc-bootstrap
7836 @if bison
7837 TARGET-bison=all
7838 maybe-all-bison: all-bison
7839 all-bison: configure-bison
7840 @: $(MAKE); $(unstage)
7841 @r=`${PWD_COMMAND}`; export r; \
7842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7843 $(HOST_EXPORTS) \
7844 (cd $(HOST_SUBDIR)/bison && \
7845 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7846 $(TARGET-bison))
7847 @endif bison
7852 .PHONY: check-bison maybe-check-bison
7853 maybe-check-bison:
7854 @if bison
7855 maybe-check-bison: check-bison
7857 # This module is only tested in a native toolchain.
7858 check-bison:
7859 @: $(MAKE); $(unstage)
7860 @if [ '$(host)' = '$(target)' ] ; then \
7861 r=`${PWD_COMMAND}`; export r; \
7862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7863 $(HOST_EXPORTS) \
7864 (cd $(HOST_SUBDIR)/bison && \
7865 $(MAKE) $(FLAGS_TO_PASS) check); \
7868 @endif bison
7870 .PHONY: install-bison maybe-install-bison
7871 maybe-install-bison:
7872 @if bison
7873 maybe-install-bison: install-bison
7875 install-bison: installdirs
7876 @: $(MAKE); $(unstage)
7877 @r=`${PWD_COMMAND}`; export r; \
7878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7879 $(HOST_EXPORTS) \
7880 (cd $(HOST_SUBDIR)/bison && \
7881 $(MAKE) $(FLAGS_TO_PASS) install)
7883 @endif bison
7885 # Other targets (info, dvi, pdf, etc.)
7887 .PHONY: maybe-info-bison info-bison
7888 maybe-info-bison:
7889 @if bison
7890 maybe-info-bison: info-bison
7892 info-bison: \
7893 configure-bison
7894 @: $(MAKE); $(unstage)
7895 @[ -f ./bison/Makefile ] || exit 0; \
7896 r=`${PWD_COMMAND}`; export r; \
7897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7898 $(HOST_EXPORTS) \
7899 for flag in $(EXTRA_HOST_FLAGS) ; do \
7900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7901 done; \
7902 echo "Doing info in bison" ; \
7903 (cd $(HOST_SUBDIR)/bison && \
7904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7906 "RANLIB=$${RANLIB}" \
7907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7908 info) \
7909 || exit 1
7911 @endif bison
7913 .PHONY: maybe-dvi-bison dvi-bison
7914 maybe-dvi-bison:
7915 @if bison
7916 maybe-dvi-bison: dvi-bison
7918 dvi-bison: \
7919 configure-bison
7920 @: $(MAKE); $(unstage)
7921 @[ -f ./bison/Makefile ] || exit 0; \
7922 r=`${PWD_COMMAND}`; export r; \
7923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7924 $(HOST_EXPORTS) \
7925 for flag in $(EXTRA_HOST_FLAGS) ; do \
7926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7927 done; \
7928 echo "Doing dvi in bison" ; \
7929 (cd $(HOST_SUBDIR)/bison && \
7930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7932 "RANLIB=$${RANLIB}" \
7933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7934 dvi) \
7935 || exit 1
7937 @endif bison
7939 .PHONY: maybe-pdf-bison pdf-bison
7940 maybe-pdf-bison:
7941 @if bison
7942 maybe-pdf-bison: pdf-bison
7944 pdf-bison: \
7945 configure-bison
7946 @: $(MAKE); $(unstage)
7947 @[ -f ./bison/Makefile ] || exit 0; \
7948 r=`${PWD_COMMAND}`; export r; \
7949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7950 $(HOST_EXPORTS) \
7951 for flag in $(EXTRA_HOST_FLAGS) ; do \
7952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7953 done; \
7954 echo "Doing pdf in bison" ; \
7955 (cd $(HOST_SUBDIR)/bison && \
7956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7958 "RANLIB=$${RANLIB}" \
7959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7960 pdf) \
7961 || exit 1
7963 @endif bison
7965 .PHONY: maybe-html-bison html-bison
7966 maybe-html-bison:
7967 @if bison
7968 maybe-html-bison: html-bison
7970 html-bison: \
7971 configure-bison
7972 @: $(MAKE); $(unstage)
7973 @[ -f ./bison/Makefile ] || exit 0; \
7974 r=`${PWD_COMMAND}`; export r; \
7975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7976 $(HOST_EXPORTS) \
7977 for flag in $(EXTRA_HOST_FLAGS) ; do \
7978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7979 done; \
7980 echo "Doing html in bison" ; \
7981 (cd $(HOST_SUBDIR)/bison && \
7982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7984 "RANLIB=$${RANLIB}" \
7985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7986 html) \
7987 || exit 1
7989 @endif bison
7991 .PHONY: maybe-TAGS-bison TAGS-bison
7992 maybe-TAGS-bison:
7993 @if bison
7994 maybe-TAGS-bison: TAGS-bison
7996 TAGS-bison: \
7997 configure-bison
7998 @: $(MAKE); $(unstage)
7999 @[ -f ./bison/Makefile ] || exit 0; \
8000 r=`${PWD_COMMAND}`; export r; \
8001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8002 $(HOST_EXPORTS) \
8003 for flag in $(EXTRA_HOST_FLAGS) ; do \
8004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8005 done; \
8006 echo "Doing TAGS in bison" ; \
8007 (cd $(HOST_SUBDIR)/bison && \
8008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8010 "RANLIB=$${RANLIB}" \
8011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8012 TAGS) \
8013 || exit 1
8015 @endif bison
8017 .PHONY: maybe-install-info-bison install-info-bison
8018 maybe-install-info-bison:
8019 @if bison
8020 maybe-install-info-bison: install-info-bison
8022 install-info-bison: \
8023 configure-bison \
8024 info-bison
8025 @: $(MAKE); $(unstage)
8026 @[ -f ./bison/Makefile ] || exit 0; \
8027 r=`${PWD_COMMAND}`; export r; \
8028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8029 $(HOST_EXPORTS) \
8030 for flag in $(EXTRA_HOST_FLAGS) ; do \
8031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8032 done; \
8033 echo "Doing install-info in bison" ; \
8034 (cd $(HOST_SUBDIR)/bison && \
8035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8037 "RANLIB=$${RANLIB}" \
8038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8039 install-info) \
8040 || exit 1
8042 @endif bison
8044 .PHONY: maybe-install-pdf-bison install-pdf-bison
8045 maybe-install-pdf-bison:
8046 @if bison
8047 maybe-install-pdf-bison: install-pdf-bison
8049 install-pdf-bison: \
8050 configure-bison \
8051 pdf-bison
8052 @: $(MAKE); $(unstage)
8053 @[ -f ./bison/Makefile ] || exit 0; \
8054 r=`${PWD_COMMAND}`; export r; \
8055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8056 $(HOST_EXPORTS) \
8057 for flag in $(EXTRA_HOST_FLAGS) ; do \
8058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8059 done; \
8060 echo "Doing install-pdf in bison" ; \
8061 (cd $(HOST_SUBDIR)/bison && \
8062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8064 "RANLIB=$${RANLIB}" \
8065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8066 install-pdf) \
8067 || exit 1
8069 @endif bison
8071 .PHONY: maybe-install-html-bison install-html-bison
8072 maybe-install-html-bison:
8073 @if bison
8074 maybe-install-html-bison: install-html-bison
8076 install-html-bison: \
8077 configure-bison \
8078 html-bison
8079 @: $(MAKE); $(unstage)
8080 @[ -f ./bison/Makefile ] || exit 0; \
8081 r=`${PWD_COMMAND}`; export r; \
8082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8083 $(HOST_EXPORTS) \
8084 for flag in $(EXTRA_HOST_FLAGS) ; do \
8085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8086 done; \
8087 echo "Doing install-html in bison" ; \
8088 (cd $(HOST_SUBDIR)/bison && \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091 "RANLIB=$${RANLIB}" \
8092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8093 install-html) \
8094 || exit 1
8096 @endif bison
8098 .PHONY: maybe-installcheck-bison installcheck-bison
8099 maybe-installcheck-bison:
8100 @if bison
8101 maybe-installcheck-bison: installcheck-bison
8103 installcheck-bison: \
8104 configure-bison
8105 @: $(MAKE); $(unstage)
8106 @[ -f ./bison/Makefile ] || exit 0; \
8107 r=`${PWD_COMMAND}`; export r; \
8108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8109 $(HOST_EXPORTS) \
8110 for flag in $(EXTRA_HOST_FLAGS) ; do \
8111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8112 done; \
8113 echo "Doing installcheck in bison" ; \
8114 (cd $(HOST_SUBDIR)/bison && \
8115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8117 "RANLIB=$${RANLIB}" \
8118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8119 installcheck) \
8120 || exit 1
8122 @endif bison
8124 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
8125 maybe-mostlyclean-bison:
8126 @if bison
8127 maybe-mostlyclean-bison: mostlyclean-bison
8129 mostlyclean-bison:
8130 @: $(MAKE); $(unstage)
8131 @[ -f ./bison/Makefile ] || exit 0; \
8132 r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134 $(HOST_EXPORTS) \
8135 for flag in $(EXTRA_HOST_FLAGS) ; do \
8136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8137 done; \
8138 echo "Doing mostlyclean in bison" ; \
8139 (cd $(HOST_SUBDIR)/bison && \
8140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8142 "RANLIB=$${RANLIB}" \
8143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8144 mostlyclean) \
8145 || exit 1
8147 @endif bison
8149 .PHONY: maybe-clean-bison clean-bison
8150 maybe-clean-bison:
8151 @if bison
8152 maybe-clean-bison: clean-bison
8154 clean-bison:
8155 @: $(MAKE); $(unstage)
8156 @[ -f ./bison/Makefile ] || exit 0; \
8157 r=`${PWD_COMMAND}`; export r; \
8158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8159 $(HOST_EXPORTS) \
8160 for flag in $(EXTRA_HOST_FLAGS) ; do \
8161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8162 done; \
8163 echo "Doing clean in bison" ; \
8164 (cd $(HOST_SUBDIR)/bison && \
8165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8167 "RANLIB=$${RANLIB}" \
8168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8169 clean) \
8170 || exit 1
8172 @endif bison
8174 .PHONY: maybe-distclean-bison distclean-bison
8175 maybe-distclean-bison:
8176 @if bison
8177 maybe-distclean-bison: distclean-bison
8179 distclean-bison:
8180 @: $(MAKE); $(unstage)
8181 @[ -f ./bison/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing distclean in bison" ; \
8189 (cd $(HOST_SUBDIR)/bison && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8194 distclean) \
8195 || exit 1
8197 @endif bison
8199 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
8200 maybe-maintainer-clean-bison:
8201 @if bison
8202 maybe-maintainer-clean-bison: maintainer-clean-bison
8204 maintainer-clean-bison:
8205 @: $(MAKE); $(unstage)
8206 @[ -f ./bison/Makefile ] || exit 0; \
8207 r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209 $(HOST_EXPORTS) \
8210 for flag in $(EXTRA_HOST_FLAGS) ; do \
8211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8212 done; \
8213 echo "Doing maintainer-clean in bison" ; \
8214 (cd $(HOST_SUBDIR)/bison && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8217 "RANLIB=$${RANLIB}" \
8218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8219 maintainer-clean) \
8220 || exit 1
8222 @endif bison
8226 .PHONY: configure-byacc maybe-configure-byacc
8227 maybe-configure-byacc:
8228 @if gcc-bootstrap
8229 configure-byacc: stage_current
8230 @endif gcc-bootstrap
8231 @if byacc
8232 maybe-configure-byacc: configure-byacc
8233 configure-byacc:
8234 @: $(MAKE); $(unstage)
8235 @r=`${PWD_COMMAND}`; export r; \
8236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8237 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
8238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
8239 $(HOST_EXPORTS) \
8240 echo Configuring in $(HOST_SUBDIR)/byacc; \
8241 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
8242 case $(srcdir) in \
8243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8244 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
8245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8246 esac; \
8247 srcdiroption="--srcdir=$${topdir}/byacc"; \
8248 libsrcdir="$$s/byacc"; \
8249 $(SHELL) $${libsrcdir}/configure \
8250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8251 --target=${target_alias} $${srcdiroption} \
8252 || exit 1
8253 @endif byacc
8259 .PHONY: all-byacc maybe-all-byacc
8260 maybe-all-byacc:
8261 @if gcc-bootstrap
8262 all-byacc: stage_current
8263 @endif gcc-bootstrap
8264 @if byacc
8265 TARGET-byacc=all
8266 maybe-all-byacc: all-byacc
8267 all-byacc: configure-byacc
8268 @: $(MAKE); $(unstage)
8269 @r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 $(HOST_EXPORTS) \
8272 (cd $(HOST_SUBDIR)/byacc && \
8273 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8274 $(TARGET-byacc))
8275 @endif byacc
8280 .PHONY: check-byacc maybe-check-byacc
8281 maybe-check-byacc:
8282 @if byacc
8283 maybe-check-byacc: check-byacc
8285 # This module is only tested in a native toolchain.
8286 check-byacc:
8287 @: $(MAKE); $(unstage)
8288 @if [ '$(host)' = '$(target)' ] ; then \
8289 r=`${PWD_COMMAND}`; export r; \
8290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8291 $(HOST_EXPORTS) \
8292 (cd $(HOST_SUBDIR)/byacc && \
8293 $(MAKE) $(FLAGS_TO_PASS) check); \
8296 @endif byacc
8298 .PHONY: install-byacc maybe-install-byacc
8299 maybe-install-byacc:
8300 @if byacc
8301 maybe-install-byacc: install-byacc
8303 install-byacc: installdirs
8304 @: $(MAKE); $(unstage)
8305 @r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 $(HOST_EXPORTS) \
8308 (cd $(HOST_SUBDIR)/byacc && \
8309 $(MAKE) $(FLAGS_TO_PASS) install)
8311 @endif byacc
8313 # Other targets (info, dvi, pdf, etc.)
8315 .PHONY: maybe-info-byacc info-byacc
8316 maybe-info-byacc:
8317 @if byacc
8318 maybe-info-byacc: info-byacc
8320 info-byacc: \
8321 configure-byacc
8322 @: $(MAKE); $(unstage)
8323 @[ -f ./byacc/Makefile ] || exit 0; \
8324 r=`${PWD_COMMAND}`; export r; \
8325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8326 $(HOST_EXPORTS) \
8327 for flag in $(EXTRA_HOST_FLAGS) ; do \
8328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8329 done; \
8330 echo "Doing info in byacc" ; \
8331 (cd $(HOST_SUBDIR)/byacc && \
8332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8334 "RANLIB=$${RANLIB}" \
8335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8336 info) \
8337 || exit 1
8339 @endif byacc
8341 .PHONY: maybe-dvi-byacc dvi-byacc
8342 maybe-dvi-byacc:
8343 @if byacc
8344 maybe-dvi-byacc: dvi-byacc
8346 dvi-byacc: \
8347 configure-byacc
8348 @: $(MAKE); $(unstage)
8349 @[ -f ./byacc/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8352 $(HOST_EXPORTS) \
8353 for flag in $(EXTRA_HOST_FLAGS) ; do \
8354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8355 done; \
8356 echo "Doing dvi in byacc" ; \
8357 (cd $(HOST_SUBDIR)/byacc && \
8358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8360 "RANLIB=$${RANLIB}" \
8361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8362 dvi) \
8363 || exit 1
8365 @endif byacc
8367 .PHONY: maybe-pdf-byacc pdf-byacc
8368 maybe-pdf-byacc:
8369 @if byacc
8370 maybe-pdf-byacc: pdf-byacc
8372 pdf-byacc: \
8373 configure-byacc
8374 @: $(MAKE); $(unstage)
8375 @[ -f ./byacc/Makefile ] || exit 0; \
8376 r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8378 $(HOST_EXPORTS) \
8379 for flag in $(EXTRA_HOST_FLAGS) ; do \
8380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8381 done; \
8382 echo "Doing pdf in byacc" ; \
8383 (cd $(HOST_SUBDIR)/byacc && \
8384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8386 "RANLIB=$${RANLIB}" \
8387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8388 pdf) \
8389 || exit 1
8391 @endif byacc
8393 .PHONY: maybe-html-byacc html-byacc
8394 maybe-html-byacc:
8395 @if byacc
8396 maybe-html-byacc: html-byacc
8398 html-byacc: \
8399 configure-byacc
8400 @: $(MAKE); $(unstage)
8401 @[ -f ./byacc/Makefile ] || exit 0; \
8402 r=`${PWD_COMMAND}`; export r; \
8403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8404 $(HOST_EXPORTS) \
8405 for flag in $(EXTRA_HOST_FLAGS) ; do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing html in byacc" ; \
8409 (cd $(HOST_SUBDIR)/byacc && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8414 html) \
8415 || exit 1
8417 @endif byacc
8419 .PHONY: maybe-TAGS-byacc TAGS-byacc
8420 maybe-TAGS-byacc:
8421 @if byacc
8422 maybe-TAGS-byacc: TAGS-byacc
8424 TAGS-byacc: \
8425 configure-byacc
8426 @: $(MAKE); $(unstage)
8427 @[ -f ./byacc/Makefile ] || exit 0; \
8428 r=`${PWD_COMMAND}`; export r; \
8429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8430 $(HOST_EXPORTS) \
8431 for flag in $(EXTRA_HOST_FLAGS) ; do \
8432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8433 done; \
8434 echo "Doing TAGS in byacc" ; \
8435 (cd $(HOST_SUBDIR)/byacc && \
8436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8438 "RANLIB=$${RANLIB}" \
8439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8440 TAGS) \
8441 || exit 1
8443 @endif byacc
8445 .PHONY: maybe-install-info-byacc install-info-byacc
8446 maybe-install-info-byacc:
8447 @if byacc
8448 maybe-install-info-byacc: install-info-byacc
8450 install-info-byacc: \
8451 configure-byacc \
8452 info-byacc
8453 @: $(MAKE); $(unstage)
8454 @[ -f ./byacc/Makefile ] || exit 0; \
8455 r=`${PWD_COMMAND}`; export r; \
8456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8457 $(HOST_EXPORTS) \
8458 for flag in $(EXTRA_HOST_FLAGS) ; do \
8459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8460 done; \
8461 echo "Doing install-info in byacc" ; \
8462 (cd $(HOST_SUBDIR)/byacc && \
8463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8465 "RANLIB=$${RANLIB}" \
8466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8467 install-info) \
8468 || exit 1
8470 @endif byacc
8472 .PHONY: maybe-install-pdf-byacc install-pdf-byacc
8473 maybe-install-pdf-byacc:
8474 @if byacc
8475 maybe-install-pdf-byacc: install-pdf-byacc
8477 install-pdf-byacc: \
8478 configure-byacc \
8479 pdf-byacc
8480 @: $(MAKE); $(unstage)
8481 @[ -f ./byacc/Makefile ] || exit 0; \
8482 r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing install-pdf in byacc" ; \
8489 (cd $(HOST_SUBDIR)/byacc && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8494 install-pdf) \
8495 || exit 1
8497 @endif byacc
8499 .PHONY: maybe-install-html-byacc install-html-byacc
8500 maybe-install-html-byacc:
8501 @if byacc
8502 maybe-install-html-byacc: install-html-byacc
8504 install-html-byacc: \
8505 configure-byacc \
8506 html-byacc
8507 @: $(MAKE); $(unstage)
8508 @[ -f ./byacc/Makefile ] || exit 0; \
8509 r=`${PWD_COMMAND}`; export r; \
8510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511 $(HOST_EXPORTS) \
8512 for flag in $(EXTRA_HOST_FLAGS) ; do \
8513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8514 done; \
8515 echo "Doing install-html in byacc" ; \
8516 (cd $(HOST_SUBDIR)/byacc && \
8517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8519 "RANLIB=$${RANLIB}" \
8520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8521 install-html) \
8522 || exit 1
8524 @endif byacc
8526 .PHONY: maybe-installcheck-byacc installcheck-byacc
8527 maybe-installcheck-byacc:
8528 @if byacc
8529 maybe-installcheck-byacc: installcheck-byacc
8531 installcheck-byacc: \
8532 configure-byacc
8533 @: $(MAKE); $(unstage)
8534 @[ -f ./byacc/Makefile ] || exit 0; \
8535 r=`${PWD_COMMAND}`; export r; \
8536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8537 $(HOST_EXPORTS) \
8538 for flag in $(EXTRA_HOST_FLAGS) ; do \
8539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8540 done; \
8541 echo "Doing installcheck in byacc" ; \
8542 (cd $(HOST_SUBDIR)/byacc && \
8543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8545 "RANLIB=$${RANLIB}" \
8546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8547 installcheck) \
8548 || exit 1
8550 @endif byacc
8552 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
8553 maybe-mostlyclean-byacc:
8554 @if byacc
8555 maybe-mostlyclean-byacc: mostlyclean-byacc
8557 mostlyclean-byacc:
8558 @: $(MAKE); $(unstage)
8559 @[ -f ./byacc/Makefile ] || exit 0; \
8560 r=`${PWD_COMMAND}`; export r; \
8561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8562 $(HOST_EXPORTS) \
8563 for flag in $(EXTRA_HOST_FLAGS) ; do \
8564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8565 done; \
8566 echo "Doing mostlyclean in byacc" ; \
8567 (cd $(HOST_SUBDIR)/byacc && \
8568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8570 "RANLIB=$${RANLIB}" \
8571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8572 mostlyclean) \
8573 || exit 1
8575 @endif byacc
8577 .PHONY: maybe-clean-byacc clean-byacc
8578 maybe-clean-byacc:
8579 @if byacc
8580 maybe-clean-byacc: clean-byacc
8582 clean-byacc:
8583 @: $(MAKE); $(unstage)
8584 @[ -f ./byacc/Makefile ] || exit 0; \
8585 r=`${PWD_COMMAND}`; export r; \
8586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8587 $(HOST_EXPORTS) \
8588 for flag in $(EXTRA_HOST_FLAGS) ; do \
8589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8590 done; \
8591 echo "Doing clean in byacc" ; \
8592 (cd $(HOST_SUBDIR)/byacc && \
8593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8595 "RANLIB=$${RANLIB}" \
8596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8597 clean) \
8598 || exit 1
8600 @endif byacc
8602 .PHONY: maybe-distclean-byacc distclean-byacc
8603 maybe-distclean-byacc:
8604 @if byacc
8605 maybe-distclean-byacc: distclean-byacc
8607 distclean-byacc:
8608 @: $(MAKE); $(unstage)
8609 @[ -f ./byacc/Makefile ] || exit 0; \
8610 r=`${PWD_COMMAND}`; export r; \
8611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8612 $(HOST_EXPORTS) \
8613 for flag in $(EXTRA_HOST_FLAGS) ; do \
8614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8615 done; \
8616 echo "Doing distclean in byacc" ; \
8617 (cd $(HOST_SUBDIR)/byacc && \
8618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8620 "RANLIB=$${RANLIB}" \
8621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8622 distclean) \
8623 || exit 1
8625 @endif byacc
8627 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
8628 maybe-maintainer-clean-byacc:
8629 @if byacc
8630 maybe-maintainer-clean-byacc: maintainer-clean-byacc
8632 maintainer-clean-byacc:
8633 @: $(MAKE); $(unstage)
8634 @[ -f ./byacc/Makefile ] || exit 0; \
8635 r=`${PWD_COMMAND}`; export r; \
8636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8637 $(HOST_EXPORTS) \
8638 for flag in $(EXTRA_HOST_FLAGS) ; do \
8639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8640 done; \
8641 echo "Doing maintainer-clean in byacc" ; \
8642 (cd $(HOST_SUBDIR)/byacc && \
8643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8645 "RANLIB=$${RANLIB}" \
8646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8647 maintainer-clean) \
8648 || exit 1
8650 @endif byacc
8654 .PHONY: configure-bzip2 maybe-configure-bzip2
8655 maybe-configure-bzip2:
8656 @if gcc-bootstrap
8657 configure-bzip2: stage_current
8658 @endif gcc-bootstrap
8659 @if bzip2
8660 maybe-configure-bzip2: configure-bzip2
8661 configure-bzip2:
8662 @: $(MAKE); $(unstage)
8663 @r=`${PWD_COMMAND}`; export r; \
8664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8665 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
8666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
8667 $(HOST_EXPORTS) \
8668 echo Configuring in $(HOST_SUBDIR)/bzip2; \
8669 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
8670 case $(srcdir) in \
8671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8672 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
8673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8674 esac; \
8675 srcdiroption="--srcdir=$${topdir}/bzip2"; \
8676 libsrcdir="$$s/bzip2"; \
8677 $(SHELL) $${libsrcdir}/configure \
8678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8679 --target=${target_alias} $${srcdiroption} \
8680 || exit 1
8681 @endif bzip2
8687 .PHONY: all-bzip2 maybe-all-bzip2
8688 maybe-all-bzip2:
8689 @if gcc-bootstrap
8690 all-bzip2: stage_current
8691 @endif gcc-bootstrap
8692 @if bzip2
8693 TARGET-bzip2=all
8694 maybe-all-bzip2: all-bzip2
8695 all-bzip2: configure-bzip2
8696 @: $(MAKE); $(unstage)
8697 @r=`${PWD_COMMAND}`; export r; \
8698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8699 $(HOST_EXPORTS) \
8700 (cd $(HOST_SUBDIR)/bzip2 && \
8701 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8702 $(TARGET-bzip2))
8703 @endif bzip2
8708 .PHONY: check-bzip2 maybe-check-bzip2
8709 maybe-check-bzip2:
8710 @if bzip2
8711 maybe-check-bzip2: check-bzip2
8713 check-bzip2:
8714 @: $(MAKE); $(unstage)
8715 @r=`${PWD_COMMAND}`; export r; \
8716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8717 $(HOST_EXPORTS) \
8718 (cd $(HOST_SUBDIR)/bzip2 && \
8719 $(MAKE) $(FLAGS_TO_PASS) check)
8721 @endif bzip2
8723 .PHONY: install-bzip2 maybe-install-bzip2
8724 maybe-install-bzip2:
8725 @if bzip2
8726 maybe-install-bzip2: install-bzip2
8728 install-bzip2: installdirs
8729 @: $(MAKE); $(unstage)
8730 @r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8732 $(HOST_EXPORTS) \
8733 (cd $(HOST_SUBDIR)/bzip2 && \
8734 $(MAKE) $(FLAGS_TO_PASS) install)
8736 @endif bzip2
8738 # Other targets (info, dvi, pdf, etc.)
8740 .PHONY: maybe-info-bzip2 info-bzip2
8741 maybe-info-bzip2:
8742 @if bzip2
8743 maybe-info-bzip2: info-bzip2
8745 info-bzip2: \
8746 configure-bzip2
8747 @: $(MAKE); $(unstage)
8748 @[ -f ./bzip2/Makefile ] || exit 0; \
8749 r=`${PWD_COMMAND}`; export r; \
8750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8751 $(HOST_EXPORTS) \
8752 for flag in $(EXTRA_HOST_FLAGS) ; do \
8753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8754 done; \
8755 echo "Doing info in bzip2" ; \
8756 (cd $(HOST_SUBDIR)/bzip2 && \
8757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8759 "RANLIB=$${RANLIB}" \
8760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8761 info) \
8762 || exit 1
8764 @endif bzip2
8766 .PHONY: maybe-dvi-bzip2 dvi-bzip2
8767 maybe-dvi-bzip2:
8768 @if bzip2
8769 maybe-dvi-bzip2: dvi-bzip2
8771 dvi-bzip2: \
8772 configure-bzip2
8773 @: $(MAKE); $(unstage)
8774 @[ -f ./bzip2/Makefile ] || exit 0; \
8775 r=`${PWD_COMMAND}`; export r; \
8776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8777 $(HOST_EXPORTS) \
8778 for flag in $(EXTRA_HOST_FLAGS) ; do \
8779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8780 done; \
8781 echo "Doing dvi in bzip2" ; \
8782 (cd $(HOST_SUBDIR)/bzip2 && \
8783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8785 "RANLIB=$${RANLIB}" \
8786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8787 dvi) \
8788 || exit 1
8790 @endif bzip2
8792 .PHONY: maybe-pdf-bzip2 pdf-bzip2
8793 maybe-pdf-bzip2:
8794 @if bzip2
8795 maybe-pdf-bzip2: pdf-bzip2
8797 pdf-bzip2: \
8798 configure-bzip2
8799 @: $(MAKE); $(unstage)
8800 @[ -f ./bzip2/Makefile ] || exit 0; \
8801 r=`${PWD_COMMAND}`; export r; \
8802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8803 $(HOST_EXPORTS) \
8804 for flag in $(EXTRA_HOST_FLAGS) ; do \
8805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8806 done; \
8807 echo "Doing pdf in bzip2" ; \
8808 (cd $(HOST_SUBDIR)/bzip2 && \
8809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8811 "RANLIB=$${RANLIB}" \
8812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8813 pdf) \
8814 || exit 1
8816 @endif bzip2
8818 .PHONY: maybe-html-bzip2 html-bzip2
8819 maybe-html-bzip2:
8820 @if bzip2
8821 maybe-html-bzip2: html-bzip2
8823 html-bzip2: \
8824 configure-bzip2
8825 @: $(MAKE); $(unstage)
8826 @[ -f ./bzip2/Makefile ] || exit 0; \
8827 r=`${PWD_COMMAND}`; export r; \
8828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8829 $(HOST_EXPORTS) \
8830 for flag in $(EXTRA_HOST_FLAGS) ; do \
8831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8832 done; \
8833 echo "Doing html in bzip2" ; \
8834 (cd $(HOST_SUBDIR)/bzip2 && \
8835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8837 "RANLIB=$${RANLIB}" \
8838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8839 html) \
8840 || exit 1
8842 @endif bzip2
8844 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
8845 maybe-TAGS-bzip2:
8846 @if bzip2
8847 maybe-TAGS-bzip2: TAGS-bzip2
8849 TAGS-bzip2: \
8850 configure-bzip2
8851 @: $(MAKE); $(unstage)
8852 @[ -f ./bzip2/Makefile ] || exit 0; \
8853 r=`${PWD_COMMAND}`; export r; \
8854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8855 $(HOST_EXPORTS) \
8856 for flag in $(EXTRA_HOST_FLAGS) ; do \
8857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8858 done; \
8859 echo "Doing TAGS in bzip2" ; \
8860 (cd $(HOST_SUBDIR)/bzip2 && \
8861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8863 "RANLIB=$${RANLIB}" \
8864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8865 TAGS) \
8866 || exit 1
8868 @endif bzip2
8870 .PHONY: maybe-install-info-bzip2 install-info-bzip2
8871 maybe-install-info-bzip2:
8872 @if bzip2
8873 maybe-install-info-bzip2: install-info-bzip2
8875 install-info-bzip2: \
8876 configure-bzip2 \
8877 info-bzip2
8878 @: $(MAKE); $(unstage)
8879 @[ -f ./bzip2/Makefile ] || exit 0; \
8880 r=`${PWD_COMMAND}`; export r; \
8881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8882 $(HOST_EXPORTS) \
8883 for flag in $(EXTRA_HOST_FLAGS) ; do \
8884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8885 done; \
8886 echo "Doing install-info in bzip2" ; \
8887 (cd $(HOST_SUBDIR)/bzip2 && \
8888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8890 "RANLIB=$${RANLIB}" \
8891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8892 install-info) \
8893 || exit 1
8895 @endif bzip2
8897 .PHONY: maybe-install-pdf-bzip2 install-pdf-bzip2
8898 maybe-install-pdf-bzip2:
8899 @if bzip2
8900 maybe-install-pdf-bzip2: install-pdf-bzip2
8902 install-pdf-bzip2: \
8903 configure-bzip2 \
8904 pdf-bzip2
8905 @: $(MAKE); $(unstage)
8906 @[ -f ./bzip2/Makefile ] || exit 0; \
8907 r=`${PWD_COMMAND}`; export r; \
8908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8909 $(HOST_EXPORTS) \
8910 for flag in $(EXTRA_HOST_FLAGS) ; do \
8911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8912 done; \
8913 echo "Doing install-pdf in bzip2" ; \
8914 (cd $(HOST_SUBDIR)/bzip2 && \
8915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8917 "RANLIB=$${RANLIB}" \
8918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8919 install-pdf) \
8920 || exit 1
8922 @endif bzip2
8924 .PHONY: maybe-install-html-bzip2 install-html-bzip2
8925 maybe-install-html-bzip2:
8926 @if bzip2
8927 maybe-install-html-bzip2: install-html-bzip2
8929 install-html-bzip2: \
8930 configure-bzip2 \
8931 html-bzip2
8932 @: $(MAKE); $(unstage)
8933 @[ -f ./bzip2/Makefile ] || exit 0; \
8934 r=`${PWD_COMMAND}`; export r; \
8935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8936 $(HOST_EXPORTS) \
8937 for flag in $(EXTRA_HOST_FLAGS) ; do \
8938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8939 done; \
8940 echo "Doing install-html in bzip2" ; \
8941 (cd $(HOST_SUBDIR)/bzip2 && \
8942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944 "RANLIB=$${RANLIB}" \
8945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8946 install-html) \
8947 || exit 1
8949 @endif bzip2
8951 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8952 maybe-installcheck-bzip2:
8953 @if bzip2
8954 maybe-installcheck-bzip2: installcheck-bzip2
8956 installcheck-bzip2: \
8957 configure-bzip2
8958 @: $(MAKE); $(unstage)
8959 @[ -f ./bzip2/Makefile ] || exit 0; \
8960 r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 $(HOST_EXPORTS) \
8963 for flag in $(EXTRA_HOST_FLAGS) ; do \
8964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8965 done; \
8966 echo "Doing installcheck in bzip2" ; \
8967 (cd $(HOST_SUBDIR)/bzip2 && \
8968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8970 "RANLIB=$${RANLIB}" \
8971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8972 installcheck) \
8973 || exit 1
8975 @endif bzip2
8977 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
8978 maybe-mostlyclean-bzip2:
8979 @if bzip2
8980 maybe-mostlyclean-bzip2: mostlyclean-bzip2
8982 mostlyclean-bzip2:
8983 @: $(MAKE); $(unstage)
8984 @[ -f ./bzip2/Makefile ] || exit 0; \
8985 r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 $(HOST_EXPORTS) \
8988 for flag in $(EXTRA_HOST_FLAGS) ; do \
8989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8990 done; \
8991 echo "Doing mostlyclean in bzip2" ; \
8992 (cd $(HOST_SUBDIR)/bzip2 && \
8993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8995 "RANLIB=$${RANLIB}" \
8996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8997 mostlyclean) \
8998 || exit 1
9000 @endif bzip2
9002 .PHONY: maybe-clean-bzip2 clean-bzip2
9003 maybe-clean-bzip2:
9004 @if bzip2
9005 maybe-clean-bzip2: clean-bzip2
9007 clean-bzip2:
9008 @: $(MAKE); $(unstage)
9009 @[ -f ./bzip2/Makefile ] || exit 0; \
9010 r=`${PWD_COMMAND}`; export r; \
9011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9012 $(HOST_EXPORTS) \
9013 for flag in $(EXTRA_HOST_FLAGS) ; do \
9014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9015 done; \
9016 echo "Doing clean in bzip2" ; \
9017 (cd $(HOST_SUBDIR)/bzip2 && \
9018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9020 "RANLIB=$${RANLIB}" \
9021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9022 clean) \
9023 || exit 1
9025 @endif bzip2
9027 .PHONY: maybe-distclean-bzip2 distclean-bzip2
9028 maybe-distclean-bzip2:
9029 @if bzip2
9030 maybe-distclean-bzip2: distclean-bzip2
9032 distclean-bzip2:
9033 @: $(MAKE); $(unstage)
9034 @[ -f ./bzip2/Makefile ] || exit 0; \
9035 r=`${PWD_COMMAND}`; export r; \
9036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9037 $(HOST_EXPORTS) \
9038 for flag in $(EXTRA_HOST_FLAGS) ; do \
9039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9040 done; \
9041 echo "Doing distclean in bzip2" ; \
9042 (cd $(HOST_SUBDIR)/bzip2 && \
9043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9045 "RANLIB=$${RANLIB}" \
9046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9047 distclean) \
9048 || exit 1
9050 @endif bzip2
9052 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
9053 maybe-maintainer-clean-bzip2:
9054 @if bzip2
9055 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
9057 maintainer-clean-bzip2:
9058 @: $(MAKE); $(unstage)
9059 @[ -f ./bzip2/Makefile ] || exit 0; \
9060 r=`${PWD_COMMAND}`; export r; \
9061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9062 $(HOST_EXPORTS) \
9063 for flag in $(EXTRA_HOST_FLAGS) ; do \
9064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9065 done; \
9066 echo "Doing maintainer-clean in bzip2" ; \
9067 (cd $(HOST_SUBDIR)/bzip2 && \
9068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9070 "RANLIB=$${RANLIB}" \
9071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9072 maintainer-clean) \
9073 || exit 1
9075 @endif bzip2
9079 .PHONY: configure-dejagnu maybe-configure-dejagnu
9080 maybe-configure-dejagnu:
9081 @if gcc-bootstrap
9082 configure-dejagnu: stage_current
9083 @endif gcc-bootstrap
9084 @if dejagnu
9085 maybe-configure-dejagnu: configure-dejagnu
9086 configure-dejagnu:
9087 @: $(MAKE); $(unstage)
9088 @r=`${PWD_COMMAND}`; export r; \
9089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9090 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
9091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
9092 $(HOST_EXPORTS) \
9093 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
9094 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
9095 case $(srcdir) in \
9096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9097 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
9098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9099 esac; \
9100 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
9101 libsrcdir="$$s/dejagnu"; \
9102 $(SHELL) $${libsrcdir}/configure \
9103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9104 --target=${target_alias} $${srcdiroption} \
9105 || exit 1
9106 @endif dejagnu
9112 .PHONY: all-dejagnu maybe-all-dejagnu
9113 maybe-all-dejagnu:
9114 @if gcc-bootstrap
9115 all-dejagnu: stage_current
9116 @endif gcc-bootstrap
9117 @if dejagnu
9118 TARGET-dejagnu=all
9119 maybe-all-dejagnu: all-dejagnu
9120 all-dejagnu: configure-dejagnu
9121 @: $(MAKE); $(unstage)
9122 @r=`${PWD_COMMAND}`; export r; \
9123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9124 $(HOST_EXPORTS) \
9125 (cd $(HOST_SUBDIR)/dejagnu && \
9126 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9127 $(TARGET-dejagnu))
9128 @endif dejagnu
9133 .PHONY: check-dejagnu maybe-check-dejagnu
9134 maybe-check-dejagnu:
9135 @if dejagnu
9136 maybe-check-dejagnu: check-dejagnu
9138 check-dejagnu:
9139 @: $(MAKE); $(unstage)
9140 @r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9142 $(HOST_EXPORTS) \
9143 (cd $(HOST_SUBDIR)/dejagnu && \
9144 $(MAKE) $(FLAGS_TO_PASS) check)
9146 @endif dejagnu
9148 .PHONY: install-dejagnu maybe-install-dejagnu
9149 maybe-install-dejagnu:
9150 @if dejagnu
9151 maybe-install-dejagnu: install-dejagnu
9153 install-dejagnu: installdirs
9154 @: $(MAKE); $(unstage)
9155 @r=`${PWD_COMMAND}`; export r; \
9156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9157 $(HOST_EXPORTS) \
9158 (cd $(HOST_SUBDIR)/dejagnu && \
9159 $(MAKE) $(FLAGS_TO_PASS) install)
9161 @endif dejagnu
9163 # Other targets (info, dvi, pdf, etc.)
9165 .PHONY: maybe-info-dejagnu info-dejagnu
9166 maybe-info-dejagnu:
9167 @if dejagnu
9168 maybe-info-dejagnu: info-dejagnu
9170 info-dejagnu: \
9171 configure-dejagnu
9172 @: $(MAKE); $(unstage)
9173 @[ -f ./dejagnu/Makefile ] || exit 0; \
9174 r=`${PWD_COMMAND}`; export r; \
9175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9176 $(HOST_EXPORTS) \
9177 for flag in $(EXTRA_HOST_FLAGS) ; do \
9178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9179 done; \
9180 echo "Doing info in dejagnu" ; \
9181 (cd $(HOST_SUBDIR)/dejagnu && \
9182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9184 "RANLIB=$${RANLIB}" \
9185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9186 info) \
9187 || exit 1
9189 @endif dejagnu
9191 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
9192 maybe-dvi-dejagnu:
9193 @if dejagnu
9194 maybe-dvi-dejagnu: dvi-dejagnu
9196 dvi-dejagnu: \
9197 configure-dejagnu
9198 @: $(MAKE); $(unstage)
9199 @[ -f ./dejagnu/Makefile ] || exit 0; \
9200 r=`${PWD_COMMAND}`; export r; \
9201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9202 $(HOST_EXPORTS) \
9203 for flag in $(EXTRA_HOST_FLAGS) ; do \
9204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9205 done; \
9206 echo "Doing dvi in dejagnu" ; \
9207 (cd $(HOST_SUBDIR)/dejagnu && \
9208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9210 "RANLIB=$${RANLIB}" \
9211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9212 dvi) \
9213 || exit 1
9215 @endif dejagnu
9217 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
9218 maybe-pdf-dejagnu:
9219 @if dejagnu
9220 maybe-pdf-dejagnu: pdf-dejagnu
9222 pdf-dejagnu: \
9223 configure-dejagnu
9224 @: $(MAKE); $(unstage)
9225 @[ -f ./dejagnu/Makefile ] || exit 0; \
9226 r=`${PWD_COMMAND}`; export r; \
9227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9228 $(HOST_EXPORTS) \
9229 for flag in $(EXTRA_HOST_FLAGS) ; do \
9230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9231 done; \
9232 echo "Doing pdf in dejagnu" ; \
9233 (cd $(HOST_SUBDIR)/dejagnu && \
9234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9236 "RANLIB=$${RANLIB}" \
9237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9238 pdf) \
9239 || exit 1
9241 @endif dejagnu
9243 .PHONY: maybe-html-dejagnu html-dejagnu
9244 maybe-html-dejagnu:
9245 @if dejagnu
9246 maybe-html-dejagnu: html-dejagnu
9248 html-dejagnu: \
9249 configure-dejagnu
9250 @: $(MAKE); $(unstage)
9251 @[ -f ./dejagnu/Makefile ] || exit 0; \
9252 r=`${PWD_COMMAND}`; export r; \
9253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9254 $(HOST_EXPORTS) \
9255 for flag in $(EXTRA_HOST_FLAGS) ; do \
9256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9257 done; \
9258 echo "Doing html in dejagnu" ; \
9259 (cd $(HOST_SUBDIR)/dejagnu && \
9260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9262 "RANLIB=$${RANLIB}" \
9263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9264 html) \
9265 || exit 1
9267 @endif dejagnu
9269 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
9270 maybe-TAGS-dejagnu:
9271 @if dejagnu
9272 maybe-TAGS-dejagnu: TAGS-dejagnu
9274 TAGS-dejagnu: \
9275 configure-dejagnu
9276 @: $(MAKE); $(unstage)
9277 @[ -f ./dejagnu/Makefile ] || exit 0; \
9278 r=`${PWD_COMMAND}`; export r; \
9279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9280 $(HOST_EXPORTS) \
9281 for flag in $(EXTRA_HOST_FLAGS) ; do \
9282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9283 done; \
9284 echo "Doing TAGS in dejagnu" ; \
9285 (cd $(HOST_SUBDIR)/dejagnu && \
9286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9288 "RANLIB=$${RANLIB}" \
9289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9290 TAGS) \
9291 || exit 1
9293 @endif dejagnu
9295 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
9296 maybe-install-info-dejagnu:
9297 @if dejagnu
9298 maybe-install-info-dejagnu: install-info-dejagnu
9300 install-info-dejagnu: \
9301 configure-dejagnu \
9302 info-dejagnu
9303 @: $(MAKE); $(unstage)
9304 @[ -f ./dejagnu/Makefile ] || exit 0; \
9305 r=`${PWD_COMMAND}`; export r; \
9306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9307 $(HOST_EXPORTS) \
9308 for flag in $(EXTRA_HOST_FLAGS) ; do \
9309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9310 done; \
9311 echo "Doing install-info in dejagnu" ; \
9312 (cd $(HOST_SUBDIR)/dejagnu && \
9313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9315 "RANLIB=$${RANLIB}" \
9316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9317 install-info) \
9318 || exit 1
9320 @endif dejagnu
9322 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
9323 maybe-install-pdf-dejagnu:
9324 @if dejagnu
9325 maybe-install-pdf-dejagnu: install-pdf-dejagnu
9327 install-pdf-dejagnu: \
9328 configure-dejagnu \
9329 pdf-dejagnu
9330 @: $(MAKE); $(unstage)
9331 @[ -f ./dejagnu/Makefile ] || exit 0; \
9332 r=`${PWD_COMMAND}`; export r; \
9333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9334 $(HOST_EXPORTS) \
9335 for flag in $(EXTRA_HOST_FLAGS) ; do \
9336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9337 done; \
9338 echo "Doing install-pdf in dejagnu" ; \
9339 (cd $(HOST_SUBDIR)/dejagnu && \
9340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9342 "RANLIB=$${RANLIB}" \
9343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9344 install-pdf) \
9345 || exit 1
9347 @endif dejagnu
9349 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
9350 maybe-install-html-dejagnu:
9351 @if dejagnu
9352 maybe-install-html-dejagnu: install-html-dejagnu
9354 install-html-dejagnu: \
9355 configure-dejagnu \
9356 html-dejagnu
9357 @: $(MAKE); $(unstage)
9358 @[ -f ./dejagnu/Makefile ] || exit 0; \
9359 r=`${PWD_COMMAND}`; export r; \
9360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 $(HOST_EXPORTS) \
9362 for flag in $(EXTRA_HOST_FLAGS) ; do \
9363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9364 done; \
9365 echo "Doing install-html in dejagnu" ; \
9366 (cd $(HOST_SUBDIR)/dejagnu && \
9367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9369 "RANLIB=$${RANLIB}" \
9370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9371 install-html) \
9372 || exit 1
9374 @endif dejagnu
9376 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
9377 maybe-installcheck-dejagnu:
9378 @if dejagnu
9379 maybe-installcheck-dejagnu: installcheck-dejagnu
9381 installcheck-dejagnu: \
9382 configure-dejagnu
9383 @: $(MAKE); $(unstage)
9384 @[ -f ./dejagnu/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 installcheck in dejagnu" ; \
9392 (cd $(HOST_SUBDIR)/dejagnu && \
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}" "WINDMC=$${WINDMC}" \
9397 installcheck) \
9398 || exit 1
9400 @endif dejagnu
9402 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
9403 maybe-mostlyclean-dejagnu:
9404 @if dejagnu
9405 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
9407 mostlyclean-dejagnu:
9408 @: $(MAKE); $(unstage)
9409 @[ -f ./dejagnu/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 mostlyclean in dejagnu" ; \
9417 (cd $(HOST_SUBDIR)/dejagnu && \
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}" "WINDMC=$${WINDMC}" \
9422 mostlyclean) \
9423 || exit 1
9425 @endif dejagnu
9427 .PHONY: maybe-clean-dejagnu clean-dejagnu
9428 maybe-clean-dejagnu:
9429 @if dejagnu
9430 maybe-clean-dejagnu: clean-dejagnu
9432 clean-dejagnu:
9433 @: $(MAKE); $(unstage)
9434 @[ -f ./dejagnu/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 clean in dejagnu" ; \
9442 (cd $(HOST_SUBDIR)/dejagnu && \
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}" "WINDMC=$${WINDMC}" \
9447 clean) \
9448 || exit 1
9450 @endif dejagnu
9452 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
9453 maybe-distclean-dejagnu:
9454 @if dejagnu
9455 maybe-distclean-dejagnu: distclean-dejagnu
9457 distclean-dejagnu:
9458 @: $(MAKE); $(unstage)
9459 @[ -f ./dejagnu/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 distclean in dejagnu" ; \
9467 (cd $(HOST_SUBDIR)/dejagnu && \
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}" "WINDMC=$${WINDMC}" \
9472 distclean) \
9473 || exit 1
9475 @endif dejagnu
9477 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
9478 maybe-maintainer-clean-dejagnu:
9479 @if dejagnu
9480 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
9482 maintainer-clean-dejagnu:
9483 @: $(MAKE); $(unstage)
9484 @[ -f ./dejagnu/Makefile ] || exit 0; \
9485 r=`${PWD_COMMAND}`; export r; \
9486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9487 $(HOST_EXPORTS) \
9488 for flag in $(EXTRA_HOST_FLAGS) ; do \
9489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9490 done; \
9491 echo "Doing maintainer-clean in dejagnu" ; \
9492 (cd $(HOST_SUBDIR)/dejagnu && \
9493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9495 "RANLIB=$${RANLIB}" \
9496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9497 maintainer-clean) \
9498 || exit 1
9500 @endif dejagnu
9504 .PHONY: configure-diff maybe-configure-diff
9505 maybe-configure-diff:
9506 @if gcc-bootstrap
9507 configure-diff: stage_current
9508 @endif gcc-bootstrap
9509 @if diff
9510 maybe-configure-diff: configure-diff
9511 configure-diff:
9512 @: $(MAKE); $(unstage)
9513 @r=`${PWD_COMMAND}`; export r; \
9514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9515 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
9516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
9517 $(HOST_EXPORTS) \
9518 echo Configuring in $(HOST_SUBDIR)/diff; \
9519 cd "$(HOST_SUBDIR)/diff" || exit 1; \
9520 case $(srcdir) in \
9521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9522 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
9523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9524 esac; \
9525 srcdiroption="--srcdir=$${topdir}/diff"; \
9526 libsrcdir="$$s/diff"; \
9527 $(SHELL) $${libsrcdir}/configure \
9528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9529 --target=${target_alias} $${srcdiroption} \
9530 || exit 1
9531 @endif diff
9537 .PHONY: all-diff maybe-all-diff
9538 maybe-all-diff:
9539 @if gcc-bootstrap
9540 all-diff: stage_current
9541 @endif gcc-bootstrap
9542 @if diff
9543 TARGET-diff=all
9544 maybe-all-diff: all-diff
9545 all-diff: configure-diff
9546 @: $(MAKE); $(unstage)
9547 @r=`${PWD_COMMAND}`; export r; \
9548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9549 $(HOST_EXPORTS) \
9550 (cd $(HOST_SUBDIR)/diff && \
9551 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9552 $(TARGET-diff))
9553 @endif diff
9558 .PHONY: check-diff maybe-check-diff
9559 maybe-check-diff:
9560 @if diff
9561 maybe-check-diff: check-diff
9563 check-diff:
9564 @: $(MAKE); $(unstage)
9565 @r=`${PWD_COMMAND}`; export r; \
9566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 $(HOST_EXPORTS) \
9568 (cd $(HOST_SUBDIR)/diff && \
9569 $(MAKE) $(FLAGS_TO_PASS) check)
9571 @endif diff
9573 .PHONY: install-diff maybe-install-diff
9574 maybe-install-diff:
9575 @if diff
9576 maybe-install-diff: install-diff
9578 install-diff: installdirs
9579 @: $(MAKE); $(unstage)
9580 @r=`${PWD_COMMAND}`; export r; \
9581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9582 $(HOST_EXPORTS) \
9583 (cd $(HOST_SUBDIR)/diff && \
9584 $(MAKE) $(FLAGS_TO_PASS) install)
9586 @endif diff
9588 # Other targets (info, dvi, pdf, etc.)
9590 .PHONY: maybe-info-diff info-diff
9591 maybe-info-diff:
9592 @if diff
9593 maybe-info-diff: info-diff
9595 info-diff: \
9596 configure-diff
9597 @: $(MAKE); $(unstage)
9598 @[ -f ./diff/Makefile ] || exit 0; \
9599 r=`${PWD_COMMAND}`; export r; \
9600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9601 $(HOST_EXPORTS) \
9602 for flag in $(EXTRA_HOST_FLAGS) ; do \
9603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9604 done; \
9605 echo "Doing info in diff" ; \
9606 (cd $(HOST_SUBDIR)/diff && \
9607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9609 "RANLIB=$${RANLIB}" \
9610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9611 info) \
9612 || exit 1
9614 @endif diff
9616 .PHONY: maybe-dvi-diff dvi-diff
9617 maybe-dvi-diff:
9618 @if diff
9619 maybe-dvi-diff: dvi-diff
9621 dvi-diff: \
9622 configure-diff
9623 @: $(MAKE); $(unstage)
9624 @[ -f ./diff/Makefile ] || exit 0; \
9625 r=`${PWD_COMMAND}`; export r; \
9626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9627 $(HOST_EXPORTS) \
9628 for flag in $(EXTRA_HOST_FLAGS) ; do \
9629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9630 done; \
9631 echo "Doing dvi in diff" ; \
9632 (cd $(HOST_SUBDIR)/diff && \
9633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9635 "RANLIB=$${RANLIB}" \
9636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9637 dvi) \
9638 || exit 1
9640 @endif diff
9642 .PHONY: maybe-pdf-diff pdf-diff
9643 maybe-pdf-diff:
9644 @if diff
9645 maybe-pdf-diff: pdf-diff
9647 pdf-diff: \
9648 configure-diff
9649 @: $(MAKE); $(unstage)
9650 @[ -f ./diff/Makefile ] || exit 0; \
9651 r=`${PWD_COMMAND}`; export r; \
9652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9653 $(HOST_EXPORTS) \
9654 for flag in $(EXTRA_HOST_FLAGS) ; do \
9655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9656 done; \
9657 echo "Doing pdf in diff" ; \
9658 (cd $(HOST_SUBDIR)/diff && \
9659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9661 "RANLIB=$${RANLIB}" \
9662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9663 pdf) \
9664 || exit 1
9666 @endif diff
9668 .PHONY: maybe-html-diff html-diff
9669 maybe-html-diff:
9670 @if diff
9671 maybe-html-diff: html-diff
9673 html-diff: \
9674 configure-diff
9675 @: $(MAKE); $(unstage)
9676 @[ -f ./diff/Makefile ] || exit 0; \
9677 r=`${PWD_COMMAND}`; export r; \
9678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9679 $(HOST_EXPORTS) \
9680 for flag in $(EXTRA_HOST_FLAGS) ; do \
9681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9682 done; \
9683 echo "Doing html in diff" ; \
9684 (cd $(HOST_SUBDIR)/diff && \
9685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9687 "RANLIB=$${RANLIB}" \
9688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9689 html) \
9690 || exit 1
9692 @endif diff
9694 .PHONY: maybe-TAGS-diff TAGS-diff
9695 maybe-TAGS-diff:
9696 @if diff
9697 maybe-TAGS-diff: TAGS-diff
9699 TAGS-diff: \
9700 configure-diff
9701 @: $(MAKE); $(unstage)
9702 @[ -f ./diff/Makefile ] || exit 0; \
9703 r=`${PWD_COMMAND}`; export r; \
9704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9705 $(HOST_EXPORTS) \
9706 for flag in $(EXTRA_HOST_FLAGS) ; do \
9707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9708 done; \
9709 echo "Doing TAGS in diff" ; \
9710 (cd $(HOST_SUBDIR)/diff && \
9711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9713 "RANLIB=$${RANLIB}" \
9714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9715 TAGS) \
9716 || exit 1
9718 @endif diff
9720 .PHONY: maybe-install-info-diff install-info-diff
9721 maybe-install-info-diff:
9722 @if diff
9723 maybe-install-info-diff: install-info-diff
9725 install-info-diff: \
9726 configure-diff \
9727 info-diff
9728 @: $(MAKE); $(unstage)
9729 @[ -f ./diff/Makefile ] || exit 0; \
9730 r=`${PWD_COMMAND}`; export r; \
9731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9732 $(HOST_EXPORTS) \
9733 for flag in $(EXTRA_HOST_FLAGS) ; do \
9734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9735 done; \
9736 echo "Doing install-info in diff" ; \
9737 (cd $(HOST_SUBDIR)/diff && \
9738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9740 "RANLIB=$${RANLIB}" \
9741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9742 install-info) \
9743 || exit 1
9745 @endif diff
9747 .PHONY: maybe-install-pdf-diff install-pdf-diff
9748 maybe-install-pdf-diff:
9749 @if diff
9750 maybe-install-pdf-diff: install-pdf-diff
9752 install-pdf-diff: \
9753 configure-diff \
9754 pdf-diff
9755 @: $(MAKE); $(unstage)
9756 @[ -f ./diff/Makefile ] || exit 0; \
9757 r=`${PWD_COMMAND}`; export r; \
9758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759 $(HOST_EXPORTS) \
9760 for flag in $(EXTRA_HOST_FLAGS) ; do \
9761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9762 done; \
9763 echo "Doing install-pdf in diff" ; \
9764 (cd $(HOST_SUBDIR)/diff && \
9765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9767 "RANLIB=$${RANLIB}" \
9768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9769 install-pdf) \
9770 || exit 1
9772 @endif diff
9774 .PHONY: maybe-install-html-diff install-html-diff
9775 maybe-install-html-diff:
9776 @if diff
9777 maybe-install-html-diff: install-html-diff
9779 install-html-diff: \
9780 configure-diff \
9781 html-diff
9782 @: $(MAKE); $(unstage)
9783 @[ -f ./diff/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 install-html in diff" ; \
9791 (cd $(HOST_SUBDIR)/diff && \
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}" "WINDMC=$${WINDMC}" \
9796 install-html) \
9797 || exit 1
9799 @endif diff
9801 .PHONY: maybe-installcheck-diff installcheck-diff
9802 maybe-installcheck-diff:
9803 @if diff
9804 maybe-installcheck-diff: installcheck-diff
9806 installcheck-diff: \
9807 configure-diff
9808 @: $(MAKE); $(unstage)
9809 @[ -f ./diff/Makefile ] || exit 0; \
9810 r=`${PWD_COMMAND}`; export r; \
9811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9812 $(HOST_EXPORTS) \
9813 for flag in $(EXTRA_HOST_FLAGS) ; do \
9814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9815 done; \
9816 echo "Doing installcheck in diff" ; \
9817 (cd $(HOST_SUBDIR)/diff && \
9818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9820 "RANLIB=$${RANLIB}" \
9821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9822 installcheck) \
9823 || exit 1
9825 @endif diff
9827 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
9828 maybe-mostlyclean-diff:
9829 @if diff
9830 maybe-mostlyclean-diff: mostlyclean-diff
9832 mostlyclean-diff:
9833 @: $(MAKE); $(unstage)
9834 @[ -f ./diff/Makefile ] || exit 0; \
9835 r=`${PWD_COMMAND}`; export r; \
9836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9837 $(HOST_EXPORTS) \
9838 for flag in $(EXTRA_HOST_FLAGS) ; do \
9839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9840 done; \
9841 echo "Doing mostlyclean in diff" ; \
9842 (cd $(HOST_SUBDIR)/diff && \
9843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9845 "RANLIB=$${RANLIB}" \
9846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9847 mostlyclean) \
9848 || exit 1
9850 @endif diff
9852 .PHONY: maybe-clean-diff clean-diff
9853 maybe-clean-diff:
9854 @if diff
9855 maybe-clean-diff: clean-diff
9857 clean-diff:
9858 @: $(MAKE); $(unstage)
9859 @[ -f ./diff/Makefile ] || exit 0; \
9860 r=`${PWD_COMMAND}`; export r; \
9861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9862 $(HOST_EXPORTS) \
9863 for flag in $(EXTRA_HOST_FLAGS) ; do \
9864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9865 done; \
9866 echo "Doing clean in diff" ; \
9867 (cd $(HOST_SUBDIR)/diff && \
9868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9870 "RANLIB=$${RANLIB}" \
9871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9872 clean) \
9873 || exit 1
9875 @endif diff
9877 .PHONY: maybe-distclean-diff distclean-diff
9878 maybe-distclean-diff:
9879 @if diff
9880 maybe-distclean-diff: distclean-diff
9882 distclean-diff:
9883 @: $(MAKE); $(unstage)
9884 @[ -f ./diff/Makefile ] || exit 0; \
9885 r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(HOST_EXPORTS) \
9888 for flag in $(EXTRA_HOST_FLAGS) ; do \
9889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9890 done; \
9891 echo "Doing distclean in diff" ; \
9892 (cd $(HOST_SUBDIR)/diff && \
9893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9895 "RANLIB=$${RANLIB}" \
9896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9897 distclean) \
9898 || exit 1
9900 @endif diff
9902 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
9903 maybe-maintainer-clean-diff:
9904 @if diff
9905 maybe-maintainer-clean-diff: maintainer-clean-diff
9907 maintainer-clean-diff:
9908 @: $(MAKE); $(unstage)
9909 @[ -f ./diff/Makefile ] || exit 0; \
9910 r=`${PWD_COMMAND}`; export r; \
9911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9912 $(HOST_EXPORTS) \
9913 for flag in $(EXTRA_HOST_FLAGS) ; do \
9914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9915 done; \
9916 echo "Doing maintainer-clean in diff" ; \
9917 (cd $(HOST_SUBDIR)/diff && \
9918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9920 "RANLIB=$${RANLIB}" \
9921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9922 maintainer-clean) \
9923 || exit 1
9925 @endif diff
9929 .PHONY: configure-dosutils maybe-configure-dosutils
9930 maybe-configure-dosutils:
9931 @if gcc-bootstrap
9932 configure-dosutils: stage_current
9933 @endif gcc-bootstrap
9934 @if dosutils
9935 maybe-configure-dosutils: configure-dosutils
9936 configure-dosutils:
9937 @: $(MAKE); $(unstage)
9938 @r=`${PWD_COMMAND}`; export r; \
9939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
9941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
9942 $(HOST_EXPORTS) \
9943 echo Configuring in $(HOST_SUBDIR)/dosutils; \
9944 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
9945 case $(srcdir) in \
9946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9947 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
9948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9949 esac; \
9950 srcdiroption="--srcdir=$${topdir}/dosutils"; \
9951 libsrcdir="$$s/dosutils"; \
9952 $(SHELL) $${libsrcdir}/configure \
9953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9954 --target=${target_alias} $${srcdiroption} \
9955 || exit 1
9956 @endif dosutils
9962 .PHONY: all-dosutils maybe-all-dosutils
9963 maybe-all-dosutils:
9964 @if gcc-bootstrap
9965 all-dosutils: stage_current
9966 @endif gcc-bootstrap
9967 @if dosutils
9968 TARGET-dosutils=all
9969 maybe-all-dosutils: all-dosutils
9970 all-dosutils: configure-dosutils
9971 @: $(MAKE); $(unstage)
9972 @r=`${PWD_COMMAND}`; export r; \
9973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9974 $(HOST_EXPORTS) \
9975 (cd $(HOST_SUBDIR)/dosutils && \
9976 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9977 $(TARGET-dosutils))
9978 @endif dosutils
9983 .PHONY: check-dosutils maybe-check-dosutils
9984 maybe-check-dosutils:
9985 @if dosutils
9986 maybe-check-dosutils: check-dosutils
9988 check-dosutils:
9990 @endif dosutils
9992 .PHONY: install-dosutils maybe-install-dosutils
9993 maybe-install-dosutils:
9994 @if dosutils
9995 maybe-install-dosutils: install-dosutils
9997 install-dosutils: installdirs
9998 @: $(MAKE); $(unstage)
9999 @r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001 $(HOST_EXPORTS) \
10002 (cd $(HOST_SUBDIR)/dosutils && \
10003 $(MAKE) $(FLAGS_TO_PASS) install)
10005 @endif dosutils
10007 # Other targets (info, dvi, pdf, etc.)
10009 .PHONY: maybe-info-dosutils info-dosutils
10010 maybe-info-dosutils:
10011 @if dosutils
10012 maybe-info-dosutils: info-dosutils
10014 info-dosutils: \
10015 configure-dosutils
10016 @: $(MAKE); $(unstage)
10017 @[ -f ./dosutils/Makefile ] || exit 0; \
10018 r=`${PWD_COMMAND}`; export r; \
10019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10020 $(HOST_EXPORTS) \
10021 for flag in $(EXTRA_HOST_FLAGS) ; do \
10022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10023 done; \
10024 echo "Doing info in dosutils" ; \
10025 (cd $(HOST_SUBDIR)/dosutils && \
10026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10028 "RANLIB=$${RANLIB}" \
10029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10030 info) \
10031 || exit 1
10033 @endif dosutils
10035 .PHONY: maybe-dvi-dosutils dvi-dosutils
10036 maybe-dvi-dosutils:
10037 @if dosutils
10038 maybe-dvi-dosutils: dvi-dosutils
10040 dvi-dosutils: \
10041 configure-dosutils
10042 @: $(MAKE); $(unstage)
10043 @[ -f ./dosutils/Makefile ] || exit 0; \
10044 r=`${PWD_COMMAND}`; export r; \
10045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10046 $(HOST_EXPORTS) \
10047 for flag in $(EXTRA_HOST_FLAGS) ; do \
10048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10049 done; \
10050 echo "Doing dvi in dosutils" ; \
10051 (cd $(HOST_SUBDIR)/dosutils && \
10052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10054 "RANLIB=$${RANLIB}" \
10055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10056 dvi) \
10057 || exit 1
10059 @endif dosutils
10061 .PHONY: maybe-pdf-dosutils pdf-dosutils
10062 maybe-pdf-dosutils:
10063 @if dosutils
10064 maybe-pdf-dosutils: pdf-dosutils
10066 pdf-dosutils: \
10067 configure-dosutils
10068 @: $(MAKE); $(unstage)
10069 @[ -f ./dosutils/Makefile ] || exit 0; \
10070 r=`${PWD_COMMAND}`; export r; \
10071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10072 $(HOST_EXPORTS) \
10073 for flag in $(EXTRA_HOST_FLAGS) ; do \
10074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10075 done; \
10076 echo "Doing pdf in dosutils" ; \
10077 (cd $(HOST_SUBDIR)/dosutils && \
10078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10080 "RANLIB=$${RANLIB}" \
10081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10082 pdf) \
10083 || exit 1
10085 @endif dosutils
10087 .PHONY: maybe-html-dosutils html-dosutils
10088 maybe-html-dosutils:
10089 @if dosutils
10090 maybe-html-dosutils: html-dosutils
10092 html-dosutils: \
10093 configure-dosutils
10094 @: $(MAKE); $(unstage)
10095 @[ -f ./dosutils/Makefile ] || exit 0; \
10096 r=`${PWD_COMMAND}`; export r; \
10097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10098 $(HOST_EXPORTS) \
10099 for flag in $(EXTRA_HOST_FLAGS) ; do \
10100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10101 done; \
10102 echo "Doing html in dosutils" ; \
10103 (cd $(HOST_SUBDIR)/dosutils && \
10104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10106 "RANLIB=$${RANLIB}" \
10107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10108 html) \
10109 || exit 1
10111 @endif dosutils
10113 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
10114 maybe-TAGS-dosutils:
10115 @if dosutils
10116 maybe-TAGS-dosutils: TAGS-dosutils
10118 TAGS-dosutils: \
10119 configure-dosutils
10120 @: $(MAKE); $(unstage)
10121 @[ -f ./dosutils/Makefile ] || exit 0; \
10122 r=`${PWD_COMMAND}`; export r; \
10123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10124 $(HOST_EXPORTS) \
10125 for flag in $(EXTRA_HOST_FLAGS) ; do \
10126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10127 done; \
10128 echo "Doing TAGS in dosutils" ; \
10129 (cd $(HOST_SUBDIR)/dosutils && \
10130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10132 "RANLIB=$${RANLIB}" \
10133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10134 TAGS) \
10135 || exit 1
10137 @endif dosutils
10139 .PHONY: maybe-install-info-dosutils install-info-dosutils
10140 maybe-install-info-dosutils:
10141 @if dosutils
10142 maybe-install-info-dosutils: install-info-dosutils
10144 install-info-dosutils: \
10145 configure-dosutils \
10146 info-dosutils
10147 @: $(MAKE); $(unstage)
10148 @[ -f ./dosutils/Makefile ] || exit 0; \
10149 r=`${PWD_COMMAND}`; export r; \
10150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10151 $(HOST_EXPORTS) \
10152 for flag in $(EXTRA_HOST_FLAGS) ; do \
10153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10154 done; \
10155 echo "Doing install-info in dosutils" ; \
10156 (cd $(HOST_SUBDIR)/dosutils && \
10157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10159 "RANLIB=$${RANLIB}" \
10160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10161 install-info) \
10162 || exit 1
10164 @endif dosutils
10166 .PHONY: maybe-install-pdf-dosutils install-pdf-dosutils
10167 maybe-install-pdf-dosutils:
10168 @if dosutils
10169 maybe-install-pdf-dosutils: install-pdf-dosutils
10171 install-pdf-dosutils: \
10172 configure-dosutils \
10173 pdf-dosutils
10174 @: $(MAKE); $(unstage)
10175 @[ -f ./dosutils/Makefile ] || exit 0; \
10176 r=`${PWD_COMMAND}`; export r; \
10177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10178 $(HOST_EXPORTS) \
10179 for flag in $(EXTRA_HOST_FLAGS) ; do \
10180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10181 done; \
10182 echo "Doing install-pdf in dosutils" ; \
10183 (cd $(HOST_SUBDIR)/dosutils && \
10184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10186 "RANLIB=$${RANLIB}" \
10187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10188 install-pdf) \
10189 || exit 1
10191 @endif dosutils
10193 .PHONY: maybe-install-html-dosutils install-html-dosutils
10194 maybe-install-html-dosutils:
10195 @if dosutils
10196 maybe-install-html-dosutils: install-html-dosutils
10198 install-html-dosutils: \
10199 configure-dosutils \
10200 html-dosutils
10201 @: $(MAKE); $(unstage)
10202 @[ -f ./dosutils/Makefile ] || exit 0; \
10203 r=`${PWD_COMMAND}`; export r; \
10204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10205 $(HOST_EXPORTS) \
10206 for flag in $(EXTRA_HOST_FLAGS) ; do \
10207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10208 done; \
10209 echo "Doing install-html in dosutils" ; \
10210 (cd $(HOST_SUBDIR)/dosutils && \
10211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10213 "RANLIB=$${RANLIB}" \
10214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10215 install-html) \
10216 || exit 1
10218 @endif dosutils
10220 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
10221 maybe-installcheck-dosutils:
10222 @if dosutils
10223 maybe-installcheck-dosutils: installcheck-dosutils
10225 installcheck-dosutils: \
10226 configure-dosutils
10227 @: $(MAKE); $(unstage)
10228 @[ -f ./dosutils/Makefile ] || exit 0; \
10229 r=`${PWD_COMMAND}`; export r; \
10230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10231 $(HOST_EXPORTS) \
10232 for flag in $(EXTRA_HOST_FLAGS) ; do \
10233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10234 done; \
10235 echo "Doing installcheck in dosutils" ; \
10236 (cd $(HOST_SUBDIR)/dosutils && \
10237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10239 "RANLIB=$${RANLIB}" \
10240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10241 installcheck) \
10242 || exit 1
10244 @endif dosutils
10246 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10247 maybe-mostlyclean-dosutils:
10248 @if dosutils
10249 maybe-mostlyclean-dosutils: mostlyclean-dosutils
10251 mostlyclean-dosutils:
10252 @: $(MAKE); $(unstage)
10253 @[ -f ./dosutils/Makefile ] || exit 0; \
10254 r=`${PWD_COMMAND}`; export r; \
10255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10256 $(HOST_EXPORTS) \
10257 for flag in $(EXTRA_HOST_FLAGS) ; do \
10258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10259 done; \
10260 echo "Doing mostlyclean in dosutils" ; \
10261 (cd $(HOST_SUBDIR)/dosutils && \
10262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10264 "RANLIB=$${RANLIB}" \
10265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10266 mostlyclean) \
10267 || exit 1
10269 @endif dosutils
10271 .PHONY: maybe-clean-dosutils clean-dosutils
10272 maybe-clean-dosutils:
10273 @if dosutils
10274 maybe-clean-dosutils: clean-dosutils
10276 clean-dosutils:
10277 @: $(MAKE); $(unstage)
10278 @[ -f ./dosutils/Makefile ] || exit 0; \
10279 r=`${PWD_COMMAND}`; export r; \
10280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10281 $(HOST_EXPORTS) \
10282 for flag in $(EXTRA_HOST_FLAGS) ; do \
10283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10284 done; \
10285 echo "Doing clean in dosutils" ; \
10286 (cd $(HOST_SUBDIR)/dosutils && \
10287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10289 "RANLIB=$${RANLIB}" \
10290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10291 clean) \
10292 || exit 1
10294 @endif dosutils
10296 .PHONY: maybe-distclean-dosutils distclean-dosutils
10297 maybe-distclean-dosutils:
10298 @if dosutils
10299 maybe-distclean-dosutils: distclean-dosutils
10301 distclean-dosutils:
10302 @: $(MAKE); $(unstage)
10303 @[ -f ./dosutils/Makefile ] || exit 0; \
10304 r=`${PWD_COMMAND}`; export r; \
10305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10306 $(HOST_EXPORTS) \
10307 for flag in $(EXTRA_HOST_FLAGS) ; do \
10308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10309 done; \
10310 echo "Doing distclean in dosutils" ; \
10311 (cd $(HOST_SUBDIR)/dosutils && \
10312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10314 "RANLIB=$${RANLIB}" \
10315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10316 distclean) \
10317 || exit 1
10319 @endif dosutils
10321 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
10322 maybe-maintainer-clean-dosutils:
10323 @if dosutils
10324 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
10326 maintainer-clean-dosutils:
10327 @: $(MAKE); $(unstage)
10328 @[ -f ./dosutils/Makefile ] || exit 0; \
10329 r=`${PWD_COMMAND}`; export r; \
10330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10331 $(HOST_EXPORTS) \
10332 for flag in $(EXTRA_HOST_FLAGS) ; do \
10333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10334 done; \
10335 echo "Doing maintainer-clean in dosutils" ; \
10336 (cd $(HOST_SUBDIR)/dosutils && \
10337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10339 "RANLIB=$${RANLIB}" \
10340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10341 maintainer-clean) \
10342 || exit 1
10344 @endif dosutils
10348 .PHONY: configure-etc maybe-configure-etc
10349 maybe-configure-etc:
10350 @if gcc-bootstrap
10351 configure-etc: stage_current
10352 @endif gcc-bootstrap
10353 @if etc
10354 maybe-configure-etc: configure-etc
10355 configure-etc:
10356 @: $(MAKE); $(unstage)
10357 @r=`${PWD_COMMAND}`; export r; \
10358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10359 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
10360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
10361 $(HOST_EXPORTS) \
10362 echo Configuring in $(HOST_SUBDIR)/etc; \
10363 cd "$(HOST_SUBDIR)/etc" || exit 1; \
10364 case $(srcdir) in \
10365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10366 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
10367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10368 esac; \
10369 srcdiroption="--srcdir=$${topdir}/etc"; \
10370 libsrcdir="$$s/etc"; \
10371 $(SHELL) $${libsrcdir}/configure \
10372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10373 --target=${target_alias} $${srcdiroption} \
10374 || exit 1
10375 @endif etc
10381 .PHONY: all-etc maybe-all-etc
10382 maybe-all-etc:
10383 @if gcc-bootstrap
10384 all-etc: stage_current
10385 @endif gcc-bootstrap
10386 @if etc
10387 TARGET-etc=all
10388 maybe-all-etc: all-etc
10389 all-etc: configure-etc
10390 @: $(MAKE); $(unstage)
10391 @r=`${PWD_COMMAND}`; export r; \
10392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10393 $(HOST_EXPORTS) \
10394 (cd $(HOST_SUBDIR)/etc && \
10395 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10396 $(TARGET-etc))
10397 @endif etc
10402 .PHONY: check-etc maybe-check-etc
10403 maybe-check-etc:
10404 @if etc
10405 maybe-check-etc: check-etc
10407 check-etc:
10408 @: $(MAKE); $(unstage)
10409 @r=`${PWD_COMMAND}`; export r; \
10410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10411 $(HOST_EXPORTS) \
10412 (cd $(HOST_SUBDIR)/etc && \
10413 $(MAKE) $(FLAGS_TO_PASS) check)
10415 @endif etc
10417 .PHONY: install-etc maybe-install-etc
10418 maybe-install-etc:
10419 @if etc
10420 maybe-install-etc: install-etc
10422 install-etc: installdirs
10423 @: $(MAKE); $(unstage)
10424 @r=`${PWD_COMMAND}`; export r; \
10425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10426 $(HOST_EXPORTS) \
10427 (cd $(HOST_SUBDIR)/etc && \
10428 $(MAKE) $(FLAGS_TO_PASS) install)
10430 @endif etc
10432 # Other targets (info, dvi, pdf, etc.)
10434 .PHONY: maybe-info-etc info-etc
10435 maybe-info-etc:
10436 @if etc
10437 maybe-info-etc: info-etc
10439 info-etc: \
10440 configure-etc
10441 @: $(MAKE); $(unstage)
10442 @[ -f ./etc/Makefile ] || exit 0; \
10443 r=`${PWD_COMMAND}`; export r; \
10444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10445 $(HOST_EXPORTS) \
10446 for flag in $(EXTRA_HOST_FLAGS) ; do \
10447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10448 done; \
10449 echo "Doing info in etc" ; \
10450 (cd $(HOST_SUBDIR)/etc && \
10451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10453 "RANLIB=$${RANLIB}" \
10454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10455 info) \
10456 || exit 1
10458 @endif etc
10460 .PHONY: maybe-dvi-etc dvi-etc
10461 maybe-dvi-etc:
10462 @if etc
10463 maybe-dvi-etc: dvi-etc
10465 dvi-etc: \
10466 configure-etc
10467 @: $(MAKE); $(unstage)
10468 @[ -f ./etc/Makefile ] || exit 0; \
10469 r=`${PWD_COMMAND}`; export r; \
10470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10471 $(HOST_EXPORTS) \
10472 for flag in $(EXTRA_HOST_FLAGS) ; do \
10473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10474 done; \
10475 echo "Doing dvi in etc" ; \
10476 (cd $(HOST_SUBDIR)/etc && \
10477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10479 "RANLIB=$${RANLIB}" \
10480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10481 dvi) \
10482 || exit 1
10484 @endif etc
10486 .PHONY: maybe-pdf-etc pdf-etc
10487 maybe-pdf-etc:
10488 @if etc
10489 maybe-pdf-etc: pdf-etc
10491 pdf-etc: \
10492 configure-etc
10493 @: $(MAKE); $(unstage)
10494 @[ -f ./etc/Makefile ] || exit 0; \
10495 r=`${PWD_COMMAND}`; export r; \
10496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10497 $(HOST_EXPORTS) \
10498 for flag in $(EXTRA_HOST_FLAGS) ; do \
10499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10500 done; \
10501 echo "Doing pdf in etc" ; \
10502 (cd $(HOST_SUBDIR)/etc && \
10503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10505 "RANLIB=$${RANLIB}" \
10506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10507 pdf) \
10508 || exit 1
10510 @endif etc
10512 .PHONY: maybe-html-etc html-etc
10513 maybe-html-etc:
10514 @if etc
10515 maybe-html-etc: html-etc
10517 html-etc: \
10518 configure-etc
10519 @: $(MAKE); $(unstage)
10520 @[ -f ./etc/Makefile ] || exit 0; \
10521 r=`${PWD_COMMAND}`; export r; \
10522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10523 $(HOST_EXPORTS) \
10524 for flag in $(EXTRA_HOST_FLAGS) ; do \
10525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10526 done; \
10527 echo "Doing html in etc" ; \
10528 (cd $(HOST_SUBDIR)/etc && \
10529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10531 "RANLIB=$${RANLIB}" \
10532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10533 html) \
10534 || exit 1
10536 @endif etc
10538 .PHONY: maybe-TAGS-etc TAGS-etc
10539 maybe-TAGS-etc:
10540 @if etc
10541 maybe-TAGS-etc: TAGS-etc
10543 TAGS-etc: \
10544 configure-etc
10545 @: $(MAKE); $(unstage)
10546 @[ -f ./etc/Makefile ] || exit 0; \
10547 r=`${PWD_COMMAND}`; export r; \
10548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10549 $(HOST_EXPORTS) \
10550 for flag in $(EXTRA_HOST_FLAGS) ; do \
10551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10552 done; \
10553 echo "Doing TAGS in etc" ; \
10554 (cd $(HOST_SUBDIR)/etc && \
10555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10557 "RANLIB=$${RANLIB}" \
10558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10559 TAGS) \
10560 || exit 1
10562 @endif etc
10564 .PHONY: maybe-install-info-etc install-info-etc
10565 maybe-install-info-etc:
10566 @if etc
10567 maybe-install-info-etc: install-info-etc
10569 install-info-etc: \
10570 configure-etc \
10571 info-etc
10572 @: $(MAKE); $(unstage)
10573 @[ -f ./etc/Makefile ] || exit 0; \
10574 r=`${PWD_COMMAND}`; export r; \
10575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10576 $(HOST_EXPORTS) \
10577 for flag in $(EXTRA_HOST_FLAGS) ; do \
10578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10579 done; \
10580 echo "Doing install-info in etc" ; \
10581 (cd $(HOST_SUBDIR)/etc && \
10582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10584 "RANLIB=$${RANLIB}" \
10585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10586 install-info) \
10587 || exit 1
10589 @endif etc
10591 .PHONY: maybe-install-pdf-etc install-pdf-etc
10592 maybe-install-pdf-etc:
10593 @if etc
10594 maybe-install-pdf-etc: install-pdf-etc
10596 install-pdf-etc: \
10597 configure-etc \
10598 pdf-etc
10599 @: $(MAKE); $(unstage)
10600 @[ -f ./etc/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 install-pdf in etc" ; \
10608 (cd $(HOST_SUBDIR)/etc && \
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}" "WINDMC=$${WINDMC}" \
10613 install-pdf) \
10614 || exit 1
10616 @endif etc
10618 .PHONY: maybe-install-html-etc install-html-etc
10619 maybe-install-html-etc:
10620 @if etc
10621 maybe-install-html-etc: install-html-etc
10623 install-html-etc: \
10624 configure-etc \
10625 html-etc
10626 @: $(MAKE); $(unstage)
10627 @[ -f ./etc/Makefile ] || exit 0; \
10628 r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 $(HOST_EXPORTS) \
10631 for flag in $(EXTRA_HOST_FLAGS) ; do \
10632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10633 done; \
10634 echo "Doing install-html in etc" ; \
10635 (cd $(HOST_SUBDIR)/etc && \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10638 "RANLIB=$${RANLIB}" \
10639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10640 install-html) \
10641 || exit 1
10643 @endif etc
10645 .PHONY: maybe-installcheck-etc installcheck-etc
10646 maybe-installcheck-etc:
10647 @if etc
10648 maybe-installcheck-etc: installcheck-etc
10650 installcheck-etc: \
10651 configure-etc
10652 @: $(MAKE); $(unstage)
10653 @[ -f ./etc/Makefile ] || exit 0; \
10654 r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(HOST_EXPORTS) \
10657 for flag in $(EXTRA_HOST_FLAGS) ; do \
10658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10659 done; \
10660 echo "Doing installcheck in etc" ; \
10661 (cd $(HOST_SUBDIR)/etc && \
10662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10664 "RANLIB=$${RANLIB}" \
10665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10666 installcheck) \
10667 || exit 1
10669 @endif etc
10671 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10672 maybe-mostlyclean-etc:
10673 @if etc
10674 maybe-mostlyclean-etc: mostlyclean-etc
10676 mostlyclean-etc:
10677 @: $(MAKE); $(unstage)
10678 @[ -f ./etc/Makefile ] || exit 0; \
10679 r=`${PWD_COMMAND}`; export r; \
10680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10681 $(HOST_EXPORTS) \
10682 for flag in $(EXTRA_HOST_FLAGS) ; do \
10683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10684 done; \
10685 echo "Doing mostlyclean in etc" ; \
10686 (cd $(HOST_SUBDIR)/etc && \
10687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10689 "RANLIB=$${RANLIB}" \
10690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10691 mostlyclean) \
10692 || exit 1
10694 @endif etc
10696 .PHONY: maybe-clean-etc clean-etc
10697 maybe-clean-etc:
10698 @if etc
10699 maybe-clean-etc: clean-etc
10701 clean-etc:
10702 @: $(MAKE); $(unstage)
10703 @[ -f ./etc/Makefile ] || exit 0; \
10704 r=`${PWD_COMMAND}`; export r; \
10705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10706 $(HOST_EXPORTS) \
10707 for flag in $(EXTRA_HOST_FLAGS) ; do \
10708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10709 done; \
10710 echo "Doing clean in etc" ; \
10711 (cd $(HOST_SUBDIR)/etc && \
10712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10714 "RANLIB=$${RANLIB}" \
10715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10716 clean) \
10717 || exit 1
10719 @endif etc
10721 .PHONY: maybe-distclean-etc distclean-etc
10722 maybe-distclean-etc:
10723 @if etc
10724 maybe-distclean-etc: distclean-etc
10726 distclean-etc:
10727 @: $(MAKE); $(unstage)
10728 @[ -f ./etc/Makefile ] || exit 0; \
10729 r=`${PWD_COMMAND}`; export r; \
10730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10731 $(HOST_EXPORTS) \
10732 for flag in $(EXTRA_HOST_FLAGS) ; do \
10733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10734 done; \
10735 echo "Doing distclean in etc" ; \
10736 (cd $(HOST_SUBDIR)/etc && \
10737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10739 "RANLIB=$${RANLIB}" \
10740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10741 distclean) \
10742 || exit 1
10744 @endif etc
10746 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
10747 maybe-maintainer-clean-etc:
10748 @if etc
10749 maybe-maintainer-clean-etc: maintainer-clean-etc
10751 maintainer-clean-etc:
10752 @: $(MAKE); $(unstage)
10753 @[ -f ./etc/Makefile ] || exit 0; \
10754 r=`${PWD_COMMAND}`; export r; \
10755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10756 $(HOST_EXPORTS) \
10757 for flag in $(EXTRA_HOST_FLAGS) ; do \
10758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10759 done; \
10760 echo "Doing maintainer-clean in etc" ; \
10761 (cd $(HOST_SUBDIR)/etc && \
10762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10764 "RANLIB=$${RANLIB}" \
10765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10766 maintainer-clean) \
10767 || exit 1
10769 @endif etc
10773 .PHONY: configure-fastjar maybe-configure-fastjar
10774 maybe-configure-fastjar:
10775 @if gcc-bootstrap
10776 configure-fastjar: stage_current
10777 @endif gcc-bootstrap
10778 @if fastjar
10779 maybe-configure-fastjar: configure-fastjar
10780 configure-fastjar:
10781 @: $(MAKE); $(unstage)
10782 @r=`${PWD_COMMAND}`; export r; \
10783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10784 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
10785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
10786 $(HOST_EXPORTS) \
10787 echo Configuring in $(HOST_SUBDIR)/fastjar; \
10788 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
10789 case $(srcdir) in \
10790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10791 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
10792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10793 esac; \
10794 srcdiroption="--srcdir=$${topdir}/fastjar"; \
10795 libsrcdir="$$s/fastjar"; \
10796 $(SHELL) $${libsrcdir}/configure \
10797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10798 --target=${target_alias} $${srcdiroption} \
10799 || exit 1
10800 @endif fastjar
10806 .PHONY: all-fastjar maybe-all-fastjar
10807 maybe-all-fastjar:
10808 @if gcc-bootstrap
10809 all-fastjar: stage_current
10810 @endif gcc-bootstrap
10811 @if fastjar
10812 TARGET-fastjar=all
10813 maybe-all-fastjar: all-fastjar
10814 all-fastjar: configure-fastjar
10815 @: $(MAKE); $(unstage)
10816 @r=`${PWD_COMMAND}`; export r; \
10817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10818 $(HOST_EXPORTS) \
10819 (cd $(HOST_SUBDIR)/fastjar && \
10820 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10821 $(TARGET-fastjar))
10822 @endif fastjar
10827 .PHONY: check-fastjar maybe-check-fastjar
10828 maybe-check-fastjar:
10829 @if fastjar
10830 maybe-check-fastjar: check-fastjar
10832 # This module is only tested in a native toolchain.
10833 check-fastjar:
10834 @: $(MAKE); $(unstage)
10835 @if [ '$(host)' = '$(target)' ] ; then \
10836 r=`${PWD_COMMAND}`; export r; \
10837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10838 $(HOST_EXPORTS) \
10839 (cd $(HOST_SUBDIR)/fastjar && \
10840 $(MAKE) $(FLAGS_TO_PASS) check); \
10843 @endif fastjar
10845 .PHONY: install-fastjar maybe-install-fastjar
10846 maybe-install-fastjar:
10847 @if fastjar
10848 maybe-install-fastjar: install-fastjar
10850 install-fastjar: installdirs
10851 @: $(MAKE); $(unstage)
10852 @r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 $(HOST_EXPORTS) \
10855 (cd $(HOST_SUBDIR)/fastjar && \
10856 $(MAKE) $(FLAGS_TO_PASS) install)
10858 @endif fastjar
10860 # Other targets (info, dvi, pdf, etc.)
10862 .PHONY: maybe-info-fastjar info-fastjar
10863 maybe-info-fastjar:
10864 @if fastjar
10865 maybe-info-fastjar: info-fastjar
10867 info-fastjar: \
10868 configure-fastjar
10869 @: $(MAKE); $(unstage)
10870 @[ -f ./fastjar/Makefile ] || exit 0; \
10871 r=`${PWD_COMMAND}`; export r; \
10872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10873 $(HOST_EXPORTS) \
10874 for flag in $(EXTRA_HOST_FLAGS) ; do \
10875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10876 done; \
10877 echo "Doing info in fastjar" ; \
10878 (cd $(HOST_SUBDIR)/fastjar && \
10879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10881 "RANLIB=$${RANLIB}" \
10882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10883 info) \
10884 || exit 1
10886 @endif fastjar
10888 .PHONY: maybe-dvi-fastjar dvi-fastjar
10889 maybe-dvi-fastjar:
10890 @if fastjar
10891 maybe-dvi-fastjar: dvi-fastjar
10893 dvi-fastjar: \
10894 configure-fastjar
10895 @: $(MAKE); $(unstage)
10896 @[ -f ./fastjar/Makefile ] || exit 0; \
10897 r=`${PWD_COMMAND}`; export r; \
10898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10899 $(HOST_EXPORTS) \
10900 for flag in $(EXTRA_HOST_FLAGS) ; do \
10901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10902 done; \
10903 echo "Doing dvi in fastjar" ; \
10904 (cd $(HOST_SUBDIR)/fastjar && \
10905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10907 "RANLIB=$${RANLIB}" \
10908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10909 dvi) \
10910 || exit 1
10912 @endif fastjar
10914 .PHONY: maybe-pdf-fastjar pdf-fastjar
10915 maybe-pdf-fastjar:
10916 @if fastjar
10917 maybe-pdf-fastjar: pdf-fastjar
10919 pdf-fastjar: \
10920 configure-fastjar
10921 @: $(MAKE); $(unstage)
10922 @[ -f ./fastjar/Makefile ] || exit 0; \
10923 r=`${PWD_COMMAND}`; export r; \
10924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10925 $(HOST_EXPORTS) \
10926 for flag in $(EXTRA_HOST_FLAGS) ; do \
10927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10928 done; \
10929 echo "Doing pdf in fastjar" ; \
10930 (cd $(HOST_SUBDIR)/fastjar && \
10931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10933 "RANLIB=$${RANLIB}" \
10934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10935 pdf) \
10936 || exit 1
10938 @endif fastjar
10940 .PHONY: maybe-html-fastjar html-fastjar
10941 maybe-html-fastjar:
10942 @if fastjar
10943 maybe-html-fastjar: html-fastjar
10945 html-fastjar: \
10946 configure-fastjar
10947 @: $(MAKE); $(unstage)
10948 @[ -f ./fastjar/Makefile ] || exit 0; \
10949 r=`${PWD_COMMAND}`; export r; \
10950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10951 $(HOST_EXPORTS) \
10952 for flag in $(EXTRA_HOST_FLAGS) ; do \
10953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10954 done; \
10955 echo "Doing html in fastjar" ; \
10956 (cd $(HOST_SUBDIR)/fastjar && \
10957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10959 "RANLIB=$${RANLIB}" \
10960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10961 html) \
10962 || exit 1
10964 @endif fastjar
10966 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
10967 maybe-TAGS-fastjar:
10968 @if fastjar
10969 maybe-TAGS-fastjar: TAGS-fastjar
10971 TAGS-fastjar: \
10972 configure-fastjar
10973 @: $(MAKE); $(unstage)
10974 @[ -f ./fastjar/Makefile ] || exit 0; \
10975 r=`${PWD_COMMAND}`; export r; \
10976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10977 $(HOST_EXPORTS) \
10978 for flag in $(EXTRA_HOST_FLAGS) ; do \
10979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10980 done; \
10981 echo "Doing TAGS in fastjar" ; \
10982 (cd $(HOST_SUBDIR)/fastjar && \
10983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10985 "RANLIB=$${RANLIB}" \
10986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10987 TAGS) \
10988 || exit 1
10990 @endif fastjar
10992 .PHONY: maybe-install-info-fastjar install-info-fastjar
10993 maybe-install-info-fastjar:
10994 @if fastjar
10995 maybe-install-info-fastjar: install-info-fastjar
10997 install-info-fastjar: \
10998 configure-fastjar \
10999 info-fastjar
11000 @: $(MAKE); $(unstage)
11001 @[ -f ./fastjar/Makefile ] || exit 0; \
11002 r=`${PWD_COMMAND}`; export r; \
11003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 $(HOST_EXPORTS) \
11005 for flag in $(EXTRA_HOST_FLAGS) ; do \
11006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11007 done; \
11008 echo "Doing install-info in fastjar" ; \
11009 (cd $(HOST_SUBDIR)/fastjar && \
11010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11012 "RANLIB=$${RANLIB}" \
11013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11014 install-info) \
11015 || exit 1
11017 @endif fastjar
11019 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
11020 maybe-install-pdf-fastjar:
11021 @if fastjar
11022 maybe-install-pdf-fastjar: install-pdf-fastjar
11024 install-pdf-fastjar: \
11025 configure-fastjar \
11026 pdf-fastjar
11027 @: $(MAKE); $(unstage)
11028 @[ -f ./fastjar/Makefile ] || exit 0; \
11029 r=`${PWD_COMMAND}`; export r; \
11030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11031 $(HOST_EXPORTS) \
11032 for flag in $(EXTRA_HOST_FLAGS) ; do \
11033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11034 done; \
11035 echo "Doing install-pdf in fastjar" ; \
11036 (cd $(HOST_SUBDIR)/fastjar && \
11037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11039 "RANLIB=$${RANLIB}" \
11040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11041 install-pdf) \
11042 || exit 1
11044 @endif fastjar
11046 .PHONY: maybe-install-html-fastjar install-html-fastjar
11047 maybe-install-html-fastjar:
11048 @if fastjar
11049 maybe-install-html-fastjar: install-html-fastjar
11051 install-html-fastjar: \
11052 configure-fastjar \
11053 html-fastjar
11054 @: $(MAKE); $(unstage)
11055 @[ -f ./fastjar/Makefile ] || exit 0; \
11056 r=`${PWD_COMMAND}`; export r; \
11057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11058 $(HOST_EXPORTS) \
11059 for flag in $(EXTRA_HOST_FLAGS) ; do \
11060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11061 done; \
11062 echo "Doing install-html in fastjar" ; \
11063 (cd $(HOST_SUBDIR)/fastjar && \
11064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11066 "RANLIB=$${RANLIB}" \
11067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11068 install-html) \
11069 || exit 1
11071 @endif fastjar
11073 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
11074 maybe-installcheck-fastjar:
11075 @if fastjar
11076 maybe-installcheck-fastjar: installcheck-fastjar
11078 installcheck-fastjar: \
11079 configure-fastjar
11080 @: $(MAKE); $(unstage)
11081 @[ -f ./fastjar/Makefile ] || exit 0; \
11082 r=`${PWD_COMMAND}`; export r; \
11083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11084 $(HOST_EXPORTS) \
11085 for flag in $(EXTRA_HOST_FLAGS) ; do \
11086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11087 done; \
11088 echo "Doing installcheck in fastjar" ; \
11089 (cd $(HOST_SUBDIR)/fastjar && \
11090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11092 "RANLIB=$${RANLIB}" \
11093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11094 installcheck) \
11095 || exit 1
11097 @endif fastjar
11099 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
11100 maybe-mostlyclean-fastjar:
11101 @if fastjar
11102 maybe-mostlyclean-fastjar: mostlyclean-fastjar
11104 mostlyclean-fastjar:
11105 @: $(MAKE); $(unstage)
11106 @[ -f ./fastjar/Makefile ] || exit 0; \
11107 r=`${PWD_COMMAND}`; export r; \
11108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11109 $(HOST_EXPORTS) \
11110 for flag in $(EXTRA_HOST_FLAGS) ; do \
11111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11112 done; \
11113 echo "Doing mostlyclean in fastjar" ; \
11114 (cd $(HOST_SUBDIR)/fastjar && \
11115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11117 "RANLIB=$${RANLIB}" \
11118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11119 mostlyclean) \
11120 || exit 1
11122 @endif fastjar
11124 .PHONY: maybe-clean-fastjar clean-fastjar
11125 maybe-clean-fastjar:
11126 @if fastjar
11127 maybe-clean-fastjar: clean-fastjar
11129 clean-fastjar:
11130 @: $(MAKE); $(unstage)
11131 @[ -f ./fastjar/Makefile ] || exit 0; \
11132 r=`${PWD_COMMAND}`; export r; \
11133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11134 $(HOST_EXPORTS) \
11135 for flag in $(EXTRA_HOST_FLAGS) ; do \
11136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11137 done; \
11138 echo "Doing clean in fastjar" ; \
11139 (cd $(HOST_SUBDIR)/fastjar && \
11140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11142 "RANLIB=$${RANLIB}" \
11143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11144 clean) \
11145 || exit 1
11147 @endif fastjar
11149 .PHONY: maybe-distclean-fastjar distclean-fastjar
11150 maybe-distclean-fastjar:
11151 @if fastjar
11152 maybe-distclean-fastjar: distclean-fastjar
11154 distclean-fastjar:
11155 @: $(MAKE); $(unstage)
11156 @[ -f ./fastjar/Makefile ] || exit 0; \
11157 r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 $(HOST_EXPORTS) \
11160 for flag in $(EXTRA_HOST_FLAGS) ; do \
11161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11162 done; \
11163 echo "Doing distclean in fastjar" ; \
11164 (cd $(HOST_SUBDIR)/fastjar && \
11165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11167 "RANLIB=$${RANLIB}" \
11168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11169 distclean) \
11170 || exit 1
11172 @endif fastjar
11174 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
11175 maybe-maintainer-clean-fastjar:
11176 @if fastjar
11177 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
11179 maintainer-clean-fastjar:
11180 @: $(MAKE); $(unstage)
11181 @[ -f ./fastjar/Makefile ] || exit 0; \
11182 r=`${PWD_COMMAND}`; export r; \
11183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11184 $(HOST_EXPORTS) \
11185 for flag in $(EXTRA_HOST_FLAGS) ; do \
11186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11187 done; \
11188 echo "Doing maintainer-clean in fastjar" ; \
11189 (cd $(HOST_SUBDIR)/fastjar && \
11190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11192 "RANLIB=$${RANLIB}" \
11193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11194 maintainer-clean) \
11195 || exit 1
11197 @endif fastjar
11201 .PHONY: configure-fileutils maybe-configure-fileutils
11202 maybe-configure-fileutils:
11203 @if gcc-bootstrap
11204 configure-fileutils: stage_current
11205 @endif gcc-bootstrap
11206 @if fileutils
11207 maybe-configure-fileutils: configure-fileutils
11208 configure-fileutils:
11209 @: $(MAKE); $(unstage)
11210 @r=`${PWD_COMMAND}`; export r; \
11211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11212 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
11213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
11214 $(HOST_EXPORTS) \
11215 echo Configuring in $(HOST_SUBDIR)/fileutils; \
11216 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
11217 case $(srcdir) in \
11218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11219 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
11220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11221 esac; \
11222 srcdiroption="--srcdir=$${topdir}/fileutils"; \
11223 libsrcdir="$$s/fileutils"; \
11224 $(SHELL) $${libsrcdir}/configure \
11225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11226 --target=${target_alias} $${srcdiroption} \
11227 || exit 1
11228 @endif fileutils
11234 .PHONY: all-fileutils maybe-all-fileutils
11235 maybe-all-fileutils:
11236 @if gcc-bootstrap
11237 all-fileutils: stage_current
11238 @endif gcc-bootstrap
11239 @if fileutils
11240 TARGET-fileutils=all
11241 maybe-all-fileutils: all-fileutils
11242 all-fileutils: configure-fileutils
11243 @: $(MAKE); $(unstage)
11244 @r=`${PWD_COMMAND}`; export r; \
11245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11246 $(HOST_EXPORTS) \
11247 (cd $(HOST_SUBDIR)/fileutils && \
11248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11249 $(TARGET-fileutils))
11250 @endif fileutils
11255 .PHONY: check-fileutils maybe-check-fileutils
11256 maybe-check-fileutils:
11257 @if fileutils
11258 maybe-check-fileutils: check-fileutils
11260 check-fileutils:
11261 @: $(MAKE); $(unstage)
11262 @r=`${PWD_COMMAND}`; export r; \
11263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11264 $(HOST_EXPORTS) \
11265 (cd $(HOST_SUBDIR)/fileutils && \
11266 $(MAKE) $(FLAGS_TO_PASS) check)
11268 @endif fileutils
11270 .PHONY: install-fileutils maybe-install-fileutils
11271 maybe-install-fileutils:
11272 @if fileutils
11273 maybe-install-fileutils: install-fileutils
11275 install-fileutils: installdirs
11276 @: $(MAKE); $(unstage)
11277 @r=`${PWD_COMMAND}`; export r; \
11278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11279 $(HOST_EXPORTS) \
11280 (cd $(HOST_SUBDIR)/fileutils && \
11281 $(MAKE) $(FLAGS_TO_PASS) install)
11283 @endif fileutils
11285 # Other targets (info, dvi, pdf, etc.)
11287 .PHONY: maybe-info-fileutils info-fileutils
11288 maybe-info-fileutils:
11289 @if fileutils
11290 maybe-info-fileutils: info-fileutils
11292 info-fileutils: \
11293 configure-fileutils
11294 @: $(MAKE); $(unstage)
11295 @[ -f ./fileutils/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 info in fileutils" ; \
11303 (cd $(HOST_SUBDIR)/fileutils && \
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}" "WINDMC=$${WINDMC}" \
11308 info) \
11309 || exit 1
11311 @endif fileutils
11313 .PHONY: maybe-dvi-fileutils dvi-fileutils
11314 maybe-dvi-fileutils:
11315 @if fileutils
11316 maybe-dvi-fileutils: dvi-fileutils
11318 dvi-fileutils: \
11319 configure-fileutils
11320 @: $(MAKE); $(unstage)
11321 @[ -f ./fileutils/Makefile ] || exit 0; \
11322 r=`${PWD_COMMAND}`; export r; \
11323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11324 $(HOST_EXPORTS) \
11325 for flag in $(EXTRA_HOST_FLAGS) ; do \
11326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11327 done; \
11328 echo "Doing dvi in fileutils" ; \
11329 (cd $(HOST_SUBDIR)/fileutils && \
11330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11332 "RANLIB=$${RANLIB}" \
11333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11334 dvi) \
11335 || exit 1
11337 @endif fileutils
11339 .PHONY: maybe-pdf-fileutils pdf-fileutils
11340 maybe-pdf-fileutils:
11341 @if fileutils
11342 maybe-pdf-fileutils: pdf-fileutils
11344 pdf-fileutils: \
11345 configure-fileutils
11346 @: $(MAKE); $(unstage)
11347 @[ -f ./fileutils/Makefile ] || exit 0; \
11348 r=`${PWD_COMMAND}`; export r; \
11349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11350 $(HOST_EXPORTS) \
11351 for flag in $(EXTRA_HOST_FLAGS) ; do \
11352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11353 done; \
11354 echo "Doing pdf in fileutils" ; \
11355 (cd $(HOST_SUBDIR)/fileutils && \
11356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11358 "RANLIB=$${RANLIB}" \
11359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11360 pdf) \
11361 || exit 1
11363 @endif fileutils
11365 .PHONY: maybe-html-fileutils html-fileutils
11366 maybe-html-fileutils:
11367 @if fileutils
11368 maybe-html-fileutils: html-fileutils
11370 html-fileutils: \
11371 configure-fileutils
11372 @: $(MAKE); $(unstage)
11373 @[ -f ./fileutils/Makefile ] || exit 0; \
11374 r=`${PWD_COMMAND}`; export r; \
11375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11376 $(HOST_EXPORTS) \
11377 for flag in $(EXTRA_HOST_FLAGS) ; do \
11378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11379 done; \
11380 echo "Doing html in fileutils" ; \
11381 (cd $(HOST_SUBDIR)/fileutils && \
11382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11384 "RANLIB=$${RANLIB}" \
11385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11386 html) \
11387 || exit 1
11389 @endif fileutils
11391 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
11392 maybe-TAGS-fileutils:
11393 @if fileutils
11394 maybe-TAGS-fileutils: TAGS-fileutils
11396 TAGS-fileutils: \
11397 configure-fileutils
11398 @: $(MAKE); $(unstage)
11399 @[ -f ./fileutils/Makefile ] || exit 0; \
11400 r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 $(HOST_EXPORTS) \
11403 for flag in $(EXTRA_HOST_FLAGS) ; do \
11404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11405 done; \
11406 echo "Doing TAGS in fileutils" ; \
11407 (cd $(HOST_SUBDIR)/fileutils && \
11408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11410 "RANLIB=$${RANLIB}" \
11411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11412 TAGS) \
11413 || exit 1
11415 @endif fileutils
11417 .PHONY: maybe-install-info-fileutils install-info-fileutils
11418 maybe-install-info-fileutils:
11419 @if fileutils
11420 maybe-install-info-fileutils: install-info-fileutils
11422 install-info-fileutils: \
11423 configure-fileutils \
11424 info-fileutils
11425 @: $(MAKE); $(unstage)
11426 @[ -f ./fileutils/Makefile ] || exit 0; \
11427 r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429 $(HOST_EXPORTS) \
11430 for flag in $(EXTRA_HOST_FLAGS) ; do \
11431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11432 done; \
11433 echo "Doing install-info in fileutils" ; \
11434 (cd $(HOST_SUBDIR)/fileutils && \
11435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11437 "RANLIB=$${RANLIB}" \
11438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11439 install-info) \
11440 || exit 1
11442 @endif fileutils
11444 .PHONY: maybe-install-pdf-fileutils install-pdf-fileutils
11445 maybe-install-pdf-fileutils:
11446 @if fileutils
11447 maybe-install-pdf-fileutils: install-pdf-fileutils
11449 install-pdf-fileutils: \
11450 configure-fileutils \
11451 pdf-fileutils
11452 @: $(MAKE); $(unstage)
11453 @[ -f ./fileutils/Makefile ] || exit 0; \
11454 r=`${PWD_COMMAND}`; export r; \
11455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11456 $(HOST_EXPORTS) \
11457 for flag in $(EXTRA_HOST_FLAGS) ; do \
11458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11459 done; \
11460 echo "Doing install-pdf in fileutils" ; \
11461 (cd $(HOST_SUBDIR)/fileutils && \
11462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11464 "RANLIB=$${RANLIB}" \
11465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11466 install-pdf) \
11467 || exit 1
11469 @endif fileutils
11471 .PHONY: maybe-install-html-fileutils install-html-fileutils
11472 maybe-install-html-fileutils:
11473 @if fileutils
11474 maybe-install-html-fileutils: install-html-fileutils
11476 install-html-fileutils: \
11477 configure-fileutils \
11478 html-fileutils
11479 @: $(MAKE); $(unstage)
11480 @[ -f ./fileutils/Makefile ] || exit 0; \
11481 r=`${PWD_COMMAND}`; export r; \
11482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11483 $(HOST_EXPORTS) \
11484 for flag in $(EXTRA_HOST_FLAGS) ; do \
11485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11486 done; \
11487 echo "Doing install-html in fileutils" ; \
11488 (cd $(HOST_SUBDIR)/fileutils && \
11489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11491 "RANLIB=$${RANLIB}" \
11492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11493 install-html) \
11494 || exit 1
11496 @endif fileutils
11498 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
11499 maybe-installcheck-fileutils:
11500 @if fileutils
11501 maybe-installcheck-fileutils: installcheck-fileutils
11503 installcheck-fileutils: \
11504 configure-fileutils
11505 @: $(MAKE); $(unstage)
11506 @[ -f ./fileutils/Makefile ] || exit 0; \
11507 r=`${PWD_COMMAND}`; export r; \
11508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11509 $(HOST_EXPORTS) \
11510 for flag in $(EXTRA_HOST_FLAGS) ; do \
11511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11512 done; \
11513 echo "Doing installcheck in fileutils" ; \
11514 (cd $(HOST_SUBDIR)/fileutils && \
11515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11517 "RANLIB=$${RANLIB}" \
11518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11519 installcheck) \
11520 || exit 1
11522 @endif fileutils
11524 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
11525 maybe-mostlyclean-fileutils:
11526 @if fileutils
11527 maybe-mostlyclean-fileutils: mostlyclean-fileutils
11529 mostlyclean-fileutils:
11530 @: $(MAKE); $(unstage)
11531 @[ -f ./fileutils/Makefile ] || exit 0; \
11532 r=`${PWD_COMMAND}`; export r; \
11533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11534 $(HOST_EXPORTS) \
11535 for flag in $(EXTRA_HOST_FLAGS) ; do \
11536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11537 done; \
11538 echo "Doing mostlyclean in fileutils" ; \
11539 (cd $(HOST_SUBDIR)/fileutils && \
11540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11542 "RANLIB=$${RANLIB}" \
11543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11544 mostlyclean) \
11545 || exit 1
11547 @endif fileutils
11549 .PHONY: maybe-clean-fileutils clean-fileutils
11550 maybe-clean-fileutils:
11551 @if fileutils
11552 maybe-clean-fileutils: clean-fileutils
11554 clean-fileutils:
11555 @: $(MAKE); $(unstage)
11556 @[ -f ./fileutils/Makefile ] || exit 0; \
11557 r=`${PWD_COMMAND}`; export r; \
11558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11559 $(HOST_EXPORTS) \
11560 for flag in $(EXTRA_HOST_FLAGS) ; do \
11561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11562 done; \
11563 echo "Doing clean in fileutils" ; \
11564 (cd $(HOST_SUBDIR)/fileutils && \
11565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11567 "RANLIB=$${RANLIB}" \
11568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11569 clean) \
11570 || exit 1
11572 @endif fileutils
11574 .PHONY: maybe-distclean-fileutils distclean-fileutils
11575 maybe-distclean-fileutils:
11576 @if fileutils
11577 maybe-distclean-fileutils: distclean-fileutils
11579 distclean-fileutils:
11580 @: $(MAKE); $(unstage)
11581 @[ -f ./fileutils/Makefile ] || exit 0; \
11582 r=`${PWD_COMMAND}`; export r; \
11583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11584 $(HOST_EXPORTS) \
11585 for flag in $(EXTRA_HOST_FLAGS) ; do \
11586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11587 done; \
11588 echo "Doing distclean in fileutils" ; \
11589 (cd $(HOST_SUBDIR)/fileutils && \
11590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11592 "RANLIB=$${RANLIB}" \
11593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11594 distclean) \
11595 || exit 1
11597 @endif fileutils
11599 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
11600 maybe-maintainer-clean-fileutils:
11601 @if fileutils
11602 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
11604 maintainer-clean-fileutils:
11605 @: $(MAKE); $(unstage)
11606 @[ -f ./fileutils/Makefile ] || exit 0; \
11607 r=`${PWD_COMMAND}`; export r; \
11608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11609 $(HOST_EXPORTS) \
11610 for flag in $(EXTRA_HOST_FLAGS) ; do \
11611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11612 done; \
11613 echo "Doing maintainer-clean in fileutils" ; \
11614 (cd $(HOST_SUBDIR)/fileutils && \
11615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11617 "RANLIB=$${RANLIB}" \
11618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11619 maintainer-clean) \
11620 || exit 1
11622 @endif fileutils
11626 .PHONY: configure-findutils maybe-configure-findutils
11627 maybe-configure-findutils:
11628 @if gcc-bootstrap
11629 configure-findutils: stage_current
11630 @endif gcc-bootstrap
11631 @if findutils
11632 maybe-configure-findutils: configure-findutils
11633 configure-findutils:
11634 @: $(MAKE); $(unstage)
11635 @r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
11638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
11639 $(HOST_EXPORTS) \
11640 echo Configuring in $(HOST_SUBDIR)/findutils; \
11641 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
11642 case $(srcdir) in \
11643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11644 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
11645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11646 esac; \
11647 srcdiroption="--srcdir=$${topdir}/findutils"; \
11648 libsrcdir="$$s/findutils"; \
11649 $(SHELL) $${libsrcdir}/configure \
11650 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11651 --target=${target_alias} $${srcdiroption} \
11652 || exit 1
11653 @endif findutils
11659 .PHONY: all-findutils maybe-all-findutils
11660 maybe-all-findutils:
11661 @if gcc-bootstrap
11662 all-findutils: stage_current
11663 @endif gcc-bootstrap
11664 @if findutils
11665 TARGET-findutils=all
11666 maybe-all-findutils: all-findutils
11667 all-findutils: configure-findutils
11668 @: $(MAKE); $(unstage)
11669 @r=`${PWD_COMMAND}`; export r; \
11670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11671 $(HOST_EXPORTS) \
11672 (cd $(HOST_SUBDIR)/findutils && \
11673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11674 $(TARGET-findutils))
11675 @endif findutils
11680 .PHONY: check-findutils maybe-check-findutils
11681 maybe-check-findutils:
11682 @if findutils
11683 maybe-check-findutils: check-findutils
11685 check-findutils:
11686 @: $(MAKE); $(unstage)
11687 @r=`${PWD_COMMAND}`; export r; \
11688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11689 $(HOST_EXPORTS) \
11690 (cd $(HOST_SUBDIR)/findutils && \
11691 $(MAKE) $(FLAGS_TO_PASS) check)
11693 @endif findutils
11695 .PHONY: install-findutils maybe-install-findutils
11696 maybe-install-findutils:
11697 @if findutils
11698 maybe-install-findutils: install-findutils
11700 install-findutils: installdirs
11701 @: $(MAKE); $(unstage)
11702 @r=`${PWD_COMMAND}`; export r; \
11703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11704 $(HOST_EXPORTS) \
11705 (cd $(HOST_SUBDIR)/findutils && \
11706 $(MAKE) $(FLAGS_TO_PASS) install)
11708 @endif findutils
11710 # Other targets (info, dvi, pdf, etc.)
11712 .PHONY: maybe-info-findutils info-findutils
11713 maybe-info-findutils:
11714 @if findutils
11715 maybe-info-findutils: info-findutils
11717 info-findutils: \
11718 configure-findutils
11719 @: $(MAKE); $(unstage)
11720 @[ -f ./findutils/Makefile ] || exit 0; \
11721 r=`${PWD_COMMAND}`; export r; \
11722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11723 $(HOST_EXPORTS) \
11724 for flag in $(EXTRA_HOST_FLAGS) ; do \
11725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11726 done; \
11727 echo "Doing info in findutils" ; \
11728 (cd $(HOST_SUBDIR)/findutils && \
11729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11731 "RANLIB=$${RANLIB}" \
11732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11733 info) \
11734 || exit 1
11736 @endif findutils
11738 .PHONY: maybe-dvi-findutils dvi-findutils
11739 maybe-dvi-findutils:
11740 @if findutils
11741 maybe-dvi-findutils: dvi-findutils
11743 dvi-findutils: \
11744 configure-findutils
11745 @: $(MAKE); $(unstage)
11746 @[ -f ./findutils/Makefile ] || exit 0; \
11747 r=`${PWD_COMMAND}`; export r; \
11748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11749 $(HOST_EXPORTS) \
11750 for flag in $(EXTRA_HOST_FLAGS) ; do \
11751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11752 done; \
11753 echo "Doing dvi in findutils" ; \
11754 (cd $(HOST_SUBDIR)/findutils && \
11755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11757 "RANLIB=$${RANLIB}" \
11758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11759 dvi) \
11760 || exit 1
11762 @endif findutils
11764 .PHONY: maybe-pdf-findutils pdf-findutils
11765 maybe-pdf-findutils:
11766 @if findutils
11767 maybe-pdf-findutils: pdf-findutils
11769 pdf-findutils: \
11770 configure-findutils
11771 @: $(MAKE); $(unstage)
11772 @[ -f ./findutils/Makefile ] || exit 0; \
11773 r=`${PWD_COMMAND}`; export r; \
11774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11775 $(HOST_EXPORTS) \
11776 for flag in $(EXTRA_HOST_FLAGS) ; do \
11777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778 done; \
11779 echo "Doing pdf in findutils" ; \
11780 (cd $(HOST_SUBDIR)/findutils && \
11781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11783 "RANLIB=$${RANLIB}" \
11784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11785 pdf) \
11786 || exit 1
11788 @endif findutils
11790 .PHONY: maybe-html-findutils html-findutils
11791 maybe-html-findutils:
11792 @if findutils
11793 maybe-html-findutils: html-findutils
11795 html-findutils: \
11796 configure-findutils
11797 @: $(MAKE); $(unstage)
11798 @[ -f ./findutils/Makefile ] || exit 0; \
11799 r=`${PWD_COMMAND}`; export r; \
11800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11801 $(HOST_EXPORTS) \
11802 for flag in $(EXTRA_HOST_FLAGS) ; do \
11803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11804 done; \
11805 echo "Doing html in findutils" ; \
11806 (cd $(HOST_SUBDIR)/findutils && \
11807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11809 "RANLIB=$${RANLIB}" \
11810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11811 html) \
11812 || exit 1
11814 @endif findutils
11816 .PHONY: maybe-TAGS-findutils TAGS-findutils
11817 maybe-TAGS-findutils:
11818 @if findutils
11819 maybe-TAGS-findutils: TAGS-findutils
11821 TAGS-findutils: \
11822 configure-findutils
11823 @: $(MAKE); $(unstage)
11824 @[ -f ./findutils/Makefile ] || exit 0; \
11825 r=`${PWD_COMMAND}`; export r; \
11826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11827 $(HOST_EXPORTS) \
11828 for flag in $(EXTRA_HOST_FLAGS) ; do \
11829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11830 done; \
11831 echo "Doing TAGS in findutils" ; \
11832 (cd $(HOST_SUBDIR)/findutils && \
11833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11835 "RANLIB=$${RANLIB}" \
11836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11837 TAGS) \
11838 || exit 1
11840 @endif findutils
11842 .PHONY: maybe-install-info-findutils install-info-findutils
11843 maybe-install-info-findutils:
11844 @if findutils
11845 maybe-install-info-findutils: install-info-findutils
11847 install-info-findutils: \
11848 configure-findutils \
11849 info-findutils
11850 @: $(MAKE); $(unstage)
11851 @[ -f ./findutils/Makefile ] || exit 0; \
11852 r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 $(HOST_EXPORTS) \
11855 for flag in $(EXTRA_HOST_FLAGS) ; do \
11856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11857 done; \
11858 echo "Doing install-info in findutils" ; \
11859 (cd $(HOST_SUBDIR)/findutils && \
11860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11862 "RANLIB=$${RANLIB}" \
11863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11864 install-info) \
11865 || exit 1
11867 @endif findutils
11869 .PHONY: maybe-install-pdf-findutils install-pdf-findutils
11870 maybe-install-pdf-findutils:
11871 @if findutils
11872 maybe-install-pdf-findutils: install-pdf-findutils
11874 install-pdf-findutils: \
11875 configure-findutils \
11876 pdf-findutils
11877 @: $(MAKE); $(unstage)
11878 @[ -f ./findutils/Makefile ] || exit 0; \
11879 r=`${PWD_COMMAND}`; export r; \
11880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11881 $(HOST_EXPORTS) \
11882 for flag in $(EXTRA_HOST_FLAGS) ; do \
11883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11884 done; \
11885 echo "Doing install-pdf in findutils" ; \
11886 (cd $(HOST_SUBDIR)/findutils && \
11887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11889 "RANLIB=$${RANLIB}" \
11890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11891 install-pdf) \
11892 || exit 1
11894 @endif findutils
11896 .PHONY: maybe-install-html-findutils install-html-findutils
11897 maybe-install-html-findutils:
11898 @if findutils
11899 maybe-install-html-findutils: install-html-findutils
11901 install-html-findutils: \
11902 configure-findutils \
11903 html-findutils
11904 @: $(MAKE); $(unstage)
11905 @[ -f ./findutils/Makefile ] || exit 0; \
11906 r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11908 $(HOST_EXPORTS) \
11909 for flag in $(EXTRA_HOST_FLAGS) ; do \
11910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11911 done; \
11912 echo "Doing install-html in findutils" ; \
11913 (cd $(HOST_SUBDIR)/findutils && \
11914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11916 "RANLIB=$${RANLIB}" \
11917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11918 install-html) \
11919 || exit 1
11921 @endif findutils
11923 .PHONY: maybe-installcheck-findutils installcheck-findutils
11924 maybe-installcheck-findutils:
11925 @if findutils
11926 maybe-installcheck-findutils: installcheck-findutils
11928 installcheck-findutils: \
11929 configure-findutils
11930 @: $(MAKE); $(unstage)
11931 @[ -f ./findutils/Makefile ] || exit 0; \
11932 r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934 $(HOST_EXPORTS) \
11935 for flag in $(EXTRA_HOST_FLAGS) ; do \
11936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11937 done; \
11938 echo "Doing installcheck in findutils" ; \
11939 (cd $(HOST_SUBDIR)/findutils && \
11940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11942 "RANLIB=$${RANLIB}" \
11943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11944 installcheck) \
11945 || exit 1
11947 @endif findutils
11949 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
11950 maybe-mostlyclean-findutils:
11951 @if findutils
11952 maybe-mostlyclean-findutils: mostlyclean-findutils
11954 mostlyclean-findutils:
11955 @: $(MAKE); $(unstage)
11956 @[ -f ./findutils/Makefile ] || exit 0; \
11957 r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 $(HOST_EXPORTS) \
11960 for flag in $(EXTRA_HOST_FLAGS) ; do \
11961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11962 done; \
11963 echo "Doing mostlyclean in findutils" ; \
11964 (cd $(HOST_SUBDIR)/findutils && \
11965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11967 "RANLIB=$${RANLIB}" \
11968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11969 mostlyclean) \
11970 || exit 1
11972 @endif findutils
11974 .PHONY: maybe-clean-findutils clean-findutils
11975 maybe-clean-findutils:
11976 @if findutils
11977 maybe-clean-findutils: clean-findutils
11979 clean-findutils:
11980 @: $(MAKE); $(unstage)
11981 @[ -f ./findutils/Makefile ] || exit 0; \
11982 r=`${PWD_COMMAND}`; export r; \
11983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11984 $(HOST_EXPORTS) \
11985 for flag in $(EXTRA_HOST_FLAGS) ; do \
11986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11987 done; \
11988 echo "Doing clean in findutils" ; \
11989 (cd $(HOST_SUBDIR)/findutils && \
11990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11992 "RANLIB=$${RANLIB}" \
11993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11994 clean) \
11995 || exit 1
11997 @endif findutils
11999 .PHONY: maybe-distclean-findutils distclean-findutils
12000 maybe-distclean-findutils:
12001 @if findutils
12002 maybe-distclean-findutils: distclean-findutils
12004 distclean-findutils:
12005 @: $(MAKE); $(unstage)
12006 @[ -f ./findutils/Makefile ] || exit 0; \
12007 r=`${PWD_COMMAND}`; export r; \
12008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009 $(HOST_EXPORTS) \
12010 for flag in $(EXTRA_HOST_FLAGS) ; do \
12011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12012 done; \
12013 echo "Doing distclean in findutils" ; \
12014 (cd $(HOST_SUBDIR)/findutils && \
12015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12017 "RANLIB=$${RANLIB}" \
12018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12019 distclean) \
12020 || exit 1
12022 @endif findutils
12024 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
12025 maybe-maintainer-clean-findutils:
12026 @if findutils
12027 maybe-maintainer-clean-findutils: maintainer-clean-findutils
12029 maintainer-clean-findutils:
12030 @: $(MAKE); $(unstage)
12031 @[ -f ./findutils/Makefile ] || exit 0; \
12032 r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034 $(HOST_EXPORTS) \
12035 for flag in $(EXTRA_HOST_FLAGS) ; do \
12036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12037 done; \
12038 echo "Doing maintainer-clean in findutils" ; \
12039 (cd $(HOST_SUBDIR)/findutils && \
12040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12042 "RANLIB=$${RANLIB}" \
12043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12044 maintainer-clean) \
12045 || exit 1
12047 @endif findutils
12051 .PHONY: configure-find maybe-configure-find
12052 maybe-configure-find:
12053 @if gcc-bootstrap
12054 configure-find: stage_current
12055 @endif gcc-bootstrap
12056 @if find
12057 maybe-configure-find: configure-find
12058 configure-find:
12059 @: $(MAKE); $(unstage)
12060 @r=`${PWD_COMMAND}`; export r; \
12061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12062 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
12063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
12064 $(HOST_EXPORTS) \
12065 echo Configuring in $(HOST_SUBDIR)/find; \
12066 cd "$(HOST_SUBDIR)/find" || exit 1; \
12067 case $(srcdir) in \
12068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12069 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
12070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12071 esac; \
12072 srcdiroption="--srcdir=$${topdir}/find"; \
12073 libsrcdir="$$s/find"; \
12074 $(SHELL) $${libsrcdir}/configure \
12075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12076 --target=${target_alias} $${srcdiroption} \
12077 || exit 1
12078 @endif find
12084 .PHONY: all-find maybe-all-find
12085 maybe-all-find:
12086 @if gcc-bootstrap
12087 all-find: stage_current
12088 @endif gcc-bootstrap
12089 @if find
12090 TARGET-find=all
12091 maybe-all-find: all-find
12092 all-find: configure-find
12093 @: $(MAKE); $(unstage)
12094 @r=`${PWD_COMMAND}`; export r; \
12095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12096 $(HOST_EXPORTS) \
12097 (cd $(HOST_SUBDIR)/find && \
12098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12099 $(TARGET-find))
12100 @endif find
12105 .PHONY: check-find maybe-check-find
12106 maybe-check-find:
12107 @if find
12108 maybe-check-find: check-find
12110 check-find:
12111 @: $(MAKE); $(unstage)
12112 @r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12114 $(HOST_EXPORTS) \
12115 (cd $(HOST_SUBDIR)/find && \
12116 $(MAKE) $(FLAGS_TO_PASS) check)
12118 @endif find
12120 .PHONY: install-find maybe-install-find
12121 maybe-install-find:
12122 @if find
12123 maybe-install-find: install-find
12125 install-find: installdirs
12126 @: $(MAKE); $(unstage)
12127 @r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 $(HOST_EXPORTS) \
12130 (cd $(HOST_SUBDIR)/find && \
12131 $(MAKE) $(FLAGS_TO_PASS) install)
12133 @endif find
12135 # Other targets (info, dvi, pdf, etc.)
12137 .PHONY: maybe-info-find info-find
12138 maybe-info-find:
12139 @if find
12140 maybe-info-find: info-find
12142 info-find: \
12143 configure-find
12144 @: $(MAKE); $(unstage)
12145 @[ -f ./find/Makefile ] || exit 0; \
12146 r=`${PWD_COMMAND}`; export r; \
12147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12148 $(HOST_EXPORTS) \
12149 for flag in $(EXTRA_HOST_FLAGS) ; do \
12150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12151 done; \
12152 echo "Doing info in find" ; \
12153 (cd $(HOST_SUBDIR)/find && \
12154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12156 "RANLIB=$${RANLIB}" \
12157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12158 info) \
12159 || exit 1
12161 @endif find
12163 .PHONY: maybe-dvi-find dvi-find
12164 maybe-dvi-find:
12165 @if find
12166 maybe-dvi-find: dvi-find
12168 dvi-find: \
12169 configure-find
12170 @: $(MAKE); $(unstage)
12171 @[ -f ./find/Makefile ] || exit 0; \
12172 r=`${PWD_COMMAND}`; export r; \
12173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12174 $(HOST_EXPORTS) \
12175 for flag in $(EXTRA_HOST_FLAGS) ; do \
12176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12177 done; \
12178 echo "Doing dvi in find" ; \
12179 (cd $(HOST_SUBDIR)/find && \
12180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12182 "RANLIB=$${RANLIB}" \
12183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12184 dvi) \
12185 || exit 1
12187 @endif find
12189 .PHONY: maybe-pdf-find pdf-find
12190 maybe-pdf-find:
12191 @if find
12192 maybe-pdf-find: pdf-find
12194 pdf-find: \
12195 configure-find
12196 @: $(MAKE); $(unstage)
12197 @[ -f ./find/Makefile ] || exit 0; \
12198 r=`${PWD_COMMAND}`; export r; \
12199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12200 $(HOST_EXPORTS) \
12201 for flag in $(EXTRA_HOST_FLAGS) ; do \
12202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12203 done; \
12204 echo "Doing pdf in find" ; \
12205 (cd $(HOST_SUBDIR)/find && \
12206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12208 "RANLIB=$${RANLIB}" \
12209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12210 pdf) \
12211 || exit 1
12213 @endif find
12215 .PHONY: maybe-html-find html-find
12216 maybe-html-find:
12217 @if find
12218 maybe-html-find: html-find
12220 html-find: \
12221 configure-find
12222 @: $(MAKE); $(unstage)
12223 @[ -f ./find/Makefile ] || exit 0; \
12224 r=`${PWD_COMMAND}`; export r; \
12225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12226 $(HOST_EXPORTS) \
12227 for flag in $(EXTRA_HOST_FLAGS) ; do \
12228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12229 done; \
12230 echo "Doing html in find" ; \
12231 (cd $(HOST_SUBDIR)/find && \
12232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12234 "RANLIB=$${RANLIB}" \
12235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12236 html) \
12237 || exit 1
12239 @endif find
12241 .PHONY: maybe-TAGS-find TAGS-find
12242 maybe-TAGS-find:
12243 @if find
12244 maybe-TAGS-find: TAGS-find
12246 TAGS-find: \
12247 configure-find
12248 @: $(MAKE); $(unstage)
12249 @[ -f ./find/Makefile ] || exit 0; \
12250 r=`${PWD_COMMAND}`; export r; \
12251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12252 $(HOST_EXPORTS) \
12253 for flag in $(EXTRA_HOST_FLAGS) ; do \
12254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12255 done; \
12256 echo "Doing TAGS in find" ; \
12257 (cd $(HOST_SUBDIR)/find && \
12258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12260 "RANLIB=$${RANLIB}" \
12261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12262 TAGS) \
12263 || exit 1
12265 @endif find
12267 .PHONY: maybe-install-info-find install-info-find
12268 maybe-install-info-find:
12269 @if find
12270 maybe-install-info-find: install-info-find
12272 install-info-find: \
12273 configure-find \
12274 info-find
12275 @: $(MAKE); $(unstage)
12276 @[ -f ./find/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 install-info in find" ; \
12284 (cd $(HOST_SUBDIR)/find && \
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}" "WINDMC=$${WINDMC}" \
12289 install-info) \
12290 || exit 1
12292 @endif find
12294 .PHONY: maybe-install-pdf-find install-pdf-find
12295 maybe-install-pdf-find:
12296 @if find
12297 maybe-install-pdf-find: install-pdf-find
12299 install-pdf-find: \
12300 configure-find \
12301 pdf-find
12302 @: $(MAKE); $(unstage)
12303 @[ -f ./find/Makefile ] || exit 0; \
12304 r=`${PWD_COMMAND}`; export r; \
12305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12306 $(HOST_EXPORTS) \
12307 for flag in $(EXTRA_HOST_FLAGS) ; do \
12308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12309 done; \
12310 echo "Doing install-pdf in find" ; \
12311 (cd $(HOST_SUBDIR)/find && \
12312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12314 "RANLIB=$${RANLIB}" \
12315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12316 install-pdf) \
12317 || exit 1
12319 @endif find
12321 .PHONY: maybe-install-html-find install-html-find
12322 maybe-install-html-find:
12323 @if find
12324 maybe-install-html-find: install-html-find
12326 install-html-find: \
12327 configure-find \
12328 html-find
12329 @: $(MAKE); $(unstage)
12330 @[ -f ./find/Makefile ] || exit 0; \
12331 r=`${PWD_COMMAND}`; export r; \
12332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12333 $(HOST_EXPORTS) \
12334 for flag in $(EXTRA_HOST_FLAGS) ; do \
12335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12336 done; \
12337 echo "Doing install-html in find" ; \
12338 (cd $(HOST_SUBDIR)/find && \
12339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12341 "RANLIB=$${RANLIB}" \
12342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12343 install-html) \
12344 || exit 1
12346 @endif find
12348 .PHONY: maybe-installcheck-find installcheck-find
12349 maybe-installcheck-find:
12350 @if find
12351 maybe-installcheck-find: installcheck-find
12353 installcheck-find: \
12354 configure-find
12355 @: $(MAKE); $(unstage)
12356 @[ -f ./find/Makefile ] || exit 0; \
12357 r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 $(HOST_EXPORTS) \
12360 for flag in $(EXTRA_HOST_FLAGS) ; do \
12361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12362 done; \
12363 echo "Doing installcheck in find" ; \
12364 (cd $(HOST_SUBDIR)/find && \
12365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12367 "RANLIB=$${RANLIB}" \
12368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12369 installcheck) \
12370 || exit 1
12372 @endif find
12374 .PHONY: maybe-mostlyclean-find mostlyclean-find
12375 maybe-mostlyclean-find:
12376 @if find
12377 maybe-mostlyclean-find: mostlyclean-find
12379 mostlyclean-find:
12380 @: $(MAKE); $(unstage)
12381 @[ -f ./find/Makefile ] || exit 0; \
12382 r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 $(HOST_EXPORTS) \
12385 for flag in $(EXTRA_HOST_FLAGS) ; do \
12386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12387 done; \
12388 echo "Doing mostlyclean in find" ; \
12389 (cd $(HOST_SUBDIR)/find && \
12390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12392 "RANLIB=$${RANLIB}" \
12393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12394 mostlyclean) \
12395 || exit 1
12397 @endif find
12399 .PHONY: maybe-clean-find clean-find
12400 maybe-clean-find:
12401 @if find
12402 maybe-clean-find: clean-find
12404 clean-find:
12405 @: $(MAKE); $(unstage)
12406 @[ -f ./find/Makefile ] || exit 0; \
12407 r=`${PWD_COMMAND}`; export r; \
12408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12409 $(HOST_EXPORTS) \
12410 for flag in $(EXTRA_HOST_FLAGS) ; do \
12411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12412 done; \
12413 echo "Doing clean in find" ; \
12414 (cd $(HOST_SUBDIR)/find && \
12415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12417 "RANLIB=$${RANLIB}" \
12418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12419 clean) \
12420 || exit 1
12422 @endif find
12424 .PHONY: maybe-distclean-find distclean-find
12425 maybe-distclean-find:
12426 @if find
12427 maybe-distclean-find: distclean-find
12429 distclean-find:
12430 @: $(MAKE); $(unstage)
12431 @[ -f ./find/Makefile ] || exit 0; \
12432 r=`${PWD_COMMAND}`; export r; \
12433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12434 $(HOST_EXPORTS) \
12435 for flag in $(EXTRA_HOST_FLAGS) ; do \
12436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12437 done; \
12438 echo "Doing distclean in find" ; \
12439 (cd $(HOST_SUBDIR)/find && \
12440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12442 "RANLIB=$${RANLIB}" \
12443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12444 distclean) \
12445 || exit 1
12447 @endif find
12449 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
12450 maybe-maintainer-clean-find:
12451 @if find
12452 maybe-maintainer-clean-find: maintainer-clean-find
12454 maintainer-clean-find:
12455 @: $(MAKE); $(unstage)
12456 @[ -f ./find/Makefile ] || exit 0; \
12457 r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 $(HOST_EXPORTS) \
12460 for flag in $(EXTRA_HOST_FLAGS) ; do \
12461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12462 done; \
12463 echo "Doing maintainer-clean in find" ; \
12464 (cd $(HOST_SUBDIR)/find && \
12465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12467 "RANLIB=$${RANLIB}" \
12468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12469 maintainer-clean) \
12470 || exit 1
12472 @endif find
12476 .PHONY: configure-fixincludes maybe-configure-fixincludes
12477 maybe-configure-fixincludes:
12478 @if gcc-bootstrap
12479 configure-fixincludes: stage_current
12480 @endif gcc-bootstrap
12481 @if fixincludes
12482 maybe-configure-fixincludes: configure-fixincludes
12483 configure-fixincludes:
12484 @: $(MAKE); $(unstage)
12485 @r=`${PWD_COMMAND}`; export r; \
12486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12487 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
12488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
12489 $(HOST_EXPORTS) \
12490 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
12491 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
12492 case $(srcdir) in \
12493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12494 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
12495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12496 esac; \
12497 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
12498 libsrcdir="$$s/fixincludes"; \
12499 $(SHELL) $${libsrcdir}/configure \
12500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12501 --target=${target_alias} $${srcdiroption} \
12502 || exit 1
12503 @endif fixincludes
12509 .PHONY: all-fixincludes maybe-all-fixincludes
12510 maybe-all-fixincludes:
12511 @if gcc-bootstrap
12512 all-fixincludes: stage_current
12513 @endif gcc-bootstrap
12514 @if fixincludes
12515 TARGET-fixincludes=all
12516 maybe-all-fixincludes: all-fixincludes
12517 all-fixincludes: configure-fixincludes
12518 @: $(MAKE); $(unstage)
12519 @r=`${PWD_COMMAND}`; export r; \
12520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12521 $(HOST_EXPORTS) \
12522 (cd $(HOST_SUBDIR)/fixincludes && \
12523 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12524 $(TARGET-fixincludes))
12525 @endif fixincludes
12530 .PHONY: check-fixincludes maybe-check-fixincludes
12531 maybe-check-fixincludes:
12532 @if fixincludes
12533 maybe-check-fixincludes: check-fixincludes
12535 check-fixincludes:
12536 @: $(MAKE); $(unstage)
12537 @r=`${PWD_COMMAND}`; export r; \
12538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12539 $(HOST_EXPORTS) \
12540 (cd $(HOST_SUBDIR)/fixincludes && \
12541 $(MAKE) $(FLAGS_TO_PASS) check)
12543 @endif fixincludes
12545 .PHONY: install-fixincludes maybe-install-fixincludes
12546 maybe-install-fixincludes:
12547 @if fixincludes
12548 maybe-install-fixincludes: install-fixincludes
12550 install-fixincludes: installdirs
12551 @: $(MAKE); $(unstage)
12552 @r=`${PWD_COMMAND}`; export r; \
12553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12554 $(HOST_EXPORTS) \
12555 (cd $(HOST_SUBDIR)/fixincludes && \
12556 $(MAKE) $(FLAGS_TO_PASS) install)
12558 @endif fixincludes
12560 # Other targets (info, dvi, pdf, etc.)
12562 .PHONY: maybe-info-fixincludes info-fixincludes
12563 maybe-info-fixincludes:
12564 @if fixincludes
12565 maybe-info-fixincludes: info-fixincludes
12567 info-fixincludes: \
12568 configure-fixincludes
12569 @: $(MAKE); $(unstage)
12570 @[ -f ./fixincludes/Makefile ] || exit 0; \
12571 r=`${PWD_COMMAND}`; export r; \
12572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12573 $(HOST_EXPORTS) \
12574 for flag in $(EXTRA_HOST_FLAGS) ; do \
12575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12576 done; \
12577 echo "Doing info in fixincludes" ; \
12578 (cd $(HOST_SUBDIR)/fixincludes && \
12579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12581 "RANLIB=$${RANLIB}" \
12582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12583 info) \
12584 || exit 1
12586 @endif fixincludes
12588 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
12589 maybe-dvi-fixincludes:
12590 @if fixincludes
12591 maybe-dvi-fixincludes: dvi-fixincludes
12593 dvi-fixincludes: \
12594 configure-fixincludes
12595 @: $(MAKE); $(unstage)
12596 @[ -f ./fixincludes/Makefile ] || exit 0; \
12597 r=`${PWD_COMMAND}`; export r; \
12598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 $(HOST_EXPORTS) \
12600 for flag in $(EXTRA_HOST_FLAGS) ; do \
12601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12602 done; \
12603 echo "Doing dvi in fixincludes" ; \
12604 (cd $(HOST_SUBDIR)/fixincludes && \
12605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12607 "RANLIB=$${RANLIB}" \
12608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12609 dvi) \
12610 || exit 1
12612 @endif fixincludes
12614 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
12615 maybe-pdf-fixincludes:
12616 @if fixincludes
12617 maybe-pdf-fixincludes: pdf-fixincludes
12619 pdf-fixincludes: \
12620 configure-fixincludes
12621 @: $(MAKE); $(unstage)
12622 @[ -f ./fixincludes/Makefile ] || exit 0; \
12623 r=`${PWD_COMMAND}`; export r; \
12624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12625 $(HOST_EXPORTS) \
12626 for flag in $(EXTRA_HOST_FLAGS) ; do \
12627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12628 done; \
12629 echo "Doing pdf in fixincludes" ; \
12630 (cd $(HOST_SUBDIR)/fixincludes && \
12631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12633 "RANLIB=$${RANLIB}" \
12634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12635 pdf) \
12636 || exit 1
12638 @endif fixincludes
12640 .PHONY: maybe-html-fixincludes html-fixincludes
12641 maybe-html-fixincludes:
12642 @if fixincludes
12643 maybe-html-fixincludes: html-fixincludes
12645 html-fixincludes: \
12646 configure-fixincludes
12647 @: $(MAKE); $(unstage)
12648 @[ -f ./fixincludes/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing html in fixincludes" ; \
12656 (cd $(HOST_SUBDIR)/fixincludes && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12661 html) \
12662 || exit 1
12664 @endif fixincludes
12666 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
12667 maybe-TAGS-fixincludes:
12668 @if fixincludes
12669 maybe-TAGS-fixincludes: TAGS-fixincludes
12671 # fixincludes doesn't support TAGS.
12672 TAGS-fixincludes:
12674 @endif fixincludes
12676 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
12677 maybe-install-info-fixincludes:
12678 @if fixincludes
12679 maybe-install-info-fixincludes: install-info-fixincludes
12681 install-info-fixincludes: \
12682 configure-fixincludes \
12683 info-fixincludes
12684 @: $(MAKE); $(unstage)
12685 @[ -f ./fixincludes/Makefile ] || exit 0; \
12686 r=`${PWD_COMMAND}`; export r; \
12687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12688 $(HOST_EXPORTS) \
12689 for flag in $(EXTRA_HOST_FLAGS) ; do \
12690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12691 done; \
12692 echo "Doing install-info in fixincludes" ; \
12693 (cd $(HOST_SUBDIR)/fixincludes && \
12694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12696 "RANLIB=$${RANLIB}" \
12697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12698 install-info) \
12699 || exit 1
12701 @endif fixincludes
12703 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
12704 maybe-install-pdf-fixincludes:
12705 @if fixincludes
12706 maybe-install-pdf-fixincludes: install-pdf-fixincludes
12708 install-pdf-fixincludes: \
12709 configure-fixincludes \
12710 pdf-fixincludes
12711 @: $(MAKE); $(unstage)
12712 @[ -f ./fixincludes/Makefile ] || exit 0; \
12713 r=`${PWD_COMMAND}`; export r; \
12714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12715 $(HOST_EXPORTS) \
12716 for flag in $(EXTRA_HOST_FLAGS) ; do \
12717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12718 done; \
12719 echo "Doing install-pdf in fixincludes" ; \
12720 (cd $(HOST_SUBDIR)/fixincludes && \
12721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12723 "RANLIB=$${RANLIB}" \
12724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12725 install-pdf) \
12726 || exit 1
12728 @endif fixincludes
12730 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
12731 maybe-install-html-fixincludes:
12732 @if fixincludes
12733 maybe-install-html-fixincludes: install-html-fixincludes
12735 install-html-fixincludes: \
12736 configure-fixincludes \
12737 html-fixincludes
12738 @: $(MAKE); $(unstage)
12739 @[ -f ./fixincludes/Makefile ] || exit 0; \
12740 r=`${PWD_COMMAND}`; export r; \
12741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12742 $(HOST_EXPORTS) \
12743 for flag in $(EXTRA_HOST_FLAGS) ; do \
12744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12745 done; \
12746 echo "Doing install-html in fixincludes" ; \
12747 (cd $(HOST_SUBDIR)/fixincludes && \
12748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12750 "RANLIB=$${RANLIB}" \
12751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12752 install-html) \
12753 || exit 1
12755 @endif fixincludes
12757 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
12758 maybe-installcheck-fixincludes:
12759 @if fixincludes
12760 maybe-installcheck-fixincludes: installcheck-fixincludes
12762 installcheck-fixincludes: \
12763 configure-fixincludes
12764 @: $(MAKE); $(unstage)
12765 @[ -f ./fixincludes/Makefile ] || exit 0; \
12766 r=`${PWD_COMMAND}`; export r; \
12767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12768 $(HOST_EXPORTS) \
12769 for flag in $(EXTRA_HOST_FLAGS) ; do \
12770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12771 done; \
12772 echo "Doing installcheck in fixincludes" ; \
12773 (cd $(HOST_SUBDIR)/fixincludes && \
12774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12776 "RANLIB=$${RANLIB}" \
12777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12778 installcheck) \
12779 || exit 1
12781 @endif fixincludes
12783 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
12784 maybe-mostlyclean-fixincludes:
12785 @if fixincludes
12786 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
12788 mostlyclean-fixincludes:
12789 @: $(MAKE); $(unstage)
12790 @[ -f ./fixincludes/Makefile ] || exit 0; \
12791 r=`${PWD_COMMAND}`; export r; \
12792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12793 $(HOST_EXPORTS) \
12794 for flag in $(EXTRA_HOST_FLAGS) ; do \
12795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12796 done; \
12797 echo "Doing mostlyclean in fixincludes" ; \
12798 (cd $(HOST_SUBDIR)/fixincludes && \
12799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12801 "RANLIB=$${RANLIB}" \
12802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12803 mostlyclean) \
12804 || exit 1
12806 @endif fixincludes
12808 .PHONY: maybe-clean-fixincludes clean-fixincludes
12809 maybe-clean-fixincludes:
12810 @if fixincludes
12811 maybe-clean-fixincludes: clean-fixincludes
12813 clean-fixincludes:
12814 @: $(MAKE); $(unstage)
12815 @[ -f ./fixincludes/Makefile ] || exit 0; \
12816 r=`${PWD_COMMAND}`; export r; \
12817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12818 $(HOST_EXPORTS) \
12819 for flag in $(EXTRA_HOST_FLAGS) ; do \
12820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12821 done; \
12822 echo "Doing clean in fixincludes" ; \
12823 (cd $(HOST_SUBDIR)/fixincludes && \
12824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12826 "RANLIB=$${RANLIB}" \
12827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12828 clean) \
12829 || exit 1
12831 @endif fixincludes
12833 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
12834 maybe-distclean-fixincludes:
12835 @if fixincludes
12836 maybe-distclean-fixincludes: distclean-fixincludes
12838 distclean-fixincludes:
12839 @: $(MAKE); $(unstage)
12840 @[ -f ./fixincludes/Makefile ] || exit 0; \
12841 r=`${PWD_COMMAND}`; export r; \
12842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12843 $(HOST_EXPORTS) \
12844 for flag in $(EXTRA_HOST_FLAGS) ; do \
12845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12846 done; \
12847 echo "Doing distclean in fixincludes" ; \
12848 (cd $(HOST_SUBDIR)/fixincludes && \
12849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12851 "RANLIB=$${RANLIB}" \
12852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12853 distclean) \
12854 || exit 1
12856 @endif fixincludes
12858 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
12859 maybe-maintainer-clean-fixincludes:
12860 @if fixincludes
12861 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
12863 maintainer-clean-fixincludes:
12864 @: $(MAKE); $(unstage)
12865 @[ -f ./fixincludes/Makefile ] || exit 0; \
12866 r=`${PWD_COMMAND}`; export r; \
12867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12868 $(HOST_EXPORTS) \
12869 for flag in $(EXTRA_HOST_FLAGS) ; do \
12870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12871 done; \
12872 echo "Doing maintainer-clean in fixincludes" ; \
12873 (cd $(HOST_SUBDIR)/fixincludes && \
12874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12876 "RANLIB=$${RANLIB}" \
12877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12878 maintainer-clean) \
12879 || exit 1
12881 @endif fixincludes
12885 .PHONY: configure-flex maybe-configure-flex
12886 maybe-configure-flex:
12887 @if gcc-bootstrap
12888 configure-flex: stage_current
12889 @endif gcc-bootstrap
12890 @if flex
12891 maybe-configure-flex: configure-flex
12892 configure-flex:
12893 @: $(MAKE); $(unstage)
12894 @r=`${PWD_COMMAND}`; export r; \
12895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12896 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
12897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
12898 $(HOST_EXPORTS) \
12899 echo Configuring in $(HOST_SUBDIR)/flex; \
12900 cd "$(HOST_SUBDIR)/flex" || exit 1; \
12901 case $(srcdir) in \
12902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12903 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
12904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12905 esac; \
12906 srcdiroption="--srcdir=$${topdir}/flex"; \
12907 libsrcdir="$$s/flex"; \
12908 $(SHELL) $${libsrcdir}/configure \
12909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12910 --target=${target_alias} $${srcdiroption} \
12911 || exit 1
12912 @endif flex
12918 .PHONY: all-flex maybe-all-flex
12919 maybe-all-flex:
12920 @if gcc-bootstrap
12921 all-flex: stage_current
12922 @endif gcc-bootstrap
12923 @if flex
12924 TARGET-flex=all
12925 maybe-all-flex: all-flex
12926 all-flex: configure-flex
12927 @: $(MAKE); $(unstage)
12928 @r=`${PWD_COMMAND}`; export r; \
12929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12930 $(HOST_EXPORTS) \
12931 (cd $(HOST_SUBDIR)/flex && \
12932 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12933 $(TARGET-flex))
12934 @endif flex
12939 .PHONY: check-flex maybe-check-flex
12940 maybe-check-flex:
12941 @if flex
12942 maybe-check-flex: check-flex
12944 # This module is only tested in a native toolchain.
12945 check-flex:
12946 @: $(MAKE); $(unstage)
12947 @if [ '$(host)' = '$(target)' ] ; then \
12948 r=`${PWD_COMMAND}`; export r; \
12949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12950 $(HOST_EXPORTS) \
12951 (cd $(HOST_SUBDIR)/flex && \
12952 $(MAKE) $(FLAGS_TO_PASS) check); \
12955 @endif flex
12957 .PHONY: install-flex maybe-install-flex
12958 maybe-install-flex:
12959 @if flex
12960 maybe-install-flex: install-flex
12962 install-flex: 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)/flex && \
12968 $(MAKE) $(FLAGS_TO_PASS) install)
12970 @endif flex
12972 # Other targets (info, dvi, pdf, etc.)
12974 .PHONY: maybe-info-flex info-flex
12975 maybe-info-flex:
12976 @if flex
12977 maybe-info-flex: info-flex
12979 info-flex: \
12980 configure-flex
12981 @: $(MAKE); $(unstage)
12982 @[ -f ./flex/Makefile ] || exit 0; \
12983 r=`${PWD_COMMAND}`; export r; \
12984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12985 $(HOST_EXPORTS) \
12986 for flag in $(EXTRA_HOST_FLAGS) ; do \
12987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12988 done; \
12989 echo "Doing info in flex" ; \
12990 (cd $(HOST_SUBDIR)/flex && \
12991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12993 "RANLIB=$${RANLIB}" \
12994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12995 info) \
12996 || exit 1
12998 @endif flex
13000 .PHONY: maybe-dvi-flex dvi-flex
13001 maybe-dvi-flex:
13002 @if flex
13003 maybe-dvi-flex: dvi-flex
13005 dvi-flex: \
13006 configure-flex
13007 @: $(MAKE); $(unstage)
13008 @[ -f ./flex/Makefile ] || exit 0; \
13009 r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 $(HOST_EXPORTS) \
13012 for flag in $(EXTRA_HOST_FLAGS) ; do \
13013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13014 done; \
13015 echo "Doing dvi in flex" ; \
13016 (cd $(HOST_SUBDIR)/flex && \
13017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13019 "RANLIB=$${RANLIB}" \
13020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13021 dvi) \
13022 || exit 1
13024 @endif flex
13026 .PHONY: maybe-pdf-flex pdf-flex
13027 maybe-pdf-flex:
13028 @if flex
13029 maybe-pdf-flex: pdf-flex
13031 pdf-flex: \
13032 configure-flex
13033 @: $(MAKE); $(unstage)
13034 @[ -f ./flex/Makefile ] || exit 0; \
13035 r=`${PWD_COMMAND}`; export r; \
13036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13037 $(HOST_EXPORTS) \
13038 for flag in $(EXTRA_HOST_FLAGS) ; do \
13039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13040 done; \
13041 echo "Doing pdf in flex" ; \
13042 (cd $(HOST_SUBDIR)/flex && \
13043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13045 "RANLIB=$${RANLIB}" \
13046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13047 pdf) \
13048 || exit 1
13050 @endif flex
13052 .PHONY: maybe-html-flex html-flex
13053 maybe-html-flex:
13054 @if flex
13055 maybe-html-flex: html-flex
13057 html-flex: \
13058 configure-flex
13059 @: $(MAKE); $(unstage)
13060 @[ -f ./flex/Makefile ] || exit 0; \
13061 r=`${PWD_COMMAND}`; export r; \
13062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13063 $(HOST_EXPORTS) \
13064 for flag in $(EXTRA_HOST_FLAGS) ; do \
13065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13066 done; \
13067 echo "Doing html in flex" ; \
13068 (cd $(HOST_SUBDIR)/flex && \
13069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13071 "RANLIB=$${RANLIB}" \
13072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13073 html) \
13074 || exit 1
13076 @endif flex
13078 .PHONY: maybe-TAGS-flex TAGS-flex
13079 maybe-TAGS-flex:
13080 @if flex
13081 maybe-TAGS-flex: TAGS-flex
13083 TAGS-flex: \
13084 configure-flex
13085 @: $(MAKE); $(unstage)
13086 @[ -f ./flex/Makefile ] || exit 0; \
13087 r=`${PWD_COMMAND}`; export r; \
13088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13089 $(HOST_EXPORTS) \
13090 for flag in $(EXTRA_HOST_FLAGS) ; do \
13091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13092 done; \
13093 echo "Doing TAGS in flex" ; \
13094 (cd $(HOST_SUBDIR)/flex && \
13095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13097 "RANLIB=$${RANLIB}" \
13098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13099 TAGS) \
13100 || exit 1
13102 @endif flex
13104 .PHONY: maybe-install-info-flex install-info-flex
13105 maybe-install-info-flex:
13106 @if flex
13107 maybe-install-info-flex: install-info-flex
13109 install-info-flex: \
13110 configure-flex \
13111 info-flex
13112 @: $(MAKE); $(unstage)
13113 @[ -f ./flex/Makefile ] || exit 0; \
13114 r=`${PWD_COMMAND}`; export r; \
13115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13116 $(HOST_EXPORTS) \
13117 for flag in $(EXTRA_HOST_FLAGS) ; do \
13118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13119 done; \
13120 echo "Doing install-info in flex" ; \
13121 (cd $(HOST_SUBDIR)/flex && \
13122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13124 "RANLIB=$${RANLIB}" \
13125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13126 install-info) \
13127 || exit 1
13129 @endif flex
13131 .PHONY: maybe-install-pdf-flex install-pdf-flex
13132 maybe-install-pdf-flex:
13133 @if flex
13134 maybe-install-pdf-flex: install-pdf-flex
13136 install-pdf-flex: \
13137 configure-flex \
13138 pdf-flex
13139 @: $(MAKE); $(unstage)
13140 @[ -f ./flex/Makefile ] || exit 0; \
13141 r=`${PWD_COMMAND}`; export r; \
13142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13143 $(HOST_EXPORTS) \
13144 for flag in $(EXTRA_HOST_FLAGS) ; do \
13145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13146 done; \
13147 echo "Doing install-pdf in flex" ; \
13148 (cd $(HOST_SUBDIR)/flex && \
13149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13151 "RANLIB=$${RANLIB}" \
13152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13153 install-pdf) \
13154 || exit 1
13156 @endif flex
13158 .PHONY: maybe-install-html-flex install-html-flex
13159 maybe-install-html-flex:
13160 @if flex
13161 maybe-install-html-flex: install-html-flex
13163 install-html-flex: \
13164 configure-flex \
13165 html-flex
13166 @: $(MAKE); $(unstage)
13167 @[ -f ./flex/Makefile ] || exit 0; \
13168 r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 $(HOST_EXPORTS) \
13171 for flag in $(EXTRA_HOST_FLAGS) ; do \
13172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13173 done; \
13174 echo "Doing install-html in flex" ; \
13175 (cd $(HOST_SUBDIR)/flex && \
13176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13178 "RANLIB=$${RANLIB}" \
13179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13180 install-html) \
13181 || exit 1
13183 @endif flex
13185 .PHONY: maybe-installcheck-flex installcheck-flex
13186 maybe-installcheck-flex:
13187 @if flex
13188 maybe-installcheck-flex: installcheck-flex
13190 installcheck-flex: \
13191 configure-flex
13192 @: $(MAKE); $(unstage)
13193 @[ -f ./flex/Makefile ] || exit 0; \
13194 r=`${PWD_COMMAND}`; export r; \
13195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13196 $(HOST_EXPORTS) \
13197 for flag in $(EXTRA_HOST_FLAGS) ; do \
13198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13199 done; \
13200 echo "Doing installcheck in flex" ; \
13201 (cd $(HOST_SUBDIR)/flex && \
13202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13204 "RANLIB=$${RANLIB}" \
13205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13206 installcheck) \
13207 || exit 1
13209 @endif flex
13211 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
13212 maybe-mostlyclean-flex:
13213 @if flex
13214 maybe-mostlyclean-flex: mostlyclean-flex
13216 mostlyclean-flex:
13217 @: $(MAKE); $(unstage)
13218 @[ -f ./flex/Makefile ] || exit 0; \
13219 r=`${PWD_COMMAND}`; export r; \
13220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13221 $(HOST_EXPORTS) \
13222 for flag in $(EXTRA_HOST_FLAGS) ; do \
13223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13224 done; \
13225 echo "Doing mostlyclean in flex" ; \
13226 (cd $(HOST_SUBDIR)/flex && \
13227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13229 "RANLIB=$${RANLIB}" \
13230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13231 mostlyclean) \
13232 || exit 1
13234 @endif flex
13236 .PHONY: maybe-clean-flex clean-flex
13237 maybe-clean-flex:
13238 @if flex
13239 maybe-clean-flex: clean-flex
13241 clean-flex:
13242 @: $(MAKE); $(unstage)
13243 @[ -f ./flex/Makefile ] || exit 0; \
13244 r=`${PWD_COMMAND}`; export r; \
13245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13246 $(HOST_EXPORTS) \
13247 for flag in $(EXTRA_HOST_FLAGS) ; do \
13248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13249 done; \
13250 echo "Doing clean in flex" ; \
13251 (cd $(HOST_SUBDIR)/flex && \
13252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13254 "RANLIB=$${RANLIB}" \
13255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13256 clean) \
13257 || exit 1
13259 @endif flex
13261 .PHONY: maybe-distclean-flex distclean-flex
13262 maybe-distclean-flex:
13263 @if flex
13264 maybe-distclean-flex: distclean-flex
13266 distclean-flex:
13267 @: $(MAKE); $(unstage)
13268 @[ -f ./flex/Makefile ] || exit 0; \
13269 r=`${PWD_COMMAND}`; export r; \
13270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13271 $(HOST_EXPORTS) \
13272 for flag in $(EXTRA_HOST_FLAGS) ; do \
13273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13274 done; \
13275 echo "Doing distclean in flex" ; \
13276 (cd $(HOST_SUBDIR)/flex && \
13277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13279 "RANLIB=$${RANLIB}" \
13280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13281 distclean) \
13282 || exit 1
13284 @endif flex
13286 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
13287 maybe-maintainer-clean-flex:
13288 @if flex
13289 maybe-maintainer-clean-flex: maintainer-clean-flex
13291 maintainer-clean-flex:
13292 @: $(MAKE); $(unstage)
13293 @[ -f ./flex/Makefile ] || exit 0; \
13294 r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296 $(HOST_EXPORTS) \
13297 for flag in $(EXTRA_HOST_FLAGS) ; do \
13298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13299 done; \
13300 echo "Doing maintainer-clean in flex" ; \
13301 (cd $(HOST_SUBDIR)/flex && \
13302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13304 "RANLIB=$${RANLIB}" \
13305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13306 maintainer-clean) \
13307 || exit 1
13309 @endif flex
13313 .PHONY: configure-gas maybe-configure-gas
13314 maybe-configure-gas:
13315 @if gcc-bootstrap
13316 configure-gas: stage_current
13317 @endif gcc-bootstrap
13318 @if gas
13319 maybe-configure-gas: configure-gas
13320 configure-gas:
13321 @r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13325 $(HOST_EXPORTS) \
13326 echo Configuring in $(HOST_SUBDIR)/gas; \
13327 cd "$(HOST_SUBDIR)/gas" || exit 1; \
13328 case $(srcdir) in \
13329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13330 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13332 esac; \
13333 srcdiroption="--srcdir=$${topdir}/gas"; \
13334 libsrcdir="$$s/gas"; \
13335 $(SHELL) $${libsrcdir}/configure \
13336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13337 --target=${target_alias} $${srcdiroption} \
13338 || exit 1
13339 @endif gas
13343 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
13344 maybe-configure-stage1-gas:
13345 @if gas-bootstrap
13346 maybe-configure-stage1-gas: configure-stage1-gas
13347 configure-stage1-gas:
13348 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13350 @r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13352 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13353 $(HOST_EXPORTS) \
13354 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13355 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
13356 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
13357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13358 cd $(HOST_SUBDIR)/gas || exit 1; \
13359 case $(srcdir) in \
13360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13361 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13363 esac; \
13364 srcdiroption="--srcdir=$${topdir}/gas"; \
13365 libsrcdir="$$s/gas"; \
13366 $(SHELL) $${libsrcdir}/configure \
13367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13368 --target=${target_alias} $${srcdiroption} \
13370 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13371 @endif gas-bootstrap
13373 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
13374 maybe-configure-stage2-gas:
13375 @if gas-bootstrap
13376 maybe-configure-stage2-gas: configure-stage2-gas
13377 configure-stage2-gas:
13378 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13380 @r=`${PWD_COMMAND}`; export r; \
13381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13382 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13383 $(HOST_EXPORTS) \
13384 $(POSTSTAGE1_HOST_EXPORTS) \
13385 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13386 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
13387 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
13388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13389 cd $(HOST_SUBDIR)/gas || exit 1; \
13390 case $(srcdir) in \
13391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13392 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13394 esac; \
13395 srcdiroption="--srcdir=$${topdir}/gas"; \
13396 libsrcdir="$$s/gas"; \
13397 $(SHELL) $${libsrcdir}/configure \
13398 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13399 --target=${target_alias} $${srcdiroption} \
13400 --with-build-libsubdir=$(HOST_SUBDIR) \
13401 @stage2_werror_flag@
13402 @endif gas-bootstrap
13404 .PHONY: configure-stageb2g0-gas maybe-configure-stageb2g0-gas
13405 maybe-configure-stageb2g0-gas:
13406 @if gas-bootstrap
13407 maybe-configure-stageb2g0-gas: configure-stageb2g0-gas
13408 configure-stageb2g0-gas:
13409 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
13410 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13411 @r=`${PWD_COMMAND}`; export r; \
13412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13413 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13414 $(HOST_EXPORTS) \
13415 $(POSTSTAGE1_HOST_EXPORTS) \
13416 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
13417 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
13418 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gas ; \
13419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13420 cd $(HOST_SUBDIR)/gas || exit 1; \
13421 case $(srcdir) in \
13422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13423 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13425 esac; \
13426 srcdiroption="--srcdir=$${topdir}/gas"; \
13427 libsrcdir="$$s/gas"; \
13428 $(SHELL) $${libsrcdir}/configure \
13429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13430 --target=${target_alias} $${srcdiroption} \
13431 --with-build-libsubdir=$(HOST_SUBDIR) \
13432 @stage2_werror_flag@
13433 @endif gas-bootstrap
13435 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
13436 maybe-configure-stage3-gas:
13437 @if gas-bootstrap
13438 maybe-configure-stage3-gas: configure-stage3-gas
13439 configure-stage3-gas:
13440 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13442 @r=`${PWD_COMMAND}`; export r; \
13443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13444 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13445 $(HOST_EXPORTS) \
13446 $(POSTSTAGE1_HOST_EXPORTS) \
13447 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13448 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
13449 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
13450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13451 cd $(HOST_SUBDIR)/gas || exit 1; \
13452 case $(srcdir) in \
13453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13454 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13456 esac; \
13457 srcdiroption="--srcdir=$${topdir}/gas"; \
13458 libsrcdir="$$s/gas"; \
13459 $(SHELL) $${libsrcdir}/configure \
13460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13461 --target=${target_alias} $${srcdiroption} \
13462 --with-build-libsubdir=$(HOST_SUBDIR) \
13463 @stage2_werror_flag@
13464 @endif gas-bootstrap
13466 .PHONY: configure-stageb3g2-gas maybe-configure-stageb3g2-gas
13467 maybe-configure-stageb3g2-gas:
13468 @if gas-bootstrap
13469 maybe-configure-stageb3g2-gas: configure-stageb3g2-gas
13470 configure-stageb3g2-gas:
13471 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
13472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13473 @r=`${PWD_COMMAND}`; export r; \
13474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13475 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13476 $(HOST_EXPORTS) \
13477 $(POSTSTAGE1_HOST_EXPORTS) \
13478 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
13479 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
13480 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gas ; \
13481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13482 cd $(HOST_SUBDIR)/gas || exit 1; \
13483 case $(srcdir) in \
13484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13485 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13487 esac; \
13488 srcdiroption="--srcdir=$${topdir}/gas"; \
13489 libsrcdir="$$s/gas"; \
13490 $(SHELL) $${libsrcdir}/configure \
13491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13492 --target=${target_alias} $${srcdiroption} \
13493 --with-build-libsubdir=$(HOST_SUBDIR) \
13494 @stage2_werror_flag@
13495 @endif gas-bootstrap
13497 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
13498 maybe-configure-stage4-gas:
13499 @if gas-bootstrap
13500 maybe-configure-stage4-gas: configure-stage4-gas
13501 configure-stage4-gas:
13502 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13504 @r=`${PWD_COMMAND}`; export r; \
13505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13506 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13507 $(HOST_EXPORTS) \
13508 $(POSTSTAGE1_HOST_EXPORTS) \
13509 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13510 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
13511 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
13512 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13513 cd $(HOST_SUBDIR)/gas || exit 1; \
13514 case $(srcdir) in \
13515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13516 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13518 esac; \
13519 srcdiroption="--srcdir=$${topdir}/gas"; \
13520 libsrcdir="$$s/gas"; \
13521 $(SHELL) $${libsrcdir}/configure \
13522 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13523 --target=${target_alias} $${srcdiroption} \
13524 --with-build-libsubdir=$(HOST_SUBDIR) \
13525 @stage2_werror_flag@
13526 @endif gas-bootstrap
13528 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
13529 maybe-configure-stageprofile-gas:
13530 @if gas-bootstrap
13531 maybe-configure-stageprofile-gas: configure-stageprofile-gas
13532 configure-stageprofile-gas:
13533 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13534 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13535 @r=`${PWD_COMMAND}`; export r; \
13536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13537 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13538 $(HOST_EXPORTS) \
13539 $(POSTSTAGE1_HOST_EXPORTS) \
13540 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
13541 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
13542 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
13543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13544 cd $(HOST_SUBDIR)/gas || exit 1; \
13545 case $(srcdir) in \
13546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13547 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13549 esac; \
13550 srcdiroption="--srcdir=$${topdir}/gas"; \
13551 libsrcdir="$$s/gas"; \
13552 $(SHELL) $${libsrcdir}/configure \
13553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13554 --target=${target_alias} $${srcdiroption} \
13555 --with-build-libsubdir=$(HOST_SUBDIR) \
13556 @stage2_werror_flag@
13557 @endif gas-bootstrap
13559 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
13560 maybe-configure-stagefeedback-gas:
13561 @if gas-bootstrap
13562 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
13563 configure-stagefeedback-gas:
13564 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13565 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13566 @r=`${PWD_COMMAND}`; export r; \
13567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13568 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13569 $(HOST_EXPORTS) \
13570 $(POSTSTAGE1_HOST_EXPORTS) \
13571 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
13572 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
13573 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
13574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13575 cd $(HOST_SUBDIR)/gas || exit 1; \
13576 case $(srcdir) in \
13577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13578 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13580 esac; \
13581 srcdiroption="--srcdir=$${topdir}/gas"; \
13582 libsrcdir="$$s/gas"; \
13583 $(SHELL) $${libsrcdir}/configure \
13584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13585 --target=${target_alias} $${srcdiroption} \
13586 --with-build-libsubdir=$(HOST_SUBDIR) \
13587 @stage2_werror_flag@
13588 @endif gas-bootstrap
13594 .PHONY: all-gas maybe-all-gas
13595 maybe-all-gas:
13596 @if gcc-bootstrap
13597 all-gas: stage_current
13598 @endif gcc-bootstrap
13599 @if gas
13600 TARGET-gas=all
13601 maybe-all-gas: all-gas
13602 all-gas: configure-gas
13603 @r=`${PWD_COMMAND}`; export r; \
13604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13605 $(HOST_EXPORTS) \
13606 (cd $(HOST_SUBDIR)/gas && \
13607 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13608 $(TARGET-gas))
13609 @endif gas
13613 .PHONY: all-stage1-gas maybe-all-stage1-gas
13614 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
13615 maybe-all-stage1-gas:
13616 maybe-clean-stage1-gas:
13617 @if gas-bootstrap
13618 maybe-all-stage1-gas: all-stage1-gas
13619 all-stage1: all-stage1-gas
13620 TARGET-stage1-gas = $(TARGET-gas)
13621 all-stage1-gas: configure-stage1-gas
13622 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13623 @r=`${PWD_COMMAND}`; export r; \
13624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13625 $(HOST_EXPORTS) \
13626 cd $(HOST_SUBDIR)/gas && \
13627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13628 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
13629 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
13630 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
13631 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
13632 $(TARGET-stage1-gas)
13634 maybe-clean-stage1-gas: clean-stage1-gas
13635 clean-stage1: clean-stage1-gas
13636 clean-stage1-gas:
13637 @if [ $(current_stage) = stage1 ]; then \
13638 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13639 else \
13640 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
13641 $(MAKE) stage1-start; \
13642 fi; \
13643 cd $(HOST_SUBDIR)/gas && \
13644 $(MAKE) $(EXTRA_HOST_FLAGS) \
13645 clean
13646 @endif gas-bootstrap
13649 .PHONY: all-stage2-gas maybe-all-stage2-gas
13650 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
13651 maybe-all-stage2-gas:
13652 maybe-clean-stage2-gas:
13653 @if gas-bootstrap
13654 maybe-all-stage2-gas: all-stage2-gas
13655 all-stage2: all-stage2-gas
13656 TARGET-stage2-gas = $(TARGET-gas)
13657 all-stage2-gas: configure-stage2-gas
13658 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13659 @r=`${PWD_COMMAND}`; export r; \
13660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13661 $(HOST_EXPORTS) \
13662 $(POSTSTAGE1_HOST_EXPORTS) \
13663 cd $(HOST_SUBDIR)/gas && \
13664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13665 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
13666 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
13667 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
13668 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13669 $(TARGET-stage2-gas)
13671 maybe-clean-stage2-gas: clean-stage2-gas
13672 clean-stage2: clean-stage2-gas
13673 clean-stage2-gas:
13674 @if [ $(current_stage) = stage2 ]; then \
13675 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13676 else \
13677 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
13678 $(MAKE) stage2-start; \
13679 fi; \
13680 cd $(HOST_SUBDIR)/gas && \
13681 $(MAKE) $(EXTRA_HOST_FLAGS) \
13682 $(POSTSTAGE1_FLAGS_TO_PASS) \
13683 clean
13684 @endif gas-bootstrap
13687 .PHONY: all-stageb2g0-gas maybe-all-stageb2g0-gas
13688 .PHONY: clean-stageb2g0-gas maybe-clean-stageb2g0-gas
13689 maybe-all-stageb2g0-gas:
13690 maybe-clean-stageb2g0-gas:
13691 @if gas-bootstrap
13692 maybe-all-stageb2g0-gas: all-stageb2g0-gas
13693 all-stageb2g0: all-stageb2g0-gas
13694 TARGET-stageb2g0-gas = $(TARGET-gas)
13695 all-stageb2g0-gas: configure-stageb2g0-gas
13696 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
13697 @r=`${PWD_COMMAND}`; export r; \
13698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13699 $(HOST_EXPORTS) \
13700 $(POSTSTAGE1_HOST_EXPORTS) \
13701 cd $(HOST_SUBDIR)/gas && \
13702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13703 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
13704 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
13705 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
13706 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13707 $(TARGET-stageb2g0-gas)
13709 maybe-clean-stageb2g0-gas: clean-stageb2g0-gas
13710 clean-stageb2g0: clean-stageb2g0-gas
13711 clean-stageb2g0-gas:
13712 @if [ $(current_stage) = stageb2g0 ]; then \
13713 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13714 else \
13715 [ -f $(HOST_SUBDIR)/stageb2g0-gas/Makefile ] || exit 0; \
13716 $(MAKE) stageb2g0-start; \
13717 fi; \
13718 cd $(HOST_SUBDIR)/gas && \
13719 $(MAKE) $(EXTRA_HOST_FLAGS) \
13720 $(POSTSTAGE1_FLAGS_TO_PASS) \
13721 clean
13722 @endif gas-bootstrap
13725 .PHONY: all-stage3-gas maybe-all-stage3-gas
13726 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
13727 maybe-all-stage3-gas:
13728 maybe-clean-stage3-gas:
13729 @if gas-bootstrap
13730 maybe-all-stage3-gas: all-stage3-gas
13731 all-stage3: all-stage3-gas
13732 TARGET-stage3-gas = $(TARGET-gas)
13733 all-stage3-gas: configure-stage3-gas
13734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13735 @r=`${PWD_COMMAND}`; export r; \
13736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13737 $(HOST_EXPORTS) \
13738 $(POSTSTAGE1_HOST_EXPORTS) \
13739 cd $(HOST_SUBDIR)/gas && \
13740 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13741 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
13742 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
13743 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
13744 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13745 $(TARGET-stage3-gas)
13747 maybe-clean-stage3-gas: clean-stage3-gas
13748 clean-stage3: clean-stage3-gas
13749 clean-stage3-gas:
13750 @if [ $(current_stage) = stage3 ]; then \
13751 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13752 else \
13753 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
13754 $(MAKE) stage3-start; \
13755 fi; \
13756 cd $(HOST_SUBDIR)/gas && \
13757 $(MAKE) $(EXTRA_HOST_FLAGS) \
13758 $(POSTSTAGE1_FLAGS_TO_PASS) \
13759 clean
13760 @endif gas-bootstrap
13763 .PHONY: all-stageb3g2-gas maybe-all-stageb3g2-gas
13764 .PHONY: clean-stageb3g2-gas maybe-clean-stageb3g2-gas
13765 maybe-all-stageb3g2-gas:
13766 maybe-clean-stageb3g2-gas:
13767 @if gas-bootstrap
13768 maybe-all-stageb3g2-gas: all-stageb3g2-gas
13769 all-stageb3g2: all-stageb3g2-gas
13770 TARGET-stageb3g2-gas = $(TARGET-gas)
13771 all-stageb3g2-gas: configure-stageb3g2-gas
13772 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
13773 @r=`${PWD_COMMAND}`; export r; \
13774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13775 $(HOST_EXPORTS) \
13776 $(POSTSTAGE1_HOST_EXPORTS) \
13777 cd $(HOST_SUBDIR)/gas && \
13778 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13779 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
13780 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
13781 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
13782 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13783 $(TARGET-stageb3g2-gas)
13785 maybe-clean-stageb3g2-gas: clean-stageb3g2-gas
13786 clean-stageb3g2: clean-stageb3g2-gas
13787 clean-stageb3g2-gas:
13788 @if [ $(current_stage) = stageb3g2 ]; then \
13789 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13790 else \
13791 [ -f $(HOST_SUBDIR)/stageb3g2-gas/Makefile ] || exit 0; \
13792 $(MAKE) stageb3g2-start; \
13793 fi; \
13794 cd $(HOST_SUBDIR)/gas && \
13795 $(MAKE) $(EXTRA_HOST_FLAGS) \
13796 $(POSTSTAGE1_FLAGS_TO_PASS) \
13797 clean
13798 @endif gas-bootstrap
13801 .PHONY: all-stage4-gas maybe-all-stage4-gas
13802 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
13803 maybe-all-stage4-gas:
13804 maybe-clean-stage4-gas:
13805 @if gas-bootstrap
13806 maybe-all-stage4-gas: all-stage4-gas
13807 all-stage4: all-stage4-gas
13808 TARGET-stage4-gas = $(TARGET-gas)
13809 all-stage4-gas: configure-stage4-gas
13810 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13811 @r=`${PWD_COMMAND}`; export r; \
13812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13813 $(HOST_EXPORTS) \
13814 $(POSTSTAGE1_HOST_EXPORTS) \
13815 cd $(HOST_SUBDIR)/gas && \
13816 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13817 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
13818 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13819 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
13820 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13821 $(TARGET-stage4-gas)
13823 maybe-clean-stage4-gas: clean-stage4-gas
13824 clean-stage4: clean-stage4-gas
13825 clean-stage4-gas:
13826 @if [ $(current_stage) = stage4 ]; then \
13827 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13828 else \
13829 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
13830 $(MAKE) stage4-start; \
13831 fi; \
13832 cd $(HOST_SUBDIR)/gas && \
13833 $(MAKE) $(EXTRA_HOST_FLAGS) \
13834 $(POSTSTAGE1_FLAGS_TO_PASS) \
13835 clean
13836 @endif gas-bootstrap
13839 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
13840 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
13841 maybe-all-stageprofile-gas:
13842 maybe-clean-stageprofile-gas:
13843 @if gas-bootstrap
13844 maybe-all-stageprofile-gas: all-stageprofile-gas
13845 all-stageprofile: all-stageprofile-gas
13846 TARGET-stageprofile-gas = $(TARGET-gas)
13847 all-stageprofile-gas: configure-stageprofile-gas
13848 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13849 @r=`${PWD_COMMAND}`; export r; \
13850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13851 $(HOST_EXPORTS) \
13852 $(POSTSTAGE1_HOST_EXPORTS) \
13853 cd $(HOST_SUBDIR)/gas && \
13854 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13855 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
13856 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
13857 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
13858 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13859 $(TARGET-stageprofile-gas)
13861 maybe-clean-stageprofile-gas: clean-stageprofile-gas
13862 clean-stageprofile: clean-stageprofile-gas
13863 clean-stageprofile-gas:
13864 @if [ $(current_stage) = stageprofile ]; then \
13865 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13866 else \
13867 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
13868 $(MAKE) stageprofile-start; \
13869 fi; \
13870 cd $(HOST_SUBDIR)/gas && \
13871 $(MAKE) $(EXTRA_HOST_FLAGS) \
13872 $(POSTSTAGE1_FLAGS_TO_PASS) \
13873 clean
13874 @endif gas-bootstrap
13877 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
13878 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
13879 maybe-all-stagefeedback-gas:
13880 maybe-clean-stagefeedback-gas:
13881 @if gas-bootstrap
13882 maybe-all-stagefeedback-gas: all-stagefeedback-gas
13883 all-stagefeedback: all-stagefeedback-gas
13884 TARGET-stagefeedback-gas = $(TARGET-gas)
13885 all-stagefeedback-gas: configure-stagefeedback-gas
13886 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13887 @r=`${PWD_COMMAND}`; export r; \
13888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13889 $(HOST_EXPORTS) \
13890 $(POSTSTAGE1_HOST_EXPORTS) \
13891 cd $(HOST_SUBDIR)/gas && \
13892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13893 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
13894 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
13895 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
13896 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13897 $(TARGET-stagefeedback-gas)
13899 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
13900 clean-stagefeedback: clean-stagefeedback-gas
13901 clean-stagefeedback-gas:
13902 @if [ $(current_stage) = stagefeedback ]; then \
13903 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13904 else \
13905 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
13906 $(MAKE) stagefeedback-start; \
13907 fi; \
13908 cd $(HOST_SUBDIR)/gas && \
13909 $(MAKE) $(EXTRA_HOST_FLAGS) \
13910 $(POSTSTAGE1_FLAGS_TO_PASS) \
13911 clean
13912 @endif gas-bootstrap
13918 .PHONY: check-gas maybe-check-gas
13919 maybe-check-gas:
13920 @if gas
13921 maybe-check-gas: check-gas
13923 check-gas:
13924 @: $(MAKE); $(unstage)
13925 @r=`${PWD_COMMAND}`; export r; \
13926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13927 $(HOST_EXPORTS) \
13928 (cd $(HOST_SUBDIR)/gas && \
13929 $(MAKE) $(FLAGS_TO_PASS) check)
13931 @endif gas
13933 .PHONY: install-gas maybe-install-gas
13934 maybe-install-gas:
13935 @if gas
13936 maybe-install-gas: install-gas
13938 install-gas: installdirs
13939 @: $(MAKE); $(unstage)
13940 @r=`${PWD_COMMAND}`; export r; \
13941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13942 $(HOST_EXPORTS) \
13943 (cd $(HOST_SUBDIR)/gas && \
13944 $(MAKE) $(FLAGS_TO_PASS) install)
13946 @endif gas
13948 # Other targets (info, dvi, pdf, etc.)
13950 .PHONY: maybe-info-gas info-gas
13951 maybe-info-gas:
13952 @if gas
13953 maybe-info-gas: info-gas
13955 info-gas: \
13956 configure-gas
13957 @[ -f ./gas/Makefile ] || exit 0; \
13958 r=`${PWD_COMMAND}`; export r; \
13959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13960 $(HOST_EXPORTS) \
13961 for flag in $(EXTRA_HOST_FLAGS) ; do \
13962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13963 done; \
13964 echo "Doing info in gas" ; \
13965 (cd $(HOST_SUBDIR)/gas && \
13966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13968 "RANLIB=$${RANLIB}" \
13969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13970 info) \
13971 || exit 1
13973 @endif gas
13975 .PHONY: maybe-dvi-gas dvi-gas
13976 maybe-dvi-gas:
13977 @if gas
13978 maybe-dvi-gas: dvi-gas
13980 dvi-gas: \
13981 configure-gas
13982 @[ -f ./gas/Makefile ] || exit 0; \
13983 r=`${PWD_COMMAND}`; export r; \
13984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13985 $(HOST_EXPORTS) \
13986 for flag in $(EXTRA_HOST_FLAGS) ; do \
13987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13988 done; \
13989 echo "Doing dvi in gas" ; \
13990 (cd $(HOST_SUBDIR)/gas && \
13991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13993 "RANLIB=$${RANLIB}" \
13994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13995 dvi) \
13996 || exit 1
13998 @endif gas
14000 .PHONY: maybe-pdf-gas pdf-gas
14001 maybe-pdf-gas:
14002 @if gas
14003 maybe-pdf-gas: pdf-gas
14005 pdf-gas: \
14006 configure-gas
14007 @[ -f ./gas/Makefile ] || exit 0; \
14008 r=`${PWD_COMMAND}`; export r; \
14009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14010 $(HOST_EXPORTS) \
14011 for flag in $(EXTRA_HOST_FLAGS) ; do \
14012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14013 done; \
14014 echo "Doing pdf in gas" ; \
14015 (cd $(HOST_SUBDIR)/gas && \
14016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14018 "RANLIB=$${RANLIB}" \
14019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14020 pdf) \
14021 || exit 1
14023 @endif gas
14025 .PHONY: maybe-html-gas html-gas
14026 maybe-html-gas:
14027 @if gas
14028 maybe-html-gas: html-gas
14030 html-gas: \
14031 configure-gas
14032 @[ -f ./gas/Makefile ] || exit 0; \
14033 r=`${PWD_COMMAND}`; export r; \
14034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14035 $(HOST_EXPORTS) \
14036 for flag in $(EXTRA_HOST_FLAGS) ; do \
14037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14038 done; \
14039 echo "Doing html in gas" ; \
14040 (cd $(HOST_SUBDIR)/gas && \
14041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14043 "RANLIB=$${RANLIB}" \
14044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14045 html) \
14046 || exit 1
14048 @endif gas
14050 .PHONY: maybe-TAGS-gas TAGS-gas
14051 maybe-TAGS-gas:
14052 @if gas
14053 maybe-TAGS-gas: TAGS-gas
14055 TAGS-gas: \
14056 configure-gas
14057 @[ -f ./gas/Makefile ] || exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(HOST_EXPORTS) \
14061 for flag in $(EXTRA_HOST_FLAGS) ; do \
14062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14063 done; \
14064 echo "Doing TAGS in gas" ; \
14065 (cd $(HOST_SUBDIR)/gas && \
14066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14068 "RANLIB=$${RANLIB}" \
14069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14070 TAGS) \
14071 || exit 1
14073 @endif gas
14075 .PHONY: maybe-install-info-gas install-info-gas
14076 maybe-install-info-gas:
14077 @if gas
14078 maybe-install-info-gas: install-info-gas
14080 install-info-gas: \
14081 configure-gas \
14082 info-gas
14083 @[ -f ./gas/Makefile ] || exit 0; \
14084 r=`${PWD_COMMAND}`; export r; \
14085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086 $(HOST_EXPORTS) \
14087 for flag in $(EXTRA_HOST_FLAGS) ; do \
14088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14089 done; \
14090 echo "Doing install-info in gas" ; \
14091 (cd $(HOST_SUBDIR)/gas && \
14092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14094 "RANLIB=$${RANLIB}" \
14095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14096 install-info) \
14097 || exit 1
14099 @endif gas
14101 .PHONY: maybe-install-pdf-gas install-pdf-gas
14102 maybe-install-pdf-gas:
14103 @if gas
14104 maybe-install-pdf-gas: install-pdf-gas
14106 install-pdf-gas: \
14107 configure-gas \
14108 pdf-gas
14109 @[ -f ./gas/Makefile ] || exit 0; \
14110 r=`${PWD_COMMAND}`; export r; \
14111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14112 $(HOST_EXPORTS) \
14113 for flag in $(EXTRA_HOST_FLAGS) ; do \
14114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14115 done; \
14116 echo "Doing install-pdf in gas" ; \
14117 (cd $(HOST_SUBDIR)/gas && \
14118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14120 "RANLIB=$${RANLIB}" \
14121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14122 install-pdf) \
14123 || exit 1
14125 @endif gas
14127 .PHONY: maybe-install-html-gas install-html-gas
14128 maybe-install-html-gas:
14129 @if gas
14130 maybe-install-html-gas: install-html-gas
14132 install-html-gas: \
14133 configure-gas \
14134 html-gas
14135 @[ -f ./gas/Makefile ] || exit 0; \
14136 r=`${PWD_COMMAND}`; export r; \
14137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14138 $(HOST_EXPORTS) \
14139 for flag in $(EXTRA_HOST_FLAGS) ; do \
14140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14141 done; \
14142 echo "Doing install-html in gas" ; \
14143 (cd $(HOST_SUBDIR)/gas && \
14144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14146 "RANLIB=$${RANLIB}" \
14147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14148 install-html) \
14149 || exit 1
14151 @endif gas
14153 .PHONY: maybe-installcheck-gas installcheck-gas
14154 maybe-installcheck-gas:
14155 @if gas
14156 maybe-installcheck-gas: installcheck-gas
14158 installcheck-gas: \
14159 configure-gas
14160 @[ -f ./gas/Makefile ] || exit 0; \
14161 r=`${PWD_COMMAND}`; export r; \
14162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 $(HOST_EXPORTS) \
14164 for flag in $(EXTRA_HOST_FLAGS) ; do \
14165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14166 done; \
14167 echo "Doing installcheck in gas" ; \
14168 (cd $(HOST_SUBDIR)/gas && \
14169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14171 "RANLIB=$${RANLIB}" \
14172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14173 installcheck) \
14174 || exit 1
14176 @endif gas
14178 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
14179 maybe-mostlyclean-gas:
14180 @if gas
14181 maybe-mostlyclean-gas: mostlyclean-gas
14183 mostlyclean-gas:
14184 @[ -f ./gas/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 mostlyclean in gas" ; \
14192 (cd $(HOST_SUBDIR)/gas && \
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}" "WINDMC=$${WINDMC}" \
14197 mostlyclean) \
14198 || exit 1
14200 @endif gas
14202 .PHONY: maybe-clean-gas clean-gas
14203 maybe-clean-gas:
14204 @if gas
14205 maybe-clean-gas: clean-gas
14207 clean-gas:
14208 @[ -f ./gas/Makefile ] || exit 0; \
14209 r=`${PWD_COMMAND}`; export r; \
14210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14211 $(HOST_EXPORTS) \
14212 for flag in $(EXTRA_HOST_FLAGS) ; do \
14213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14214 done; \
14215 echo "Doing clean in gas" ; \
14216 (cd $(HOST_SUBDIR)/gas && \
14217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14219 "RANLIB=$${RANLIB}" \
14220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14221 clean) \
14222 || exit 1
14224 @endif gas
14226 .PHONY: maybe-distclean-gas distclean-gas
14227 maybe-distclean-gas:
14228 @if gas
14229 maybe-distclean-gas: distclean-gas
14231 distclean-gas:
14232 @[ -f ./gas/Makefile ] || exit 0; \
14233 r=`${PWD_COMMAND}`; export r; \
14234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14235 $(HOST_EXPORTS) \
14236 for flag in $(EXTRA_HOST_FLAGS) ; do \
14237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14238 done; \
14239 echo "Doing distclean in gas" ; \
14240 (cd $(HOST_SUBDIR)/gas && \
14241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14243 "RANLIB=$${RANLIB}" \
14244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14245 distclean) \
14246 || exit 1
14248 @endif gas
14250 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
14251 maybe-maintainer-clean-gas:
14252 @if gas
14253 maybe-maintainer-clean-gas: maintainer-clean-gas
14255 maintainer-clean-gas:
14256 @[ -f ./gas/Makefile ] || exit 0; \
14257 r=`${PWD_COMMAND}`; export r; \
14258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14259 $(HOST_EXPORTS) \
14260 for flag in $(EXTRA_HOST_FLAGS) ; do \
14261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14262 done; \
14263 echo "Doing maintainer-clean in gas" ; \
14264 (cd $(HOST_SUBDIR)/gas && \
14265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14267 "RANLIB=$${RANLIB}" \
14268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14269 maintainer-clean) \
14270 || exit 1
14272 @endif gas
14276 .PHONY: configure-gcc maybe-configure-gcc
14277 maybe-configure-gcc:
14278 @if gcc-bootstrap
14279 configure-gcc: stage_current
14280 @endif gcc-bootstrap
14281 @if gcc
14282 maybe-configure-gcc: configure-gcc
14283 configure-gcc:
14284 @r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14288 $(HOST_EXPORTS) \
14289 echo Configuring in $(HOST_SUBDIR)/gcc; \
14290 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
14291 case $(srcdir) in \
14292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14293 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14295 esac; \
14296 srcdiroption="--srcdir=$${topdir}/gcc"; \
14297 libsrcdir="$$s/gcc"; \
14298 $(SHELL) $${libsrcdir}/configure \
14299 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14300 --target=${target_alias} $${srcdiroption} \
14301 || exit 1
14302 @endif gcc
14306 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
14307 maybe-configure-stage1-gcc:
14308 @if gcc-bootstrap
14309 maybe-configure-stage1-gcc: configure-stage1-gcc
14310 configure-stage1-gcc:
14311 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14312 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14313 @r=`${PWD_COMMAND}`; export r; \
14314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14315 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14316 $(HOST_EXPORTS) \
14317 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14318 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
14319 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
14320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14321 cd $(HOST_SUBDIR)/gcc || exit 1; \
14322 case $(srcdir) in \
14323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14324 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14326 esac; \
14327 srcdiroption="--srcdir=$${topdir}/gcc"; \
14328 libsrcdir="$$s/gcc"; \
14329 $(SHELL) $${libsrcdir}/configure \
14330 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14331 --target=${target_alias} $${srcdiroption} \
14333 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14334 @endif gcc-bootstrap
14336 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
14337 maybe-configure-stage2-gcc:
14338 @if gcc-bootstrap
14339 maybe-configure-stage2-gcc: configure-stage2-gcc
14340 configure-stage2-gcc:
14341 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14342 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14343 @r=`${PWD_COMMAND}`; export r; \
14344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14345 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14346 $(HOST_EXPORTS) \
14347 $(POSTSTAGE1_HOST_EXPORTS) \
14348 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14349 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
14350 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
14351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14352 cd $(HOST_SUBDIR)/gcc || exit 1; \
14353 case $(srcdir) in \
14354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14355 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14357 esac; \
14358 srcdiroption="--srcdir=$${topdir}/gcc"; \
14359 libsrcdir="$$s/gcc"; \
14360 $(SHELL) $${libsrcdir}/configure \
14361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14362 --target=${target_alias} $${srcdiroption} \
14363 --with-build-libsubdir=$(HOST_SUBDIR) \
14364 @stage2_werror_flag@
14365 @endif gcc-bootstrap
14367 .PHONY: configure-stageb2g0-gcc maybe-configure-stageb2g0-gcc
14368 maybe-configure-stageb2g0-gcc:
14369 @if gcc-bootstrap
14370 maybe-configure-stageb2g0-gcc: configure-stageb2g0-gcc
14371 configure-stageb2g0-gcc:
14372 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
14373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14374 @r=`${PWD_COMMAND}`; export r; \
14375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14376 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14377 $(HOST_EXPORTS) \
14378 $(POSTSTAGE1_HOST_EXPORTS) \
14379 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
14380 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
14381 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gcc ; \
14382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14383 cd $(HOST_SUBDIR)/gcc || exit 1; \
14384 case $(srcdir) in \
14385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14386 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14388 esac; \
14389 srcdiroption="--srcdir=$${topdir}/gcc"; \
14390 libsrcdir="$$s/gcc"; \
14391 $(SHELL) $${libsrcdir}/configure \
14392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14393 --target=${target_alias} $${srcdiroption} \
14394 --with-build-libsubdir=$(HOST_SUBDIR) \
14395 @stage2_werror_flag@
14396 @endif gcc-bootstrap
14398 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
14399 maybe-configure-stage3-gcc:
14400 @if gcc-bootstrap
14401 maybe-configure-stage3-gcc: configure-stage3-gcc
14402 configure-stage3-gcc:
14403 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14405 @r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14408 $(HOST_EXPORTS) \
14409 $(POSTSTAGE1_HOST_EXPORTS) \
14410 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14411 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
14412 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
14413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14414 cd $(HOST_SUBDIR)/gcc || exit 1; \
14415 case $(srcdir) in \
14416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14417 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14419 esac; \
14420 srcdiroption="--srcdir=$${topdir}/gcc"; \
14421 libsrcdir="$$s/gcc"; \
14422 $(SHELL) $${libsrcdir}/configure \
14423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14424 --target=${target_alias} $${srcdiroption} \
14425 --with-build-libsubdir=$(HOST_SUBDIR) \
14426 @stage2_werror_flag@
14427 @endif gcc-bootstrap
14429 .PHONY: configure-stageb3g2-gcc maybe-configure-stageb3g2-gcc
14430 maybe-configure-stageb3g2-gcc:
14431 @if gcc-bootstrap
14432 maybe-configure-stageb3g2-gcc: configure-stageb3g2-gcc
14433 configure-stageb3g2-gcc:
14434 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
14435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14436 @r=`${PWD_COMMAND}`; export r; \
14437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14438 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14439 $(HOST_EXPORTS) \
14440 $(POSTSTAGE1_HOST_EXPORTS) \
14441 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
14442 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
14443 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gcc ; \
14444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14445 cd $(HOST_SUBDIR)/gcc || exit 1; \
14446 case $(srcdir) in \
14447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14448 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14450 esac; \
14451 srcdiroption="--srcdir=$${topdir}/gcc"; \
14452 libsrcdir="$$s/gcc"; \
14453 $(SHELL) $${libsrcdir}/configure \
14454 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14455 --target=${target_alias} $${srcdiroption} \
14456 --with-build-libsubdir=$(HOST_SUBDIR) \
14457 @stage2_werror_flag@
14458 @endif gcc-bootstrap
14460 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
14461 maybe-configure-stage4-gcc:
14462 @if gcc-bootstrap
14463 maybe-configure-stage4-gcc: configure-stage4-gcc
14464 configure-stage4-gcc:
14465 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14466 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14467 @r=`${PWD_COMMAND}`; export r; \
14468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14469 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14470 $(HOST_EXPORTS) \
14471 $(POSTSTAGE1_HOST_EXPORTS) \
14472 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14473 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
14474 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
14475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14476 cd $(HOST_SUBDIR)/gcc || exit 1; \
14477 case $(srcdir) in \
14478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14479 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14481 esac; \
14482 srcdiroption="--srcdir=$${topdir}/gcc"; \
14483 libsrcdir="$$s/gcc"; \
14484 $(SHELL) $${libsrcdir}/configure \
14485 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14486 --target=${target_alias} $${srcdiroption} \
14487 --with-build-libsubdir=$(HOST_SUBDIR) \
14488 @stage2_werror_flag@
14489 @endif gcc-bootstrap
14491 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
14492 maybe-configure-stageprofile-gcc:
14493 @if gcc-bootstrap
14494 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
14495 configure-stageprofile-gcc:
14496 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14497 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14498 @r=`${PWD_COMMAND}`; export r; \
14499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14501 $(HOST_EXPORTS) \
14502 $(POSTSTAGE1_HOST_EXPORTS) \
14503 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
14504 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
14505 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
14506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14507 cd $(HOST_SUBDIR)/gcc || exit 1; \
14508 case $(srcdir) in \
14509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14510 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14512 esac; \
14513 srcdiroption="--srcdir=$${topdir}/gcc"; \
14514 libsrcdir="$$s/gcc"; \
14515 $(SHELL) $${libsrcdir}/configure \
14516 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14517 --target=${target_alias} $${srcdiroption} \
14518 --with-build-libsubdir=$(HOST_SUBDIR) \
14519 @stage2_werror_flag@
14520 @endif gcc-bootstrap
14522 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
14523 maybe-configure-stagefeedback-gcc:
14524 @if gcc-bootstrap
14525 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
14526 configure-stagefeedback-gcc:
14527 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14528 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14529 @r=`${PWD_COMMAND}`; export r; \
14530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14531 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14532 $(HOST_EXPORTS) \
14533 $(POSTSTAGE1_HOST_EXPORTS) \
14534 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
14535 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
14536 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
14537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14538 cd $(HOST_SUBDIR)/gcc || exit 1; \
14539 case $(srcdir) in \
14540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14541 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14543 esac; \
14544 srcdiroption="--srcdir=$${topdir}/gcc"; \
14545 libsrcdir="$$s/gcc"; \
14546 $(SHELL) $${libsrcdir}/configure \
14547 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14548 --target=${target_alias} $${srcdiroption} \
14549 --with-build-libsubdir=$(HOST_SUBDIR) \
14550 @stage2_werror_flag@
14551 @endif gcc-bootstrap
14557 .PHONY: all-gcc maybe-all-gcc
14558 maybe-all-gcc:
14559 @if gcc-bootstrap
14560 all-gcc: stage_current
14561 @endif gcc-bootstrap
14562 @if gcc
14563 TARGET-gcc=all
14564 maybe-all-gcc: all-gcc
14565 all-gcc: configure-gcc
14566 @r=`${PWD_COMMAND}`; export r; \
14567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14568 $(HOST_EXPORTS) \
14569 (cd $(HOST_SUBDIR)/gcc && \
14570 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14571 $(TARGET-gcc))
14572 @endif gcc
14576 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
14577 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
14578 maybe-all-stage1-gcc:
14579 maybe-clean-stage1-gcc:
14580 @if gcc-bootstrap
14581 maybe-all-stage1-gcc: all-stage1-gcc
14582 all-stage1: all-stage1-gcc
14583 TARGET-stage1-gcc = $(TARGET-gcc)
14584 all-stage1-gcc: configure-stage1-gcc
14585 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14586 @r=`${PWD_COMMAND}`; export r; \
14587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14588 $(HOST_EXPORTS) \
14589 cd $(HOST_SUBDIR)/gcc && \
14590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14591 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
14592 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
14593 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
14594 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14595 $(TARGET-stage1-gcc)
14597 maybe-clean-stage1-gcc: clean-stage1-gcc
14598 clean-stage1: clean-stage1-gcc
14599 clean-stage1-gcc:
14600 @if [ $(current_stage) = stage1 ]; then \
14601 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14602 else \
14603 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
14604 $(MAKE) stage1-start; \
14605 fi; \
14606 cd $(HOST_SUBDIR)/gcc && \
14607 $(MAKE) $(EXTRA_HOST_FLAGS) \
14608 $(EXTRA_GCC_FLAGS) clean
14609 @endif gcc-bootstrap
14612 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
14613 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
14614 maybe-all-stage2-gcc:
14615 maybe-clean-stage2-gcc:
14616 @if gcc-bootstrap
14617 maybe-all-stage2-gcc: all-stage2-gcc
14618 all-stage2: all-stage2-gcc
14619 TARGET-stage2-gcc = $(TARGET-gcc)
14620 all-stage2-gcc: configure-stage2-gcc
14621 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14622 @r=`${PWD_COMMAND}`; export r; \
14623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14624 $(HOST_EXPORTS) \
14625 $(POSTSTAGE1_HOST_EXPORTS) \
14626 cd $(HOST_SUBDIR)/gcc && \
14627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14628 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
14629 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
14630 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
14631 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14632 $(TARGET-stage2-gcc)
14634 maybe-clean-stage2-gcc: clean-stage2-gcc
14635 clean-stage2: clean-stage2-gcc
14636 clean-stage2-gcc:
14637 @if [ $(current_stage) = stage2 ]; then \
14638 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14639 else \
14640 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
14641 $(MAKE) stage2-start; \
14642 fi; \
14643 cd $(HOST_SUBDIR)/gcc && \
14644 $(MAKE) $(EXTRA_HOST_FLAGS) \
14645 $(POSTSTAGE1_FLAGS_TO_PASS) \
14646 $(EXTRA_GCC_FLAGS) clean
14647 @endif gcc-bootstrap
14650 .PHONY: all-stageb2g0-gcc maybe-all-stageb2g0-gcc
14651 .PHONY: clean-stageb2g0-gcc maybe-clean-stageb2g0-gcc
14652 maybe-all-stageb2g0-gcc:
14653 maybe-clean-stageb2g0-gcc:
14654 @if gcc-bootstrap
14655 maybe-all-stageb2g0-gcc: all-stageb2g0-gcc
14656 all-stageb2g0: all-stageb2g0-gcc
14657 TARGET-stageb2g0-gcc = $(TARGET-gcc)
14658 all-stageb2g0-gcc: configure-stageb2g0-gcc
14659 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
14660 @r=`${PWD_COMMAND}`; export r; \
14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14662 $(HOST_EXPORTS) \
14663 $(POSTSTAGE1_HOST_EXPORTS) \
14664 cd $(HOST_SUBDIR)/gcc && \
14665 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14666 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
14667 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
14668 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
14669 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14670 $(TARGET-stageb2g0-gcc)
14672 maybe-clean-stageb2g0-gcc: clean-stageb2g0-gcc
14673 clean-stageb2g0: clean-stageb2g0-gcc
14674 clean-stageb2g0-gcc:
14675 @if [ $(current_stage) = stageb2g0 ]; then \
14676 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14677 else \
14678 [ -f $(HOST_SUBDIR)/stageb2g0-gcc/Makefile ] || exit 0; \
14679 $(MAKE) stageb2g0-start; \
14680 fi; \
14681 cd $(HOST_SUBDIR)/gcc && \
14682 $(MAKE) $(EXTRA_HOST_FLAGS) \
14683 $(POSTSTAGE1_FLAGS_TO_PASS) \
14684 $(EXTRA_GCC_FLAGS) clean
14685 @endif gcc-bootstrap
14688 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
14689 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
14690 maybe-all-stage3-gcc:
14691 maybe-clean-stage3-gcc:
14692 @if gcc-bootstrap
14693 maybe-all-stage3-gcc: all-stage3-gcc
14694 all-stage3: all-stage3-gcc
14695 TARGET-stage3-gcc = $(TARGET-gcc)
14696 all-stage3-gcc: configure-stage3-gcc
14697 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14698 @r=`${PWD_COMMAND}`; export r; \
14699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14700 $(HOST_EXPORTS) \
14701 $(POSTSTAGE1_HOST_EXPORTS) \
14702 cd $(HOST_SUBDIR)/gcc && \
14703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14704 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
14705 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
14706 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
14707 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14708 $(TARGET-stage3-gcc)
14710 maybe-clean-stage3-gcc: clean-stage3-gcc
14711 clean-stage3: clean-stage3-gcc
14712 clean-stage3-gcc:
14713 @if [ $(current_stage) = stage3 ]; then \
14714 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14715 else \
14716 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
14717 $(MAKE) stage3-start; \
14718 fi; \
14719 cd $(HOST_SUBDIR)/gcc && \
14720 $(MAKE) $(EXTRA_HOST_FLAGS) \
14721 $(POSTSTAGE1_FLAGS_TO_PASS) \
14722 $(EXTRA_GCC_FLAGS) clean
14723 @endif gcc-bootstrap
14726 .PHONY: all-stageb3g2-gcc maybe-all-stageb3g2-gcc
14727 .PHONY: clean-stageb3g2-gcc maybe-clean-stageb3g2-gcc
14728 maybe-all-stageb3g2-gcc:
14729 maybe-clean-stageb3g2-gcc:
14730 @if gcc-bootstrap
14731 maybe-all-stageb3g2-gcc: all-stageb3g2-gcc
14732 all-stageb3g2: all-stageb3g2-gcc
14733 TARGET-stageb3g2-gcc = $(TARGET-gcc)
14734 all-stageb3g2-gcc: configure-stageb3g2-gcc
14735 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
14736 @r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 $(HOST_EXPORTS) \
14739 $(POSTSTAGE1_HOST_EXPORTS) \
14740 cd $(HOST_SUBDIR)/gcc && \
14741 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14742 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
14743 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
14744 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
14745 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14746 $(TARGET-stageb3g2-gcc)
14748 maybe-clean-stageb3g2-gcc: clean-stageb3g2-gcc
14749 clean-stageb3g2: clean-stageb3g2-gcc
14750 clean-stageb3g2-gcc:
14751 @if [ $(current_stage) = stageb3g2 ]; then \
14752 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14753 else \
14754 [ -f $(HOST_SUBDIR)/stageb3g2-gcc/Makefile ] || exit 0; \
14755 $(MAKE) stageb3g2-start; \
14756 fi; \
14757 cd $(HOST_SUBDIR)/gcc && \
14758 $(MAKE) $(EXTRA_HOST_FLAGS) \
14759 $(POSTSTAGE1_FLAGS_TO_PASS) \
14760 $(EXTRA_GCC_FLAGS) clean
14761 @endif gcc-bootstrap
14764 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
14765 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
14766 maybe-all-stage4-gcc:
14767 maybe-clean-stage4-gcc:
14768 @if gcc-bootstrap
14769 maybe-all-stage4-gcc: all-stage4-gcc
14770 all-stage4: all-stage4-gcc
14771 TARGET-stage4-gcc = $(TARGET-gcc)
14772 all-stage4-gcc: configure-stage4-gcc
14773 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14774 @r=`${PWD_COMMAND}`; export r; \
14775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14776 $(HOST_EXPORTS) \
14777 $(POSTSTAGE1_HOST_EXPORTS) \
14778 cd $(HOST_SUBDIR)/gcc && \
14779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14780 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
14781 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14782 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
14783 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14784 $(TARGET-stage4-gcc)
14786 maybe-clean-stage4-gcc: clean-stage4-gcc
14787 clean-stage4: clean-stage4-gcc
14788 clean-stage4-gcc:
14789 @if [ $(current_stage) = stage4 ]; then \
14790 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14791 else \
14792 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
14793 $(MAKE) stage4-start; \
14794 fi; \
14795 cd $(HOST_SUBDIR)/gcc && \
14796 $(MAKE) $(EXTRA_HOST_FLAGS) \
14797 $(POSTSTAGE1_FLAGS_TO_PASS) \
14798 $(EXTRA_GCC_FLAGS) clean
14799 @endif gcc-bootstrap
14802 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
14803 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
14804 maybe-all-stageprofile-gcc:
14805 maybe-clean-stageprofile-gcc:
14806 @if gcc-bootstrap
14807 maybe-all-stageprofile-gcc: all-stageprofile-gcc
14808 all-stageprofile: all-stageprofile-gcc
14809 TARGET-stageprofile-gcc = $(TARGET-gcc)
14810 all-stageprofile-gcc: configure-stageprofile-gcc
14811 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14812 @r=`${PWD_COMMAND}`; export r; \
14813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14814 $(HOST_EXPORTS) \
14815 $(POSTSTAGE1_HOST_EXPORTS) \
14816 cd $(HOST_SUBDIR)/gcc && \
14817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14818 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
14819 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
14820 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
14821 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14822 $(TARGET-stageprofile-gcc)
14824 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
14825 clean-stageprofile: clean-stageprofile-gcc
14826 clean-stageprofile-gcc:
14827 @if [ $(current_stage) = stageprofile ]; then \
14828 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14829 else \
14830 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
14831 $(MAKE) stageprofile-start; \
14832 fi; \
14833 cd $(HOST_SUBDIR)/gcc && \
14834 $(MAKE) $(EXTRA_HOST_FLAGS) \
14835 $(POSTSTAGE1_FLAGS_TO_PASS) \
14836 $(EXTRA_GCC_FLAGS) clean
14837 @endif gcc-bootstrap
14840 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
14841 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
14842 maybe-all-stagefeedback-gcc:
14843 maybe-clean-stagefeedback-gcc:
14844 @if gcc-bootstrap
14845 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
14846 all-stagefeedback: all-stagefeedback-gcc
14847 TARGET-stagefeedback-gcc = $(TARGET-gcc)
14848 all-stagefeedback-gcc: configure-stagefeedback-gcc
14849 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14850 @r=`${PWD_COMMAND}`; export r; \
14851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14852 $(HOST_EXPORTS) \
14853 $(POSTSTAGE1_HOST_EXPORTS) \
14854 cd $(HOST_SUBDIR)/gcc && \
14855 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14856 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
14857 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
14858 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
14859 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14860 $(TARGET-stagefeedback-gcc)
14862 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
14863 clean-stagefeedback: clean-stagefeedback-gcc
14864 clean-stagefeedback-gcc:
14865 @if [ $(current_stage) = stagefeedback ]; then \
14866 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14867 else \
14868 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
14869 $(MAKE) stagefeedback-start; \
14870 fi; \
14871 cd $(HOST_SUBDIR)/gcc && \
14872 $(MAKE) $(EXTRA_HOST_FLAGS) \
14873 $(POSTSTAGE1_FLAGS_TO_PASS) \
14874 $(EXTRA_GCC_FLAGS) clean
14875 @endif gcc-bootstrap
14881 .PHONY: check-gcc maybe-check-gcc
14882 maybe-check-gcc:
14883 @if gcc
14884 maybe-check-gcc: check-gcc
14886 check-gcc:
14887 @: $(MAKE); $(unstage)
14888 @r=`${PWD_COMMAND}`; export r; \
14889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14890 $(HOST_EXPORTS) \
14891 (cd $(HOST_SUBDIR)/gcc && \
14892 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
14894 @endif gcc
14896 .PHONY: install-gcc maybe-install-gcc
14897 maybe-install-gcc:
14898 @if gcc
14899 maybe-install-gcc: install-gcc
14901 install-gcc: installdirs
14902 @: $(MAKE); $(unstage)
14903 @r=`${PWD_COMMAND}`; export r; \
14904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14905 $(HOST_EXPORTS) \
14906 (cd $(HOST_SUBDIR)/gcc && \
14907 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
14909 @endif gcc
14911 # Other targets (info, dvi, pdf, etc.)
14913 .PHONY: maybe-info-gcc info-gcc
14914 maybe-info-gcc:
14915 @if gcc
14916 maybe-info-gcc: info-gcc
14918 info-gcc: \
14919 configure-gcc
14920 @[ -f ./gcc/Makefile ] || exit 0; \
14921 r=`${PWD_COMMAND}`; export r; \
14922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14923 $(HOST_EXPORTS) \
14924 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14926 done; \
14927 echo "Doing info in gcc" ; \
14928 (cd $(HOST_SUBDIR)/gcc && \
14929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14931 "RANLIB=$${RANLIB}" \
14932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14933 info) \
14934 || exit 1
14936 @endif gcc
14938 .PHONY: maybe-dvi-gcc dvi-gcc
14939 maybe-dvi-gcc:
14940 @if gcc
14941 maybe-dvi-gcc: dvi-gcc
14943 dvi-gcc: \
14944 configure-gcc
14945 @[ -f ./gcc/Makefile ] || exit 0; \
14946 r=`${PWD_COMMAND}`; export r; \
14947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14948 $(HOST_EXPORTS) \
14949 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14951 done; \
14952 echo "Doing dvi in gcc" ; \
14953 (cd $(HOST_SUBDIR)/gcc && \
14954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14956 "RANLIB=$${RANLIB}" \
14957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14958 dvi) \
14959 || exit 1
14961 @endif gcc
14963 .PHONY: maybe-pdf-gcc pdf-gcc
14964 maybe-pdf-gcc:
14965 @if gcc
14966 maybe-pdf-gcc: pdf-gcc
14968 pdf-gcc: \
14969 configure-gcc
14970 @[ -f ./gcc/Makefile ] || exit 0; \
14971 r=`${PWD_COMMAND}`; export r; \
14972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14973 $(HOST_EXPORTS) \
14974 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14976 done; \
14977 echo "Doing pdf in gcc" ; \
14978 (cd $(HOST_SUBDIR)/gcc && \
14979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14981 "RANLIB=$${RANLIB}" \
14982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14983 pdf) \
14984 || exit 1
14986 @endif gcc
14988 .PHONY: maybe-html-gcc html-gcc
14989 maybe-html-gcc:
14990 @if gcc
14991 maybe-html-gcc: html-gcc
14993 html-gcc: \
14994 configure-gcc
14995 @[ -f ./gcc/Makefile ] || exit 0; \
14996 r=`${PWD_COMMAND}`; export r; \
14997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14998 $(HOST_EXPORTS) \
14999 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15001 done; \
15002 echo "Doing html in gcc" ; \
15003 (cd $(HOST_SUBDIR)/gcc && \
15004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15006 "RANLIB=$${RANLIB}" \
15007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15008 html) \
15009 || exit 1
15011 @endif gcc
15013 .PHONY: maybe-TAGS-gcc TAGS-gcc
15014 maybe-TAGS-gcc:
15015 @if gcc
15016 maybe-TAGS-gcc: TAGS-gcc
15018 TAGS-gcc: \
15019 configure-gcc
15020 @[ -f ./gcc/Makefile ] || exit 0; \
15021 r=`${PWD_COMMAND}`; export r; \
15022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15023 $(HOST_EXPORTS) \
15024 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15026 done; \
15027 echo "Doing TAGS in gcc" ; \
15028 (cd $(HOST_SUBDIR)/gcc && \
15029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15031 "RANLIB=$${RANLIB}" \
15032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15033 TAGS) \
15034 || exit 1
15036 @endif gcc
15038 .PHONY: maybe-install-info-gcc install-info-gcc
15039 maybe-install-info-gcc:
15040 @if gcc
15041 maybe-install-info-gcc: install-info-gcc
15043 install-info-gcc: \
15044 configure-gcc \
15045 info-gcc
15046 @[ -f ./gcc/Makefile ] || exit 0; \
15047 r=`${PWD_COMMAND}`; export r; \
15048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15049 $(HOST_EXPORTS) \
15050 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15052 done; \
15053 echo "Doing install-info in gcc" ; \
15054 (cd $(HOST_SUBDIR)/gcc && \
15055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15057 "RANLIB=$${RANLIB}" \
15058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15059 install-info) \
15060 || exit 1
15062 @endif gcc
15064 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
15065 maybe-install-pdf-gcc:
15066 @if gcc
15067 maybe-install-pdf-gcc: install-pdf-gcc
15069 install-pdf-gcc: \
15070 configure-gcc \
15071 pdf-gcc
15072 @[ -f ./gcc/Makefile ] || exit 0; \
15073 r=`${PWD_COMMAND}`; export r; \
15074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15075 $(HOST_EXPORTS) \
15076 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15078 done; \
15079 echo "Doing install-pdf in gcc" ; \
15080 (cd $(HOST_SUBDIR)/gcc && \
15081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15083 "RANLIB=$${RANLIB}" \
15084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15085 install-pdf) \
15086 || exit 1
15088 @endif gcc
15090 .PHONY: maybe-install-html-gcc install-html-gcc
15091 maybe-install-html-gcc:
15092 @if gcc
15093 maybe-install-html-gcc: install-html-gcc
15095 install-html-gcc: \
15096 configure-gcc \
15097 html-gcc
15098 @[ -f ./gcc/Makefile ] || exit 0; \
15099 r=`${PWD_COMMAND}`; export r; \
15100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15101 $(HOST_EXPORTS) \
15102 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15104 done; \
15105 echo "Doing install-html in gcc" ; \
15106 (cd $(HOST_SUBDIR)/gcc && \
15107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15109 "RANLIB=$${RANLIB}" \
15110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15111 install-html) \
15112 || exit 1
15114 @endif gcc
15116 .PHONY: maybe-installcheck-gcc installcheck-gcc
15117 maybe-installcheck-gcc:
15118 @if gcc
15119 maybe-installcheck-gcc: installcheck-gcc
15121 installcheck-gcc: \
15122 configure-gcc
15123 @[ -f ./gcc/Makefile ] || exit 0; \
15124 r=`${PWD_COMMAND}`; export r; \
15125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15126 $(HOST_EXPORTS) \
15127 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15129 done; \
15130 echo "Doing installcheck in gcc" ; \
15131 (cd $(HOST_SUBDIR)/gcc && \
15132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15134 "RANLIB=$${RANLIB}" \
15135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15136 installcheck) \
15137 || exit 1
15139 @endif gcc
15141 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
15142 maybe-mostlyclean-gcc:
15143 @if gcc
15144 maybe-mostlyclean-gcc: mostlyclean-gcc
15146 mostlyclean-gcc:
15147 @[ -f ./gcc/Makefile ] || exit 0; \
15148 r=`${PWD_COMMAND}`; export r; \
15149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15150 $(HOST_EXPORTS) \
15151 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15153 done; \
15154 echo "Doing mostlyclean in gcc" ; \
15155 (cd $(HOST_SUBDIR)/gcc && \
15156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15158 "RANLIB=$${RANLIB}" \
15159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15160 mostlyclean) \
15161 || exit 1
15163 @endif gcc
15165 .PHONY: maybe-clean-gcc clean-gcc
15166 maybe-clean-gcc:
15167 @if gcc
15168 maybe-clean-gcc: clean-gcc
15170 clean-gcc:
15171 @[ -f ./gcc/Makefile ] || exit 0; \
15172 r=`${PWD_COMMAND}`; export r; \
15173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15174 $(HOST_EXPORTS) \
15175 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15177 done; \
15178 echo "Doing clean in gcc" ; \
15179 (cd $(HOST_SUBDIR)/gcc && \
15180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15182 "RANLIB=$${RANLIB}" \
15183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15184 clean) \
15185 || exit 1
15187 @endif gcc
15189 .PHONY: maybe-distclean-gcc distclean-gcc
15190 maybe-distclean-gcc:
15191 @if gcc
15192 maybe-distclean-gcc: distclean-gcc
15194 distclean-gcc:
15195 @[ -f ./gcc/Makefile ] || exit 0; \
15196 r=`${PWD_COMMAND}`; export r; \
15197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15198 $(HOST_EXPORTS) \
15199 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15201 done; \
15202 echo "Doing distclean in gcc" ; \
15203 (cd $(HOST_SUBDIR)/gcc && \
15204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15206 "RANLIB=$${RANLIB}" \
15207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15208 distclean) \
15209 || exit 1
15211 @endif gcc
15213 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15214 maybe-maintainer-clean-gcc:
15215 @if gcc
15216 maybe-maintainer-clean-gcc: maintainer-clean-gcc
15218 maintainer-clean-gcc:
15219 @[ -f ./gcc/Makefile ] || exit 0; \
15220 r=`${PWD_COMMAND}`; export r; \
15221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15222 $(HOST_EXPORTS) \
15223 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15225 done; \
15226 echo "Doing maintainer-clean in gcc" ; \
15227 (cd $(HOST_SUBDIR)/gcc && \
15228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15230 "RANLIB=$${RANLIB}" \
15231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15232 maintainer-clean) \
15233 || exit 1
15235 @endif gcc
15239 .PHONY: configure-gawk maybe-configure-gawk
15240 maybe-configure-gawk:
15241 @if gcc-bootstrap
15242 configure-gawk: stage_current
15243 @endif gcc-bootstrap
15244 @if gawk
15245 maybe-configure-gawk: configure-gawk
15246 configure-gawk:
15247 @: $(MAKE); $(unstage)
15248 @r=`${PWD_COMMAND}`; export r; \
15249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15250 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
15251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
15252 $(HOST_EXPORTS) \
15253 echo Configuring in $(HOST_SUBDIR)/gawk; \
15254 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
15255 case $(srcdir) in \
15256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15257 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
15258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15259 esac; \
15260 srcdiroption="--srcdir=$${topdir}/gawk"; \
15261 libsrcdir="$$s/gawk"; \
15262 $(SHELL) $${libsrcdir}/configure \
15263 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15264 --target=${target_alias} $${srcdiroption} \
15265 || exit 1
15266 @endif gawk
15272 .PHONY: all-gawk maybe-all-gawk
15273 maybe-all-gawk:
15274 @if gcc-bootstrap
15275 all-gawk: stage_current
15276 @endif gcc-bootstrap
15277 @if gawk
15278 TARGET-gawk=all
15279 maybe-all-gawk: all-gawk
15280 all-gawk: configure-gawk
15281 @: $(MAKE); $(unstage)
15282 @r=`${PWD_COMMAND}`; export r; \
15283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15284 $(HOST_EXPORTS) \
15285 (cd $(HOST_SUBDIR)/gawk && \
15286 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15287 $(TARGET-gawk))
15288 @endif gawk
15293 .PHONY: check-gawk maybe-check-gawk
15294 maybe-check-gawk:
15295 @if gawk
15296 maybe-check-gawk: check-gawk
15298 check-gawk:
15299 @: $(MAKE); $(unstage)
15300 @r=`${PWD_COMMAND}`; export r; \
15301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15302 $(HOST_EXPORTS) \
15303 (cd $(HOST_SUBDIR)/gawk && \
15304 $(MAKE) $(FLAGS_TO_PASS) check)
15306 @endif gawk
15308 .PHONY: install-gawk maybe-install-gawk
15309 maybe-install-gawk:
15310 @if gawk
15311 maybe-install-gawk: install-gawk
15313 install-gawk: installdirs
15314 @: $(MAKE); $(unstage)
15315 @r=`${PWD_COMMAND}`; export r; \
15316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15317 $(HOST_EXPORTS) \
15318 (cd $(HOST_SUBDIR)/gawk && \
15319 $(MAKE) $(FLAGS_TO_PASS) install)
15321 @endif gawk
15323 # Other targets (info, dvi, pdf, etc.)
15325 .PHONY: maybe-info-gawk info-gawk
15326 maybe-info-gawk:
15327 @if gawk
15328 maybe-info-gawk: info-gawk
15330 info-gawk: \
15331 configure-gawk
15332 @: $(MAKE); $(unstage)
15333 @[ -f ./gawk/Makefile ] || exit 0; \
15334 r=`${PWD_COMMAND}`; export r; \
15335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15336 $(HOST_EXPORTS) \
15337 for flag in $(EXTRA_HOST_FLAGS) ; do \
15338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15339 done; \
15340 echo "Doing info in gawk" ; \
15341 (cd $(HOST_SUBDIR)/gawk && \
15342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15344 "RANLIB=$${RANLIB}" \
15345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15346 info) \
15347 || exit 1
15349 @endif gawk
15351 .PHONY: maybe-dvi-gawk dvi-gawk
15352 maybe-dvi-gawk:
15353 @if gawk
15354 maybe-dvi-gawk: dvi-gawk
15356 dvi-gawk: \
15357 configure-gawk
15358 @: $(MAKE); $(unstage)
15359 @[ -f ./gawk/Makefile ] || exit 0; \
15360 r=`${PWD_COMMAND}`; export r; \
15361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15362 $(HOST_EXPORTS) \
15363 for flag in $(EXTRA_HOST_FLAGS) ; do \
15364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15365 done; \
15366 echo "Doing dvi in gawk" ; \
15367 (cd $(HOST_SUBDIR)/gawk && \
15368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15370 "RANLIB=$${RANLIB}" \
15371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15372 dvi) \
15373 || exit 1
15375 @endif gawk
15377 .PHONY: maybe-pdf-gawk pdf-gawk
15378 maybe-pdf-gawk:
15379 @if gawk
15380 maybe-pdf-gawk: pdf-gawk
15382 pdf-gawk: \
15383 configure-gawk
15384 @: $(MAKE); $(unstage)
15385 @[ -f ./gawk/Makefile ] || exit 0; \
15386 r=`${PWD_COMMAND}`; export r; \
15387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15388 $(HOST_EXPORTS) \
15389 for flag in $(EXTRA_HOST_FLAGS) ; do \
15390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15391 done; \
15392 echo "Doing pdf in gawk" ; \
15393 (cd $(HOST_SUBDIR)/gawk && \
15394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15396 "RANLIB=$${RANLIB}" \
15397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15398 pdf) \
15399 || exit 1
15401 @endif gawk
15403 .PHONY: maybe-html-gawk html-gawk
15404 maybe-html-gawk:
15405 @if gawk
15406 maybe-html-gawk: html-gawk
15408 html-gawk: \
15409 configure-gawk
15410 @: $(MAKE); $(unstage)
15411 @[ -f ./gawk/Makefile ] || exit 0; \
15412 r=`${PWD_COMMAND}`; export r; \
15413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15414 $(HOST_EXPORTS) \
15415 for flag in $(EXTRA_HOST_FLAGS) ; do \
15416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15417 done; \
15418 echo "Doing html in gawk" ; \
15419 (cd $(HOST_SUBDIR)/gawk && \
15420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15422 "RANLIB=$${RANLIB}" \
15423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15424 html) \
15425 || exit 1
15427 @endif gawk
15429 .PHONY: maybe-TAGS-gawk TAGS-gawk
15430 maybe-TAGS-gawk:
15431 @if gawk
15432 maybe-TAGS-gawk: TAGS-gawk
15434 TAGS-gawk: \
15435 configure-gawk
15436 @: $(MAKE); $(unstage)
15437 @[ -f ./gawk/Makefile ] || exit 0; \
15438 r=`${PWD_COMMAND}`; export r; \
15439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15440 $(HOST_EXPORTS) \
15441 for flag in $(EXTRA_HOST_FLAGS) ; do \
15442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15443 done; \
15444 echo "Doing TAGS in gawk" ; \
15445 (cd $(HOST_SUBDIR)/gawk && \
15446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15448 "RANLIB=$${RANLIB}" \
15449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15450 TAGS) \
15451 || exit 1
15453 @endif gawk
15455 .PHONY: maybe-install-info-gawk install-info-gawk
15456 maybe-install-info-gawk:
15457 @if gawk
15458 maybe-install-info-gawk: install-info-gawk
15460 install-info-gawk: \
15461 configure-gawk \
15462 info-gawk
15463 @: $(MAKE); $(unstage)
15464 @[ -f ./gawk/Makefile ] || exit 0; \
15465 r=`${PWD_COMMAND}`; export r; \
15466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15467 $(HOST_EXPORTS) \
15468 for flag in $(EXTRA_HOST_FLAGS) ; do \
15469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15470 done; \
15471 echo "Doing install-info in gawk" ; \
15472 (cd $(HOST_SUBDIR)/gawk && \
15473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15475 "RANLIB=$${RANLIB}" \
15476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15477 install-info) \
15478 || exit 1
15480 @endif gawk
15482 .PHONY: maybe-install-pdf-gawk install-pdf-gawk
15483 maybe-install-pdf-gawk:
15484 @if gawk
15485 maybe-install-pdf-gawk: install-pdf-gawk
15487 install-pdf-gawk: \
15488 configure-gawk \
15489 pdf-gawk
15490 @: $(MAKE); $(unstage)
15491 @[ -f ./gawk/Makefile ] || exit 0; \
15492 r=`${PWD_COMMAND}`; export r; \
15493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15494 $(HOST_EXPORTS) \
15495 for flag in $(EXTRA_HOST_FLAGS) ; do \
15496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15497 done; \
15498 echo "Doing install-pdf in gawk" ; \
15499 (cd $(HOST_SUBDIR)/gawk && \
15500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15502 "RANLIB=$${RANLIB}" \
15503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15504 install-pdf) \
15505 || exit 1
15507 @endif gawk
15509 .PHONY: maybe-install-html-gawk install-html-gawk
15510 maybe-install-html-gawk:
15511 @if gawk
15512 maybe-install-html-gawk: install-html-gawk
15514 install-html-gawk: \
15515 configure-gawk \
15516 html-gawk
15517 @: $(MAKE); $(unstage)
15518 @[ -f ./gawk/Makefile ] || exit 0; \
15519 r=`${PWD_COMMAND}`; export r; \
15520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15521 $(HOST_EXPORTS) \
15522 for flag in $(EXTRA_HOST_FLAGS) ; do \
15523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15524 done; \
15525 echo "Doing install-html in gawk" ; \
15526 (cd $(HOST_SUBDIR)/gawk && \
15527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15529 "RANLIB=$${RANLIB}" \
15530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15531 install-html) \
15532 || exit 1
15534 @endif gawk
15536 .PHONY: maybe-installcheck-gawk installcheck-gawk
15537 maybe-installcheck-gawk:
15538 @if gawk
15539 maybe-installcheck-gawk: installcheck-gawk
15541 installcheck-gawk: \
15542 configure-gawk
15543 @: $(MAKE); $(unstage)
15544 @[ -f ./gawk/Makefile ] || exit 0; \
15545 r=`${PWD_COMMAND}`; export r; \
15546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15547 $(HOST_EXPORTS) \
15548 for flag in $(EXTRA_HOST_FLAGS) ; do \
15549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15550 done; \
15551 echo "Doing installcheck in gawk" ; \
15552 (cd $(HOST_SUBDIR)/gawk && \
15553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15555 "RANLIB=$${RANLIB}" \
15556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15557 installcheck) \
15558 || exit 1
15560 @endif gawk
15562 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
15563 maybe-mostlyclean-gawk:
15564 @if gawk
15565 maybe-mostlyclean-gawk: mostlyclean-gawk
15567 mostlyclean-gawk:
15568 @: $(MAKE); $(unstage)
15569 @[ -f ./gawk/Makefile ] || exit 0; \
15570 r=`${PWD_COMMAND}`; export r; \
15571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15572 $(HOST_EXPORTS) \
15573 for flag in $(EXTRA_HOST_FLAGS) ; do \
15574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15575 done; \
15576 echo "Doing mostlyclean in gawk" ; \
15577 (cd $(HOST_SUBDIR)/gawk && \
15578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15580 "RANLIB=$${RANLIB}" \
15581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15582 mostlyclean) \
15583 || exit 1
15585 @endif gawk
15587 .PHONY: maybe-clean-gawk clean-gawk
15588 maybe-clean-gawk:
15589 @if gawk
15590 maybe-clean-gawk: clean-gawk
15592 clean-gawk:
15593 @: $(MAKE); $(unstage)
15594 @[ -f ./gawk/Makefile ] || exit 0; \
15595 r=`${PWD_COMMAND}`; export r; \
15596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15597 $(HOST_EXPORTS) \
15598 for flag in $(EXTRA_HOST_FLAGS) ; do \
15599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15600 done; \
15601 echo "Doing clean in gawk" ; \
15602 (cd $(HOST_SUBDIR)/gawk && \
15603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15605 "RANLIB=$${RANLIB}" \
15606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15607 clean) \
15608 || exit 1
15610 @endif gawk
15612 .PHONY: maybe-distclean-gawk distclean-gawk
15613 maybe-distclean-gawk:
15614 @if gawk
15615 maybe-distclean-gawk: distclean-gawk
15617 distclean-gawk:
15618 @: $(MAKE); $(unstage)
15619 @[ -f ./gawk/Makefile ] || exit 0; \
15620 r=`${PWD_COMMAND}`; export r; \
15621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15622 $(HOST_EXPORTS) \
15623 for flag in $(EXTRA_HOST_FLAGS) ; do \
15624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15625 done; \
15626 echo "Doing distclean in gawk" ; \
15627 (cd $(HOST_SUBDIR)/gawk && \
15628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15630 "RANLIB=$${RANLIB}" \
15631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15632 distclean) \
15633 || exit 1
15635 @endif gawk
15637 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
15638 maybe-maintainer-clean-gawk:
15639 @if gawk
15640 maybe-maintainer-clean-gawk: maintainer-clean-gawk
15642 maintainer-clean-gawk:
15643 @: $(MAKE); $(unstage)
15644 @[ -f ./gawk/Makefile ] || exit 0; \
15645 r=`${PWD_COMMAND}`; export r; \
15646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15647 $(HOST_EXPORTS) \
15648 for flag in $(EXTRA_HOST_FLAGS) ; do \
15649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15650 done; \
15651 echo "Doing maintainer-clean in gawk" ; \
15652 (cd $(HOST_SUBDIR)/gawk && \
15653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15655 "RANLIB=$${RANLIB}" \
15656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15657 maintainer-clean) \
15658 || exit 1
15660 @endif gawk
15664 .PHONY: configure-gettext maybe-configure-gettext
15665 maybe-configure-gettext:
15666 @if gcc-bootstrap
15667 configure-gettext: stage_current
15668 @endif gcc-bootstrap
15669 @if gettext
15670 maybe-configure-gettext: configure-gettext
15671 configure-gettext:
15672 @: $(MAKE); $(unstage)
15673 @r=`${PWD_COMMAND}`; export r; \
15674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15675 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
15676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
15677 $(HOST_EXPORTS) \
15678 echo Configuring in $(HOST_SUBDIR)/gettext; \
15679 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
15680 case $(srcdir) in \
15681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15682 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
15683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15684 esac; \
15685 srcdiroption="--srcdir=$${topdir}/gettext"; \
15686 libsrcdir="$$s/gettext"; \
15687 $(SHELL) $${libsrcdir}/configure \
15688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15689 --target=${target_alias} $${srcdiroption} \
15690 || exit 1
15691 @endif gettext
15697 .PHONY: all-gettext maybe-all-gettext
15698 maybe-all-gettext:
15699 @if gcc-bootstrap
15700 all-gettext: stage_current
15701 @endif gcc-bootstrap
15702 @if gettext
15703 TARGET-gettext=all
15704 maybe-all-gettext: all-gettext
15705 all-gettext: configure-gettext
15706 @: $(MAKE); $(unstage)
15707 @r=`${PWD_COMMAND}`; export r; \
15708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15709 $(HOST_EXPORTS) \
15710 (cd $(HOST_SUBDIR)/gettext && \
15711 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15712 $(TARGET-gettext))
15713 @endif gettext
15718 .PHONY: check-gettext maybe-check-gettext
15719 maybe-check-gettext:
15720 @if gettext
15721 maybe-check-gettext: check-gettext
15723 check-gettext:
15724 @: $(MAKE); $(unstage)
15725 @r=`${PWD_COMMAND}`; export r; \
15726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15727 $(HOST_EXPORTS) \
15728 (cd $(HOST_SUBDIR)/gettext && \
15729 $(MAKE) $(FLAGS_TO_PASS) check)
15731 @endif gettext
15733 .PHONY: install-gettext maybe-install-gettext
15734 maybe-install-gettext:
15735 @if gettext
15736 maybe-install-gettext: install-gettext
15738 install-gettext: installdirs
15739 @: $(MAKE); $(unstage)
15740 @r=`${PWD_COMMAND}`; export r; \
15741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15742 $(HOST_EXPORTS) \
15743 (cd $(HOST_SUBDIR)/gettext && \
15744 $(MAKE) $(FLAGS_TO_PASS) install)
15746 @endif gettext
15748 # Other targets (info, dvi, pdf, etc.)
15750 .PHONY: maybe-info-gettext info-gettext
15751 maybe-info-gettext:
15752 @if gettext
15753 maybe-info-gettext: info-gettext
15755 info-gettext: \
15756 configure-gettext
15757 @: $(MAKE); $(unstage)
15758 @[ -f ./gettext/Makefile ] || exit 0; \
15759 r=`${PWD_COMMAND}`; export r; \
15760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15761 $(HOST_EXPORTS) \
15762 for flag in $(EXTRA_HOST_FLAGS) ; do \
15763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15764 done; \
15765 echo "Doing info in gettext" ; \
15766 (cd $(HOST_SUBDIR)/gettext && \
15767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15769 "RANLIB=$${RANLIB}" \
15770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15771 info) \
15772 || exit 1
15774 @endif gettext
15776 .PHONY: maybe-dvi-gettext dvi-gettext
15777 maybe-dvi-gettext:
15778 @if gettext
15779 maybe-dvi-gettext: dvi-gettext
15781 dvi-gettext: \
15782 configure-gettext
15783 @: $(MAKE); $(unstage)
15784 @[ -f ./gettext/Makefile ] || exit 0; \
15785 r=`${PWD_COMMAND}`; export r; \
15786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787 $(HOST_EXPORTS) \
15788 for flag in $(EXTRA_HOST_FLAGS) ; do \
15789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15790 done; \
15791 echo "Doing dvi in gettext" ; \
15792 (cd $(HOST_SUBDIR)/gettext && \
15793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15795 "RANLIB=$${RANLIB}" \
15796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15797 dvi) \
15798 || exit 1
15800 @endif gettext
15802 .PHONY: maybe-pdf-gettext pdf-gettext
15803 maybe-pdf-gettext:
15804 @if gettext
15805 maybe-pdf-gettext: pdf-gettext
15807 pdf-gettext: \
15808 configure-gettext
15809 @: $(MAKE); $(unstage)
15810 @[ -f ./gettext/Makefile ] || exit 0; \
15811 r=`${PWD_COMMAND}`; export r; \
15812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15813 $(HOST_EXPORTS) \
15814 for flag in $(EXTRA_HOST_FLAGS) ; do \
15815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15816 done; \
15817 echo "Doing pdf in gettext" ; \
15818 (cd $(HOST_SUBDIR)/gettext && \
15819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15821 "RANLIB=$${RANLIB}" \
15822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15823 pdf) \
15824 || exit 1
15826 @endif gettext
15828 .PHONY: maybe-html-gettext html-gettext
15829 maybe-html-gettext:
15830 @if gettext
15831 maybe-html-gettext: html-gettext
15833 html-gettext: \
15834 configure-gettext
15835 @: $(MAKE); $(unstage)
15836 @[ -f ./gettext/Makefile ] || exit 0; \
15837 r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15839 $(HOST_EXPORTS) \
15840 for flag in $(EXTRA_HOST_FLAGS) ; do \
15841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15842 done; \
15843 echo "Doing html in gettext" ; \
15844 (cd $(HOST_SUBDIR)/gettext && \
15845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15847 "RANLIB=$${RANLIB}" \
15848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15849 html) \
15850 || exit 1
15852 @endif gettext
15854 .PHONY: maybe-TAGS-gettext TAGS-gettext
15855 maybe-TAGS-gettext:
15856 @if gettext
15857 maybe-TAGS-gettext: TAGS-gettext
15859 TAGS-gettext: \
15860 configure-gettext
15861 @: $(MAKE); $(unstage)
15862 @[ -f ./gettext/Makefile ] || exit 0; \
15863 r=`${PWD_COMMAND}`; export r; \
15864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15865 $(HOST_EXPORTS) \
15866 for flag in $(EXTRA_HOST_FLAGS) ; do \
15867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15868 done; \
15869 echo "Doing TAGS in gettext" ; \
15870 (cd $(HOST_SUBDIR)/gettext && \
15871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15873 "RANLIB=$${RANLIB}" \
15874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15875 TAGS) \
15876 || exit 1
15878 @endif gettext
15880 .PHONY: maybe-install-info-gettext install-info-gettext
15881 maybe-install-info-gettext:
15882 @if gettext
15883 maybe-install-info-gettext: install-info-gettext
15885 install-info-gettext: \
15886 configure-gettext \
15887 info-gettext
15888 @: $(MAKE); $(unstage)
15889 @[ -f ./gettext/Makefile ] || exit 0; \
15890 r=`${PWD_COMMAND}`; export r; \
15891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15892 $(HOST_EXPORTS) \
15893 for flag in $(EXTRA_HOST_FLAGS) ; do \
15894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15895 done; \
15896 echo "Doing install-info in gettext" ; \
15897 (cd $(HOST_SUBDIR)/gettext && \
15898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15900 "RANLIB=$${RANLIB}" \
15901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15902 install-info) \
15903 || exit 1
15905 @endif gettext
15907 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
15908 maybe-install-pdf-gettext:
15909 @if gettext
15910 maybe-install-pdf-gettext: install-pdf-gettext
15912 install-pdf-gettext: \
15913 configure-gettext \
15914 pdf-gettext
15915 @: $(MAKE); $(unstage)
15916 @[ -f ./gettext/Makefile ] || exit 0; \
15917 r=`${PWD_COMMAND}`; export r; \
15918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15919 $(HOST_EXPORTS) \
15920 for flag in $(EXTRA_HOST_FLAGS) ; do \
15921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15922 done; \
15923 echo "Doing install-pdf in gettext" ; \
15924 (cd $(HOST_SUBDIR)/gettext && \
15925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15927 "RANLIB=$${RANLIB}" \
15928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15929 install-pdf) \
15930 || exit 1
15932 @endif gettext
15934 .PHONY: maybe-install-html-gettext install-html-gettext
15935 maybe-install-html-gettext:
15936 @if gettext
15937 maybe-install-html-gettext: install-html-gettext
15939 install-html-gettext: \
15940 configure-gettext \
15941 html-gettext
15942 @: $(MAKE); $(unstage)
15943 @[ -f ./gettext/Makefile ] || exit 0; \
15944 r=`${PWD_COMMAND}`; export r; \
15945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15946 $(HOST_EXPORTS) \
15947 for flag in $(EXTRA_HOST_FLAGS) ; do \
15948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15949 done; \
15950 echo "Doing install-html in gettext" ; \
15951 (cd $(HOST_SUBDIR)/gettext && \
15952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15954 "RANLIB=$${RANLIB}" \
15955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15956 install-html) \
15957 || exit 1
15959 @endif gettext
15961 .PHONY: maybe-installcheck-gettext installcheck-gettext
15962 maybe-installcheck-gettext:
15963 @if gettext
15964 maybe-installcheck-gettext: installcheck-gettext
15966 installcheck-gettext: \
15967 configure-gettext
15968 @: $(MAKE); $(unstage)
15969 @[ -f ./gettext/Makefile ] || exit 0; \
15970 r=`${PWD_COMMAND}`; export r; \
15971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15972 $(HOST_EXPORTS) \
15973 for flag in $(EXTRA_HOST_FLAGS) ; do \
15974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15975 done; \
15976 echo "Doing installcheck in gettext" ; \
15977 (cd $(HOST_SUBDIR)/gettext && \
15978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15980 "RANLIB=$${RANLIB}" \
15981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15982 installcheck) \
15983 || exit 1
15985 @endif gettext
15987 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
15988 maybe-mostlyclean-gettext:
15989 @if gettext
15990 maybe-mostlyclean-gettext: mostlyclean-gettext
15992 mostlyclean-gettext:
15993 @: $(MAKE); $(unstage)
15994 @[ -f ./gettext/Makefile ] || exit 0; \
15995 r=`${PWD_COMMAND}`; export r; \
15996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15997 $(HOST_EXPORTS) \
15998 for flag in $(EXTRA_HOST_FLAGS) ; do \
15999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16000 done; \
16001 echo "Doing mostlyclean in gettext" ; \
16002 (cd $(HOST_SUBDIR)/gettext && \
16003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16005 "RANLIB=$${RANLIB}" \
16006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16007 mostlyclean) \
16008 || exit 1
16010 @endif gettext
16012 .PHONY: maybe-clean-gettext clean-gettext
16013 maybe-clean-gettext:
16014 @if gettext
16015 maybe-clean-gettext: clean-gettext
16017 clean-gettext:
16018 @: $(MAKE); $(unstage)
16019 @[ -f ./gettext/Makefile ] || exit 0; \
16020 r=`${PWD_COMMAND}`; export r; \
16021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16022 $(HOST_EXPORTS) \
16023 for flag in $(EXTRA_HOST_FLAGS) ; do \
16024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16025 done; \
16026 echo "Doing clean in gettext" ; \
16027 (cd $(HOST_SUBDIR)/gettext && \
16028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16030 "RANLIB=$${RANLIB}" \
16031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16032 clean) \
16033 || exit 1
16035 @endif gettext
16037 .PHONY: maybe-distclean-gettext distclean-gettext
16038 maybe-distclean-gettext:
16039 @if gettext
16040 maybe-distclean-gettext: distclean-gettext
16042 distclean-gettext:
16043 @: $(MAKE); $(unstage)
16044 @[ -f ./gettext/Makefile ] || exit 0; \
16045 r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047 $(HOST_EXPORTS) \
16048 for flag in $(EXTRA_HOST_FLAGS) ; do \
16049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16050 done; \
16051 echo "Doing distclean in gettext" ; \
16052 (cd $(HOST_SUBDIR)/gettext && \
16053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16055 "RANLIB=$${RANLIB}" \
16056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16057 distclean) \
16058 || exit 1
16060 @endif gettext
16062 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16063 maybe-maintainer-clean-gettext:
16064 @if gettext
16065 maybe-maintainer-clean-gettext: maintainer-clean-gettext
16067 maintainer-clean-gettext:
16068 @: $(MAKE); $(unstage)
16069 @[ -f ./gettext/Makefile ] || exit 0; \
16070 r=`${PWD_COMMAND}`; export r; \
16071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16072 $(HOST_EXPORTS) \
16073 for flag in $(EXTRA_HOST_FLAGS) ; do \
16074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16075 done; \
16076 echo "Doing maintainer-clean in gettext" ; \
16077 (cd $(HOST_SUBDIR)/gettext && \
16078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16080 "RANLIB=$${RANLIB}" \
16081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16082 maintainer-clean) \
16083 || exit 1
16085 @endif gettext
16089 .PHONY: configure-gmp maybe-configure-gmp
16090 maybe-configure-gmp:
16091 @if gcc-bootstrap
16092 configure-gmp: stage_current
16093 @endif gcc-bootstrap
16094 @if gmp
16095 maybe-configure-gmp: configure-gmp
16096 configure-gmp:
16097 @r=`${PWD_COMMAND}`; export r; \
16098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16099 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16101 $(HOST_EXPORTS) \
16102 echo Configuring in $(HOST_SUBDIR)/gmp; \
16103 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
16104 case $(srcdir) in \
16105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16106 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16108 esac; \
16109 srcdiroption="--srcdir=$${topdir}/gmp"; \
16110 libsrcdir="$$s/gmp"; \
16111 $(SHELL) $${libsrcdir}/configure \
16112 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16113 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
16114 || exit 1
16115 @endif gmp
16119 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
16120 maybe-configure-stage1-gmp:
16121 @if gmp-bootstrap
16122 maybe-configure-stage1-gmp: configure-stage1-gmp
16123 configure-stage1-gmp:
16124 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16126 @r=`${PWD_COMMAND}`; export r; \
16127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16128 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16129 $(HOST_EXPORTS) \
16130 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16131 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
16132 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
16133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16134 cd $(HOST_SUBDIR)/gmp || exit 1; \
16135 case $(srcdir) in \
16136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16137 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16139 esac; \
16140 srcdiroption="--srcdir=$${topdir}/gmp"; \
16141 libsrcdir="$$s/gmp"; \
16142 $(SHELL) $${libsrcdir}/configure \
16143 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16144 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16146 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared
16147 @endif gmp-bootstrap
16149 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
16150 maybe-configure-stage2-gmp:
16151 @if gmp-bootstrap
16152 maybe-configure-stage2-gmp: configure-stage2-gmp
16153 configure-stage2-gmp:
16154 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16156 @r=`${PWD_COMMAND}`; export r; \
16157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16158 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16159 $(HOST_EXPORTS) \
16160 $(POSTSTAGE1_HOST_EXPORTS) \
16161 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16162 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
16163 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
16164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16165 cd $(HOST_SUBDIR)/gmp || exit 1; \
16166 case $(srcdir) in \
16167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16168 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16170 esac; \
16171 srcdiroption="--srcdir=$${topdir}/gmp"; \
16172 libsrcdir="$$s/gmp"; \
16173 $(SHELL) $${libsrcdir}/configure \
16174 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16175 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16176 --with-build-libsubdir=$(HOST_SUBDIR) \
16177 @stage2_werror_flag@ --disable-shared
16178 @endif gmp-bootstrap
16180 .PHONY: configure-stageb2g0-gmp maybe-configure-stageb2g0-gmp
16181 maybe-configure-stageb2g0-gmp:
16182 @if gmp-bootstrap
16183 maybe-configure-stageb2g0-gmp: configure-stageb2g0-gmp
16184 configure-stageb2g0-gmp:
16185 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
16186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16187 @r=`${PWD_COMMAND}`; export r; \
16188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16189 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16190 $(HOST_EXPORTS) \
16191 $(POSTSTAGE1_HOST_EXPORTS) \
16192 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
16193 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
16194 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gmp ; \
16195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16196 cd $(HOST_SUBDIR)/gmp || exit 1; \
16197 case $(srcdir) in \
16198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16199 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16201 esac; \
16202 srcdiroption="--srcdir=$${topdir}/gmp"; \
16203 libsrcdir="$$s/gmp"; \
16204 $(SHELL) $${libsrcdir}/configure \
16205 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16206 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16207 --with-build-libsubdir=$(HOST_SUBDIR) \
16208 @stage2_werror_flag@ --disable-shared
16209 @endif gmp-bootstrap
16211 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
16212 maybe-configure-stage3-gmp:
16213 @if gmp-bootstrap
16214 maybe-configure-stage3-gmp: configure-stage3-gmp
16215 configure-stage3-gmp:
16216 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16218 @r=`${PWD_COMMAND}`; export r; \
16219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16220 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16221 $(HOST_EXPORTS) \
16222 $(POSTSTAGE1_HOST_EXPORTS) \
16223 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16224 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
16225 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
16226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16227 cd $(HOST_SUBDIR)/gmp || exit 1; \
16228 case $(srcdir) in \
16229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16230 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16232 esac; \
16233 srcdiroption="--srcdir=$${topdir}/gmp"; \
16234 libsrcdir="$$s/gmp"; \
16235 $(SHELL) $${libsrcdir}/configure \
16236 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16237 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16238 --with-build-libsubdir=$(HOST_SUBDIR) \
16239 @stage2_werror_flag@ --disable-shared
16240 @endif gmp-bootstrap
16242 .PHONY: configure-stageb3g2-gmp maybe-configure-stageb3g2-gmp
16243 maybe-configure-stageb3g2-gmp:
16244 @if gmp-bootstrap
16245 maybe-configure-stageb3g2-gmp: configure-stageb3g2-gmp
16246 configure-stageb3g2-gmp:
16247 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
16248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16249 @r=`${PWD_COMMAND}`; export r; \
16250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16251 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16252 $(HOST_EXPORTS) \
16253 $(POSTSTAGE1_HOST_EXPORTS) \
16254 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
16255 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
16256 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gmp ; \
16257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16258 cd $(HOST_SUBDIR)/gmp || exit 1; \
16259 case $(srcdir) in \
16260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16261 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16263 esac; \
16264 srcdiroption="--srcdir=$${topdir}/gmp"; \
16265 libsrcdir="$$s/gmp"; \
16266 $(SHELL) $${libsrcdir}/configure \
16267 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16268 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16269 --with-build-libsubdir=$(HOST_SUBDIR) \
16270 @stage2_werror_flag@ --disable-shared
16271 @endif gmp-bootstrap
16273 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
16274 maybe-configure-stage4-gmp:
16275 @if gmp-bootstrap
16276 maybe-configure-stage4-gmp: configure-stage4-gmp
16277 configure-stage4-gmp:
16278 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16280 @r=`${PWD_COMMAND}`; export r; \
16281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16282 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16283 $(HOST_EXPORTS) \
16284 $(POSTSTAGE1_HOST_EXPORTS) \
16285 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16286 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
16287 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
16288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16289 cd $(HOST_SUBDIR)/gmp || exit 1; \
16290 case $(srcdir) in \
16291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16292 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16294 esac; \
16295 srcdiroption="--srcdir=$${topdir}/gmp"; \
16296 libsrcdir="$$s/gmp"; \
16297 $(SHELL) $${libsrcdir}/configure \
16298 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16299 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16300 --with-build-libsubdir=$(HOST_SUBDIR) \
16301 @stage2_werror_flag@ --disable-shared
16302 @endif gmp-bootstrap
16304 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
16305 maybe-configure-stageprofile-gmp:
16306 @if gmp-bootstrap
16307 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
16308 configure-stageprofile-gmp:
16309 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16311 @r=`${PWD_COMMAND}`; export r; \
16312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16313 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16314 $(HOST_EXPORTS) \
16315 $(POSTSTAGE1_HOST_EXPORTS) \
16316 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
16317 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
16318 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
16319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16320 cd $(HOST_SUBDIR)/gmp || exit 1; \
16321 case $(srcdir) in \
16322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16323 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16325 esac; \
16326 srcdiroption="--srcdir=$${topdir}/gmp"; \
16327 libsrcdir="$$s/gmp"; \
16328 $(SHELL) $${libsrcdir}/configure \
16329 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16330 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16331 --with-build-libsubdir=$(HOST_SUBDIR) \
16332 @stage2_werror_flag@ --disable-shared
16333 @endif gmp-bootstrap
16335 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
16336 maybe-configure-stagefeedback-gmp:
16337 @if gmp-bootstrap
16338 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
16339 configure-stagefeedback-gmp:
16340 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16342 @r=`${PWD_COMMAND}`; export r; \
16343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16344 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16345 $(HOST_EXPORTS) \
16346 $(POSTSTAGE1_HOST_EXPORTS) \
16347 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
16348 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
16349 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
16350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16351 cd $(HOST_SUBDIR)/gmp || exit 1; \
16352 case $(srcdir) in \
16353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16354 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16356 esac; \
16357 srcdiroption="--srcdir=$${topdir}/gmp"; \
16358 libsrcdir="$$s/gmp"; \
16359 $(SHELL) $${libsrcdir}/configure \
16360 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16361 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16362 --with-build-libsubdir=$(HOST_SUBDIR) \
16363 @stage2_werror_flag@ --disable-shared
16364 @endif gmp-bootstrap
16370 .PHONY: all-gmp maybe-all-gmp
16371 maybe-all-gmp:
16372 @if gcc-bootstrap
16373 all-gmp: stage_current
16374 @endif gcc-bootstrap
16375 @if gmp
16376 TARGET-gmp=all
16377 maybe-all-gmp: all-gmp
16378 all-gmp: configure-gmp
16379 @r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(HOST_EXPORTS) \
16382 (cd $(HOST_SUBDIR)/gmp && \
16383 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16384 $(TARGET-gmp))
16385 @endif gmp
16389 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
16390 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
16391 maybe-all-stage1-gmp:
16392 maybe-clean-stage1-gmp:
16393 @if gmp-bootstrap
16394 maybe-all-stage1-gmp: all-stage1-gmp
16395 all-stage1: all-stage1-gmp
16396 TARGET-stage1-gmp = $(TARGET-gmp)
16397 all-stage1-gmp: configure-stage1-gmp
16398 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16399 @r=`${PWD_COMMAND}`; export r; \
16400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16401 $(HOST_EXPORTS) \
16402 cd $(HOST_SUBDIR)/gmp && \
16403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16404 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
16405 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
16406 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
16407 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
16408 $(TARGET-stage1-gmp)
16410 maybe-clean-stage1-gmp: clean-stage1-gmp
16411 clean-stage1: clean-stage1-gmp
16412 clean-stage1-gmp:
16413 @if [ $(current_stage) = stage1 ]; then \
16414 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16415 else \
16416 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
16417 $(MAKE) stage1-start; \
16418 fi; \
16419 cd $(HOST_SUBDIR)/gmp && \
16420 $(MAKE) $(EXTRA_HOST_FLAGS) \
16421 clean
16422 @endif gmp-bootstrap
16425 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
16426 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
16427 maybe-all-stage2-gmp:
16428 maybe-clean-stage2-gmp:
16429 @if gmp-bootstrap
16430 maybe-all-stage2-gmp: all-stage2-gmp
16431 all-stage2: all-stage2-gmp
16432 TARGET-stage2-gmp = $(TARGET-gmp)
16433 all-stage2-gmp: configure-stage2-gmp
16434 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16435 @r=`${PWD_COMMAND}`; export r; \
16436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16437 $(HOST_EXPORTS) \
16438 $(POSTSTAGE1_HOST_EXPORTS) \
16439 cd $(HOST_SUBDIR)/gmp && \
16440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16441 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
16442 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
16443 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
16444 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16445 $(TARGET-stage2-gmp)
16447 maybe-clean-stage2-gmp: clean-stage2-gmp
16448 clean-stage2: clean-stage2-gmp
16449 clean-stage2-gmp:
16450 @if [ $(current_stage) = stage2 ]; then \
16451 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16452 else \
16453 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
16454 $(MAKE) stage2-start; \
16455 fi; \
16456 cd $(HOST_SUBDIR)/gmp && \
16457 $(MAKE) $(EXTRA_HOST_FLAGS) \
16458 $(POSTSTAGE1_FLAGS_TO_PASS) \
16459 clean
16460 @endif gmp-bootstrap
16463 .PHONY: all-stageb2g0-gmp maybe-all-stageb2g0-gmp
16464 .PHONY: clean-stageb2g0-gmp maybe-clean-stageb2g0-gmp
16465 maybe-all-stageb2g0-gmp:
16466 maybe-clean-stageb2g0-gmp:
16467 @if gmp-bootstrap
16468 maybe-all-stageb2g0-gmp: all-stageb2g0-gmp
16469 all-stageb2g0: all-stageb2g0-gmp
16470 TARGET-stageb2g0-gmp = $(TARGET-gmp)
16471 all-stageb2g0-gmp: configure-stageb2g0-gmp
16472 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
16473 @r=`${PWD_COMMAND}`; export r; \
16474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16475 $(HOST_EXPORTS) \
16476 $(POSTSTAGE1_HOST_EXPORTS) \
16477 cd $(HOST_SUBDIR)/gmp && \
16478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16479 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
16480 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
16481 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
16482 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16483 $(TARGET-stageb2g0-gmp)
16485 maybe-clean-stageb2g0-gmp: clean-stageb2g0-gmp
16486 clean-stageb2g0: clean-stageb2g0-gmp
16487 clean-stageb2g0-gmp:
16488 @if [ $(current_stage) = stageb2g0 ]; then \
16489 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16490 else \
16491 [ -f $(HOST_SUBDIR)/stageb2g0-gmp/Makefile ] || exit 0; \
16492 $(MAKE) stageb2g0-start; \
16493 fi; \
16494 cd $(HOST_SUBDIR)/gmp && \
16495 $(MAKE) $(EXTRA_HOST_FLAGS) \
16496 $(POSTSTAGE1_FLAGS_TO_PASS) \
16497 clean
16498 @endif gmp-bootstrap
16501 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
16502 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
16503 maybe-all-stage3-gmp:
16504 maybe-clean-stage3-gmp:
16505 @if gmp-bootstrap
16506 maybe-all-stage3-gmp: all-stage3-gmp
16507 all-stage3: all-stage3-gmp
16508 TARGET-stage3-gmp = $(TARGET-gmp)
16509 all-stage3-gmp: configure-stage3-gmp
16510 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16511 @r=`${PWD_COMMAND}`; export r; \
16512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16513 $(HOST_EXPORTS) \
16514 $(POSTSTAGE1_HOST_EXPORTS) \
16515 cd $(HOST_SUBDIR)/gmp && \
16516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16517 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
16518 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
16519 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
16520 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16521 $(TARGET-stage3-gmp)
16523 maybe-clean-stage3-gmp: clean-stage3-gmp
16524 clean-stage3: clean-stage3-gmp
16525 clean-stage3-gmp:
16526 @if [ $(current_stage) = stage3 ]; then \
16527 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16528 else \
16529 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
16530 $(MAKE) stage3-start; \
16531 fi; \
16532 cd $(HOST_SUBDIR)/gmp && \
16533 $(MAKE) $(EXTRA_HOST_FLAGS) \
16534 $(POSTSTAGE1_FLAGS_TO_PASS) \
16535 clean
16536 @endif gmp-bootstrap
16539 .PHONY: all-stageb3g2-gmp maybe-all-stageb3g2-gmp
16540 .PHONY: clean-stageb3g2-gmp maybe-clean-stageb3g2-gmp
16541 maybe-all-stageb3g2-gmp:
16542 maybe-clean-stageb3g2-gmp:
16543 @if gmp-bootstrap
16544 maybe-all-stageb3g2-gmp: all-stageb3g2-gmp
16545 all-stageb3g2: all-stageb3g2-gmp
16546 TARGET-stageb3g2-gmp = $(TARGET-gmp)
16547 all-stageb3g2-gmp: configure-stageb3g2-gmp
16548 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
16549 @r=`${PWD_COMMAND}`; export r; \
16550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16551 $(HOST_EXPORTS) \
16552 $(POSTSTAGE1_HOST_EXPORTS) \
16553 cd $(HOST_SUBDIR)/gmp && \
16554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16555 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
16556 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
16557 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
16558 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16559 $(TARGET-stageb3g2-gmp)
16561 maybe-clean-stageb3g2-gmp: clean-stageb3g2-gmp
16562 clean-stageb3g2: clean-stageb3g2-gmp
16563 clean-stageb3g2-gmp:
16564 @if [ $(current_stage) = stageb3g2 ]; then \
16565 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16566 else \
16567 [ -f $(HOST_SUBDIR)/stageb3g2-gmp/Makefile ] || exit 0; \
16568 $(MAKE) stageb3g2-start; \
16569 fi; \
16570 cd $(HOST_SUBDIR)/gmp && \
16571 $(MAKE) $(EXTRA_HOST_FLAGS) \
16572 $(POSTSTAGE1_FLAGS_TO_PASS) \
16573 clean
16574 @endif gmp-bootstrap
16577 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
16578 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
16579 maybe-all-stage4-gmp:
16580 maybe-clean-stage4-gmp:
16581 @if gmp-bootstrap
16582 maybe-all-stage4-gmp: all-stage4-gmp
16583 all-stage4: all-stage4-gmp
16584 TARGET-stage4-gmp = $(TARGET-gmp)
16585 all-stage4-gmp: configure-stage4-gmp
16586 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16587 @r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 $(HOST_EXPORTS) \
16590 $(POSTSTAGE1_HOST_EXPORTS) \
16591 cd $(HOST_SUBDIR)/gmp && \
16592 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16593 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
16594 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16595 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
16596 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16597 $(TARGET-stage4-gmp)
16599 maybe-clean-stage4-gmp: clean-stage4-gmp
16600 clean-stage4: clean-stage4-gmp
16601 clean-stage4-gmp:
16602 @if [ $(current_stage) = stage4 ]; then \
16603 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16604 else \
16605 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
16606 $(MAKE) stage4-start; \
16607 fi; \
16608 cd $(HOST_SUBDIR)/gmp && \
16609 $(MAKE) $(EXTRA_HOST_FLAGS) \
16610 $(POSTSTAGE1_FLAGS_TO_PASS) \
16611 clean
16612 @endif gmp-bootstrap
16615 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
16616 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
16617 maybe-all-stageprofile-gmp:
16618 maybe-clean-stageprofile-gmp:
16619 @if gmp-bootstrap
16620 maybe-all-stageprofile-gmp: all-stageprofile-gmp
16621 all-stageprofile: all-stageprofile-gmp
16622 TARGET-stageprofile-gmp = $(TARGET-gmp)
16623 all-stageprofile-gmp: configure-stageprofile-gmp
16624 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16625 @r=`${PWD_COMMAND}`; export r; \
16626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16627 $(HOST_EXPORTS) \
16628 $(POSTSTAGE1_HOST_EXPORTS) \
16629 cd $(HOST_SUBDIR)/gmp && \
16630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16631 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
16632 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
16633 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
16634 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16635 $(TARGET-stageprofile-gmp)
16637 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
16638 clean-stageprofile: clean-stageprofile-gmp
16639 clean-stageprofile-gmp:
16640 @if [ $(current_stage) = stageprofile ]; then \
16641 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16642 else \
16643 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
16644 $(MAKE) stageprofile-start; \
16645 fi; \
16646 cd $(HOST_SUBDIR)/gmp && \
16647 $(MAKE) $(EXTRA_HOST_FLAGS) \
16648 $(POSTSTAGE1_FLAGS_TO_PASS) \
16649 clean
16650 @endif gmp-bootstrap
16653 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
16654 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
16655 maybe-all-stagefeedback-gmp:
16656 maybe-clean-stagefeedback-gmp:
16657 @if gmp-bootstrap
16658 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
16659 all-stagefeedback: all-stagefeedback-gmp
16660 TARGET-stagefeedback-gmp = $(TARGET-gmp)
16661 all-stagefeedback-gmp: configure-stagefeedback-gmp
16662 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16663 @r=`${PWD_COMMAND}`; export r; \
16664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16665 $(HOST_EXPORTS) \
16666 $(POSTSTAGE1_HOST_EXPORTS) \
16667 cd $(HOST_SUBDIR)/gmp && \
16668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16669 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
16670 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
16671 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
16672 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16673 $(TARGET-stagefeedback-gmp)
16675 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
16676 clean-stagefeedback: clean-stagefeedback-gmp
16677 clean-stagefeedback-gmp:
16678 @if [ $(current_stage) = stagefeedback ]; then \
16679 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16680 else \
16681 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
16682 $(MAKE) stagefeedback-start; \
16683 fi; \
16684 cd $(HOST_SUBDIR)/gmp && \
16685 $(MAKE) $(EXTRA_HOST_FLAGS) \
16686 $(POSTSTAGE1_FLAGS_TO_PASS) \
16687 clean
16688 @endif gmp-bootstrap
16694 .PHONY: check-gmp maybe-check-gmp
16695 maybe-check-gmp:
16696 @if gmp
16697 maybe-check-gmp: check-gmp
16699 check-gmp:
16700 @: $(MAKE); $(unstage)
16701 @r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 $(HOST_EXPORTS) \
16704 (cd $(HOST_SUBDIR)/gmp && \
16705 $(MAKE) $(FLAGS_TO_PASS) check)
16707 @endif gmp
16709 .PHONY: install-gmp maybe-install-gmp
16710 maybe-install-gmp:
16711 @if gmp
16712 maybe-install-gmp: install-gmp
16714 install-gmp:
16716 @endif gmp
16718 # Other targets (info, dvi, pdf, etc.)
16720 .PHONY: maybe-info-gmp info-gmp
16721 maybe-info-gmp:
16722 @if gmp
16723 maybe-info-gmp: info-gmp
16725 info-gmp: \
16726 configure-gmp
16727 @[ -f ./gmp/Makefile ] || exit 0; \
16728 r=`${PWD_COMMAND}`; export r; \
16729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16730 $(HOST_EXPORTS) \
16731 for flag in $(EXTRA_HOST_FLAGS) ; do \
16732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16733 done; \
16734 echo "Doing info in gmp" ; \
16735 (cd $(HOST_SUBDIR)/gmp && \
16736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16738 "RANLIB=$${RANLIB}" \
16739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16740 info) \
16741 || exit 1
16743 @endif gmp
16745 .PHONY: maybe-dvi-gmp dvi-gmp
16746 maybe-dvi-gmp:
16747 @if gmp
16748 maybe-dvi-gmp: dvi-gmp
16750 dvi-gmp: \
16751 configure-gmp
16752 @[ -f ./gmp/Makefile ] || exit 0; \
16753 r=`${PWD_COMMAND}`; export r; \
16754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16755 $(HOST_EXPORTS) \
16756 for flag in $(EXTRA_HOST_FLAGS) ; do \
16757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16758 done; \
16759 echo "Doing dvi in gmp" ; \
16760 (cd $(HOST_SUBDIR)/gmp && \
16761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16763 "RANLIB=$${RANLIB}" \
16764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16765 dvi) \
16766 || exit 1
16768 @endif gmp
16770 .PHONY: maybe-pdf-gmp pdf-gmp
16771 maybe-pdf-gmp:
16772 @if gmp
16773 maybe-pdf-gmp: pdf-gmp
16775 pdf-gmp: \
16776 configure-gmp
16777 @[ -f ./gmp/Makefile ] || exit 0; \
16778 r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 $(HOST_EXPORTS) \
16781 for flag in $(EXTRA_HOST_FLAGS) ; do \
16782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16783 done; \
16784 echo "Doing pdf in gmp" ; \
16785 (cd $(HOST_SUBDIR)/gmp && \
16786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16788 "RANLIB=$${RANLIB}" \
16789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16790 pdf) \
16791 || exit 1
16793 @endif gmp
16795 .PHONY: maybe-html-gmp html-gmp
16796 maybe-html-gmp:
16797 @if gmp
16798 maybe-html-gmp: html-gmp
16800 html-gmp: \
16801 configure-gmp
16802 @[ -f ./gmp/Makefile ] || exit 0; \
16803 r=`${PWD_COMMAND}`; export r; \
16804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16805 $(HOST_EXPORTS) \
16806 for flag in $(EXTRA_HOST_FLAGS) ; do \
16807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16808 done; \
16809 echo "Doing html in gmp" ; \
16810 (cd $(HOST_SUBDIR)/gmp && \
16811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16813 "RANLIB=$${RANLIB}" \
16814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16815 html) \
16816 || exit 1
16818 @endif gmp
16820 .PHONY: maybe-TAGS-gmp TAGS-gmp
16821 maybe-TAGS-gmp:
16822 @if gmp
16823 maybe-TAGS-gmp: TAGS-gmp
16825 TAGS-gmp: \
16826 configure-gmp
16827 @[ -f ./gmp/Makefile ] || exit 0; \
16828 r=`${PWD_COMMAND}`; export r; \
16829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16830 $(HOST_EXPORTS) \
16831 for flag in $(EXTRA_HOST_FLAGS) ; do \
16832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16833 done; \
16834 echo "Doing TAGS in gmp" ; \
16835 (cd $(HOST_SUBDIR)/gmp && \
16836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16838 "RANLIB=$${RANLIB}" \
16839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16840 TAGS) \
16841 || exit 1
16843 @endif gmp
16845 .PHONY: maybe-install-info-gmp install-info-gmp
16846 maybe-install-info-gmp:
16847 @if gmp
16848 maybe-install-info-gmp: install-info-gmp
16850 install-info-gmp: \
16851 configure-gmp \
16852 info-gmp
16853 @[ -f ./gmp/Makefile ] || exit 0; \
16854 r=`${PWD_COMMAND}`; export r; \
16855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16856 $(HOST_EXPORTS) \
16857 for flag in $(EXTRA_HOST_FLAGS) ; do \
16858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16859 done; \
16860 echo "Doing install-info in gmp" ; \
16861 (cd $(HOST_SUBDIR)/gmp && \
16862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16864 "RANLIB=$${RANLIB}" \
16865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16866 install-info) \
16867 || exit 1
16869 @endif gmp
16871 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
16872 maybe-install-pdf-gmp:
16873 @if gmp
16874 maybe-install-pdf-gmp: install-pdf-gmp
16876 install-pdf-gmp: \
16877 configure-gmp \
16878 pdf-gmp
16879 @[ -f ./gmp/Makefile ] || exit 0; \
16880 r=`${PWD_COMMAND}`; export r; \
16881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16882 $(HOST_EXPORTS) \
16883 for flag in $(EXTRA_HOST_FLAGS) ; do \
16884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16885 done; \
16886 echo "Doing install-pdf in gmp" ; \
16887 (cd $(HOST_SUBDIR)/gmp && \
16888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16890 "RANLIB=$${RANLIB}" \
16891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16892 install-pdf) \
16893 || exit 1
16895 @endif gmp
16897 .PHONY: maybe-install-html-gmp install-html-gmp
16898 maybe-install-html-gmp:
16899 @if gmp
16900 maybe-install-html-gmp: install-html-gmp
16902 install-html-gmp: \
16903 configure-gmp \
16904 html-gmp
16905 @[ -f ./gmp/Makefile ] || exit 0; \
16906 r=`${PWD_COMMAND}`; export r; \
16907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16908 $(HOST_EXPORTS) \
16909 for flag in $(EXTRA_HOST_FLAGS) ; do \
16910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16911 done; \
16912 echo "Doing install-html in gmp" ; \
16913 (cd $(HOST_SUBDIR)/gmp && \
16914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16916 "RANLIB=$${RANLIB}" \
16917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16918 install-html) \
16919 || exit 1
16921 @endif gmp
16923 .PHONY: maybe-installcheck-gmp installcheck-gmp
16924 maybe-installcheck-gmp:
16925 @if gmp
16926 maybe-installcheck-gmp: installcheck-gmp
16928 installcheck-gmp: \
16929 configure-gmp
16930 @[ -f ./gmp/Makefile ] || exit 0; \
16931 r=`${PWD_COMMAND}`; export r; \
16932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16933 $(HOST_EXPORTS) \
16934 for flag in $(EXTRA_HOST_FLAGS) ; do \
16935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16936 done; \
16937 echo "Doing installcheck in gmp" ; \
16938 (cd $(HOST_SUBDIR)/gmp && \
16939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16941 "RANLIB=$${RANLIB}" \
16942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16943 installcheck) \
16944 || exit 1
16946 @endif gmp
16948 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
16949 maybe-mostlyclean-gmp:
16950 @if gmp
16951 maybe-mostlyclean-gmp: mostlyclean-gmp
16953 mostlyclean-gmp:
16954 @[ -f ./gmp/Makefile ] || exit 0; \
16955 r=`${PWD_COMMAND}`; export r; \
16956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16957 $(HOST_EXPORTS) \
16958 for flag in $(EXTRA_HOST_FLAGS) ; do \
16959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16960 done; \
16961 echo "Doing mostlyclean in gmp" ; \
16962 (cd $(HOST_SUBDIR)/gmp && \
16963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16965 "RANLIB=$${RANLIB}" \
16966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16967 mostlyclean) \
16968 || exit 1
16970 @endif gmp
16972 .PHONY: maybe-clean-gmp clean-gmp
16973 maybe-clean-gmp:
16974 @if gmp
16975 maybe-clean-gmp: clean-gmp
16977 clean-gmp:
16978 @[ -f ./gmp/Makefile ] || exit 0; \
16979 r=`${PWD_COMMAND}`; export r; \
16980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 $(HOST_EXPORTS) \
16982 for flag in $(EXTRA_HOST_FLAGS) ; do \
16983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16984 done; \
16985 echo "Doing clean in gmp" ; \
16986 (cd $(HOST_SUBDIR)/gmp && \
16987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16989 "RANLIB=$${RANLIB}" \
16990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16991 clean) \
16992 || exit 1
16994 @endif gmp
16996 .PHONY: maybe-distclean-gmp distclean-gmp
16997 maybe-distclean-gmp:
16998 @if gmp
16999 maybe-distclean-gmp: distclean-gmp
17001 distclean-gmp:
17002 @[ -f ./gmp/Makefile ] || exit 0; \
17003 r=`${PWD_COMMAND}`; export r; \
17004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17005 $(HOST_EXPORTS) \
17006 for flag in $(EXTRA_HOST_FLAGS) ; do \
17007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17008 done; \
17009 echo "Doing distclean in gmp" ; \
17010 (cd $(HOST_SUBDIR)/gmp && \
17011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17013 "RANLIB=$${RANLIB}" \
17014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17015 distclean) \
17016 || exit 1
17018 @endif gmp
17020 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
17021 maybe-maintainer-clean-gmp:
17022 @if gmp
17023 maybe-maintainer-clean-gmp: maintainer-clean-gmp
17025 maintainer-clean-gmp:
17026 @[ -f ./gmp/Makefile ] || exit 0; \
17027 r=`${PWD_COMMAND}`; export r; \
17028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17029 $(HOST_EXPORTS) \
17030 for flag in $(EXTRA_HOST_FLAGS) ; do \
17031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17032 done; \
17033 echo "Doing maintainer-clean in gmp" ; \
17034 (cd $(HOST_SUBDIR)/gmp && \
17035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17037 "RANLIB=$${RANLIB}" \
17038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17039 maintainer-clean) \
17040 || exit 1
17042 @endif gmp
17046 .PHONY: configure-mpfr maybe-configure-mpfr
17047 maybe-configure-mpfr:
17048 @if gcc-bootstrap
17049 configure-mpfr: stage_current
17050 @endif gcc-bootstrap
17051 @if mpfr
17052 maybe-configure-mpfr: configure-mpfr
17053 configure-mpfr:
17054 @r=`${PWD_COMMAND}`; export r; \
17055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17056 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17058 $(HOST_EXPORTS) \
17059 echo Configuring in $(HOST_SUBDIR)/mpfr; \
17060 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
17061 case $(srcdir) in \
17062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17063 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17065 esac; \
17066 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17067 libsrcdir="$$s/mpfr"; \
17068 $(SHELL) $${libsrcdir}/configure \
17069 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17070 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
17071 || exit 1
17072 @endif mpfr
17076 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
17077 maybe-configure-stage1-mpfr:
17078 @if mpfr-bootstrap
17079 maybe-configure-stage1-mpfr: configure-stage1-mpfr
17080 configure-stage1-mpfr:
17081 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17083 @r=`${PWD_COMMAND}`; export r; \
17084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17085 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17086 $(HOST_EXPORTS) \
17087 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17088 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
17089 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
17090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17091 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17092 case $(srcdir) in \
17093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17094 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17096 esac; \
17097 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17098 libsrcdir="$$s/mpfr"; \
17099 $(SHELL) $${libsrcdir}/configure \
17100 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17101 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17103 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17104 @endif mpfr-bootstrap
17106 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
17107 maybe-configure-stage2-mpfr:
17108 @if mpfr-bootstrap
17109 maybe-configure-stage2-mpfr: configure-stage2-mpfr
17110 configure-stage2-mpfr:
17111 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17112 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17113 @r=`${PWD_COMMAND}`; export r; \
17114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17115 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17116 $(HOST_EXPORTS) \
17117 $(POSTSTAGE1_HOST_EXPORTS) \
17118 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17119 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
17120 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
17121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17122 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17123 case $(srcdir) in \
17124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17125 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17127 esac; \
17128 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17129 libsrcdir="$$s/mpfr"; \
17130 $(SHELL) $${libsrcdir}/configure \
17131 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17132 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17133 --with-build-libsubdir=$(HOST_SUBDIR) \
17134 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17135 @endif mpfr-bootstrap
17137 .PHONY: configure-stageb2g0-mpfr maybe-configure-stageb2g0-mpfr
17138 maybe-configure-stageb2g0-mpfr:
17139 @if mpfr-bootstrap
17140 maybe-configure-stageb2g0-mpfr: configure-stageb2g0-mpfr
17141 configure-stageb2g0-mpfr:
17142 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
17143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17144 @r=`${PWD_COMMAND}`; export r; \
17145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17146 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17147 $(HOST_EXPORTS) \
17148 $(POSTSTAGE1_HOST_EXPORTS) \
17149 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
17150 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
17151 echo Configuring stage b2g0 in $(HOST_SUBDIR)/mpfr ; \
17152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17153 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17154 case $(srcdir) in \
17155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17156 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17158 esac; \
17159 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17160 libsrcdir="$$s/mpfr"; \
17161 $(SHELL) $${libsrcdir}/configure \
17162 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17163 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17164 --with-build-libsubdir=$(HOST_SUBDIR) \
17165 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17166 @endif mpfr-bootstrap
17168 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
17169 maybe-configure-stage3-mpfr:
17170 @if mpfr-bootstrap
17171 maybe-configure-stage3-mpfr: configure-stage3-mpfr
17172 configure-stage3-mpfr:
17173 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17175 @r=`${PWD_COMMAND}`; export r; \
17176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17177 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17178 $(HOST_EXPORTS) \
17179 $(POSTSTAGE1_HOST_EXPORTS) \
17180 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17181 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
17182 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
17183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17184 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17185 case $(srcdir) in \
17186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17187 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17189 esac; \
17190 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17191 libsrcdir="$$s/mpfr"; \
17192 $(SHELL) $${libsrcdir}/configure \
17193 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17194 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17195 --with-build-libsubdir=$(HOST_SUBDIR) \
17196 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17197 @endif mpfr-bootstrap
17199 .PHONY: configure-stageb3g2-mpfr maybe-configure-stageb3g2-mpfr
17200 maybe-configure-stageb3g2-mpfr:
17201 @if mpfr-bootstrap
17202 maybe-configure-stageb3g2-mpfr: configure-stageb3g2-mpfr
17203 configure-stageb3g2-mpfr:
17204 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
17205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17206 @r=`${PWD_COMMAND}`; export r; \
17207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17208 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17209 $(HOST_EXPORTS) \
17210 $(POSTSTAGE1_HOST_EXPORTS) \
17211 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
17212 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
17213 echo Configuring stage b3g2 in $(HOST_SUBDIR)/mpfr ; \
17214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17215 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17216 case $(srcdir) in \
17217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17218 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17220 esac; \
17221 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17222 libsrcdir="$$s/mpfr"; \
17223 $(SHELL) $${libsrcdir}/configure \
17224 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17225 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17226 --with-build-libsubdir=$(HOST_SUBDIR) \
17227 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17228 @endif mpfr-bootstrap
17230 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
17231 maybe-configure-stage4-mpfr:
17232 @if mpfr-bootstrap
17233 maybe-configure-stage4-mpfr: configure-stage4-mpfr
17234 configure-stage4-mpfr:
17235 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17237 @r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17240 $(HOST_EXPORTS) \
17241 $(POSTSTAGE1_HOST_EXPORTS) \
17242 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17243 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
17244 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
17245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17246 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17247 case $(srcdir) in \
17248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17249 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17251 esac; \
17252 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17253 libsrcdir="$$s/mpfr"; \
17254 $(SHELL) $${libsrcdir}/configure \
17255 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17256 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17257 --with-build-libsubdir=$(HOST_SUBDIR) \
17258 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17259 @endif mpfr-bootstrap
17261 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
17262 maybe-configure-stageprofile-mpfr:
17263 @if mpfr-bootstrap
17264 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
17265 configure-stageprofile-mpfr:
17266 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17268 @r=`${PWD_COMMAND}`; export r; \
17269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17270 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17271 $(HOST_EXPORTS) \
17272 $(POSTSTAGE1_HOST_EXPORTS) \
17273 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
17274 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
17275 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
17276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17277 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17278 case $(srcdir) in \
17279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17280 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17282 esac; \
17283 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17284 libsrcdir="$$s/mpfr"; \
17285 $(SHELL) $${libsrcdir}/configure \
17286 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17287 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17288 --with-build-libsubdir=$(HOST_SUBDIR) \
17289 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17290 @endif mpfr-bootstrap
17292 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
17293 maybe-configure-stagefeedback-mpfr:
17294 @if mpfr-bootstrap
17295 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
17296 configure-stagefeedback-mpfr:
17297 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17299 @r=`${PWD_COMMAND}`; export r; \
17300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17301 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17302 $(HOST_EXPORTS) \
17303 $(POSTSTAGE1_HOST_EXPORTS) \
17304 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
17305 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
17306 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
17307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17308 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17309 case $(srcdir) in \
17310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17311 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17313 esac; \
17314 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17315 libsrcdir="$$s/mpfr"; \
17316 $(SHELL) $${libsrcdir}/configure \
17317 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17318 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17319 --with-build-libsubdir=$(HOST_SUBDIR) \
17320 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17321 @endif mpfr-bootstrap
17327 .PHONY: all-mpfr maybe-all-mpfr
17328 maybe-all-mpfr:
17329 @if gcc-bootstrap
17330 all-mpfr: stage_current
17331 @endif gcc-bootstrap
17332 @if mpfr
17333 TARGET-mpfr=all
17334 maybe-all-mpfr: all-mpfr
17335 all-mpfr: configure-mpfr
17336 @r=`${PWD_COMMAND}`; export r; \
17337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17338 $(HOST_EXPORTS) \
17339 (cd $(HOST_SUBDIR)/mpfr && \
17340 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17341 $(TARGET-mpfr))
17342 @endif mpfr
17346 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
17347 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
17348 maybe-all-stage1-mpfr:
17349 maybe-clean-stage1-mpfr:
17350 @if mpfr-bootstrap
17351 maybe-all-stage1-mpfr: all-stage1-mpfr
17352 all-stage1: all-stage1-mpfr
17353 TARGET-stage1-mpfr = $(TARGET-mpfr)
17354 all-stage1-mpfr: configure-stage1-mpfr
17355 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17356 @r=`${PWD_COMMAND}`; export r; \
17357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17358 $(HOST_EXPORTS) \
17359 cd $(HOST_SUBDIR)/mpfr && \
17360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17361 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
17362 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
17363 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
17364 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
17365 $(TARGET-stage1-mpfr)
17367 maybe-clean-stage1-mpfr: clean-stage1-mpfr
17368 clean-stage1: clean-stage1-mpfr
17369 clean-stage1-mpfr:
17370 @if [ $(current_stage) = stage1 ]; then \
17371 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17372 else \
17373 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
17374 $(MAKE) stage1-start; \
17375 fi; \
17376 cd $(HOST_SUBDIR)/mpfr && \
17377 $(MAKE) $(EXTRA_HOST_FLAGS) \
17378 clean
17379 @endif mpfr-bootstrap
17382 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
17383 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
17384 maybe-all-stage2-mpfr:
17385 maybe-clean-stage2-mpfr:
17386 @if mpfr-bootstrap
17387 maybe-all-stage2-mpfr: all-stage2-mpfr
17388 all-stage2: all-stage2-mpfr
17389 TARGET-stage2-mpfr = $(TARGET-mpfr)
17390 all-stage2-mpfr: configure-stage2-mpfr
17391 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17392 @r=`${PWD_COMMAND}`; export r; \
17393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17394 $(HOST_EXPORTS) \
17395 $(POSTSTAGE1_HOST_EXPORTS) \
17396 cd $(HOST_SUBDIR)/mpfr && \
17397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17398 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
17399 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
17400 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
17401 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17402 $(TARGET-stage2-mpfr)
17404 maybe-clean-stage2-mpfr: clean-stage2-mpfr
17405 clean-stage2: clean-stage2-mpfr
17406 clean-stage2-mpfr:
17407 @if [ $(current_stage) = stage2 ]; then \
17408 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17409 else \
17410 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
17411 $(MAKE) stage2-start; \
17412 fi; \
17413 cd $(HOST_SUBDIR)/mpfr && \
17414 $(MAKE) $(EXTRA_HOST_FLAGS) \
17415 $(POSTSTAGE1_FLAGS_TO_PASS) \
17416 clean
17417 @endif mpfr-bootstrap
17420 .PHONY: all-stageb2g0-mpfr maybe-all-stageb2g0-mpfr
17421 .PHONY: clean-stageb2g0-mpfr maybe-clean-stageb2g0-mpfr
17422 maybe-all-stageb2g0-mpfr:
17423 maybe-clean-stageb2g0-mpfr:
17424 @if mpfr-bootstrap
17425 maybe-all-stageb2g0-mpfr: all-stageb2g0-mpfr
17426 all-stageb2g0: all-stageb2g0-mpfr
17427 TARGET-stageb2g0-mpfr = $(TARGET-mpfr)
17428 all-stageb2g0-mpfr: configure-stageb2g0-mpfr
17429 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
17430 @r=`${PWD_COMMAND}`; export r; \
17431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17432 $(HOST_EXPORTS) \
17433 $(POSTSTAGE1_HOST_EXPORTS) \
17434 cd $(HOST_SUBDIR)/mpfr && \
17435 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17436 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
17437 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
17438 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
17439 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17440 $(TARGET-stageb2g0-mpfr)
17442 maybe-clean-stageb2g0-mpfr: clean-stageb2g0-mpfr
17443 clean-stageb2g0: clean-stageb2g0-mpfr
17444 clean-stageb2g0-mpfr:
17445 @if [ $(current_stage) = stageb2g0 ]; then \
17446 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17447 else \
17448 [ -f $(HOST_SUBDIR)/stageb2g0-mpfr/Makefile ] || exit 0; \
17449 $(MAKE) stageb2g0-start; \
17450 fi; \
17451 cd $(HOST_SUBDIR)/mpfr && \
17452 $(MAKE) $(EXTRA_HOST_FLAGS) \
17453 $(POSTSTAGE1_FLAGS_TO_PASS) \
17454 clean
17455 @endif mpfr-bootstrap
17458 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
17459 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
17460 maybe-all-stage3-mpfr:
17461 maybe-clean-stage3-mpfr:
17462 @if mpfr-bootstrap
17463 maybe-all-stage3-mpfr: all-stage3-mpfr
17464 all-stage3: all-stage3-mpfr
17465 TARGET-stage3-mpfr = $(TARGET-mpfr)
17466 all-stage3-mpfr: configure-stage3-mpfr
17467 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17468 @r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17470 $(HOST_EXPORTS) \
17471 $(POSTSTAGE1_HOST_EXPORTS) \
17472 cd $(HOST_SUBDIR)/mpfr && \
17473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17474 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
17475 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
17476 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
17477 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17478 $(TARGET-stage3-mpfr)
17480 maybe-clean-stage3-mpfr: clean-stage3-mpfr
17481 clean-stage3: clean-stage3-mpfr
17482 clean-stage3-mpfr:
17483 @if [ $(current_stage) = stage3 ]; then \
17484 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17485 else \
17486 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
17487 $(MAKE) stage3-start; \
17488 fi; \
17489 cd $(HOST_SUBDIR)/mpfr && \
17490 $(MAKE) $(EXTRA_HOST_FLAGS) \
17491 $(POSTSTAGE1_FLAGS_TO_PASS) \
17492 clean
17493 @endif mpfr-bootstrap
17496 .PHONY: all-stageb3g2-mpfr maybe-all-stageb3g2-mpfr
17497 .PHONY: clean-stageb3g2-mpfr maybe-clean-stageb3g2-mpfr
17498 maybe-all-stageb3g2-mpfr:
17499 maybe-clean-stageb3g2-mpfr:
17500 @if mpfr-bootstrap
17501 maybe-all-stageb3g2-mpfr: all-stageb3g2-mpfr
17502 all-stageb3g2: all-stageb3g2-mpfr
17503 TARGET-stageb3g2-mpfr = $(TARGET-mpfr)
17504 all-stageb3g2-mpfr: configure-stageb3g2-mpfr
17505 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
17506 @r=`${PWD_COMMAND}`; export r; \
17507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17508 $(HOST_EXPORTS) \
17509 $(POSTSTAGE1_HOST_EXPORTS) \
17510 cd $(HOST_SUBDIR)/mpfr && \
17511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17512 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
17513 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
17514 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
17515 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17516 $(TARGET-stageb3g2-mpfr)
17518 maybe-clean-stageb3g2-mpfr: clean-stageb3g2-mpfr
17519 clean-stageb3g2: clean-stageb3g2-mpfr
17520 clean-stageb3g2-mpfr:
17521 @if [ $(current_stage) = stageb3g2 ]; then \
17522 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17523 else \
17524 [ -f $(HOST_SUBDIR)/stageb3g2-mpfr/Makefile ] || exit 0; \
17525 $(MAKE) stageb3g2-start; \
17526 fi; \
17527 cd $(HOST_SUBDIR)/mpfr && \
17528 $(MAKE) $(EXTRA_HOST_FLAGS) \
17529 $(POSTSTAGE1_FLAGS_TO_PASS) \
17530 clean
17531 @endif mpfr-bootstrap
17534 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
17535 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
17536 maybe-all-stage4-mpfr:
17537 maybe-clean-stage4-mpfr:
17538 @if mpfr-bootstrap
17539 maybe-all-stage4-mpfr: all-stage4-mpfr
17540 all-stage4: all-stage4-mpfr
17541 TARGET-stage4-mpfr = $(TARGET-mpfr)
17542 all-stage4-mpfr: configure-stage4-mpfr
17543 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17544 @r=`${PWD_COMMAND}`; export r; \
17545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17546 $(HOST_EXPORTS) \
17547 $(POSTSTAGE1_HOST_EXPORTS) \
17548 cd $(HOST_SUBDIR)/mpfr && \
17549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17550 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
17551 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17552 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
17553 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17554 $(TARGET-stage4-mpfr)
17556 maybe-clean-stage4-mpfr: clean-stage4-mpfr
17557 clean-stage4: clean-stage4-mpfr
17558 clean-stage4-mpfr:
17559 @if [ $(current_stage) = stage4 ]; then \
17560 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17561 else \
17562 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
17563 $(MAKE) stage4-start; \
17564 fi; \
17565 cd $(HOST_SUBDIR)/mpfr && \
17566 $(MAKE) $(EXTRA_HOST_FLAGS) \
17567 $(POSTSTAGE1_FLAGS_TO_PASS) \
17568 clean
17569 @endif mpfr-bootstrap
17572 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
17573 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
17574 maybe-all-stageprofile-mpfr:
17575 maybe-clean-stageprofile-mpfr:
17576 @if mpfr-bootstrap
17577 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
17578 all-stageprofile: all-stageprofile-mpfr
17579 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
17580 all-stageprofile-mpfr: configure-stageprofile-mpfr
17581 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17582 @r=`${PWD_COMMAND}`; export r; \
17583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17584 $(HOST_EXPORTS) \
17585 $(POSTSTAGE1_HOST_EXPORTS) \
17586 cd $(HOST_SUBDIR)/mpfr && \
17587 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17588 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
17589 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
17590 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
17591 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17592 $(TARGET-stageprofile-mpfr)
17594 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
17595 clean-stageprofile: clean-stageprofile-mpfr
17596 clean-stageprofile-mpfr:
17597 @if [ $(current_stage) = stageprofile ]; then \
17598 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17599 else \
17600 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
17601 $(MAKE) stageprofile-start; \
17602 fi; \
17603 cd $(HOST_SUBDIR)/mpfr && \
17604 $(MAKE) $(EXTRA_HOST_FLAGS) \
17605 $(POSTSTAGE1_FLAGS_TO_PASS) \
17606 clean
17607 @endif mpfr-bootstrap
17610 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
17611 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
17612 maybe-all-stagefeedback-mpfr:
17613 maybe-clean-stagefeedback-mpfr:
17614 @if mpfr-bootstrap
17615 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
17616 all-stagefeedback: all-stagefeedback-mpfr
17617 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
17618 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
17619 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17620 @r=`${PWD_COMMAND}`; export r; \
17621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17622 $(HOST_EXPORTS) \
17623 $(POSTSTAGE1_HOST_EXPORTS) \
17624 cd $(HOST_SUBDIR)/mpfr && \
17625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17626 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
17627 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
17628 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
17629 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17630 $(TARGET-stagefeedback-mpfr)
17632 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
17633 clean-stagefeedback: clean-stagefeedback-mpfr
17634 clean-stagefeedback-mpfr:
17635 @if [ $(current_stage) = stagefeedback ]; then \
17636 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17637 else \
17638 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
17639 $(MAKE) stagefeedback-start; \
17640 fi; \
17641 cd $(HOST_SUBDIR)/mpfr && \
17642 $(MAKE) $(EXTRA_HOST_FLAGS) \
17643 $(POSTSTAGE1_FLAGS_TO_PASS) \
17644 clean
17645 @endif mpfr-bootstrap
17651 .PHONY: check-mpfr maybe-check-mpfr
17652 maybe-check-mpfr:
17653 @if mpfr
17654 maybe-check-mpfr: check-mpfr
17656 check-mpfr:
17657 @: $(MAKE); $(unstage)
17658 @r=`${PWD_COMMAND}`; export r; \
17659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17660 $(HOST_EXPORTS) \
17661 (cd $(HOST_SUBDIR)/mpfr && \
17662 $(MAKE) $(FLAGS_TO_PASS) check)
17664 @endif mpfr
17666 .PHONY: install-mpfr maybe-install-mpfr
17667 maybe-install-mpfr:
17668 @if mpfr
17669 maybe-install-mpfr: install-mpfr
17671 install-mpfr:
17673 @endif mpfr
17675 # Other targets (info, dvi, pdf, etc.)
17677 .PHONY: maybe-info-mpfr info-mpfr
17678 maybe-info-mpfr:
17679 @if mpfr
17680 maybe-info-mpfr: info-mpfr
17682 info-mpfr: \
17683 configure-mpfr
17684 @[ -f ./mpfr/Makefile ] || exit 0; \
17685 r=`${PWD_COMMAND}`; export r; \
17686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17687 $(HOST_EXPORTS) \
17688 for flag in $(EXTRA_HOST_FLAGS) ; do \
17689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17690 done; \
17691 echo "Doing info in mpfr" ; \
17692 (cd $(HOST_SUBDIR)/mpfr && \
17693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17695 "RANLIB=$${RANLIB}" \
17696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17697 info) \
17698 || exit 1
17700 @endif mpfr
17702 .PHONY: maybe-dvi-mpfr dvi-mpfr
17703 maybe-dvi-mpfr:
17704 @if mpfr
17705 maybe-dvi-mpfr: dvi-mpfr
17707 dvi-mpfr: \
17708 configure-mpfr
17709 @[ -f ./mpfr/Makefile ] || exit 0; \
17710 r=`${PWD_COMMAND}`; export r; \
17711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17712 $(HOST_EXPORTS) \
17713 for flag in $(EXTRA_HOST_FLAGS) ; do \
17714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17715 done; \
17716 echo "Doing dvi in mpfr" ; \
17717 (cd $(HOST_SUBDIR)/mpfr && \
17718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17720 "RANLIB=$${RANLIB}" \
17721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17722 dvi) \
17723 || exit 1
17725 @endif mpfr
17727 .PHONY: maybe-pdf-mpfr pdf-mpfr
17728 maybe-pdf-mpfr:
17729 @if mpfr
17730 maybe-pdf-mpfr: pdf-mpfr
17732 pdf-mpfr: \
17733 configure-mpfr
17734 @[ -f ./mpfr/Makefile ] || exit 0; \
17735 r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 $(HOST_EXPORTS) \
17738 for flag in $(EXTRA_HOST_FLAGS) ; do \
17739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17740 done; \
17741 echo "Doing pdf in mpfr" ; \
17742 (cd $(HOST_SUBDIR)/mpfr && \
17743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17745 "RANLIB=$${RANLIB}" \
17746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17747 pdf) \
17748 || exit 1
17750 @endif mpfr
17752 .PHONY: maybe-html-mpfr html-mpfr
17753 maybe-html-mpfr:
17754 @if mpfr
17755 maybe-html-mpfr: html-mpfr
17757 html-mpfr: \
17758 configure-mpfr
17759 @[ -f ./mpfr/Makefile ] || exit 0; \
17760 r=`${PWD_COMMAND}`; export r; \
17761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17762 $(HOST_EXPORTS) \
17763 for flag in $(EXTRA_HOST_FLAGS) ; do \
17764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17765 done; \
17766 echo "Doing html in mpfr" ; \
17767 (cd $(HOST_SUBDIR)/mpfr && \
17768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17770 "RANLIB=$${RANLIB}" \
17771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17772 html) \
17773 || exit 1
17775 @endif mpfr
17777 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
17778 maybe-TAGS-mpfr:
17779 @if mpfr
17780 maybe-TAGS-mpfr: TAGS-mpfr
17782 TAGS-mpfr: \
17783 configure-mpfr
17784 @[ -f ./mpfr/Makefile ] || exit 0; \
17785 r=`${PWD_COMMAND}`; export r; \
17786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17787 $(HOST_EXPORTS) \
17788 for flag in $(EXTRA_HOST_FLAGS) ; do \
17789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17790 done; \
17791 echo "Doing TAGS in mpfr" ; \
17792 (cd $(HOST_SUBDIR)/mpfr && \
17793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17795 "RANLIB=$${RANLIB}" \
17796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17797 TAGS) \
17798 || exit 1
17800 @endif mpfr
17802 .PHONY: maybe-install-info-mpfr install-info-mpfr
17803 maybe-install-info-mpfr:
17804 @if mpfr
17805 maybe-install-info-mpfr: install-info-mpfr
17807 install-info-mpfr: \
17808 configure-mpfr \
17809 info-mpfr
17810 @[ -f ./mpfr/Makefile ] || exit 0; \
17811 r=`${PWD_COMMAND}`; export r; \
17812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17813 $(HOST_EXPORTS) \
17814 for flag in $(EXTRA_HOST_FLAGS) ; do \
17815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17816 done; \
17817 echo "Doing install-info in mpfr" ; \
17818 (cd $(HOST_SUBDIR)/mpfr && \
17819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17821 "RANLIB=$${RANLIB}" \
17822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17823 install-info) \
17824 || exit 1
17826 @endif mpfr
17828 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
17829 maybe-install-pdf-mpfr:
17830 @if mpfr
17831 maybe-install-pdf-mpfr: install-pdf-mpfr
17833 install-pdf-mpfr: \
17834 configure-mpfr \
17835 pdf-mpfr
17836 @[ -f ./mpfr/Makefile ] || exit 0; \
17837 r=`${PWD_COMMAND}`; export r; \
17838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17839 $(HOST_EXPORTS) \
17840 for flag in $(EXTRA_HOST_FLAGS) ; do \
17841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17842 done; \
17843 echo "Doing install-pdf in mpfr" ; \
17844 (cd $(HOST_SUBDIR)/mpfr && \
17845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17847 "RANLIB=$${RANLIB}" \
17848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17849 install-pdf) \
17850 || exit 1
17852 @endif mpfr
17854 .PHONY: maybe-install-html-mpfr install-html-mpfr
17855 maybe-install-html-mpfr:
17856 @if mpfr
17857 maybe-install-html-mpfr: install-html-mpfr
17859 install-html-mpfr: \
17860 configure-mpfr \
17861 html-mpfr
17862 @[ -f ./mpfr/Makefile ] || exit 0; \
17863 r=`${PWD_COMMAND}`; export r; \
17864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17865 $(HOST_EXPORTS) \
17866 for flag in $(EXTRA_HOST_FLAGS) ; do \
17867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17868 done; \
17869 echo "Doing install-html in mpfr" ; \
17870 (cd $(HOST_SUBDIR)/mpfr && \
17871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17873 "RANLIB=$${RANLIB}" \
17874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17875 install-html) \
17876 || exit 1
17878 @endif mpfr
17880 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
17881 maybe-installcheck-mpfr:
17882 @if mpfr
17883 maybe-installcheck-mpfr: installcheck-mpfr
17885 installcheck-mpfr: \
17886 configure-mpfr
17887 @[ -f ./mpfr/Makefile ] || exit 0; \
17888 r=`${PWD_COMMAND}`; export r; \
17889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17890 $(HOST_EXPORTS) \
17891 for flag in $(EXTRA_HOST_FLAGS) ; do \
17892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17893 done; \
17894 echo "Doing installcheck in mpfr" ; \
17895 (cd $(HOST_SUBDIR)/mpfr && \
17896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17898 "RANLIB=$${RANLIB}" \
17899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17900 installcheck) \
17901 || exit 1
17903 @endif mpfr
17905 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
17906 maybe-mostlyclean-mpfr:
17907 @if mpfr
17908 maybe-mostlyclean-mpfr: mostlyclean-mpfr
17910 mostlyclean-mpfr:
17911 @[ -f ./mpfr/Makefile ] || exit 0; \
17912 r=`${PWD_COMMAND}`; export r; \
17913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17914 $(HOST_EXPORTS) \
17915 for flag in $(EXTRA_HOST_FLAGS) ; do \
17916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17917 done; \
17918 echo "Doing mostlyclean in mpfr" ; \
17919 (cd $(HOST_SUBDIR)/mpfr && \
17920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17922 "RANLIB=$${RANLIB}" \
17923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17924 mostlyclean) \
17925 || exit 1
17927 @endif mpfr
17929 .PHONY: maybe-clean-mpfr clean-mpfr
17930 maybe-clean-mpfr:
17931 @if mpfr
17932 maybe-clean-mpfr: clean-mpfr
17934 clean-mpfr:
17935 @[ -f ./mpfr/Makefile ] || exit 0; \
17936 r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 $(HOST_EXPORTS) \
17939 for flag in $(EXTRA_HOST_FLAGS) ; do \
17940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17941 done; \
17942 echo "Doing clean in mpfr" ; \
17943 (cd $(HOST_SUBDIR)/mpfr && \
17944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17946 "RANLIB=$${RANLIB}" \
17947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17948 clean) \
17949 || exit 1
17951 @endif mpfr
17953 .PHONY: maybe-distclean-mpfr distclean-mpfr
17954 maybe-distclean-mpfr:
17955 @if mpfr
17956 maybe-distclean-mpfr: distclean-mpfr
17958 distclean-mpfr:
17959 @[ -f ./mpfr/Makefile ] || exit 0; \
17960 r=`${PWD_COMMAND}`; export r; \
17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17962 $(HOST_EXPORTS) \
17963 for flag in $(EXTRA_HOST_FLAGS) ; do \
17964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17965 done; \
17966 echo "Doing distclean in mpfr" ; \
17967 (cd $(HOST_SUBDIR)/mpfr && \
17968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17970 "RANLIB=$${RANLIB}" \
17971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17972 distclean) \
17973 || exit 1
17975 @endif mpfr
17977 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
17978 maybe-maintainer-clean-mpfr:
17979 @if mpfr
17980 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
17982 maintainer-clean-mpfr:
17983 @[ -f ./mpfr/Makefile ] || exit 0; \
17984 r=`${PWD_COMMAND}`; export r; \
17985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17986 $(HOST_EXPORTS) \
17987 for flag in $(EXTRA_HOST_FLAGS) ; do \
17988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17989 done; \
17990 echo "Doing maintainer-clean in mpfr" ; \
17991 (cd $(HOST_SUBDIR)/mpfr && \
17992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17994 "RANLIB=$${RANLIB}" \
17995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17996 maintainer-clean) \
17997 || exit 1
17999 @endif mpfr
18003 .PHONY: configure-ppl maybe-configure-ppl
18004 maybe-configure-ppl:
18005 @if gcc-bootstrap
18006 configure-ppl: stage_current
18007 @endif gcc-bootstrap
18008 @if ppl
18009 maybe-configure-ppl: configure-ppl
18010 configure-ppl:
18011 @r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18015 $(HOST_EXPORTS) \
18016 echo Configuring in $(HOST_SUBDIR)/ppl; \
18017 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
18018 case $(srcdir) in \
18019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18020 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18022 esac; \
18023 srcdiroption="--srcdir=$${topdir}/ppl"; \
18024 libsrcdir="$$s/ppl"; \
18025 $(SHELL) $${libsrcdir}/configure \
18026 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18027 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
18028 || exit 1
18029 @endif ppl
18033 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
18034 maybe-configure-stage1-ppl:
18035 @if ppl-bootstrap
18036 maybe-configure-stage1-ppl: configure-stage1-ppl
18037 configure-stage1-ppl:
18038 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18040 @r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18043 $(HOST_EXPORTS) \
18044 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18045 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
18046 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
18047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18048 cd $(HOST_SUBDIR)/ppl || exit 1; \
18049 case $(srcdir) in \
18050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18051 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18053 esac; \
18054 srcdiroption="--srcdir=$${topdir}/ppl"; \
18055 libsrcdir="$$s/ppl"; \
18056 $(SHELL) $${libsrcdir}/configure \
18057 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18058 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18060 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18061 @endif ppl-bootstrap
18063 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
18064 maybe-configure-stage2-ppl:
18065 @if ppl-bootstrap
18066 maybe-configure-stage2-ppl: configure-stage2-ppl
18067 configure-stage2-ppl:
18068 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18070 @r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18073 $(HOST_EXPORTS) \
18074 $(POSTSTAGE1_HOST_EXPORTS) \
18075 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18076 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
18077 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
18078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18079 cd $(HOST_SUBDIR)/ppl || exit 1; \
18080 case $(srcdir) in \
18081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18082 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18084 esac; \
18085 srcdiroption="--srcdir=$${topdir}/ppl"; \
18086 libsrcdir="$$s/ppl"; \
18087 $(SHELL) $${libsrcdir}/configure \
18088 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18089 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18090 --with-build-libsubdir=$(HOST_SUBDIR) \
18091 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18092 @endif ppl-bootstrap
18094 .PHONY: configure-stageb2g0-ppl maybe-configure-stageb2g0-ppl
18095 maybe-configure-stageb2g0-ppl:
18096 @if ppl-bootstrap
18097 maybe-configure-stageb2g0-ppl: configure-stageb2g0-ppl
18098 configure-stageb2g0-ppl:
18099 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
18100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18101 @r=`${PWD_COMMAND}`; export r; \
18102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18103 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18104 $(HOST_EXPORTS) \
18105 $(POSTSTAGE1_HOST_EXPORTS) \
18106 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
18107 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
18108 echo Configuring stage b2g0 in $(HOST_SUBDIR)/ppl ; \
18109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18110 cd $(HOST_SUBDIR)/ppl || exit 1; \
18111 case $(srcdir) in \
18112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18113 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18115 esac; \
18116 srcdiroption="--srcdir=$${topdir}/ppl"; \
18117 libsrcdir="$$s/ppl"; \
18118 $(SHELL) $${libsrcdir}/configure \
18119 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18120 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18121 --with-build-libsubdir=$(HOST_SUBDIR) \
18122 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18123 @endif ppl-bootstrap
18125 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
18126 maybe-configure-stage3-ppl:
18127 @if ppl-bootstrap
18128 maybe-configure-stage3-ppl: configure-stage3-ppl
18129 configure-stage3-ppl:
18130 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18132 @r=`${PWD_COMMAND}`; export r; \
18133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18134 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18135 $(HOST_EXPORTS) \
18136 $(POSTSTAGE1_HOST_EXPORTS) \
18137 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18138 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
18139 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
18140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18141 cd $(HOST_SUBDIR)/ppl || exit 1; \
18142 case $(srcdir) in \
18143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18144 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18146 esac; \
18147 srcdiroption="--srcdir=$${topdir}/ppl"; \
18148 libsrcdir="$$s/ppl"; \
18149 $(SHELL) $${libsrcdir}/configure \
18150 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18151 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18152 --with-build-libsubdir=$(HOST_SUBDIR) \
18153 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18154 @endif ppl-bootstrap
18156 .PHONY: configure-stageb3g2-ppl maybe-configure-stageb3g2-ppl
18157 maybe-configure-stageb3g2-ppl:
18158 @if ppl-bootstrap
18159 maybe-configure-stageb3g2-ppl: configure-stageb3g2-ppl
18160 configure-stageb3g2-ppl:
18161 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
18162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18163 @r=`${PWD_COMMAND}`; export r; \
18164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18165 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18166 $(HOST_EXPORTS) \
18167 $(POSTSTAGE1_HOST_EXPORTS) \
18168 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
18169 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
18170 echo Configuring stage b3g2 in $(HOST_SUBDIR)/ppl ; \
18171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18172 cd $(HOST_SUBDIR)/ppl || exit 1; \
18173 case $(srcdir) in \
18174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18175 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18177 esac; \
18178 srcdiroption="--srcdir=$${topdir}/ppl"; \
18179 libsrcdir="$$s/ppl"; \
18180 $(SHELL) $${libsrcdir}/configure \
18181 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18182 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18183 --with-build-libsubdir=$(HOST_SUBDIR) \
18184 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18185 @endif ppl-bootstrap
18187 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
18188 maybe-configure-stage4-ppl:
18189 @if ppl-bootstrap
18190 maybe-configure-stage4-ppl: configure-stage4-ppl
18191 configure-stage4-ppl:
18192 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18194 @r=`${PWD_COMMAND}`; export r; \
18195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18196 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18197 $(HOST_EXPORTS) \
18198 $(POSTSTAGE1_HOST_EXPORTS) \
18199 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18200 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
18201 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
18202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18203 cd $(HOST_SUBDIR)/ppl || exit 1; \
18204 case $(srcdir) in \
18205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18206 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18208 esac; \
18209 srcdiroption="--srcdir=$${topdir}/ppl"; \
18210 libsrcdir="$$s/ppl"; \
18211 $(SHELL) $${libsrcdir}/configure \
18212 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18213 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18214 --with-build-libsubdir=$(HOST_SUBDIR) \
18215 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18216 @endif ppl-bootstrap
18218 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
18219 maybe-configure-stageprofile-ppl:
18220 @if ppl-bootstrap
18221 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
18222 configure-stageprofile-ppl:
18223 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18225 @r=`${PWD_COMMAND}`; export r; \
18226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18227 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18228 $(HOST_EXPORTS) \
18229 $(POSTSTAGE1_HOST_EXPORTS) \
18230 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
18231 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
18232 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
18233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18234 cd $(HOST_SUBDIR)/ppl || exit 1; \
18235 case $(srcdir) in \
18236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18237 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18239 esac; \
18240 srcdiroption="--srcdir=$${topdir}/ppl"; \
18241 libsrcdir="$$s/ppl"; \
18242 $(SHELL) $${libsrcdir}/configure \
18243 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18244 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18245 --with-build-libsubdir=$(HOST_SUBDIR) \
18246 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18247 @endif ppl-bootstrap
18249 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
18250 maybe-configure-stagefeedback-ppl:
18251 @if ppl-bootstrap
18252 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
18253 configure-stagefeedback-ppl:
18254 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18256 @r=`${PWD_COMMAND}`; export r; \
18257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18258 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18259 $(HOST_EXPORTS) \
18260 $(POSTSTAGE1_HOST_EXPORTS) \
18261 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
18262 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
18263 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
18264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18265 cd $(HOST_SUBDIR)/ppl || exit 1; \
18266 case $(srcdir) in \
18267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18268 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18270 esac; \
18271 srcdiroption="--srcdir=$${topdir}/ppl"; \
18272 libsrcdir="$$s/ppl"; \
18273 $(SHELL) $${libsrcdir}/configure \
18274 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18275 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18276 --with-build-libsubdir=$(HOST_SUBDIR) \
18277 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18278 @endif ppl-bootstrap
18284 .PHONY: all-ppl maybe-all-ppl
18285 maybe-all-ppl:
18286 @if gcc-bootstrap
18287 all-ppl: stage_current
18288 @endif gcc-bootstrap
18289 @if ppl
18290 TARGET-ppl=all
18291 maybe-all-ppl: all-ppl
18292 all-ppl: configure-ppl
18293 @r=`${PWD_COMMAND}`; export r; \
18294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18295 $(HOST_EXPORTS) \
18296 (cd $(HOST_SUBDIR)/ppl && \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18298 $(TARGET-ppl))
18299 @endif ppl
18303 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
18304 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
18305 maybe-all-stage1-ppl:
18306 maybe-clean-stage1-ppl:
18307 @if ppl-bootstrap
18308 maybe-all-stage1-ppl: all-stage1-ppl
18309 all-stage1: all-stage1-ppl
18310 TARGET-stage1-ppl = $(TARGET-ppl)
18311 all-stage1-ppl: configure-stage1-ppl
18312 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18313 @r=`${PWD_COMMAND}`; export r; \
18314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18315 $(HOST_EXPORTS) \
18316 cd $(HOST_SUBDIR)/ppl && \
18317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18318 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
18319 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
18320 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
18321 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
18322 $(TARGET-stage1-ppl)
18324 maybe-clean-stage1-ppl: clean-stage1-ppl
18325 clean-stage1: clean-stage1-ppl
18326 clean-stage1-ppl:
18327 @if [ $(current_stage) = stage1 ]; then \
18328 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18329 else \
18330 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
18331 $(MAKE) stage1-start; \
18332 fi; \
18333 cd $(HOST_SUBDIR)/ppl && \
18334 $(MAKE) $(EXTRA_HOST_FLAGS) \
18335 clean
18336 @endif ppl-bootstrap
18339 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
18340 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
18341 maybe-all-stage2-ppl:
18342 maybe-clean-stage2-ppl:
18343 @if ppl-bootstrap
18344 maybe-all-stage2-ppl: all-stage2-ppl
18345 all-stage2: all-stage2-ppl
18346 TARGET-stage2-ppl = $(TARGET-ppl)
18347 all-stage2-ppl: configure-stage2-ppl
18348 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18349 @r=`${PWD_COMMAND}`; export r; \
18350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18351 $(HOST_EXPORTS) \
18352 $(POSTSTAGE1_HOST_EXPORTS) \
18353 cd $(HOST_SUBDIR)/ppl && \
18354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18355 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
18356 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
18357 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
18358 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18359 $(TARGET-stage2-ppl)
18361 maybe-clean-stage2-ppl: clean-stage2-ppl
18362 clean-stage2: clean-stage2-ppl
18363 clean-stage2-ppl:
18364 @if [ $(current_stage) = stage2 ]; then \
18365 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18366 else \
18367 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
18368 $(MAKE) stage2-start; \
18369 fi; \
18370 cd $(HOST_SUBDIR)/ppl && \
18371 $(MAKE) $(EXTRA_HOST_FLAGS) \
18372 $(POSTSTAGE1_FLAGS_TO_PASS) \
18373 clean
18374 @endif ppl-bootstrap
18377 .PHONY: all-stageb2g0-ppl maybe-all-stageb2g0-ppl
18378 .PHONY: clean-stageb2g0-ppl maybe-clean-stageb2g0-ppl
18379 maybe-all-stageb2g0-ppl:
18380 maybe-clean-stageb2g0-ppl:
18381 @if ppl-bootstrap
18382 maybe-all-stageb2g0-ppl: all-stageb2g0-ppl
18383 all-stageb2g0: all-stageb2g0-ppl
18384 TARGET-stageb2g0-ppl = $(TARGET-ppl)
18385 all-stageb2g0-ppl: configure-stageb2g0-ppl
18386 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
18387 @r=`${PWD_COMMAND}`; export r; \
18388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18389 $(HOST_EXPORTS) \
18390 $(POSTSTAGE1_HOST_EXPORTS) \
18391 cd $(HOST_SUBDIR)/ppl && \
18392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18393 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
18394 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
18395 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
18396 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18397 $(TARGET-stageb2g0-ppl)
18399 maybe-clean-stageb2g0-ppl: clean-stageb2g0-ppl
18400 clean-stageb2g0: clean-stageb2g0-ppl
18401 clean-stageb2g0-ppl:
18402 @if [ $(current_stage) = stageb2g0 ]; then \
18403 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18404 else \
18405 [ -f $(HOST_SUBDIR)/stageb2g0-ppl/Makefile ] || exit 0; \
18406 $(MAKE) stageb2g0-start; \
18407 fi; \
18408 cd $(HOST_SUBDIR)/ppl && \
18409 $(MAKE) $(EXTRA_HOST_FLAGS) \
18410 $(POSTSTAGE1_FLAGS_TO_PASS) \
18411 clean
18412 @endif ppl-bootstrap
18415 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
18416 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
18417 maybe-all-stage3-ppl:
18418 maybe-clean-stage3-ppl:
18419 @if ppl-bootstrap
18420 maybe-all-stage3-ppl: all-stage3-ppl
18421 all-stage3: all-stage3-ppl
18422 TARGET-stage3-ppl = $(TARGET-ppl)
18423 all-stage3-ppl: configure-stage3-ppl
18424 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18425 @r=`${PWD_COMMAND}`; export r; \
18426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18427 $(HOST_EXPORTS) \
18428 $(POSTSTAGE1_HOST_EXPORTS) \
18429 cd $(HOST_SUBDIR)/ppl && \
18430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18431 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
18432 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
18433 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
18434 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18435 $(TARGET-stage3-ppl)
18437 maybe-clean-stage3-ppl: clean-stage3-ppl
18438 clean-stage3: clean-stage3-ppl
18439 clean-stage3-ppl:
18440 @if [ $(current_stage) = stage3 ]; then \
18441 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18442 else \
18443 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
18444 $(MAKE) stage3-start; \
18445 fi; \
18446 cd $(HOST_SUBDIR)/ppl && \
18447 $(MAKE) $(EXTRA_HOST_FLAGS) \
18448 $(POSTSTAGE1_FLAGS_TO_PASS) \
18449 clean
18450 @endif ppl-bootstrap
18453 .PHONY: all-stageb3g2-ppl maybe-all-stageb3g2-ppl
18454 .PHONY: clean-stageb3g2-ppl maybe-clean-stageb3g2-ppl
18455 maybe-all-stageb3g2-ppl:
18456 maybe-clean-stageb3g2-ppl:
18457 @if ppl-bootstrap
18458 maybe-all-stageb3g2-ppl: all-stageb3g2-ppl
18459 all-stageb3g2: all-stageb3g2-ppl
18460 TARGET-stageb3g2-ppl = $(TARGET-ppl)
18461 all-stageb3g2-ppl: configure-stageb3g2-ppl
18462 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
18463 @r=`${PWD_COMMAND}`; export r; \
18464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18465 $(HOST_EXPORTS) \
18466 $(POSTSTAGE1_HOST_EXPORTS) \
18467 cd $(HOST_SUBDIR)/ppl && \
18468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18469 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
18470 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
18471 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
18472 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18473 $(TARGET-stageb3g2-ppl)
18475 maybe-clean-stageb3g2-ppl: clean-stageb3g2-ppl
18476 clean-stageb3g2: clean-stageb3g2-ppl
18477 clean-stageb3g2-ppl:
18478 @if [ $(current_stage) = stageb3g2 ]; then \
18479 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18480 else \
18481 [ -f $(HOST_SUBDIR)/stageb3g2-ppl/Makefile ] || exit 0; \
18482 $(MAKE) stageb3g2-start; \
18483 fi; \
18484 cd $(HOST_SUBDIR)/ppl && \
18485 $(MAKE) $(EXTRA_HOST_FLAGS) \
18486 $(POSTSTAGE1_FLAGS_TO_PASS) \
18487 clean
18488 @endif ppl-bootstrap
18491 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
18492 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
18493 maybe-all-stage4-ppl:
18494 maybe-clean-stage4-ppl:
18495 @if ppl-bootstrap
18496 maybe-all-stage4-ppl: all-stage4-ppl
18497 all-stage4: all-stage4-ppl
18498 TARGET-stage4-ppl = $(TARGET-ppl)
18499 all-stage4-ppl: configure-stage4-ppl
18500 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18501 @r=`${PWD_COMMAND}`; export r; \
18502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18503 $(HOST_EXPORTS) \
18504 $(POSTSTAGE1_HOST_EXPORTS) \
18505 cd $(HOST_SUBDIR)/ppl && \
18506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18507 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
18508 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18509 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
18510 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18511 $(TARGET-stage4-ppl)
18513 maybe-clean-stage4-ppl: clean-stage4-ppl
18514 clean-stage4: clean-stage4-ppl
18515 clean-stage4-ppl:
18516 @if [ $(current_stage) = stage4 ]; then \
18517 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18518 else \
18519 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
18520 $(MAKE) stage4-start; \
18521 fi; \
18522 cd $(HOST_SUBDIR)/ppl && \
18523 $(MAKE) $(EXTRA_HOST_FLAGS) \
18524 $(POSTSTAGE1_FLAGS_TO_PASS) \
18525 clean
18526 @endif ppl-bootstrap
18529 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
18530 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
18531 maybe-all-stageprofile-ppl:
18532 maybe-clean-stageprofile-ppl:
18533 @if ppl-bootstrap
18534 maybe-all-stageprofile-ppl: all-stageprofile-ppl
18535 all-stageprofile: all-stageprofile-ppl
18536 TARGET-stageprofile-ppl = $(TARGET-ppl)
18537 all-stageprofile-ppl: configure-stageprofile-ppl
18538 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18539 @r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 $(HOST_EXPORTS) \
18542 $(POSTSTAGE1_HOST_EXPORTS) \
18543 cd $(HOST_SUBDIR)/ppl && \
18544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18545 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
18546 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
18547 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
18548 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18549 $(TARGET-stageprofile-ppl)
18551 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
18552 clean-stageprofile: clean-stageprofile-ppl
18553 clean-stageprofile-ppl:
18554 @if [ $(current_stage) = stageprofile ]; then \
18555 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18556 else \
18557 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
18558 $(MAKE) stageprofile-start; \
18559 fi; \
18560 cd $(HOST_SUBDIR)/ppl && \
18561 $(MAKE) $(EXTRA_HOST_FLAGS) \
18562 $(POSTSTAGE1_FLAGS_TO_PASS) \
18563 clean
18564 @endif ppl-bootstrap
18567 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
18568 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
18569 maybe-all-stagefeedback-ppl:
18570 maybe-clean-stagefeedback-ppl:
18571 @if ppl-bootstrap
18572 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
18573 all-stagefeedback: all-stagefeedback-ppl
18574 TARGET-stagefeedback-ppl = $(TARGET-ppl)
18575 all-stagefeedback-ppl: configure-stagefeedback-ppl
18576 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18577 @r=`${PWD_COMMAND}`; export r; \
18578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18579 $(HOST_EXPORTS) \
18580 $(POSTSTAGE1_HOST_EXPORTS) \
18581 cd $(HOST_SUBDIR)/ppl && \
18582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18583 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
18584 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
18585 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
18586 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18587 $(TARGET-stagefeedback-ppl)
18589 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
18590 clean-stagefeedback: clean-stagefeedback-ppl
18591 clean-stagefeedback-ppl:
18592 @if [ $(current_stage) = stagefeedback ]; then \
18593 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18594 else \
18595 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
18596 $(MAKE) stagefeedback-start; \
18597 fi; \
18598 cd $(HOST_SUBDIR)/ppl && \
18599 $(MAKE) $(EXTRA_HOST_FLAGS) \
18600 $(POSTSTAGE1_FLAGS_TO_PASS) \
18601 clean
18602 @endif ppl-bootstrap
18608 .PHONY: check-ppl maybe-check-ppl
18609 maybe-check-ppl:
18610 @if ppl
18611 maybe-check-ppl: check-ppl
18613 check-ppl:
18614 @: $(MAKE); $(unstage)
18615 @r=`${PWD_COMMAND}`; export r; \
18616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18617 $(HOST_EXPORTS) \
18618 (cd $(HOST_SUBDIR)/ppl && \
18619 $(MAKE) $(FLAGS_TO_PASS) check)
18621 @endif ppl
18623 .PHONY: install-ppl maybe-install-ppl
18624 maybe-install-ppl:
18625 @if ppl
18626 maybe-install-ppl: install-ppl
18628 install-ppl:
18630 @endif ppl
18632 # Other targets (info, dvi, pdf, etc.)
18634 .PHONY: maybe-info-ppl info-ppl
18635 maybe-info-ppl:
18636 @if ppl
18637 maybe-info-ppl: info-ppl
18639 info-ppl: \
18640 configure-ppl
18641 @[ -f ./ppl/Makefile ] || exit 0; \
18642 r=`${PWD_COMMAND}`; export r; \
18643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18644 $(HOST_EXPORTS) \
18645 for flag in $(EXTRA_HOST_FLAGS) ; do \
18646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18647 done; \
18648 echo "Doing info in ppl" ; \
18649 (cd $(HOST_SUBDIR)/ppl && \
18650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18652 "RANLIB=$${RANLIB}" \
18653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18654 info) \
18655 || exit 1
18657 @endif ppl
18659 .PHONY: maybe-dvi-ppl dvi-ppl
18660 maybe-dvi-ppl:
18661 @if ppl
18662 maybe-dvi-ppl: dvi-ppl
18664 dvi-ppl: \
18665 configure-ppl
18666 @[ -f ./ppl/Makefile ] || exit 0; \
18667 r=`${PWD_COMMAND}`; export r; \
18668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 $(HOST_EXPORTS) \
18670 for flag in $(EXTRA_HOST_FLAGS) ; do \
18671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18672 done; \
18673 echo "Doing dvi in ppl" ; \
18674 (cd $(HOST_SUBDIR)/ppl && \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18677 "RANLIB=$${RANLIB}" \
18678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18679 dvi) \
18680 || exit 1
18682 @endif ppl
18684 .PHONY: maybe-pdf-ppl pdf-ppl
18685 maybe-pdf-ppl:
18686 @if ppl
18687 maybe-pdf-ppl: pdf-ppl
18689 pdf-ppl: \
18690 configure-ppl
18691 @[ -f ./ppl/Makefile ] || exit 0; \
18692 r=`${PWD_COMMAND}`; export r; \
18693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18694 $(HOST_EXPORTS) \
18695 for flag in $(EXTRA_HOST_FLAGS) ; do \
18696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18697 done; \
18698 echo "Doing pdf in ppl" ; \
18699 (cd $(HOST_SUBDIR)/ppl && \
18700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18702 "RANLIB=$${RANLIB}" \
18703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18704 pdf) \
18705 || exit 1
18707 @endif ppl
18709 .PHONY: maybe-html-ppl html-ppl
18710 maybe-html-ppl:
18711 @if ppl
18712 maybe-html-ppl: html-ppl
18714 html-ppl: \
18715 configure-ppl
18716 @[ -f ./ppl/Makefile ] || exit 0; \
18717 r=`${PWD_COMMAND}`; export r; \
18718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18719 $(HOST_EXPORTS) \
18720 for flag in $(EXTRA_HOST_FLAGS) ; do \
18721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18722 done; \
18723 echo "Doing html in ppl" ; \
18724 (cd $(HOST_SUBDIR)/ppl && \
18725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18727 "RANLIB=$${RANLIB}" \
18728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18729 html) \
18730 || exit 1
18732 @endif ppl
18734 .PHONY: maybe-TAGS-ppl TAGS-ppl
18735 maybe-TAGS-ppl:
18736 @if ppl
18737 maybe-TAGS-ppl: TAGS-ppl
18739 TAGS-ppl: \
18740 configure-ppl
18741 @[ -f ./ppl/Makefile ] || exit 0; \
18742 r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 $(HOST_EXPORTS) \
18745 for flag in $(EXTRA_HOST_FLAGS) ; do \
18746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18747 done; \
18748 echo "Doing TAGS in ppl" ; \
18749 (cd $(HOST_SUBDIR)/ppl && \
18750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18752 "RANLIB=$${RANLIB}" \
18753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18754 TAGS) \
18755 || exit 1
18757 @endif ppl
18759 .PHONY: maybe-install-info-ppl install-info-ppl
18760 maybe-install-info-ppl:
18761 @if ppl
18762 maybe-install-info-ppl: install-info-ppl
18764 install-info-ppl: \
18765 configure-ppl \
18766 info-ppl
18767 @[ -f ./ppl/Makefile ] || exit 0; \
18768 r=`${PWD_COMMAND}`; export r; \
18769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18770 $(HOST_EXPORTS) \
18771 for flag in $(EXTRA_HOST_FLAGS) ; do \
18772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18773 done; \
18774 echo "Doing install-info in ppl" ; \
18775 (cd $(HOST_SUBDIR)/ppl && \
18776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18778 "RANLIB=$${RANLIB}" \
18779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18780 install-info) \
18781 || exit 1
18783 @endif ppl
18785 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
18786 maybe-install-pdf-ppl:
18787 @if ppl
18788 maybe-install-pdf-ppl: install-pdf-ppl
18790 install-pdf-ppl: \
18791 configure-ppl \
18792 pdf-ppl
18793 @[ -f ./ppl/Makefile ] || exit 0; \
18794 r=`${PWD_COMMAND}`; export r; \
18795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18796 $(HOST_EXPORTS) \
18797 for flag in $(EXTRA_HOST_FLAGS) ; do \
18798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18799 done; \
18800 echo "Doing install-pdf in ppl" ; \
18801 (cd $(HOST_SUBDIR)/ppl && \
18802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18804 "RANLIB=$${RANLIB}" \
18805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18806 install-pdf) \
18807 || exit 1
18809 @endif ppl
18811 .PHONY: maybe-install-html-ppl install-html-ppl
18812 maybe-install-html-ppl:
18813 @if ppl
18814 maybe-install-html-ppl: install-html-ppl
18816 install-html-ppl: \
18817 configure-ppl \
18818 html-ppl
18819 @[ -f ./ppl/Makefile ] || exit 0; \
18820 r=`${PWD_COMMAND}`; export r; \
18821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18822 $(HOST_EXPORTS) \
18823 for flag in $(EXTRA_HOST_FLAGS) ; do \
18824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18825 done; \
18826 echo "Doing install-html in ppl" ; \
18827 (cd $(HOST_SUBDIR)/ppl && \
18828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18830 "RANLIB=$${RANLIB}" \
18831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18832 install-html) \
18833 || exit 1
18835 @endif ppl
18837 .PHONY: maybe-installcheck-ppl installcheck-ppl
18838 maybe-installcheck-ppl:
18839 @if ppl
18840 maybe-installcheck-ppl: installcheck-ppl
18842 installcheck-ppl: \
18843 configure-ppl
18844 @[ -f ./ppl/Makefile ] || exit 0; \
18845 r=`${PWD_COMMAND}`; export r; \
18846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18847 $(HOST_EXPORTS) \
18848 for flag in $(EXTRA_HOST_FLAGS) ; do \
18849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18850 done; \
18851 echo "Doing installcheck in ppl" ; \
18852 (cd $(HOST_SUBDIR)/ppl && \
18853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18855 "RANLIB=$${RANLIB}" \
18856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18857 installcheck) \
18858 || exit 1
18860 @endif ppl
18862 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
18863 maybe-mostlyclean-ppl:
18864 @if ppl
18865 maybe-mostlyclean-ppl: mostlyclean-ppl
18867 mostlyclean-ppl:
18868 @[ -f ./ppl/Makefile ] || exit 0; \
18869 r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 $(HOST_EXPORTS) \
18872 for flag in $(EXTRA_HOST_FLAGS) ; do \
18873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18874 done; \
18875 echo "Doing mostlyclean in ppl" ; \
18876 (cd $(HOST_SUBDIR)/ppl && \
18877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18879 "RANLIB=$${RANLIB}" \
18880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18881 mostlyclean) \
18882 || exit 1
18884 @endif ppl
18886 .PHONY: maybe-clean-ppl clean-ppl
18887 maybe-clean-ppl:
18888 @if ppl
18889 maybe-clean-ppl: clean-ppl
18891 clean-ppl:
18892 @[ -f ./ppl/Makefile ] || exit 0; \
18893 r=`${PWD_COMMAND}`; export r; \
18894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18895 $(HOST_EXPORTS) \
18896 for flag in $(EXTRA_HOST_FLAGS) ; do \
18897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18898 done; \
18899 echo "Doing clean in ppl" ; \
18900 (cd $(HOST_SUBDIR)/ppl && \
18901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18903 "RANLIB=$${RANLIB}" \
18904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18905 clean) \
18906 || exit 1
18908 @endif ppl
18910 .PHONY: maybe-distclean-ppl distclean-ppl
18911 maybe-distclean-ppl:
18912 @if ppl
18913 maybe-distclean-ppl: distclean-ppl
18915 distclean-ppl:
18916 @[ -f ./ppl/Makefile ] || exit 0; \
18917 r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 $(HOST_EXPORTS) \
18920 for flag in $(EXTRA_HOST_FLAGS) ; do \
18921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18922 done; \
18923 echo "Doing distclean in ppl" ; \
18924 (cd $(HOST_SUBDIR)/ppl && \
18925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18927 "RANLIB=$${RANLIB}" \
18928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18929 distclean) \
18930 || exit 1
18932 @endif ppl
18934 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
18935 maybe-maintainer-clean-ppl:
18936 @if ppl
18937 maybe-maintainer-clean-ppl: maintainer-clean-ppl
18939 maintainer-clean-ppl:
18940 @[ -f ./ppl/Makefile ] || exit 0; \
18941 r=`${PWD_COMMAND}`; export r; \
18942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18943 $(HOST_EXPORTS) \
18944 for flag in $(EXTRA_HOST_FLAGS) ; do \
18945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18946 done; \
18947 echo "Doing maintainer-clean in ppl" ; \
18948 (cd $(HOST_SUBDIR)/ppl && \
18949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18951 "RANLIB=$${RANLIB}" \
18952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18953 maintainer-clean) \
18954 || exit 1
18956 @endif ppl
18960 .PHONY: configure-cloog maybe-configure-cloog
18961 maybe-configure-cloog:
18962 @if gcc-bootstrap
18963 configure-cloog: stage_current
18964 @endif gcc-bootstrap
18965 @if cloog
18966 maybe-configure-cloog: configure-cloog
18967 configure-cloog:
18968 @r=`${PWD_COMMAND}`; export r; \
18969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18970 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18972 $(HOST_EXPORTS) \
18973 echo Configuring in $(HOST_SUBDIR)/cloog; \
18974 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
18975 case $(srcdir) in \
18976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18977 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18979 esac; \
18980 srcdiroption="--srcdir=$${topdir}/cloog"; \
18981 libsrcdir="$$s/cloog"; \
18982 $(SHELL) $${libsrcdir}/configure \
18983 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18984 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp \
18985 || exit 1
18986 @endif cloog
18990 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
18991 maybe-configure-stage1-cloog:
18992 @if cloog-bootstrap
18993 maybe-configure-stage1-cloog: configure-stage1-cloog
18994 configure-stage1-cloog:
18995 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18997 @r=`${PWD_COMMAND}`; export r; \
18998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18999 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19000 $(HOST_EXPORTS) \
19001 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19002 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
19003 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
19004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19005 cd $(HOST_SUBDIR)/cloog || exit 1; \
19006 case $(srcdir) in \
19007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19008 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19010 esac; \
19011 srcdiroption="--srcdir=$${topdir}/cloog"; \
19012 libsrcdir="$$s/cloog"; \
19013 $(SHELL) $${libsrcdir}/configure \
19014 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19015 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19017 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19018 @endif cloog-bootstrap
19020 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
19021 maybe-configure-stage2-cloog:
19022 @if cloog-bootstrap
19023 maybe-configure-stage2-cloog: configure-stage2-cloog
19024 configure-stage2-cloog:
19025 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19027 @r=`${PWD_COMMAND}`; export r; \
19028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19029 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19030 $(HOST_EXPORTS) \
19031 $(POSTSTAGE1_HOST_EXPORTS) \
19032 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19033 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
19034 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
19035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19036 cd $(HOST_SUBDIR)/cloog || exit 1; \
19037 case $(srcdir) in \
19038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19039 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19041 esac; \
19042 srcdiroption="--srcdir=$${topdir}/cloog"; \
19043 libsrcdir="$$s/cloog"; \
19044 $(SHELL) $${libsrcdir}/configure \
19045 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19046 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19047 --with-build-libsubdir=$(HOST_SUBDIR) \
19048 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19049 @endif cloog-bootstrap
19051 .PHONY: configure-stageb2g0-cloog maybe-configure-stageb2g0-cloog
19052 maybe-configure-stageb2g0-cloog:
19053 @if cloog-bootstrap
19054 maybe-configure-stageb2g0-cloog: configure-stageb2g0-cloog
19055 configure-stageb2g0-cloog:
19056 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
19057 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19058 @r=`${PWD_COMMAND}`; export r; \
19059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19060 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19061 $(HOST_EXPORTS) \
19062 $(POSTSTAGE1_HOST_EXPORTS) \
19063 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
19064 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
19065 echo Configuring stage b2g0 in $(HOST_SUBDIR)/cloog ; \
19066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19067 cd $(HOST_SUBDIR)/cloog || exit 1; \
19068 case $(srcdir) in \
19069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19070 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19072 esac; \
19073 srcdiroption="--srcdir=$${topdir}/cloog"; \
19074 libsrcdir="$$s/cloog"; \
19075 $(SHELL) $${libsrcdir}/configure \
19076 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19077 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19078 --with-build-libsubdir=$(HOST_SUBDIR) \
19079 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19080 @endif cloog-bootstrap
19082 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
19083 maybe-configure-stage3-cloog:
19084 @if cloog-bootstrap
19085 maybe-configure-stage3-cloog: configure-stage3-cloog
19086 configure-stage3-cloog:
19087 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19089 @r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19092 $(HOST_EXPORTS) \
19093 $(POSTSTAGE1_HOST_EXPORTS) \
19094 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19095 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
19096 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
19097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19098 cd $(HOST_SUBDIR)/cloog || exit 1; \
19099 case $(srcdir) in \
19100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19101 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19103 esac; \
19104 srcdiroption="--srcdir=$${topdir}/cloog"; \
19105 libsrcdir="$$s/cloog"; \
19106 $(SHELL) $${libsrcdir}/configure \
19107 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19108 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19109 --with-build-libsubdir=$(HOST_SUBDIR) \
19110 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19111 @endif cloog-bootstrap
19113 .PHONY: configure-stageb3g2-cloog maybe-configure-stageb3g2-cloog
19114 maybe-configure-stageb3g2-cloog:
19115 @if cloog-bootstrap
19116 maybe-configure-stageb3g2-cloog: configure-stageb3g2-cloog
19117 configure-stageb3g2-cloog:
19118 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
19119 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19120 @r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19122 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19123 $(HOST_EXPORTS) \
19124 $(POSTSTAGE1_HOST_EXPORTS) \
19125 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
19126 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
19127 echo Configuring stage b3g2 in $(HOST_SUBDIR)/cloog ; \
19128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19129 cd $(HOST_SUBDIR)/cloog || exit 1; \
19130 case $(srcdir) in \
19131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19132 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19134 esac; \
19135 srcdiroption="--srcdir=$${topdir}/cloog"; \
19136 libsrcdir="$$s/cloog"; \
19137 $(SHELL) $${libsrcdir}/configure \
19138 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19139 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19140 --with-build-libsubdir=$(HOST_SUBDIR) \
19141 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19142 @endif cloog-bootstrap
19144 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
19145 maybe-configure-stage4-cloog:
19146 @if cloog-bootstrap
19147 maybe-configure-stage4-cloog: configure-stage4-cloog
19148 configure-stage4-cloog:
19149 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19151 @r=`${PWD_COMMAND}`; export r; \
19152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19153 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19154 $(HOST_EXPORTS) \
19155 $(POSTSTAGE1_HOST_EXPORTS) \
19156 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19157 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
19158 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
19159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19160 cd $(HOST_SUBDIR)/cloog || exit 1; \
19161 case $(srcdir) in \
19162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19163 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19165 esac; \
19166 srcdiroption="--srcdir=$${topdir}/cloog"; \
19167 libsrcdir="$$s/cloog"; \
19168 $(SHELL) $${libsrcdir}/configure \
19169 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19170 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19171 --with-build-libsubdir=$(HOST_SUBDIR) \
19172 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19173 @endif cloog-bootstrap
19175 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
19176 maybe-configure-stageprofile-cloog:
19177 @if cloog-bootstrap
19178 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
19179 configure-stageprofile-cloog:
19180 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19182 @r=`${PWD_COMMAND}`; export r; \
19183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19184 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19185 $(HOST_EXPORTS) \
19186 $(POSTSTAGE1_HOST_EXPORTS) \
19187 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
19188 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
19189 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
19190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19191 cd $(HOST_SUBDIR)/cloog || exit 1; \
19192 case $(srcdir) in \
19193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19194 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19196 esac; \
19197 srcdiroption="--srcdir=$${topdir}/cloog"; \
19198 libsrcdir="$$s/cloog"; \
19199 $(SHELL) $${libsrcdir}/configure \
19200 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19201 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19202 --with-build-libsubdir=$(HOST_SUBDIR) \
19203 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19204 @endif cloog-bootstrap
19206 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
19207 maybe-configure-stagefeedback-cloog:
19208 @if cloog-bootstrap
19209 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
19210 configure-stagefeedback-cloog:
19211 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19213 @r=`${PWD_COMMAND}`; export r; \
19214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19215 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19216 $(HOST_EXPORTS) \
19217 $(POSTSTAGE1_HOST_EXPORTS) \
19218 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
19219 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
19220 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
19221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19222 cd $(HOST_SUBDIR)/cloog || exit 1; \
19223 case $(srcdir) in \
19224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19225 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19227 esac; \
19228 srcdiroption="--srcdir=$${topdir}/cloog"; \
19229 libsrcdir="$$s/cloog"; \
19230 $(SHELL) $${libsrcdir}/configure \
19231 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19232 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19233 --with-build-libsubdir=$(HOST_SUBDIR) \
19234 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19235 @endif cloog-bootstrap
19241 .PHONY: all-cloog maybe-all-cloog
19242 maybe-all-cloog:
19243 @if gcc-bootstrap
19244 all-cloog: stage_current
19245 @endif gcc-bootstrap
19246 @if cloog
19247 TARGET-cloog=all
19248 maybe-all-cloog: all-cloog
19249 all-cloog: configure-cloog
19250 @r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 $(HOST_EXPORTS) \
19253 (cd $(HOST_SUBDIR)/cloog && \
19254 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19255 $(TARGET-cloog))
19256 @endif cloog
19260 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
19261 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
19262 maybe-all-stage1-cloog:
19263 maybe-clean-stage1-cloog:
19264 @if cloog-bootstrap
19265 maybe-all-stage1-cloog: all-stage1-cloog
19266 all-stage1: all-stage1-cloog
19267 TARGET-stage1-cloog = $(TARGET-cloog)
19268 all-stage1-cloog: configure-stage1-cloog
19269 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19270 @r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 $(HOST_EXPORTS) \
19273 cd $(HOST_SUBDIR)/cloog && \
19274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19275 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
19276 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
19277 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
19278 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
19279 $(TARGET-stage1-cloog)
19281 maybe-clean-stage1-cloog: clean-stage1-cloog
19282 clean-stage1: clean-stage1-cloog
19283 clean-stage1-cloog:
19284 @if [ $(current_stage) = stage1 ]; then \
19285 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19286 else \
19287 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
19288 $(MAKE) stage1-start; \
19289 fi; \
19290 cd $(HOST_SUBDIR)/cloog && \
19291 $(MAKE) $(EXTRA_HOST_FLAGS) \
19292 clean
19293 @endif cloog-bootstrap
19296 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
19297 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
19298 maybe-all-stage2-cloog:
19299 maybe-clean-stage2-cloog:
19300 @if cloog-bootstrap
19301 maybe-all-stage2-cloog: all-stage2-cloog
19302 all-stage2: all-stage2-cloog
19303 TARGET-stage2-cloog = $(TARGET-cloog)
19304 all-stage2-cloog: configure-stage2-cloog
19305 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19306 @r=`${PWD_COMMAND}`; export r; \
19307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19308 $(HOST_EXPORTS) \
19309 $(POSTSTAGE1_HOST_EXPORTS) \
19310 cd $(HOST_SUBDIR)/cloog && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19312 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
19313 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
19314 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
19315 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19316 $(TARGET-stage2-cloog)
19318 maybe-clean-stage2-cloog: clean-stage2-cloog
19319 clean-stage2: clean-stage2-cloog
19320 clean-stage2-cloog:
19321 @if [ $(current_stage) = stage2 ]; then \
19322 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19323 else \
19324 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
19325 $(MAKE) stage2-start; \
19326 fi; \
19327 cd $(HOST_SUBDIR)/cloog && \
19328 $(MAKE) $(EXTRA_HOST_FLAGS) \
19329 $(POSTSTAGE1_FLAGS_TO_PASS) \
19330 clean
19331 @endif cloog-bootstrap
19334 .PHONY: all-stageb2g0-cloog maybe-all-stageb2g0-cloog
19335 .PHONY: clean-stageb2g0-cloog maybe-clean-stageb2g0-cloog
19336 maybe-all-stageb2g0-cloog:
19337 maybe-clean-stageb2g0-cloog:
19338 @if cloog-bootstrap
19339 maybe-all-stageb2g0-cloog: all-stageb2g0-cloog
19340 all-stageb2g0: all-stageb2g0-cloog
19341 TARGET-stageb2g0-cloog = $(TARGET-cloog)
19342 all-stageb2g0-cloog: configure-stageb2g0-cloog
19343 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
19344 @r=`${PWD_COMMAND}`; export r; \
19345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19346 $(HOST_EXPORTS) \
19347 $(POSTSTAGE1_HOST_EXPORTS) \
19348 cd $(HOST_SUBDIR)/cloog && \
19349 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19350 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
19351 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
19352 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
19353 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19354 $(TARGET-stageb2g0-cloog)
19356 maybe-clean-stageb2g0-cloog: clean-stageb2g0-cloog
19357 clean-stageb2g0: clean-stageb2g0-cloog
19358 clean-stageb2g0-cloog:
19359 @if [ $(current_stage) = stageb2g0 ]; then \
19360 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19361 else \
19362 [ -f $(HOST_SUBDIR)/stageb2g0-cloog/Makefile ] || exit 0; \
19363 $(MAKE) stageb2g0-start; \
19364 fi; \
19365 cd $(HOST_SUBDIR)/cloog && \
19366 $(MAKE) $(EXTRA_HOST_FLAGS) \
19367 $(POSTSTAGE1_FLAGS_TO_PASS) \
19368 clean
19369 @endif cloog-bootstrap
19372 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
19373 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
19374 maybe-all-stage3-cloog:
19375 maybe-clean-stage3-cloog:
19376 @if cloog-bootstrap
19377 maybe-all-stage3-cloog: all-stage3-cloog
19378 all-stage3: all-stage3-cloog
19379 TARGET-stage3-cloog = $(TARGET-cloog)
19380 all-stage3-cloog: configure-stage3-cloog
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)/cloog && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19388 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
19389 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
19390 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
19391 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19392 $(TARGET-stage3-cloog)
19394 maybe-clean-stage3-cloog: clean-stage3-cloog
19395 clean-stage3: clean-stage3-cloog
19396 clean-stage3-cloog:
19397 @if [ $(current_stage) = stage3 ]; then \
19398 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19399 else \
19400 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
19401 $(MAKE) stage3-start; \
19402 fi; \
19403 cd $(HOST_SUBDIR)/cloog && \
19404 $(MAKE) $(EXTRA_HOST_FLAGS) \
19405 $(POSTSTAGE1_FLAGS_TO_PASS) \
19406 clean
19407 @endif cloog-bootstrap
19410 .PHONY: all-stageb3g2-cloog maybe-all-stageb3g2-cloog
19411 .PHONY: clean-stageb3g2-cloog maybe-clean-stageb3g2-cloog
19412 maybe-all-stageb3g2-cloog:
19413 maybe-clean-stageb3g2-cloog:
19414 @if cloog-bootstrap
19415 maybe-all-stageb3g2-cloog: all-stageb3g2-cloog
19416 all-stageb3g2: all-stageb3g2-cloog
19417 TARGET-stageb3g2-cloog = $(TARGET-cloog)
19418 all-stageb3g2-cloog: configure-stageb3g2-cloog
19419 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
19420 @r=`${PWD_COMMAND}`; export r; \
19421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19422 $(HOST_EXPORTS) \
19423 $(POSTSTAGE1_HOST_EXPORTS) \
19424 cd $(HOST_SUBDIR)/cloog && \
19425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19426 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
19427 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
19428 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
19429 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19430 $(TARGET-stageb3g2-cloog)
19432 maybe-clean-stageb3g2-cloog: clean-stageb3g2-cloog
19433 clean-stageb3g2: clean-stageb3g2-cloog
19434 clean-stageb3g2-cloog:
19435 @if [ $(current_stage) = stageb3g2 ]; then \
19436 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19437 else \
19438 [ -f $(HOST_SUBDIR)/stageb3g2-cloog/Makefile ] || exit 0; \
19439 $(MAKE) stageb3g2-start; \
19440 fi; \
19441 cd $(HOST_SUBDIR)/cloog && \
19442 $(MAKE) $(EXTRA_HOST_FLAGS) \
19443 $(POSTSTAGE1_FLAGS_TO_PASS) \
19444 clean
19445 @endif cloog-bootstrap
19448 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
19449 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
19450 maybe-all-stage4-cloog:
19451 maybe-clean-stage4-cloog:
19452 @if cloog-bootstrap
19453 maybe-all-stage4-cloog: all-stage4-cloog
19454 all-stage4: all-stage4-cloog
19455 TARGET-stage4-cloog = $(TARGET-cloog)
19456 all-stage4-cloog: configure-stage4-cloog
19457 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19458 @r=`${PWD_COMMAND}`; export r; \
19459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19460 $(HOST_EXPORTS) \
19461 $(POSTSTAGE1_HOST_EXPORTS) \
19462 cd $(HOST_SUBDIR)/cloog && \
19463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19464 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
19465 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19466 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
19467 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19468 $(TARGET-stage4-cloog)
19470 maybe-clean-stage4-cloog: clean-stage4-cloog
19471 clean-stage4: clean-stage4-cloog
19472 clean-stage4-cloog:
19473 @if [ $(current_stage) = stage4 ]; then \
19474 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19475 else \
19476 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
19477 $(MAKE) stage4-start; \
19478 fi; \
19479 cd $(HOST_SUBDIR)/cloog && \
19480 $(MAKE) $(EXTRA_HOST_FLAGS) \
19481 $(POSTSTAGE1_FLAGS_TO_PASS) \
19482 clean
19483 @endif cloog-bootstrap
19486 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
19487 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
19488 maybe-all-stageprofile-cloog:
19489 maybe-clean-stageprofile-cloog:
19490 @if cloog-bootstrap
19491 maybe-all-stageprofile-cloog: all-stageprofile-cloog
19492 all-stageprofile: all-stageprofile-cloog
19493 TARGET-stageprofile-cloog = $(TARGET-cloog)
19494 all-stageprofile-cloog: configure-stageprofile-cloog
19495 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19496 @r=`${PWD_COMMAND}`; export r; \
19497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19498 $(HOST_EXPORTS) \
19499 $(POSTSTAGE1_HOST_EXPORTS) \
19500 cd $(HOST_SUBDIR)/cloog && \
19501 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19502 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
19503 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
19504 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
19505 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19506 $(TARGET-stageprofile-cloog)
19508 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
19509 clean-stageprofile: clean-stageprofile-cloog
19510 clean-stageprofile-cloog:
19511 @if [ $(current_stage) = stageprofile ]; then \
19512 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19513 else \
19514 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
19515 $(MAKE) stageprofile-start; \
19516 fi; \
19517 cd $(HOST_SUBDIR)/cloog && \
19518 $(MAKE) $(EXTRA_HOST_FLAGS) \
19519 $(POSTSTAGE1_FLAGS_TO_PASS) \
19520 clean
19521 @endif cloog-bootstrap
19524 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
19525 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
19526 maybe-all-stagefeedback-cloog:
19527 maybe-clean-stagefeedback-cloog:
19528 @if cloog-bootstrap
19529 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
19530 all-stagefeedback: all-stagefeedback-cloog
19531 TARGET-stagefeedback-cloog = $(TARGET-cloog)
19532 all-stagefeedback-cloog: configure-stagefeedback-cloog
19533 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19534 @r=`${PWD_COMMAND}`; export r; \
19535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19536 $(HOST_EXPORTS) \
19537 $(POSTSTAGE1_HOST_EXPORTS) \
19538 cd $(HOST_SUBDIR)/cloog && \
19539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19540 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
19541 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
19542 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
19543 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19544 $(TARGET-stagefeedback-cloog)
19546 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
19547 clean-stagefeedback: clean-stagefeedback-cloog
19548 clean-stagefeedback-cloog:
19549 @if [ $(current_stage) = stagefeedback ]; then \
19550 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19551 else \
19552 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
19553 $(MAKE) stagefeedback-start; \
19554 fi; \
19555 cd $(HOST_SUBDIR)/cloog && \
19556 $(MAKE) $(EXTRA_HOST_FLAGS) \
19557 $(POSTSTAGE1_FLAGS_TO_PASS) \
19558 clean
19559 @endif cloog-bootstrap
19565 .PHONY: check-cloog maybe-check-cloog
19566 maybe-check-cloog:
19567 @if cloog
19568 maybe-check-cloog: check-cloog
19570 check-cloog:
19571 @: $(MAKE); $(unstage)
19572 @r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 $(HOST_EXPORTS) \
19575 (cd $(HOST_SUBDIR)/cloog && \
19576 $(MAKE) $(FLAGS_TO_PASS) check)
19578 @endif cloog
19580 .PHONY: install-cloog maybe-install-cloog
19581 maybe-install-cloog:
19582 @if cloog
19583 maybe-install-cloog: install-cloog
19585 install-cloog:
19587 @endif cloog
19589 # Other targets (info, dvi, pdf, etc.)
19591 .PHONY: maybe-info-cloog info-cloog
19592 maybe-info-cloog:
19593 @if cloog
19594 maybe-info-cloog: info-cloog
19596 info-cloog: \
19597 configure-cloog
19598 @[ -f ./cloog/Makefile ] || exit 0; \
19599 r=`${PWD_COMMAND}`; export r; \
19600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19601 $(HOST_EXPORTS) \
19602 for flag in $(EXTRA_HOST_FLAGS) ; do \
19603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19604 done; \
19605 echo "Doing info in cloog" ; \
19606 (cd $(HOST_SUBDIR)/cloog && \
19607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19609 "RANLIB=$${RANLIB}" \
19610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19611 info) \
19612 || exit 1
19614 @endif cloog
19616 .PHONY: maybe-dvi-cloog dvi-cloog
19617 maybe-dvi-cloog:
19618 @if cloog
19619 maybe-dvi-cloog: dvi-cloog
19621 dvi-cloog: \
19622 configure-cloog
19623 @[ -f ./cloog/Makefile ] || exit 0; \
19624 r=`${PWD_COMMAND}`; export r; \
19625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19626 $(HOST_EXPORTS) \
19627 for flag in $(EXTRA_HOST_FLAGS) ; do \
19628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19629 done; \
19630 echo "Doing dvi in cloog" ; \
19631 (cd $(HOST_SUBDIR)/cloog && \
19632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19634 "RANLIB=$${RANLIB}" \
19635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19636 dvi) \
19637 || exit 1
19639 @endif cloog
19641 .PHONY: maybe-pdf-cloog pdf-cloog
19642 maybe-pdf-cloog:
19643 @if cloog
19644 maybe-pdf-cloog: pdf-cloog
19646 pdf-cloog: \
19647 configure-cloog
19648 @[ -f ./cloog/Makefile ] || exit 0; \
19649 r=`${PWD_COMMAND}`; export r; \
19650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19651 $(HOST_EXPORTS) \
19652 for flag in $(EXTRA_HOST_FLAGS) ; do \
19653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19654 done; \
19655 echo "Doing pdf in cloog" ; \
19656 (cd $(HOST_SUBDIR)/cloog && \
19657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19659 "RANLIB=$${RANLIB}" \
19660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19661 pdf) \
19662 || exit 1
19664 @endif cloog
19666 .PHONY: maybe-html-cloog html-cloog
19667 maybe-html-cloog:
19668 @if cloog
19669 maybe-html-cloog: html-cloog
19671 html-cloog: \
19672 configure-cloog
19673 @[ -f ./cloog/Makefile ] || exit 0; \
19674 r=`${PWD_COMMAND}`; export r; \
19675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19676 $(HOST_EXPORTS) \
19677 for flag in $(EXTRA_HOST_FLAGS) ; do \
19678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19679 done; \
19680 echo "Doing html in cloog" ; \
19681 (cd $(HOST_SUBDIR)/cloog && \
19682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19684 "RANLIB=$${RANLIB}" \
19685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19686 html) \
19687 || exit 1
19689 @endif cloog
19691 .PHONY: maybe-TAGS-cloog TAGS-cloog
19692 maybe-TAGS-cloog:
19693 @if cloog
19694 maybe-TAGS-cloog: TAGS-cloog
19696 TAGS-cloog: \
19697 configure-cloog
19698 @[ -f ./cloog/Makefile ] || exit 0; \
19699 r=`${PWD_COMMAND}`; export r; \
19700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19701 $(HOST_EXPORTS) \
19702 for flag in $(EXTRA_HOST_FLAGS) ; do \
19703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19704 done; \
19705 echo "Doing TAGS in cloog" ; \
19706 (cd $(HOST_SUBDIR)/cloog && \
19707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19709 "RANLIB=$${RANLIB}" \
19710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19711 TAGS) \
19712 || exit 1
19714 @endif cloog
19716 .PHONY: maybe-install-info-cloog install-info-cloog
19717 maybe-install-info-cloog:
19718 @if cloog
19719 maybe-install-info-cloog: install-info-cloog
19721 install-info-cloog: \
19722 configure-cloog \
19723 info-cloog
19724 @[ -f ./cloog/Makefile ] || exit 0; \
19725 r=`${PWD_COMMAND}`; export r; \
19726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19727 $(HOST_EXPORTS) \
19728 for flag in $(EXTRA_HOST_FLAGS) ; do \
19729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19730 done; \
19731 echo "Doing install-info in cloog" ; \
19732 (cd $(HOST_SUBDIR)/cloog && \
19733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19735 "RANLIB=$${RANLIB}" \
19736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19737 install-info) \
19738 || exit 1
19740 @endif cloog
19742 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
19743 maybe-install-pdf-cloog:
19744 @if cloog
19745 maybe-install-pdf-cloog: install-pdf-cloog
19747 install-pdf-cloog: \
19748 configure-cloog \
19749 pdf-cloog
19750 @[ -f ./cloog/Makefile ] || exit 0; \
19751 r=`${PWD_COMMAND}`; export r; \
19752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19753 $(HOST_EXPORTS) \
19754 for flag in $(EXTRA_HOST_FLAGS) ; do \
19755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19756 done; \
19757 echo "Doing install-pdf in cloog" ; \
19758 (cd $(HOST_SUBDIR)/cloog && \
19759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19761 "RANLIB=$${RANLIB}" \
19762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19763 install-pdf) \
19764 || exit 1
19766 @endif cloog
19768 .PHONY: maybe-install-html-cloog install-html-cloog
19769 maybe-install-html-cloog:
19770 @if cloog
19771 maybe-install-html-cloog: install-html-cloog
19773 install-html-cloog: \
19774 configure-cloog \
19775 html-cloog
19776 @[ -f ./cloog/Makefile ] || exit 0; \
19777 r=`${PWD_COMMAND}`; export r; \
19778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19779 $(HOST_EXPORTS) \
19780 for flag in $(EXTRA_HOST_FLAGS) ; do \
19781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19782 done; \
19783 echo "Doing install-html in cloog" ; \
19784 (cd $(HOST_SUBDIR)/cloog && \
19785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19787 "RANLIB=$${RANLIB}" \
19788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19789 install-html) \
19790 || exit 1
19792 @endif cloog
19794 .PHONY: maybe-installcheck-cloog installcheck-cloog
19795 maybe-installcheck-cloog:
19796 @if cloog
19797 maybe-installcheck-cloog: installcheck-cloog
19799 installcheck-cloog: \
19800 configure-cloog
19801 @[ -f ./cloog/Makefile ] || exit 0; \
19802 r=`${PWD_COMMAND}`; export r; \
19803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19804 $(HOST_EXPORTS) \
19805 for flag in $(EXTRA_HOST_FLAGS) ; do \
19806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19807 done; \
19808 echo "Doing installcheck in cloog" ; \
19809 (cd $(HOST_SUBDIR)/cloog && \
19810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19812 "RANLIB=$${RANLIB}" \
19813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19814 installcheck) \
19815 || exit 1
19817 @endif cloog
19819 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
19820 maybe-mostlyclean-cloog:
19821 @if cloog
19822 maybe-mostlyclean-cloog: mostlyclean-cloog
19824 mostlyclean-cloog:
19825 @[ -f ./cloog/Makefile ] || exit 0; \
19826 r=`${PWD_COMMAND}`; export r; \
19827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828 $(HOST_EXPORTS) \
19829 for flag in $(EXTRA_HOST_FLAGS) ; do \
19830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19831 done; \
19832 echo "Doing mostlyclean in cloog" ; \
19833 (cd $(HOST_SUBDIR)/cloog && \
19834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19836 "RANLIB=$${RANLIB}" \
19837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19838 mostlyclean) \
19839 || exit 1
19841 @endif cloog
19843 .PHONY: maybe-clean-cloog clean-cloog
19844 maybe-clean-cloog:
19845 @if cloog
19846 maybe-clean-cloog: clean-cloog
19848 clean-cloog:
19849 @[ -f ./cloog/Makefile ] || exit 0; \
19850 r=`${PWD_COMMAND}`; export r; \
19851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19852 $(HOST_EXPORTS) \
19853 for flag in $(EXTRA_HOST_FLAGS) ; do \
19854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19855 done; \
19856 echo "Doing clean in cloog" ; \
19857 (cd $(HOST_SUBDIR)/cloog && \
19858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19860 "RANLIB=$${RANLIB}" \
19861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19862 clean) \
19863 || exit 1
19865 @endif cloog
19867 .PHONY: maybe-distclean-cloog distclean-cloog
19868 maybe-distclean-cloog:
19869 @if cloog
19870 maybe-distclean-cloog: distclean-cloog
19872 distclean-cloog:
19873 @[ -f ./cloog/Makefile ] || exit 0; \
19874 r=`${PWD_COMMAND}`; export r; \
19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19876 $(HOST_EXPORTS) \
19877 for flag in $(EXTRA_HOST_FLAGS) ; do \
19878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19879 done; \
19880 echo "Doing distclean in cloog" ; \
19881 (cd $(HOST_SUBDIR)/cloog && \
19882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19884 "RANLIB=$${RANLIB}" \
19885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19886 distclean) \
19887 || exit 1
19889 @endif cloog
19891 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
19892 maybe-maintainer-clean-cloog:
19893 @if cloog
19894 maybe-maintainer-clean-cloog: maintainer-clean-cloog
19896 maintainer-clean-cloog:
19897 @[ -f ./cloog/Makefile ] || exit 0; \
19898 r=`${PWD_COMMAND}`; export r; \
19899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19900 $(HOST_EXPORTS) \
19901 for flag in $(EXTRA_HOST_FLAGS) ; do \
19902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19903 done; \
19904 echo "Doing maintainer-clean in cloog" ; \
19905 (cd $(HOST_SUBDIR)/cloog && \
19906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19908 "RANLIB=$${RANLIB}" \
19909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19910 maintainer-clean) \
19911 || exit 1
19913 @endif cloog
19917 .PHONY: configure-gnuserv maybe-configure-gnuserv
19918 maybe-configure-gnuserv:
19919 @if gcc-bootstrap
19920 configure-gnuserv: stage_current
19921 @endif gcc-bootstrap
19922 @if gnuserv
19923 maybe-configure-gnuserv: configure-gnuserv
19924 configure-gnuserv:
19925 @: $(MAKE); $(unstage)
19926 @r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
19929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
19930 $(HOST_EXPORTS) \
19931 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
19932 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
19933 case $(srcdir) in \
19934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19935 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
19936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19937 esac; \
19938 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
19939 libsrcdir="$$s/gnuserv"; \
19940 $(SHELL) $${libsrcdir}/configure \
19941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19942 --target=${target_alias} $${srcdiroption} \
19943 || exit 1
19944 @endif gnuserv
19950 .PHONY: all-gnuserv maybe-all-gnuserv
19951 maybe-all-gnuserv:
19952 @if gcc-bootstrap
19953 all-gnuserv: stage_current
19954 @endif gcc-bootstrap
19955 @if gnuserv
19956 TARGET-gnuserv=all
19957 maybe-all-gnuserv: all-gnuserv
19958 all-gnuserv: configure-gnuserv
19959 @: $(MAKE); $(unstage)
19960 @r=`${PWD_COMMAND}`; export r; \
19961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19962 $(HOST_EXPORTS) \
19963 (cd $(HOST_SUBDIR)/gnuserv && \
19964 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19965 $(TARGET-gnuserv))
19966 @endif gnuserv
19971 .PHONY: check-gnuserv maybe-check-gnuserv
19972 maybe-check-gnuserv:
19973 @if gnuserv
19974 maybe-check-gnuserv: check-gnuserv
19976 check-gnuserv:
19977 @: $(MAKE); $(unstage)
19978 @r=`${PWD_COMMAND}`; export r; \
19979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 $(HOST_EXPORTS) \
19981 (cd $(HOST_SUBDIR)/gnuserv && \
19982 $(MAKE) $(FLAGS_TO_PASS) check)
19984 @endif gnuserv
19986 .PHONY: install-gnuserv maybe-install-gnuserv
19987 maybe-install-gnuserv:
19988 @if gnuserv
19989 maybe-install-gnuserv: install-gnuserv
19991 install-gnuserv: installdirs
19992 @: $(MAKE); $(unstage)
19993 @r=`${PWD_COMMAND}`; export r; \
19994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19995 $(HOST_EXPORTS) \
19996 (cd $(HOST_SUBDIR)/gnuserv && \
19997 $(MAKE) $(FLAGS_TO_PASS) install)
19999 @endif gnuserv
20001 # Other targets (info, dvi, pdf, etc.)
20003 .PHONY: maybe-info-gnuserv info-gnuserv
20004 maybe-info-gnuserv:
20005 @if gnuserv
20006 maybe-info-gnuserv: info-gnuserv
20008 info-gnuserv: \
20009 configure-gnuserv
20010 @: $(MAKE); $(unstage)
20011 @[ -f ./gnuserv/Makefile ] || exit 0; \
20012 r=`${PWD_COMMAND}`; export r; \
20013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20014 $(HOST_EXPORTS) \
20015 for flag in $(EXTRA_HOST_FLAGS) ; do \
20016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20017 done; \
20018 echo "Doing info in gnuserv" ; \
20019 (cd $(HOST_SUBDIR)/gnuserv && \
20020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20022 "RANLIB=$${RANLIB}" \
20023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20024 info) \
20025 || exit 1
20027 @endif gnuserv
20029 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
20030 maybe-dvi-gnuserv:
20031 @if gnuserv
20032 maybe-dvi-gnuserv: dvi-gnuserv
20034 dvi-gnuserv: \
20035 configure-gnuserv
20036 @: $(MAKE); $(unstage)
20037 @[ -f ./gnuserv/Makefile ] || exit 0; \
20038 r=`${PWD_COMMAND}`; export r; \
20039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20040 $(HOST_EXPORTS) \
20041 for flag in $(EXTRA_HOST_FLAGS) ; do \
20042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20043 done; \
20044 echo "Doing dvi in gnuserv" ; \
20045 (cd $(HOST_SUBDIR)/gnuserv && \
20046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20048 "RANLIB=$${RANLIB}" \
20049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20050 dvi) \
20051 || exit 1
20053 @endif gnuserv
20055 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
20056 maybe-pdf-gnuserv:
20057 @if gnuserv
20058 maybe-pdf-gnuserv: pdf-gnuserv
20060 pdf-gnuserv: \
20061 configure-gnuserv
20062 @: $(MAKE); $(unstage)
20063 @[ -f ./gnuserv/Makefile ] || exit 0; \
20064 r=`${PWD_COMMAND}`; export r; \
20065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20066 $(HOST_EXPORTS) \
20067 for flag in $(EXTRA_HOST_FLAGS) ; do \
20068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20069 done; \
20070 echo "Doing pdf in gnuserv" ; \
20071 (cd $(HOST_SUBDIR)/gnuserv && \
20072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20074 "RANLIB=$${RANLIB}" \
20075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20076 pdf) \
20077 || exit 1
20079 @endif gnuserv
20081 .PHONY: maybe-html-gnuserv html-gnuserv
20082 maybe-html-gnuserv:
20083 @if gnuserv
20084 maybe-html-gnuserv: html-gnuserv
20086 html-gnuserv: \
20087 configure-gnuserv
20088 @: $(MAKE); $(unstage)
20089 @[ -f ./gnuserv/Makefile ] || exit 0; \
20090 r=`${PWD_COMMAND}`; export r; \
20091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20092 $(HOST_EXPORTS) \
20093 for flag in $(EXTRA_HOST_FLAGS) ; do \
20094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20095 done; \
20096 echo "Doing html in gnuserv" ; \
20097 (cd $(HOST_SUBDIR)/gnuserv && \
20098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20100 "RANLIB=$${RANLIB}" \
20101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20102 html) \
20103 || exit 1
20105 @endif gnuserv
20107 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
20108 maybe-TAGS-gnuserv:
20109 @if gnuserv
20110 maybe-TAGS-gnuserv: TAGS-gnuserv
20112 TAGS-gnuserv: \
20113 configure-gnuserv
20114 @: $(MAKE); $(unstage)
20115 @[ -f ./gnuserv/Makefile ] || exit 0; \
20116 r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118 $(HOST_EXPORTS) \
20119 for flag in $(EXTRA_HOST_FLAGS) ; do \
20120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20121 done; \
20122 echo "Doing TAGS in gnuserv" ; \
20123 (cd $(HOST_SUBDIR)/gnuserv && \
20124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20126 "RANLIB=$${RANLIB}" \
20127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20128 TAGS) \
20129 || exit 1
20131 @endif gnuserv
20133 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
20134 maybe-install-info-gnuserv:
20135 @if gnuserv
20136 maybe-install-info-gnuserv: install-info-gnuserv
20138 install-info-gnuserv: \
20139 configure-gnuserv \
20140 info-gnuserv
20141 @: $(MAKE); $(unstage)
20142 @[ -f ./gnuserv/Makefile ] || exit 0; \
20143 r=`${PWD_COMMAND}`; export r; \
20144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20145 $(HOST_EXPORTS) \
20146 for flag in $(EXTRA_HOST_FLAGS) ; do \
20147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20148 done; \
20149 echo "Doing install-info in gnuserv" ; \
20150 (cd $(HOST_SUBDIR)/gnuserv && \
20151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20153 "RANLIB=$${RANLIB}" \
20154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20155 install-info) \
20156 || exit 1
20158 @endif gnuserv
20160 .PHONY: maybe-install-pdf-gnuserv install-pdf-gnuserv
20161 maybe-install-pdf-gnuserv:
20162 @if gnuserv
20163 maybe-install-pdf-gnuserv: install-pdf-gnuserv
20165 install-pdf-gnuserv: \
20166 configure-gnuserv \
20167 pdf-gnuserv
20168 @: $(MAKE); $(unstage)
20169 @[ -f ./gnuserv/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 install-pdf in gnuserv" ; \
20177 (cd $(HOST_SUBDIR)/gnuserv && \
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}" "WINDMC=$${WINDMC}" \
20182 install-pdf) \
20183 || exit 1
20185 @endif gnuserv
20187 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
20188 maybe-install-html-gnuserv:
20189 @if gnuserv
20190 maybe-install-html-gnuserv: install-html-gnuserv
20192 install-html-gnuserv: \
20193 configure-gnuserv \
20194 html-gnuserv
20195 @: $(MAKE); $(unstage)
20196 @[ -f ./gnuserv/Makefile ] || exit 0; \
20197 r=`${PWD_COMMAND}`; export r; \
20198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20199 $(HOST_EXPORTS) \
20200 for flag in $(EXTRA_HOST_FLAGS) ; do \
20201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20202 done; \
20203 echo "Doing install-html in gnuserv" ; \
20204 (cd $(HOST_SUBDIR)/gnuserv && \
20205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20207 "RANLIB=$${RANLIB}" \
20208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20209 install-html) \
20210 || exit 1
20212 @endif gnuserv
20214 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
20215 maybe-installcheck-gnuserv:
20216 @if gnuserv
20217 maybe-installcheck-gnuserv: installcheck-gnuserv
20219 installcheck-gnuserv: \
20220 configure-gnuserv
20221 @: $(MAKE); $(unstage)
20222 @[ -f ./gnuserv/Makefile ] || exit 0; \
20223 r=`${PWD_COMMAND}`; export r; \
20224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20225 $(HOST_EXPORTS) \
20226 for flag in $(EXTRA_HOST_FLAGS) ; do \
20227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20228 done; \
20229 echo "Doing installcheck in gnuserv" ; \
20230 (cd $(HOST_SUBDIR)/gnuserv && \
20231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20233 "RANLIB=$${RANLIB}" \
20234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20235 installcheck) \
20236 || exit 1
20238 @endif gnuserv
20240 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
20241 maybe-mostlyclean-gnuserv:
20242 @if gnuserv
20243 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
20245 mostlyclean-gnuserv:
20246 @: $(MAKE); $(unstage)
20247 @[ -f ./gnuserv/Makefile ] || exit 0; \
20248 r=`${PWD_COMMAND}`; export r; \
20249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20250 $(HOST_EXPORTS) \
20251 for flag in $(EXTRA_HOST_FLAGS) ; do \
20252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20253 done; \
20254 echo "Doing mostlyclean in gnuserv" ; \
20255 (cd $(HOST_SUBDIR)/gnuserv && \
20256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20258 "RANLIB=$${RANLIB}" \
20259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20260 mostlyclean) \
20261 || exit 1
20263 @endif gnuserv
20265 .PHONY: maybe-clean-gnuserv clean-gnuserv
20266 maybe-clean-gnuserv:
20267 @if gnuserv
20268 maybe-clean-gnuserv: clean-gnuserv
20270 clean-gnuserv:
20271 @: $(MAKE); $(unstage)
20272 @[ -f ./gnuserv/Makefile ] || exit 0; \
20273 r=`${PWD_COMMAND}`; export r; \
20274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20275 $(HOST_EXPORTS) \
20276 for flag in $(EXTRA_HOST_FLAGS) ; do \
20277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20278 done; \
20279 echo "Doing clean in gnuserv" ; \
20280 (cd $(HOST_SUBDIR)/gnuserv && \
20281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20283 "RANLIB=$${RANLIB}" \
20284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20285 clean) \
20286 || exit 1
20288 @endif gnuserv
20290 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
20291 maybe-distclean-gnuserv:
20292 @if gnuserv
20293 maybe-distclean-gnuserv: distclean-gnuserv
20295 distclean-gnuserv:
20296 @: $(MAKE); $(unstage)
20297 @[ -f ./gnuserv/Makefile ] || exit 0; \
20298 r=`${PWD_COMMAND}`; export r; \
20299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20300 $(HOST_EXPORTS) \
20301 for flag in $(EXTRA_HOST_FLAGS) ; do \
20302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20303 done; \
20304 echo "Doing distclean in gnuserv" ; \
20305 (cd $(HOST_SUBDIR)/gnuserv && \
20306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20308 "RANLIB=$${RANLIB}" \
20309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20310 distclean) \
20311 || exit 1
20313 @endif gnuserv
20315 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
20316 maybe-maintainer-clean-gnuserv:
20317 @if gnuserv
20318 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
20320 maintainer-clean-gnuserv:
20321 @: $(MAKE); $(unstage)
20322 @[ -f ./gnuserv/Makefile ] || exit 0; \
20323 r=`${PWD_COMMAND}`; export r; \
20324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20325 $(HOST_EXPORTS) \
20326 for flag in $(EXTRA_HOST_FLAGS) ; do \
20327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20328 done; \
20329 echo "Doing maintainer-clean in gnuserv" ; \
20330 (cd $(HOST_SUBDIR)/gnuserv && \
20331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20333 "RANLIB=$${RANLIB}" \
20334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20335 maintainer-clean) \
20336 || exit 1
20338 @endif gnuserv
20342 .PHONY: configure-gold maybe-configure-gold
20343 maybe-configure-gold:
20344 @if gcc-bootstrap
20345 configure-gold: stage_current
20346 @endif gcc-bootstrap
20347 @if gold
20348 maybe-configure-gold: configure-gold
20349 configure-gold:
20350 @r=`${PWD_COMMAND}`; export r; \
20351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20352 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20353 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20354 $(HOST_EXPORTS) \
20355 echo Configuring in $(HOST_SUBDIR)/gold; \
20356 cd "$(HOST_SUBDIR)/gold" || exit 1; \
20357 case $(srcdir) in \
20358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20359 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20361 esac; \
20362 srcdiroption="--srcdir=$${topdir}/gold"; \
20363 libsrcdir="$$s/gold"; \
20364 $(SHELL) $${libsrcdir}/configure \
20365 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20366 --target=${target_alias} $${srcdiroption} \
20367 || exit 1
20368 @endif gold
20372 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
20373 maybe-configure-stage1-gold:
20374 @if gold-bootstrap
20375 maybe-configure-stage1-gold: configure-stage1-gold
20376 configure-stage1-gold:
20377 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20378 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20379 @r=`${PWD_COMMAND}`; export r; \
20380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20381 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20382 $(HOST_EXPORTS) \
20383 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20384 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
20385 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
20386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20387 cd $(HOST_SUBDIR)/gold || exit 1; \
20388 case $(srcdir) in \
20389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20390 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20392 esac; \
20393 srcdiroption="--srcdir=$${topdir}/gold"; \
20394 libsrcdir="$$s/gold"; \
20395 $(SHELL) $${libsrcdir}/configure \
20396 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20397 --target=${target_alias} $${srcdiroption} \
20399 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20400 @endif gold-bootstrap
20402 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
20403 maybe-configure-stage2-gold:
20404 @if gold-bootstrap
20405 maybe-configure-stage2-gold: configure-stage2-gold
20406 configure-stage2-gold:
20407 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20409 @r=`${PWD_COMMAND}`; export r; \
20410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20411 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20412 $(HOST_EXPORTS) \
20413 $(POSTSTAGE1_HOST_EXPORTS) \
20414 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20415 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
20416 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
20417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20418 cd $(HOST_SUBDIR)/gold || exit 1; \
20419 case $(srcdir) in \
20420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20421 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20423 esac; \
20424 srcdiroption="--srcdir=$${topdir}/gold"; \
20425 libsrcdir="$$s/gold"; \
20426 $(SHELL) $${libsrcdir}/configure \
20427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20428 --target=${target_alias} $${srcdiroption} \
20429 --with-build-libsubdir=$(HOST_SUBDIR) \
20430 @stage2_werror_flag@
20431 @endif gold-bootstrap
20433 .PHONY: configure-stageb2g0-gold maybe-configure-stageb2g0-gold
20434 maybe-configure-stageb2g0-gold:
20435 @if gold-bootstrap
20436 maybe-configure-stageb2g0-gold: configure-stageb2g0-gold
20437 configure-stageb2g0-gold:
20438 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
20439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20440 @r=`${PWD_COMMAND}`; export r; \
20441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20442 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20443 $(HOST_EXPORTS) \
20444 $(POSTSTAGE1_HOST_EXPORTS) \
20445 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
20446 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
20447 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gold ; \
20448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20449 cd $(HOST_SUBDIR)/gold || exit 1; \
20450 case $(srcdir) in \
20451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20452 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20454 esac; \
20455 srcdiroption="--srcdir=$${topdir}/gold"; \
20456 libsrcdir="$$s/gold"; \
20457 $(SHELL) $${libsrcdir}/configure \
20458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20459 --target=${target_alias} $${srcdiroption} \
20460 --with-build-libsubdir=$(HOST_SUBDIR) \
20461 @stage2_werror_flag@
20462 @endif gold-bootstrap
20464 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
20465 maybe-configure-stage3-gold:
20466 @if gold-bootstrap
20467 maybe-configure-stage3-gold: configure-stage3-gold
20468 configure-stage3-gold:
20469 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20471 @r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20474 $(HOST_EXPORTS) \
20475 $(POSTSTAGE1_HOST_EXPORTS) \
20476 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20477 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
20478 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
20479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20480 cd $(HOST_SUBDIR)/gold || exit 1; \
20481 case $(srcdir) in \
20482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20483 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20485 esac; \
20486 srcdiroption="--srcdir=$${topdir}/gold"; \
20487 libsrcdir="$$s/gold"; \
20488 $(SHELL) $${libsrcdir}/configure \
20489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20490 --target=${target_alias} $${srcdiroption} \
20491 --with-build-libsubdir=$(HOST_SUBDIR) \
20492 @stage2_werror_flag@
20493 @endif gold-bootstrap
20495 .PHONY: configure-stageb3g2-gold maybe-configure-stageb3g2-gold
20496 maybe-configure-stageb3g2-gold:
20497 @if gold-bootstrap
20498 maybe-configure-stageb3g2-gold: configure-stageb3g2-gold
20499 configure-stageb3g2-gold:
20500 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
20501 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20502 @r=`${PWD_COMMAND}`; export r; \
20503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20504 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20505 $(HOST_EXPORTS) \
20506 $(POSTSTAGE1_HOST_EXPORTS) \
20507 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
20508 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
20509 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gold ; \
20510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20511 cd $(HOST_SUBDIR)/gold || exit 1; \
20512 case $(srcdir) in \
20513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20514 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20516 esac; \
20517 srcdiroption="--srcdir=$${topdir}/gold"; \
20518 libsrcdir="$$s/gold"; \
20519 $(SHELL) $${libsrcdir}/configure \
20520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20521 --target=${target_alias} $${srcdiroption} \
20522 --with-build-libsubdir=$(HOST_SUBDIR) \
20523 @stage2_werror_flag@
20524 @endif gold-bootstrap
20526 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
20527 maybe-configure-stage4-gold:
20528 @if gold-bootstrap
20529 maybe-configure-stage4-gold: configure-stage4-gold
20530 configure-stage4-gold:
20531 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20532 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20533 @r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20536 $(HOST_EXPORTS) \
20537 $(POSTSTAGE1_HOST_EXPORTS) \
20538 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20539 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
20540 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
20541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20542 cd $(HOST_SUBDIR)/gold || exit 1; \
20543 case $(srcdir) in \
20544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20545 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20547 esac; \
20548 srcdiroption="--srcdir=$${topdir}/gold"; \
20549 libsrcdir="$$s/gold"; \
20550 $(SHELL) $${libsrcdir}/configure \
20551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20552 --target=${target_alias} $${srcdiroption} \
20553 --with-build-libsubdir=$(HOST_SUBDIR) \
20554 @stage2_werror_flag@
20555 @endif gold-bootstrap
20557 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
20558 maybe-configure-stageprofile-gold:
20559 @if gold-bootstrap
20560 maybe-configure-stageprofile-gold: configure-stageprofile-gold
20561 configure-stageprofile-gold:
20562 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20563 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20564 @r=`${PWD_COMMAND}`; export r; \
20565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20566 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20567 $(HOST_EXPORTS) \
20568 $(POSTSTAGE1_HOST_EXPORTS) \
20569 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
20570 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
20571 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
20572 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20573 cd $(HOST_SUBDIR)/gold || exit 1; \
20574 case $(srcdir) in \
20575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20576 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20578 esac; \
20579 srcdiroption="--srcdir=$${topdir}/gold"; \
20580 libsrcdir="$$s/gold"; \
20581 $(SHELL) $${libsrcdir}/configure \
20582 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20583 --target=${target_alias} $${srcdiroption} \
20584 --with-build-libsubdir=$(HOST_SUBDIR) \
20585 @stage2_werror_flag@
20586 @endif gold-bootstrap
20588 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
20589 maybe-configure-stagefeedback-gold:
20590 @if gold-bootstrap
20591 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
20592 configure-stagefeedback-gold:
20593 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20595 @r=`${PWD_COMMAND}`; export r; \
20596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20597 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20598 $(HOST_EXPORTS) \
20599 $(POSTSTAGE1_HOST_EXPORTS) \
20600 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
20601 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
20602 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
20603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20604 cd $(HOST_SUBDIR)/gold || exit 1; \
20605 case $(srcdir) in \
20606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20607 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20609 esac; \
20610 srcdiroption="--srcdir=$${topdir}/gold"; \
20611 libsrcdir="$$s/gold"; \
20612 $(SHELL) $${libsrcdir}/configure \
20613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20614 --target=${target_alias} $${srcdiroption} \
20615 --with-build-libsubdir=$(HOST_SUBDIR) \
20616 @stage2_werror_flag@
20617 @endif gold-bootstrap
20623 .PHONY: all-gold maybe-all-gold
20624 maybe-all-gold:
20625 @if gcc-bootstrap
20626 all-gold: stage_current
20627 @endif gcc-bootstrap
20628 @if gold
20629 TARGET-gold=all
20630 maybe-all-gold: all-gold
20631 all-gold: configure-gold
20632 @r=`${PWD_COMMAND}`; export r; \
20633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20634 $(HOST_EXPORTS) \
20635 (cd $(HOST_SUBDIR)/gold && \
20636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20637 $(TARGET-gold))
20638 @endif gold
20642 .PHONY: all-stage1-gold maybe-all-stage1-gold
20643 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
20644 maybe-all-stage1-gold:
20645 maybe-clean-stage1-gold:
20646 @if gold-bootstrap
20647 maybe-all-stage1-gold: all-stage1-gold
20648 all-stage1: all-stage1-gold
20649 TARGET-stage1-gold = $(TARGET-gold)
20650 all-stage1-gold: configure-stage1-gold
20651 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20652 @r=`${PWD_COMMAND}`; export r; \
20653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654 $(HOST_EXPORTS) \
20655 cd $(HOST_SUBDIR)/gold && \
20656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20657 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
20658 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
20659 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
20660 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
20661 $(TARGET-stage1-gold)
20663 maybe-clean-stage1-gold: clean-stage1-gold
20664 clean-stage1: clean-stage1-gold
20665 clean-stage1-gold:
20666 @if [ $(current_stage) = stage1 ]; then \
20667 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20668 else \
20669 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
20670 $(MAKE) stage1-start; \
20671 fi; \
20672 cd $(HOST_SUBDIR)/gold && \
20673 $(MAKE) $(EXTRA_HOST_FLAGS) \
20674 clean
20675 @endif gold-bootstrap
20678 .PHONY: all-stage2-gold maybe-all-stage2-gold
20679 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
20680 maybe-all-stage2-gold:
20681 maybe-clean-stage2-gold:
20682 @if gold-bootstrap
20683 maybe-all-stage2-gold: all-stage2-gold
20684 all-stage2: all-stage2-gold
20685 TARGET-stage2-gold = $(TARGET-gold)
20686 all-stage2-gold: configure-stage2-gold
20687 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20688 @r=`${PWD_COMMAND}`; export r; \
20689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20690 $(HOST_EXPORTS) \
20691 $(POSTSTAGE1_HOST_EXPORTS) \
20692 cd $(HOST_SUBDIR)/gold && \
20693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20694 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
20695 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
20696 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
20697 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20698 $(TARGET-stage2-gold)
20700 maybe-clean-stage2-gold: clean-stage2-gold
20701 clean-stage2: clean-stage2-gold
20702 clean-stage2-gold:
20703 @if [ $(current_stage) = stage2 ]; then \
20704 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20705 else \
20706 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
20707 $(MAKE) stage2-start; \
20708 fi; \
20709 cd $(HOST_SUBDIR)/gold && \
20710 $(MAKE) $(EXTRA_HOST_FLAGS) \
20711 $(POSTSTAGE1_FLAGS_TO_PASS) \
20712 clean
20713 @endif gold-bootstrap
20716 .PHONY: all-stageb2g0-gold maybe-all-stageb2g0-gold
20717 .PHONY: clean-stageb2g0-gold maybe-clean-stageb2g0-gold
20718 maybe-all-stageb2g0-gold:
20719 maybe-clean-stageb2g0-gold:
20720 @if gold-bootstrap
20721 maybe-all-stageb2g0-gold: all-stageb2g0-gold
20722 all-stageb2g0: all-stageb2g0-gold
20723 TARGET-stageb2g0-gold = $(TARGET-gold)
20724 all-stageb2g0-gold: configure-stageb2g0-gold
20725 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
20726 @r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 $(POSTSTAGE1_HOST_EXPORTS) \
20730 cd $(HOST_SUBDIR)/gold && \
20731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20732 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
20733 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
20734 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
20735 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20736 $(TARGET-stageb2g0-gold)
20738 maybe-clean-stageb2g0-gold: clean-stageb2g0-gold
20739 clean-stageb2g0: clean-stageb2g0-gold
20740 clean-stageb2g0-gold:
20741 @if [ $(current_stage) = stageb2g0 ]; then \
20742 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20743 else \
20744 [ -f $(HOST_SUBDIR)/stageb2g0-gold/Makefile ] || exit 0; \
20745 $(MAKE) stageb2g0-start; \
20746 fi; \
20747 cd $(HOST_SUBDIR)/gold && \
20748 $(MAKE) $(EXTRA_HOST_FLAGS) \
20749 $(POSTSTAGE1_FLAGS_TO_PASS) \
20750 clean
20751 @endif gold-bootstrap
20754 .PHONY: all-stage3-gold maybe-all-stage3-gold
20755 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
20756 maybe-all-stage3-gold:
20757 maybe-clean-stage3-gold:
20758 @if gold-bootstrap
20759 maybe-all-stage3-gold: all-stage3-gold
20760 all-stage3: all-stage3-gold
20761 TARGET-stage3-gold = $(TARGET-gold)
20762 all-stage3-gold: configure-stage3-gold
20763 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20764 @r=`${PWD_COMMAND}`; export r; \
20765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20766 $(HOST_EXPORTS) \
20767 $(POSTSTAGE1_HOST_EXPORTS) \
20768 cd $(HOST_SUBDIR)/gold && \
20769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20770 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
20771 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
20772 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
20773 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20774 $(TARGET-stage3-gold)
20776 maybe-clean-stage3-gold: clean-stage3-gold
20777 clean-stage3: clean-stage3-gold
20778 clean-stage3-gold:
20779 @if [ $(current_stage) = stage3 ]; then \
20780 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20781 else \
20782 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
20783 $(MAKE) stage3-start; \
20784 fi; \
20785 cd $(HOST_SUBDIR)/gold && \
20786 $(MAKE) $(EXTRA_HOST_FLAGS) \
20787 $(POSTSTAGE1_FLAGS_TO_PASS) \
20788 clean
20789 @endif gold-bootstrap
20792 .PHONY: all-stageb3g2-gold maybe-all-stageb3g2-gold
20793 .PHONY: clean-stageb3g2-gold maybe-clean-stageb3g2-gold
20794 maybe-all-stageb3g2-gold:
20795 maybe-clean-stageb3g2-gold:
20796 @if gold-bootstrap
20797 maybe-all-stageb3g2-gold: all-stageb3g2-gold
20798 all-stageb3g2: all-stageb3g2-gold
20799 TARGET-stageb3g2-gold = $(TARGET-gold)
20800 all-stageb3g2-gold: configure-stageb3g2-gold
20801 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
20802 @r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 $(HOST_EXPORTS) \
20805 $(POSTSTAGE1_HOST_EXPORTS) \
20806 cd $(HOST_SUBDIR)/gold && \
20807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20808 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
20809 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
20810 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
20811 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20812 $(TARGET-stageb3g2-gold)
20814 maybe-clean-stageb3g2-gold: clean-stageb3g2-gold
20815 clean-stageb3g2: clean-stageb3g2-gold
20816 clean-stageb3g2-gold:
20817 @if [ $(current_stage) = stageb3g2 ]; then \
20818 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20819 else \
20820 [ -f $(HOST_SUBDIR)/stageb3g2-gold/Makefile ] || exit 0; \
20821 $(MAKE) stageb3g2-start; \
20822 fi; \
20823 cd $(HOST_SUBDIR)/gold && \
20824 $(MAKE) $(EXTRA_HOST_FLAGS) \
20825 $(POSTSTAGE1_FLAGS_TO_PASS) \
20826 clean
20827 @endif gold-bootstrap
20830 .PHONY: all-stage4-gold maybe-all-stage4-gold
20831 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
20832 maybe-all-stage4-gold:
20833 maybe-clean-stage4-gold:
20834 @if gold-bootstrap
20835 maybe-all-stage4-gold: all-stage4-gold
20836 all-stage4: all-stage4-gold
20837 TARGET-stage4-gold = $(TARGET-gold)
20838 all-stage4-gold: configure-stage4-gold
20839 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20840 @r=`${PWD_COMMAND}`; export r; \
20841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20842 $(HOST_EXPORTS) \
20843 $(POSTSTAGE1_HOST_EXPORTS) \
20844 cd $(HOST_SUBDIR)/gold && \
20845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20846 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
20847 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20848 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
20849 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20850 $(TARGET-stage4-gold)
20852 maybe-clean-stage4-gold: clean-stage4-gold
20853 clean-stage4: clean-stage4-gold
20854 clean-stage4-gold:
20855 @if [ $(current_stage) = stage4 ]; then \
20856 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20857 else \
20858 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
20859 $(MAKE) stage4-start; \
20860 fi; \
20861 cd $(HOST_SUBDIR)/gold && \
20862 $(MAKE) $(EXTRA_HOST_FLAGS) \
20863 $(POSTSTAGE1_FLAGS_TO_PASS) \
20864 clean
20865 @endif gold-bootstrap
20868 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
20869 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
20870 maybe-all-stageprofile-gold:
20871 maybe-clean-stageprofile-gold:
20872 @if gold-bootstrap
20873 maybe-all-stageprofile-gold: all-stageprofile-gold
20874 all-stageprofile: all-stageprofile-gold
20875 TARGET-stageprofile-gold = $(TARGET-gold)
20876 all-stageprofile-gold: configure-stageprofile-gold
20877 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20878 @r=`${PWD_COMMAND}`; export r; \
20879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20880 $(HOST_EXPORTS) \
20881 $(POSTSTAGE1_HOST_EXPORTS) \
20882 cd $(HOST_SUBDIR)/gold && \
20883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20884 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
20885 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
20886 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
20887 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20888 $(TARGET-stageprofile-gold)
20890 maybe-clean-stageprofile-gold: clean-stageprofile-gold
20891 clean-stageprofile: clean-stageprofile-gold
20892 clean-stageprofile-gold:
20893 @if [ $(current_stage) = stageprofile ]; then \
20894 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20895 else \
20896 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
20897 $(MAKE) stageprofile-start; \
20898 fi; \
20899 cd $(HOST_SUBDIR)/gold && \
20900 $(MAKE) $(EXTRA_HOST_FLAGS) \
20901 $(POSTSTAGE1_FLAGS_TO_PASS) \
20902 clean
20903 @endif gold-bootstrap
20906 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
20907 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
20908 maybe-all-stagefeedback-gold:
20909 maybe-clean-stagefeedback-gold:
20910 @if gold-bootstrap
20911 maybe-all-stagefeedback-gold: all-stagefeedback-gold
20912 all-stagefeedback: all-stagefeedback-gold
20913 TARGET-stagefeedback-gold = $(TARGET-gold)
20914 all-stagefeedback-gold: configure-stagefeedback-gold
20915 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20916 @r=`${PWD_COMMAND}`; export r; \
20917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20918 $(HOST_EXPORTS) \
20919 $(POSTSTAGE1_HOST_EXPORTS) \
20920 cd $(HOST_SUBDIR)/gold && \
20921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20922 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
20923 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
20924 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
20925 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20926 $(TARGET-stagefeedback-gold)
20928 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
20929 clean-stagefeedback: clean-stagefeedback-gold
20930 clean-stagefeedback-gold:
20931 @if [ $(current_stage) = stagefeedback ]; then \
20932 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20933 else \
20934 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
20935 $(MAKE) stagefeedback-start; \
20936 fi; \
20937 cd $(HOST_SUBDIR)/gold && \
20938 $(MAKE) $(EXTRA_HOST_FLAGS) \
20939 $(POSTSTAGE1_FLAGS_TO_PASS) \
20940 clean
20941 @endif gold-bootstrap
20947 .PHONY: check-gold maybe-check-gold
20948 maybe-check-gold:
20949 @if gold
20950 maybe-check-gold: check-gold
20952 check-gold:
20953 @: $(MAKE); $(unstage)
20954 @r=`${PWD_COMMAND}`; export r; \
20955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20956 $(HOST_EXPORTS) \
20957 (cd $(HOST_SUBDIR)/gold && \
20958 $(MAKE) $(FLAGS_TO_PASS) check)
20960 @endif gold
20962 .PHONY: install-gold maybe-install-gold
20963 maybe-install-gold:
20964 @if gold
20965 maybe-install-gold: install-gold
20967 install-gold: installdirs
20968 @: $(MAKE); $(unstage)
20969 @r=`${PWD_COMMAND}`; export r; \
20970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20971 $(HOST_EXPORTS) \
20972 (cd $(HOST_SUBDIR)/gold && \
20973 $(MAKE) $(FLAGS_TO_PASS) install)
20975 @endif gold
20977 # Other targets (info, dvi, pdf, etc.)
20979 .PHONY: maybe-info-gold info-gold
20980 maybe-info-gold:
20981 @if gold
20982 maybe-info-gold: info-gold
20984 info-gold: \
20985 configure-gold
20986 @[ -f ./gold/Makefile ] || exit 0; \
20987 r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20989 $(HOST_EXPORTS) \
20990 for flag in $(EXTRA_HOST_FLAGS) ; do \
20991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20992 done; \
20993 echo "Doing info in gold" ; \
20994 (cd $(HOST_SUBDIR)/gold && \
20995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20997 "RANLIB=$${RANLIB}" \
20998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20999 info) \
21000 || exit 1
21002 @endif gold
21004 .PHONY: maybe-dvi-gold dvi-gold
21005 maybe-dvi-gold:
21006 @if gold
21007 maybe-dvi-gold: dvi-gold
21009 dvi-gold: \
21010 configure-gold
21011 @[ -f ./gold/Makefile ] || exit 0; \
21012 r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21014 $(HOST_EXPORTS) \
21015 for flag in $(EXTRA_HOST_FLAGS) ; do \
21016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21017 done; \
21018 echo "Doing dvi in gold" ; \
21019 (cd $(HOST_SUBDIR)/gold && \
21020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21022 "RANLIB=$${RANLIB}" \
21023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21024 dvi) \
21025 || exit 1
21027 @endif gold
21029 .PHONY: maybe-pdf-gold pdf-gold
21030 maybe-pdf-gold:
21031 @if gold
21032 maybe-pdf-gold: pdf-gold
21034 pdf-gold: \
21035 configure-gold
21036 @[ -f ./gold/Makefile ] || exit 0; \
21037 r=`${PWD_COMMAND}`; export r; \
21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21039 $(HOST_EXPORTS) \
21040 for flag in $(EXTRA_HOST_FLAGS) ; do \
21041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21042 done; \
21043 echo "Doing pdf in gold" ; \
21044 (cd $(HOST_SUBDIR)/gold && \
21045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21047 "RANLIB=$${RANLIB}" \
21048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21049 pdf) \
21050 || exit 1
21052 @endif gold
21054 .PHONY: maybe-html-gold html-gold
21055 maybe-html-gold:
21056 @if gold
21057 maybe-html-gold: html-gold
21059 html-gold: \
21060 configure-gold
21061 @[ -f ./gold/Makefile ] || exit 0; \
21062 r=`${PWD_COMMAND}`; export r; \
21063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21064 $(HOST_EXPORTS) \
21065 for flag in $(EXTRA_HOST_FLAGS) ; do \
21066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21067 done; \
21068 echo "Doing html in gold" ; \
21069 (cd $(HOST_SUBDIR)/gold && \
21070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21072 "RANLIB=$${RANLIB}" \
21073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21074 html) \
21075 || exit 1
21077 @endif gold
21079 .PHONY: maybe-TAGS-gold TAGS-gold
21080 maybe-TAGS-gold:
21081 @if gold
21082 maybe-TAGS-gold: TAGS-gold
21084 TAGS-gold: \
21085 configure-gold
21086 @[ -f ./gold/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 TAGS in gold" ; \
21094 (cd $(HOST_SUBDIR)/gold && \
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}" "WINDMC=$${WINDMC}" \
21099 TAGS) \
21100 || exit 1
21102 @endif gold
21104 .PHONY: maybe-install-info-gold install-info-gold
21105 maybe-install-info-gold:
21106 @if gold
21107 maybe-install-info-gold: install-info-gold
21109 install-info-gold: \
21110 configure-gold \
21111 info-gold
21112 @[ -f ./gold/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 install-info in gold" ; \
21120 (cd $(HOST_SUBDIR)/gold && \
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}" "WINDMC=$${WINDMC}" \
21125 install-info) \
21126 || exit 1
21128 @endif gold
21130 .PHONY: maybe-install-pdf-gold install-pdf-gold
21131 maybe-install-pdf-gold:
21132 @if gold
21133 maybe-install-pdf-gold: install-pdf-gold
21135 install-pdf-gold: \
21136 configure-gold \
21137 pdf-gold
21138 @[ -f ./gold/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 install-pdf in gold" ; \
21146 (cd $(HOST_SUBDIR)/gold && \
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}" "WINDMC=$${WINDMC}" \
21151 install-pdf) \
21152 || exit 1
21154 @endif gold
21156 .PHONY: maybe-install-html-gold install-html-gold
21157 maybe-install-html-gold:
21158 @if gold
21159 maybe-install-html-gold: install-html-gold
21161 install-html-gold: \
21162 configure-gold \
21163 html-gold
21164 @[ -f ./gold/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 install-html in gold" ; \
21172 (cd $(HOST_SUBDIR)/gold && \
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}" "WINDMC=$${WINDMC}" \
21177 install-html) \
21178 || exit 1
21180 @endif gold
21182 .PHONY: maybe-installcheck-gold installcheck-gold
21183 maybe-installcheck-gold:
21184 @if gold
21185 maybe-installcheck-gold: installcheck-gold
21187 installcheck-gold: \
21188 configure-gold
21189 @[ -f ./gold/Makefile ] || exit 0; \
21190 r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192 $(HOST_EXPORTS) \
21193 for flag in $(EXTRA_HOST_FLAGS) ; do \
21194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21195 done; \
21196 echo "Doing installcheck in gold" ; \
21197 (cd $(HOST_SUBDIR)/gold && \
21198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21200 "RANLIB=$${RANLIB}" \
21201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21202 installcheck) \
21203 || exit 1
21205 @endif gold
21207 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
21208 maybe-mostlyclean-gold:
21209 @if gold
21210 maybe-mostlyclean-gold: mostlyclean-gold
21212 mostlyclean-gold:
21213 @[ -f ./gold/Makefile ] || exit 0; \
21214 r=`${PWD_COMMAND}`; export r; \
21215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21216 $(HOST_EXPORTS) \
21217 for flag in $(EXTRA_HOST_FLAGS) ; do \
21218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21219 done; \
21220 echo "Doing mostlyclean in gold" ; \
21221 (cd $(HOST_SUBDIR)/gold && \
21222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21224 "RANLIB=$${RANLIB}" \
21225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21226 mostlyclean) \
21227 || exit 1
21229 @endif gold
21231 .PHONY: maybe-clean-gold clean-gold
21232 maybe-clean-gold:
21233 @if gold
21234 maybe-clean-gold: clean-gold
21236 clean-gold:
21237 @[ -f ./gold/Makefile ] || exit 0; \
21238 r=`${PWD_COMMAND}`; export r; \
21239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21240 $(HOST_EXPORTS) \
21241 for flag in $(EXTRA_HOST_FLAGS) ; do \
21242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21243 done; \
21244 echo "Doing clean in gold" ; \
21245 (cd $(HOST_SUBDIR)/gold && \
21246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21248 "RANLIB=$${RANLIB}" \
21249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21250 clean) \
21251 || exit 1
21253 @endif gold
21255 .PHONY: maybe-distclean-gold distclean-gold
21256 maybe-distclean-gold:
21257 @if gold
21258 maybe-distclean-gold: distclean-gold
21260 distclean-gold:
21261 @[ -f ./gold/Makefile ] || exit 0; \
21262 r=`${PWD_COMMAND}`; export r; \
21263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264 $(HOST_EXPORTS) \
21265 for flag in $(EXTRA_HOST_FLAGS) ; do \
21266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21267 done; \
21268 echo "Doing distclean in gold" ; \
21269 (cd $(HOST_SUBDIR)/gold && \
21270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21272 "RANLIB=$${RANLIB}" \
21273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21274 distclean) \
21275 || exit 1
21277 @endif gold
21279 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
21280 maybe-maintainer-clean-gold:
21281 @if gold
21282 maybe-maintainer-clean-gold: maintainer-clean-gold
21284 maintainer-clean-gold:
21285 @[ -f ./gold/Makefile ] || exit 0; \
21286 r=`${PWD_COMMAND}`; export r; \
21287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21288 $(HOST_EXPORTS) \
21289 for flag in $(EXTRA_HOST_FLAGS) ; do \
21290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21291 done; \
21292 echo "Doing maintainer-clean in gold" ; \
21293 (cd $(HOST_SUBDIR)/gold && \
21294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21296 "RANLIB=$${RANLIB}" \
21297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21298 maintainer-clean) \
21299 || exit 1
21301 @endif gold
21305 .PHONY: configure-gprof maybe-configure-gprof
21306 maybe-configure-gprof:
21307 @if gcc-bootstrap
21308 configure-gprof: stage_current
21309 @endif gcc-bootstrap
21310 @if gprof
21311 maybe-configure-gprof: configure-gprof
21312 configure-gprof:
21313 @: $(MAKE); $(unstage)
21314 @r=`${PWD_COMMAND}`; export r; \
21315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
21317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
21318 $(HOST_EXPORTS) \
21319 echo Configuring in $(HOST_SUBDIR)/gprof; \
21320 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
21321 case $(srcdir) in \
21322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21323 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
21324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21325 esac; \
21326 srcdiroption="--srcdir=$${topdir}/gprof"; \
21327 libsrcdir="$$s/gprof"; \
21328 $(SHELL) $${libsrcdir}/configure \
21329 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21330 --target=${target_alias} $${srcdiroption} \
21331 || exit 1
21332 @endif gprof
21338 .PHONY: all-gprof maybe-all-gprof
21339 maybe-all-gprof:
21340 @if gcc-bootstrap
21341 all-gprof: stage_current
21342 @endif gcc-bootstrap
21343 @if gprof
21344 TARGET-gprof=all
21345 maybe-all-gprof: all-gprof
21346 all-gprof: configure-gprof
21347 @: $(MAKE); $(unstage)
21348 @r=`${PWD_COMMAND}`; export r; \
21349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21350 $(HOST_EXPORTS) \
21351 (cd $(HOST_SUBDIR)/gprof && \
21352 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21353 $(TARGET-gprof))
21354 @endif gprof
21359 .PHONY: check-gprof maybe-check-gprof
21360 maybe-check-gprof:
21361 @if gprof
21362 maybe-check-gprof: check-gprof
21364 check-gprof:
21365 @: $(MAKE); $(unstage)
21366 @r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368 $(HOST_EXPORTS) \
21369 (cd $(HOST_SUBDIR)/gprof && \
21370 $(MAKE) $(FLAGS_TO_PASS) check)
21372 @endif gprof
21374 .PHONY: install-gprof maybe-install-gprof
21375 maybe-install-gprof:
21376 @if gprof
21377 maybe-install-gprof: install-gprof
21379 install-gprof: installdirs
21380 @: $(MAKE); $(unstage)
21381 @r=`${PWD_COMMAND}`; export r; \
21382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21383 $(HOST_EXPORTS) \
21384 (cd $(HOST_SUBDIR)/gprof && \
21385 $(MAKE) $(FLAGS_TO_PASS) install)
21387 @endif gprof
21389 # Other targets (info, dvi, pdf, etc.)
21391 .PHONY: maybe-info-gprof info-gprof
21392 maybe-info-gprof:
21393 @if gprof
21394 maybe-info-gprof: info-gprof
21396 info-gprof: \
21397 configure-gprof
21398 @: $(MAKE); $(unstage)
21399 @[ -f ./gprof/Makefile ] || exit 0; \
21400 r=`${PWD_COMMAND}`; export r; \
21401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21402 $(HOST_EXPORTS) \
21403 for flag in $(EXTRA_HOST_FLAGS) ; do \
21404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21405 done; \
21406 echo "Doing info in gprof" ; \
21407 (cd $(HOST_SUBDIR)/gprof && \
21408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21410 "RANLIB=$${RANLIB}" \
21411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21412 info) \
21413 || exit 1
21415 @endif gprof
21417 .PHONY: maybe-dvi-gprof dvi-gprof
21418 maybe-dvi-gprof:
21419 @if gprof
21420 maybe-dvi-gprof: dvi-gprof
21422 dvi-gprof: \
21423 configure-gprof
21424 @: $(MAKE); $(unstage)
21425 @[ -f ./gprof/Makefile ] || exit 0; \
21426 r=`${PWD_COMMAND}`; export r; \
21427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21428 $(HOST_EXPORTS) \
21429 for flag in $(EXTRA_HOST_FLAGS) ; do \
21430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21431 done; \
21432 echo "Doing dvi in gprof" ; \
21433 (cd $(HOST_SUBDIR)/gprof && \
21434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21436 "RANLIB=$${RANLIB}" \
21437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21438 dvi) \
21439 || exit 1
21441 @endif gprof
21443 .PHONY: maybe-pdf-gprof pdf-gprof
21444 maybe-pdf-gprof:
21445 @if gprof
21446 maybe-pdf-gprof: pdf-gprof
21448 pdf-gprof: \
21449 configure-gprof
21450 @: $(MAKE); $(unstage)
21451 @[ -f ./gprof/Makefile ] || exit 0; \
21452 r=`${PWD_COMMAND}`; export r; \
21453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21454 $(HOST_EXPORTS) \
21455 for flag in $(EXTRA_HOST_FLAGS) ; do \
21456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21457 done; \
21458 echo "Doing pdf in gprof" ; \
21459 (cd $(HOST_SUBDIR)/gprof && \
21460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21462 "RANLIB=$${RANLIB}" \
21463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21464 pdf) \
21465 || exit 1
21467 @endif gprof
21469 .PHONY: maybe-html-gprof html-gprof
21470 maybe-html-gprof:
21471 @if gprof
21472 maybe-html-gprof: html-gprof
21474 html-gprof: \
21475 configure-gprof
21476 @: $(MAKE); $(unstage)
21477 @[ -f ./gprof/Makefile ] || exit 0; \
21478 r=`${PWD_COMMAND}`; export r; \
21479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21480 $(HOST_EXPORTS) \
21481 for flag in $(EXTRA_HOST_FLAGS) ; do \
21482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21483 done; \
21484 echo "Doing html in gprof" ; \
21485 (cd $(HOST_SUBDIR)/gprof && \
21486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21488 "RANLIB=$${RANLIB}" \
21489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21490 html) \
21491 || exit 1
21493 @endif gprof
21495 .PHONY: maybe-TAGS-gprof TAGS-gprof
21496 maybe-TAGS-gprof:
21497 @if gprof
21498 maybe-TAGS-gprof: TAGS-gprof
21500 TAGS-gprof: \
21501 configure-gprof
21502 @: $(MAKE); $(unstage)
21503 @[ -f ./gprof/Makefile ] || exit 0; \
21504 r=`${PWD_COMMAND}`; export r; \
21505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 $(HOST_EXPORTS) \
21507 for flag in $(EXTRA_HOST_FLAGS) ; do \
21508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21509 done; \
21510 echo "Doing TAGS in gprof" ; \
21511 (cd $(HOST_SUBDIR)/gprof && \
21512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21514 "RANLIB=$${RANLIB}" \
21515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21516 TAGS) \
21517 || exit 1
21519 @endif gprof
21521 .PHONY: maybe-install-info-gprof install-info-gprof
21522 maybe-install-info-gprof:
21523 @if gprof
21524 maybe-install-info-gprof: install-info-gprof
21526 install-info-gprof: \
21527 configure-gprof \
21528 info-gprof
21529 @: $(MAKE); $(unstage)
21530 @[ -f ./gprof/Makefile ] || exit 0; \
21531 r=`${PWD_COMMAND}`; export r; \
21532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 $(HOST_EXPORTS) \
21534 for flag in $(EXTRA_HOST_FLAGS) ; do \
21535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21536 done; \
21537 echo "Doing install-info in gprof" ; \
21538 (cd $(HOST_SUBDIR)/gprof && \
21539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21541 "RANLIB=$${RANLIB}" \
21542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21543 install-info) \
21544 || exit 1
21546 @endif gprof
21548 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
21549 maybe-install-pdf-gprof:
21550 @if gprof
21551 maybe-install-pdf-gprof: install-pdf-gprof
21553 install-pdf-gprof: \
21554 configure-gprof \
21555 pdf-gprof
21556 @: $(MAKE); $(unstage)
21557 @[ -f ./gprof/Makefile ] || exit 0; \
21558 r=`${PWD_COMMAND}`; export r; \
21559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21560 $(HOST_EXPORTS) \
21561 for flag in $(EXTRA_HOST_FLAGS) ; do \
21562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21563 done; \
21564 echo "Doing install-pdf in gprof" ; \
21565 (cd $(HOST_SUBDIR)/gprof && \
21566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21568 "RANLIB=$${RANLIB}" \
21569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21570 install-pdf) \
21571 || exit 1
21573 @endif gprof
21575 .PHONY: maybe-install-html-gprof install-html-gprof
21576 maybe-install-html-gprof:
21577 @if gprof
21578 maybe-install-html-gprof: install-html-gprof
21580 install-html-gprof: \
21581 configure-gprof \
21582 html-gprof
21583 @: $(MAKE); $(unstage)
21584 @[ -f ./gprof/Makefile ] || exit 0; \
21585 r=`${PWD_COMMAND}`; export r; \
21586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21587 $(HOST_EXPORTS) \
21588 for flag in $(EXTRA_HOST_FLAGS) ; do \
21589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21590 done; \
21591 echo "Doing install-html in gprof" ; \
21592 (cd $(HOST_SUBDIR)/gprof && \
21593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21595 "RANLIB=$${RANLIB}" \
21596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21597 install-html) \
21598 || exit 1
21600 @endif gprof
21602 .PHONY: maybe-installcheck-gprof installcheck-gprof
21603 maybe-installcheck-gprof:
21604 @if gprof
21605 maybe-installcheck-gprof: installcheck-gprof
21607 installcheck-gprof: \
21608 configure-gprof
21609 @: $(MAKE); $(unstage)
21610 @[ -f ./gprof/Makefile ] || exit 0; \
21611 r=`${PWD_COMMAND}`; export r; \
21612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21613 $(HOST_EXPORTS) \
21614 for flag in $(EXTRA_HOST_FLAGS) ; do \
21615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21616 done; \
21617 echo "Doing installcheck in gprof" ; \
21618 (cd $(HOST_SUBDIR)/gprof && \
21619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21621 "RANLIB=$${RANLIB}" \
21622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21623 installcheck) \
21624 || exit 1
21626 @endif gprof
21628 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
21629 maybe-mostlyclean-gprof:
21630 @if gprof
21631 maybe-mostlyclean-gprof: mostlyclean-gprof
21633 mostlyclean-gprof:
21634 @: $(MAKE); $(unstage)
21635 @[ -f ./gprof/Makefile ] || exit 0; \
21636 r=`${PWD_COMMAND}`; export r; \
21637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21638 $(HOST_EXPORTS) \
21639 for flag in $(EXTRA_HOST_FLAGS) ; do \
21640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21641 done; \
21642 echo "Doing mostlyclean in gprof" ; \
21643 (cd $(HOST_SUBDIR)/gprof && \
21644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21646 "RANLIB=$${RANLIB}" \
21647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21648 mostlyclean) \
21649 || exit 1
21651 @endif gprof
21653 .PHONY: maybe-clean-gprof clean-gprof
21654 maybe-clean-gprof:
21655 @if gprof
21656 maybe-clean-gprof: clean-gprof
21658 clean-gprof:
21659 @: $(MAKE); $(unstage)
21660 @[ -f ./gprof/Makefile ] || exit 0; \
21661 r=`${PWD_COMMAND}`; export r; \
21662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21663 $(HOST_EXPORTS) \
21664 for flag in $(EXTRA_HOST_FLAGS) ; do \
21665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21666 done; \
21667 echo "Doing clean in gprof" ; \
21668 (cd $(HOST_SUBDIR)/gprof && \
21669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21671 "RANLIB=$${RANLIB}" \
21672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21673 clean) \
21674 || exit 1
21676 @endif gprof
21678 .PHONY: maybe-distclean-gprof distclean-gprof
21679 maybe-distclean-gprof:
21680 @if gprof
21681 maybe-distclean-gprof: distclean-gprof
21683 distclean-gprof:
21684 @: $(MAKE); $(unstage)
21685 @[ -f ./gprof/Makefile ] || exit 0; \
21686 r=`${PWD_COMMAND}`; export r; \
21687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21688 $(HOST_EXPORTS) \
21689 for flag in $(EXTRA_HOST_FLAGS) ; do \
21690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21691 done; \
21692 echo "Doing distclean in gprof" ; \
21693 (cd $(HOST_SUBDIR)/gprof && \
21694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21696 "RANLIB=$${RANLIB}" \
21697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21698 distclean) \
21699 || exit 1
21701 @endif gprof
21703 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
21704 maybe-maintainer-clean-gprof:
21705 @if gprof
21706 maybe-maintainer-clean-gprof: maintainer-clean-gprof
21708 maintainer-clean-gprof:
21709 @: $(MAKE); $(unstage)
21710 @[ -f ./gprof/Makefile ] || exit 0; \
21711 r=`${PWD_COMMAND}`; export r; \
21712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21713 $(HOST_EXPORTS) \
21714 for flag in $(EXTRA_HOST_FLAGS) ; do \
21715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21716 done; \
21717 echo "Doing maintainer-clean in gprof" ; \
21718 (cd $(HOST_SUBDIR)/gprof && \
21719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21721 "RANLIB=$${RANLIB}" \
21722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21723 maintainer-clean) \
21724 || exit 1
21726 @endif gprof
21730 .PHONY: configure-gzip maybe-configure-gzip
21731 maybe-configure-gzip:
21732 @if gcc-bootstrap
21733 configure-gzip: stage_current
21734 @endif gcc-bootstrap
21735 @if gzip
21736 maybe-configure-gzip: configure-gzip
21737 configure-gzip:
21738 @: $(MAKE); $(unstage)
21739 @r=`${PWD_COMMAND}`; export r; \
21740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21741 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
21742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
21743 $(HOST_EXPORTS) \
21744 echo Configuring in $(HOST_SUBDIR)/gzip; \
21745 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
21746 case $(srcdir) in \
21747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21748 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
21749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21750 esac; \
21751 srcdiroption="--srcdir=$${topdir}/gzip"; \
21752 libsrcdir="$$s/gzip"; \
21753 $(SHELL) $${libsrcdir}/configure \
21754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21755 --target=${target_alias} $${srcdiroption} \
21756 || exit 1
21757 @endif gzip
21763 .PHONY: all-gzip maybe-all-gzip
21764 maybe-all-gzip:
21765 @if gcc-bootstrap
21766 all-gzip: stage_current
21767 @endif gcc-bootstrap
21768 @if gzip
21769 TARGET-gzip=all
21770 maybe-all-gzip: all-gzip
21771 all-gzip: configure-gzip
21772 @: $(MAKE); $(unstage)
21773 @r=`${PWD_COMMAND}`; export r; \
21774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21775 $(HOST_EXPORTS) \
21776 (cd $(HOST_SUBDIR)/gzip && \
21777 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21778 $(TARGET-gzip))
21779 @endif gzip
21784 .PHONY: check-gzip maybe-check-gzip
21785 maybe-check-gzip:
21786 @if gzip
21787 maybe-check-gzip: check-gzip
21789 check-gzip:
21790 @: $(MAKE); $(unstage)
21791 @r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 $(HOST_EXPORTS) \
21794 (cd $(HOST_SUBDIR)/gzip && \
21795 $(MAKE) $(FLAGS_TO_PASS) check)
21797 @endif gzip
21799 .PHONY: install-gzip maybe-install-gzip
21800 maybe-install-gzip:
21801 @if gzip
21802 maybe-install-gzip: install-gzip
21804 install-gzip: installdirs
21805 @: $(MAKE); $(unstage)
21806 @r=`${PWD_COMMAND}`; export r; \
21807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21808 $(HOST_EXPORTS) \
21809 (cd $(HOST_SUBDIR)/gzip && \
21810 $(MAKE) $(FLAGS_TO_PASS) install)
21812 @endif gzip
21814 # Other targets (info, dvi, pdf, etc.)
21816 .PHONY: maybe-info-gzip info-gzip
21817 maybe-info-gzip:
21818 @if gzip
21819 maybe-info-gzip: info-gzip
21821 info-gzip: \
21822 configure-gzip
21823 @: $(MAKE); $(unstage)
21824 @[ -f ./gzip/Makefile ] || exit 0; \
21825 r=`${PWD_COMMAND}`; export r; \
21826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21827 $(HOST_EXPORTS) \
21828 for flag in $(EXTRA_HOST_FLAGS) ; do \
21829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21830 done; \
21831 echo "Doing info in gzip" ; \
21832 (cd $(HOST_SUBDIR)/gzip && \
21833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21835 "RANLIB=$${RANLIB}" \
21836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21837 info) \
21838 || exit 1
21840 @endif gzip
21842 .PHONY: maybe-dvi-gzip dvi-gzip
21843 maybe-dvi-gzip:
21844 @if gzip
21845 maybe-dvi-gzip: dvi-gzip
21847 dvi-gzip: \
21848 configure-gzip
21849 @: $(MAKE); $(unstage)
21850 @[ -f ./gzip/Makefile ] || exit 0; \
21851 r=`${PWD_COMMAND}`; export r; \
21852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21853 $(HOST_EXPORTS) \
21854 for flag in $(EXTRA_HOST_FLAGS) ; do \
21855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21856 done; \
21857 echo "Doing dvi in gzip" ; \
21858 (cd $(HOST_SUBDIR)/gzip && \
21859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21861 "RANLIB=$${RANLIB}" \
21862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21863 dvi) \
21864 || exit 1
21866 @endif gzip
21868 .PHONY: maybe-pdf-gzip pdf-gzip
21869 maybe-pdf-gzip:
21870 @if gzip
21871 maybe-pdf-gzip: pdf-gzip
21873 pdf-gzip: \
21874 configure-gzip
21875 @: $(MAKE); $(unstage)
21876 @[ -f ./gzip/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 $(HOST_EXPORTS) \
21880 for flag in $(EXTRA_HOST_FLAGS) ; do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21882 done; \
21883 echo "Doing pdf in gzip" ; \
21884 (cd $(HOST_SUBDIR)/gzip && \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21889 pdf) \
21890 || exit 1
21892 @endif gzip
21894 .PHONY: maybe-html-gzip html-gzip
21895 maybe-html-gzip:
21896 @if gzip
21897 maybe-html-gzip: html-gzip
21899 html-gzip: \
21900 configure-gzip
21901 @: $(MAKE); $(unstage)
21902 @[ -f ./gzip/Makefile ] || exit 0; \
21903 r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 $(HOST_EXPORTS) \
21906 for flag in $(EXTRA_HOST_FLAGS) ; do \
21907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 done; \
21909 echo "Doing html in gzip" ; \
21910 (cd $(HOST_SUBDIR)/gzip && \
21911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21913 "RANLIB=$${RANLIB}" \
21914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21915 html) \
21916 || exit 1
21918 @endif gzip
21920 .PHONY: maybe-TAGS-gzip TAGS-gzip
21921 maybe-TAGS-gzip:
21922 @if gzip
21923 maybe-TAGS-gzip: TAGS-gzip
21925 TAGS-gzip: \
21926 configure-gzip
21927 @: $(MAKE); $(unstage)
21928 @[ -f ./gzip/Makefile ] || exit 0; \
21929 r=`${PWD_COMMAND}`; export r; \
21930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21931 $(HOST_EXPORTS) \
21932 for flag in $(EXTRA_HOST_FLAGS) ; do \
21933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21934 done; \
21935 echo "Doing TAGS in gzip" ; \
21936 (cd $(HOST_SUBDIR)/gzip && \
21937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21939 "RANLIB=$${RANLIB}" \
21940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21941 TAGS) \
21942 || exit 1
21944 @endif gzip
21946 .PHONY: maybe-install-info-gzip install-info-gzip
21947 maybe-install-info-gzip:
21948 @if gzip
21949 maybe-install-info-gzip: install-info-gzip
21951 install-info-gzip: \
21952 configure-gzip \
21953 info-gzip
21954 @: $(MAKE); $(unstage)
21955 @[ -f ./gzip/Makefile ] || exit 0; \
21956 r=`${PWD_COMMAND}`; export r; \
21957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21958 $(HOST_EXPORTS) \
21959 for flag in $(EXTRA_HOST_FLAGS) ; do \
21960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21961 done; \
21962 echo "Doing install-info in gzip" ; \
21963 (cd $(HOST_SUBDIR)/gzip && \
21964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21966 "RANLIB=$${RANLIB}" \
21967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21968 install-info) \
21969 || exit 1
21971 @endif gzip
21973 .PHONY: maybe-install-pdf-gzip install-pdf-gzip
21974 maybe-install-pdf-gzip:
21975 @if gzip
21976 maybe-install-pdf-gzip: install-pdf-gzip
21978 install-pdf-gzip: \
21979 configure-gzip \
21980 pdf-gzip
21981 @: $(MAKE); $(unstage)
21982 @[ -f ./gzip/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 install-pdf in gzip" ; \
21990 (cd $(HOST_SUBDIR)/gzip && \
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}" "WINDMC=$${WINDMC}" \
21995 install-pdf) \
21996 || exit 1
21998 @endif gzip
22000 .PHONY: maybe-install-html-gzip install-html-gzip
22001 maybe-install-html-gzip:
22002 @if gzip
22003 maybe-install-html-gzip: install-html-gzip
22005 install-html-gzip: \
22006 configure-gzip \
22007 html-gzip
22008 @: $(MAKE); $(unstage)
22009 @[ -f ./gzip/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-html in gzip" ; \
22017 (cd $(HOST_SUBDIR)/gzip && \
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}" "WINDMC=$${WINDMC}" \
22022 install-html) \
22023 || exit 1
22025 @endif gzip
22027 .PHONY: maybe-installcheck-gzip installcheck-gzip
22028 maybe-installcheck-gzip:
22029 @if gzip
22030 maybe-installcheck-gzip: installcheck-gzip
22032 installcheck-gzip: \
22033 configure-gzip
22034 @: $(MAKE); $(unstage)
22035 @[ -f ./gzip/Makefile ] || exit 0; \
22036 r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038 $(HOST_EXPORTS) \
22039 for flag in $(EXTRA_HOST_FLAGS) ; do \
22040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22041 done; \
22042 echo "Doing installcheck in gzip" ; \
22043 (cd $(HOST_SUBDIR)/gzip && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22046 "RANLIB=$${RANLIB}" \
22047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22048 installcheck) \
22049 || exit 1
22051 @endif gzip
22053 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
22054 maybe-mostlyclean-gzip:
22055 @if gzip
22056 maybe-mostlyclean-gzip: mostlyclean-gzip
22058 mostlyclean-gzip:
22059 @: $(MAKE); $(unstage)
22060 @[ -f ./gzip/Makefile ] || exit 0; \
22061 r=`${PWD_COMMAND}`; export r; \
22062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 $(HOST_EXPORTS) \
22064 for flag in $(EXTRA_HOST_FLAGS) ; do \
22065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22066 done; \
22067 echo "Doing mostlyclean in gzip" ; \
22068 (cd $(HOST_SUBDIR)/gzip && \
22069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22071 "RANLIB=$${RANLIB}" \
22072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22073 mostlyclean) \
22074 || exit 1
22076 @endif gzip
22078 .PHONY: maybe-clean-gzip clean-gzip
22079 maybe-clean-gzip:
22080 @if gzip
22081 maybe-clean-gzip: clean-gzip
22083 clean-gzip:
22084 @: $(MAKE); $(unstage)
22085 @[ -f ./gzip/Makefile ] || exit 0; \
22086 r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088 $(HOST_EXPORTS) \
22089 for flag in $(EXTRA_HOST_FLAGS) ; do \
22090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22091 done; \
22092 echo "Doing clean in gzip" ; \
22093 (cd $(HOST_SUBDIR)/gzip && \
22094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22096 "RANLIB=$${RANLIB}" \
22097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22098 clean) \
22099 || exit 1
22101 @endif gzip
22103 .PHONY: maybe-distclean-gzip distclean-gzip
22104 maybe-distclean-gzip:
22105 @if gzip
22106 maybe-distclean-gzip: distclean-gzip
22108 distclean-gzip:
22109 @: $(MAKE); $(unstage)
22110 @[ -f ./gzip/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113 $(HOST_EXPORTS) \
22114 for flag in $(EXTRA_HOST_FLAGS) ; do \
22115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22116 done; \
22117 echo "Doing distclean in gzip" ; \
22118 (cd $(HOST_SUBDIR)/gzip && \
22119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22121 "RANLIB=$${RANLIB}" \
22122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22123 distclean) \
22124 || exit 1
22126 @endif gzip
22128 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
22129 maybe-maintainer-clean-gzip:
22130 @if gzip
22131 maybe-maintainer-clean-gzip: maintainer-clean-gzip
22133 maintainer-clean-gzip:
22134 @: $(MAKE); $(unstage)
22135 @[ -f ./gzip/Makefile ] || exit 0; \
22136 r=`${PWD_COMMAND}`; export r; \
22137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22138 $(HOST_EXPORTS) \
22139 for flag in $(EXTRA_HOST_FLAGS) ; do \
22140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22141 done; \
22142 echo "Doing maintainer-clean in gzip" ; \
22143 (cd $(HOST_SUBDIR)/gzip && \
22144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22146 "RANLIB=$${RANLIB}" \
22147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22148 maintainer-clean) \
22149 || exit 1
22151 @endif gzip
22155 .PHONY: configure-hello maybe-configure-hello
22156 maybe-configure-hello:
22157 @if gcc-bootstrap
22158 configure-hello: stage_current
22159 @endif gcc-bootstrap
22160 @if hello
22161 maybe-configure-hello: configure-hello
22162 configure-hello:
22163 @: $(MAKE); $(unstage)
22164 @r=`${PWD_COMMAND}`; export r; \
22165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
22167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
22168 $(HOST_EXPORTS) \
22169 echo Configuring in $(HOST_SUBDIR)/hello; \
22170 cd "$(HOST_SUBDIR)/hello" || exit 1; \
22171 case $(srcdir) in \
22172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22173 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
22174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22175 esac; \
22176 srcdiroption="--srcdir=$${topdir}/hello"; \
22177 libsrcdir="$$s/hello"; \
22178 $(SHELL) $${libsrcdir}/configure \
22179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22180 --target=${target_alias} $${srcdiroption} \
22181 || exit 1
22182 @endif hello
22188 .PHONY: all-hello maybe-all-hello
22189 maybe-all-hello:
22190 @if gcc-bootstrap
22191 all-hello: stage_current
22192 @endif gcc-bootstrap
22193 @if hello
22194 TARGET-hello=all
22195 maybe-all-hello: all-hello
22196 all-hello: configure-hello
22197 @: $(MAKE); $(unstage)
22198 @r=`${PWD_COMMAND}`; export r; \
22199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22200 $(HOST_EXPORTS) \
22201 (cd $(HOST_SUBDIR)/hello && \
22202 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22203 $(TARGET-hello))
22204 @endif hello
22209 .PHONY: check-hello maybe-check-hello
22210 maybe-check-hello:
22211 @if hello
22212 maybe-check-hello: check-hello
22214 check-hello:
22215 @: $(MAKE); $(unstage)
22216 @r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22218 $(HOST_EXPORTS) \
22219 (cd $(HOST_SUBDIR)/hello && \
22220 $(MAKE) $(FLAGS_TO_PASS) check)
22222 @endif hello
22224 .PHONY: install-hello maybe-install-hello
22225 maybe-install-hello:
22226 @if hello
22227 maybe-install-hello: install-hello
22229 install-hello: installdirs
22230 @: $(MAKE); $(unstage)
22231 @r=`${PWD_COMMAND}`; export r; \
22232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22233 $(HOST_EXPORTS) \
22234 (cd $(HOST_SUBDIR)/hello && \
22235 $(MAKE) $(FLAGS_TO_PASS) install)
22237 @endif hello
22239 # Other targets (info, dvi, pdf, etc.)
22241 .PHONY: maybe-info-hello info-hello
22242 maybe-info-hello:
22243 @if hello
22244 maybe-info-hello: info-hello
22246 info-hello: \
22247 configure-hello
22248 @: $(MAKE); $(unstage)
22249 @[ -f ./hello/Makefile ] || exit 0; \
22250 r=`${PWD_COMMAND}`; export r; \
22251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22252 $(HOST_EXPORTS) \
22253 for flag in $(EXTRA_HOST_FLAGS) ; do \
22254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22255 done; \
22256 echo "Doing info in hello" ; \
22257 (cd $(HOST_SUBDIR)/hello && \
22258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22260 "RANLIB=$${RANLIB}" \
22261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22262 info) \
22263 || exit 1
22265 @endif hello
22267 .PHONY: maybe-dvi-hello dvi-hello
22268 maybe-dvi-hello:
22269 @if hello
22270 maybe-dvi-hello: dvi-hello
22272 dvi-hello: \
22273 configure-hello
22274 @: $(MAKE); $(unstage)
22275 @[ -f ./hello/Makefile ] || exit 0; \
22276 r=`${PWD_COMMAND}`; export r; \
22277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22278 $(HOST_EXPORTS) \
22279 for flag in $(EXTRA_HOST_FLAGS) ; do \
22280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 done; \
22282 echo "Doing dvi in hello" ; \
22283 (cd $(HOST_SUBDIR)/hello && \
22284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22286 "RANLIB=$${RANLIB}" \
22287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22288 dvi) \
22289 || exit 1
22291 @endif hello
22293 .PHONY: maybe-pdf-hello pdf-hello
22294 maybe-pdf-hello:
22295 @if hello
22296 maybe-pdf-hello: pdf-hello
22298 pdf-hello: \
22299 configure-hello
22300 @: $(MAKE); $(unstage)
22301 @[ -f ./hello/Makefile ] || exit 0; \
22302 r=`${PWD_COMMAND}`; export r; \
22303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22304 $(HOST_EXPORTS) \
22305 for flag in $(EXTRA_HOST_FLAGS) ; do \
22306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22307 done; \
22308 echo "Doing pdf in hello" ; \
22309 (cd $(HOST_SUBDIR)/hello && \
22310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22312 "RANLIB=$${RANLIB}" \
22313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22314 pdf) \
22315 || exit 1
22317 @endif hello
22319 .PHONY: maybe-html-hello html-hello
22320 maybe-html-hello:
22321 @if hello
22322 maybe-html-hello: html-hello
22324 html-hello: \
22325 configure-hello
22326 @: $(MAKE); $(unstage)
22327 @[ -f ./hello/Makefile ] || exit 0; \
22328 r=`${PWD_COMMAND}`; export r; \
22329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22330 $(HOST_EXPORTS) \
22331 for flag in $(EXTRA_HOST_FLAGS) ; do \
22332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22333 done; \
22334 echo "Doing html in hello" ; \
22335 (cd $(HOST_SUBDIR)/hello && \
22336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22338 "RANLIB=$${RANLIB}" \
22339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22340 html) \
22341 || exit 1
22343 @endif hello
22345 .PHONY: maybe-TAGS-hello TAGS-hello
22346 maybe-TAGS-hello:
22347 @if hello
22348 maybe-TAGS-hello: TAGS-hello
22350 TAGS-hello: \
22351 configure-hello
22352 @: $(MAKE); $(unstage)
22353 @[ -f ./hello/Makefile ] || exit 0; \
22354 r=`${PWD_COMMAND}`; export r; \
22355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22356 $(HOST_EXPORTS) \
22357 for flag in $(EXTRA_HOST_FLAGS) ; do \
22358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22359 done; \
22360 echo "Doing TAGS in hello" ; \
22361 (cd $(HOST_SUBDIR)/hello && \
22362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22364 "RANLIB=$${RANLIB}" \
22365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22366 TAGS) \
22367 || exit 1
22369 @endif hello
22371 .PHONY: maybe-install-info-hello install-info-hello
22372 maybe-install-info-hello:
22373 @if hello
22374 maybe-install-info-hello: install-info-hello
22376 install-info-hello: \
22377 configure-hello \
22378 info-hello
22379 @: $(MAKE); $(unstage)
22380 @[ -f ./hello/Makefile ] || exit 0; \
22381 r=`${PWD_COMMAND}`; export r; \
22382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22383 $(HOST_EXPORTS) \
22384 for flag in $(EXTRA_HOST_FLAGS) ; do \
22385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22386 done; \
22387 echo "Doing install-info in hello" ; \
22388 (cd $(HOST_SUBDIR)/hello && \
22389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22391 "RANLIB=$${RANLIB}" \
22392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22393 install-info) \
22394 || exit 1
22396 @endif hello
22398 .PHONY: maybe-install-pdf-hello install-pdf-hello
22399 maybe-install-pdf-hello:
22400 @if hello
22401 maybe-install-pdf-hello: install-pdf-hello
22403 install-pdf-hello: \
22404 configure-hello \
22405 pdf-hello
22406 @: $(MAKE); $(unstage)
22407 @[ -f ./hello/Makefile ] || exit 0; \
22408 r=`${PWD_COMMAND}`; export r; \
22409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22410 $(HOST_EXPORTS) \
22411 for flag in $(EXTRA_HOST_FLAGS) ; do \
22412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22413 done; \
22414 echo "Doing install-pdf in hello" ; \
22415 (cd $(HOST_SUBDIR)/hello && \
22416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22418 "RANLIB=$${RANLIB}" \
22419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22420 install-pdf) \
22421 || exit 1
22423 @endif hello
22425 .PHONY: maybe-install-html-hello install-html-hello
22426 maybe-install-html-hello:
22427 @if hello
22428 maybe-install-html-hello: install-html-hello
22430 install-html-hello: \
22431 configure-hello \
22432 html-hello
22433 @: $(MAKE); $(unstage)
22434 @[ -f ./hello/Makefile ] || exit 0; \
22435 r=`${PWD_COMMAND}`; export r; \
22436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22437 $(HOST_EXPORTS) \
22438 for flag in $(EXTRA_HOST_FLAGS) ; do \
22439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22440 done; \
22441 echo "Doing install-html in hello" ; \
22442 (cd $(HOST_SUBDIR)/hello && \
22443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22445 "RANLIB=$${RANLIB}" \
22446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22447 install-html) \
22448 || exit 1
22450 @endif hello
22452 .PHONY: maybe-installcheck-hello installcheck-hello
22453 maybe-installcheck-hello:
22454 @if hello
22455 maybe-installcheck-hello: installcheck-hello
22457 installcheck-hello: \
22458 configure-hello
22459 @: $(MAKE); $(unstage)
22460 @[ -f ./hello/Makefile ] || exit 0; \
22461 r=`${PWD_COMMAND}`; export r; \
22462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22463 $(HOST_EXPORTS) \
22464 for flag in $(EXTRA_HOST_FLAGS) ; do \
22465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22466 done; \
22467 echo "Doing installcheck in hello" ; \
22468 (cd $(HOST_SUBDIR)/hello && \
22469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22471 "RANLIB=$${RANLIB}" \
22472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22473 installcheck) \
22474 || exit 1
22476 @endif hello
22478 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
22479 maybe-mostlyclean-hello:
22480 @if hello
22481 maybe-mostlyclean-hello: mostlyclean-hello
22483 mostlyclean-hello:
22484 @: $(MAKE); $(unstage)
22485 @[ -f ./hello/Makefile ] || exit 0; \
22486 r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22488 $(HOST_EXPORTS) \
22489 for flag in $(EXTRA_HOST_FLAGS) ; do \
22490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22491 done; \
22492 echo "Doing mostlyclean in hello" ; \
22493 (cd $(HOST_SUBDIR)/hello && \
22494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22496 "RANLIB=$${RANLIB}" \
22497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22498 mostlyclean) \
22499 || exit 1
22501 @endif hello
22503 .PHONY: maybe-clean-hello clean-hello
22504 maybe-clean-hello:
22505 @if hello
22506 maybe-clean-hello: clean-hello
22508 clean-hello:
22509 @: $(MAKE); $(unstage)
22510 @[ -f ./hello/Makefile ] || exit 0; \
22511 r=`${PWD_COMMAND}`; export r; \
22512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22513 $(HOST_EXPORTS) \
22514 for flag in $(EXTRA_HOST_FLAGS) ; do \
22515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22516 done; \
22517 echo "Doing clean in hello" ; \
22518 (cd $(HOST_SUBDIR)/hello && \
22519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22521 "RANLIB=$${RANLIB}" \
22522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22523 clean) \
22524 || exit 1
22526 @endif hello
22528 .PHONY: maybe-distclean-hello distclean-hello
22529 maybe-distclean-hello:
22530 @if hello
22531 maybe-distclean-hello: distclean-hello
22533 distclean-hello:
22534 @: $(MAKE); $(unstage)
22535 @[ -f ./hello/Makefile ] || exit 0; \
22536 r=`${PWD_COMMAND}`; export r; \
22537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22538 $(HOST_EXPORTS) \
22539 for flag in $(EXTRA_HOST_FLAGS) ; do \
22540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22541 done; \
22542 echo "Doing distclean in hello" ; \
22543 (cd $(HOST_SUBDIR)/hello && \
22544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22546 "RANLIB=$${RANLIB}" \
22547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22548 distclean) \
22549 || exit 1
22551 @endif hello
22553 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
22554 maybe-maintainer-clean-hello:
22555 @if hello
22556 maybe-maintainer-clean-hello: maintainer-clean-hello
22558 maintainer-clean-hello:
22559 @: $(MAKE); $(unstage)
22560 @[ -f ./hello/Makefile ] || exit 0; \
22561 r=`${PWD_COMMAND}`; export r; \
22562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22563 $(HOST_EXPORTS) \
22564 for flag in $(EXTRA_HOST_FLAGS) ; do \
22565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22566 done; \
22567 echo "Doing maintainer-clean in hello" ; \
22568 (cd $(HOST_SUBDIR)/hello && \
22569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22571 "RANLIB=$${RANLIB}" \
22572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22573 maintainer-clean) \
22574 || exit 1
22576 @endif hello
22580 .PHONY: configure-indent maybe-configure-indent
22581 maybe-configure-indent:
22582 @if gcc-bootstrap
22583 configure-indent: stage_current
22584 @endif gcc-bootstrap
22585 @if indent
22586 maybe-configure-indent: configure-indent
22587 configure-indent:
22588 @: $(MAKE); $(unstage)
22589 @r=`${PWD_COMMAND}`; export r; \
22590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22591 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
22592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
22593 $(HOST_EXPORTS) \
22594 echo Configuring in $(HOST_SUBDIR)/indent; \
22595 cd "$(HOST_SUBDIR)/indent" || exit 1; \
22596 case $(srcdir) in \
22597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22598 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
22599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22600 esac; \
22601 srcdiroption="--srcdir=$${topdir}/indent"; \
22602 libsrcdir="$$s/indent"; \
22603 $(SHELL) $${libsrcdir}/configure \
22604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22605 --target=${target_alias} $${srcdiroption} \
22606 || exit 1
22607 @endif indent
22613 .PHONY: all-indent maybe-all-indent
22614 maybe-all-indent:
22615 @if gcc-bootstrap
22616 all-indent: stage_current
22617 @endif gcc-bootstrap
22618 @if indent
22619 TARGET-indent=all
22620 maybe-all-indent: all-indent
22621 all-indent: configure-indent
22622 @: $(MAKE); $(unstage)
22623 @r=`${PWD_COMMAND}`; export r; \
22624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22625 $(HOST_EXPORTS) \
22626 (cd $(HOST_SUBDIR)/indent && \
22627 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22628 $(TARGET-indent))
22629 @endif indent
22634 .PHONY: check-indent maybe-check-indent
22635 maybe-check-indent:
22636 @if indent
22637 maybe-check-indent: check-indent
22639 check-indent:
22640 @: $(MAKE); $(unstage)
22641 @r=`${PWD_COMMAND}`; export r; \
22642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22643 $(HOST_EXPORTS) \
22644 (cd $(HOST_SUBDIR)/indent && \
22645 $(MAKE) $(FLAGS_TO_PASS) check)
22647 @endif indent
22649 .PHONY: install-indent maybe-install-indent
22650 maybe-install-indent:
22651 @if indent
22652 maybe-install-indent: install-indent
22654 install-indent: installdirs
22655 @: $(MAKE); $(unstage)
22656 @r=`${PWD_COMMAND}`; export r; \
22657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22658 $(HOST_EXPORTS) \
22659 (cd $(HOST_SUBDIR)/indent && \
22660 $(MAKE) $(FLAGS_TO_PASS) install)
22662 @endif indent
22664 # Other targets (info, dvi, pdf, etc.)
22666 .PHONY: maybe-info-indent info-indent
22667 maybe-info-indent:
22668 @if indent
22669 maybe-info-indent: info-indent
22671 info-indent: \
22672 configure-indent
22673 @: $(MAKE); $(unstage)
22674 @[ -f ./indent/Makefile ] || exit 0; \
22675 r=`${PWD_COMMAND}`; export r; \
22676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22677 $(HOST_EXPORTS) \
22678 for flag in $(EXTRA_HOST_FLAGS) ; do \
22679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22680 done; \
22681 echo "Doing info in indent" ; \
22682 (cd $(HOST_SUBDIR)/indent && \
22683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22685 "RANLIB=$${RANLIB}" \
22686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22687 info) \
22688 || exit 1
22690 @endif indent
22692 .PHONY: maybe-dvi-indent dvi-indent
22693 maybe-dvi-indent:
22694 @if indent
22695 maybe-dvi-indent: dvi-indent
22697 dvi-indent: \
22698 configure-indent
22699 @: $(MAKE); $(unstage)
22700 @[ -f ./indent/Makefile ] || exit 0; \
22701 r=`${PWD_COMMAND}`; export r; \
22702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22703 $(HOST_EXPORTS) \
22704 for flag in $(EXTRA_HOST_FLAGS) ; do \
22705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22706 done; \
22707 echo "Doing dvi in indent" ; \
22708 (cd $(HOST_SUBDIR)/indent && \
22709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22711 "RANLIB=$${RANLIB}" \
22712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22713 dvi) \
22714 || exit 1
22716 @endif indent
22718 .PHONY: maybe-pdf-indent pdf-indent
22719 maybe-pdf-indent:
22720 @if indent
22721 maybe-pdf-indent: pdf-indent
22723 pdf-indent: \
22724 configure-indent
22725 @: $(MAKE); $(unstage)
22726 @[ -f ./indent/Makefile ] || exit 0; \
22727 r=`${PWD_COMMAND}`; export r; \
22728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22729 $(HOST_EXPORTS) \
22730 for flag in $(EXTRA_HOST_FLAGS) ; do \
22731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22732 done; \
22733 echo "Doing pdf in indent" ; \
22734 (cd $(HOST_SUBDIR)/indent && \
22735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22737 "RANLIB=$${RANLIB}" \
22738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22739 pdf) \
22740 || exit 1
22742 @endif indent
22744 .PHONY: maybe-html-indent html-indent
22745 maybe-html-indent:
22746 @if indent
22747 maybe-html-indent: html-indent
22749 html-indent: \
22750 configure-indent
22751 @: $(MAKE); $(unstage)
22752 @[ -f ./indent/Makefile ] || exit 0; \
22753 r=`${PWD_COMMAND}`; export r; \
22754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22755 $(HOST_EXPORTS) \
22756 for flag in $(EXTRA_HOST_FLAGS) ; do \
22757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22758 done; \
22759 echo "Doing html in indent" ; \
22760 (cd $(HOST_SUBDIR)/indent && \
22761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22763 "RANLIB=$${RANLIB}" \
22764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22765 html) \
22766 || exit 1
22768 @endif indent
22770 .PHONY: maybe-TAGS-indent TAGS-indent
22771 maybe-TAGS-indent:
22772 @if indent
22773 maybe-TAGS-indent: TAGS-indent
22775 TAGS-indent: \
22776 configure-indent
22777 @: $(MAKE); $(unstage)
22778 @[ -f ./indent/Makefile ] || exit 0; \
22779 r=`${PWD_COMMAND}`; export r; \
22780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22781 $(HOST_EXPORTS) \
22782 for flag in $(EXTRA_HOST_FLAGS) ; do \
22783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22784 done; \
22785 echo "Doing TAGS in indent" ; \
22786 (cd $(HOST_SUBDIR)/indent && \
22787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22789 "RANLIB=$${RANLIB}" \
22790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22791 TAGS) \
22792 || exit 1
22794 @endif indent
22796 .PHONY: maybe-install-info-indent install-info-indent
22797 maybe-install-info-indent:
22798 @if indent
22799 maybe-install-info-indent: install-info-indent
22801 install-info-indent: \
22802 configure-indent \
22803 info-indent
22804 @: $(MAKE); $(unstage)
22805 @[ -f ./indent/Makefile ] || exit 0; \
22806 r=`${PWD_COMMAND}`; export r; \
22807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22808 $(HOST_EXPORTS) \
22809 for flag in $(EXTRA_HOST_FLAGS) ; do \
22810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22811 done; \
22812 echo "Doing install-info in indent" ; \
22813 (cd $(HOST_SUBDIR)/indent && \
22814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22816 "RANLIB=$${RANLIB}" \
22817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22818 install-info) \
22819 || exit 1
22821 @endif indent
22823 .PHONY: maybe-install-pdf-indent install-pdf-indent
22824 maybe-install-pdf-indent:
22825 @if indent
22826 maybe-install-pdf-indent: install-pdf-indent
22828 install-pdf-indent: \
22829 configure-indent \
22830 pdf-indent
22831 @: $(MAKE); $(unstage)
22832 @[ -f ./indent/Makefile ] || exit 0; \
22833 r=`${PWD_COMMAND}`; export r; \
22834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22835 $(HOST_EXPORTS) \
22836 for flag in $(EXTRA_HOST_FLAGS) ; do \
22837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22838 done; \
22839 echo "Doing install-pdf in indent" ; \
22840 (cd $(HOST_SUBDIR)/indent && \
22841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22843 "RANLIB=$${RANLIB}" \
22844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22845 install-pdf) \
22846 || exit 1
22848 @endif indent
22850 .PHONY: maybe-install-html-indent install-html-indent
22851 maybe-install-html-indent:
22852 @if indent
22853 maybe-install-html-indent: install-html-indent
22855 install-html-indent: \
22856 configure-indent \
22857 html-indent
22858 @: $(MAKE); $(unstage)
22859 @[ -f ./indent/Makefile ] || exit 0; \
22860 r=`${PWD_COMMAND}`; export r; \
22861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22862 $(HOST_EXPORTS) \
22863 for flag in $(EXTRA_HOST_FLAGS) ; do \
22864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22865 done; \
22866 echo "Doing install-html in indent" ; \
22867 (cd $(HOST_SUBDIR)/indent && \
22868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22870 "RANLIB=$${RANLIB}" \
22871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22872 install-html) \
22873 || exit 1
22875 @endif indent
22877 .PHONY: maybe-installcheck-indent installcheck-indent
22878 maybe-installcheck-indent:
22879 @if indent
22880 maybe-installcheck-indent: installcheck-indent
22882 installcheck-indent: \
22883 configure-indent
22884 @: $(MAKE); $(unstage)
22885 @[ -f ./indent/Makefile ] || exit 0; \
22886 r=`${PWD_COMMAND}`; export r; \
22887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22888 $(HOST_EXPORTS) \
22889 for flag in $(EXTRA_HOST_FLAGS) ; do \
22890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22891 done; \
22892 echo "Doing installcheck in indent" ; \
22893 (cd $(HOST_SUBDIR)/indent && \
22894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22896 "RANLIB=$${RANLIB}" \
22897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22898 installcheck) \
22899 || exit 1
22901 @endif indent
22903 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
22904 maybe-mostlyclean-indent:
22905 @if indent
22906 maybe-mostlyclean-indent: mostlyclean-indent
22908 mostlyclean-indent:
22909 @: $(MAKE); $(unstage)
22910 @[ -f ./indent/Makefile ] || exit 0; \
22911 r=`${PWD_COMMAND}`; export r; \
22912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22913 $(HOST_EXPORTS) \
22914 for flag in $(EXTRA_HOST_FLAGS) ; do \
22915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22916 done; \
22917 echo "Doing mostlyclean in indent" ; \
22918 (cd $(HOST_SUBDIR)/indent && \
22919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22921 "RANLIB=$${RANLIB}" \
22922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22923 mostlyclean) \
22924 || exit 1
22926 @endif indent
22928 .PHONY: maybe-clean-indent clean-indent
22929 maybe-clean-indent:
22930 @if indent
22931 maybe-clean-indent: clean-indent
22933 clean-indent:
22934 @: $(MAKE); $(unstage)
22935 @[ -f ./indent/Makefile ] || exit 0; \
22936 r=`${PWD_COMMAND}`; export r; \
22937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22938 $(HOST_EXPORTS) \
22939 for flag in $(EXTRA_HOST_FLAGS) ; do \
22940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22941 done; \
22942 echo "Doing clean in indent" ; \
22943 (cd $(HOST_SUBDIR)/indent && \
22944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22946 "RANLIB=$${RANLIB}" \
22947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22948 clean) \
22949 || exit 1
22951 @endif indent
22953 .PHONY: maybe-distclean-indent distclean-indent
22954 maybe-distclean-indent:
22955 @if indent
22956 maybe-distclean-indent: distclean-indent
22958 distclean-indent:
22959 @: $(MAKE); $(unstage)
22960 @[ -f ./indent/Makefile ] || exit 0; \
22961 r=`${PWD_COMMAND}`; export r; \
22962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22963 $(HOST_EXPORTS) \
22964 for flag in $(EXTRA_HOST_FLAGS) ; do \
22965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22966 done; \
22967 echo "Doing distclean in indent" ; \
22968 (cd $(HOST_SUBDIR)/indent && \
22969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22971 "RANLIB=$${RANLIB}" \
22972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22973 distclean) \
22974 || exit 1
22976 @endif indent
22978 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
22979 maybe-maintainer-clean-indent:
22980 @if indent
22981 maybe-maintainer-clean-indent: maintainer-clean-indent
22983 maintainer-clean-indent:
22984 @: $(MAKE); $(unstage)
22985 @[ -f ./indent/Makefile ] || exit 0; \
22986 r=`${PWD_COMMAND}`; export r; \
22987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22988 $(HOST_EXPORTS) \
22989 for flag in $(EXTRA_HOST_FLAGS) ; do \
22990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22991 done; \
22992 echo "Doing maintainer-clean in indent" ; \
22993 (cd $(HOST_SUBDIR)/indent && \
22994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22996 "RANLIB=$${RANLIB}" \
22997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22998 maintainer-clean) \
22999 || exit 1
23001 @endif indent
23005 .PHONY: configure-intl maybe-configure-intl
23006 maybe-configure-intl:
23007 @if gcc-bootstrap
23008 configure-intl: stage_current
23009 @endif gcc-bootstrap
23010 @if intl
23011 maybe-configure-intl: configure-intl
23012 configure-intl:
23013 @r=`${PWD_COMMAND}`; export r; \
23014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23015 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23017 $(HOST_EXPORTS) \
23018 echo Configuring in $(HOST_SUBDIR)/intl; \
23019 cd "$(HOST_SUBDIR)/intl" || exit 1; \
23020 case $(srcdir) in \
23021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23022 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23024 esac; \
23025 srcdiroption="--srcdir=$${topdir}/intl"; \
23026 libsrcdir="$$s/intl"; \
23027 $(SHELL) $${libsrcdir}/configure \
23028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23029 --target=${target_alias} $${srcdiroption} \
23030 || exit 1
23031 @endif intl
23035 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
23036 maybe-configure-stage1-intl:
23037 @if intl-bootstrap
23038 maybe-configure-stage1-intl: configure-stage1-intl
23039 configure-stage1-intl:
23040 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23042 @r=`${PWD_COMMAND}`; export r; \
23043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23044 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23045 $(HOST_EXPORTS) \
23046 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23047 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
23048 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
23049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23050 cd $(HOST_SUBDIR)/intl || exit 1; \
23051 case $(srcdir) in \
23052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23053 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23055 esac; \
23056 srcdiroption="--srcdir=$${topdir}/intl"; \
23057 libsrcdir="$$s/intl"; \
23058 $(SHELL) $${libsrcdir}/configure \
23059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23060 --target=${target_alias} $${srcdiroption} \
23062 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
23063 @endif intl-bootstrap
23065 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
23066 maybe-configure-stage2-intl:
23067 @if intl-bootstrap
23068 maybe-configure-stage2-intl: configure-stage2-intl
23069 configure-stage2-intl:
23070 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23071 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23072 @r=`${PWD_COMMAND}`; export r; \
23073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23074 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23075 $(HOST_EXPORTS) \
23076 $(POSTSTAGE1_HOST_EXPORTS) \
23077 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23078 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
23079 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
23080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23081 cd $(HOST_SUBDIR)/intl || exit 1; \
23082 case $(srcdir) in \
23083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23084 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23086 esac; \
23087 srcdiroption="--srcdir=$${topdir}/intl"; \
23088 libsrcdir="$$s/intl"; \
23089 $(SHELL) $${libsrcdir}/configure \
23090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23091 --target=${target_alias} $${srcdiroption} \
23092 --with-build-libsubdir=$(HOST_SUBDIR) \
23093 @stage2_werror_flag@
23094 @endif intl-bootstrap
23096 .PHONY: configure-stageb2g0-intl maybe-configure-stageb2g0-intl
23097 maybe-configure-stageb2g0-intl:
23098 @if intl-bootstrap
23099 maybe-configure-stageb2g0-intl: configure-stageb2g0-intl
23100 configure-stageb2g0-intl:
23101 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
23102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23103 @r=`${PWD_COMMAND}`; export r; \
23104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23105 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23106 $(HOST_EXPORTS) \
23107 $(POSTSTAGE1_HOST_EXPORTS) \
23108 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
23109 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
23110 echo Configuring stage b2g0 in $(HOST_SUBDIR)/intl ; \
23111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23112 cd $(HOST_SUBDIR)/intl || exit 1; \
23113 case $(srcdir) in \
23114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23115 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23117 esac; \
23118 srcdiroption="--srcdir=$${topdir}/intl"; \
23119 libsrcdir="$$s/intl"; \
23120 $(SHELL) $${libsrcdir}/configure \
23121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23122 --target=${target_alias} $${srcdiroption} \
23123 --with-build-libsubdir=$(HOST_SUBDIR) \
23124 @stage2_werror_flag@
23125 @endif intl-bootstrap
23127 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
23128 maybe-configure-stage3-intl:
23129 @if intl-bootstrap
23130 maybe-configure-stage3-intl: configure-stage3-intl
23131 configure-stage3-intl:
23132 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23134 @r=`${PWD_COMMAND}`; export r; \
23135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23136 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23137 $(HOST_EXPORTS) \
23138 $(POSTSTAGE1_HOST_EXPORTS) \
23139 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23140 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
23141 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
23142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23143 cd $(HOST_SUBDIR)/intl || exit 1; \
23144 case $(srcdir) in \
23145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23146 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23148 esac; \
23149 srcdiroption="--srcdir=$${topdir}/intl"; \
23150 libsrcdir="$$s/intl"; \
23151 $(SHELL) $${libsrcdir}/configure \
23152 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23153 --target=${target_alias} $${srcdiroption} \
23154 --with-build-libsubdir=$(HOST_SUBDIR) \
23155 @stage2_werror_flag@
23156 @endif intl-bootstrap
23158 .PHONY: configure-stageb3g2-intl maybe-configure-stageb3g2-intl
23159 maybe-configure-stageb3g2-intl:
23160 @if intl-bootstrap
23161 maybe-configure-stageb3g2-intl: configure-stageb3g2-intl
23162 configure-stageb3g2-intl:
23163 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
23164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23165 @r=`${PWD_COMMAND}`; export r; \
23166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23167 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23168 $(HOST_EXPORTS) \
23169 $(POSTSTAGE1_HOST_EXPORTS) \
23170 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
23171 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
23172 echo Configuring stage b3g2 in $(HOST_SUBDIR)/intl ; \
23173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23174 cd $(HOST_SUBDIR)/intl || exit 1; \
23175 case $(srcdir) in \
23176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23177 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23179 esac; \
23180 srcdiroption="--srcdir=$${topdir}/intl"; \
23181 libsrcdir="$$s/intl"; \
23182 $(SHELL) $${libsrcdir}/configure \
23183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23184 --target=${target_alias} $${srcdiroption} \
23185 --with-build-libsubdir=$(HOST_SUBDIR) \
23186 @stage2_werror_flag@
23187 @endif intl-bootstrap
23189 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
23190 maybe-configure-stage4-intl:
23191 @if intl-bootstrap
23192 maybe-configure-stage4-intl: configure-stage4-intl
23193 configure-stage4-intl:
23194 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23196 @r=`${PWD_COMMAND}`; export r; \
23197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23198 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23199 $(HOST_EXPORTS) \
23200 $(POSTSTAGE1_HOST_EXPORTS) \
23201 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23202 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
23203 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
23204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23205 cd $(HOST_SUBDIR)/intl || exit 1; \
23206 case $(srcdir) in \
23207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23208 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23210 esac; \
23211 srcdiroption="--srcdir=$${topdir}/intl"; \
23212 libsrcdir="$$s/intl"; \
23213 $(SHELL) $${libsrcdir}/configure \
23214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23215 --target=${target_alias} $${srcdiroption} \
23216 --with-build-libsubdir=$(HOST_SUBDIR) \
23217 @stage2_werror_flag@
23218 @endif intl-bootstrap
23220 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
23221 maybe-configure-stageprofile-intl:
23222 @if intl-bootstrap
23223 maybe-configure-stageprofile-intl: configure-stageprofile-intl
23224 configure-stageprofile-intl:
23225 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23227 @r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23230 $(HOST_EXPORTS) \
23231 $(POSTSTAGE1_HOST_EXPORTS) \
23232 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
23233 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
23234 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
23235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23236 cd $(HOST_SUBDIR)/intl || exit 1; \
23237 case $(srcdir) in \
23238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23239 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23241 esac; \
23242 srcdiroption="--srcdir=$${topdir}/intl"; \
23243 libsrcdir="$$s/intl"; \
23244 $(SHELL) $${libsrcdir}/configure \
23245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23246 --target=${target_alias} $${srcdiroption} \
23247 --with-build-libsubdir=$(HOST_SUBDIR) \
23248 @stage2_werror_flag@
23249 @endif intl-bootstrap
23251 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
23252 maybe-configure-stagefeedback-intl:
23253 @if intl-bootstrap
23254 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
23255 configure-stagefeedback-intl:
23256 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23258 @r=`${PWD_COMMAND}`; export r; \
23259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23260 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23261 $(HOST_EXPORTS) \
23262 $(POSTSTAGE1_HOST_EXPORTS) \
23263 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
23264 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
23265 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
23266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23267 cd $(HOST_SUBDIR)/intl || exit 1; \
23268 case $(srcdir) in \
23269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23270 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23272 esac; \
23273 srcdiroption="--srcdir=$${topdir}/intl"; \
23274 libsrcdir="$$s/intl"; \
23275 $(SHELL) $${libsrcdir}/configure \
23276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23277 --target=${target_alias} $${srcdiroption} \
23278 --with-build-libsubdir=$(HOST_SUBDIR) \
23279 @stage2_werror_flag@
23280 @endif intl-bootstrap
23286 .PHONY: all-intl maybe-all-intl
23287 maybe-all-intl:
23288 @if gcc-bootstrap
23289 all-intl: stage_current
23290 @endif gcc-bootstrap
23291 @if intl
23292 TARGET-intl=all
23293 maybe-all-intl: all-intl
23294 all-intl: configure-intl
23295 @r=`${PWD_COMMAND}`; export r; \
23296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23297 $(HOST_EXPORTS) \
23298 (cd $(HOST_SUBDIR)/intl && \
23299 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23300 $(TARGET-intl))
23301 @endif intl
23305 .PHONY: all-stage1-intl maybe-all-stage1-intl
23306 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
23307 maybe-all-stage1-intl:
23308 maybe-clean-stage1-intl:
23309 @if intl-bootstrap
23310 maybe-all-stage1-intl: all-stage1-intl
23311 all-stage1: all-stage1-intl
23312 TARGET-stage1-intl = $(TARGET-intl)
23313 all-stage1-intl: configure-stage1-intl
23314 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23315 @r=`${PWD_COMMAND}`; export r; \
23316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 $(HOST_EXPORTS) \
23318 cd $(HOST_SUBDIR)/intl && \
23319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23320 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
23321 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
23322 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
23323 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
23324 $(TARGET-stage1-intl)
23326 maybe-clean-stage1-intl: clean-stage1-intl
23327 clean-stage1: clean-stage1-intl
23328 clean-stage1-intl:
23329 @if [ $(current_stage) = stage1 ]; then \
23330 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23331 else \
23332 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
23333 $(MAKE) stage1-start; \
23334 fi; \
23335 cd $(HOST_SUBDIR)/intl && \
23336 $(MAKE) $(EXTRA_HOST_FLAGS) \
23337 clean
23338 @endif intl-bootstrap
23341 .PHONY: all-stage2-intl maybe-all-stage2-intl
23342 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
23343 maybe-all-stage2-intl:
23344 maybe-clean-stage2-intl:
23345 @if intl-bootstrap
23346 maybe-all-stage2-intl: all-stage2-intl
23347 all-stage2: all-stage2-intl
23348 TARGET-stage2-intl = $(TARGET-intl)
23349 all-stage2-intl: configure-stage2-intl
23350 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23351 @r=`${PWD_COMMAND}`; export r; \
23352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23353 $(HOST_EXPORTS) \
23354 $(POSTSTAGE1_HOST_EXPORTS) \
23355 cd $(HOST_SUBDIR)/intl && \
23356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23357 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
23358 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
23359 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
23360 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23361 $(TARGET-stage2-intl)
23363 maybe-clean-stage2-intl: clean-stage2-intl
23364 clean-stage2: clean-stage2-intl
23365 clean-stage2-intl:
23366 @if [ $(current_stage) = stage2 ]; then \
23367 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23368 else \
23369 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
23370 $(MAKE) stage2-start; \
23371 fi; \
23372 cd $(HOST_SUBDIR)/intl && \
23373 $(MAKE) $(EXTRA_HOST_FLAGS) \
23374 $(POSTSTAGE1_FLAGS_TO_PASS) \
23375 clean
23376 @endif intl-bootstrap
23379 .PHONY: all-stageb2g0-intl maybe-all-stageb2g0-intl
23380 .PHONY: clean-stageb2g0-intl maybe-clean-stageb2g0-intl
23381 maybe-all-stageb2g0-intl:
23382 maybe-clean-stageb2g0-intl:
23383 @if intl-bootstrap
23384 maybe-all-stageb2g0-intl: all-stageb2g0-intl
23385 all-stageb2g0: all-stageb2g0-intl
23386 TARGET-stageb2g0-intl = $(TARGET-intl)
23387 all-stageb2g0-intl: configure-stageb2g0-intl
23388 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
23389 @r=`${PWD_COMMAND}`; export r; \
23390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23391 $(HOST_EXPORTS) \
23392 $(POSTSTAGE1_HOST_EXPORTS) \
23393 cd $(HOST_SUBDIR)/intl && \
23394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23395 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
23396 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
23397 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
23398 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23399 $(TARGET-stageb2g0-intl)
23401 maybe-clean-stageb2g0-intl: clean-stageb2g0-intl
23402 clean-stageb2g0: clean-stageb2g0-intl
23403 clean-stageb2g0-intl:
23404 @if [ $(current_stage) = stageb2g0 ]; then \
23405 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23406 else \
23407 [ -f $(HOST_SUBDIR)/stageb2g0-intl/Makefile ] || exit 0; \
23408 $(MAKE) stageb2g0-start; \
23409 fi; \
23410 cd $(HOST_SUBDIR)/intl && \
23411 $(MAKE) $(EXTRA_HOST_FLAGS) \
23412 $(POSTSTAGE1_FLAGS_TO_PASS) \
23413 clean
23414 @endif intl-bootstrap
23417 .PHONY: all-stage3-intl maybe-all-stage3-intl
23418 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
23419 maybe-all-stage3-intl:
23420 maybe-clean-stage3-intl:
23421 @if intl-bootstrap
23422 maybe-all-stage3-intl: all-stage3-intl
23423 all-stage3: all-stage3-intl
23424 TARGET-stage3-intl = $(TARGET-intl)
23425 all-stage3-intl: configure-stage3-intl
23426 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23427 @r=`${PWD_COMMAND}`; export r; \
23428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23429 $(HOST_EXPORTS) \
23430 $(POSTSTAGE1_HOST_EXPORTS) \
23431 cd $(HOST_SUBDIR)/intl && \
23432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23433 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
23434 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
23435 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
23436 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23437 $(TARGET-stage3-intl)
23439 maybe-clean-stage3-intl: clean-stage3-intl
23440 clean-stage3: clean-stage3-intl
23441 clean-stage3-intl:
23442 @if [ $(current_stage) = stage3 ]; then \
23443 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23444 else \
23445 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
23446 $(MAKE) stage3-start; \
23447 fi; \
23448 cd $(HOST_SUBDIR)/intl && \
23449 $(MAKE) $(EXTRA_HOST_FLAGS) \
23450 $(POSTSTAGE1_FLAGS_TO_PASS) \
23451 clean
23452 @endif intl-bootstrap
23455 .PHONY: all-stageb3g2-intl maybe-all-stageb3g2-intl
23456 .PHONY: clean-stageb3g2-intl maybe-clean-stageb3g2-intl
23457 maybe-all-stageb3g2-intl:
23458 maybe-clean-stageb3g2-intl:
23459 @if intl-bootstrap
23460 maybe-all-stageb3g2-intl: all-stageb3g2-intl
23461 all-stageb3g2: all-stageb3g2-intl
23462 TARGET-stageb3g2-intl = $(TARGET-intl)
23463 all-stageb3g2-intl: configure-stageb3g2-intl
23464 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
23465 @r=`${PWD_COMMAND}`; export r; \
23466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23467 $(HOST_EXPORTS) \
23468 $(POSTSTAGE1_HOST_EXPORTS) \
23469 cd $(HOST_SUBDIR)/intl && \
23470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23471 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
23472 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
23473 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
23474 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23475 $(TARGET-stageb3g2-intl)
23477 maybe-clean-stageb3g2-intl: clean-stageb3g2-intl
23478 clean-stageb3g2: clean-stageb3g2-intl
23479 clean-stageb3g2-intl:
23480 @if [ $(current_stage) = stageb3g2 ]; then \
23481 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23482 else \
23483 [ -f $(HOST_SUBDIR)/stageb3g2-intl/Makefile ] || exit 0; \
23484 $(MAKE) stageb3g2-start; \
23485 fi; \
23486 cd $(HOST_SUBDIR)/intl && \
23487 $(MAKE) $(EXTRA_HOST_FLAGS) \
23488 $(POSTSTAGE1_FLAGS_TO_PASS) \
23489 clean
23490 @endif intl-bootstrap
23493 .PHONY: all-stage4-intl maybe-all-stage4-intl
23494 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
23495 maybe-all-stage4-intl:
23496 maybe-clean-stage4-intl:
23497 @if intl-bootstrap
23498 maybe-all-stage4-intl: all-stage4-intl
23499 all-stage4: all-stage4-intl
23500 TARGET-stage4-intl = $(TARGET-intl)
23501 all-stage4-intl: configure-stage4-intl
23502 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23503 @r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23505 $(HOST_EXPORTS) \
23506 $(POSTSTAGE1_HOST_EXPORTS) \
23507 cd $(HOST_SUBDIR)/intl && \
23508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23509 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
23510 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23511 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
23512 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23513 $(TARGET-stage4-intl)
23515 maybe-clean-stage4-intl: clean-stage4-intl
23516 clean-stage4: clean-stage4-intl
23517 clean-stage4-intl:
23518 @if [ $(current_stage) = stage4 ]; then \
23519 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23520 else \
23521 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
23522 $(MAKE) stage4-start; \
23523 fi; \
23524 cd $(HOST_SUBDIR)/intl && \
23525 $(MAKE) $(EXTRA_HOST_FLAGS) \
23526 $(POSTSTAGE1_FLAGS_TO_PASS) \
23527 clean
23528 @endif intl-bootstrap
23531 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
23532 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
23533 maybe-all-stageprofile-intl:
23534 maybe-clean-stageprofile-intl:
23535 @if intl-bootstrap
23536 maybe-all-stageprofile-intl: all-stageprofile-intl
23537 all-stageprofile: all-stageprofile-intl
23538 TARGET-stageprofile-intl = $(TARGET-intl)
23539 all-stageprofile-intl: configure-stageprofile-intl
23540 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23541 @r=`${PWD_COMMAND}`; export r; \
23542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23543 $(HOST_EXPORTS) \
23544 $(POSTSTAGE1_HOST_EXPORTS) \
23545 cd $(HOST_SUBDIR)/intl && \
23546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23547 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
23548 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
23549 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
23550 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23551 $(TARGET-stageprofile-intl)
23553 maybe-clean-stageprofile-intl: clean-stageprofile-intl
23554 clean-stageprofile: clean-stageprofile-intl
23555 clean-stageprofile-intl:
23556 @if [ $(current_stage) = stageprofile ]; then \
23557 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23558 else \
23559 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
23560 $(MAKE) stageprofile-start; \
23561 fi; \
23562 cd $(HOST_SUBDIR)/intl && \
23563 $(MAKE) $(EXTRA_HOST_FLAGS) \
23564 $(POSTSTAGE1_FLAGS_TO_PASS) \
23565 clean
23566 @endif intl-bootstrap
23569 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
23570 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
23571 maybe-all-stagefeedback-intl:
23572 maybe-clean-stagefeedback-intl:
23573 @if intl-bootstrap
23574 maybe-all-stagefeedback-intl: all-stagefeedback-intl
23575 all-stagefeedback: all-stagefeedback-intl
23576 TARGET-stagefeedback-intl = $(TARGET-intl)
23577 all-stagefeedback-intl: configure-stagefeedback-intl
23578 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23579 @r=`${PWD_COMMAND}`; export r; \
23580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23581 $(HOST_EXPORTS) \
23582 $(POSTSTAGE1_HOST_EXPORTS) \
23583 cd $(HOST_SUBDIR)/intl && \
23584 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23585 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
23586 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
23587 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
23588 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23589 $(TARGET-stagefeedback-intl)
23591 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
23592 clean-stagefeedback: clean-stagefeedback-intl
23593 clean-stagefeedback-intl:
23594 @if [ $(current_stage) = stagefeedback ]; then \
23595 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23596 else \
23597 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
23598 $(MAKE) stagefeedback-start; \
23599 fi; \
23600 cd $(HOST_SUBDIR)/intl && \
23601 $(MAKE) $(EXTRA_HOST_FLAGS) \
23602 $(POSTSTAGE1_FLAGS_TO_PASS) \
23603 clean
23604 @endif intl-bootstrap
23610 .PHONY: check-intl maybe-check-intl
23611 maybe-check-intl:
23612 @if intl
23613 maybe-check-intl: check-intl
23615 check-intl:
23616 @: $(MAKE); $(unstage)
23617 @r=`${PWD_COMMAND}`; export r; \
23618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23619 $(HOST_EXPORTS) \
23620 (cd $(HOST_SUBDIR)/intl && \
23621 $(MAKE) $(FLAGS_TO_PASS) check)
23623 @endif intl
23625 .PHONY: install-intl maybe-install-intl
23626 maybe-install-intl:
23627 @if intl
23628 maybe-install-intl: install-intl
23630 install-intl: installdirs
23631 @: $(MAKE); $(unstage)
23632 @r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(HOST_EXPORTS) \
23635 (cd $(HOST_SUBDIR)/intl && \
23636 $(MAKE) $(FLAGS_TO_PASS) install)
23638 @endif intl
23640 # Other targets (info, dvi, pdf, etc.)
23642 .PHONY: maybe-info-intl info-intl
23643 maybe-info-intl:
23644 @if intl
23645 maybe-info-intl: info-intl
23647 info-intl: \
23648 configure-intl
23649 @[ -f ./intl/Makefile ] || exit 0; \
23650 r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23652 $(HOST_EXPORTS) \
23653 for flag in $(EXTRA_HOST_FLAGS) ; do \
23654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23655 done; \
23656 echo "Doing info in intl" ; \
23657 (cd $(HOST_SUBDIR)/intl && \
23658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23660 "RANLIB=$${RANLIB}" \
23661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23662 info) \
23663 || exit 1
23665 @endif intl
23667 .PHONY: maybe-dvi-intl dvi-intl
23668 maybe-dvi-intl:
23669 @if intl
23670 maybe-dvi-intl: dvi-intl
23672 dvi-intl: \
23673 configure-intl
23674 @[ -f ./intl/Makefile ] || exit 0; \
23675 r=`${PWD_COMMAND}`; export r; \
23676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23677 $(HOST_EXPORTS) \
23678 for flag in $(EXTRA_HOST_FLAGS) ; do \
23679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23680 done; \
23681 echo "Doing dvi in intl" ; \
23682 (cd $(HOST_SUBDIR)/intl && \
23683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23685 "RANLIB=$${RANLIB}" \
23686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23687 dvi) \
23688 || exit 1
23690 @endif intl
23692 .PHONY: maybe-pdf-intl pdf-intl
23693 maybe-pdf-intl:
23694 @if intl
23695 maybe-pdf-intl: pdf-intl
23697 pdf-intl: \
23698 configure-intl
23699 @[ -f ./intl/Makefile ] || exit 0; \
23700 r=`${PWD_COMMAND}`; export r; \
23701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23702 $(HOST_EXPORTS) \
23703 for flag in $(EXTRA_HOST_FLAGS) ; do \
23704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23705 done; \
23706 echo "Doing pdf in intl" ; \
23707 (cd $(HOST_SUBDIR)/intl && \
23708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23710 "RANLIB=$${RANLIB}" \
23711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23712 pdf) \
23713 || exit 1
23715 @endif intl
23717 .PHONY: maybe-html-intl html-intl
23718 maybe-html-intl:
23719 @if intl
23720 maybe-html-intl: html-intl
23722 html-intl: \
23723 configure-intl
23724 @[ -f ./intl/Makefile ] || exit 0; \
23725 r=`${PWD_COMMAND}`; export r; \
23726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23727 $(HOST_EXPORTS) \
23728 for flag in $(EXTRA_HOST_FLAGS) ; do \
23729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23730 done; \
23731 echo "Doing html in intl" ; \
23732 (cd $(HOST_SUBDIR)/intl && \
23733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23735 "RANLIB=$${RANLIB}" \
23736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23737 html) \
23738 || exit 1
23740 @endif intl
23742 .PHONY: maybe-TAGS-intl TAGS-intl
23743 maybe-TAGS-intl:
23744 @if intl
23745 maybe-TAGS-intl: TAGS-intl
23747 TAGS-intl: \
23748 configure-intl
23749 @[ -f ./intl/Makefile ] || exit 0; \
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23752 $(HOST_EXPORTS) \
23753 for flag in $(EXTRA_HOST_FLAGS) ; do \
23754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23755 done; \
23756 echo "Doing TAGS in intl" ; \
23757 (cd $(HOST_SUBDIR)/intl && \
23758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23760 "RANLIB=$${RANLIB}" \
23761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23762 TAGS) \
23763 || exit 1
23765 @endif intl
23767 .PHONY: maybe-install-info-intl install-info-intl
23768 maybe-install-info-intl:
23769 @if intl
23770 maybe-install-info-intl: install-info-intl
23772 install-info-intl: \
23773 configure-intl \
23774 info-intl
23775 @[ -f ./intl/Makefile ] || exit 0; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778 $(HOST_EXPORTS) \
23779 for flag in $(EXTRA_HOST_FLAGS) ; do \
23780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23781 done; \
23782 echo "Doing install-info in intl" ; \
23783 (cd $(HOST_SUBDIR)/intl && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23788 install-info) \
23789 || exit 1
23791 @endif intl
23793 .PHONY: maybe-install-pdf-intl install-pdf-intl
23794 maybe-install-pdf-intl:
23795 @if intl
23796 maybe-install-pdf-intl: install-pdf-intl
23798 install-pdf-intl: \
23799 configure-intl \
23800 pdf-intl
23801 @[ -f ./intl/Makefile ] || exit 0; \
23802 r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23804 $(HOST_EXPORTS) \
23805 for flag in $(EXTRA_HOST_FLAGS) ; do \
23806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23807 done; \
23808 echo "Doing install-pdf in intl" ; \
23809 (cd $(HOST_SUBDIR)/intl && \
23810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23812 "RANLIB=$${RANLIB}" \
23813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23814 install-pdf) \
23815 || exit 1
23817 @endif intl
23819 .PHONY: maybe-install-html-intl install-html-intl
23820 maybe-install-html-intl:
23821 @if intl
23822 maybe-install-html-intl: install-html-intl
23824 install-html-intl: \
23825 configure-intl \
23826 html-intl
23827 @[ -f ./intl/Makefile ] || exit 0; \
23828 r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23830 $(HOST_EXPORTS) \
23831 for flag in $(EXTRA_HOST_FLAGS) ; do \
23832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23833 done; \
23834 echo "Doing install-html in intl" ; \
23835 (cd $(HOST_SUBDIR)/intl && \
23836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23838 "RANLIB=$${RANLIB}" \
23839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23840 install-html) \
23841 || exit 1
23843 @endif intl
23845 .PHONY: maybe-installcheck-intl installcheck-intl
23846 maybe-installcheck-intl:
23847 @if intl
23848 maybe-installcheck-intl: installcheck-intl
23850 installcheck-intl: \
23851 configure-intl
23852 @[ -f ./intl/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 installcheck in intl" ; \
23860 (cd $(HOST_SUBDIR)/intl && \
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}" "WINDMC=$${WINDMC}" \
23865 installcheck) \
23866 || exit 1
23868 @endif intl
23870 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
23871 maybe-mostlyclean-intl:
23872 @if intl
23873 maybe-mostlyclean-intl: mostlyclean-intl
23875 mostlyclean-intl:
23876 @[ -f ./intl/Makefile ] || exit 0; \
23877 r=`${PWD_COMMAND}`; export r; \
23878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23879 $(HOST_EXPORTS) \
23880 for flag in $(EXTRA_HOST_FLAGS) ; do \
23881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23882 done; \
23883 echo "Doing mostlyclean in intl" ; \
23884 (cd $(HOST_SUBDIR)/intl && \
23885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23887 "RANLIB=$${RANLIB}" \
23888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23889 mostlyclean) \
23890 || exit 1
23892 @endif intl
23894 .PHONY: maybe-clean-intl clean-intl
23895 maybe-clean-intl:
23896 @if intl
23897 maybe-clean-intl: clean-intl
23899 clean-intl:
23900 @[ -f ./intl/Makefile ] || exit 0; \
23901 r=`${PWD_COMMAND}`; export r; \
23902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23903 $(HOST_EXPORTS) \
23904 for flag in $(EXTRA_HOST_FLAGS) ; do \
23905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23906 done; \
23907 echo "Doing clean in intl" ; \
23908 (cd $(HOST_SUBDIR)/intl && \
23909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23911 "RANLIB=$${RANLIB}" \
23912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23913 clean) \
23914 || exit 1
23916 @endif intl
23918 .PHONY: maybe-distclean-intl distclean-intl
23919 maybe-distclean-intl:
23920 @if intl
23921 maybe-distclean-intl: distclean-intl
23923 distclean-intl:
23924 @[ -f ./intl/Makefile ] || exit 0; \
23925 r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23927 $(HOST_EXPORTS) \
23928 for flag in $(EXTRA_HOST_FLAGS) ; do \
23929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23930 done; \
23931 echo "Doing distclean in intl" ; \
23932 (cd $(HOST_SUBDIR)/intl && \
23933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23935 "RANLIB=$${RANLIB}" \
23936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23937 distclean) \
23938 || exit 1
23940 @endif intl
23942 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
23943 maybe-maintainer-clean-intl:
23944 @if intl
23945 maybe-maintainer-clean-intl: maintainer-clean-intl
23947 maintainer-clean-intl:
23948 @[ -f ./intl/Makefile ] || exit 0; \
23949 r=`${PWD_COMMAND}`; export r; \
23950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23951 $(HOST_EXPORTS) \
23952 for flag in $(EXTRA_HOST_FLAGS) ; do \
23953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23954 done; \
23955 echo "Doing maintainer-clean in intl" ; \
23956 (cd $(HOST_SUBDIR)/intl && \
23957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23959 "RANLIB=$${RANLIB}" \
23960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23961 maintainer-clean) \
23962 || exit 1
23964 @endif intl
23968 .PHONY: configure-tcl maybe-configure-tcl
23969 maybe-configure-tcl:
23970 @if gcc-bootstrap
23971 configure-tcl: stage_current
23972 @endif gcc-bootstrap
23973 @if tcl
23974 maybe-configure-tcl: configure-tcl
23975 configure-tcl:
23976 @: $(MAKE); $(unstage)
23977 @r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
23980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
23981 $(HOST_EXPORTS) \
23982 echo Configuring in $(HOST_SUBDIR)/tcl; \
23983 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
23984 case $(srcdir) in \
23985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23986 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
23987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23988 esac; \
23989 srcdiroption="--srcdir=$${topdir}/tcl"; \
23990 libsrcdir="$$s/tcl"; \
23991 $(SHELL) $${libsrcdir}/configure \
23992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23993 --target=${target_alias} $${srcdiroption} \
23994 || exit 1
23995 @endif tcl
24001 .PHONY: all-tcl maybe-all-tcl
24002 maybe-all-tcl:
24003 @if gcc-bootstrap
24004 all-tcl: stage_current
24005 @endif gcc-bootstrap
24006 @if tcl
24007 TARGET-tcl=all
24008 maybe-all-tcl: all-tcl
24009 all-tcl: configure-tcl
24010 @: $(MAKE); $(unstage)
24011 @r=`${PWD_COMMAND}`; export r; \
24012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24013 $(HOST_EXPORTS) \
24014 (cd $(HOST_SUBDIR)/tcl && \
24015 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24016 $(TARGET-tcl))
24017 @endif tcl
24022 .PHONY: check-tcl maybe-check-tcl
24023 maybe-check-tcl:
24024 @if tcl
24025 maybe-check-tcl: check-tcl
24027 check-tcl:
24028 @: $(MAKE); $(unstage)
24029 @r=`${PWD_COMMAND}`; export r; \
24030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24031 $(HOST_EXPORTS) \
24032 (cd $(HOST_SUBDIR)/tcl && \
24033 $(MAKE) $(FLAGS_TO_PASS) check)
24035 @endif tcl
24037 .PHONY: install-tcl maybe-install-tcl
24038 maybe-install-tcl:
24039 @if tcl
24040 maybe-install-tcl: install-tcl
24042 install-tcl: installdirs
24043 @: $(MAKE); $(unstage)
24044 @r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 (cd $(HOST_SUBDIR)/tcl && \
24048 $(MAKE) $(FLAGS_TO_PASS) install)
24050 @endif tcl
24052 # Other targets (info, dvi, pdf, etc.)
24054 .PHONY: maybe-info-tcl info-tcl
24055 maybe-info-tcl:
24056 @if tcl
24057 maybe-info-tcl: info-tcl
24059 info-tcl: \
24060 configure-tcl
24061 @: $(MAKE); $(unstage)
24062 @[ -f ./tcl/Makefile ] || exit 0; \
24063 r=`${PWD_COMMAND}`; export r; \
24064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24065 $(HOST_EXPORTS) \
24066 for flag in $(EXTRA_HOST_FLAGS) ; do \
24067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24068 done; \
24069 echo "Doing info in tcl" ; \
24070 (cd $(HOST_SUBDIR)/tcl && \
24071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24073 "RANLIB=$${RANLIB}" \
24074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24075 info) \
24076 || exit 1
24078 @endif tcl
24080 .PHONY: maybe-dvi-tcl dvi-tcl
24081 maybe-dvi-tcl:
24082 @if tcl
24083 maybe-dvi-tcl: dvi-tcl
24085 dvi-tcl: \
24086 configure-tcl
24087 @: $(MAKE); $(unstage)
24088 @[ -f ./tcl/Makefile ] || exit 0; \
24089 r=`${PWD_COMMAND}`; export r; \
24090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24091 $(HOST_EXPORTS) \
24092 for flag in $(EXTRA_HOST_FLAGS) ; do \
24093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24094 done; \
24095 echo "Doing dvi in tcl" ; \
24096 (cd $(HOST_SUBDIR)/tcl && \
24097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24099 "RANLIB=$${RANLIB}" \
24100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24101 dvi) \
24102 || exit 1
24104 @endif tcl
24106 .PHONY: maybe-pdf-tcl pdf-tcl
24107 maybe-pdf-tcl:
24108 @if tcl
24109 maybe-pdf-tcl: pdf-tcl
24111 pdf-tcl: \
24112 configure-tcl
24113 @: $(MAKE); $(unstage)
24114 @[ -f ./tcl/Makefile ] || exit 0; \
24115 r=`${PWD_COMMAND}`; export r; \
24116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24117 $(HOST_EXPORTS) \
24118 for flag in $(EXTRA_HOST_FLAGS) ; do \
24119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24120 done; \
24121 echo "Doing pdf in tcl" ; \
24122 (cd $(HOST_SUBDIR)/tcl && \
24123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24125 "RANLIB=$${RANLIB}" \
24126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24127 pdf) \
24128 || exit 1
24130 @endif tcl
24132 .PHONY: maybe-html-tcl html-tcl
24133 maybe-html-tcl:
24134 @if tcl
24135 maybe-html-tcl: html-tcl
24137 html-tcl: \
24138 configure-tcl
24139 @: $(MAKE); $(unstage)
24140 @[ -f ./tcl/Makefile ] || exit 0; \
24141 r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 $(HOST_EXPORTS) \
24144 for flag in $(EXTRA_HOST_FLAGS) ; do \
24145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24146 done; \
24147 echo "Doing html in tcl" ; \
24148 (cd $(HOST_SUBDIR)/tcl && \
24149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24151 "RANLIB=$${RANLIB}" \
24152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24153 html) \
24154 || exit 1
24156 @endif tcl
24158 .PHONY: maybe-TAGS-tcl TAGS-tcl
24159 maybe-TAGS-tcl:
24160 @if tcl
24161 maybe-TAGS-tcl: TAGS-tcl
24163 TAGS-tcl: \
24164 configure-tcl
24165 @: $(MAKE); $(unstage)
24166 @[ -f ./tcl/Makefile ] || exit 0; \
24167 r=`${PWD_COMMAND}`; export r; \
24168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24169 $(HOST_EXPORTS) \
24170 for flag in $(EXTRA_HOST_FLAGS) ; do \
24171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24172 done; \
24173 echo "Doing TAGS in tcl" ; \
24174 (cd $(HOST_SUBDIR)/tcl && \
24175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24177 "RANLIB=$${RANLIB}" \
24178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24179 TAGS) \
24180 || exit 1
24182 @endif tcl
24184 .PHONY: maybe-install-info-tcl install-info-tcl
24185 maybe-install-info-tcl:
24186 @if tcl
24187 maybe-install-info-tcl: install-info-tcl
24189 install-info-tcl: \
24190 configure-tcl \
24191 info-tcl
24192 @: $(MAKE); $(unstage)
24193 @[ -f ./tcl/Makefile ] || exit 0; \
24194 r=`${PWD_COMMAND}`; export r; \
24195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24196 $(HOST_EXPORTS) \
24197 for flag in $(EXTRA_HOST_FLAGS) ; do \
24198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24199 done; \
24200 echo "Doing install-info in tcl" ; \
24201 (cd $(HOST_SUBDIR)/tcl && \
24202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24204 "RANLIB=$${RANLIB}" \
24205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24206 install-info) \
24207 || exit 1
24209 @endif tcl
24211 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
24212 maybe-install-pdf-tcl:
24213 @if tcl
24214 maybe-install-pdf-tcl: install-pdf-tcl
24216 install-pdf-tcl: \
24217 configure-tcl \
24218 pdf-tcl
24219 @: $(MAKE); $(unstage)
24220 @[ -f ./tcl/Makefile ] || exit 0; \
24221 r=`${PWD_COMMAND}`; export r; \
24222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24223 $(HOST_EXPORTS) \
24224 for flag in $(EXTRA_HOST_FLAGS) ; do \
24225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24226 done; \
24227 echo "Doing install-pdf in tcl" ; \
24228 (cd $(HOST_SUBDIR)/tcl && \
24229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24231 "RANLIB=$${RANLIB}" \
24232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24233 install-pdf) \
24234 || exit 1
24236 @endif tcl
24238 .PHONY: maybe-install-html-tcl install-html-tcl
24239 maybe-install-html-tcl:
24240 @if tcl
24241 maybe-install-html-tcl: install-html-tcl
24243 install-html-tcl: \
24244 configure-tcl \
24245 html-tcl
24246 @: $(MAKE); $(unstage)
24247 @[ -f ./tcl/Makefile ] || exit 0; \
24248 r=`${PWD_COMMAND}`; export r; \
24249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24250 $(HOST_EXPORTS) \
24251 for flag in $(EXTRA_HOST_FLAGS) ; do \
24252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24253 done; \
24254 echo "Doing install-html in tcl" ; \
24255 (cd $(HOST_SUBDIR)/tcl && \
24256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24258 "RANLIB=$${RANLIB}" \
24259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24260 install-html) \
24261 || exit 1
24263 @endif tcl
24265 .PHONY: maybe-installcheck-tcl installcheck-tcl
24266 maybe-installcheck-tcl:
24267 @if tcl
24268 maybe-installcheck-tcl: installcheck-tcl
24270 installcheck-tcl: \
24271 configure-tcl
24272 @: $(MAKE); $(unstage)
24273 @[ -f ./tcl/Makefile ] || exit 0; \
24274 r=`${PWD_COMMAND}`; export r; \
24275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24276 $(HOST_EXPORTS) \
24277 for flag in $(EXTRA_HOST_FLAGS) ; do \
24278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24279 done; \
24280 echo "Doing installcheck in tcl" ; \
24281 (cd $(HOST_SUBDIR)/tcl && \
24282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24284 "RANLIB=$${RANLIB}" \
24285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24286 installcheck) \
24287 || exit 1
24289 @endif tcl
24291 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
24292 maybe-mostlyclean-tcl:
24293 @if tcl
24294 maybe-mostlyclean-tcl: mostlyclean-tcl
24296 # tcl doesn't support mostlyclean.
24297 mostlyclean-tcl:
24299 @endif tcl
24301 .PHONY: maybe-clean-tcl clean-tcl
24302 maybe-clean-tcl:
24303 @if tcl
24304 maybe-clean-tcl: clean-tcl
24306 clean-tcl:
24307 @: $(MAKE); $(unstage)
24308 @[ -f ./tcl/Makefile ] || exit 0; \
24309 r=`${PWD_COMMAND}`; export r; \
24310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24311 $(HOST_EXPORTS) \
24312 for flag in $(EXTRA_HOST_FLAGS) ; do \
24313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24314 done; \
24315 echo "Doing clean in tcl" ; \
24316 (cd $(HOST_SUBDIR)/tcl && \
24317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24319 "RANLIB=$${RANLIB}" \
24320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24321 clean) \
24322 || exit 1
24324 @endif tcl
24326 .PHONY: maybe-distclean-tcl distclean-tcl
24327 maybe-distclean-tcl:
24328 @if tcl
24329 maybe-distclean-tcl: distclean-tcl
24331 distclean-tcl:
24332 @: $(MAKE); $(unstage)
24333 @[ -f ./tcl/Makefile ] || exit 0; \
24334 r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 $(HOST_EXPORTS) \
24337 for flag in $(EXTRA_HOST_FLAGS) ; do \
24338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24339 done; \
24340 echo "Doing distclean in tcl" ; \
24341 (cd $(HOST_SUBDIR)/tcl && \
24342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24344 "RANLIB=$${RANLIB}" \
24345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24346 distclean) \
24347 || exit 1
24349 @endif tcl
24351 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
24352 maybe-maintainer-clean-tcl:
24353 @if tcl
24354 maybe-maintainer-clean-tcl: maintainer-clean-tcl
24356 maintainer-clean-tcl:
24357 @: $(MAKE); $(unstage)
24358 @[ -f ./tcl/Makefile ] || exit 0; \
24359 r=`${PWD_COMMAND}`; export r; \
24360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24361 $(HOST_EXPORTS) \
24362 for flag in $(EXTRA_HOST_FLAGS) ; do \
24363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24364 done; \
24365 echo "Doing maintainer-clean in tcl" ; \
24366 (cd $(HOST_SUBDIR)/tcl && \
24367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24369 "RANLIB=$${RANLIB}" \
24370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24371 maintainer-clean) \
24372 || exit 1
24374 @endif tcl
24378 .PHONY: configure-itcl maybe-configure-itcl
24379 maybe-configure-itcl:
24380 @if gcc-bootstrap
24381 configure-itcl: stage_current
24382 @endif gcc-bootstrap
24383 @if itcl
24384 maybe-configure-itcl: configure-itcl
24385 configure-itcl:
24386 @: $(MAKE); $(unstage)
24387 @r=`${PWD_COMMAND}`; export r; \
24388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24389 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
24390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
24391 $(HOST_EXPORTS) \
24392 echo Configuring in $(HOST_SUBDIR)/itcl; \
24393 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
24394 case $(srcdir) in \
24395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24396 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
24397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24398 esac; \
24399 srcdiroption="--srcdir=$${topdir}/itcl"; \
24400 libsrcdir="$$s/itcl"; \
24401 $(SHELL) $${libsrcdir}/configure \
24402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24403 --target=${target_alias} $${srcdiroption} \
24404 || exit 1
24405 @endif itcl
24411 .PHONY: all-itcl maybe-all-itcl
24412 maybe-all-itcl:
24413 @if gcc-bootstrap
24414 all-itcl: stage_current
24415 @endif gcc-bootstrap
24416 @if itcl
24417 TARGET-itcl=all
24418 maybe-all-itcl: all-itcl
24419 all-itcl: configure-itcl
24420 @: $(MAKE); $(unstage)
24421 @r=`${PWD_COMMAND}`; export r; \
24422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24423 $(HOST_EXPORTS) \
24424 (cd $(HOST_SUBDIR)/itcl && \
24425 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24426 $(TARGET-itcl))
24427 @endif itcl
24432 .PHONY: check-itcl maybe-check-itcl
24433 maybe-check-itcl:
24434 @if itcl
24435 maybe-check-itcl: check-itcl
24437 check-itcl:
24438 @: $(MAKE); $(unstage)
24439 @r=`${PWD_COMMAND}`; export r; \
24440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24441 $(HOST_EXPORTS) \
24442 (cd $(HOST_SUBDIR)/itcl && \
24443 $(MAKE) $(FLAGS_TO_PASS) check)
24445 @endif itcl
24447 .PHONY: install-itcl maybe-install-itcl
24448 maybe-install-itcl:
24449 @if itcl
24450 maybe-install-itcl: install-itcl
24452 install-itcl: installdirs
24453 @: $(MAKE); $(unstage)
24454 @r=`${PWD_COMMAND}`; export r; \
24455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24456 $(HOST_EXPORTS) \
24457 (cd $(HOST_SUBDIR)/itcl && \
24458 $(MAKE) $(FLAGS_TO_PASS) install)
24460 @endif itcl
24462 # Other targets (info, dvi, pdf, etc.)
24464 .PHONY: maybe-info-itcl info-itcl
24465 maybe-info-itcl:
24466 @if itcl
24467 maybe-info-itcl: info-itcl
24469 info-itcl: \
24470 configure-itcl
24471 @: $(MAKE); $(unstage)
24472 @[ -f ./itcl/Makefile ] || exit 0; \
24473 r=`${PWD_COMMAND}`; export r; \
24474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24475 $(HOST_EXPORTS) \
24476 for flag in $(EXTRA_HOST_FLAGS) ; do \
24477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24478 done; \
24479 echo "Doing info in itcl" ; \
24480 (cd $(HOST_SUBDIR)/itcl && \
24481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24483 "RANLIB=$${RANLIB}" \
24484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24485 info) \
24486 || exit 1
24488 @endif itcl
24490 .PHONY: maybe-dvi-itcl dvi-itcl
24491 maybe-dvi-itcl:
24492 @if itcl
24493 maybe-dvi-itcl: dvi-itcl
24495 dvi-itcl: \
24496 configure-itcl
24497 @: $(MAKE); $(unstage)
24498 @[ -f ./itcl/Makefile ] || exit 0; \
24499 r=`${PWD_COMMAND}`; export r; \
24500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24501 $(HOST_EXPORTS) \
24502 for flag in $(EXTRA_HOST_FLAGS) ; do \
24503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24504 done; \
24505 echo "Doing dvi in itcl" ; \
24506 (cd $(HOST_SUBDIR)/itcl && \
24507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24509 "RANLIB=$${RANLIB}" \
24510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24511 dvi) \
24512 || exit 1
24514 @endif itcl
24516 .PHONY: maybe-pdf-itcl pdf-itcl
24517 maybe-pdf-itcl:
24518 @if itcl
24519 maybe-pdf-itcl: pdf-itcl
24521 pdf-itcl: \
24522 configure-itcl
24523 @: $(MAKE); $(unstage)
24524 @[ -f ./itcl/Makefile ] || exit 0; \
24525 r=`${PWD_COMMAND}`; export r; \
24526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24527 $(HOST_EXPORTS) \
24528 for flag in $(EXTRA_HOST_FLAGS) ; do \
24529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24530 done; \
24531 echo "Doing pdf in itcl" ; \
24532 (cd $(HOST_SUBDIR)/itcl && \
24533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24535 "RANLIB=$${RANLIB}" \
24536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24537 pdf) \
24538 || exit 1
24540 @endif itcl
24542 .PHONY: maybe-html-itcl html-itcl
24543 maybe-html-itcl:
24544 @if itcl
24545 maybe-html-itcl: html-itcl
24547 html-itcl: \
24548 configure-itcl
24549 @: $(MAKE); $(unstage)
24550 @[ -f ./itcl/Makefile ] || exit 0; \
24551 r=`${PWD_COMMAND}`; export r; \
24552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24553 $(HOST_EXPORTS) \
24554 for flag in $(EXTRA_HOST_FLAGS) ; do \
24555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24556 done; \
24557 echo "Doing html in itcl" ; \
24558 (cd $(HOST_SUBDIR)/itcl && \
24559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24561 "RANLIB=$${RANLIB}" \
24562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24563 html) \
24564 || exit 1
24566 @endif itcl
24568 .PHONY: maybe-TAGS-itcl TAGS-itcl
24569 maybe-TAGS-itcl:
24570 @if itcl
24571 maybe-TAGS-itcl: TAGS-itcl
24573 TAGS-itcl: \
24574 configure-itcl
24575 @: $(MAKE); $(unstage)
24576 @[ -f ./itcl/Makefile ] || exit 0; \
24577 r=`${PWD_COMMAND}`; export r; \
24578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24579 $(HOST_EXPORTS) \
24580 for flag in $(EXTRA_HOST_FLAGS) ; do \
24581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24582 done; \
24583 echo "Doing TAGS in itcl" ; \
24584 (cd $(HOST_SUBDIR)/itcl && \
24585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24587 "RANLIB=$${RANLIB}" \
24588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24589 TAGS) \
24590 || exit 1
24592 @endif itcl
24594 .PHONY: maybe-install-info-itcl install-info-itcl
24595 maybe-install-info-itcl:
24596 @if itcl
24597 maybe-install-info-itcl: install-info-itcl
24599 install-info-itcl: \
24600 configure-itcl \
24601 info-itcl
24602 @: $(MAKE); $(unstage)
24603 @[ -f ./itcl/Makefile ] || exit 0; \
24604 r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 $(HOST_EXPORTS) \
24607 for flag in $(EXTRA_HOST_FLAGS) ; do \
24608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24609 done; \
24610 echo "Doing install-info in itcl" ; \
24611 (cd $(HOST_SUBDIR)/itcl && \
24612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24614 "RANLIB=$${RANLIB}" \
24615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24616 install-info) \
24617 || exit 1
24619 @endif itcl
24621 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
24622 maybe-install-pdf-itcl:
24623 @if itcl
24624 maybe-install-pdf-itcl: install-pdf-itcl
24626 install-pdf-itcl: \
24627 configure-itcl \
24628 pdf-itcl
24629 @: $(MAKE); $(unstage)
24630 @[ -f ./itcl/Makefile ] || exit 0; \
24631 r=`${PWD_COMMAND}`; export r; \
24632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24633 $(HOST_EXPORTS) \
24634 for flag in $(EXTRA_HOST_FLAGS) ; do \
24635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24636 done; \
24637 echo "Doing install-pdf in itcl" ; \
24638 (cd $(HOST_SUBDIR)/itcl && \
24639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24641 "RANLIB=$${RANLIB}" \
24642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24643 install-pdf) \
24644 || exit 1
24646 @endif itcl
24648 .PHONY: maybe-install-html-itcl install-html-itcl
24649 maybe-install-html-itcl:
24650 @if itcl
24651 maybe-install-html-itcl: install-html-itcl
24653 install-html-itcl: \
24654 configure-itcl \
24655 html-itcl
24656 @: $(MAKE); $(unstage)
24657 @[ -f ./itcl/Makefile ] || exit 0; \
24658 r=`${PWD_COMMAND}`; export r; \
24659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24660 $(HOST_EXPORTS) \
24661 for flag in $(EXTRA_HOST_FLAGS) ; do \
24662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24663 done; \
24664 echo "Doing install-html in itcl" ; \
24665 (cd $(HOST_SUBDIR)/itcl && \
24666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24668 "RANLIB=$${RANLIB}" \
24669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24670 install-html) \
24671 || exit 1
24673 @endif itcl
24675 .PHONY: maybe-installcheck-itcl installcheck-itcl
24676 maybe-installcheck-itcl:
24677 @if itcl
24678 maybe-installcheck-itcl: installcheck-itcl
24680 installcheck-itcl: \
24681 configure-itcl
24682 @: $(MAKE); $(unstage)
24683 @[ -f ./itcl/Makefile ] || exit 0; \
24684 r=`${PWD_COMMAND}`; export r; \
24685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24686 $(HOST_EXPORTS) \
24687 for flag in $(EXTRA_HOST_FLAGS) ; do \
24688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24689 done; \
24690 echo "Doing installcheck in itcl" ; \
24691 (cd $(HOST_SUBDIR)/itcl && \
24692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24694 "RANLIB=$${RANLIB}" \
24695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24696 installcheck) \
24697 || exit 1
24699 @endif itcl
24701 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
24702 maybe-mostlyclean-itcl:
24703 @if itcl
24704 maybe-mostlyclean-itcl: mostlyclean-itcl
24706 mostlyclean-itcl:
24707 @: $(MAKE); $(unstage)
24708 @[ -f ./itcl/Makefile ] || exit 0; \
24709 r=`${PWD_COMMAND}`; export r; \
24710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24711 $(HOST_EXPORTS) \
24712 for flag in $(EXTRA_HOST_FLAGS) ; do \
24713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24714 done; \
24715 echo "Doing mostlyclean in itcl" ; \
24716 (cd $(HOST_SUBDIR)/itcl && \
24717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24719 "RANLIB=$${RANLIB}" \
24720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24721 mostlyclean) \
24722 || exit 1
24724 @endif itcl
24726 .PHONY: maybe-clean-itcl clean-itcl
24727 maybe-clean-itcl:
24728 @if itcl
24729 maybe-clean-itcl: clean-itcl
24731 clean-itcl:
24732 @: $(MAKE); $(unstage)
24733 @[ -f ./itcl/Makefile ] || exit 0; \
24734 r=`${PWD_COMMAND}`; export r; \
24735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736 $(HOST_EXPORTS) \
24737 for flag in $(EXTRA_HOST_FLAGS) ; do \
24738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24739 done; \
24740 echo "Doing clean in itcl" ; \
24741 (cd $(HOST_SUBDIR)/itcl && \
24742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24744 "RANLIB=$${RANLIB}" \
24745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24746 clean) \
24747 || exit 1
24749 @endif itcl
24751 .PHONY: maybe-distclean-itcl distclean-itcl
24752 maybe-distclean-itcl:
24753 @if itcl
24754 maybe-distclean-itcl: distclean-itcl
24756 distclean-itcl:
24757 @: $(MAKE); $(unstage)
24758 @[ -f ./itcl/Makefile ] || exit 0; \
24759 r=`${PWD_COMMAND}`; export r; \
24760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24761 $(HOST_EXPORTS) \
24762 for flag in $(EXTRA_HOST_FLAGS) ; do \
24763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24764 done; \
24765 echo "Doing distclean in itcl" ; \
24766 (cd $(HOST_SUBDIR)/itcl && \
24767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24769 "RANLIB=$${RANLIB}" \
24770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24771 distclean) \
24772 || exit 1
24774 @endif itcl
24776 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
24777 maybe-maintainer-clean-itcl:
24778 @if itcl
24779 maybe-maintainer-clean-itcl: maintainer-clean-itcl
24781 maintainer-clean-itcl:
24782 @: $(MAKE); $(unstage)
24783 @[ -f ./itcl/Makefile ] || exit 0; \
24784 r=`${PWD_COMMAND}`; export r; \
24785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24786 $(HOST_EXPORTS) \
24787 for flag in $(EXTRA_HOST_FLAGS) ; do \
24788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24789 done; \
24790 echo "Doing maintainer-clean in itcl" ; \
24791 (cd $(HOST_SUBDIR)/itcl && \
24792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24794 "RANLIB=$${RANLIB}" \
24795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24796 maintainer-clean) \
24797 || exit 1
24799 @endif itcl
24803 .PHONY: configure-ld maybe-configure-ld
24804 maybe-configure-ld:
24805 @if gcc-bootstrap
24806 configure-ld: stage_current
24807 @endif gcc-bootstrap
24808 @if ld
24809 maybe-configure-ld: configure-ld
24810 configure-ld:
24811 @r=`${PWD_COMMAND}`; export r; \
24812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24813 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24815 $(HOST_EXPORTS) \
24816 echo Configuring in $(HOST_SUBDIR)/ld; \
24817 cd "$(HOST_SUBDIR)/ld" || exit 1; \
24818 case $(srcdir) in \
24819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24820 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24822 esac; \
24823 srcdiroption="--srcdir=$${topdir}/ld"; \
24824 libsrcdir="$$s/ld"; \
24825 $(SHELL) $${libsrcdir}/configure \
24826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24827 --target=${target_alias} $${srcdiroption} \
24828 || exit 1
24829 @endif ld
24833 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
24834 maybe-configure-stage1-ld:
24835 @if ld-bootstrap
24836 maybe-configure-stage1-ld: configure-stage1-ld
24837 configure-stage1-ld:
24838 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24839 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24840 @r=`${PWD_COMMAND}`; export r; \
24841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24842 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24843 $(HOST_EXPORTS) \
24844 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24845 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
24846 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
24847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24848 cd $(HOST_SUBDIR)/ld || exit 1; \
24849 case $(srcdir) in \
24850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24851 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24853 esac; \
24854 srcdiroption="--srcdir=$${topdir}/ld"; \
24855 libsrcdir="$$s/ld"; \
24856 $(SHELL) $${libsrcdir}/configure \
24857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24858 --target=${target_alias} $${srcdiroption} \
24860 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24861 @endif ld-bootstrap
24863 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
24864 maybe-configure-stage2-ld:
24865 @if ld-bootstrap
24866 maybe-configure-stage2-ld: configure-stage2-ld
24867 configure-stage2-ld:
24868 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24870 @r=`${PWD_COMMAND}`; export r; \
24871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24872 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24873 $(HOST_EXPORTS) \
24874 $(POSTSTAGE1_HOST_EXPORTS) \
24875 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24876 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
24877 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
24878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24879 cd $(HOST_SUBDIR)/ld || exit 1; \
24880 case $(srcdir) in \
24881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24882 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24884 esac; \
24885 srcdiroption="--srcdir=$${topdir}/ld"; \
24886 libsrcdir="$$s/ld"; \
24887 $(SHELL) $${libsrcdir}/configure \
24888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24889 --target=${target_alias} $${srcdiroption} \
24890 --with-build-libsubdir=$(HOST_SUBDIR) \
24891 @stage2_werror_flag@
24892 @endif ld-bootstrap
24894 .PHONY: configure-stageb2g0-ld maybe-configure-stageb2g0-ld
24895 maybe-configure-stageb2g0-ld:
24896 @if ld-bootstrap
24897 maybe-configure-stageb2g0-ld: configure-stageb2g0-ld
24898 configure-stageb2g0-ld:
24899 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
24900 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24901 @r=`${PWD_COMMAND}`; export r; \
24902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24903 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24904 $(HOST_EXPORTS) \
24905 $(POSTSTAGE1_HOST_EXPORTS) \
24906 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
24907 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
24908 echo Configuring stage b2g0 in $(HOST_SUBDIR)/ld ; \
24909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24910 cd $(HOST_SUBDIR)/ld || exit 1; \
24911 case $(srcdir) in \
24912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24913 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24915 esac; \
24916 srcdiroption="--srcdir=$${topdir}/ld"; \
24917 libsrcdir="$$s/ld"; \
24918 $(SHELL) $${libsrcdir}/configure \
24919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24920 --target=${target_alias} $${srcdiroption} \
24921 --with-build-libsubdir=$(HOST_SUBDIR) \
24922 @stage2_werror_flag@
24923 @endif ld-bootstrap
24925 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
24926 maybe-configure-stage3-ld:
24927 @if ld-bootstrap
24928 maybe-configure-stage3-ld: configure-stage3-ld
24929 configure-stage3-ld:
24930 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24932 @r=`${PWD_COMMAND}`; export r; \
24933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24934 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24935 $(HOST_EXPORTS) \
24936 $(POSTSTAGE1_HOST_EXPORTS) \
24937 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24938 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
24939 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
24940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24941 cd $(HOST_SUBDIR)/ld || exit 1; \
24942 case $(srcdir) in \
24943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24944 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24946 esac; \
24947 srcdiroption="--srcdir=$${topdir}/ld"; \
24948 libsrcdir="$$s/ld"; \
24949 $(SHELL) $${libsrcdir}/configure \
24950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24951 --target=${target_alias} $${srcdiroption} \
24952 --with-build-libsubdir=$(HOST_SUBDIR) \
24953 @stage2_werror_flag@
24954 @endif ld-bootstrap
24956 .PHONY: configure-stageb3g2-ld maybe-configure-stageb3g2-ld
24957 maybe-configure-stageb3g2-ld:
24958 @if ld-bootstrap
24959 maybe-configure-stageb3g2-ld: configure-stageb3g2-ld
24960 configure-stageb3g2-ld:
24961 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
24962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24963 @r=`${PWD_COMMAND}`; export r; \
24964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24965 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24966 $(HOST_EXPORTS) \
24967 $(POSTSTAGE1_HOST_EXPORTS) \
24968 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
24969 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
24970 echo Configuring stage b3g2 in $(HOST_SUBDIR)/ld ; \
24971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24972 cd $(HOST_SUBDIR)/ld || exit 1; \
24973 case $(srcdir) in \
24974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24975 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24977 esac; \
24978 srcdiroption="--srcdir=$${topdir}/ld"; \
24979 libsrcdir="$$s/ld"; \
24980 $(SHELL) $${libsrcdir}/configure \
24981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24982 --target=${target_alias} $${srcdiroption} \
24983 --with-build-libsubdir=$(HOST_SUBDIR) \
24984 @stage2_werror_flag@
24985 @endif ld-bootstrap
24987 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
24988 maybe-configure-stage4-ld:
24989 @if ld-bootstrap
24990 maybe-configure-stage4-ld: configure-stage4-ld
24991 configure-stage4-ld:
24992 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24994 @r=`${PWD_COMMAND}`; export r; \
24995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24996 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24997 $(HOST_EXPORTS) \
24998 $(POSTSTAGE1_HOST_EXPORTS) \
24999 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25000 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
25001 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
25002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
25003 cd $(HOST_SUBDIR)/ld || exit 1; \
25004 case $(srcdir) in \
25005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25006 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
25007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25008 esac; \
25009 srcdiroption="--srcdir=$${topdir}/ld"; \
25010 libsrcdir="$$s/ld"; \
25011 $(SHELL) $${libsrcdir}/configure \
25012 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25013 --target=${target_alias} $${srcdiroption} \
25014 --with-build-libsubdir=$(HOST_SUBDIR) \
25015 @stage2_werror_flag@
25016 @endif ld-bootstrap
25018 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
25019 maybe-configure-stageprofile-ld:
25020 @if ld-bootstrap
25021 maybe-configure-stageprofile-ld: configure-stageprofile-ld
25022 configure-stageprofile-ld:
25023 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
25025 @r=`${PWD_COMMAND}`; export r; \
25026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25027 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
25028 $(HOST_EXPORTS) \
25029 $(POSTSTAGE1_HOST_EXPORTS) \
25030 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
25031 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
25032 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
25033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
25034 cd $(HOST_SUBDIR)/ld || exit 1; \
25035 case $(srcdir) in \
25036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25037 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
25038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25039 esac; \
25040 srcdiroption="--srcdir=$${topdir}/ld"; \
25041 libsrcdir="$$s/ld"; \
25042 $(SHELL) $${libsrcdir}/configure \
25043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25044 --target=${target_alias} $${srcdiroption} \
25045 --with-build-libsubdir=$(HOST_SUBDIR) \
25046 @stage2_werror_flag@
25047 @endif ld-bootstrap
25049 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
25050 maybe-configure-stagefeedback-ld:
25051 @if ld-bootstrap
25052 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
25053 configure-stagefeedback-ld:
25054 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
25056 @r=`${PWD_COMMAND}`; export r; \
25057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
25059 $(HOST_EXPORTS) \
25060 $(POSTSTAGE1_HOST_EXPORTS) \
25061 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
25062 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
25063 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
25064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
25065 cd $(HOST_SUBDIR)/ld || exit 1; \
25066 case $(srcdir) in \
25067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25068 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
25069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25070 esac; \
25071 srcdiroption="--srcdir=$${topdir}/ld"; \
25072 libsrcdir="$$s/ld"; \
25073 $(SHELL) $${libsrcdir}/configure \
25074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25075 --target=${target_alias} $${srcdiroption} \
25076 --with-build-libsubdir=$(HOST_SUBDIR) \
25077 @stage2_werror_flag@
25078 @endif ld-bootstrap
25084 .PHONY: all-ld maybe-all-ld
25085 maybe-all-ld:
25086 @if gcc-bootstrap
25087 all-ld: stage_current
25088 @endif gcc-bootstrap
25089 @if ld
25090 TARGET-ld=all
25091 maybe-all-ld: all-ld
25092 all-ld: configure-ld
25093 @r=`${PWD_COMMAND}`; export r; \
25094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25095 $(HOST_EXPORTS) \
25096 (cd $(HOST_SUBDIR)/ld && \
25097 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25098 $(TARGET-ld))
25099 @endif ld
25103 .PHONY: all-stage1-ld maybe-all-stage1-ld
25104 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
25105 maybe-all-stage1-ld:
25106 maybe-clean-stage1-ld:
25107 @if ld-bootstrap
25108 maybe-all-stage1-ld: all-stage1-ld
25109 all-stage1: all-stage1-ld
25110 TARGET-stage1-ld = $(TARGET-ld)
25111 all-stage1-ld: configure-stage1-ld
25112 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25113 @r=`${PWD_COMMAND}`; export r; \
25114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25115 $(HOST_EXPORTS) \
25116 cd $(HOST_SUBDIR)/ld && \
25117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25118 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
25119 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
25120 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
25121 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
25122 $(TARGET-stage1-ld)
25124 maybe-clean-stage1-ld: clean-stage1-ld
25125 clean-stage1: clean-stage1-ld
25126 clean-stage1-ld:
25127 @if [ $(current_stage) = stage1 ]; then \
25128 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25129 else \
25130 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
25131 $(MAKE) stage1-start; \
25132 fi; \
25133 cd $(HOST_SUBDIR)/ld && \
25134 $(MAKE) $(EXTRA_HOST_FLAGS) \
25135 clean
25136 @endif ld-bootstrap
25139 .PHONY: all-stage2-ld maybe-all-stage2-ld
25140 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
25141 maybe-all-stage2-ld:
25142 maybe-clean-stage2-ld:
25143 @if ld-bootstrap
25144 maybe-all-stage2-ld: all-stage2-ld
25145 all-stage2: all-stage2-ld
25146 TARGET-stage2-ld = $(TARGET-ld)
25147 all-stage2-ld: configure-stage2-ld
25148 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25149 @r=`${PWD_COMMAND}`; export r; \
25150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25151 $(HOST_EXPORTS) \
25152 $(POSTSTAGE1_HOST_EXPORTS) \
25153 cd $(HOST_SUBDIR)/ld && \
25154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25155 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
25156 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
25157 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
25158 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25159 $(TARGET-stage2-ld)
25161 maybe-clean-stage2-ld: clean-stage2-ld
25162 clean-stage2: clean-stage2-ld
25163 clean-stage2-ld:
25164 @if [ $(current_stage) = stage2 ]; then \
25165 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25166 else \
25167 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
25168 $(MAKE) stage2-start; \
25169 fi; \
25170 cd $(HOST_SUBDIR)/ld && \
25171 $(MAKE) $(EXTRA_HOST_FLAGS) \
25172 $(POSTSTAGE1_FLAGS_TO_PASS) \
25173 clean
25174 @endif ld-bootstrap
25177 .PHONY: all-stageb2g0-ld maybe-all-stageb2g0-ld
25178 .PHONY: clean-stageb2g0-ld maybe-clean-stageb2g0-ld
25179 maybe-all-stageb2g0-ld:
25180 maybe-clean-stageb2g0-ld:
25181 @if ld-bootstrap
25182 maybe-all-stageb2g0-ld: all-stageb2g0-ld
25183 all-stageb2g0: all-stageb2g0-ld
25184 TARGET-stageb2g0-ld = $(TARGET-ld)
25185 all-stageb2g0-ld: configure-stageb2g0-ld
25186 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
25187 @r=`${PWD_COMMAND}`; export r; \
25188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25189 $(HOST_EXPORTS) \
25190 $(POSTSTAGE1_HOST_EXPORTS) \
25191 cd $(HOST_SUBDIR)/ld && \
25192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25193 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
25194 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
25195 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
25196 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25197 $(TARGET-stageb2g0-ld)
25199 maybe-clean-stageb2g0-ld: clean-stageb2g0-ld
25200 clean-stageb2g0: clean-stageb2g0-ld
25201 clean-stageb2g0-ld:
25202 @if [ $(current_stage) = stageb2g0 ]; then \
25203 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25204 else \
25205 [ -f $(HOST_SUBDIR)/stageb2g0-ld/Makefile ] || exit 0; \
25206 $(MAKE) stageb2g0-start; \
25207 fi; \
25208 cd $(HOST_SUBDIR)/ld && \
25209 $(MAKE) $(EXTRA_HOST_FLAGS) \
25210 $(POSTSTAGE1_FLAGS_TO_PASS) \
25211 clean
25212 @endif ld-bootstrap
25215 .PHONY: all-stage3-ld maybe-all-stage3-ld
25216 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
25217 maybe-all-stage3-ld:
25218 maybe-clean-stage3-ld:
25219 @if ld-bootstrap
25220 maybe-all-stage3-ld: all-stage3-ld
25221 all-stage3: all-stage3-ld
25222 TARGET-stage3-ld = $(TARGET-ld)
25223 all-stage3-ld: configure-stage3-ld
25224 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25225 @r=`${PWD_COMMAND}`; export r; \
25226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227 $(HOST_EXPORTS) \
25228 $(POSTSTAGE1_HOST_EXPORTS) \
25229 cd $(HOST_SUBDIR)/ld && \
25230 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25231 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
25232 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
25233 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
25234 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25235 $(TARGET-stage3-ld)
25237 maybe-clean-stage3-ld: clean-stage3-ld
25238 clean-stage3: clean-stage3-ld
25239 clean-stage3-ld:
25240 @if [ $(current_stage) = stage3 ]; then \
25241 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25242 else \
25243 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
25244 $(MAKE) stage3-start; \
25245 fi; \
25246 cd $(HOST_SUBDIR)/ld && \
25247 $(MAKE) $(EXTRA_HOST_FLAGS) \
25248 $(POSTSTAGE1_FLAGS_TO_PASS) \
25249 clean
25250 @endif ld-bootstrap
25253 .PHONY: all-stageb3g2-ld maybe-all-stageb3g2-ld
25254 .PHONY: clean-stageb3g2-ld maybe-clean-stageb3g2-ld
25255 maybe-all-stageb3g2-ld:
25256 maybe-clean-stageb3g2-ld:
25257 @if ld-bootstrap
25258 maybe-all-stageb3g2-ld: all-stageb3g2-ld
25259 all-stageb3g2: all-stageb3g2-ld
25260 TARGET-stageb3g2-ld = $(TARGET-ld)
25261 all-stageb3g2-ld: configure-stageb3g2-ld
25262 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
25263 @r=`${PWD_COMMAND}`; export r; \
25264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265 $(HOST_EXPORTS) \
25266 $(POSTSTAGE1_HOST_EXPORTS) \
25267 cd $(HOST_SUBDIR)/ld && \
25268 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25269 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
25270 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
25271 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
25272 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25273 $(TARGET-stageb3g2-ld)
25275 maybe-clean-stageb3g2-ld: clean-stageb3g2-ld
25276 clean-stageb3g2: clean-stageb3g2-ld
25277 clean-stageb3g2-ld:
25278 @if [ $(current_stage) = stageb3g2 ]; then \
25279 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25280 else \
25281 [ -f $(HOST_SUBDIR)/stageb3g2-ld/Makefile ] || exit 0; \
25282 $(MAKE) stageb3g2-start; \
25283 fi; \
25284 cd $(HOST_SUBDIR)/ld && \
25285 $(MAKE) $(EXTRA_HOST_FLAGS) \
25286 $(POSTSTAGE1_FLAGS_TO_PASS) \
25287 clean
25288 @endif ld-bootstrap
25291 .PHONY: all-stage4-ld maybe-all-stage4-ld
25292 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
25293 maybe-all-stage4-ld:
25294 maybe-clean-stage4-ld:
25295 @if ld-bootstrap
25296 maybe-all-stage4-ld: all-stage4-ld
25297 all-stage4: all-stage4-ld
25298 TARGET-stage4-ld = $(TARGET-ld)
25299 all-stage4-ld: configure-stage4-ld
25300 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25301 @r=`${PWD_COMMAND}`; export r; \
25302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25303 $(HOST_EXPORTS) \
25304 $(POSTSTAGE1_HOST_EXPORTS) \
25305 cd $(HOST_SUBDIR)/ld && \
25306 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25307 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
25308 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25309 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
25310 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25311 $(TARGET-stage4-ld)
25313 maybe-clean-stage4-ld: clean-stage4-ld
25314 clean-stage4: clean-stage4-ld
25315 clean-stage4-ld:
25316 @if [ $(current_stage) = stage4 ]; then \
25317 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25318 else \
25319 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
25320 $(MAKE) stage4-start; \
25321 fi; \
25322 cd $(HOST_SUBDIR)/ld && \
25323 $(MAKE) $(EXTRA_HOST_FLAGS) \
25324 $(POSTSTAGE1_FLAGS_TO_PASS) \
25325 clean
25326 @endif ld-bootstrap
25329 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
25330 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
25331 maybe-all-stageprofile-ld:
25332 maybe-clean-stageprofile-ld:
25333 @if ld-bootstrap
25334 maybe-all-stageprofile-ld: all-stageprofile-ld
25335 all-stageprofile: all-stageprofile-ld
25336 TARGET-stageprofile-ld = $(TARGET-ld)
25337 all-stageprofile-ld: configure-stageprofile-ld
25338 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25339 @r=`${PWD_COMMAND}`; export r; \
25340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 $(HOST_EXPORTS) \
25342 $(POSTSTAGE1_HOST_EXPORTS) \
25343 cd $(HOST_SUBDIR)/ld && \
25344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25345 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
25346 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
25347 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
25348 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25349 $(TARGET-stageprofile-ld)
25351 maybe-clean-stageprofile-ld: clean-stageprofile-ld
25352 clean-stageprofile: clean-stageprofile-ld
25353 clean-stageprofile-ld:
25354 @if [ $(current_stage) = stageprofile ]; then \
25355 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25356 else \
25357 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
25358 $(MAKE) stageprofile-start; \
25359 fi; \
25360 cd $(HOST_SUBDIR)/ld && \
25361 $(MAKE) $(EXTRA_HOST_FLAGS) \
25362 $(POSTSTAGE1_FLAGS_TO_PASS) \
25363 clean
25364 @endif ld-bootstrap
25367 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
25368 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
25369 maybe-all-stagefeedback-ld:
25370 maybe-clean-stagefeedback-ld:
25371 @if ld-bootstrap
25372 maybe-all-stagefeedback-ld: all-stagefeedback-ld
25373 all-stagefeedback: all-stagefeedback-ld
25374 TARGET-stagefeedback-ld = $(TARGET-ld)
25375 all-stagefeedback-ld: configure-stagefeedback-ld
25376 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25377 @r=`${PWD_COMMAND}`; export r; \
25378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25379 $(HOST_EXPORTS) \
25380 $(POSTSTAGE1_HOST_EXPORTS) \
25381 cd $(HOST_SUBDIR)/ld && \
25382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25383 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
25384 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
25385 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
25386 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25387 $(TARGET-stagefeedback-ld)
25389 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
25390 clean-stagefeedback: clean-stagefeedback-ld
25391 clean-stagefeedback-ld:
25392 @if [ $(current_stage) = stagefeedback ]; then \
25393 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25394 else \
25395 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
25396 $(MAKE) stagefeedback-start; \
25397 fi; \
25398 cd $(HOST_SUBDIR)/ld && \
25399 $(MAKE) $(EXTRA_HOST_FLAGS) \
25400 $(POSTSTAGE1_FLAGS_TO_PASS) \
25401 clean
25402 @endif ld-bootstrap
25408 .PHONY: check-ld maybe-check-ld
25409 maybe-check-ld:
25410 @if ld
25411 maybe-check-ld: check-ld
25413 check-ld:
25414 @: $(MAKE); $(unstage)
25415 @r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 $(HOST_EXPORTS) \
25418 (cd $(HOST_SUBDIR)/ld && \
25419 $(MAKE) $(FLAGS_TO_PASS) check)
25421 @endif ld
25423 .PHONY: install-ld maybe-install-ld
25424 maybe-install-ld:
25425 @if ld
25426 maybe-install-ld: install-ld
25428 install-ld: installdirs
25429 @: $(MAKE); $(unstage)
25430 @r=`${PWD_COMMAND}`; export r; \
25431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25432 $(HOST_EXPORTS) \
25433 (cd $(HOST_SUBDIR)/ld && \
25434 $(MAKE) $(FLAGS_TO_PASS) install)
25436 @endif ld
25438 # Other targets (info, dvi, pdf, etc.)
25440 .PHONY: maybe-info-ld info-ld
25441 maybe-info-ld:
25442 @if ld
25443 maybe-info-ld: info-ld
25445 info-ld: \
25446 configure-ld
25447 @[ -f ./ld/Makefile ] || exit 0; \
25448 r=`${PWD_COMMAND}`; export r; \
25449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25450 $(HOST_EXPORTS) \
25451 for flag in $(EXTRA_HOST_FLAGS) ; do \
25452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25453 done; \
25454 echo "Doing info in ld" ; \
25455 (cd $(HOST_SUBDIR)/ld && \
25456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25458 "RANLIB=$${RANLIB}" \
25459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25460 info) \
25461 || exit 1
25463 @endif ld
25465 .PHONY: maybe-dvi-ld dvi-ld
25466 maybe-dvi-ld:
25467 @if ld
25468 maybe-dvi-ld: dvi-ld
25470 dvi-ld: \
25471 configure-ld
25472 @[ -f ./ld/Makefile ] || exit 0; \
25473 r=`${PWD_COMMAND}`; export r; \
25474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25475 $(HOST_EXPORTS) \
25476 for flag in $(EXTRA_HOST_FLAGS) ; do \
25477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25478 done; \
25479 echo "Doing dvi in ld" ; \
25480 (cd $(HOST_SUBDIR)/ld && \
25481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25483 "RANLIB=$${RANLIB}" \
25484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25485 dvi) \
25486 || exit 1
25488 @endif ld
25490 .PHONY: maybe-pdf-ld pdf-ld
25491 maybe-pdf-ld:
25492 @if ld
25493 maybe-pdf-ld: pdf-ld
25495 pdf-ld: \
25496 configure-ld
25497 @[ -f ./ld/Makefile ] || exit 0; \
25498 r=`${PWD_COMMAND}`; export r; \
25499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25500 $(HOST_EXPORTS) \
25501 for flag in $(EXTRA_HOST_FLAGS) ; do \
25502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 done; \
25504 echo "Doing pdf in ld" ; \
25505 (cd $(HOST_SUBDIR)/ld && \
25506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25508 "RANLIB=$${RANLIB}" \
25509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25510 pdf) \
25511 || exit 1
25513 @endif ld
25515 .PHONY: maybe-html-ld html-ld
25516 maybe-html-ld:
25517 @if ld
25518 maybe-html-ld: html-ld
25520 html-ld: \
25521 configure-ld
25522 @[ -f ./ld/Makefile ] || exit 0; \
25523 r=`${PWD_COMMAND}`; export r; \
25524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25525 $(HOST_EXPORTS) \
25526 for flag in $(EXTRA_HOST_FLAGS) ; do \
25527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25528 done; \
25529 echo "Doing html in ld" ; \
25530 (cd $(HOST_SUBDIR)/ld && \
25531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25533 "RANLIB=$${RANLIB}" \
25534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25535 html) \
25536 || exit 1
25538 @endif ld
25540 .PHONY: maybe-TAGS-ld TAGS-ld
25541 maybe-TAGS-ld:
25542 @if ld
25543 maybe-TAGS-ld: TAGS-ld
25545 TAGS-ld: \
25546 configure-ld
25547 @[ -f ./ld/Makefile ] || exit 0; \
25548 r=`${PWD_COMMAND}`; export r; \
25549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25550 $(HOST_EXPORTS) \
25551 for flag in $(EXTRA_HOST_FLAGS) ; do \
25552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25553 done; \
25554 echo "Doing TAGS in ld" ; \
25555 (cd $(HOST_SUBDIR)/ld && \
25556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25558 "RANLIB=$${RANLIB}" \
25559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25560 TAGS) \
25561 || exit 1
25563 @endif ld
25565 .PHONY: maybe-install-info-ld install-info-ld
25566 maybe-install-info-ld:
25567 @if ld
25568 maybe-install-info-ld: install-info-ld
25570 install-info-ld: \
25571 configure-ld \
25572 info-ld
25573 @[ -f ./ld/Makefile ] || exit 0; \
25574 r=`${PWD_COMMAND}`; export r; \
25575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25576 $(HOST_EXPORTS) \
25577 for flag in $(EXTRA_HOST_FLAGS) ; do \
25578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25579 done; \
25580 echo "Doing install-info in ld" ; \
25581 (cd $(HOST_SUBDIR)/ld && \
25582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25584 "RANLIB=$${RANLIB}" \
25585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25586 install-info) \
25587 || exit 1
25589 @endif ld
25591 .PHONY: maybe-install-pdf-ld install-pdf-ld
25592 maybe-install-pdf-ld:
25593 @if ld
25594 maybe-install-pdf-ld: install-pdf-ld
25596 install-pdf-ld: \
25597 configure-ld \
25598 pdf-ld
25599 @[ -f ./ld/Makefile ] || exit 0; \
25600 r=`${PWD_COMMAND}`; export r; \
25601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25602 $(HOST_EXPORTS) \
25603 for flag in $(EXTRA_HOST_FLAGS) ; do \
25604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25605 done; \
25606 echo "Doing install-pdf in ld" ; \
25607 (cd $(HOST_SUBDIR)/ld && \
25608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25610 "RANLIB=$${RANLIB}" \
25611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25612 install-pdf) \
25613 || exit 1
25615 @endif ld
25617 .PHONY: maybe-install-html-ld install-html-ld
25618 maybe-install-html-ld:
25619 @if ld
25620 maybe-install-html-ld: install-html-ld
25622 install-html-ld: \
25623 configure-ld \
25624 html-ld
25625 @[ -f ./ld/Makefile ] || exit 0; \
25626 r=`${PWD_COMMAND}`; export r; \
25627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25628 $(HOST_EXPORTS) \
25629 for flag in $(EXTRA_HOST_FLAGS) ; do \
25630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25631 done; \
25632 echo "Doing install-html in ld" ; \
25633 (cd $(HOST_SUBDIR)/ld && \
25634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25636 "RANLIB=$${RANLIB}" \
25637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25638 install-html) \
25639 || exit 1
25641 @endif ld
25643 .PHONY: maybe-installcheck-ld installcheck-ld
25644 maybe-installcheck-ld:
25645 @if ld
25646 maybe-installcheck-ld: installcheck-ld
25648 installcheck-ld: \
25649 configure-ld
25650 @[ -f ./ld/Makefile ] || exit 0; \
25651 r=`${PWD_COMMAND}`; export r; \
25652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(HOST_EXPORTS) \
25654 for flag in $(EXTRA_HOST_FLAGS) ; do \
25655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25656 done; \
25657 echo "Doing installcheck in ld" ; \
25658 (cd $(HOST_SUBDIR)/ld && \
25659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25661 "RANLIB=$${RANLIB}" \
25662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25663 installcheck) \
25664 || exit 1
25666 @endif ld
25668 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
25669 maybe-mostlyclean-ld:
25670 @if ld
25671 maybe-mostlyclean-ld: mostlyclean-ld
25673 mostlyclean-ld:
25674 @[ -f ./ld/Makefile ] || exit 0; \
25675 r=`${PWD_COMMAND}`; export r; \
25676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25677 $(HOST_EXPORTS) \
25678 for flag in $(EXTRA_HOST_FLAGS) ; do \
25679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25680 done; \
25681 echo "Doing mostlyclean in ld" ; \
25682 (cd $(HOST_SUBDIR)/ld && \
25683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25685 "RANLIB=$${RANLIB}" \
25686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25687 mostlyclean) \
25688 || exit 1
25690 @endif ld
25692 .PHONY: maybe-clean-ld clean-ld
25693 maybe-clean-ld:
25694 @if ld
25695 maybe-clean-ld: clean-ld
25697 clean-ld:
25698 @[ -f ./ld/Makefile ] || exit 0; \
25699 r=`${PWD_COMMAND}`; export r; \
25700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25701 $(HOST_EXPORTS) \
25702 for flag in $(EXTRA_HOST_FLAGS) ; do \
25703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25704 done; \
25705 echo "Doing clean in ld" ; \
25706 (cd $(HOST_SUBDIR)/ld && \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25709 "RANLIB=$${RANLIB}" \
25710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25711 clean) \
25712 || exit 1
25714 @endif ld
25716 .PHONY: maybe-distclean-ld distclean-ld
25717 maybe-distclean-ld:
25718 @if ld
25719 maybe-distclean-ld: distclean-ld
25721 distclean-ld:
25722 @[ -f ./ld/Makefile ] || exit 0; \
25723 r=`${PWD_COMMAND}`; export r; \
25724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25725 $(HOST_EXPORTS) \
25726 for flag in $(EXTRA_HOST_FLAGS) ; do \
25727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25728 done; \
25729 echo "Doing distclean in ld" ; \
25730 (cd $(HOST_SUBDIR)/ld && \
25731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25733 "RANLIB=$${RANLIB}" \
25734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25735 distclean) \
25736 || exit 1
25738 @endif ld
25740 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
25741 maybe-maintainer-clean-ld:
25742 @if ld
25743 maybe-maintainer-clean-ld: maintainer-clean-ld
25745 maintainer-clean-ld:
25746 @[ -f ./ld/Makefile ] || exit 0; \
25747 r=`${PWD_COMMAND}`; export r; \
25748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25749 $(HOST_EXPORTS) \
25750 for flag in $(EXTRA_HOST_FLAGS) ; do \
25751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25752 done; \
25753 echo "Doing maintainer-clean in ld" ; \
25754 (cd $(HOST_SUBDIR)/ld && \
25755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25757 "RANLIB=$${RANLIB}" \
25758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25759 maintainer-clean) \
25760 || exit 1
25762 @endif ld
25766 .PHONY: configure-libcpp maybe-configure-libcpp
25767 maybe-configure-libcpp:
25768 @if gcc-bootstrap
25769 configure-libcpp: stage_current
25770 @endif gcc-bootstrap
25771 @if libcpp
25772 maybe-configure-libcpp: configure-libcpp
25773 configure-libcpp:
25774 @r=`${PWD_COMMAND}`; export r; \
25775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25776 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25778 $(HOST_EXPORTS) \
25779 echo Configuring in $(HOST_SUBDIR)/libcpp; \
25780 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
25781 case $(srcdir) in \
25782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25783 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25785 esac; \
25786 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25787 libsrcdir="$$s/libcpp"; \
25788 $(SHELL) $${libsrcdir}/configure \
25789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25790 --target=${target_alias} $${srcdiroption} \
25791 || exit 1
25792 @endif libcpp
25796 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
25797 maybe-configure-stage1-libcpp:
25798 @if libcpp-bootstrap
25799 maybe-configure-stage1-libcpp: configure-stage1-libcpp
25800 configure-stage1-libcpp:
25801 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25803 @r=`${PWD_COMMAND}`; export r; \
25804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25805 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25806 $(HOST_EXPORTS) \
25807 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25808 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
25809 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
25810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25811 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25812 case $(srcdir) in \
25813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25814 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25816 esac; \
25817 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25818 libsrcdir="$$s/libcpp"; \
25819 $(SHELL) $${libsrcdir}/configure \
25820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25821 --target=${target_alias} $${srcdiroption} \
25823 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25824 @endif libcpp-bootstrap
25826 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
25827 maybe-configure-stage2-libcpp:
25828 @if libcpp-bootstrap
25829 maybe-configure-stage2-libcpp: configure-stage2-libcpp
25830 configure-stage2-libcpp:
25831 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25833 @r=`${PWD_COMMAND}`; export r; \
25834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25835 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25836 $(HOST_EXPORTS) \
25837 $(POSTSTAGE1_HOST_EXPORTS) \
25838 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25839 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
25840 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
25841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25842 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25843 case $(srcdir) in \
25844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25845 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25847 esac; \
25848 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25849 libsrcdir="$$s/libcpp"; \
25850 $(SHELL) $${libsrcdir}/configure \
25851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25852 --target=${target_alias} $${srcdiroption} \
25853 --with-build-libsubdir=$(HOST_SUBDIR) \
25854 @stage2_werror_flag@
25855 @endif libcpp-bootstrap
25857 .PHONY: configure-stageb2g0-libcpp maybe-configure-stageb2g0-libcpp
25858 maybe-configure-stageb2g0-libcpp:
25859 @if libcpp-bootstrap
25860 maybe-configure-stageb2g0-libcpp: configure-stageb2g0-libcpp
25861 configure-stageb2g0-libcpp:
25862 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
25863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25864 @r=`${PWD_COMMAND}`; export r; \
25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25866 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25867 $(HOST_EXPORTS) \
25868 $(POSTSTAGE1_HOST_EXPORTS) \
25869 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
25870 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
25871 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libcpp ; \
25872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25873 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25874 case $(srcdir) in \
25875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25876 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25878 esac; \
25879 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25880 libsrcdir="$$s/libcpp"; \
25881 $(SHELL) $${libsrcdir}/configure \
25882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25883 --target=${target_alias} $${srcdiroption} \
25884 --with-build-libsubdir=$(HOST_SUBDIR) \
25885 @stage2_werror_flag@
25886 @endif libcpp-bootstrap
25888 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
25889 maybe-configure-stage3-libcpp:
25890 @if libcpp-bootstrap
25891 maybe-configure-stage3-libcpp: configure-stage3-libcpp
25892 configure-stage3-libcpp:
25893 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25895 @r=`${PWD_COMMAND}`; export r; \
25896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25897 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25898 $(HOST_EXPORTS) \
25899 $(POSTSTAGE1_HOST_EXPORTS) \
25900 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25901 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
25902 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
25903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25904 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25905 case $(srcdir) in \
25906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25907 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25909 esac; \
25910 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25911 libsrcdir="$$s/libcpp"; \
25912 $(SHELL) $${libsrcdir}/configure \
25913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25914 --target=${target_alias} $${srcdiroption} \
25915 --with-build-libsubdir=$(HOST_SUBDIR) \
25916 @stage2_werror_flag@
25917 @endif libcpp-bootstrap
25919 .PHONY: configure-stageb3g2-libcpp maybe-configure-stageb3g2-libcpp
25920 maybe-configure-stageb3g2-libcpp:
25921 @if libcpp-bootstrap
25922 maybe-configure-stageb3g2-libcpp: configure-stageb3g2-libcpp
25923 configure-stageb3g2-libcpp:
25924 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
25925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25926 @r=`${PWD_COMMAND}`; export r; \
25927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25928 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25929 $(HOST_EXPORTS) \
25930 $(POSTSTAGE1_HOST_EXPORTS) \
25931 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
25932 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
25933 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libcpp ; \
25934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25935 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25936 case $(srcdir) in \
25937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25938 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25940 esac; \
25941 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25942 libsrcdir="$$s/libcpp"; \
25943 $(SHELL) $${libsrcdir}/configure \
25944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25945 --target=${target_alias} $${srcdiroption} \
25946 --with-build-libsubdir=$(HOST_SUBDIR) \
25947 @stage2_werror_flag@
25948 @endif libcpp-bootstrap
25950 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
25951 maybe-configure-stage4-libcpp:
25952 @if libcpp-bootstrap
25953 maybe-configure-stage4-libcpp: configure-stage4-libcpp
25954 configure-stage4-libcpp:
25955 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25957 @r=`${PWD_COMMAND}`; export r; \
25958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25959 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25960 $(HOST_EXPORTS) \
25961 $(POSTSTAGE1_HOST_EXPORTS) \
25962 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25963 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
25964 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
25965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25966 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25967 case $(srcdir) in \
25968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25969 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25971 esac; \
25972 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25973 libsrcdir="$$s/libcpp"; \
25974 $(SHELL) $${libsrcdir}/configure \
25975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25976 --target=${target_alias} $${srcdiroption} \
25977 --with-build-libsubdir=$(HOST_SUBDIR) \
25978 @stage2_werror_flag@
25979 @endif libcpp-bootstrap
25981 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
25982 maybe-configure-stageprofile-libcpp:
25983 @if libcpp-bootstrap
25984 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
25985 configure-stageprofile-libcpp:
25986 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25988 @r=`${PWD_COMMAND}`; export r; \
25989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25990 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25991 $(HOST_EXPORTS) \
25992 $(POSTSTAGE1_HOST_EXPORTS) \
25993 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
25994 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
25995 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
25996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25997 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25998 case $(srcdir) in \
25999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26000 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
26001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26002 esac; \
26003 srcdiroption="--srcdir=$${topdir}/libcpp"; \
26004 libsrcdir="$$s/libcpp"; \
26005 $(SHELL) $${libsrcdir}/configure \
26006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26007 --target=${target_alias} $${srcdiroption} \
26008 --with-build-libsubdir=$(HOST_SUBDIR) \
26009 @stage2_werror_flag@
26010 @endif libcpp-bootstrap
26012 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
26013 maybe-configure-stagefeedback-libcpp:
26014 @if libcpp-bootstrap
26015 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
26016 configure-stagefeedback-libcpp:
26017 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
26019 @r=`${PWD_COMMAND}`; export r; \
26020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26021 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
26022 $(HOST_EXPORTS) \
26023 $(POSTSTAGE1_HOST_EXPORTS) \
26024 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
26025 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
26026 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
26027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
26028 cd $(HOST_SUBDIR)/libcpp || exit 1; \
26029 case $(srcdir) in \
26030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26031 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
26032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26033 esac; \
26034 srcdiroption="--srcdir=$${topdir}/libcpp"; \
26035 libsrcdir="$$s/libcpp"; \
26036 $(SHELL) $${libsrcdir}/configure \
26037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26038 --target=${target_alias} $${srcdiroption} \
26039 --with-build-libsubdir=$(HOST_SUBDIR) \
26040 @stage2_werror_flag@
26041 @endif libcpp-bootstrap
26047 .PHONY: all-libcpp maybe-all-libcpp
26048 maybe-all-libcpp:
26049 @if gcc-bootstrap
26050 all-libcpp: stage_current
26051 @endif gcc-bootstrap
26052 @if libcpp
26053 TARGET-libcpp=all
26054 maybe-all-libcpp: all-libcpp
26055 all-libcpp: configure-libcpp
26056 @r=`${PWD_COMMAND}`; export r; \
26057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26058 $(HOST_EXPORTS) \
26059 (cd $(HOST_SUBDIR)/libcpp && \
26060 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26061 $(TARGET-libcpp))
26062 @endif libcpp
26066 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
26067 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
26068 maybe-all-stage1-libcpp:
26069 maybe-clean-stage1-libcpp:
26070 @if libcpp-bootstrap
26071 maybe-all-stage1-libcpp: all-stage1-libcpp
26072 all-stage1: all-stage1-libcpp
26073 TARGET-stage1-libcpp = $(TARGET-libcpp)
26074 all-stage1-libcpp: configure-stage1-libcpp
26075 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26076 @r=`${PWD_COMMAND}`; export r; \
26077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26078 $(HOST_EXPORTS) \
26079 cd $(HOST_SUBDIR)/libcpp && \
26080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26081 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
26082 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
26083 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
26084 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
26085 $(TARGET-stage1-libcpp)
26087 maybe-clean-stage1-libcpp: clean-stage1-libcpp
26088 clean-stage1: clean-stage1-libcpp
26089 clean-stage1-libcpp:
26090 @if [ $(current_stage) = stage1 ]; then \
26091 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26092 else \
26093 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
26094 $(MAKE) stage1-start; \
26095 fi; \
26096 cd $(HOST_SUBDIR)/libcpp && \
26097 $(MAKE) $(EXTRA_HOST_FLAGS) \
26098 clean
26099 @endif libcpp-bootstrap
26102 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
26103 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
26104 maybe-all-stage2-libcpp:
26105 maybe-clean-stage2-libcpp:
26106 @if libcpp-bootstrap
26107 maybe-all-stage2-libcpp: all-stage2-libcpp
26108 all-stage2: all-stage2-libcpp
26109 TARGET-stage2-libcpp = $(TARGET-libcpp)
26110 all-stage2-libcpp: configure-stage2-libcpp
26111 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26112 @r=`${PWD_COMMAND}`; export r; \
26113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26114 $(HOST_EXPORTS) \
26115 $(POSTSTAGE1_HOST_EXPORTS) \
26116 cd $(HOST_SUBDIR)/libcpp && \
26117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26118 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
26119 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
26120 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
26121 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26122 $(TARGET-stage2-libcpp)
26124 maybe-clean-stage2-libcpp: clean-stage2-libcpp
26125 clean-stage2: clean-stage2-libcpp
26126 clean-stage2-libcpp:
26127 @if [ $(current_stage) = stage2 ]; then \
26128 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26129 else \
26130 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
26131 $(MAKE) stage2-start; \
26132 fi; \
26133 cd $(HOST_SUBDIR)/libcpp && \
26134 $(MAKE) $(EXTRA_HOST_FLAGS) \
26135 $(POSTSTAGE1_FLAGS_TO_PASS) \
26136 clean
26137 @endif libcpp-bootstrap
26140 .PHONY: all-stageb2g0-libcpp maybe-all-stageb2g0-libcpp
26141 .PHONY: clean-stageb2g0-libcpp maybe-clean-stageb2g0-libcpp
26142 maybe-all-stageb2g0-libcpp:
26143 maybe-clean-stageb2g0-libcpp:
26144 @if libcpp-bootstrap
26145 maybe-all-stageb2g0-libcpp: all-stageb2g0-libcpp
26146 all-stageb2g0: all-stageb2g0-libcpp
26147 TARGET-stageb2g0-libcpp = $(TARGET-libcpp)
26148 all-stageb2g0-libcpp: configure-stageb2g0-libcpp
26149 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
26150 @r=`${PWD_COMMAND}`; export r; \
26151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26152 $(HOST_EXPORTS) \
26153 $(POSTSTAGE1_HOST_EXPORTS) \
26154 cd $(HOST_SUBDIR)/libcpp && \
26155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26156 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
26157 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
26158 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
26159 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26160 $(TARGET-stageb2g0-libcpp)
26162 maybe-clean-stageb2g0-libcpp: clean-stageb2g0-libcpp
26163 clean-stageb2g0: clean-stageb2g0-libcpp
26164 clean-stageb2g0-libcpp:
26165 @if [ $(current_stage) = stageb2g0 ]; then \
26166 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26167 else \
26168 [ -f $(HOST_SUBDIR)/stageb2g0-libcpp/Makefile ] || exit 0; \
26169 $(MAKE) stageb2g0-start; \
26170 fi; \
26171 cd $(HOST_SUBDIR)/libcpp && \
26172 $(MAKE) $(EXTRA_HOST_FLAGS) \
26173 $(POSTSTAGE1_FLAGS_TO_PASS) \
26174 clean
26175 @endif libcpp-bootstrap
26178 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
26179 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
26180 maybe-all-stage3-libcpp:
26181 maybe-clean-stage3-libcpp:
26182 @if libcpp-bootstrap
26183 maybe-all-stage3-libcpp: all-stage3-libcpp
26184 all-stage3: all-stage3-libcpp
26185 TARGET-stage3-libcpp = $(TARGET-libcpp)
26186 all-stage3-libcpp: configure-stage3-libcpp
26187 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26188 @r=`${PWD_COMMAND}`; export r; \
26189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26190 $(HOST_EXPORTS) \
26191 $(POSTSTAGE1_HOST_EXPORTS) \
26192 cd $(HOST_SUBDIR)/libcpp && \
26193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26194 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
26195 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
26196 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
26197 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26198 $(TARGET-stage3-libcpp)
26200 maybe-clean-stage3-libcpp: clean-stage3-libcpp
26201 clean-stage3: clean-stage3-libcpp
26202 clean-stage3-libcpp:
26203 @if [ $(current_stage) = stage3 ]; then \
26204 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26205 else \
26206 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
26207 $(MAKE) stage3-start; \
26208 fi; \
26209 cd $(HOST_SUBDIR)/libcpp && \
26210 $(MAKE) $(EXTRA_HOST_FLAGS) \
26211 $(POSTSTAGE1_FLAGS_TO_PASS) \
26212 clean
26213 @endif libcpp-bootstrap
26216 .PHONY: all-stageb3g2-libcpp maybe-all-stageb3g2-libcpp
26217 .PHONY: clean-stageb3g2-libcpp maybe-clean-stageb3g2-libcpp
26218 maybe-all-stageb3g2-libcpp:
26219 maybe-clean-stageb3g2-libcpp:
26220 @if libcpp-bootstrap
26221 maybe-all-stageb3g2-libcpp: all-stageb3g2-libcpp
26222 all-stageb3g2: all-stageb3g2-libcpp
26223 TARGET-stageb3g2-libcpp = $(TARGET-libcpp)
26224 all-stageb3g2-libcpp: configure-stageb3g2-libcpp
26225 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
26226 @r=`${PWD_COMMAND}`; export r; \
26227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26228 $(HOST_EXPORTS) \
26229 $(POSTSTAGE1_HOST_EXPORTS) \
26230 cd $(HOST_SUBDIR)/libcpp && \
26231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26232 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
26233 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
26234 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
26235 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26236 $(TARGET-stageb3g2-libcpp)
26238 maybe-clean-stageb3g2-libcpp: clean-stageb3g2-libcpp
26239 clean-stageb3g2: clean-stageb3g2-libcpp
26240 clean-stageb3g2-libcpp:
26241 @if [ $(current_stage) = stageb3g2 ]; then \
26242 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26243 else \
26244 [ -f $(HOST_SUBDIR)/stageb3g2-libcpp/Makefile ] || exit 0; \
26245 $(MAKE) stageb3g2-start; \
26246 fi; \
26247 cd $(HOST_SUBDIR)/libcpp && \
26248 $(MAKE) $(EXTRA_HOST_FLAGS) \
26249 $(POSTSTAGE1_FLAGS_TO_PASS) \
26250 clean
26251 @endif libcpp-bootstrap
26254 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
26255 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
26256 maybe-all-stage4-libcpp:
26257 maybe-clean-stage4-libcpp:
26258 @if libcpp-bootstrap
26259 maybe-all-stage4-libcpp: all-stage4-libcpp
26260 all-stage4: all-stage4-libcpp
26261 TARGET-stage4-libcpp = $(TARGET-libcpp)
26262 all-stage4-libcpp: configure-stage4-libcpp
26263 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26264 @r=`${PWD_COMMAND}`; export r; \
26265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26266 $(HOST_EXPORTS) \
26267 $(POSTSTAGE1_HOST_EXPORTS) \
26268 cd $(HOST_SUBDIR)/libcpp && \
26269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26270 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
26271 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26272 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
26273 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26274 $(TARGET-stage4-libcpp)
26276 maybe-clean-stage4-libcpp: clean-stage4-libcpp
26277 clean-stage4: clean-stage4-libcpp
26278 clean-stage4-libcpp:
26279 @if [ $(current_stage) = stage4 ]; then \
26280 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26281 else \
26282 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
26283 $(MAKE) stage4-start; \
26284 fi; \
26285 cd $(HOST_SUBDIR)/libcpp && \
26286 $(MAKE) $(EXTRA_HOST_FLAGS) \
26287 $(POSTSTAGE1_FLAGS_TO_PASS) \
26288 clean
26289 @endif libcpp-bootstrap
26292 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
26293 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
26294 maybe-all-stageprofile-libcpp:
26295 maybe-clean-stageprofile-libcpp:
26296 @if libcpp-bootstrap
26297 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
26298 all-stageprofile: all-stageprofile-libcpp
26299 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
26300 all-stageprofile-libcpp: configure-stageprofile-libcpp
26301 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26302 @r=`${PWD_COMMAND}`; export r; \
26303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26304 $(HOST_EXPORTS) \
26305 $(POSTSTAGE1_HOST_EXPORTS) \
26306 cd $(HOST_SUBDIR)/libcpp && \
26307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26308 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
26309 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
26310 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
26311 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26312 $(TARGET-stageprofile-libcpp)
26314 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
26315 clean-stageprofile: clean-stageprofile-libcpp
26316 clean-stageprofile-libcpp:
26317 @if [ $(current_stage) = stageprofile ]; then \
26318 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26319 else \
26320 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
26321 $(MAKE) stageprofile-start; \
26322 fi; \
26323 cd $(HOST_SUBDIR)/libcpp && \
26324 $(MAKE) $(EXTRA_HOST_FLAGS) \
26325 $(POSTSTAGE1_FLAGS_TO_PASS) \
26326 clean
26327 @endif libcpp-bootstrap
26330 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
26331 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
26332 maybe-all-stagefeedback-libcpp:
26333 maybe-clean-stagefeedback-libcpp:
26334 @if libcpp-bootstrap
26335 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
26336 all-stagefeedback: all-stagefeedback-libcpp
26337 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
26338 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
26339 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26340 @r=`${PWD_COMMAND}`; export r; \
26341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26342 $(HOST_EXPORTS) \
26343 $(POSTSTAGE1_HOST_EXPORTS) \
26344 cd $(HOST_SUBDIR)/libcpp && \
26345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26346 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
26347 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
26348 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
26349 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26350 $(TARGET-stagefeedback-libcpp)
26352 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
26353 clean-stagefeedback: clean-stagefeedback-libcpp
26354 clean-stagefeedback-libcpp:
26355 @if [ $(current_stage) = stagefeedback ]; then \
26356 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26357 else \
26358 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
26359 $(MAKE) stagefeedback-start; \
26360 fi; \
26361 cd $(HOST_SUBDIR)/libcpp && \
26362 $(MAKE) $(EXTRA_HOST_FLAGS) \
26363 $(POSTSTAGE1_FLAGS_TO_PASS) \
26364 clean
26365 @endif libcpp-bootstrap
26371 .PHONY: check-libcpp maybe-check-libcpp
26372 maybe-check-libcpp:
26373 @if libcpp
26374 maybe-check-libcpp: check-libcpp
26376 check-libcpp:
26377 @: $(MAKE); $(unstage)
26378 @r=`${PWD_COMMAND}`; export r; \
26379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26380 $(HOST_EXPORTS) \
26381 (cd $(HOST_SUBDIR)/libcpp && \
26382 $(MAKE) $(FLAGS_TO_PASS) check)
26384 @endif libcpp
26386 .PHONY: install-libcpp maybe-install-libcpp
26387 maybe-install-libcpp:
26388 @if libcpp
26389 maybe-install-libcpp: install-libcpp
26391 install-libcpp: installdirs
26392 @: $(MAKE); $(unstage)
26393 @r=`${PWD_COMMAND}`; export r; \
26394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26395 $(HOST_EXPORTS) \
26396 (cd $(HOST_SUBDIR)/libcpp && \
26397 $(MAKE) $(FLAGS_TO_PASS) install)
26399 @endif libcpp
26401 # Other targets (info, dvi, pdf, etc.)
26403 .PHONY: maybe-info-libcpp info-libcpp
26404 maybe-info-libcpp:
26405 @if libcpp
26406 maybe-info-libcpp: info-libcpp
26408 info-libcpp: \
26409 configure-libcpp
26410 @[ -f ./libcpp/Makefile ] || exit 0; \
26411 r=`${PWD_COMMAND}`; export r; \
26412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26413 $(HOST_EXPORTS) \
26414 for flag in $(EXTRA_HOST_FLAGS) ; do \
26415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26416 done; \
26417 echo "Doing info in libcpp" ; \
26418 (cd $(HOST_SUBDIR)/libcpp && \
26419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26421 "RANLIB=$${RANLIB}" \
26422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26423 info) \
26424 || exit 1
26426 @endif libcpp
26428 .PHONY: maybe-dvi-libcpp dvi-libcpp
26429 maybe-dvi-libcpp:
26430 @if libcpp
26431 maybe-dvi-libcpp: dvi-libcpp
26433 dvi-libcpp: \
26434 configure-libcpp
26435 @[ -f ./libcpp/Makefile ] || exit 0; \
26436 r=`${PWD_COMMAND}`; export r; \
26437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26438 $(HOST_EXPORTS) \
26439 for flag in $(EXTRA_HOST_FLAGS) ; do \
26440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26441 done; \
26442 echo "Doing dvi in libcpp" ; \
26443 (cd $(HOST_SUBDIR)/libcpp && \
26444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26446 "RANLIB=$${RANLIB}" \
26447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26448 dvi) \
26449 || exit 1
26451 @endif libcpp
26453 .PHONY: maybe-pdf-libcpp pdf-libcpp
26454 maybe-pdf-libcpp:
26455 @if libcpp
26456 maybe-pdf-libcpp: pdf-libcpp
26458 pdf-libcpp: \
26459 configure-libcpp
26460 @[ -f ./libcpp/Makefile ] || exit 0; \
26461 r=`${PWD_COMMAND}`; export r; \
26462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26463 $(HOST_EXPORTS) \
26464 for flag in $(EXTRA_HOST_FLAGS) ; do \
26465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26466 done; \
26467 echo "Doing pdf in libcpp" ; \
26468 (cd $(HOST_SUBDIR)/libcpp && \
26469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26471 "RANLIB=$${RANLIB}" \
26472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26473 pdf) \
26474 || exit 1
26476 @endif libcpp
26478 .PHONY: maybe-html-libcpp html-libcpp
26479 maybe-html-libcpp:
26480 @if libcpp
26481 maybe-html-libcpp: html-libcpp
26483 html-libcpp: \
26484 configure-libcpp
26485 @[ -f ./libcpp/Makefile ] || exit 0; \
26486 r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(HOST_EXPORTS) \
26489 for flag in $(EXTRA_HOST_FLAGS) ; do \
26490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26491 done; \
26492 echo "Doing html in libcpp" ; \
26493 (cd $(HOST_SUBDIR)/libcpp && \
26494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26496 "RANLIB=$${RANLIB}" \
26497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26498 html) \
26499 || exit 1
26501 @endif libcpp
26503 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
26504 maybe-TAGS-libcpp:
26505 @if libcpp
26506 maybe-TAGS-libcpp: TAGS-libcpp
26508 TAGS-libcpp: \
26509 configure-libcpp
26510 @[ -f ./libcpp/Makefile ] || exit 0; \
26511 r=`${PWD_COMMAND}`; export r; \
26512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26513 $(HOST_EXPORTS) \
26514 for flag in $(EXTRA_HOST_FLAGS) ; do \
26515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26516 done; \
26517 echo "Doing TAGS in libcpp" ; \
26518 (cd $(HOST_SUBDIR)/libcpp && \
26519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26521 "RANLIB=$${RANLIB}" \
26522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26523 TAGS) \
26524 || exit 1
26526 @endif libcpp
26528 .PHONY: maybe-install-info-libcpp install-info-libcpp
26529 maybe-install-info-libcpp:
26530 @if libcpp
26531 maybe-install-info-libcpp: install-info-libcpp
26533 install-info-libcpp: \
26534 configure-libcpp \
26535 info-libcpp
26536 @[ -f ./libcpp/Makefile ] || exit 0; \
26537 r=`${PWD_COMMAND}`; export r; \
26538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26539 $(HOST_EXPORTS) \
26540 for flag in $(EXTRA_HOST_FLAGS) ; do \
26541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26542 done; \
26543 echo "Doing install-info in libcpp" ; \
26544 (cd $(HOST_SUBDIR)/libcpp && \
26545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26547 "RANLIB=$${RANLIB}" \
26548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26549 install-info) \
26550 || exit 1
26552 @endif libcpp
26554 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
26555 maybe-install-pdf-libcpp:
26556 @if libcpp
26557 maybe-install-pdf-libcpp: install-pdf-libcpp
26559 install-pdf-libcpp: \
26560 configure-libcpp \
26561 pdf-libcpp
26562 @[ -f ./libcpp/Makefile ] || exit 0; \
26563 r=`${PWD_COMMAND}`; export r; \
26564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26565 $(HOST_EXPORTS) \
26566 for flag in $(EXTRA_HOST_FLAGS) ; do \
26567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26568 done; \
26569 echo "Doing install-pdf in libcpp" ; \
26570 (cd $(HOST_SUBDIR)/libcpp && \
26571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26573 "RANLIB=$${RANLIB}" \
26574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26575 install-pdf) \
26576 || exit 1
26578 @endif libcpp
26580 .PHONY: maybe-install-html-libcpp install-html-libcpp
26581 maybe-install-html-libcpp:
26582 @if libcpp
26583 maybe-install-html-libcpp: install-html-libcpp
26585 install-html-libcpp: \
26586 configure-libcpp \
26587 html-libcpp
26588 @[ -f ./libcpp/Makefile ] || exit 0; \
26589 r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591 $(HOST_EXPORTS) \
26592 for flag in $(EXTRA_HOST_FLAGS) ; do \
26593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26594 done; \
26595 echo "Doing install-html in libcpp" ; \
26596 (cd $(HOST_SUBDIR)/libcpp && \
26597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26599 "RANLIB=$${RANLIB}" \
26600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26601 install-html) \
26602 || exit 1
26604 @endif libcpp
26606 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
26607 maybe-installcheck-libcpp:
26608 @if libcpp
26609 maybe-installcheck-libcpp: installcheck-libcpp
26611 installcheck-libcpp: \
26612 configure-libcpp
26613 @[ -f ./libcpp/Makefile ] || exit 0; \
26614 r=`${PWD_COMMAND}`; export r; \
26615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26616 $(HOST_EXPORTS) \
26617 for flag in $(EXTRA_HOST_FLAGS) ; do \
26618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26619 done; \
26620 echo "Doing installcheck in libcpp" ; \
26621 (cd $(HOST_SUBDIR)/libcpp && \
26622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26624 "RANLIB=$${RANLIB}" \
26625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26626 installcheck) \
26627 || exit 1
26629 @endif libcpp
26631 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
26632 maybe-mostlyclean-libcpp:
26633 @if libcpp
26634 maybe-mostlyclean-libcpp: mostlyclean-libcpp
26636 mostlyclean-libcpp:
26637 @[ -f ./libcpp/Makefile ] || exit 0; \
26638 r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26640 $(HOST_EXPORTS) \
26641 for flag in $(EXTRA_HOST_FLAGS) ; do \
26642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26643 done; \
26644 echo "Doing mostlyclean in libcpp" ; \
26645 (cd $(HOST_SUBDIR)/libcpp && \
26646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26648 "RANLIB=$${RANLIB}" \
26649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26650 mostlyclean) \
26651 || exit 1
26653 @endif libcpp
26655 .PHONY: maybe-clean-libcpp clean-libcpp
26656 maybe-clean-libcpp:
26657 @if libcpp
26658 maybe-clean-libcpp: clean-libcpp
26660 clean-libcpp:
26661 @[ -f ./libcpp/Makefile ] || exit 0; \
26662 r=`${PWD_COMMAND}`; export r; \
26663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26664 $(HOST_EXPORTS) \
26665 for flag in $(EXTRA_HOST_FLAGS) ; do \
26666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26667 done; \
26668 echo "Doing clean in libcpp" ; \
26669 (cd $(HOST_SUBDIR)/libcpp && \
26670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26672 "RANLIB=$${RANLIB}" \
26673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26674 clean) \
26675 || exit 1
26677 @endif libcpp
26679 .PHONY: maybe-distclean-libcpp distclean-libcpp
26680 maybe-distclean-libcpp:
26681 @if libcpp
26682 maybe-distclean-libcpp: distclean-libcpp
26684 distclean-libcpp:
26685 @[ -f ./libcpp/Makefile ] || exit 0; \
26686 r=`${PWD_COMMAND}`; export r; \
26687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26688 $(HOST_EXPORTS) \
26689 for flag in $(EXTRA_HOST_FLAGS) ; do \
26690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26691 done; \
26692 echo "Doing distclean in libcpp" ; \
26693 (cd $(HOST_SUBDIR)/libcpp && \
26694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26696 "RANLIB=$${RANLIB}" \
26697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26698 distclean) \
26699 || exit 1
26701 @endif libcpp
26703 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
26704 maybe-maintainer-clean-libcpp:
26705 @if libcpp
26706 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
26708 maintainer-clean-libcpp:
26709 @[ -f ./libcpp/Makefile ] || exit 0; \
26710 r=`${PWD_COMMAND}`; export r; \
26711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26712 $(HOST_EXPORTS) \
26713 for flag in $(EXTRA_HOST_FLAGS) ; do \
26714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26715 done; \
26716 echo "Doing maintainer-clean in libcpp" ; \
26717 (cd $(HOST_SUBDIR)/libcpp && \
26718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26720 "RANLIB=$${RANLIB}" \
26721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26722 maintainer-clean) \
26723 || exit 1
26725 @endif libcpp
26729 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
26730 maybe-configure-libdecnumber:
26731 @if gcc-bootstrap
26732 configure-libdecnumber: stage_current
26733 @endif gcc-bootstrap
26734 @if libdecnumber
26735 maybe-configure-libdecnumber: configure-libdecnumber
26736 configure-libdecnumber:
26737 @r=`${PWD_COMMAND}`; export r; \
26738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26739 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26741 $(HOST_EXPORTS) \
26742 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
26743 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
26744 case $(srcdir) in \
26745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26746 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26748 esac; \
26749 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26750 libsrcdir="$$s/libdecnumber"; \
26751 $(SHELL) $${libsrcdir}/configure \
26752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26753 --target=${target_alias} $${srcdiroption} \
26754 || exit 1
26755 @endif libdecnumber
26759 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
26760 maybe-configure-stage1-libdecnumber:
26761 @if libdecnumber-bootstrap
26762 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
26763 configure-stage1-libdecnumber:
26764 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26766 @r=`${PWD_COMMAND}`; export r; \
26767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26768 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26769 $(HOST_EXPORTS) \
26770 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26771 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
26772 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
26773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26774 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26775 case $(srcdir) in \
26776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26777 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26779 esac; \
26780 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26781 libsrcdir="$$s/libdecnumber"; \
26782 $(SHELL) $${libsrcdir}/configure \
26783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26784 --target=${target_alias} $${srcdiroption} \
26786 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26787 @endif libdecnumber-bootstrap
26789 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
26790 maybe-configure-stage2-libdecnumber:
26791 @if libdecnumber-bootstrap
26792 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
26793 configure-stage2-libdecnumber:
26794 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26795 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26796 @r=`${PWD_COMMAND}`; export r; \
26797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26798 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26799 $(HOST_EXPORTS) \
26800 $(POSTSTAGE1_HOST_EXPORTS) \
26801 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26802 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
26803 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
26804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26805 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26806 case $(srcdir) in \
26807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26808 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26810 esac; \
26811 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26812 libsrcdir="$$s/libdecnumber"; \
26813 $(SHELL) $${libsrcdir}/configure \
26814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26815 --target=${target_alias} $${srcdiroption} \
26816 --with-build-libsubdir=$(HOST_SUBDIR) \
26817 @stage2_werror_flag@
26818 @endif libdecnumber-bootstrap
26820 .PHONY: configure-stageb2g0-libdecnumber maybe-configure-stageb2g0-libdecnumber
26821 maybe-configure-stageb2g0-libdecnumber:
26822 @if libdecnumber-bootstrap
26823 maybe-configure-stageb2g0-libdecnumber: configure-stageb2g0-libdecnumber
26824 configure-stageb2g0-libdecnumber:
26825 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
26826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26827 @r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26829 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26830 $(HOST_EXPORTS) \
26831 $(POSTSTAGE1_HOST_EXPORTS) \
26832 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
26833 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
26834 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libdecnumber ; \
26835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26836 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26837 case $(srcdir) in \
26838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26839 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26841 esac; \
26842 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26843 libsrcdir="$$s/libdecnumber"; \
26844 $(SHELL) $${libsrcdir}/configure \
26845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26846 --target=${target_alias} $${srcdiroption} \
26847 --with-build-libsubdir=$(HOST_SUBDIR) \
26848 @stage2_werror_flag@
26849 @endif libdecnumber-bootstrap
26851 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
26852 maybe-configure-stage3-libdecnumber:
26853 @if libdecnumber-bootstrap
26854 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
26855 configure-stage3-libdecnumber:
26856 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26858 @r=`${PWD_COMMAND}`; export r; \
26859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26860 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26861 $(HOST_EXPORTS) \
26862 $(POSTSTAGE1_HOST_EXPORTS) \
26863 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26864 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
26865 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
26866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26867 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26868 case $(srcdir) in \
26869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26870 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26872 esac; \
26873 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26874 libsrcdir="$$s/libdecnumber"; \
26875 $(SHELL) $${libsrcdir}/configure \
26876 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26877 --target=${target_alias} $${srcdiroption} \
26878 --with-build-libsubdir=$(HOST_SUBDIR) \
26879 @stage2_werror_flag@
26880 @endif libdecnumber-bootstrap
26882 .PHONY: configure-stageb3g2-libdecnumber maybe-configure-stageb3g2-libdecnumber
26883 maybe-configure-stageb3g2-libdecnumber:
26884 @if libdecnumber-bootstrap
26885 maybe-configure-stageb3g2-libdecnumber: configure-stageb3g2-libdecnumber
26886 configure-stageb3g2-libdecnumber:
26887 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
26888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26889 @r=`${PWD_COMMAND}`; export r; \
26890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26891 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26892 $(HOST_EXPORTS) \
26893 $(POSTSTAGE1_HOST_EXPORTS) \
26894 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
26895 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
26896 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libdecnumber ; \
26897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26898 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26899 case $(srcdir) in \
26900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26901 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26903 esac; \
26904 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26905 libsrcdir="$$s/libdecnumber"; \
26906 $(SHELL) $${libsrcdir}/configure \
26907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26908 --target=${target_alias} $${srcdiroption} \
26909 --with-build-libsubdir=$(HOST_SUBDIR) \
26910 @stage2_werror_flag@
26911 @endif libdecnumber-bootstrap
26913 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
26914 maybe-configure-stage4-libdecnumber:
26915 @if libdecnumber-bootstrap
26916 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
26917 configure-stage4-libdecnumber:
26918 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26920 @r=`${PWD_COMMAND}`; export r; \
26921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26922 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26923 $(HOST_EXPORTS) \
26924 $(POSTSTAGE1_HOST_EXPORTS) \
26925 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26926 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
26927 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
26928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26929 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26930 case $(srcdir) in \
26931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26932 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26934 esac; \
26935 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26936 libsrcdir="$$s/libdecnumber"; \
26937 $(SHELL) $${libsrcdir}/configure \
26938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26939 --target=${target_alias} $${srcdiroption} \
26940 --with-build-libsubdir=$(HOST_SUBDIR) \
26941 @stage2_werror_flag@
26942 @endif libdecnumber-bootstrap
26944 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
26945 maybe-configure-stageprofile-libdecnumber:
26946 @if libdecnumber-bootstrap
26947 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
26948 configure-stageprofile-libdecnumber:
26949 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26951 @r=`${PWD_COMMAND}`; export r; \
26952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26953 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26954 $(HOST_EXPORTS) \
26955 $(POSTSTAGE1_HOST_EXPORTS) \
26956 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
26957 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
26958 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
26959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26960 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26961 case $(srcdir) in \
26962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26963 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26965 esac; \
26966 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26967 libsrcdir="$$s/libdecnumber"; \
26968 $(SHELL) $${libsrcdir}/configure \
26969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26970 --target=${target_alias} $${srcdiroption} \
26971 --with-build-libsubdir=$(HOST_SUBDIR) \
26972 @stage2_werror_flag@
26973 @endif libdecnumber-bootstrap
26975 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
26976 maybe-configure-stagefeedback-libdecnumber:
26977 @if libdecnumber-bootstrap
26978 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
26979 configure-stagefeedback-libdecnumber:
26980 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26982 @r=`${PWD_COMMAND}`; export r; \
26983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26984 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26985 $(HOST_EXPORTS) \
26986 $(POSTSTAGE1_HOST_EXPORTS) \
26987 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
26988 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
26989 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
26990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26991 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26992 case $(srcdir) in \
26993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26994 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26996 esac; \
26997 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26998 libsrcdir="$$s/libdecnumber"; \
26999 $(SHELL) $${libsrcdir}/configure \
27000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27001 --target=${target_alias} $${srcdiroption} \
27002 --with-build-libsubdir=$(HOST_SUBDIR) \
27003 @stage2_werror_flag@
27004 @endif libdecnumber-bootstrap
27010 .PHONY: all-libdecnumber maybe-all-libdecnumber
27011 maybe-all-libdecnumber:
27012 @if gcc-bootstrap
27013 all-libdecnumber: stage_current
27014 @endif gcc-bootstrap
27015 @if libdecnumber
27016 TARGET-libdecnumber=all
27017 maybe-all-libdecnumber: all-libdecnumber
27018 all-libdecnumber: configure-libdecnumber
27019 @r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27021 $(HOST_EXPORTS) \
27022 (cd $(HOST_SUBDIR)/libdecnumber && \
27023 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27024 $(TARGET-libdecnumber))
27025 @endif libdecnumber
27029 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
27030 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
27031 maybe-all-stage1-libdecnumber:
27032 maybe-clean-stage1-libdecnumber:
27033 @if libdecnumber-bootstrap
27034 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
27035 all-stage1: all-stage1-libdecnumber
27036 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
27037 all-stage1-libdecnumber: configure-stage1-libdecnumber
27038 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27039 @r=`${PWD_COMMAND}`; export r; \
27040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27041 $(HOST_EXPORTS) \
27042 cd $(HOST_SUBDIR)/libdecnumber && \
27043 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27044 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
27045 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
27046 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
27047 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
27048 $(TARGET-stage1-libdecnumber)
27050 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
27051 clean-stage1: clean-stage1-libdecnumber
27052 clean-stage1-libdecnumber:
27053 @if [ $(current_stage) = stage1 ]; then \
27054 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27055 else \
27056 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
27057 $(MAKE) stage1-start; \
27058 fi; \
27059 cd $(HOST_SUBDIR)/libdecnumber && \
27060 $(MAKE) $(EXTRA_HOST_FLAGS) \
27061 clean
27062 @endif libdecnumber-bootstrap
27065 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
27066 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
27067 maybe-all-stage2-libdecnumber:
27068 maybe-clean-stage2-libdecnumber:
27069 @if libdecnumber-bootstrap
27070 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
27071 all-stage2: all-stage2-libdecnumber
27072 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
27073 all-stage2-libdecnumber: configure-stage2-libdecnumber
27074 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27075 @r=`${PWD_COMMAND}`; export r; \
27076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27077 $(HOST_EXPORTS) \
27078 $(POSTSTAGE1_HOST_EXPORTS) \
27079 cd $(HOST_SUBDIR)/libdecnumber && \
27080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27081 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
27082 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
27083 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
27084 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27085 $(TARGET-stage2-libdecnumber)
27087 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
27088 clean-stage2: clean-stage2-libdecnumber
27089 clean-stage2-libdecnumber:
27090 @if [ $(current_stage) = stage2 ]; then \
27091 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27092 else \
27093 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
27094 $(MAKE) stage2-start; \
27095 fi; \
27096 cd $(HOST_SUBDIR)/libdecnumber && \
27097 $(MAKE) $(EXTRA_HOST_FLAGS) \
27098 $(POSTSTAGE1_FLAGS_TO_PASS) \
27099 clean
27100 @endif libdecnumber-bootstrap
27103 .PHONY: all-stageb2g0-libdecnumber maybe-all-stageb2g0-libdecnumber
27104 .PHONY: clean-stageb2g0-libdecnumber maybe-clean-stageb2g0-libdecnumber
27105 maybe-all-stageb2g0-libdecnumber:
27106 maybe-clean-stageb2g0-libdecnumber:
27107 @if libdecnumber-bootstrap
27108 maybe-all-stageb2g0-libdecnumber: all-stageb2g0-libdecnumber
27109 all-stageb2g0: all-stageb2g0-libdecnumber
27110 TARGET-stageb2g0-libdecnumber = $(TARGET-libdecnumber)
27111 all-stageb2g0-libdecnumber: configure-stageb2g0-libdecnumber
27112 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
27113 @r=`${PWD_COMMAND}`; export r; \
27114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27115 $(HOST_EXPORTS) \
27116 $(POSTSTAGE1_HOST_EXPORTS) \
27117 cd $(HOST_SUBDIR)/libdecnumber && \
27118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27119 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
27120 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
27121 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
27122 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27123 $(TARGET-stageb2g0-libdecnumber)
27125 maybe-clean-stageb2g0-libdecnumber: clean-stageb2g0-libdecnumber
27126 clean-stageb2g0: clean-stageb2g0-libdecnumber
27127 clean-stageb2g0-libdecnumber:
27128 @if [ $(current_stage) = stageb2g0 ]; then \
27129 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27130 else \
27131 [ -f $(HOST_SUBDIR)/stageb2g0-libdecnumber/Makefile ] || exit 0; \
27132 $(MAKE) stageb2g0-start; \
27133 fi; \
27134 cd $(HOST_SUBDIR)/libdecnumber && \
27135 $(MAKE) $(EXTRA_HOST_FLAGS) \
27136 $(POSTSTAGE1_FLAGS_TO_PASS) \
27137 clean
27138 @endif libdecnumber-bootstrap
27141 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
27142 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
27143 maybe-all-stage3-libdecnumber:
27144 maybe-clean-stage3-libdecnumber:
27145 @if libdecnumber-bootstrap
27146 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
27147 all-stage3: all-stage3-libdecnumber
27148 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
27149 all-stage3-libdecnumber: configure-stage3-libdecnumber
27150 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27151 @r=`${PWD_COMMAND}`; export r; \
27152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27153 $(HOST_EXPORTS) \
27154 $(POSTSTAGE1_HOST_EXPORTS) \
27155 cd $(HOST_SUBDIR)/libdecnumber && \
27156 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27157 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
27158 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
27159 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
27160 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27161 $(TARGET-stage3-libdecnumber)
27163 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
27164 clean-stage3: clean-stage3-libdecnumber
27165 clean-stage3-libdecnumber:
27166 @if [ $(current_stage) = stage3 ]; then \
27167 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27168 else \
27169 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
27170 $(MAKE) stage3-start; \
27171 fi; \
27172 cd $(HOST_SUBDIR)/libdecnumber && \
27173 $(MAKE) $(EXTRA_HOST_FLAGS) \
27174 $(POSTSTAGE1_FLAGS_TO_PASS) \
27175 clean
27176 @endif libdecnumber-bootstrap
27179 .PHONY: all-stageb3g2-libdecnumber maybe-all-stageb3g2-libdecnumber
27180 .PHONY: clean-stageb3g2-libdecnumber maybe-clean-stageb3g2-libdecnumber
27181 maybe-all-stageb3g2-libdecnumber:
27182 maybe-clean-stageb3g2-libdecnumber:
27183 @if libdecnumber-bootstrap
27184 maybe-all-stageb3g2-libdecnumber: all-stageb3g2-libdecnumber
27185 all-stageb3g2: all-stageb3g2-libdecnumber
27186 TARGET-stageb3g2-libdecnumber = $(TARGET-libdecnumber)
27187 all-stageb3g2-libdecnumber: configure-stageb3g2-libdecnumber
27188 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
27189 @r=`${PWD_COMMAND}`; export r; \
27190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27191 $(HOST_EXPORTS) \
27192 $(POSTSTAGE1_HOST_EXPORTS) \
27193 cd $(HOST_SUBDIR)/libdecnumber && \
27194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27195 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
27196 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
27197 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
27198 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27199 $(TARGET-stageb3g2-libdecnumber)
27201 maybe-clean-stageb3g2-libdecnumber: clean-stageb3g2-libdecnumber
27202 clean-stageb3g2: clean-stageb3g2-libdecnumber
27203 clean-stageb3g2-libdecnumber:
27204 @if [ $(current_stage) = stageb3g2 ]; then \
27205 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27206 else \
27207 [ -f $(HOST_SUBDIR)/stageb3g2-libdecnumber/Makefile ] || exit 0; \
27208 $(MAKE) stageb3g2-start; \
27209 fi; \
27210 cd $(HOST_SUBDIR)/libdecnumber && \
27211 $(MAKE) $(EXTRA_HOST_FLAGS) \
27212 $(POSTSTAGE1_FLAGS_TO_PASS) \
27213 clean
27214 @endif libdecnumber-bootstrap
27217 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
27218 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
27219 maybe-all-stage4-libdecnumber:
27220 maybe-clean-stage4-libdecnumber:
27221 @if libdecnumber-bootstrap
27222 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
27223 all-stage4: all-stage4-libdecnumber
27224 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
27225 all-stage4-libdecnumber: configure-stage4-libdecnumber
27226 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27227 @r=`${PWD_COMMAND}`; export r; \
27228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27229 $(HOST_EXPORTS) \
27230 $(POSTSTAGE1_HOST_EXPORTS) \
27231 cd $(HOST_SUBDIR)/libdecnumber && \
27232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27233 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
27234 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27235 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
27236 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27237 $(TARGET-stage4-libdecnumber)
27239 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
27240 clean-stage4: clean-stage4-libdecnumber
27241 clean-stage4-libdecnumber:
27242 @if [ $(current_stage) = stage4 ]; then \
27243 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27244 else \
27245 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
27246 $(MAKE) stage4-start; \
27247 fi; \
27248 cd $(HOST_SUBDIR)/libdecnumber && \
27249 $(MAKE) $(EXTRA_HOST_FLAGS) \
27250 $(POSTSTAGE1_FLAGS_TO_PASS) \
27251 clean
27252 @endif libdecnumber-bootstrap
27255 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
27256 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
27257 maybe-all-stageprofile-libdecnumber:
27258 maybe-clean-stageprofile-libdecnumber:
27259 @if libdecnumber-bootstrap
27260 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
27261 all-stageprofile: all-stageprofile-libdecnumber
27262 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
27263 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
27264 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27265 @r=`${PWD_COMMAND}`; export r; \
27266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27267 $(HOST_EXPORTS) \
27268 $(POSTSTAGE1_HOST_EXPORTS) \
27269 cd $(HOST_SUBDIR)/libdecnumber && \
27270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27271 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
27272 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
27273 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
27274 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27275 $(TARGET-stageprofile-libdecnumber)
27277 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
27278 clean-stageprofile: clean-stageprofile-libdecnumber
27279 clean-stageprofile-libdecnumber:
27280 @if [ $(current_stage) = stageprofile ]; then \
27281 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27282 else \
27283 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
27284 $(MAKE) stageprofile-start; \
27285 fi; \
27286 cd $(HOST_SUBDIR)/libdecnumber && \
27287 $(MAKE) $(EXTRA_HOST_FLAGS) \
27288 $(POSTSTAGE1_FLAGS_TO_PASS) \
27289 clean
27290 @endif libdecnumber-bootstrap
27293 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
27294 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
27295 maybe-all-stagefeedback-libdecnumber:
27296 maybe-clean-stagefeedback-libdecnumber:
27297 @if libdecnumber-bootstrap
27298 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
27299 all-stagefeedback: all-stagefeedback-libdecnumber
27300 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
27301 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
27302 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27303 @r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27305 $(HOST_EXPORTS) \
27306 $(POSTSTAGE1_HOST_EXPORTS) \
27307 cd $(HOST_SUBDIR)/libdecnumber && \
27308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27309 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
27310 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
27311 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
27312 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27313 $(TARGET-stagefeedback-libdecnumber)
27315 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
27316 clean-stagefeedback: clean-stagefeedback-libdecnumber
27317 clean-stagefeedback-libdecnumber:
27318 @if [ $(current_stage) = stagefeedback ]; then \
27319 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27320 else \
27321 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
27322 $(MAKE) stagefeedback-start; \
27323 fi; \
27324 cd $(HOST_SUBDIR)/libdecnumber && \
27325 $(MAKE) $(EXTRA_HOST_FLAGS) \
27326 $(POSTSTAGE1_FLAGS_TO_PASS) \
27327 clean
27328 @endif libdecnumber-bootstrap
27334 .PHONY: check-libdecnumber maybe-check-libdecnumber
27335 maybe-check-libdecnumber:
27336 @if libdecnumber
27337 maybe-check-libdecnumber: check-libdecnumber
27339 check-libdecnumber:
27340 @: $(MAKE); $(unstage)
27341 @r=`${PWD_COMMAND}`; export r; \
27342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27343 $(HOST_EXPORTS) \
27344 (cd $(HOST_SUBDIR)/libdecnumber && \
27345 $(MAKE) $(FLAGS_TO_PASS) check)
27347 @endif libdecnumber
27349 .PHONY: install-libdecnumber maybe-install-libdecnumber
27350 maybe-install-libdecnumber:
27351 @if libdecnumber
27352 maybe-install-libdecnumber: install-libdecnumber
27354 install-libdecnumber: installdirs
27355 @: $(MAKE); $(unstage)
27356 @r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 (cd $(HOST_SUBDIR)/libdecnumber && \
27360 $(MAKE) $(FLAGS_TO_PASS) install)
27362 @endif libdecnumber
27364 # Other targets (info, dvi, pdf, etc.)
27366 .PHONY: maybe-info-libdecnumber info-libdecnumber
27367 maybe-info-libdecnumber:
27368 @if libdecnumber
27369 maybe-info-libdecnumber: info-libdecnumber
27371 info-libdecnumber: \
27372 configure-libdecnumber
27373 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27374 r=`${PWD_COMMAND}`; export r; \
27375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376 $(HOST_EXPORTS) \
27377 for flag in $(EXTRA_HOST_FLAGS) ; do \
27378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27379 done; \
27380 echo "Doing info in libdecnumber" ; \
27381 (cd $(HOST_SUBDIR)/libdecnumber && \
27382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27384 "RANLIB=$${RANLIB}" \
27385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27386 info) \
27387 || exit 1
27389 @endif libdecnumber
27391 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
27392 maybe-dvi-libdecnumber:
27393 @if libdecnumber
27394 maybe-dvi-libdecnumber: dvi-libdecnumber
27396 dvi-libdecnumber: \
27397 configure-libdecnumber
27398 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27399 r=`${PWD_COMMAND}`; export r; \
27400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27401 $(HOST_EXPORTS) \
27402 for flag in $(EXTRA_HOST_FLAGS) ; do \
27403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27404 done; \
27405 echo "Doing dvi in libdecnumber" ; \
27406 (cd $(HOST_SUBDIR)/libdecnumber && \
27407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27409 "RANLIB=$${RANLIB}" \
27410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27411 dvi) \
27412 || exit 1
27414 @endif libdecnumber
27416 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
27417 maybe-pdf-libdecnumber:
27418 @if libdecnumber
27419 maybe-pdf-libdecnumber: pdf-libdecnumber
27421 pdf-libdecnumber: \
27422 configure-libdecnumber
27423 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27424 r=`${PWD_COMMAND}`; export r; \
27425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27426 $(HOST_EXPORTS) \
27427 for flag in $(EXTRA_HOST_FLAGS) ; do \
27428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27429 done; \
27430 echo "Doing pdf in libdecnumber" ; \
27431 (cd $(HOST_SUBDIR)/libdecnumber && \
27432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27434 "RANLIB=$${RANLIB}" \
27435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27436 pdf) \
27437 || exit 1
27439 @endif libdecnumber
27441 .PHONY: maybe-html-libdecnumber html-libdecnumber
27442 maybe-html-libdecnumber:
27443 @if libdecnumber
27444 maybe-html-libdecnumber: html-libdecnumber
27446 html-libdecnumber: \
27447 configure-libdecnumber
27448 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27449 r=`${PWD_COMMAND}`; export r; \
27450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27451 $(HOST_EXPORTS) \
27452 for flag in $(EXTRA_HOST_FLAGS) ; do \
27453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27454 done; \
27455 echo "Doing html in libdecnumber" ; \
27456 (cd $(HOST_SUBDIR)/libdecnumber && \
27457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27459 "RANLIB=$${RANLIB}" \
27460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27461 html) \
27462 || exit 1
27464 @endif libdecnumber
27466 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
27467 maybe-TAGS-libdecnumber:
27468 @if libdecnumber
27469 maybe-TAGS-libdecnumber: TAGS-libdecnumber
27471 TAGS-libdecnumber: \
27472 configure-libdecnumber
27473 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27474 r=`${PWD_COMMAND}`; export r; \
27475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476 $(HOST_EXPORTS) \
27477 for flag in $(EXTRA_HOST_FLAGS) ; do \
27478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27479 done; \
27480 echo "Doing TAGS in libdecnumber" ; \
27481 (cd $(HOST_SUBDIR)/libdecnumber && \
27482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27484 "RANLIB=$${RANLIB}" \
27485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27486 TAGS) \
27487 || exit 1
27489 @endif libdecnumber
27491 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
27492 maybe-install-info-libdecnumber:
27493 @if libdecnumber
27494 maybe-install-info-libdecnumber: install-info-libdecnumber
27496 install-info-libdecnumber: \
27497 configure-libdecnumber \
27498 info-libdecnumber
27499 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27500 r=`${PWD_COMMAND}`; export r; \
27501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27502 $(HOST_EXPORTS) \
27503 for flag in $(EXTRA_HOST_FLAGS) ; do \
27504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27505 done; \
27506 echo "Doing install-info in libdecnumber" ; \
27507 (cd $(HOST_SUBDIR)/libdecnumber && \
27508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27510 "RANLIB=$${RANLIB}" \
27511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27512 install-info) \
27513 || exit 1
27515 @endif libdecnumber
27517 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
27518 maybe-install-pdf-libdecnumber:
27519 @if libdecnumber
27520 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
27522 install-pdf-libdecnumber: \
27523 configure-libdecnumber \
27524 pdf-libdecnumber
27525 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27526 r=`${PWD_COMMAND}`; export r; \
27527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27528 $(HOST_EXPORTS) \
27529 for flag in $(EXTRA_HOST_FLAGS) ; do \
27530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27531 done; \
27532 echo "Doing install-pdf in libdecnumber" ; \
27533 (cd $(HOST_SUBDIR)/libdecnumber && \
27534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27536 "RANLIB=$${RANLIB}" \
27537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27538 install-pdf) \
27539 || exit 1
27541 @endif libdecnumber
27543 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
27544 maybe-install-html-libdecnumber:
27545 @if libdecnumber
27546 maybe-install-html-libdecnumber: install-html-libdecnumber
27548 install-html-libdecnumber: \
27549 configure-libdecnumber \
27550 html-libdecnumber
27551 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27552 r=`${PWD_COMMAND}`; export r; \
27553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27554 $(HOST_EXPORTS) \
27555 for flag in $(EXTRA_HOST_FLAGS) ; do \
27556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27557 done; \
27558 echo "Doing install-html in libdecnumber" ; \
27559 (cd $(HOST_SUBDIR)/libdecnumber && \
27560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27562 "RANLIB=$${RANLIB}" \
27563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27564 install-html) \
27565 || exit 1
27567 @endif libdecnumber
27569 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
27570 maybe-installcheck-libdecnumber:
27571 @if libdecnumber
27572 maybe-installcheck-libdecnumber: installcheck-libdecnumber
27574 installcheck-libdecnumber: \
27575 configure-libdecnumber
27576 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27577 r=`${PWD_COMMAND}`; export r; \
27578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27579 $(HOST_EXPORTS) \
27580 for flag in $(EXTRA_HOST_FLAGS) ; do \
27581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27582 done; \
27583 echo "Doing installcheck in libdecnumber" ; \
27584 (cd $(HOST_SUBDIR)/libdecnumber && \
27585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27587 "RANLIB=$${RANLIB}" \
27588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27589 installcheck) \
27590 || exit 1
27592 @endif libdecnumber
27594 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
27595 maybe-mostlyclean-libdecnumber:
27596 @if libdecnumber
27597 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
27599 mostlyclean-libdecnumber:
27600 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27601 r=`${PWD_COMMAND}`; export r; \
27602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27603 $(HOST_EXPORTS) \
27604 for flag in $(EXTRA_HOST_FLAGS) ; do \
27605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27606 done; \
27607 echo "Doing mostlyclean in libdecnumber" ; \
27608 (cd $(HOST_SUBDIR)/libdecnumber && \
27609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27611 "RANLIB=$${RANLIB}" \
27612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27613 mostlyclean) \
27614 || exit 1
27616 @endif libdecnumber
27618 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
27619 maybe-clean-libdecnumber:
27620 @if libdecnumber
27621 maybe-clean-libdecnumber: clean-libdecnumber
27623 clean-libdecnumber:
27624 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27625 r=`${PWD_COMMAND}`; export r; \
27626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27627 $(HOST_EXPORTS) \
27628 for flag in $(EXTRA_HOST_FLAGS) ; do \
27629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27630 done; \
27631 echo "Doing clean in libdecnumber" ; \
27632 (cd $(HOST_SUBDIR)/libdecnumber && \
27633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27635 "RANLIB=$${RANLIB}" \
27636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27637 clean) \
27638 || exit 1
27640 @endif libdecnumber
27642 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
27643 maybe-distclean-libdecnumber:
27644 @if libdecnumber
27645 maybe-distclean-libdecnumber: distclean-libdecnumber
27647 distclean-libdecnumber:
27648 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27649 r=`${PWD_COMMAND}`; export r; \
27650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27651 $(HOST_EXPORTS) \
27652 for flag in $(EXTRA_HOST_FLAGS) ; do \
27653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27654 done; \
27655 echo "Doing distclean in libdecnumber" ; \
27656 (cd $(HOST_SUBDIR)/libdecnumber && \
27657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27659 "RANLIB=$${RANLIB}" \
27660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27661 distclean) \
27662 || exit 1
27664 @endif libdecnumber
27666 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
27667 maybe-maintainer-clean-libdecnumber:
27668 @if libdecnumber
27669 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
27671 maintainer-clean-libdecnumber:
27672 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27673 r=`${PWD_COMMAND}`; export r; \
27674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27675 $(HOST_EXPORTS) \
27676 for flag in $(EXTRA_HOST_FLAGS) ; do \
27677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27678 done; \
27679 echo "Doing maintainer-clean in libdecnumber" ; \
27680 (cd $(HOST_SUBDIR)/libdecnumber && \
27681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27683 "RANLIB=$${RANLIB}" \
27684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27685 maintainer-clean) \
27686 || exit 1
27688 @endif libdecnumber
27692 .PHONY: configure-libgui maybe-configure-libgui
27693 maybe-configure-libgui:
27694 @if gcc-bootstrap
27695 configure-libgui: stage_current
27696 @endif gcc-bootstrap
27697 @if libgui
27698 maybe-configure-libgui: configure-libgui
27699 configure-libgui:
27700 @: $(MAKE); $(unstage)
27701 @r=`${PWD_COMMAND}`; export r; \
27702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27703 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
27704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
27705 $(HOST_EXPORTS) \
27706 echo Configuring in $(HOST_SUBDIR)/libgui; \
27707 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
27708 case $(srcdir) in \
27709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27710 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
27711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27712 esac; \
27713 srcdiroption="--srcdir=$${topdir}/libgui"; \
27714 libsrcdir="$$s/libgui"; \
27715 $(SHELL) $${libsrcdir}/configure \
27716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27717 --target=${target_alias} $${srcdiroption} \
27718 || exit 1
27719 @endif libgui
27725 .PHONY: all-libgui maybe-all-libgui
27726 maybe-all-libgui:
27727 @if gcc-bootstrap
27728 all-libgui: stage_current
27729 @endif gcc-bootstrap
27730 @if libgui
27731 TARGET-libgui=all
27732 maybe-all-libgui: all-libgui
27733 all-libgui: configure-libgui
27734 @: $(MAKE); $(unstage)
27735 @r=`${PWD_COMMAND}`; export r; \
27736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27737 $(HOST_EXPORTS) \
27738 (cd $(HOST_SUBDIR)/libgui && \
27739 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27740 $(TARGET-libgui))
27741 @endif libgui
27746 .PHONY: check-libgui maybe-check-libgui
27747 maybe-check-libgui:
27748 @if libgui
27749 maybe-check-libgui: check-libgui
27751 check-libgui:
27752 @: $(MAKE); $(unstage)
27753 @r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755 $(HOST_EXPORTS) \
27756 (cd $(HOST_SUBDIR)/libgui && \
27757 $(MAKE) $(FLAGS_TO_PASS) check)
27759 @endif libgui
27761 .PHONY: install-libgui maybe-install-libgui
27762 maybe-install-libgui:
27763 @if libgui
27764 maybe-install-libgui: install-libgui
27766 install-libgui: installdirs
27767 @: $(MAKE); $(unstage)
27768 @r=`${PWD_COMMAND}`; export r; \
27769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27770 $(HOST_EXPORTS) \
27771 (cd $(HOST_SUBDIR)/libgui && \
27772 $(MAKE) $(FLAGS_TO_PASS) install)
27774 @endif libgui
27776 # Other targets (info, dvi, pdf, etc.)
27778 .PHONY: maybe-info-libgui info-libgui
27779 maybe-info-libgui:
27780 @if libgui
27781 maybe-info-libgui: info-libgui
27783 info-libgui: \
27784 configure-libgui
27785 @: $(MAKE); $(unstage)
27786 @[ -f ./libgui/Makefile ] || exit 0; \
27787 r=`${PWD_COMMAND}`; export r; \
27788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27789 $(HOST_EXPORTS) \
27790 for flag in $(EXTRA_HOST_FLAGS) ; do \
27791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27792 done; \
27793 echo "Doing info in libgui" ; \
27794 (cd $(HOST_SUBDIR)/libgui && \
27795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27797 "RANLIB=$${RANLIB}" \
27798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27799 info) \
27800 || exit 1
27802 @endif libgui
27804 .PHONY: maybe-dvi-libgui dvi-libgui
27805 maybe-dvi-libgui:
27806 @if libgui
27807 maybe-dvi-libgui: dvi-libgui
27809 dvi-libgui: \
27810 configure-libgui
27811 @: $(MAKE); $(unstage)
27812 @[ -f ./libgui/Makefile ] || exit 0; \
27813 r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27815 $(HOST_EXPORTS) \
27816 for flag in $(EXTRA_HOST_FLAGS) ; do \
27817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27818 done; \
27819 echo "Doing dvi in libgui" ; \
27820 (cd $(HOST_SUBDIR)/libgui && \
27821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27823 "RANLIB=$${RANLIB}" \
27824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27825 dvi) \
27826 || exit 1
27828 @endif libgui
27830 .PHONY: maybe-pdf-libgui pdf-libgui
27831 maybe-pdf-libgui:
27832 @if libgui
27833 maybe-pdf-libgui: pdf-libgui
27835 pdf-libgui: \
27836 configure-libgui
27837 @: $(MAKE); $(unstage)
27838 @[ -f ./libgui/Makefile ] || exit 0; \
27839 r=`${PWD_COMMAND}`; export r; \
27840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27841 $(HOST_EXPORTS) \
27842 for flag in $(EXTRA_HOST_FLAGS) ; do \
27843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27844 done; \
27845 echo "Doing pdf in libgui" ; \
27846 (cd $(HOST_SUBDIR)/libgui && \
27847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27849 "RANLIB=$${RANLIB}" \
27850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27851 pdf) \
27852 || exit 1
27854 @endif libgui
27856 .PHONY: maybe-html-libgui html-libgui
27857 maybe-html-libgui:
27858 @if libgui
27859 maybe-html-libgui: html-libgui
27861 html-libgui: \
27862 configure-libgui
27863 @: $(MAKE); $(unstage)
27864 @[ -f ./libgui/Makefile ] || exit 0; \
27865 r=`${PWD_COMMAND}`; export r; \
27866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27867 $(HOST_EXPORTS) \
27868 for flag in $(EXTRA_HOST_FLAGS) ; do \
27869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27870 done; \
27871 echo "Doing html in libgui" ; \
27872 (cd $(HOST_SUBDIR)/libgui && \
27873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27875 "RANLIB=$${RANLIB}" \
27876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27877 html) \
27878 || exit 1
27880 @endif libgui
27882 .PHONY: maybe-TAGS-libgui TAGS-libgui
27883 maybe-TAGS-libgui:
27884 @if libgui
27885 maybe-TAGS-libgui: TAGS-libgui
27887 TAGS-libgui: \
27888 configure-libgui
27889 @: $(MAKE); $(unstage)
27890 @[ -f ./libgui/Makefile ] || exit 0; \
27891 r=`${PWD_COMMAND}`; export r; \
27892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27893 $(HOST_EXPORTS) \
27894 for flag in $(EXTRA_HOST_FLAGS) ; do \
27895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27896 done; \
27897 echo "Doing TAGS in libgui" ; \
27898 (cd $(HOST_SUBDIR)/libgui && \
27899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27901 "RANLIB=$${RANLIB}" \
27902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27903 TAGS) \
27904 || exit 1
27906 @endif libgui
27908 .PHONY: maybe-install-info-libgui install-info-libgui
27909 maybe-install-info-libgui:
27910 @if libgui
27911 maybe-install-info-libgui: install-info-libgui
27913 install-info-libgui: \
27914 configure-libgui \
27915 info-libgui
27916 @: $(MAKE); $(unstage)
27917 @[ -f ./libgui/Makefile ] || exit 0; \
27918 r=`${PWD_COMMAND}`; export r; \
27919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27920 $(HOST_EXPORTS) \
27921 for flag in $(EXTRA_HOST_FLAGS) ; do \
27922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27923 done; \
27924 echo "Doing install-info in libgui" ; \
27925 (cd $(HOST_SUBDIR)/libgui && \
27926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27928 "RANLIB=$${RANLIB}" \
27929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27930 install-info) \
27931 || exit 1
27933 @endif libgui
27935 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
27936 maybe-install-pdf-libgui:
27937 @if libgui
27938 maybe-install-pdf-libgui: install-pdf-libgui
27940 install-pdf-libgui: \
27941 configure-libgui \
27942 pdf-libgui
27943 @: $(MAKE); $(unstage)
27944 @[ -f ./libgui/Makefile ] || exit 0; \
27945 r=`${PWD_COMMAND}`; export r; \
27946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27947 $(HOST_EXPORTS) \
27948 for flag in $(EXTRA_HOST_FLAGS) ; do \
27949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27950 done; \
27951 echo "Doing install-pdf in libgui" ; \
27952 (cd $(HOST_SUBDIR)/libgui && \
27953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27955 "RANLIB=$${RANLIB}" \
27956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27957 install-pdf) \
27958 || exit 1
27960 @endif libgui
27962 .PHONY: maybe-install-html-libgui install-html-libgui
27963 maybe-install-html-libgui:
27964 @if libgui
27965 maybe-install-html-libgui: install-html-libgui
27967 install-html-libgui: \
27968 configure-libgui \
27969 html-libgui
27970 @: $(MAKE); $(unstage)
27971 @[ -f ./libgui/Makefile ] || exit 0; \
27972 r=`${PWD_COMMAND}`; export r; \
27973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27974 $(HOST_EXPORTS) \
27975 for flag in $(EXTRA_HOST_FLAGS) ; do \
27976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27977 done; \
27978 echo "Doing install-html in libgui" ; \
27979 (cd $(HOST_SUBDIR)/libgui && \
27980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27982 "RANLIB=$${RANLIB}" \
27983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27984 install-html) \
27985 || exit 1
27987 @endif libgui
27989 .PHONY: maybe-installcheck-libgui installcheck-libgui
27990 maybe-installcheck-libgui:
27991 @if libgui
27992 maybe-installcheck-libgui: installcheck-libgui
27994 installcheck-libgui: \
27995 configure-libgui
27996 @: $(MAKE); $(unstage)
27997 @[ -f ./libgui/Makefile ] || exit 0; \
27998 r=`${PWD_COMMAND}`; export r; \
27999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28000 $(HOST_EXPORTS) \
28001 for flag in $(EXTRA_HOST_FLAGS) ; do \
28002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28003 done; \
28004 echo "Doing installcheck in libgui" ; \
28005 (cd $(HOST_SUBDIR)/libgui && \
28006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28008 "RANLIB=$${RANLIB}" \
28009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28010 installcheck) \
28011 || exit 1
28013 @endif libgui
28015 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
28016 maybe-mostlyclean-libgui:
28017 @if libgui
28018 maybe-mostlyclean-libgui: mostlyclean-libgui
28020 mostlyclean-libgui:
28021 @: $(MAKE); $(unstage)
28022 @[ -f ./libgui/Makefile ] || exit 0; \
28023 r=`${PWD_COMMAND}`; export r; \
28024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28025 $(HOST_EXPORTS) \
28026 for flag in $(EXTRA_HOST_FLAGS) ; do \
28027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28028 done; \
28029 echo "Doing mostlyclean in libgui" ; \
28030 (cd $(HOST_SUBDIR)/libgui && \
28031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28033 "RANLIB=$${RANLIB}" \
28034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28035 mostlyclean) \
28036 || exit 1
28038 @endif libgui
28040 .PHONY: maybe-clean-libgui clean-libgui
28041 maybe-clean-libgui:
28042 @if libgui
28043 maybe-clean-libgui: clean-libgui
28045 clean-libgui:
28046 @: $(MAKE); $(unstage)
28047 @[ -f ./libgui/Makefile ] || exit 0; \
28048 r=`${PWD_COMMAND}`; export r; \
28049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28050 $(HOST_EXPORTS) \
28051 for flag in $(EXTRA_HOST_FLAGS) ; do \
28052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28053 done; \
28054 echo "Doing clean in libgui" ; \
28055 (cd $(HOST_SUBDIR)/libgui && \
28056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28058 "RANLIB=$${RANLIB}" \
28059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28060 clean) \
28061 || exit 1
28063 @endif libgui
28065 .PHONY: maybe-distclean-libgui distclean-libgui
28066 maybe-distclean-libgui:
28067 @if libgui
28068 maybe-distclean-libgui: distclean-libgui
28070 distclean-libgui:
28071 @: $(MAKE); $(unstage)
28072 @[ -f ./libgui/Makefile ] || exit 0; \
28073 r=`${PWD_COMMAND}`; export r; \
28074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28075 $(HOST_EXPORTS) \
28076 for flag in $(EXTRA_HOST_FLAGS) ; do \
28077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28078 done; \
28079 echo "Doing distclean in libgui" ; \
28080 (cd $(HOST_SUBDIR)/libgui && \
28081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28083 "RANLIB=$${RANLIB}" \
28084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28085 distclean) \
28086 || exit 1
28088 @endif libgui
28090 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
28091 maybe-maintainer-clean-libgui:
28092 @if libgui
28093 maybe-maintainer-clean-libgui: maintainer-clean-libgui
28095 maintainer-clean-libgui:
28096 @: $(MAKE); $(unstage)
28097 @[ -f ./libgui/Makefile ] || exit 0; \
28098 r=`${PWD_COMMAND}`; export r; \
28099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28100 $(HOST_EXPORTS) \
28101 for flag in $(EXTRA_HOST_FLAGS) ; do \
28102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28103 done; \
28104 echo "Doing maintainer-clean in libgui" ; \
28105 (cd $(HOST_SUBDIR)/libgui && \
28106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28108 "RANLIB=$${RANLIB}" \
28109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28110 maintainer-clean) \
28111 || exit 1
28113 @endif libgui
28117 .PHONY: configure-libiberty maybe-configure-libiberty
28118 maybe-configure-libiberty:
28119 @if gcc-bootstrap
28120 configure-libiberty: stage_current
28121 @endif gcc-bootstrap
28122 @if libiberty
28123 maybe-configure-libiberty: configure-libiberty
28124 configure-libiberty:
28125 @r=`${PWD_COMMAND}`; export r; \
28126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28127 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28129 $(HOST_EXPORTS) \
28130 echo Configuring in $(HOST_SUBDIR)/libiberty; \
28131 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
28132 case $(srcdir) in \
28133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28134 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28136 esac; \
28137 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28138 libsrcdir="$$s/libiberty"; \
28139 $(SHELL) $${libsrcdir}/configure \
28140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28141 --target=${target_alias} $${srcdiroption} \
28142 || exit 1
28143 @endif libiberty
28147 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28148 maybe-configure-stage1-libiberty:
28149 @if libiberty-bootstrap
28150 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28151 configure-stage1-libiberty:
28152 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28154 @r=`${PWD_COMMAND}`; export r; \
28155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28156 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28157 $(HOST_EXPORTS) \
28158 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28159 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
28160 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
28161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28162 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28163 case $(srcdir) in \
28164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28165 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28167 esac; \
28168 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28169 libsrcdir="$$s/libiberty"; \
28170 $(SHELL) $${libsrcdir}/configure \
28171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28172 --target=${target_alias} $${srcdiroption} \
28174 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28175 @endif libiberty-bootstrap
28177 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
28178 maybe-configure-stage2-libiberty:
28179 @if libiberty-bootstrap
28180 maybe-configure-stage2-libiberty: configure-stage2-libiberty
28181 configure-stage2-libiberty:
28182 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28183 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28184 @r=`${PWD_COMMAND}`; export r; \
28185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28186 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28187 $(HOST_EXPORTS) \
28188 $(POSTSTAGE1_HOST_EXPORTS) \
28189 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28190 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
28191 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
28192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28193 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28194 case $(srcdir) in \
28195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28196 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28198 esac; \
28199 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28200 libsrcdir="$$s/libiberty"; \
28201 $(SHELL) $${libsrcdir}/configure \
28202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28203 --target=${target_alias} $${srcdiroption} \
28204 --with-build-libsubdir=$(HOST_SUBDIR) \
28205 @stage2_werror_flag@
28206 @endif libiberty-bootstrap
28208 .PHONY: configure-stageb2g0-libiberty maybe-configure-stageb2g0-libiberty
28209 maybe-configure-stageb2g0-libiberty:
28210 @if libiberty-bootstrap
28211 maybe-configure-stageb2g0-libiberty: configure-stageb2g0-libiberty
28212 configure-stageb2g0-libiberty:
28213 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
28214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28215 @r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28218 $(HOST_EXPORTS) \
28219 $(POSTSTAGE1_HOST_EXPORTS) \
28220 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
28221 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
28222 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libiberty ; \
28223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28224 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28225 case $(srcdir) in \
28226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28227 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28229 esac; \
28230 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28231 libsrcdir="$$s/libiberty"; \
28232 $(SHELL) $${libsrcdir}/configure \
28233 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28234 --target=${target_alias} $${srcdiroption} \
28235 --with-build-libsubdir=$(HOST_SUBDIR) \
28236 @stage2_werror_flag@
28237 @endif libiberty-bootstrap
28239 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
28240 maybe-configure-stage3-libiberty:
28241 @if libiberty-bootstrap
28242 maybe-configure-stage3-libiberty: configure-stage3-libiberty
28243 configure-stage3-libiberty:
28244 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28245 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28246 @r=`${PWD_COMMAND}`; export r; \
28247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28248 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28249 $(HOST_EXPORTS) \
28250 $(POSTSTAGE1_HOST_EXPORTS) \
28251 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28252 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
28253 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
28254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28255 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28256 case $(srcdir) in \
28257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28258 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28260 esac; \
28261 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28262 libsrcdir="$$s/libiberty"; \
28263 $(SHELL) $${libsrcdir}/configure \
28264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28265 --target=${target_alias} $${srcdiroption} \
28266 --with-build-libsubdir=$(HOST_SUBDIR) \
28267 @stage2_werror_flag@
28268 @endif libiberty-bootstrap
28270 .PHONY: configure-stageb3g2-libiberty maybe-configure-stageb3g2-libiberty
28271 maybe-configure-stageb3g2-libiberty:
28272 @if libiberty-bootstrap
28273 maybe-configure-stageb3g2-libiberty: configure-stageb3g2-libiberty
28274 configure-stageb3g2-libiberty:
28275 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
28276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28277 @r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28280 $(HOST_EXPORTS) \
28281 $(POSTSTAGE1_HOST_EXPORTS) \
28282 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
28283 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
28284 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libiberty ; \
28285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28286 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28287 case $(srcdir) in \
28288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28289 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28291 esac; \
28292 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28293 libsrcdir="$$s/libiberty"; \
28294 $(SHELL) $${libsrcdir}/configure \
28295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28296 --target=${target_alias} $${srcdiroption} \
28297 --with-build-libsubdir=$(HOST_SUBDIR) \
28298 @stage2_werror_flag@
28299 @endif libiberty-bootstrap
28301 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
28302 maybe-configure-stage4-libiberty:
28303 @if libiberty-bootstrap
28304 maybe-configure-stage4-libiberty: configure-stage4-libiberty
28305 configure-stage4-libiberty:
28306 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28308 @r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28311 $(HOST_EXPORTS) \
28312 $(POSTSTAGE1_HOST_EXPORTS) \
28313 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28314 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
28315 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
28316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28317 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28318 case $(srcdir) in \
28319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28320 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28322 esac; \
28323 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28324 libsrcdir="$$s/libiberty"; \
28325 $(SHELL) $${libsrcdir}/configure \
28326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28327 --target=${target_alias} $${srcdiroption} \
28328 --with-build-libsubdir=$(HOST_SUBDIR) \
28329 @stage2_werror_flag@
28330 @endif libiberty-bootstrap
28332 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
28333 maybe-configure-stageprofile-libiberty:
28334 @if libiberty-bootstrap
28335 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
28336 configure-stageprofile-libiberty:
28337 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28339 @r=`${PWD_COMMAND}`; export r; \
28340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28341 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28342 $(HOST_EXPORTS) \
28343 $(POSTSTAGE1_HOST_EXPORTS) \
28344 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
28345 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
28346 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
28347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28348 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28349 case $(srcdir) in \
28350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28351 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28353 esac; \
28354 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28355 libsrcdir="$$s/libiberty"; \
28356 $(SHELL) $${libsrcdir}/configure \
28357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28358 --target=${target_alias} $${srcdiroption} \
28359 --with-build-libsubdir=$(HOST_SUBDIR) \
28360 @stage2_werror_flag@
28361 @endif libiberty-bootstrap
28363 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
28364 maybe-configure-stagefeedback-libiberty:
28365 @if libiberty-bootstrap
28366 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
28367 configure-stagefeedback-libiberty:
28368 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28370 @r=`${PWD_COMMAND}`; export r; \
28371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28372 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28373 $(HOST_EXPORTS) \
28374 $(POSTSTAGE1_HOST_EXPORTS) \
28375 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
28376 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
28377 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
28378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28379 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28380 case $(srcdir) in \
28381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28382 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28384 esac; \
28385 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28386 libsrcdir="$$s/libiberty"; \
28387 $(SHELL) $${libsrcdir}/configure \
28388 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28389 --target=${target_alias} $${srcdiroption} \
28390 --with-build-libsubdir=$(HOST_SUBDIR) \
28391 @stage2_werror_flag@
28392 @endif libiberty-bootstrap
28398 .PHONY: all-libiberty maybe-all-libiberty
28399 maybe-all-libiberty:
28400 @if gcc-bootstrap
28401 all-libiberty: stage_current
28402 @endif gcc-bootstrap
28403 @if libiberty
28404 TARGET-libiberty=all
28405 maybe-all-libiberty: all-libiberty
28406 all-libiberty: configure-libiberty
28407 @r=`${PWD_COMMAND}`; export r; \
28408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28409 $(HOST_EXPORTS) \
28410 (cd $(HOST_SUBDIR)/libiberty && \
28411 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28412 $(TARGET-libiberty))
28413 @endif libiberty
28417 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28418 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28419 maybe-all-stage1-libiberty:
28420 maybe-clean-stage1-libiberty:
28421 @if libiberty-bootstrap
28422 maybe-all-stage1-libiberty: all-stage1-libiberty
28423 all-stage1: all-stage1-libiberty
28424 TARGET-stage1-libiberty = $(TARGET-libiberty)
28425 all-stage1-libiberty: configure-stage1-libiberty
28426 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28427 @r=`${PWD_COMMAND}`; export r; \
28428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28429 $(HOST_EXPORTS) \
28430 cd $(HOST_SUBDIR)/libiberty && \
28431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28432 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
28433 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
28434 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
28435 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
28436 $(TARGET-stage1-libiberty)
28438 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28439 clean-stage1: clean-stage1-libiberty
28440 clean-stage1-libiberty:
28441 @if [ $(current_stage) = stage1 ]; then \
28442 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28443 else \
28444 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
28445 $(MAKE) stage1-start; \
28446 fi; \
28447 cd $(HOST_SUBDIR)/libiberty && \
28448 $(MAKE) $(EXTRA_HOST_FLAGS) \
28449 clean
28450 @endif libiberty-bootstrap
28453 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
28454 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
28455 maybe-all-stage2-libiberty:
28456 maybe-clean-stage2-libiberty:
28457 @if libiberty-bootstrap
28458 maybe-all-stage2-libiberty: all-stage2-libiberty
28459 all-stage2: all-stage2-libiberty
28460 TARGET-stage2-libiberty = $(TARGET-libiberty)
28461 all-stage2-libiberty: configure-stage2-libiberty
28462 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28463 @r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(HOST_EXPORTS) \
28466 $(POSTSTAGE1_HOST_EXPORTS) \
28467 cd $(HOST_SUBDIR)/libiberty && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28469 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
28470 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
28471 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
28472 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28473 $(TARGET-stage2-libiberty)
28475 maybe-clean-stage2-libiberty: clean-stage2-libiberty
28476 clean-stage2: clean-stage2-libiberty
28477 clean-stage2-libiberty:
28478 @if [ $(current_stage) = stage2 ]; then \
28479 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28480 else \
28481 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
28482 $(MAKE) stage2-start; \
28483 fi; \
28484 cd $(HOST_SUBDIR)/libiberty && \
28485 $(MAKE) $(EXTRA_HOST_FLAGS) \
28486 $(POSTSTAGE1_FLAGS_TO_PASS) \
28487 clean
28488 @endif libiberty-bootstrap
28491 .PHONY: all-stageb2g0-libiberty maybe-all-stageb2g0-libiberty
28492 .PHONY: clean-stageb2g0-libiberty maybe-clean-stageb2g0-libiberty
28493 maybe-all-stageb2g0-libiberty:
28494 maybe-clean-stageb2g0-libiberty:
28495 @if libiberty-bootstrap
28496 maybe-all-stageb2g0-libiberty: all-stageb2g0-libiberty
28497 all-stageb2g0: all-stageb2g0-libiberty
28498 TARGET-stageb2g0-libiberty = $(TARGET-libiberty)
28499 all-stageb2g0-libiberty: configure-stageb2g0-libiberty
28500 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
28501 @r=`${PWD_COMMAND}`; export r; \
28502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28503 $(HOST_EXPORTS) \
28504 $(POSTSTAGE1_HOST_EXPORTS) \
28505 cd $(HOST_SUBDIR)/libiberty && \
28506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28507 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
28508 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
28509 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
28510 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28511 $(TARGET-stageb2g0-libiberty)
28513 maybe-clean-stageb2g0-libiberty: clean-stageb2g0-libiberty
28514 clean-stageb2g0: clean-stageb2g0-libiberty
28515 clean-stageb2g0-libiberty:
28516 @if [ $(current_stage) = stageb2g0 ]; then \
28517 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28518 else \
28519 [ -f $(HOST_SUBDIR)/stageb2g0-libiberty/Makefile ] || exit 0; \
28520 $(MAKE) stageb2g0-start; \
28521 fi; \
28522 cd $(HOST_SUBDIR)/libiberty && \
28523 $(MAKE) $(EXTRA_HOST_FLAGS) \
28524 $(POSTSTAGE1_FLAGS_TO_PASS) \
28525 clean
28526 @endif libiberty-bootstrap
28529 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
28530 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
28531 maybe-all-stage3-libiberty:
28532 maybe-clean-stage3-libiberty:
28533 @if libiberty-bootstrap
28534 maybe-all-stage3-libiberty: all-stage3-libiberty
28535 all-stage3: all-stage3-libiberty
28536 TARGET-stage3-libiberty = $(TARGET-libiberty)
28537 all-stage3-libiberty: configure-stage3-libiberty
28538 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28539 @r=`${PWD_COMMAND}`; export r; \
28540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28541 $(HOST_EXPORTS) \
28542 $(POSTSTAGE1_HOST_EXPORTS) \
28543 cd $(HOST_SUBDIR)/libiberty && \
28544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28545 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
28546 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
28547 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
28548 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28549 $(TARGET-stage3-libiberty)
28551 maybe-clean-stage3-libiberty: clean-stage3-libiberty
28552 clean-stage3: clean-stage3-libiberty
28553 clean-stage3-libiberty:
28554 @if [ $(current_stage) = stage3 ]; then \
28555 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28556 else \
28557 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
28558 $(MAKE) stage3-start; \
28559 fi; \
28560 cd $(HOST_SUBDIR)/libiberty && \
28561 $(MAKE) $(EXTRA_HOST_FLAGS) \
28562 $(POSTSTAGE1_FLAGS_TO_PASS) \
28563 clean
28564 @endif libiberty-bootstrap
28567 .PHONY: all-stageb3g2-libiberty maybe-all-stageb3g2-libiberty
28568 .PHONY: clean-stageb3g2-libiberty maybe-clean-stageb3g2-libiberty
28569 maybe-all-stageb3g2-libiberty:
28570 maybe-clean-stageb3g2-libiberty:
28571 @if libiberty-bootstrap
28572 maybe-all-stageb3g2-libiberty: all-stageb3g2-libiberty
28573 all-stageb3g2: all-stageb3g2-libiberty
28574 TARGET-stageb3g2-libiberty = $(TARGET-libiberty)
28575 all-stageb3g2-libiberty: configure-stageb3g2-libiberty
28576 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
28577 @r=`${PWD_COMMAND}`; export r; \
28578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28579 $(HOST_EXPORTS) \
28580 $(POSTSTAGE1_HOST_EXPORTS) \
28581 cd $(HOST_SUBDIR)/libiberty && \
28582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28583 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
28584 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
28585 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
28586 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28587 $(TARGET-stageb3g2-libiberty)
28589 maybe-clean-stageb3g2-libiberty: clean-stageb3g2-libiberty
28590 clean-stageb3g2: clean-stageb3g2-libiberty
28591 clean-stageb3g2-libiberty:
28592 @if [ $(current_stage) = stageb3g2 ]; then \
28593 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28594 else \
28595 [ -f $(HOST_SUBDIR)/stageb3g2-libiberty/Makefile ] || exit 0; \
28596 $(MAKE) stageb3g2-start; \
28597 fi; \
28598 cd $(HOST_SUBDIR)/libiberty && \
28599 $(MAKE) $(EXTRA_HOST_FLAGS) \
28600 $(POSTSTAGE1_FLAGS_TO_PASS) \
28601 clean
28602 @endif libiberty-bootstrap
28605 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
28606 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
28607 maybe-all-stage4-libiberty:
28608 maybe-clean-stage4-libiberty:
28609 @if libiberty-bootstrap
28610 maybe-all-stage4-libiberty: all-stage4-libiberty
28611 all-stage4: all-stage4-libiberty
28612 TARGET-stage4-libiberty = $(TARGET-libiberty)
28613 all-stage4-libiberty: configure-stage4-libiberty
28614 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28615 @r=`${PWD_COMMAND}`; export r; \
28616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28617 $(HOST_EXPORTS) \
28618 $(POSTSTAGE1_HOST_EXPORTS) \
28619 cd $(HOST_SUBDIR)/libiberty && \
28620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28621 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
28622 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28623 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
28624 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28625 $(TARGET-stage4-libiberty)
28627 maybe-clean-stage4-libiberty: clean-stage4-libiberty
28628 clean-stage4: clean-stage4-libiberty
28629 clean-stage4-libiberty:
28630 @if [ $(current_stage) = stage4 ]; then \
28631 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28632 else \
28633 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
28634 $(MAKE) stage4-start; \
28635 fi; \
28636 cd $(HOST_SUBDIR)/libiberty && \
28637 $(MAKE) $(EXTRA_HOST_FLAGS) \
28638 $(POSTSTAGE1_FLAGS_TO_PASS) \
28639 clean
28640 @endif libiberty-bootstrap
28643 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
28644 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
28645 maybe-all-stageprofile-libiberty:
28646 maybe-clean-stageprofile-libiberty:
28647 @if libiberty-bootstrap
28648 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
28649 all-stageprofile: all-stageprofile-libiberty
28650 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
28651 all-stageprofile-libiberty: configure-stageprofile-libiberty
28652 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28653 @r=`${PWD_COMMAND}`; export r; \
28654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28655 $(HOST_EXPORTS) \
28656 $(POSTSTAGE1_HOST_EXPORTS) \
28657 cd $(HOST_SUBDIR)/libiberty && \
28658 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28659 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
28660 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
28661 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
28662 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28663 $(TARGET-stageprofile-libiberty)
28665 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
28666 clean-stageprofile: clean-stageprofile-libiberty
28667 clean-stageprofile-libiberty:
28668 @if [ $(current_stage) = stageprofile ]; then \
28669 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28670 else \
28671 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
28672 $(MAKE) stageprofile-start; \
28673 fi; \
28674 cd $(HOST_SUBDIR)/libiberty && \
28675 $(MAKE) $(EXTRA_HOST_FLAGS) \
28676 $(POSTSTAGE1_FLAGS_TO_PASS) \
28677 clean
28678 @endif libiberty-bootstrap
28681 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
28682 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
28683 maybe-all-stagefeedback-libiberty:
28684 maybe-clean-stagefeedback-libiberty:
28685 @if libiberty-bootstrap
28686 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
28687 all-stagefeedback: all-stagefeedback-libiberty
28688 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
28689 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
28690 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28691 @r=`${PWD_COMMAND}`; export r; \
28692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28693 $(HOST_EXPORTS) \
28694 $(POSTSTAGE1_HOST_EXPORTS) \
28695 cd $(HOST_SUBDIR)/libiberty && \
28696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28697 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
28698 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
28699 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
28700 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28701 $(TARGET-stagefeedback-libiberty)
28703 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
28704 clean-stagefeedback: clean-stagefeedback-libiberty
28705 clean-stagefeedback-libiberty:
28706 @if [ $(current_stage) = stagefeedback ]; then \
28707 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28708 else \
28709 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
28710 $(MAKE) stagefeedback-start; \
28711 fi; \
28712 cd $(HOST_SUBDIR)/libiberty && \
28713 $(MAKE) $(EXTRA_HOST_FLAGS) \
28714 $(POSTSTAGE1_FLAGS_TO_PASS) \
28715 clean
28716 @endif libiberty-bootstrap
28722 .PHONY: check-libiberty maybe-check-libiberty
28723 maybe-check-libiberty:
28724 @if libiberty
28725 maybe-check-libiberty: check-libiberty
28727 check-libiberty:
28728 @: $(MAKE); $(unstage)
28729 @r=`${PWD_COMMAND}`; export r; \
28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28731 $(HOST_EXPORTS) \
28732 (cd $(HOST_SUBDIR)/libiberty && \
28733 $(MAKE) $(FLAGS_TO_PASS) check)
28735 @endif libiberty
28737 .PHONY: install-libiberty maybe-install-libiberty
28738 maybe-install-libiberty:
28739 @if libiberty
28740 maybe-install-libiberty: install-libiberty
28742 install-libiberty: installdirs
28743 @: $(MAKE); $(unstage)
28744 @r=`${PWD_COMMAND}`; export r; \
28745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28746 $(HOST_EXPORTS) \
28747 (cd $(HOST_SUBDIR)/libiberty && \
28748 $(MAKE) $(FLAGS_TO_PASS) install)
28750 @endif libiberty
28752 # Other targets (info, dvi, pdf, etc.)
28754 .PHONY: maybe-info-libiberty info-libiberty
28755 maybe-info-libiberty:
28756 @if libiberty
28757 maybe-info-libiberty: info-libiberty
28759 info-libiberty: \
28760 configure-libiberty
28761 @[ -f ./libiberty/Makefile ] || exit 0; \
28762 r=`${PWD_COMMAND}`; export r; \
28763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28764 $(HOST_EXPORTS) \
28765 for flag in $(EXTRA_HOST_FLAGS) ; do \
28766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28767 done; \
28768 echo "Doing info in libiberty" ; \
28769 (cd $(HOST_SUBDIR)/libiberty && \
28770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28772 "RANLIB=$${RANLIB}" \
28773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28774 info) \
28775 || exit 1
28777 @endif libiberty
28779 .PHONY: maybe-dvi-libiberty dvi-libiberty
28780 maybe-dvi-libiberty:
28781 @if libiberty
28782 maybe-dvi-libiberty: dvi-libiberty
28784 dvi-libiberty: \
28785 configure-libiberty
28786 @[ -f ./libiberty/Makefile ] || exit 0; \
28787 r=`${PWD_COMMAND}`; export r; \
28788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28789 $(HOST_EXPORTS) \
28790 for flag in $(EXTRA_HOST_FLAGS) ; do \
28791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28792 done; \
28793 echo "Doing dvi in libiberty" ; \
28794 (cd $(HOST_SUBDIR)/libiberty && \
28795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28797 "RANLIB=$${RANLIB}" \
28798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28799 dvi) \
28800 || exit 1
28802 @endif libiberty
28804 .PHONY: maybe-pdf-libiberty pdf-libiberty
28805 maybe-pdf-libiberty:
28806 @if libiberty
28807 maybe-pdf-libiberty: pdf-libiberty
28809 pdf-libiberty: \
28810 configure-libiberty
28811 @[ -f ./libiberty/Makefile ] || exit 0; \
28812 r=`${PWD_COMMAND}`; export r; \
28813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28814 $(HOST_EXPORTS) \
28815 for flag in $(EXTRA_HOST_FLAGS) ; do \
28816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28817 done; \
28818 echo "Doing pdf in libiberty" ; \
28819 (cd $(HOST_SUBDIR)/libiberty && \
28820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28822 "RANLIB=$${RANLIB}" \
28823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28824 pdf) \
28825 || exit 1
28827 @endif libiberty
28829 .PHONY: maybe-html-libiberty html-libiberty
28830 maybe-html-libiberty:
28831 @if libiberty
28832 maybe-html-libiberty: html-libiberty
28834 html-libiberty: \
28835 configure-libiberty
28836 @[ -f ./libiberty/Makefile ] || exit 0; \
28837 r=`${PWD_COMMAND}`; export r; \
28838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28839 $(HOST_EXPORTS) \
28840 for flag in $(EXTRA_HOST_FLAGS) ; do \
28841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28842 done; \
28843 echo "Doing html in libiberty" ; \
28844 (cd $(HOST_SUBDIR)/libiberty && \
28845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28847 "RANLIB=$${RANLIB}" \
28848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28849 html) \
28850 || exit 1
28852 @endif libiberty
28854 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
28855 maybe-TAGS-libiberty:
28856 @if libiberty
28857 maybe-TAGS-libiberty: TAGS-libiberty
28859 TAGS-libiberty: \
28860 configure-libiberty
28861 @[ -f ./libiberty/Makefile ] || exit 0; \
28862 r=`${PWD_COMMAND}`; export r; \
28863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28864 $(HOST_EXPORTS) \
28865 for flag in $(EXTRA_HOST_FLAGS) ; do \
28866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28867 done; \
28868 echo "Doing TAGS in libiberty" ; \
28869 (cd $(HOST_SUBDIR)/libiberty && \
28870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28872 "RANLIB=$${RANLIB}" \
28873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28874 TAGS) \
28875 || exit 1
28877 @endif libiberty
28879 .PHONY: maybe-install-info-libiberty install-info-libiberty
28880 maybe-install-info-libiberty:
28881 @if libiberty
28882 maybe-install-info-libiberty: install-info-libiberty
28884 install-info-libiberty: \
28885 configure-libiberty \
28886 info-libiberty
28887 @[ -f ./libiberty/Makefile ] || exit 0; \
28888 r=`${PWD_COMMAND}`; export r; \
28889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28890 $(HOST_EXPORTS) \
28891 for flag in $(EXTRA_HOST_FLAGS) ; do \
28892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28893 done; \
28894 echo "Doing install-info in libiberty" ; \
28895 (cd $(HOST_SUBDIR)/libiberty && \
28896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28898 "RANLIB=$${RANLIB}" \
28899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28900 install-info) \
28901 || exit 1
28903 @endif libiberty
28905 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
28906 maybe-install-pdf-libiberty:
28907 @if libiberty
28908 maybe-install-pdf-libiberty: install-pdf-libiberty
28910 install-pdf-libiberty: \
28911 configure-libiberty \
28912 pdf-libiberty
28913 @[ -f ./libiberty/Makefile ] || exit 0; \
28914 r=`${PWD_COMMAND}`; export r; \
28915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28916 $(HOST_EXPORTS) \
28917 for flag in $(EXTRA_HOST_FLAGS) ; do \
28918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28919 done; \
28920 echo "Doing install-pdf in libiberty" ; \
28921 (cd $(HOST_SUBDIR)/libiberty && \
28922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28924 "RANLIB=$${RANLIB}" \
28925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28926 install-pdf) \
28927 || exit 1
28929 @endif libiberty
28931 .PHONY: maybe-install-html-libiberty install-html-libiberty
28932 maybe-install-html-libiberty:
28933 @if libiberty
28934 maybe-install-html-libiberty: install-html-libiberty
28936 install-html-libiberty: \
28937 configure-libiberty \
28938 html-libiberty
28939 @[ -f ./libiberty/Makefile ] || exit 0; \
28940 r=`${PWD_COMMAND}`; export r; \
28941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28942 $(HOST_EXPORTS) \
28943 for flag in $(EXTRA_HOST_FLAGS) ; do \
28944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28945 done; \
28946 echo "Doing install-html in libiberty" ; \
28947 (cd $(HOST_SUBDIR)/libiberty && \
28948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28950 "RANLIB=$${RANLIB}" \
28951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28952 install-html) \
28953 || exit 1
28955 @endif libiberty
28957 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
28958 maybe-installcheck-libiberty:
28959 @if libiberty
28960 maybe-installcheck-libiberty: installcheck-libiberty
28962 installcheck-libiberty: \
28963 configure-libiberty
28964 @[ -f ./libiberty/Makefile ] || exit 0; \
28965 r=`${PWD_COMMAND}`; export r; \
28966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28967 $(HOST_EXPORTS) \
28968 for flag in $(EXTRA_HOST_FLAGS) ; do \
28969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28970 done; \
28971 echo "Doing installcheck in libiberty" ; \
28972 (cd $(HOST_SUBDIR)/libiberty && \
28973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28975 "RANLIB=$${RANLIB}" \
28976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28977 installcheck) \
28978 || exit 1
28980 @endif libiberty
28982 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
28983 maybe-mostlyclean-libiberty:
28984 @if libiberty
28985 maybe-mostlyclean-libiberty: mostlyclean-libiberty
28987 mostlyclean-libiberty:
28988 @[ -f ./libiberty/Makefile ] || exit 0; \
28989 r=`${PWD_COMMAND}`; export r; \
28990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28991 $(HOST_EXPORTS) \
28992 for flag in $(EXTRA_HOST_FLAGS) ; do \
28993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28994 done; \
28995 echo "Doing mostlyclean in libiberty" ; \
28996 (cd $(HOST_SUBDIR)/libiberty && \
28997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28999 "RANLIB=$${RANLIB}" \
29000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29001 mostlyclean) \
29002 || exit 1
29004 @endif libiberty
29006 .PHONY: maybe-clean-libiberty clean-libiberty
29007 maybe-clean-libiberty:
29008 @if libiberty
29009 maybe-clean-libiberty: clean-libiberty
29011 clean-libiberty:
29012 @[ -f ./libiberty/Makefile ] || exit 0; \
29013 r=`${PWD_COMMAND}`; export r; \
29014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29015 $(HOST_EXPORTS) \
29016 for flag in $(EXTRA_HOST_FLAGS) ; do \
29017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29018 done; \
29019 echo "Doing clean in libiberty" ; \
29020 (cd $(HOST_SUBDIR)/libiberty && \
29021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29023 "RANLIB=$${RANLIB}" \
29024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29025 clean) \
29026 || exit 1
29028 @endif libiberty
29030 .PHONY: maybe-distclean-libiberty distclean-libiberty
29031 maybe-distclean-libiberty:
29032 @if libiberty
29033 maybe-distclean-libiberty: distclean-libiberty
29035 distclean-libiberty:
29036 @[ -f ./libiberty/Makefile ] || exit 0; \
29037 r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 $(HOST_EXPORTS) \
29040 for flag in $(EXTRA_HOST_FLAGS) ; do \
29041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29042 done; \
29043 echo "Doing distclean in libiberty" ; \
29044 (cd $(HOST_SUBDIR)/libiberty && \
29045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29047 "RANLIB=$${RANLIB}" \
29048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29049 distclean) \
29050 || exit 1
29052 @endif libiberty
29054 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
29055 maybe-maintainer-clean-libiberty:
29056 @if libiberty
29057 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
29059 maintainer-clean-libiberty:
29060 @[ -f ./libiberty/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 maintainer-clean in libiberty" ; \
29068 (cd $(HOST_SUBDIR)/libiberty && \
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}" "WINDMC=$${WINDMC}" \
29073 maintainer-clean) \
29074 || exit 1
29076 @endif libiberty
29080 .PHONY: configure-libiconv maybe-configure-libiconv
29081 maybe-configure-libiconv:
29082 @if gcc-bootstrap
29083 configure-libiconv: stage_current
29084 @endif gcc-bootstrap
29085 @if libiconv
29086 maybe-configure-libiconv: configure-libiconv
29087 configure-libiconv:
29088 @: $(MAKE); $(unstage)
29089 @r=`${PWD_COMMAND}`; export r; \
29090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29091 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
29093 $(HOST_EXPORTS) \
29094 echo Configuring in $(HOST_SUBDIR)/libiconv; \
29095 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
29096 case $(srcdir) in \
29097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29098 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29100 esac; \
29101 srcdiroption="--srcdir=$${topdir}/libiconv"; \
29102 libsrcdir="$$s/libiconv"; \
29103 $(SHELL) $${libsrcdir}/configure \
29104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29105 --target=${target_alias} $${srcdiroption} --disable-shared \
29106 || exit 1
29107 @endif libiconv
29113 .PHONY: all-libiconv maybe-all-libiconv
29114 maybe-all-libiconv:
29115 @if gcc-bootstrap
29116 all-libiconv: stage_current
29117 @endif gcc-bootstrap
29118 @if libiconv
29119 TARGET-libiconv=all
29120 maybe-all-libiconv: all-libiconv
29121 all-libiconv: configure-libiconv
29122 @: $(MAKE); $(unstage)
29123 @r=`${PWD_COMMAND}`; export r; \
29124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29125 $(HOST_EXPORTS) \
29126 (cd $(HOST_SUBDIR)/libiconv && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29128 $(TARGET-libiconv))
29129 @endif libiconv
29134 .PHONY: check-libiconv maybe-check-libiconv
29135 maybe-check-libiconv:
29136 @if libiconv
29137 maybe-check-libiconv: check-libiconv
29139 check-libiconv:
29140 @: $(MAKE); $(unstage)
29141 @r=`${PWD_COMMAND}`; export r; \
29142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29143 $(HOST_EXPORTS) \
29144 (cd $(HOST_SUBDIR)/libiconv && \
29145 $(MAKE) $(FLAGS_TO_PASS) check)
29147 @endif libiconv
29149 .PHONY: install-libiconv maybe-install-libiconv
29150 maybe-install-libiconv:
29151 @if libiconv
29152 maybe-install-libiconv: install-libiconv
29154 install-libiconv:
29156 @endif libiconv
29158 # Other targets (info, dvi, pdf, etc.)
29160 .PHONY: maybe-info-libiconv info-libiconv
29161 maybe-info-libiconv:
29162 @if libiconv
29163 maybe-info-libiconv: info-libiconv
29165 info-libiconv: \
29166 configure-libiconv
29167 @: $(MAKE); $(unstage)
29168 @[ -f ./libiconv/Makefile ] || exit 0; \
29169 r=`${PWD_COMMAND}`; export r; \
29170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29171 $(HOST_EXPORTS) \
29172 for flag in $(EXTRA_HOST_FLAGS) ; do \
29173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29174 done; \
29175 echo "Doing info in libiconv" ; \
29176 (cd $(HOST_SUBDIR)/libiconv && \
29177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29179 "RANLIB=$${RANLIB}" \
29180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29181 info) \
29182 || exit 1
29184 @endif libiconv
29186 .PHONY: maybe-dvi-libiconv dvi-libiconv
29187 maybe-dvi-libiconv:
29188 @if libiconv
29189 maybe-dvi-libiconv: dvi-libiconv
29191 dvi-libiconv: \
29192 configure-libiconv
29193 @: $(MAKE); $(unstage)
29194 @[ -f ./libiconv/Makefile ] || exit 0; \
29195 r=`${PWD_COMMAND}`; export r; \
29196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29197 $(HOST_EXPORTS) \
29198 for flag in $(EXTRA_HOST_FLAGS) ; do \
29199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29200 done; \
29201 echo "Doing dvi in libiconv" ; \
29202 (cd $(HOST_SUBDIR)/libiconv && \
29203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29205 "RANLIB=$${RANLIB}" \
29206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29207 dvi) \
29208 || exit 1
29210 @endif libiconv
29212 .PHONY: maybe-pdf-libiconv pdf-libiconv
29213 maybe-pdf-libiconv:
29214 @if libiconv
29215 maybe-pdf-libiconv: pdf-libiconv
29217 pdf-libiconv: \
29218 configure-libiconv
29219 @: $(MAKE); $(unstage)
29220 @[ -f ./libiconv/Makefile ] || exit 0; \
29221 r=`${PWD_COMMAND}`; export r; \
29222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29223 $(HOST_EXPORTS) \
29224 for flag in $(EXTRA_HOST_FLAGS) ; do \
29225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29226 done; \
29227 echo "Doing pdf in libiconv" ; \
29228 (cd $(HOST_SUBDIR)/libiconv && \
29229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29231 "RANLIB=$${RANLIB}" \
29232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29233 pdf) \
29234 || exit 1
29236 @endif libiconv
29238 .PHONY: maybe-html-libiconv html-libiconv
29239 maybe-html-libiconv:
29240 @if libiconv
29241 maybe-html-libiconv: html-libiconv
29243 html-libiconv: \
29244 configure-libiconv
29245 @: $(MAKE); $(unstage)
29246 @[ -f ./libiconv/Makefile ] || exit 0; \
29247 r=`${PWD_COMMAND}`; export r; \
29248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29249 $(HOST_EXPORTS) \
29250 for flag in $(EXTRA_HOST_FLAGS) ; do \
29251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29252 done; \
29253 echo "Doing html in libiconv" ; \
29254 (cd $(HOST_SUBDIR)/libiconv && \
29255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29257 "RANLIB=$${RANLIB}" \
29258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29259 html) \
29260 || exit 1
29262 @endif libiconv
29264 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29265 maybe-TAGS-libiconv:
29266 @if libiconv
29267 maybe-TAGS-libiconv: TAGS-libiconv
29269 TAGS-libiconv: \
29270 configure-libiconv
29271 @: $(MAKE); $(unstage)
29272 @[ -f ./libiconv/Makefile ] || exit 0; \
29273 r=`${PWD_COMMAND}`; export r; \
29274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29275 $(HOST_EXPORTS) \
29276 for flag in $(EXTRA_HOST_FLAGS) ; do \
29277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29278 done; \
29279 echo "Doing TAGS in libiconv" ; \
29280 (cd $(HOST_SUBDIR)/libiconv && \
29281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29283 "RANLIB=$${RANLIB}" \
29284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29285 TAGS) \
29286 || exit 1
29288 @endif libiconv
29290 .PHONY: maybe-install-info-libiconv install-info-libiconv
29291 maybe-install-info-libiconv:
29292 @if libiconv
29293 maybe-install-info-libiconv: install-info-libiconv
29295 # libiconv doesn't support install-info.
29296 install-info-libiconv:
29298 @endif libiconv
29300 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29301 maybe-install-pdf-libiconv:
29302 @if libiconv
29303 maybe-install-pdf-libiconv: install-pdf-libiconv
29305 # libiconv doesn't support install-pdf.
29306 install-pdf-libiconv:
29308 @endif libiconv
29310 .PHONY: maybe-install-html-libiconv install-html-libiconv
29311 maybe-install-html-libiconv:
29312 @if libiconv
29313 maybe-install-html-libiconv: install-html-libiconv
29315 # libiconv doesn't support install-html.
29316 install-html-libiconv:
29318 @endif libiconv
29320 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29321 maybe-installcheck-libiconv:
29322 @if libiconv
29323 maybe-installcheck-libiconv: installcheck-libiconv
29325 installcheck-libiconv: \
29326 configure-libiconv
29327 @: $(MAKE); $(unstage)
29328 @[ -f ./libiconv/Makefile ] || exit 0; \
29329 r=`${PWD_COMMAND}`; export r; \
29330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29331 $(HOST_EXPORTS) \
29332 for flag in $(EXTRA_HOST_FLAGS) ; do \
29333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29334 done; \
29335 echo "Doing installcheck in libiconv" ; \
29336 (cd $(HOST_SUBDIR)/libiconv && \
29337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29339 "RANLIB=$${RANLIB}" \
29340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29341 installcheck) \
29342 || exit 1
29344 @endif libiconv
29346 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29347 maybe-mostlyclean-libiconv:
29348 @if libiconv
29349 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29351 mostlyclean-libiconv:
29352 @: $(MAKE); $(unstage)
29353 @[ -f ./libiconv/Makefile ] || exit 0; \
29354 r=`${PWD_COMMAND}`; export r; \
29355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29356 $(HOST_EXPORTS) \
29357 for flag in $(EXTRA_HOST_FLAGS) ; do \
29358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29359 done; \
29360 echo "Doing mostlyclean in libiconv" ; \
29361 (cd $(HOST_SUBDIR)/libiconv && \
29362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29364 "RANLIB=$${RANLIB}" \
29365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29366 mostlyclean) \
29367 || exit 1
29369 @endif libiconv
29371 .PHONY: maybe-clean-libiconv clean-libiconv
29372 maybe-clean-libiconv:
29373 @if libiconv
29374 maybe-clean-libiconv: clean-libiconv
29376 clean-libiconv:
29377 @: $(MAKE); $(unstage)
29378 @[ -f ./libiconv/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 clean in libiconv" ; \
29386 (cd $(HOST_SUBDIR)/libiconv && \
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}" "WINDMC=$${WINDMC}" \
29391 clean) \
29392 || exit 1
29394 @endif libiconv
29396 .PHONY: maybe-distclean-libiconv distclean-libiconv
29397 maybe-distclean-libiconv:
29398 @if libiconv
29399 maybe-distclean-libiconv: distclean-libiconv
29401 distclean-libiconv:
29402 @: $(MAKE); $(unstage)
29403 @[ -f ./libiconv/Makefile ] || exit 0; \
29404 r=`${PWD_COMMAND}`; export r; \
29405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29406 $(HOST_EXPORTS) \
29407 for flag in $(EXTRA_HOST_FLAGS) ; do \
29408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29409 done; \
29410 echo "Doing distclean in libiconv" ; \
29411 (cd $(HOST_SUBDIR)/libiconv && \
29412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29414 "RANLIB=$${RANLIB}" \
29415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29416 distclean) \
29417 || exit 1
29419 @endif libiconv
29421 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29422 maybe-maintainer-clean-libiconv:
29423 @if libiconv
29424 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29426 maintainer-clean-libiconv:
29427 @: $(MAKE); $(unstage)
29428 @[ -f ./libiconv/Makefile ] || exit 0; \
29429 r=`${PWD_COMMAND}`; export r; \
29430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29431 $(HOST_EXPORTS) \
29432 for flag in $(EXTRA_HOST_FLAGS) ; do \
29433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29434 done; \
29435 echo "Doing maintainer-clean in libiconv" ; \
29436 (cd $(HOST_SUBDIR)/libiconv && \
29437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29439 "RANLIB=$${RANLIB}" \
29440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29441 maintainer-clean) \
29442 || exit 1
29444 @endif libiconv
29448 .PHONY: configure-libtool maybe-configure-libtool
29449 maybe-configure-libtool:
29450 @if gcc-bootstrap
29451 configure-libtool: stage_current
29452 @endif gcc-bootstrap
29453 @if libtool
29454 maybe-configure-libtool: configure-libtool
29455 configure-libtool:
29456 @: $(MAKE); $(unstage)
29457 @r=`${PWD_COMMAND}`; export r; \
29458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29459 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
29460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
29461 $(HOST_EXPORTS) \
29462 echo Configuring in $(HOST_SUBDIR)/libtool; \
29463 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
29464 case $(srcdir) in \
29465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29466 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
29467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29468 esac; \
29469 srcdiroption="--srcdir=$${topdir}/libtool"; \
29470 libsrcdir="$$s/libtool"; \
29471 $(SHELL) $${libsrcdir}/configure \
29472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29473 --target=${target_alias} $${srcdiroption} \
29474 || exit 1
29475 @endif libtool
29481 .PHONY: all-libtool maybe-all-libtool
29482 maybe-all-libtool:
29483 @if gcc-bootstrap
29484 all-libtool: stage_current
29485 @endif gcc-bootstrap
29486 @if libtool
29487 TARGET-libtool=all
29488 maybe-all-libtool: all-libtool
29489 all-libtool: configure-libtool
29490 @: $(MAKE); $(unstage)
29491 @r=`${PWD_COMMAND}`; export r; \
29492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29493 $(HOST_EXPORTS) \
29494 (cd $(HOST_SUBDIR)/libtool && \
29495 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29496 $(TARGET-libtool))
29497 @endif libtool
29502 .PHONY: check-libtool maybe-check-libtool
29503 maybe-check-libtool:
29504 @if libtool
29505 maybe-check-libtool: check-libtool
29507 check-libtool:
29508 @: $(MAKE); $(unstage)
29509 @r=`${PWD_COMMAND}`; export r; \
29510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29511 $(HOST_EXPORTS) \
29512 (cd $(HOST_SUBDIR)/libtool && \
29513 $(MAKE) $(FLAGS_TO_PASS) check)
29515 @endif libtool
29517 .PHONY: install-libtool maybe-install-libtool
29518 maybe-install-libtool:
29519 @if libtool
29520 maybe-install-libtool: install-libtool
29522 install-libtool: installdirs
29523 @: $(MAKE); $(unstage)
29524 @r=`${PWD_COMMAND}`; export r; \
29525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29526 $(HOST_EXPORTS) \
29527 (cd $(HOST_SUBDIR)/libtool && \
29528 $(MAKE) $(FLAGS_TO_PASS) install)
29530 @endif libtool
29532 # Other targets (info, dvi, pdf, etc.)
29534 .PHONY: maybe-info-libtool info-libtool
29535 maybe-info-libtool:
29536 @if libtool
29537 maybe-info-libtool: info-libtool
29539 info-libtool: \
29540 configure-libtool
29541 @: $(MAKE); $(unstage)
29542 @[ -f ./libtool/Makefile ] || exit 0; \
29543 r=`${PWD_COMMAND}`; export r; \
29544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29545 $(HOST_EXPORTS) \
29546 for flag in $(EXTRA_HOST_FLAGS) ; do \
29547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29548 done; \
29549 echo "Doing info in libtool" ; \
29550 (cd $(HOST_SUBDIR)/libtool && \
29551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29553 "RANLIB=$${RANLIB}" \
29554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29555 info) \
29556 || exit 1
29558 @endif libtool
29560 .PHONY: maybe-dvi-libtool dvi-libtool
29561 maybe-dvi-libtool:
29562 @if libtool
29563 maybe-dvi-libtool: dvi-libtool
29565 dvi-libtool: \
29566 configure-libtool
29567 @: $(MAKE); $(unstage)
29568 @[ -f ./libtool/Makefile ] || exit 0; \
29569 r=`${PWD_COMMAND}`; export r; \
29570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29571 $(HOST_EXPORTS) \
29572 for flag in $(EXTRA_HOST_FLAGS) ; do \
29573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29574 done; \
29575 echo "Doing dvi in libtool" ; \
29576 (cd $(HOST_SUBDIR)/libtool && \
29577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29579 "RANLIB=$${RANLIB}" \
29580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29581 dvi) \
29582 || exit 1
29584 @endif libtool
29586 .PHONY: maybe-pdf-libtool pdf-libtool
29587 maybe-pdf-libtool:
29588 @if libtool
29589 maybe-pdf-libtool: pdf-libtool
29591 pdf-libtool: \
29592 configure-libtool
29593 @: $(MAKE); $(unstage)
29594 @[ -f ./libtool/Makefile ] || exit 0; \
29595 r=`${PWD_COMMAND}`; export r; \
29596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29597 $(HOST_EXPORTS) \
29598 for flag in $(EXTRA_HOST_FLAGS) ; do \
29599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29600 done; \
29601 echo "Doing pdf in libtool" ; \
29602 (cd $(HOST_SUBDIR)/libtool && \
29603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29605 "RANLIB=$${RANLIB}" \
29606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29607 pdf) \
29608 || exit 1
29610 @endif libtool
29612 .PHONY: maybe-html-libtool html-libtool
29613 maybe-html-libtool:
29614 @if libtool
29615 maybe-html-libtool: html-libtool
29617 html-libtool: \
29618 configure-libtool
29619 @: $(MAKE); $(unstage)
29620 @[ -f ./libtool/Makefile ] || exit 0; \
29621 r=`${PWD_COMMAND}`; export r; \
29622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29623 $(HOST_EXPORTS) \
29624 for flag in $(EXTRA_HOST_FLAGS) ; do \
29625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29626 done; \
29627 echo "Doing html in libtool" ; \
29628 (cd $(HOST_SUBDIR)/libtool && \
29629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29631 "RANLIB=$${RANLIB}" \
29632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29633 html) \
29634 || exit 1
29636 @endif libtool
29638 .PHONY: maybe-TAGS-libtool TAGS-libtool
29639 maybe-TAGS-libtool:
29640 @if libtool
29641 maybe-TAGS-libtool: TAGS-libtool
29643 TAGS-libtool: \
29644 configure-libtool
29645 @: $(MAKE); $(unstage)
29646 @[ -f ./libtool/Makefile ] || exit 0; \
29647 r=`${PWD_COMMAND}`; export r; \
29648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29649 $(HOST_EXPORTS) \
29650 for flag in $(EXTRA_HOST_FLAGS) ; do \
29651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29652 done; \
29653 echo "Doing TAGS in libtool" ; \
29654 (cd $(HOST_SUBDIR)/libtool && \
29655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29657 "RANLIB=$${RANLIB}" \
29658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29659 TAGS) \
29660 || exit 1
29662 @endif libtool
29664 .PHONY: maybe-install-info-libtool install-info-libtool
29665 maybe-install-info-libtool:
29666 @if libtool
29667 maybe-install-info-libtool: install-info-libtool
29669 install-info-libtool: \
29670 configure-libtool \
29671 info-libtool
29672 @: $(MAKE); $(unstage)
29673 @[ -f ./libtool/Makefile ] || exit 0; \
29674 r=`${PWD_COMMAND}`; export r; \
29675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29676 $(HOST_EXPORTS) \
29677 for flag in $(EXTRA_HOST_FLAGS) ; do \
29678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29679 done; \
29680 echo "Doing install-info in libtool" ; \
29681 (cd $(HOST_SUBDIR)/libtool && \
29682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29684 "RANLIB=$${RANLIB}" \
29685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29686 install-info) \
29687 || exit 1
29689 @endif libtool
29691 .PHONY: maybe-install-pdf-libtool install-pdf-libtool
29692 maybe-install-pdf-libtool:
29693 @if libtool
29694 maybe-install-pdf-libtool: install-pdf-libtool
29696 install-pdf-libtool: \
29697 configure-libtool \
29698 pdf-libtool
29699 @: $(MAKE); $(unstage)
29700 @[ -f ./libtool/Makefile ] || exit 0; \
29701 r=`${PWD_COMMAND}`; export r; \
29702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29703 $(HOST_EXPORTS) \
29704 for flag in $(EXTRA_HOST_FLAGS) ; do \
29705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29706 done; \
29707 echo "Doing install-pdf in libtool" ; \
29708 (cd $(HOST_SUBDIR)/libtool && \
29709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29711 "RANLIB=$${RANLIB}" \
29712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29713 install-pdf) \
29714 || exit 1
29716 @endif libtool
29718 .PHONY: maybe-install-html-libtool install-html-libtool
29719 maybe-install-html-libtool:
29720 @if libtool
29721 maybe-install-html-libtool: install-html-libtool
29723 install-html-libtool: \
29724 configure-libtool \
29725 html-libtool
29726 @: $(MAKE); $(unstage)
29727 @[ -f ./libtool/Makefile ] || exit 0; \
29728 r=`${PWD_COMMAND}`; export r; \
29729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29730 $(HOST_EXPORTS) \
29731 for flag in $(EXTRA_HOST_FLAGS) ; do \
29732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29733 done; \
29734 echo "Doing install-html in libtool" ; \
29735 (cd $(HOST_SUBDIR)/libtool && \
29736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29738 "RANLIB=$${RANLIB}" \
29739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29740 install-html) \
29741 || exit 1
29743 @endif libtool
29745 .PHONY: maybe-installcheck-libtool installcheck-libtool
29746 maybe-installcheck-libtool:
29747 @if libtool
29748 maybe-installcheck-libtool: installcheck-libtool
29750 installcheck-libtool: \
29751 configure-libtool
29752 @: $(MAKE); $(unstage)
29753 @[ -f ./libtool/Makefile ] || exit 0; \
29754 r=`${PWD_COMMAND}`; export r; \
29755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29756 $(HOST_EXPORTS) \
29757 for flag in $(EXTRA_HOST_FLAGS) ; do \
29758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29759 done; \
29760 echo "Doing installcheck in libtool" ; \
29761 (cd $(HOST_SUBDIR)/libtool && \
29762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29764 "RANLIB=$${RANLIB}" \
29765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29766 installcheck) \
29767 || exit 1
29769 @endif libtool
29771 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
29772 maybe-mostlyclean-libtool:
29773 @if libtool
29774 maybe-mostlyclean-libtool: mostlyclean-libtool
29776 mostlyclean-libtool:
29777 @: $(MAKE); $(unstage)
29778 @[ -f ./libtool/Makefile ] || exit 0; \
29779 r=`${PWD_COMMAND}`; export r; \
29780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29781 $(HOST_EXPORTS) \
29782 for flag in $(EXTRA_HOST_FLAGS) ; do \
29783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29784 done; \
29785 echo "Doing mostlyclean in libtool" ; \
29786 (cd $(HOST_SUBDIR)/libtool && \
29787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29789 "RANLIB=$${RANLIB}" \
29790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29791 mostlyclean) \
29792 || exit 1
29794 @endif libtool
29796 .PHONY: maybe-clean-libtool clean-libtool
29797 maybe-clean-libtool:
29798 @if libtool
29799 maybe-clean-libtool: clean-libtool
29801 clean-libtool:
29802 @: $(MAKE); $(unstage)
29803 @[ -f ./libtool/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 clean in libtool" ; \
29811 (cd $(HOST_SUBDIR)/libtool && \
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}" "WINDMC=$${WINDMC}" \
29816 clean) \
29817 || exit 1
29819 @endif libtool
29821 .PHONY: maybe-distclean-libtool distclean-libtool
29822 maybe-distclean-libtool:
29823 @if libtool
29824 maybe-distclean-libtool: distclean-libtool
29826 distclean-libtool:
29827 @: $(MAKE); $(unstage)
29828 @[ -f ./libtool/Makefile ] || exit 0; \
29829 r=`${PWD_COMMAND}`; export r; \
29830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29831 $(HOST_EXPORTS) \
29832 for flag in $(EXTRA_HOST_FLAGS) ; do \
29833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29834 done; \
29835 echo "Doing distclean in libtool" ; \
29836 (cd $(HOST_SUBDIR)/libtool && \
29837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29839 "RANLIB=$${RANLIB}" \
29840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29841 distclean) \
29842 || exit 1
29844 @endif libtool
29846 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
29847 maybe-maintainer-clean-libtool:
29848 @if libtool
29849 maybe-maintainer-clean-libtool: maintainer-clean-libtool
29851 maintainer-clean-libtool:
29852 @: $(MAKE); $(unstage)
29853 @[ -f ./libtool/Makefile ] || exit 0; \
29854 r=`${PWD_COMMAND}`; export r; \
29855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29856 $(HOST_EXPORTS) \
29857 for flag in $(EXTRA_HOST_FLAGS) ; do \
29858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29859 done; \
29860 echo "Doing maintainer-clean in libtool" ; \
29861 (cd $(HOST_SUBDIR)/libtool && \
29862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29864 "RANLIB=$${RANLIB}" \
29865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29866 maintainer-clean) \
29867 || exit 1
29869 @endif libtool
29873 .PHONY: configure-m4 maybe-configure-m4
29874 maybe-configure-m4:
29875 @if gcc-bootstrap
29876 configure-m4: stage_current
29877 @endif gcc-bootstrap
29878 @if m4
29879 maybe-configure-m4: configure-m4
29880 configure-m4:
29881 @: $(MAKE); $(unstage)
29882 @r=`${PWD_COMMAND}`; export r; \
29883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29884 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
29886 $(HOST_EXPORTS) \
29887 echo Configuring in $(HOST_SUBDIR)/m4; \
29888 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29889 case $(srcdir) in \
29890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29891 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29893 esac; \
29894 srcdiroption="--srcdir=$${topdir}/m4"; \
29895 libsrcdir="$$s/m4"; \
29896 $(SHELL) $${libsrcdir}/configure \
29897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29898 --target=${target_alias} $${srcdiroption} \
29899 || exit 1
29900 @endif m4
29906 .PHONY: all-m4 maybe-all-m4
29907 maybe-all-m4:
29908 @if gcc-bootstrap
29909 all-m4: stage_current
29910 @endif gcc-bootstrap
29911 @if m4
29912 TARGET-m4=all
29913 maybe-all-m4: all-m4
29914 all-m4: configure-m4
29915 @: $(MAKE); $(unstage)
29916 @r=`${PWD_COMMAND}`; export r; \
29917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29918 $(HOST_EXPORTS) \
29919 (cd $(HOST_SUBDIR)/m4 && \
29920 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29921 $(TARGET-m4))
29922 @endif m4
29927 .PHONY: check-m4 maybe-check-m4
29928 maybe-check-m4:
29929 @if m4
29930 maybe-check-m4: check-m4
29932 check-m4:
29933 @: $(MAKE); $(unstage)
29934 @r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 $(HOST_EXPORTS) \
29937 (cd $(HOST_SUBDIR)/m4 && \
29938 $(MAKE) $(FLAGS_TO_PASS) check)
29940 @endif m4
29942 .PHONY: install-m4 maybe-install-m4
29943 maybe-install-m4:
29944 @if m4
29945 maybe-install-m4: install-m4
29947 install-m4: installdirs
29948 @: $(MAKE); $(unstage)
29949 @r=`${PWD_COMMAND}`; export r; \
29950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29951 $(HOST_EXPORTS) \
29952 (cd $(HOST_SUBDIR)/m4 && \
29953 $(MAKE) $(FLAGS_TO_PASS) install)
29955 @endif m4
29957 # Other targets (info, dvi, pdf, etc.)
29959 .PHONY: maybe-info-m4 info-m4
29960 maybe-info-m4:
29961 @if m4
29962 maybe-info-m4: info-m4
29964 info-m4: \
29965 configure-m4
29966 @: $(MAKE); $(unstage)
29967 @[ -f ./m4/Makefile ] || exit 0; \
29968 r=`${PWD_COMMAND}`; export r; \
29969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29970 $(HOST_EXPORTS) \
29971 for flag in $(EXTRA_HOST_FLAGS) ; do \
29972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29973 done; \
29974 echo "Doing info in m4" ; \
29975 (cd $(HOST_SUBDIR)/m4 && \
29976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29978 "RANLIB=$${RANLIB}" \
29979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29980 info) \
29981 || exit 1
29983 @endif m4
29985 .PHONY: maybe-dvi-m4 dvi-m4
29986 maybe-dvi-m4:
29987 @if m4
29988 maybe-dvi-m4: dvi-m4
29990 dvi-m4: \
29991 configure-m4
29992 @: $(MAKE); $(unstage)
29993 @[ -f ./m4/Makefile ] || exit 0; \
29994 r=`${PWD_COMMAND}`; export r; \
29995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29996 $(HOST_EXPORTS) \
29997 for flag in $(EXTRA_HOST_FLAGS) ; do \
29998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29999 done; \
30000 echo "Doing dvi in m4" ; \
30001 (cd $(HOST_SUBDIR)/m4 && \
30002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30004 "RANLIB=$${RANLIB}" \
30005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30006 dvi) \
30007 || exit 1
30009 @endif m4
30011 .PHONY: maybe-pdf-m4 pdf-m4
30012 maybe-pdf-m4:
30013 @if m4
30014 maybe-pdf-m4: pdf-m4
30016 pdf-m4: \
30017 configure-m4
30018 @: $(MAKE); $(unstage)
30019 @[ -f ./m4/Makefile ] || exit 0; \
30020 r=`${PWD_COMMAND}`; export r; \
30021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30022 $(HOST_EXPORTS) \
30023 for flag in $(EXTRA_HOST_FLAGS) ; do \
30024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30025 done; \
30026 echo "Doing pdf in m4" ; \
30027 (cd $(HOST_SUBDIR)/m4 && \
30028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30030 "RANLIB=$${RANLIB}" \
30031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30032 pdf) \
30033 || exit 1
30035 @endif m4
30037 .PHONY: maybe-html-m4 html-m4
30038 maybe-html-m4:
30039 @if m4
30040 maybe-html-m4: html-m4
30042 html-m4: \
30043 configure-m4
30044 @: $(MAKE); $(unstage)
30045 @[ -f ./m4/Makefile ] || exit 0; \
30046 r=`${PWD_COMMAND}`; export r; \
30047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30048 $(HOST_EXPORTS) \
30049 for flag in $(EXTRA_HOST_FLAGS) ; do \
30050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30051 done; \
30052 echo "Doing html in m4" ; \
30053 (cd $(HOST_SUBDIR)/m4 && \
30054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30056 "RANLIB=$${RANLIB}" \
30057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30058 html) \
30059 || exit 1
30061 @endif m4
30063 .PHONY: maybe-TAGS-m4 TAGS-m4
30064 maybe-TAGS-m4:
30065 @if m4
30066 maybe-TAGS-m4: TAGS-m4
30068 TAGS-m4: \
30069 configure-m4
30070 @: $(MAKE); $(unstage)
30071 @[ -f ./m4/Makefile ] || exit 0; \
30072 r=`${PWD_COMMAND}`; export r; \
30073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30074 $(HOST_EXPORTS) \
30075 for flag in $(EXTRA_HOST_FLAGS) ; do \
30076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30077 done; \
30078 echo "Doing TAGS in m4" ; \
30079 (cd $(HOST_SUBDIR)/m4 && \
30080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30082 "RANLIB=$${RANLIB}" \
30083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30084 TAGS) \
30085 || exit 1
30087 @endif m4
30089 .PHONY: maybe-install-info-m4 install-info-m4
30090 maybe-install-info-m4:
30091 @if m4
30092 maybe-install-info-m4: install-info-m4
30094 install-info-m4: \
30095 configure-m4 \
30096 info-m4
30097 @: $(MAKE); $(unstage)
30098 @[ -f ./m4/Makefile ] || exit 0; \
30099 r=`${PWD_COMMAND}`; export r; \
30100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30101 $(HOST_EXPORTS) \
30102 for flag in $(EXTRA_HOST_FLAGS) ; do \
30103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30104 done; \
30105 echo "Doing install-info in m4" ; \
30106 (cd $(HOST_SUBDIR)/m4 && \
30107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30109 "RANLIB=$${RANLIB}" \
30110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30111 install-info) \
30112 || exit 1
30114 @endif m4
30116 .PHONY: maybe-install-pdf-m4 install-pdf-m4
30117 maybe-install-pdf-m4:
30118 @if m4
30119 maybe-install-pdf-m4: install-pdf-m4
30121 install-pdf-m4: \
30122 configure-m4 \
30123 pdf-m4
30124 @: $(MAKE); $(unstage)
30125 @[ -f ./m4/Makefile ] || exit 0; \
30126 r=`${PWD_COMMAND}`; export r; \
30127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30128 $(HOST_EXPORTS) \
30129 for flag in $(EXTRA_HOST_FLAGS) ; do \
30130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30131 done; \
30132 echo "Doing install-pdf in m4" ; \
30133 (cd $(HOST_SUBDIR)/m4 && \
30134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30136 "RANLIB=$${RANLIB}" \
30137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30138 install-pdf) \
30139 || exit 1
30141 @endif m4
30143 .PHONY: maybe-install-html-m4 install-html-m4
30144 maybe-install-html-m4:
30145 @if m4
30146 maybe-install-html-m4: install-html-m4
30148 install-html-m4: \
30149 configure-m4 \
30150 html-m4
30151 @: $(MAKE); $(unstage)
30152 @[ -f ./m4/Makefile ] || exit 0; \
30153 r=`${PWD_COMMAND}`; export r; \
30154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30155 $(HOST_EXPORTS) \
30156 for flag in $(EXTRA_HOST_FLAGS) ; do \
30157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30158 done; \
30159 echo "Doing install-html in m4" ; \
30160 (cd $(HOST_SUBDIR)/m4 && \
30161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30163 "RANLIB=$${RANLIB}" \
30164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30165 install-html) \
30166 || exit 1
30168 @endif m4
30170 .PHONY: maybe-installcheck-m4 installcheck-m4
30171 maybe-installcheck-m4:
30172 @if m4
30173 maybe-installcheck-m4: installcheck-m4
30175 installcheck-m4: \
30176 configure-m4
30177 @: $(MAKE); $(unstage)
30178 @[ -f ./m4/Makefile ] || exit 0; \
30179 r=`${PWD_COMMAND}`; export r; \
30180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30181 $(HOST_EXPORTS) \
30182 for flag in $(EXTRA_HOST_FLAGS) ; do \
30183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30184 done; \
30185 echo "Doing installcheck in m4" ; \
30186 (cd $(HOST_SUBDIR)/m4 && \
30187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30189 "RANLIB=$${RANLIB}" \
30190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30191 installcheck) \
30192 || exit 1
30194 @endif m4
30196 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
30197 maybe-mostlyclean-m4:
30198 @if m4
30199 maybe-mostlyclean-m4: mostlyclean-m4
30201 mostlyclean-m4:
30202 @: $(MAKE); $(unstage)
30203 @[ -f ./m4/Makefile ] || exit 0; \
30204 r=`${PWD_COMMAND}`; export r; \
30205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30206 $(HOST_EXPORTS) \
30207 for flag in $(EXTRA_HOST_FLAGS) ; do \
30208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30209 done; \
30210 echo "Doing mostlyclean in m4" ; \
30211 (cd $(HOST_SUBDIR)/m4 && \
30212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30214 "RANLIB=$${RANLIB}" \
30215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30216 mostlyclean) \
30217 || exit 1
30219 @endif m4
30221 .PHONY: maybe-clean-m4 clean-m4
30222 maybe-clean-m4:
30223 @if m4
30224 maybe-clean-m4: clean-m4
30226 clean-m4:
30227 @: $(MAKE); $(unstage)
30228 @[ -f ./m4/Makefile ] || exit 0; \
30229 r=`${PWD_COMMAND}`; export r; \
30230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30231 $(HOST_EXPORTS) \
30232 for flag in $(EXTRA_HOST_FLAGS) ; do \
30233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30234 done; \
30235 echo "Doing clean in m4" ; \
30236 (cd $(HOST_SUBDIR)/m4 && \
30237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30239 "RANLIB=$${RANLIB}" \
30240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30241 clean) \
30242 || exit 1
30244 @endif m4
30246 .PHONY: maybe-distclean-m4 distclean-m4
30247 maybe-distclean-m4:
30248 @if m4
30249 maybe-distclean-m4: distclean-m4
30251 distclean-m4:
30252 @: $(MAKE); $(unstage)
30253 @[ -f ./m4/Makefile ] || exit 0; \
30254 r=`${PWD_COMMAND}`; export r; \
30255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30256 $(HOST_EXPORTS) \
30257 for flag in $(EXTRA_HOST_FLAGS) ; do \
30258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30259 done; \
30260 echo "Doing distclean in m4" ; \
30261 (cd $(HOST_SUBDIR)/m4 && \
30262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30264 "RANLIB=$${RANLIB}" \
30265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30266 distclean) \
30267 || exit 1
30269 @endif m4
30271 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30272 maybe-maintainer-clean-m4:
30273 @if m4
30274 maybe-maintainer-clean-m4: maintainer-clean-m4
30276 maintainer-clean-m4:
30277 @: $(MAKE); $(unstage)
30278 @[ -f ./m4/Makefile ] || exit 0; \
30279 r=`${PWD_COMMAND}`; export r; \
30280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30281 $(HOST_EXPORTS) \
30282 for flag in $(EXTRA_HOST_FLAGS) ; do \
30283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30284 done; \
30285 echo "Doing maintainer-clean in m4" ; \
30286 (cd $(HOST_SUBDIR)/m4 && \
30287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30289 "RANLIB=$${RANLIB}" \
30290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30291 maintainer-clean) \
30292 || exit 1
30294 @endif m4
30298 .PHONY: configure-make maybe-configure-make
30299 maybe-configure-make:
30300 @if gcc-bootstrap
30301 configure-make: stage_current
30302 @endif gcc-bootstrap
30303 @if make
30304 maybe-configure-make: configure-make
30305 configure-make:
30306 @: $(MAKE); $(unstage)
30307 @r=`${PWD_COMMAND}`; export r; \
30308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30309 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
30310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
30311 $(HOST_EXPORTS) \
30312 echo Configuring in $(HOST_SUBDIR)/make; \
30313 cd "$(HOST_SUBDIR)/make" || exit 1; \
30314 case $(srcdir) in \
30315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30316 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
30317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30318 esac; \
30319 srcdiroption="--srcdir=$${topdir}/make"; \
30320 libsrcdir="$$s/make"; \
30321 $(SHELL) $${libsrcdir}/configure \
30322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30323 --target=${target_alias} $${srcdiroption} \
30324 || exit 1
30325 @endif make
30331 .PHONY: all-make maybe-all-make
30332 maybe-all-make:
30333 @if gcc-bootstrap
30334 all-make: stage_current
30335 @endif gcc-bootstrap
30336 @if make
30337 TARGET-make=all
30338 maybe-all-make: all-make
30339 all-make: configure-make
30340 @: $(MAKE); $(unstage)
30341 @r=`${PWD_COMMAND}`; export r; \
30342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30343 $(HOST_EXPORTS) \
30344 (cd $(HOST_SUBDIR)/make && \
30345 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30346 $(TARGET-make))
30347 @endif make
30352 .PHONY: check-make maybe-check-make
30353 maybe-check-make:
30354 @if make
30355 maybe-check-make: check-make
30357 check-make:
30358 @: $(MAKE); $(unstage)
30359 @r=`${PWD_COMMAND}`; export r; \
30360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30361 $(HOST_EXPORTS) \
30362 (cd $(HOST_SUBDIR)/make && \
30363 $(MAKE) $(FLAGS_TO_PASS) check)
30365 @endif make
30367 .PHONY: install-make maybe-install-make
30368 maybe-install-make:
30369 @if make
30370 maybe-install-make: install-make
30372 install-make: installdirs
30373 @: $(MAKE); $(unstage)
30374 @r=`${PWD_COMMAND}`; export r; \
30375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30376 $(HOST_EXPORTS) \
30377 (cd $(HOST_SUBDIR)/make && \
30378 $(MAKE) $(FLAGS_TO_PASS) install)
30380 @endif make
30382 # Other targets (info, dvi, pdf, etc.)
30384 .PHONY: maybe-info-make info-make
30385 maybe-info-make:
30386 @if make
30387 maybe-info-make: info-make
30389 info-make: \
30390 configure-make
30391 @: $(MAKE); $(unstage)
30392 @[ -f ./make/Makefile ] || exit 0; \
30393 r=`${PWD_COMMAND}`; export r; \
30394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30395 $(HOST_EXPORTS) \
30396 for flag in $(EXTRA_HOST_FLAGS) ; do \
30397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30398 done; \
30399 echo "Doing info in make" ; \
30400 (cd $(HOST_SUBDIR)/make && \
30401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30403 "RANLIB=$${RANLIB}" \
30404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30405 info) \
30406 || exit 1
30408 @endif make
30410 .PHONY: maybe-dvi-make dvi-make
30411 maybe-dvi-make:
30412 @if make
30413 maybe-dvi-make: dvi-make
30415 dvi-make: \
30416 configure-make
30417 @: $(MAKE); $(unstage)
30418 @[ -f ./make/Makefile ] || exit 0; \
30419 r=`${PWD_COMMAND}`; export r; \
30420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30421 $(HOST_EXPORTS) \
30422 for flag in $(EXTRA_HOST_FLAGS) ; do \
30423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30424 done; \
30425 echo "Doing dvi in make" ; \
30426 (cd $(HOST_SUBDIR)/make && \
30427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30429 "RANLIB=$${RANLIB}" \
30430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30431 dvi) \
30432 || exit 1
30434 @endif make
30436 .PHONY: maybe-pdf-make pdf-make
30437 maybe-pdf-make:
30438 @if make
30439 maybe-pdf-make: pdf-make
30441 pdf-make: \
30442 configure-make
30443 @: $(MAKE); $(unstage)
30444 @[ -f ./make/Makefile ] || exit 0; \
30445 r=`${PWD_COMMAND}`; export r; \
30446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30447 $(HOST_EXPORTS) \
30448 for flag in $(EXTRA_HOST_FLAGS) ; do \
30449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30450 done; \
30451 echo "Doing pdf in make" ; \
30452 (cd $(HOST_SUBDIR)/make && \
30453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30455 "RANLIB=$${RANLIB}" \
30456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30457 pdf) \
30458 || exit 1
30460 @endif make
30462 .PHONY: maybe-html-make html-make
30463 maybe-html-make:
30464 @if make
30465 maybe-html-make: html-make
30467 html-make: \
30468 configure-make
30469 @: $(MAKE); $(unstage)
30470 @[ -f ./make/Makefile ] || exit 0; \
30471 r=`${PWD_COMMAND}`; export r; \
30472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30473 $(HOST_EXPORTS) \
30474 for flag in $(EXTRA_HOST_FLAGS) ; do \
30475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30476 done; \
30477 echo "Doing html in make" ; \
30478 (cd $(HOST_SUBDIR)/make && \
30479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30481 "RANLIB=$${RANLIB}" \
30482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30483 html) \
30484 || exit 1
30486 @endif make
30488 .PHONY: maybe-TAGS-make TAGS-make
30489 maybe-TAGS-make:
30490 @if make
30491 maybe-TAGS-make: TAGS-make
30493 TAGS-make: \
30494 configure-make
30495 @: $(MAKE); $(unstage)
30496 @[ -f ./make/Makefile ] || exit 0; \
30497 r=`${PWD_COMMAND}`; export r; \
30498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30499 $(HOST_EXPORTS) \
30500 for flag in $(EXTRA_HOST_FLAGS) ; do \
30501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30502 done; \
30503 echo "Doing TAGS in make" ; \
30504 (cd $(HOST_SUBDIR)/make && \
30505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30507 "RANLIB=$${RANLIB}" \
30508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30509 TAGS) \
30510 || exit 1
30512 @endif make
30514 .PHONY: maybe-install-info-make install-info-make
30515 maybe-install-info-make:
30516 @if make
30517 maybe-install-info-make: install-info-make
30519 install-info-make: \
30520 configure-make \
30521 info-make
30522 @: $(MAKE); $(unstage)
30523 @[ -f ./make/Makefile ] || exit 0; \
30524 r=`${PWD_COMMAND}`; export r; \
30525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30526 $(HOST_EXPORTS) \
30527 for flag in $(EXTRA_HOST_FLAGS) ; do \
30528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30529 done; \
30530 echo "Doing install-info in make" ; \
30531 (cd $(HOST_SUBDIR)/make && \
30532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30534 "RANLIB=$${RANLIB}" \
30535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30536 install-info) \
30537 || exit 1
30539 @endif make
30541 .PHONY: maybe-install-pdf-make install-pdf-make
30542 maybe-install-pdf-make:
30543 @if make
30544 maybe-install-pdf-make: install-pdf-make
30546 install-pdf-make: \
30547 configure-make \
30548 pdf-make
30549 @: $(MAKE); $(unstage)
30550 @[ -f ./make/Makefile ] || exit 0; \
30551 r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30553 $(HOST_EXPORTS) \
30554 for flag in $(EXTRA_HOST_FLAGS) ; do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30556 done; \
30557 echo "Doing install-pdf in make" ; \
30558 (cd $(HOST_SUBDIR)/make && \
30559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30561 "RANLIB=$${RANLIB}" \
30562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30563 install-pdf) \
30564 || exit 1
30566 @endif make
30568 .PHONY: maybe-install-html-make install-html-make
30569 maybe-install-html-make:
30570 @if make
30571 maybe-install-html-make: install-html-make
30573 install-html-make: \
30574 configure-make \
30575 html-make
30576 @: $(MAKE); $(unstage)
30577 @[ -f ./make/Makefile ] || exit 0; \
30578 r=`${PWD_COMMAND}`; export r; \
30579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30580 $(HOST_EXPORTS) \
30581 for flag in $(EXTRA_HOST_FLAGS) ; do \
30582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30583 done; \
30584 echo "Doing install-html in make" ; \
30585 (cd $(HOST_SUBDIR)/make && \
30586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30588 "RANLIB=$${RANLIB}" \
30589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30590 install-html) \
30591 || exit 1
30593 @endif make
30595 .PHONY: maybe-installcheck-make installcheck-make
30596 maybe-installcheck-make:
30597 @if make
30598 maybe-installcheck-make: installcheck-make
30600 installcheck-make: \
30601 configure-make
30602 @: $(MAKE); $(unstage)
30603 @[ -f ./make/Makefile ] || exit 0; \
30604 r=`${PWD_COMMAND}`; export r; \
30605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30606 $(HOST_EXPORTS) \
30607 for flag in $(EXTRA_HOST_FLAGS) ; do \
30608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30609 done; \
30610 echo "Doing installcheck in make" ; \
30611 (cd $(HOST_SUBDIR)/make && \
30612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30614 "RANLIB=$${RANLIB}" \
30615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30616 installcheck) \
30617 || exit 1
30619 @endif make
30621 .PHONY: maybe-mostlyclean-make mostlyclean-make
30622 maybe-mostlyclean-make:
30623 @if make
30624 maybe-mostlyclean-make: mostlyclean-make
30626 mostlyclean-make:
30627 @: $(MAKE); $(unstage)
30628 @[ -f ./make/Makefile ] || exit 0; \
30629 r=`${PWD_COMMAND}`; export r; \
30630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30631 $(HOST_EXPORTS) \
30632 for flag in $(EXTRA_HOST_FLAGS) ; do \
30633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30634 done; \
30635 echo "Doing mostlyclean in make" ; \
30636 (cd $(HOST_SUBDIR)/make && \
30637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30639 "RANLIB=$${RANLIB}" \
30640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30641 mostlyclean) \
30642 || exit 1
30644 @endif make
30646 .PHONY: maybe-clean-make clean-make
30647 maybe-clean-make:
30648 @if make
30649 maybe-clean-make: clean-make
30651 clean-make:
30652 @: $(MAKE); $(unstage)
30653 @[ -f ./make/Makefile ] || exit 0; \
30654 r=`${PWD_COMMAND}`; export r; \
30655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30656 $(HOST_EXPORTS) \
30657 for flag in $(EXTRA_HOST_FLAGS) ; do \
30658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30659 done; \
30660 echo "Doing clean in make" ; \
30661 (cd $(HOST_SUBDIR)/make && \
30662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30664 "RANLIB=$${RANLIB}" \
30665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30666 clean) \
30667 || exit 1
30669 @endif make
30671 .PHONY: maybe-distclean-make distclean-make
30672 maybe-distclean-make:
30673 @if make
30674 maybe-distclean-make: distclean-make
30676 distclean-make:
30677 @: $(MAKE); $(unstage)
30678 @[ -f ./make/Makefile ] || exit 0; \
30679 r=`${PWD_COMMAND}`; export r; \
30680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30681 $(HOST_EXPORTS) \
30682 for flag in $(EXTRA_HOST_FLAGS) ; do \
30683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30684 done; \
30685 echo "Doing distclean in make" ; \
30686 (cd $(HOST_SUBDIR)/make && \
30687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30689 "RANLIB=$${RANLIB}" \
30690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30691 distclean) \
30692 || exit 1
30694 @endif make
30696 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
30697 maybe-maintainer-clean-make:
30698 @if make
30699 maybe-maintainer-clean-make: maintainer-clean-make
30701 maintainer-clean-make:
30702 @: $(MAKE); $(unstage)
30703 @[ -f ./make/Makefile ] || exit 0; \
30704 r=`${PWD_COMMAND}`; export r; \
30705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30706 $(HOST_EXPORTS) \
30707 for flag in $(EXTRA_HOST_FLAGS) ; do \
30708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30709 done; \
30710 echo "Doing maintainer-clean in make" ; \
30711 (cd $(HOST_SUBDIR)/make && \
30712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30714 "RANLIB=$${RANLIB}" \
30715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30716 maintainer-clean) \
30717 || exit 1
30719 @endif make
30723 .PHONY: configure-mmalloc maybe-configure-mmalloc
30724 maybe-configure-mmalloc:
30725 @if gcc-bootstrap
30726 configure-mmalloc: stage_current
30727 @endif gcc-bootstrap
30728 @if mmalloc
30729 maybe-configure-mmalloc: configure-mmalloc
30730 configure-mmalloc:
30731 @: $(MAKE); $(unstage)
30732 @r=`${PWD_COMMAND}`; export r; \
30733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30734 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
30735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
30736 $(HOST_EXPORTS) \
30737 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
30738 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
30739 case $(srcdir) in \
30740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30741 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
30742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30743 esac; \
30744 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
30745 libsrcdir="$$s/mmalloc"; \
30746 $(SHELL) $${libsrcdir}/configure \
30747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30748 --target=${target_alias} $${srcdiroption} \
30749 || exit 1
30750 @endif mmalloc
30756 .PHONY: all-mmalloc maybe-all-mmalloc
30757 maybe-all-mmalloc:
30758 @if gcc-bootstrap
30759 all-mmalloc: stage_current
30760 @endif gcc-bootstrap
30761 @if mmalloc
30762 TARGET-mmalloc=all
30763 maybe-all-mmalloc: all-mmalloc
30764 all-mmalloc: configure-mmalloc
30765 @: $(MAKE); $(unstage)
30766 @r=`${PWD_COMMAND}`; export r; \
30767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30768 $(HOST_EXPORTS) \
30769 (cd $(HOST_SUBDIR)/mmalloc && \
30770 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30771 $(TARGET-mmalloc))
30772 @endif mmalloc
30777 .PHONY: check-mmalloc maybe-check-mmalloc
30778 maybe-check-mmalloc:
30779 @if mmalloc
30780 maybe-check-mmalloc: check-mmalloc
30782 check-mmalloc:
30784 @endif mmalloc
30786 .PHONY: install-mmalloc maybe-install-mmalloc
30787 maybe-install-mmalloc:
30788 @if mmalloc
30789 maybe-install-mmalloc: install-mmalloc
30791 install-mmalloc: installdirs
30792 @: $(MAKE); $(unstage)
30793 @r=`${PWD_COMMAND}`; export r; \
30794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30795 $(HOST_EXPORTS) \
30796 (cd $(HOST_SUBDIR)/mmalloc && \
30797 $(MAKE) $(FLAGS_TO_PASS) install)
30799 @endif mmalloc
30801 # Other targets (info, dvi, pdf, etc.)
30803 .PHONY: maybe-info-mmalloc info-mmalloc
30804 maybe-info-mmalloc:
30805 @if mmalloc
30806 maybe-info-mmalloc: info-mmalloc
30808 info-mmalloc: \
30809 configure-mmalloc
30810 @: $(MAKE); $(unstage)
30811 @[ -f ./mmalloc/Makefile ] || exit 0; \
30812 r=`${PWD_COMMAND}`; export r; \
30813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30814 $(HOST_EXPORTS) \
30815 for flag in $(EXTRA_HOST_FLAGS) ; do \
30816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30817 done; \
30818 echo "Doing info in mmalloc" ; \
30819 (cd $(HOST_SUBDIR)/mmalloc && \
30820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30822 "RANLIB=$${RANLIB}" \
30823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30824 info) \
30825 || exit 1
30827 @endif mmalloc
30829 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
30830 maybe-dvi-mmalloc:
30831 @if mmalloc
30832 maybe-dvi-mmalloc: dvi-mmalloc
30834 dvi-mmalloc: \
30835 configure-mmalloc
30836 @: $(MAKE); $(unstage)
30837 @[ -f ./mmalloc/Makefile ] || exit 0; \
30838 r=`${PWD_COMMAND}`; export r; \
30839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30840 $(HOST_EXPORTS) \
30841 for flag in $(EXTRA_HOST_FLAGS) ; do \
30842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30843 done; \
30844 echo "Doing dvi in mmalloc" ; \
30845 (cd $(HOST_SUBDIR)/mmalloc && \
30846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30848 "RANLIB=$${RANLIB}" \
30849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30850 dvi) \
30851 || exit 1
30853 @endif mmalloc
30855 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
30856 maybe-pdf-mmalloc:
30857 @if mmalloc
30858 maybe-pdf-mmalloc: pdf-mmalloc
30860 pdf-mmalloc: \
30861 configure-mmalloc
30862 @: $(MAKE); $(unstage)
30863 @[ -f ./mmalloc/Makefile ] || exit 0; \
30864 r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 $(HOST_EXPORTS) \
30867 for flag in $(EXTRA_HOST_FLAGS) ; do \
30868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30869 done; \
30870 echo "Doing pdf in mmalloc" ; \
30871 (cd $(HOST_SUBDIR)/mmalloc && \
30872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30874 "RANLIB=$${RANLIB}" \
30875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30876 pdf) \
30877 || exit 1
30879 @endif mmalloc
30881 .PHONY: maybe-html-mmalloc html-mmalloc
30882 maybe-html-mmalloc:
30883 @if mmalloc
30884 maybe-html-mmalloc: html-mmalloc
30886 html-mmalloc: \
30887 configure-mmalloc
30888 @: $(MAKE); $(unstage)
30889 @[ -f ./mmalloc/Makefile ] || exit 0; \
30890 r=`${PWD_COMMAND}`; export r; \
30891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30892 $(HOST_EXPORTS) \
30893 for flag in $(EXTRA_HOST_FLAGS) ; do \
30894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30895 done; \
30896 echo "Doing html in mmalloc" ; \
30897 (cd $(HOST_SUBDIR)/mmalloc && \
30898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30900 "RANLIB=$${RANLIB}" \
30901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30902 html) \
30903 || exit 1
30905 @endif mmalloc
30907 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
30908 maybe-TAGS-mmalloc:
30909 @if mmalloc
30910 maybe-TAGS-mmalloc: TAGS-mmalloc
30912 TAGS-mmalloc: \
30913 configure-mmalloc
30914 @: $(MAKE); $(unstage)
30915 @[ -f ./mmalloc/Makefile ] || exit 0; \
30916 r=`${PWD_COMMAND}`; export r; \
30917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30918 $(HOST_EXPORTS) \
30919 for flag in $(EXTRA_HOST_FLAGS) ; do \
30920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30921 done; \
30922 echo "Doing TAGS in mmalloc" ; \
30923 (cd $(HOST_SUBDIR)/mmalloc && \
30924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30926 "RANLIB=$${RANLIB}" \
30927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30928 TAGS) \
30929 || exit 1
30931 @endif mmalloc
30933 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
30934 maybe-install-info-mmalloc:
30935 @if mmalloc
30936 maybe-install-info-mmalloc: install-info-mmalloc
30938 install-info-mmalloc: \
30939 configure-mmalloc \
30940 info-mmalloc
30941 @: $(MAKE); $(unstage)
30942 @[ -f ./mmalloc/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) ; do \
30947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30948 done; \
30949 echo "Doing install-info in mmalloc" ; \
30950 (cd $(HOST_SUBDIR)/mmalloc && \
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}" "WINDMC=$${WINDMC}" \
30955 install-info) \
30956 || exit 1
30958 @endif mmalloc
30960 .PHONY: maybe-install-pdf-mmalloc install-pdf-mmalloc
30961 maybe-install-pdf-mmalloc:
30962 @if mmalloc
30963 maybe-install-pdf-mmalloc: install-pdf-mmalloc
30965 install-pdf-mmalloc: \
30966 configure-mmalloc \
30967 pdf-mmalloc
30968 @: $(MAKE); $(unstage)
30969 @[ -f ./mmalloc/Makefile ] || exit 0; \
30970 r=`${PWD_COMMAND}`; export r; \
30971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30972 $(HOST_EXPORTS) \
30973 for flag in $(EXTRA_HOST_FLAGS) ; do \
30974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30975 done; \
30976 echo "Doing install-pdf in mmalloc" ; \
30977 (cd $(HOST_SUBDIR)/mmalloc && \
30978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30980 "RANLIB=$${RANLIB}" \
30981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30982 install-pdf) \
30983 || exit 1
30985 @endif mmalloc
30987 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
30988 maybe-install-html-mmalloc:
30989 @if mmalloc
30990 maybe-install-html-mmalloc: install-html-mmalloc
30992 install-html-mmalloc: \
30993 configure-mmalloc \
30994 html-mmalloc
30995 @: $(MAKE); $(unstage)
30996 @[ -f ./mmalloc/Makefile ] || exit 0; \
30997 r=`${PWD_COMMAND}`; export r; \
30998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30999 $(HOST_EXPORTS) \
31000 for flag in $(EXTRA_HOST_FLAGS) ; do \
31001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31002 done; \
31003 echo "Doing install-html in mmalloc" ; \
31004 (cd $(HOST_SUBDIR)/mmalloc && \
31005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31007 "RANLIB=$${RANLIB}" \
31008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31009 install-html) \
31010 || exit 1
31012 @endif mmalloc
31014 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
31015 maybe-installcheck-mmalloc:
31016 @if mmalloc
31017 maybe-installcheck-mmalloc: installcheck-mmalloc
31019 installcheck-mmalloc: \
31020 configure-mmalloc
31021 @: $(MAKE); $(unstage)
31022 @[ -f ./mmalloc/Makefile ] || exit 0; \
31023 r=`${PWD_COMMAND}`; export r; \
31024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31025 $(HOST_EXPORTS) \
31026 for flag in $(EXTRA_HOST_FLAGS) ; do \
31027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31028 done; \
31029 echo "Doing installcheck in mmalloc" ; \
31030 (cd $(HOST_SUBDIR)/mmalloc && \
31031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31033 "RANLIB=$${RANLIB}" \
31034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31035 installcheck) \
31036 || exit 1
31038 @endif mmalloc
31040 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
31041 maybe-mostlyclean-mmalloc:
31042 @if mmalloc
31043 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
31045 mostlyclean-mmalloc:
31046 @: $(MAKE); $(unstage)
31047 @[ -f ./mmalloc/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) ; do \
31052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31053 done; \
31054 echo "Doing mostlyclean in mmalloc" ; \
31055 (cd $(HOST_SUBDIR)/mmalloc && \
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}" "WINDMC=$${WINDMC}" \
31060 mostlyclean) \
31061 || exit 1
31063 @endif mmalloc
31065 .PHONY: maybe-clean-mmalloc clean-mmalloc
31066 maybe-clean-mmalloc:
31067 @if mmalloc
31068 maybe-clean-mmalloc: clean-mmalloc
31070 clean-mmalloc:
31071 @: $(MAKE); $(unstage)
31072 @[ -f ./mmalloc/Makefile ] || exit 0; \
31073 r=`${PWD_COMMAND}`; export r; \
31074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31075 $(HOST_EXPORTS) \
31076 for flag in $(EXTRA_HOST_FLAGS) ; do \
31077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31078 done; \
31079 echo "Doing clean in mmalloc" ; \
31080 (cd $(HOST_SUBDIR)/mmalloc && \
31081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31083 "RANLIB=$${RANLIB}" \
31084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31085 clean) \
31086 || exit 1
31088 @endif mmalloc
31090 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
31091 maybe-distclean-mmalloc:
31092 @if mmalloc
31093 maybe-distclean-mmalloc: distclean-mmalloc
31095 distclean-mmalloc:
31096 @: $(MAKE); $(unstage)
31097 @[ -f ./mmalloc/Makefile ] || exit 0; \
31098 r=`${PWD_COMMAND}`; export r; \
31099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31100 $(HOST_EXPORTS) \
31101 for flag in $(EXTRA_HOST_FLAGS) ; do \
31102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31103 done; \
31104 echo "Doing distclean in mmalloc" ; \
31105 (cd $(HOST_SUBDIR)/mmalloc && \
31106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31108 "RANLIB=$${RANLIB}" \
31109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31110 distclean) \
31111 || exit 1
31113 @endif mmalloc
31115 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
31116 maybe-maintainer-clean-mmalloc:
31117 @if mmalloc
31118 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
31120 maintainer-clean-mmalloc:
31121 @: $(MAKE); $(unstage)
31122 @[ -f ./mmalloc/Makefile ] || exit 0; \
31123 r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 $(HOST_EXPORTS) \
31126 for flag in $(EXTRA_HOST_FLAGS) ; do \
31127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31128 done; \
31129 echo "Doing maintainer-clean in mmalloc" ; \
31130 (cd $(HOST_SUBDIR)/mmalloc && \
31131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31133 "RANLIB=$${RANLIB}" \
31134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31135 maintainer-clean) \
31136 || exit 1
31138 @endif mmalloc
31142 .PHONY: configure-patch maybe-configure-patch
31143 maybe-configure-patch:
31144 @if gcc-bootstrap
31145 configure-patch: stage_current
31146 @endif gcc-bootstrap
31147 @if patch
31148 maybe-configure-patch: configure-patch
31149 configure-patch:
31150 @: $(MAKE); $(unstage)
31151 @r=`${PWD_COMMAND}`; export r; \
31152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31153 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
31154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
31155 $(HOST_EXPORTS) \
31156 echo Configuring in $(HOST_SUBDIR)/patch; \
31157 cd "$(HOST_SUBDIR)/patch" || exit 1; \
31158 case $(srcdir) in \
31159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31160 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
31161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31162 esac; \
31163 srcdiroption="--srcdir=$${topdir}/patch"; \
31164 libsrcdir="$$s/patch"; \
31165 $(SHELL) $${libsrcdir}/configure \
31166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31167 --target=${target_alias} $${srcdiroption} \
31168 || exit 1
31169 @endif patch
31175 .PHONY: all-patch maybe-all-patch
31176 maybe-all-patch:
31177 @if gcc-bootstrap
31178 all-patch: stage_current
31179 @endif gcc-bootstrap
31180 @if patch
31181 TARGET-patch=all
31182 maybe-all-patch: all-patch
31183 all-patch: configure-patch
31184 @: $(MAKE); $(unstage)
31185 @r=`${PWD_COMMAND}`; export r; \
31186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31187 $(HOST_EXPORTS) \
31188 (cd $(HOST_SUBDIR)/patch && \
31189 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31190 $(TARGET-patch))
31191 @endif patch
31196 .PHONY: check-patch maybe-check-patch
31197 maybe-check-patch:
31198 @if patch
31199 maybe-check-patch: check-patch
31201 check-patch:
31202 @: $(MAKE); $(unstage)
31203 @r=`${PWD_COMMAND}`; export r; \
31204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31205 $(HOST_EXPORTS) \
31206 (cd $(HOST_SUBDIR)/patch && \
31207 $(MAKE) $(FLAGS_TO_PASS) check)
31209 @endif patch
31211 .PHONY: install-patch maybe-install-patch
31212 maybe-install-patch:
31213 @if patch
31214 maybe-install-patch: install-patch
31216 install-patch: installdirs
31217 @: $(MAKE); $(unstage)
31218 @r=`${PWD_COMMAND}`; export r; \
31219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31220 $(HOST_EXPORTS) \
31221 (cd $(HOST_SUBDIR)/patch && \
31222 $(MAKE) $(FLAGS_TO_PASS) install)
31224 @endif patch
31226 # Other targets (info, dvi, pdf, etc.)
31228 .PHONY: maybe-info-patch info-patch
31229 maybe-info-patch:
31230 @if patch
31231 maybe-info-patch: info-patch
31233 info-patch: \
31234 configure-patch
31235 @: $(MAKE); $(unstage)
31236 @[ -f ./patch/Makefile ] || exit 0; \
31237 r=`${PWD_COMMAND}`; export r; \
31238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31239 $(HOST_EXPORTS) \
31240 for flag in $(EXTRA_HOST_FLAGS) ; do \
31241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31242 done; \
31243 echo "Doing info in patch" ; \
31244 (cd $(HOST_SUBDIR)/patch && \
31245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31247 "RANLIB=$${RANLIB}" \
31248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31249 info) \
31250 || exit 1
31252 @endif patch
31254 .PHONY: maybe-dvi-patch dvi-patch
31255 maybe-dvi-patch:
31256 @if patch
31257 maybe-dvi-patch: dvi-patch
31259 dvi-patch: \
31260 configure-patch
31261 @: $(MAKE); $(unstage)
31262 @[ -f ./patch/Makefile ] || exit 0; \
31263 r=`${PWD_COMMAND}`; export r; \
31264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31265 $(HOST_EXPORTS) \
31266 for flag in $(EXTRA_HOST_FLAGS) ; do \
31267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31268 done; \
31269 echo "Doing dvi in patch" ; \
31270 (cd $(HOST_SUBDIR)/patch && \
31271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31273 "RANLIB=$${RANLIB}" \
31274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31275 dvi) \
31276 || exit 1
31278 @endif patch
31280 .PHONY: maybe-pdf-patch pdf-patch
31281 maybe-pdf-patch:
31282 @if patch
31283 maybe-pdf-patch: pdf-patch
31285 pdf-patch: \
31286 configure-patch
31287 @: $(MAKE); $(unstage)
31288 @[ -f ./patch/Makefile ] || exit 0; \
31289 r=`${PWD_COMMAND}`; export r; \
31290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31291 $(HOST_EXPORTS) \
31292 for flag in $(EXTRA_HOST_FLAGS) ; do \
31293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31294 done; \
31295 echo "Doing pdf in patch" ; \
31296 (cd $(HOST_SUBDIR)/patch && \
31297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31299 "RANLIB=$${RANLIB}" \
31300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31301 pdf) \
31302 || exit 1
31304 @endif patch
31306 .PHONY: maybe-html-patch html-patch
31307 maybe-html-patch:
31308 @if patch
31309 maybe-html-patch: html-patch
31311 html-patch: \
31312 configure-patch
31313 @: $(MAKE); $(unstage)
31314 @[ -f ./patch/Makefile ] || exit 0; \
31315 r=`${PWD_COMMAND}`; export r; \
31316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31317 $(HOST_EXPORTS) \
31318 for flag in $(EXTRA_HOST_FLAGS) ; do \
31319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31320 done; \
31321 echo "Doing html in patch" ; \
31322 (cd $(HOST_SUBDIR)/patch && \
31323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31325 "RANLIB=$${RANLIB}" \
31326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31327 html) \
31328 || exit 1
31330 @endif patch
31332 .PHONY: maybe-TAGS-patch TAGS-patch
31333 maybe-TAGS-patch:
31334 @if patch
31335 maybe-TAGS-patch: TAGS-patch
31337 TAGS-patch: \
31338 configure-patch
31339 @: $(MAKE); $(unstage)
31340 @[ -f ./patch/Makefile ] || exit 0; \
31341 r=`${PWD_COMMAND}`; export r; \
31342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31343 $(HOST_EXPORTS) \
31344 for flag in $(EXTRA_HOST_FLAGS) ; do \
31345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31346 done; \
31347 echo "Doing TAGS in patch" ; \
31348 (cd $(HOST_SUBDIR)/patch && \
31349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31351 "RANLIB=$${RANLIB}" \
31352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31353 TAGS) \
31354 || exit 1
31356 @endif patch
31358 .PHONY: maybe-install-info-patch install-info-patch
31359 maybe-install-info-patch:
31360 @if patch
31361 maybe-install-info-patch: install-info-patch
31363 install-info-patch: \
31364 configure-patch \
31365 info-patch
31366 @: $(MAKE); $(unstage)
31367 @[ -f ./patch/Makefile ] || exit 0; \
31368 r=`${PWD_COMMAND}`; export r; \
31369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31370 $(HOST_EXPORTS) \
31371 for flag in $(EXTRA_HOST_FLAGS) ; do \
31372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31373 done; \
31374 echo "Doing install-info in patch" ; \
31375 (cd $(HOST_SUBDIR)/patch && \
31376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31378 "RANLIB=$${RANLIB}" \
31379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31380 install-info) \
31381 || exit 1
31383 @endif patch
31385 .PHONY: maybe-install-pdf-patch install-pdf-patch
31386 maybe-install-pdf-patch:
31387 @if patch
31388 maybe-install-pdf-patch: install-pdf-patch
31390 install-pdf-patch: \
31391 configure-patch \
31392 pdf-patch
31393 @: $(MAKE); $(unstage)
31394 @[ -f ./patch/Makefile ] || exit 0; \
31395 r=`${PWD_COMMAND}`; export r; \
31396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31397 $(HOST_EXPORTS) \
31398 for flag in $(EXTRA_HOST_FLAGS) ; do \
31399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31400 done; \
31401 echo "Doing install-pdf in patch" ; \
31402 (cd $(HOST_SUBDIR)/patch && \
31403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31405 "RANLIB=$${RANLIB}" \
31406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31407 install-pdf) \
31408 || exit 1
31410 @endif patch
31412 .PHONY: maybe-install-html-patch install-html-patch
31413 maybe-install-html-patch:
31414 @if patch
31415 maybe-install-html-patch: install-html-patch
31417 install-html-patch: \
31418 configure-patch \
31419 html-patch
31420 @: $(MAKE); $(unstage)
31421 @[ -f ./patch/Makefile ] || exit 0; \
31422 r=`${PWD_COMMAND}`; export r; \
31423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31424 $(HOST_EXPORTS) \
31425 for flag in $(EXTRA_HOST_FLAGS) ; do \
31426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31427 done; \
31428 echo "Doing install-html in patch" ; \
31429 (cd $(HOST_SUBDIR)/patch && \
31430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31432 "RANLIB=$${RANLIB}" \
31433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31434 install-html) \
31435 || exit 1
31437 @endif patch
31439 .PHONY: maybe-installcheck-patch installcheck-patch
31440 maybe-installcheck-patch:
31441 @if patch
31442 maybe-installcheck-patch: installcheck-patch
31444 installcheck-patch: \
31445 configure-patch
31446 @: $(MAKE); $(unstage)
31447 @[ -f ./patch/Makefile ] || exit 0; \
31448 r=`${PWD_COMMAND}`; export r; \
31449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31450 $(HOST_EXPORTS) \
31451 for flag in $(EXTRA_HOST_FLAGS) ; do \
31452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31453 done; \
31454 echo "Doing installcheck in patch" ; \
31455 (cd $(HOST_SUBDIR)/patch && \
31456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31458 "RANLIB=$${RANLIB}" \
31459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31460 installcheck) \
31461 || exit 1
31463 @endif patch
31465 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
31466 maybe-mostlyclean-patch:
31467 @if patch
31468 maybe-mostlyclean-patch: mostlyclean-patch
31470 mostlyclean-patch:
31471 @: $(MAKE); $(unstage)
31472 @[ -f ./patch/Makefile ] || exit 0; \
31473 r=`${PWD_COMMAND}`; export r; \
31474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31475 $(HOST_EXPORTS) \
31476 for flag in $(EXTRA_HOST_FLAGS) ; do \
31477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31478 done; \
31479 echo "Doing mostlyclean in patch" ; \
31480 (cd $(HOST_SUBDIR)/patch && \
31481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31483 "RANLIB=$${RANLIB}" \
31484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31485 mostlyclean) \
31486 || exit 1
31488 @endif patch
31490 .PHONY: maybe-clean-patch clean-patch
31491 maybe-clean-patch:
31492 @if patch
31493 maybe-clean-patch: clean-patch
31495 clean-patch:
31496 @: $(MAKE); $(unstage)
31497 @[ -f ./patch/Makefile ] || exit 0; \
31498 r=`${PWD_COMMAND}`; export r; \
31499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31500 $(HOST_EXPORTS) \
31501 for flag in $(EXTRA_HOST_FLAGS) ; do \
31502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31503 done; \
31504 echo "Doing clean in patch" ; \
31505 (cd $(HOST_SUBDIR)/patch && \
31506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31508 "RANLIB=$${RANLIB}" \
31509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31510 clean) \
31511 || exit 1
31513 @endif patch
31515 .PHONY: maybe-distclean-patch distclean-patch
31516 maybe-distclean-patch:
31517 @if patch
31518 maybe-distclean-patch: distclean-patch
31520 distclean-patch:
31521 @: $(MAKE); $(unstage)
31522 @[ -f ./patch/Makefile ] || exit 0; \
31523 r=`${PWD_COMMAND}`; export r; \
31524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31525 $(HOST_EXPORTS) \
31526 for flag in $(EXTRA_HOST_FLAGS) ; do \
31527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31528 done; \
31529 echo "Doing distclean in patch" ; \
31530 (cd $(HOST_SUBDIR)/patch && \
31531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31533 "RANLIB=$${RANLIB}" \
31534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31535 distclean) \
31536 || exit 1
31538 @endif patch
31540 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
31541 maybe-maintainer-clean-patch:
31542 @if patch
31543 maybe-maintainer-clean-patch: maintainer-clean-patch
31545 maintainer-clean-patch:
31546 @: $(MAKE); $(unstage)
31547 @[ -f ./patch/Makefile ] || exit 0; \
31548 r=`${PWD_COMMAND}`; export r; \
31549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31550 $(HOST_EXPORTS) \
31551 for flag in $(EXTRA_HOST_FLAGS) ; do \
31552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31553 done; \
31554 echo "Doing maintainer-clean in patch" ; \
31555 (cd $(HOST_SUBDIR)/patch && \
31556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31558 "RANLIB=$${RANLIB}" \
31559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31560 maintainer-clean) \
31561 || exit 1
31563 @endif patch
31567 .PHONY: configure-perl maybe-configure-perl
31568 maybe-configure-perl:
31569 @if gcc-bootstrap
31570 configure-perl: stage_current
31571 @endif gcc-bootstrap
31572 @if perl
31573 maybe-configure-perl: configure-perl
31574 configure-perl:
31575 @: $(MAKE); $(unstage)
31576 @r=`${PWD_COMMAND}`; export r; \
31577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31578 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
31579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
31580 $(HOST_EXPORTS) \
31581 echo Configuring in $(HOST_SUBDIR)/perl; \
31582 cd "$(HOST_SUBDIR)/perl" || exit 1; \
31583 case $(srcdir) in \
31584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31585 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
31586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31587 esac; \
31588 srcdiroption="--srcdir=$${topdir}/perl"; \
31589 libsrcdir="$$s/perl"; \
31590 $(SHELL) $${libsrcdir}/configure \
31591 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31592 --target=${target_alias} $${srcdiroption} \
31593 || exit 1
31594 @endif perl
31600 .PHONY: all-perl maybe-all-perl
31601 maybe-all-perl:
31602 @if gcc-bootstrap
31603 all-perl: stage_current
31604 @endif gcc-bootstrap
31605 @if perl
31606 TARGET-perl=all
31607 maybe-all-perl: all-perl
31608 all-perl: configure-perl
31609 @: $(MAKE); $(unstage)
31610 @r=`${PWD_COMMAND}`; export r; \
31611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31612 $(HOST_EXPORTS) \
31613 (cd $(HOST_SUBDIR)/perl && \
31614 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31615 $(TARGET-perl))
31616 @endif perl
31621 .PHONY: check-perl maybe-check-perl
31622 maybe-check-perl:
31623 @if perl
31624 maybe-check-perl: check-perl
31626 check-perl:
31627 @: $(MAKE); $(unstage)
31628 @r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 $(HOST_EXPORTS) \
31631 (cd $(HOST_SUBDIR)/perl && \
31632 $(MAKE) $(FLAGS_TO_PASS) check)
31634 @endif perl
31636 .PHONY: install-perl maybe-install-perl
31637 maybe-install-perl:
31638 @if perl
31639 maybe-install-perl: install-perl
31641 install-perl: installdirs
31642 @: $(MAKE); $(unstage)
31643 @r=`${PWD_COMMAND}`; export r; \
31644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31645 $(HOST_EXPORTS) \
31646 (cd $(HOST_SUBDIR)/perl && \
31647 $(MAKE) $(FLAGS_TO_PASS) install)
31649 @endif perl
31651 # Other targets (info, dvi, pdf, etc.)
31653 .PHONY: maybe-info-perl info-perl
31654 maybe-info-perl:
31655 @if perl
31656 maybe-info-perl: info-perl
31658 info-perl: \
31659 configure-perl
31660 @: $(MAKE); $(unstage)
31661 @[ -f ./perl/Makefile ] || exit 0; \
31662 r=`${PWD_COMMAND}`; export r; \
31663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31664 $(HOST_EXPORTS) \
31665 for flag in $(EXTRA_HOST_FLAGS) ; do \
31666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31667 done; \
31668 echo "Doing info in perl" ; \
31669 (cd $(HOST_SUBDIR)/perl && \
31670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31672 "RANLIB=$${RANLIB}" \
31673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31674 info) \
31675 || exit 1
31677 @endif perl
31679 .PHONY: maybe-dvi-perl dvi-perl
31680 maybe-dvi-perl:
31681 @if perl
31682 maybe-dvi-perl: dvi-perl
31684 dvi-perl: \
31685 configure-perl
31686 @: $(MAKE); $(unstage)
31687 @[ -f ./perl/Makefile ] || exit 0; \
31688 r=`${PWD_COMMAND}`; export r; \
31689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31690 $(HOST_EXPORTS) \
31691 for flag in $(EXTRA_HOST_FLAGS) ; do \
31692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31693 done; \
31694 echo "Doing dvi in perl" ; \
31695 (cd $(HOST_SUBDIR)/perl && \
31696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31698 "RANLIB=$${RANLIB}" \
31699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31700 dvi) \
31701 || exit 1
31703 @endif perl
31705 .PHONY: maybe-pdf-perl pdf-perl
31706 maybe-pdf-perl:
31707 @if perl
31708 maybe-pdf-perl: pdf-perl
31710 pdf-perl: \
31711 configure-perl
31712 @: $(MAKE); $(unstage)
31713 @[ -f ./perl/Makefile ] || exit 0; \
31714 r=`${PWD_COMMAND}`; export r; \
31715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31716 $(HOST_EXPORTS) \
31717 for flag in $(EXTRA_HOST_FLAGS) ; do \
31718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31719 done; \
31720 echo "Doing pdf in perl" ; \
31721 (cd $(HOST_SUBDIR)/perl && \
31722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31724 "RANLIB=$${RANLIB}" \
31725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31726 pdf) \
31727 || exit 1
31729 @endif perl
31731 .PHONY: maybe-html-perl html-perl
31732 maybe-html-perl:
31733 @if perl
31734 maybe-html-perl: html-perl
31736 html-perl: \
31737 configure-perl
31738 @: $(MAKE); $(unstage)
31739 @[ -f ./perl/Makefile ] || exit 0; \
31740 r=`${PWD_COMMAND}`; export r; \
31741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31742 $(HOST_EXPORTS) \
31743 for flag in $(EXTRA_HOST_FLAGS) ; do \
31744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31745 done; \
31746 echo "Doing html in perl" ; \
31747 (cd $(HOST_SUBDIR)/perl && \
31748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31750 "RANLIB=$${RANLIB}" \
31751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31752 html) \
31753 || exit 1
31755 @endif perl
31757 .PHONY: maybe-TAGS-perl TAGS-perl
31758 maybe-TAGS-perl:
31759 @if perl
31760 maybe-TAGS-perl: TAGS-perl
31762 TAGS-perl: \
31763 configure-perl
31764 @: $(MAKE); $(unstage)
31765 @[ -f ./perl/Makefile ] || exit 0; \
31766 r=`${PWD_COMMAND}`; export r; \
31767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31768 $(HOST_EXPORTS) \
31769 for flag in $(EXTRA_HOST_FLAGS) ; do \
31770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31771 done; \
31772 echo "Doing TAGS in perl" ; \
31773 (cd $(HOST_SUBDIR)/perl && \
31774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31776 "RANLIB=$${RANLIB}" \
31777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31778 TAGS) \
31779 || exit 1
31781 @endif perl
31783 .PHONY: maybe-install-info-perl install-info-perl
31784 maybe-install-info-perl:
31785 @if perl
31786 maybe-install-info-perl: install-info-perl
31788 install-info-perl: \
31789 configure-perl \
31790 info-perl
31791 @: $(MAKE); $(unstage)
31792 @[ -f ./perl/Makefile ] || exit 0; \
31793 r=`${PWD_COMMAND}`; export r; \
31794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31795 $(HOST_EXPORTS) \
31796 for flag in $(EXTRA_HOST_FLAGS) ; do \
31797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31798 done; \
31799 echo "Doing install-info in perl" ; \
31800 (cd $(HOST_SUBDIR)/perl && \
31801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31803 "RANLIB=$${RANLIB}" \
31804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31805 install-info) \
31806 || exit 1
31808 @endif perl
31810 .PHONY: maybe-install-pdf-perl install-pdf-perl
31811 maybe-install-pdf-perl:
31812 @if perl
31813 maybe-install-pdf-perl: install-pdf-perl
31815 install-pdf-perl: \
31816 configure-perl \
31817 pdf-perl
31818 @: $(MAKE); $(unstage)
31819 @[ -f ./perl/Makefile ] || exit 0; \
31820 r=`${PWD_COMMAND}`; export r; \
31821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31822 $(HOST_EXPORTS) \
31823 for flag in $(EXTRA_HOST_FLAGS) ; do \
31824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31825 done; \
31826 echo "Doing install-pdf in perl" ; \
31827 (cd $(HOST_SUBDIR)/perl && \
31828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31830 "RANLIB=$${RANLIB}" \
31831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31832 install-pdf) \
31833 || exit 1
31835 @endif perl
31837 .PHONY: maybe-install-html-perl install-html-perl
31838 maybe-install-html-perl:
31839 @if perl
31840 maybe-install-html-perl: install-html-perl
31842 install-html-perl: \
31843 configure-perl \
31844 html-perl
31845 @: $(MAKE); $(unstage)
31846 @[ -f ./perl/Makefile ] || exit 0; \
31847 r=`${PWD_COMMAND}`; export r; \
31848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31849 $(HOST_EXPORTS) \
31850 for flag in $(EXTRA_HOST_FLAGS) ; do \
31851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31852 done; \
31853 echo "Doing install-html in perl" ; \
31854 (cd $(HOST_SUBDIR)/perl && \
31855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31857 "RANLIB=$${RANLIB}" \
31858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31859 install-html) \
31860 || exit 1
31862 @endif perl
31864 .PHONY: maybe-installcheck-perl installcheck-perl
31865 maybe-installcheck-perl:
31866 @if perl
31867 maybe-installcheck-perl: installcheck-perl
31869 installcheck-perl: \
31870 configure-perl
31871 @: $(MAKE); $(unstage)
31872 @[ -f ./perl/Makefile ] || exit 0; \
31873 r=`${PWD_COMMAND}`; export r; \
31874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31875 $(HOST_EXPORTS) \
31876 for flag in $(EXTRA_HOST_FLAGS) ; do \
31877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31878 done; \
31879 echo "Doing installcheck in perl" ; \
31880 (cd $(HOST_SUBDIR)/perl && \
31881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31883 "RANLIB=$${RANLIB}" \
31884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31885 installcheck) \
31886 || exit 1
31888 @endif perl
31890 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
31891 maybe-mostlyclean-perl:
31892 @if perl
31893 maybe-mostlyclean-perl: mostlyclean-perl
31895 mostlyclean-perl:
31896 @: $(MAKE); $(unstage)
31897 @[ -f ./perl/Makefile ] || exit 0; \
31898 r=`${PWD_COMMAND}`; export r; \
31899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31900 $(HOST_EXPORTS) \
31901 for flag in $(EXTRA_HOST_FLAGS) ; do \
31902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31903 done; \
31904 echo "Doing mostlyclean in perl" ; \
31905 (cd $(HOST_SUBDIR)/perl && \
31906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31908 "RANLIB=$${RANLIB}" \
31909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31910 mostlyclean) \
31911 || exit 1
31913 @endif perl
31915 .PHONY: maybe-clean-perl clean-perl
31916 maybe-clean-perl:
31917 @if perl
31918 maybe-clean-perl: clean-perl
31920 clean-perl:
31921 @: $(MAKE); $(unstage)
31922 @[ -f ./perl/Makefile ] || exit 0; \
31923 r=`${PWD_COMMAND}`; export r; \
31924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31925 $(HOST_EXPORTS) \
31926 for flag in $(EXTRA_HOST_FLAGS) ; do \
31927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31928 done; \
31929 echo "Doing clean in perl" ; \
31930 (cd $(HOST_SUBDIR)/perl && \
31931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31933 "RANLIB=$${RANLIB}" \
31934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31935 clean) \
31936 || exit 1
31938 @endif perl
31940 .PHONY: maybe-distclean-perl distclean-perl
31941 maybe-distclean-perl:
31942 @if perl
31943 maybe-distclean-perl: distclean-perl
31945 distclean-perl:
31946 @: $(MAKE); $(unstage)
31947 @[ -f ./perl/Makefile ] || exit 0; \
31948 r=`${PWD_COMMAND}`; export r; \
31949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31950 $(HOST_EXPORTS) \
31951 for flag in $(EXTRA_HOST_FLAGS) ; do \
31952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31953 done; \
31954 echo "Doing distclean in perl" ; \
31955 (cd $(HOST_SUBDIR)/perl && \
31956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31958 "RANLIB=$${RANLIB}" \
31959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31960 distclean) \
31961 || exit 1
31963 @endif perl
31965 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
31966 maybe-maintainer-clean-perl:
31967 @if perl
31968 maybe-maintainer-clean-perl: maintainer-clean-perl
31970 maintainer-clean-perl:
31971 @: $(MAKE); $(unstage)
31972 @[ -f ./perl/Makefile ] || exit 0; \
31973 r=`${PWD_COMMAND}`; export r; \
31974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31975 $(HOST_EXPORTS) \
31976 for flag in $(EXTRA_HOST_FLAGS) ; do \
31977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31978 done; \
31979 echo "Doing maintainer-clean in perl" ; \
31980 (cd $(HOST_SUBDIR)/perl && \
31981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31983 "RANLIB=$${RANLIB}" \
31984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31985 maintainer-clean) \
31986 || exit 1
31988 @endif perl
31992 .PHONY: configure-prms maybe-configure-prms
31993 maybe-configure-prms:
31994 @if gcc-bootstrap
31995 configure-prms: stage_current
31996 @endif gcc-bootstrap
31997 @if prms
31998 maybe-configure-prms: configure-prms
31999 configure-prms:
32000 @: $(MAKE); $(unstage)
32001 @r=`${PWD_COMMAND}`; export r; \
32002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32003 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
32004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
32005 $(HOST_EXPORTS) \
32006 echo Configuring in $(HOST_SUBDIR)/prms; \
32007 cd "$(HOST_SUBDIR)/prms" || exit 1; \
32008 case $(srcdir) in \
32009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32010 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
32011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32012 esac; \
32013 srcdiroption="--srcdir=$${topdir}/prms"; \
32014 libsrcdir="$$s/prms"; \
32015 $(SHELL) $${libsrcdir}/configure \
32016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32017 --target=${target_alias} $${srcdiroption} \
32018 || exit 1
32019 @endif prms
32025 .PHONY: all-prms maybe-all-prms
32026 maybe-all-prms:
32027 @if gcc-bootstrap
32028 all-prms: stage_current
32029 @endif gcc-bootstrap
32030 @if prms
32031 TARGET-prms=all
32032 maybe-all-prms: all-prms
32033 all-prms: configure-prms
32034 @: $(MAKE); $(unstage)
32035 @r=`${PWD_COMMAND}`; export r; \
32036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32037 $(HOST_EXPORTS) \
32038 (cd $(HOST_SUBDIR)/prms && \
32039 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32040 $(TARGET-prms))
32041 @endif prms
32046 .PHONY: check-prms maybe-check-prms
32047 maybe-check-prms:
32048 @if prms
32049 maybe-check-prms: check-prms
32051 check-prms:
32052 @: $(MAKE); $(unstage)
32053 @r=`${PWD_COMMAND}`; export r; \
32054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32055 $(HOST_EXPORTS) \
32056 (cd $(HOST_SUBDIR)/prms && \
32057 $(MAKE) $(FLAGS_TO_PASS) check)
32059 @endif prms
32061 .PHONY: install-prms maybe-install-prms
32062 maybe-install-prms:
32063 @if prms
32064 maybe-install-prms: install-prms
32066 install-prms: installdirs
32067 @: $(MAKE); $(unstage)
32068 @r=`${PWD_COMMAND}`; export r; \
32069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32070 $(HOST_EXPORTS) \
32071 (cd $(HOST_SUBDIR)/prms && \
32072 $(MAKE) $(FLAGS_TO_PASS) install)
32074 @endif prms
32076 # Other targets (info, dvi, pdf, etc.)
32078 .PHONY: maybe-info-prms info-prms
32079 maybe-info-prms:
32080 @if prms
32081 maybe-info-prms: info-prms
32083 info-prms: \
32084 configure-prms
32085 @: $(MAKE); $(unstage)
32086 @[ -f ./prms/Makefile ] || exit 0; \
32087 r=`${PWD_COMMAND}`; export r; \
32088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32089 $(HOST_EXPORTS) \
32090 for flag in $(EXTRA_HOST_FLAGS) ; do \
32091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32092 done; \
32093 echo "Doing info in prms" ; \
32094 (cd $(HOST_SUBDIR)/prms && \
32095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32097 "RANLIB=$${RANLIB}" \
32098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32099 info) \
32100 || exit 1
32102 @endif prms
32104 .PHONY: maybe-dvi-prms dvi-prms
32105 maybe-dvi-prms:
32106 @if prms
32107 maybe-dvi-prms: dvi-prms
32109 dvi-prms: \
32110 configure-prms
32111 @: $(MAKE); $(unstage)
32112 @[ -f ./prms/Makefile ] || exit 0; \
32113 r=`${PWD_COMMAND}`; export r; \
32114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32115 $(HOST_EXPORTS) \
32116 for flag in $(EXTRA_HOST_FLAGS) ; do \
32117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32118 done; \
32119 echo "Doing dvi in prms" ; \
32120 (cd $(HOST_SUBDIR)/prms && \
32121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32123 "RANLIB=$${RANLIB}" \
32124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32125 dvi) \
32126 || exit 1
32128 @endif prms
32130 .PHONY: maybe-pdf-prms pdf-prms
32131 maybe-pdf-prms:
32132 @if prms
32133 maybe-pdf-prms: pdf-prms
32135 pdf-prms: \
32136 configure-prms
32137 @: $(MAKE); $(unstage)
32138 @[ -f ./prms/Makefile ] || exit 0; \
32139 r=`${PWD_COMMAND}`; export r; \
32140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32141 $(HOST_EXPORTS) \
32142 for flag in $(EXTRA_HOST_FLAGS) ; do \
32143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32144 done; \
32145 echo "Doing pdf in prms" ; \
32146 (cd $(HOST_SUBDIR)/prms && \
32147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32149 "RANLIB=$${RANLIB}" \
32150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32151 pdf) \
32152 || exit 1
32154 @endif prms
32156 .PHONY: maybe-html-prms html-prms
32157 maybe-html-prms:
32158 @if prms
32159 maybe-html-prms: html-prms
32161 html-prms: \
32162 configure-prms
32163 @: $(MAKE); $(unstage)
32164 @[ -f ./prms/Makefile ] || exit 0; \
32165 r=`${PWD_COMMAND}`; export r; \
32166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32167 $(HOST_EXPORTS) \
32168 for flag in $(EXTRA_HOST_FLAGS) ; do \
32169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32170 done; \
32171 echo "Doing html in prms" ; \
32172 (cd $(HOST_SUBDIR)/prms && \
32173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32175 "RANLIB=$${RANLIB}" \
32176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32177 html) \
32178 || exit 1
32180 @endif prms
32182 .PHONY: maybe-TAGS-prms TAGS-prms
32183 maybe-TAGS-prms:
32184 @if prms
32185 maybe-TAGS-prms: TAGS-prms
32187 TAGS-prms: \
32188 configure-prms
32189 @: $(MAKE); $(unstage)
32190 @[ -f ./prms/Makefile ] || exit 0; \
32191 r=`${PWD_COMMAND}`; export r; \
32192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32193 $(HOST_EXPORTS) \
32194 for flag in $(EXTRA_HOST_FLAGS) ; do \
32195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32196 done; \
32197 echo "Doing TAGS in prms" ; \
32198 (cd $(HOST_SUBDIR)/prms && \
32199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32201 "RANLIB=$${RANLIB}" \
32202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32203 TAGS) \
32204 || exit 1
32206 @endif prms
32208 .PHONY: maybe-install-info-prms install-info-prms
32209 maybe-install-info-prms:
32210 @if prms
32211 maybe-install-info-prms: install-info-prms
32213 install-info-prms: \
32214 configure-prms \
32215 info-prms
32216 @: $(MAKE); $(unstage)
32217 @[ -f ./prms/Makefile ] || exit 0; \
32218 r=`${PWD_COMMAND}`; export r; \
32219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32220 $(HOST_EXPORTS) \
32221 for flag in $(EXTRA_HOST_FLAGS) ; do \
32222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32223 done; \
32224 echo "Doing install-info in prms" ; \
32225 (cd $(HOST_SUBDIR)/prms && \
32226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32228 "RANLIB=$${RANLIB}" \
32229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32230 install-info) \
32231 || exit 1
32233 @endif prms
32235 .PHONY: maybe-install-pdf-prms install-pdf-prms
32236 maybe-install-pdf-prms:
32237 @if prms
32238 maybe-install-pdf-prms: install-pdf-prms
32240 install-pdf-prms: \
32241 configure-prms \
32242 pdf-prms
32243 @: $(MAKE); $(unstage)
32244 @[ -f ./prms/Makefile ] || exit 0; \
32245 r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(HOST_EXPORTS) \
32248 for flag in $(EXTRA_HOST_FLAGS) ; do \
32249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32250 done; \
32251 echo "Doing install-pdf in prms" ; \
32252 (cd $(HOST_SUBDIR)/prms && \
32253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32255 "RANLIB=$${RANLIB}" \
32256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32257 install-pdf) \
32258 || exit 1
32260 @endif prms
32262 .PHONY: maybe-install-html-prms install-html-prms
32263 maybe-install-html-prms:
32264 @if prms
32265 maybe-install-html-prms: install-html-prms
32267 install-html-prms: \
32268 configure-prms \
32269 html-prms
32270 @: $(MAKE); $(unstage)
32271 @[ -f ./prms/Makefile ] || exit 0; \
32272 r=`${PWD_COMMAND}`; export r; \
32273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32274 $(HOST_EXPORTS) \
32275 for flag in $(EXTRA_HOST_FLAGS) ; do \
32276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32277 done; \
32278 echo "Doing install-html in prms" ; \
32279 (cd $(HOST_SUBDIR)/prms && \
32280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32282 "RANLIB=$${RANLIB}" \
32283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32284 install-html) \
32285 || exit 1
32287 @endif prms
32289 .PHONY: maybe-installcheck-prms installcheck-prms
32290 maybe-installcheck-prms:
32291 @if prms
32292 maybe-installcheck-prms: installcheck-prms
32294 installcheck-prms: \
32295 configure-prms
32296 @: $(MAKE); $(unstage)
32297 @[ -f ./prms/Makefile ] || exit 0; \
32298 r=`${PWD_COMMAND}`; export r; \
32299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32300 $(HOST_EXPORTS) \
32301 for flag in $(EXTRA_HOST_FLAGS) ; do \
32302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32303 done; \
32304 echo "Doing installcheck in prms" ; \
32305 (cd $(HOST_SUBDIR)/prms && \
32306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32308 "RANLIB=$${RANLIB}" \
32309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32310 installcheck) \
32311 || exit 1
32313 @endif prms
32315 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
32316 maybe-mostlyclean-prms:
32317 @if prms
32318 maybe-mostlyclean-prms: mostlyclean-prms
32320 mostlyclean-prms:
32321 @: $(MAKE); $(unstage)
32322 @[ -f ./prms/Makefile ] || exit 0; \
32323 r=`${PWD_COMMAND}`; export r; \
32324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32325 $(HOST_EXPORTS) \
32326 for flag in $(EXTRA_HOST_FLAGS) ; do \
32327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32328 done; \
32329 echo "Doing mostlyclean in prms" ; \
32330 (cd $(HOST_SUBDIR)/prms && \
32331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32333 "RANLIB=$${RANLIB}" \
32334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32335 mostlyclean) \
32336 || exit 1
32338 @endif prms
32340 .PHONY: maybe-clean-prms clean-prms
32341 maybe-clean-prms:
32342 @if prms
32343 maybe-clean-prms: clean-prms
32345 clean-prms:
32346 @: $(MAKE); $(unstage)
32347 @[ -f ./prms/Makefile ] || exit 0; \
32348 r=`${PWD_COMMAND}`; export r; \
32349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32350 $(HOST_EXPORTS) \
32351 for flag in $(EXTRA_HOST_FLAGS) ; do \
32352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32353 done; \
32354 echo "Doing clean in prms" ; \
32355 (cd $(HOST_SUBDIR)/prms && \
32356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32358 "RANLIB=$${RANLIB}" \
32359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32360 clean) \
32361 || exit 1
32363 @endif prms
32365 .PHONY: maybe-distclean-prms distclean-prms
32366 maybe-distclean-prms:
32367 @if prms
32368 maybe-distclean-prms: distclean-prms
32370 distclean-prms:
32371 @: $(MAKE); $(unstage)
32372 @[ -f ./prms/Makefile ] || exit 0; \
32373 r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 $(HOST_EXPORTS) \
32376 for flag in $(EXTRA_HOST_FLAGS) ; do \
32377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32378 done; \
32379 echo "Doing distclean in prms" ; \
32380 (cd $(HOST_SUBDIR)/prms && \
32381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32383 "RANLIB=$${RANLIB}" \
32384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32385 distclean) \
32386 || exit 1
32388 @endif prms
32390 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
32391 maybe-maintainer-clean-prms:
32392 @if prms
32393 maybe-maintainer-clean-prms: maintainer-clean-prms
32395 maintainer-clean-prms:
32396 @: $(MAKE); $(unstage)
32397 @[ -f ./prms/Makefile ] || exit 0; \
32398 r=`${PWD_COMMAND}`; export r; \
32399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32400 $(HOST_EXPORTS) \
32401 for flag in $(EXTRA_HOST_FLAGS) ; do \
32402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32403 done; \
32404 echo "Doing maintainer-clean in prms" ; \
32405 (cd $(HOST_SUBDIR)/prms && \
32406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32408 "RANLIB=$${RANLIB}" \
32409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32410 maintainer-clean) \
32411 || exit 1
32413 @endif prms
32417 .PHONY: configure-rcs maybe-configure-rcs
32418 maybe-configure-rcs:
32419 @if gcc-bootstrap
32420 configure-rcs: stage_current
32421 @endif gcc-bootstrap
32422 @if rcs
32423 maybe-configure-rcs: configure-rcs
32424 configure-rcs:
32425 @: $(MAKE); $(unstage)
32426 @r=`${PWD_COMMAND}`; export r; \
32427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32428 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
32429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
32430 $(HOST_EXPORTS) \
32431 echo Configuring in $(HOST_SUBDIR)/rcs; \
32432 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
32433 case $(srcdir) in \
32434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32435 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
32436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32437 esac; \
32438 srcdiroption="--srcdir=$${topdir}/rcs"; \
32439 libsrcdir="$$s/rcs"; \
32440 $(SHELL) $${libsrcdir}/configure \
32441 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32442 --target=${target_alias} $${srcdiroption} \
32443 || exit 1
32444 @endif rcs
32450 .PHONY: all-rcs maybe-all-rcs
32451 maybe-all-rcs:
32452 @if gcc-bootstrap
32453 all-rcs: stage_current
32454 @endif gcc-bootstrap
32455 @if rcs
32456 TARGET-rcs=all
32457 maybe-all-rcs: all-rcs
32458 all-rcs: configure-rcs
32459 @: $(MAKE); $(unstage)
32460 @r=`${PWD_COMMAND}`; export r; \
32461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32462 $(HOST_EXPORTS) \
32463 (cd $(HOST_SUBDIR)/rcs && \
32464 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32465 $(TARGET-rcs))
32466 @endif rcs
32471 .PHONY: check-rcs maybe-check-rcs
32472 maybe-check-rcs:
32473 @if rcs
32474 maybe-check-rcs: check-rcs
32476 check-rcs:
32477 @: $(MAKE); $(unstage)
32478 @r=`${PWD_COMMAND}`; export r; \
32479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32480 $(HOST_EXPORTS) \
32481 (cd $(HOST_SUBDIR)/rcs && \
32482 $(MAKE) $(FLAGS_TO_PASS) check)
32484 @endif rcs
32486 .PHONY: install-rcs maybe-install-rcs
32487 maybe-install-rcs:
32488 @if rcs
32489 maybe-install-rcs: install-rcs
32491 install-rcs: installdirs
32492 @: $(MAKE); $(unstage)
32493 @r=`${PWD_COMMAND}`; export r; \
32494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32495 $(HOST_EXPORTS) \
32496 (cd $(HOST_SUBDIR)/rcs && \
32497 $(MAKE) $(FLAGS_TO_PASS) install)
32499 @endif rcs
32501 # Other targets (info, dvi, pdf, etc.)
32503 .PHONY: maybe-info-rcs info-rcs
32504 maybe-info-rcs:
32505 @if rcs
32506 maybe-info-rcs: info-rcs
32508 info-rcs: \
32509 configure-rcs
32510 @: $(MAKE); $(unstage)
32511 @[ -f ./rcs/Makefile ] || exit 0; \
32512 r=`${PWD_COMMAND}`; export r; \
32513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32514 $(HOST_EXPORTS) \
32515 for flag in $(EXTRA_HOST_FLAGS) ; do \
32516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32517 done; \
32518 echo "Doing info in rcs" ; \
32519 (cd $(HOST_SUBDIR)/rcs && \
32520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32522 "RANLIB=$${RANLIB}" \
32523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32524 info) \
32525 || exit 1
32527 @endif rcs
32529 .PHONY: maybe-dvi-rcs dvi-rcs
32530 maybe-dvi-rcs:
32531 @if rcs
32532 maybe-dvi-rcs: dvi-rcs
32534 dvi-rcs: \
32535 configure-rcs
32536 @: $(MAKE); $(unstage)
32537 @[ -f ./rcs/Makefile ] || exit 0; \
32538 r=`${PWD_COMMAND}`; export r; \
32539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32540 $(HOST_EXPORTS) \
32541 for flag in $(EXTRA_HOST_FLAGS) ; do \
32542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32543 done; \
32544 echo "Doing dvi in rcs" ; \
32545 (cd $(HOST_SUBDIR)/rcs && \
32546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32548 "RANLIB=$${RANLIB}" \
32549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32550 dvi) \
32551 || exit 1
32553 @endif rcs
32555 .PHONY: maybe-pdf-rcs pdf-rcs
32556 maybe-pdf-rcs:
32557 @if rcs
32558 maybe-pdf-rcs: pdf-rcs
32560 pdf-rcs: \
32561 configure-rcs
32562 @: $(MAKE); $(unstage)
32563 @[ -f ./rcs/Makefile ] || exit 0; \
32564 r=`${PWD_COMMAND}`; export r; \
32565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32566 $(HOST_EXPORTS) \
32567 for flag in $(EXTRA_HOST_FLAGS) ; do \
32568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32569 done; \
32570 echo "Doing pdf in rcs" ; \
32571 (cd $(HOST_SUBDIR)/rcs && \
32572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32574 "RANLIB=$${RANLIB}" \
32575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32576 pdf) \
32577 || exit 1
32579 @endif rcs
32581 .PHONY: maybe-html-rcs html-rcs
32582 maybe-html-rcs:
32583 @if rcs
32584 maybe-html-rcs: html-rcs
32586 html-rcs: \
32587 configure-rcs
32588 @: $(MAKE); $(unstage)
32589 @[ -f ./rcs/Makefile ] || exit 0; \
32590 r=`${PWD_COMMAND}`; export r; \
32591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32592 $(HOST_EXPORTS) \
32593 for flag in $(EXTRA_HOST_FLAGS) ; do \
32594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32595 done; \
32596 echo "Doing html in rcs" ; \
32597 (cd $(HOST_SUBDIR)/rcs && \
32598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32600 "RANLIB=$${RANLIB}" \
32601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32602 html) \
32603 || exit 1
32605 @endif rcs
32607 .PHONY: maybe-TAGS-rcs TAGS-rcs
32608 maybe-TAGS-rcs:
32609 @if rcs
32610 maybe-TAGS-rcs: TAGS-rcs
32612 TAGS-rcs: \
32613 configure-rcs
32614 @: $(MAKE); $(unstage)
32615 @[ -f ./rcs/Makefile ] || exit 0; \
32616 r=`${PWD_COMMAND}`; export r; \
32617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32618 $(HOST_EXPORTS) \
32619 for flag in $(EXTRA_HOST_FLAGS) ; do \
32620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32621 done; \
32622 echo "Doing TAGS in rcs" ; \
32623 (cd $(HOST_SUBDIR)/rcs && \
32624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32626 "RANLIB=$${RANLIB}" \
32627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32628 TAGS) \
32629 || exit 1
32631 @endif rcs
32633 .PHONY: maybe-install-info-rcs install-info-rcs
32634 maybe-install-info-rcs:
32635 @if rcs
32636 maybe-install-info-rcs: install-info-rcs
32638 install-info-rcs: \
32639 configure-rcs \
32640 info-rcs
32641 @: $(MAKE); $(unstage)
32642 @[ -f ./rcs/Makefile ] || exit 0; \
32643 r=`${PWD_COMMAND}`; export r; \
32644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32645 $(HOST_EXPORTS) \
32646 for flag in $(EXTRA_HOST_FLAGS) ; do \
32647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32648 done; \
32649 echo "Doing install-info in rcs" ; \
32650 (cd $(HOST_SUBDIR)/rcs && \
32651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32653 "RANLIB=$${RANLIB}" \
32654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32655 install-info) \
32656 || exit 1
32658 @endif rcs
32660 .PHONY: maybe-install-pdf-rcs install-pdf-rcs
32661 maybe-install-pdf-rcs:
32662 @if rcs
32663 maybe-install-pdf-rcs: install-pdf-rcs
32665 install-pdf-rcs: \
32666 configure-rcs \
32667 pdf-rcs
32668 @: $(MAKE); $(unstage)
32669 @[ -f ./rcs/Makefile ] || exit 0; \
32670 r=`${PWD_COMMAND}`; export r; \
32671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32672 $(HOST_EXPORTS) \
32673 for flag in $(EXTRA_HOST_FLAGS) ; do \
32674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32675 done; \
32676 echo "Doing install-pdf in rcs" ; \
32677 (cd $(HOST_SUBDIR)/rcs && \
32678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32680 "RANLIB=$${RANLIB}" \
32681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32682 install-pdf) \
32683 || exit 1
32685 @endif rcs
32687 .PHONY: maybe-install-html-rcs install-html-rcs
32688 maybe-install-html-rcs:
32689 @if rcs
32690 maybe-install-html-rcs: install-html-rcs
32692 install-html-rcs: \
32693 configure-rcs \
32694 html-rcs
32695 @: $(MAKE); $(unstage)
32696 @[ -f ./rcs/Makefile ] || exit 0; \
32697 r=`${PWD_COMMAND}`; export r; \
32698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32699 $(HOST_EXPORTS) \
32700 for flag in $(EXTRA_HOST_FLAGS) ; do \
32701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32702 done; \
32703 echo "Doing install-html in rcs" ; \
32704 (cd $(HOST_SUBDIR)/rcs && \
32705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32707 "RANLIB=$${RANLIB}" \
32708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32709 install-html) \
32710 || exit 1
32712 @endif rcs
32714 .PHONY: maybe-installcheck-rcs installcheck-rcs
32715 maybe-installcheck-rcs:
32716 @if rcs
32717 maybe-installcheck-rcs: installcheck-rcs
32719 installcheck-rcs: \
32720 configure-rcs
32721 @: $(MAKE); $(unstage)
32722 @[ -f ./rcs/Makefile ] || exit 0; \
32723 r=`${PWD_COMMAND}`; export r; \
32724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32725 $(HOST_EXPORTS) \
32726 for flag in $(EXTRA_HOST_FLAGS) ; do \
32727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32728 done; \
32729 echo "Doing installcheck in rcs" ; \
32730 (cd $(HOST_SUBDIR)/rcs && \
32731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32733 "RANLIB=$${RANLIB}" \
32734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32735 installcheck) \
32736 || exit 1
32738 @endif rcs
32740 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
32741 maybe-mostlyclean-rcs:
32742 @if rcs
32743 maybe-mostlyclean-rcs: mostlyclean-rcs
32745 mostlyclean-rcs:
32746 @: $(MAKE); $(unstage)
32747 @[ -f ./rcs/Makefile ] || exit 0; \
32748 r=`${PWD_COMMAND}`; export r; \
32749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32750 $(HOST_EXPORTS) \
32751 for flag in $(EXTRA_HOST_FLAGS) ; do \
32752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32753 done; \
32754 echo "Doing mostlyclean in rcs" ; \
32755 (cd $(HOST_SUBDIR)/rcs && \
32756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32758 "RANLIB=$${RANLIB}" \
32759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32760 mostlyclean) \
32761 || exit 1
32763 @endif rcs
32765 .PHONY: maybe-clean-rcs clean-rcs
32766 maybe-clean-rcs:
32767 @if rcs
32768 maybe-clean-rcs: clean-rcs
32770 clean-rcs:
32771 @: $(MAKE); $(unstage)
32772 @[ -f ./rcs/Makefile ] || exit 0; \
32773 r=`${PWD_COMMAND}`; export r; \
32774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32775 $(HOST_EXPORTS) \
32776 for flag in $(EXTRA_HOST_FLAGS) ; do \
32777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32778 done; \
32779 echo "Doing clean in rcs" ; \
32780 (cd $(HOST_SUBDIR)/rcs && \
32781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32783 "RANLIB=$${RANLIB}" \
32784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32785 clean) \
32786 || exit 1
32788 @endif rcs
32790 .PHONY: maybe-distclean-rcs distclean-rcs
32791 maybe-distclean-rcs:
32792 @if rcs
32793 maybe-distclean-rcs: distclean-rcs
32795 distclean-rcs:
32796 @: $(MAKE); $(unstage)
32797 @[ -f ./rcs/Makefile ] || exit 0; \
32798 r=`${PWD_COMMAND}`; export r; \
32799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32800 $(HOST_EXPORTS) \
32801 for flag in $(EXTRA_HOST_FLAGS) ; do \
32802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32803 done; \
32804 echo "Doing distclean in rcs" ; \
32805 (cd $(HOST_SUBDIR)/rcs && \
32806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32808 "RANLIB=$${RANLIB}" \
32809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32810 distclean) \
32811 || exit 1
32813 @endif rcs
32815 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
32816 maybe-maintainer-clean-rcs:
32817 @if rcs
32818 maybe-maintainer-clean-rcs: maintainer-clean-rcs
32820 maintainer-clean-rcs:
32821 @: $(MAKE); $(unstage)
32822 @[ -f ./rcs/Makefile ] || exit 0; \
32823 r=`${PWD_COMMAND}`; export r; \
32824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32825 $(HOST_EXPORTS) \
32826 for flag in $(EXTRA_HOST_FLAGS) ; do \
32827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32828 done; \
32829 echo "Doing maintainer-clean in rcs" ; \
32830 (cd $(HOST_SUBDIR)/rcs && \
32831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32833 "RANLIB=$${RANLIB}" \
32834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32835 maintainer-clean) \
32836 || exit 1
32838 @endif rcs
32842 .PHONY: configure-readline maybe-configure-readline
32843 maybe-configure-readline:
32844 @if gcc-bootstrap
32845 configure-readline: stage_current
32846 @endif gcc-bootstrap
32847 @if readline
32848 maybe-configure-readline: configure-readline
32849 configure-readline:
32850 @: $(MAKE); $(unstage)
32851 @r=`${PWD_COMMAND}`; export r; \
32852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32853 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
32854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
32855 $(HOST_EXPORTS) \
32856 echo Configuring in $(HOST_SUBDIR)/readline; \
32857 cd "$(HOST_SUBDIR)/readline" || exit 1; \
32858 case $(srcdir) in \
32859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32860 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
32861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32862 esac; \
32863 srcdiroption="--srcdir=$${topdir}/readline"; \
32864 libsrcdir="$$s/readline"; \
32865 $(SHELL) $${libsrcdir}/configure \
32866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32867 --target=${target_alias} $${srcdiroption} \
32868 || exit 1
32869 @endif readline
32875 .PHONY: all-readline maybe-all-readline
32876 maybe-all-readline:
32877 @if gcc-bootstrap
32878 all-readline: stage_current
32879 @endif gcc-bootstrap
32880 @if readline
32881 TARGET-readline=all
32882 maybe-all-readline: all-readline
32883 all-readline: configure-readline
32884 @: $(MAKE); $(unstage)
32885 @r=`${PWD_COMMAND}`; export r; \
32886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32887 $(HOST_EXPORTS) \
32888 (cd $(HOST_SUBDIR)/readline && \
32889 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32890 $(TARGET-readline))
32891 @endif readline
32896 .PHONY: check-readline maybe-check-readline
32897 maybe-check-readline:
32898 @if readline
32899 maybe-check-readline: check-readline
32901 check-readline:
32902 @: $(MAKE); $(unstage)
32903 @r=`${PWD_COMMAND}`; export r; \
32904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32905 $(HOST_EXPORTS) \
32906 (cd $(HOST_SUBDIR)/readline && \
32907 $(MAKE) $(FLAGS_TO_PASS) check)
32909 @endif readline
32911 .PHONY: install-readline maybe-install-readline
32912 maybe-install-readline:
32913 @if readline
32914 maybe-install-readline: install-readline
32916 install-readline: installdirs
32917 @: $(MAKE); $(unstage)
32918 @r=`${PWD_COMMAND}`; export r; \
32919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32920 $(HOST_EXPORTS) \
32921 (cd $(HOST_SUBDIR)/readline && \
32922 $(MAKE) $(FLAGS_TO_PASS) install)
32924 @endif readline
32926 # Other targets (info, dvi, pdf, etc.)
32928 .PHONY: maybe-info-readline info-readline
32929 maybe-info-readline:
32930 @if readline
32931 maybe-info-readline: info-readline
32933 info-readline: \
32934 configure-readline
32935 @: $(MAKE); $(unstage)
32936 @[ -f ./readline/Makefile ] || exit 0; \
32937 r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(HOST_EXPORTS) \
32940 for flag in $(EXTRA_HOST_FLAGS) ; do \
32941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32942 done; \
32943 echo "Doing info in readline" ; \
32944 (cd $(HOST_SUBDIR)/readline && \
32945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32947 "RANLIB=$${RANLIB}" \
32948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32949 info) \
32950 || exit 1
32952 @endif readline
32954 .PHONY: maybe-dvi-readline dvi-readline
32955 maybe-dvi-readline:
32956 @if readline
32957 maybe-dvi-readline: dvi-readline
32959 dvi-readline: \
32960 configure-readline
32961 @: $(MAKE); $(unstage)
32962 @[ -f ./readline/Makefile ] || exit 0; \
32963 r=`${PWD_COMMAND}`; export r; \
32964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32965 $(HOST_EXPORTS) \
32966 for flag in $(EXTRA_HOST_FLAGS) ; do \
32967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32968 done; \
32969 echo "Doing dvi in readline" ; \
32970 (cd $(HOST_SUBDIR)/readline && \
32971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32973 "RANLIB=$${RANLIB}" \
32974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32975 dvi) \
32976 || exit 1
32978 @endif readline
32980 .PHONY: maybe-pdf-readline pdf-readline
32981 maybe-pdf-readline:
32982 @if readline
32983 maybe-pdf-readline: pdf-readline
32985 pdf-readline: \
32986 configure-readline
32987 @: $(MAKE); $(unstage)
32988 @[ -f ./readline/Makefile ] || exit 0; \
32989 r=`${PWD_COMMAND}`; export r; \
32990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32991 $(HOST_EXPORTS) \
32992 for flag in $(EXTRA_HOST_FLAGS) ; do \
32993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32994 done; \
32995 echo "Doing pdf in readline" ; \
32996 (cd $(HOST_SUBDIR)/readline && \
32997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32999 "RANLIB=$${RANLIB}" \
33000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33001 pdf) \
33002 || exit 1
33004 @endif readline
33006 .PHONY: maybe-html-readline html-readline
33007 maybe-html-readline:
33008 @if readline
33009 maybe-html-readline: html-readline
33011 html-readline: \
33012 configure-readline
33013 @: $(MAKE); $(unstage)
33014 @[ -f ./readline/Makefile ] || exit 0; \
33015 r=`${PWD_COMMAND}`; export r; \
33016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33017 $(HOST_EXPORTS) \
33018 for flag in $(EXTRA_HOST_FLAGS) ; do \
33019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33020 done; \
33021 echo "Doing html in readline" ; \
33022 (cd $(HOST_SUBDIR)/readline && \
33023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33025 "RANLIB=$${RANLIB}" \
33026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33027 html) \
33028 || exit 1
33030 @endif readline
33032 .PHONY: maybe-TAGS-readline TAGS-readline
33033 maybe-TAGS-readline:
33034 @if readline
33035 maybe-TAGS-readline: TAGS-readline
33037 TAGS-readline: \
33038 configure-readline
33039 @: $(MAKE); $(unstage)
33040 @[ -f ./readline/Makefile ] || exit 0; \
33041 r=`${PWD_COMMAND}`; export r; \
33042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33043 $(HOST_EXPORTS) \
33044 for flag in $(EXTRA_HOST_FLAGS) ; do \
33045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33046 done; \
33047 echo "Doing TAGS in readline" ; \
33048 (cd $(HOST_SUBDIR)/readline && \
33049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33051 "RANLIB=$${RANLIB}" \
33052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33053 TAGS) \
33054 || exit 1
33056 @endif readline
33058 .PHONY: maybe-install-info-readline install-info-readline
33059 maybe-install-info-readline:
33060 @if readline
33061 maybe-install-info-readline: install-info-readline
33063 install-info-readline: \
33064 configure-readline \
33065 info-readline
33066 @: $(MAKE); $(unstage)
33067 @[ -f ./readline/Makefile ] || exit 0; \
33068 r=`${PWD_COMMAND}`; export r; \
33069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33070 $(HOST_EXPORTS) \
33071 for flag in $(EXTRA_HOST_FLAGS) ; do \
33072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33073 done; \
33074 echo "Doing install-info in readline" ; \
33075 (cd $(HOST_SUBDIR)/readline && \
33076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33078 "RANLIB=$${RANLIB}" \
33079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33080 install-info) \
33081 || exit 1
33083 @endif readline
33085 .PHONY: maybe-install-pdf-readline install-pdf-readline
33086 maybe-install-pdf-readline:
33087 @if readline
33088 maybe-install-pdf-readline: install-pdf-readline
33090 install-pdf-readline: \
33091 configure-readline \
33092 pdf-readline
33093 @: $(MAKE); $(unstage)
33094 @[ -f ./readline/Makefile ] || exit 0; \
33095 r=`${PWD_COMMAND}`; export r; \
33096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33097 $(HOST_EXPORTS) \
33098 for flag in $(EXTRA_HOST_FLAGS) ; do \
33099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33100 done; \
33101 echo "Doing install-pdf in readline" ; \
33102 (cd $(HOST_SUBDIR)/readline && \
33103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33105 "RANLIB=$${RANLIB}" \
33106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33107 install-pdf) \
33108 || exit 1
33110 @endif readline
33112 .PHONY: maybe-install-html-readline install-html-readline
33113 maybe-install-html-readline:
33114 @if readline
33115 maybe-install-html-readline: install-html-readline
33117 install-html-readline: \
33118 configure-readline \
33119 html-readline
33120 @: $(MAKE); $(unstage)
33121 @[ -f ./readline/Makefile ] || exit 0; \
33122 r=`${PWD_COMMAND}`; export r; \
33123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33124 $(HOST_EXPORTS) \
33125 for flag in $(EXTRA_HOST_FLAGS) ; do \
33126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33127 done; \
33128 echo "Doing install-html in readline" ; \
33129 (cd $(HOST_SUBDIR)/readline && \
33130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33132 "RANLIB=$${RANLIB}" \
33133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33134 install-html) \
33135 || exit 1
33137 @endif readline
33139 .PHONY: maybe-installcheck-readline installcheck-readline
33140 maybe-installcheck-readline:
33141 @if readline
33142 maybe-installcheck-readline: installcheck-readline
33144 installcheck-readline: \
33145 configure-readline
33146 @: $(MAKE); $(unstage)
33147 @[ -f ./readline/Makefile ] || exit 0; \
33148 r=`${PWD_COMMAND}`; export r; \
33149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33150 $(HOST_EXPORTS) \
33151 for flag in $(EXTRA_HOST_FLAGS) ; do \
33152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33153 done; \
33154 echo "Doing installcheck in readline" ; \
33155 (cd $(HOST_SUBDIR)/readline && \
33156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33158 "RANLIB=$${RANLIB}" \
33159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33160 installcheck) \
33161 || exit 1
33163 @endif readline
33165 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
33166 maybe-mostlyclean-readline:
33167 @if readline
33168 maybe-mostlyclean-readline: mostlyclean-readline
33170 mostlyclean-readline:
33171 @: $(MAKE); $(unstage)
33172 @[ -f ./readline/Makefile ] || exit 0; \
33173 r=`${PWD_COMMAND}`; export r; \
33174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33175 $(HOST_EXPORTS) \
33176 for flag in $(EXTRA_HOST_FLAGS) ; do \
33177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33178 done; \
33179 echo "Doing mostlyclean in readline" ; \
33180 (cd $(HOST_SUBDIR)/readline && \
33181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33183 "RANLIB=$${RANLIB}" \
33184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33185 mostlyclean) \
33186 || exit 1
33188 @endif readline
33190 .PHONY: maybe-clean-readline clean-readline
33191 maybe-clean-readline:
33192 @if readline
33193 maybe-clean-readline: clean-readline
33195 clean-readline:
33196 @: $(MAKE); $(unstage)
33197 @[ -f ./readline/Makefile ] || exit 0; \
33198 r=`${PWD_COMMAND}`; export r; \
33199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33200 $(HOST_EXPORTS) \
33201 for flag in $(EXTRA_HOST_FLAGS) ; do \
33202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33203 done; \
33204 echo "Doing clean in readline" ; \
33205 (cd $(HOST_SUBDIR)/readline && \
33206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33208 "RANLIB=$${RANLIB}" \
33209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33210 clean) \
33211 || exit 1
33213 @endif readline
33215 .PHONY: maybe-distclean-readline distclean-readline
33216 maybe-distclean-readline:
33217 @if readline
33218 maybe-distclean-readline: distclean-readline
33220 distclean-readline:
33221 @: $(MAKE); $(unstage)
33222 @[ -f ./readline/Makefile ] || exit 0; \
33223 r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(HOST_EXPORTS) \
33226 for flag in $(EXTRA_HOST_FLAGS) ; do \
33227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33228 done; \
33229 echo "Doing distclean in readline" ; \
33230 (cd $(HOST_SUBDIR)/readline && \
33231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33233 "RANLIB=$${RANLIB}" \
33234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33235 distclean) \
33236 || exit 1
33238 @endif readline
33240 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
33241 maybe-maintainer-clean-readline:
33242 @if readline
33243 maybe-maintainer-clean-readline: maintainer-clean-readline
33245 maintainer-clean-readline:
33246 @: $(MAKE); $(unstage)
33247 @[ -f ./readline/Makefile ] || exit 0; \
33248 r=`${PWD_COMMAND}`; export r; \
33249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33250 $(HOST_EXPORTS) \
33251 for flag in $(EXTRA_HOST_FLAGS) ; do \
33252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33253 done; \
33254 echo "Doing maintainer-clean in readline" ; \
33255 (cd $(HOST_SUBDIR)/readline && \
33256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33258 "RANLIB=$${RANLIB}" \
33259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33260 maintainer-clean) \
33261 || exit 1
33263 @endif readline
33267 .PHONY: configure-release maybe-configure-release
33268 maybe-configure-release:
33269 @if gcc-bootstrap
33270 configure-release: stage_current
33271 @endif gcc-bootstrap
33272 @if release
33273 maybe-configure-release: configure-release
33274 configure-release:
33275 @: $(MAKE); $(unstage)
33276 @r=`${PWD_COMMAND}`; export r; \
33277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33278 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
33279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
33280 $(HOST_EXPORTS) \
33281 echo Configuring in $(HOST_SUBDIR)/release; \
33282 cd "$(HOST_SUBDIR)/release" || exit 1; \
33283 case $(srcdir) in \
33284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33285 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
33286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33287 esac; \
33288 srcdiroption="--srcdir=$${topdir}/release"; \
33289 libsrcdir="$$s/release"; \
33290 $(SHELL) $${libsrcdir}/configure \
33291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33292 --target=${target_alias} $${srcdiroption} \
33293 || exit 1
33294 @endif release
33300 .PHONY: all-release maybe-all-release
33301 maybe-all-release:
33302 @if gcc-bootstrap
33303 all-release: stage_current
33304 @endif gcc-bootstrap
33305 @if release
33306 TARGET-release=all
33307 maybe-all-release: all-release
33308 all-release: configure-release
33309 @: $(MAKE); $(unstage)
33310 @r=`${PWD_COMMAND}`; export r; \
33311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33312 $(HOST_EXPORTS) \
33313 (cd $(HOST_SUBDIR)/release && \
33314 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33315 $(TARGET-release))
33316 @endif release
33321 .PHONY: check-release maybe-check-release
33322 maybe-check-release:
33323 @if release
33324 maybe-check-release: check-release
33326 check-release:
33328 @endif release
33330 .PHONY: install-release maybe-install-release
33331 maybe-install-release:
33332 @if release
33333 maybe-install-release: install-release
33335 install-release:
33337 @endif release
33339 # Other targets (info, dvi, pdf, etc.)
33341 .PHONY: maybe-info-release info-release
33342 maybe-info-release:
33343 @if release
33344 maybe-info-release: info-release
33346 info-release: \
33347 configure-release
33348 @: $(MAKE); $(unstage)
33349 @[ -f ./release/Makefile ] || exit 0; \
33350 r=`${PWD_COMMAND}`; export r; \
33351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33352 $(HOST_EXPORTS) \
33353 for flag in $(EXTRA_HOST_FLAGS) ; do \
33354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33355 done; \
33356 echo "Doing info in release" ; \
33357 (cd $(HOST_SUBDIR)/release && \
33358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33360 "RANLIB=$${RANLIB}" \
33361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33362 info) \
33363 || exit 1
33365 @endif release
33367 .PHONY: maybe-dvi-release dvi-release
33368 maybe-dvi-release:
33369 @if release
33370 maybe-dvi-release: dvi-release
33372 dvi-release: \
33373 configure-release
33374 @: $(MAKE); $(unstage)
33375 @[ -f ./release/Makefile ] || exit 0; \
33376 r=`${PWD_COMMAND}`; export r; \
33377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33378 $(HOST_EXPORTS) \
33379 for flag in $(EXTRA_HOST_FLAGS) ; do \
33380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33381 done; \
33382 echo "Doing dvi in release" ; \
33383 (cd $(HOST_SUBDIR)/release && \
33384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33386 "RANLIB=$${RANLIB}" \
33387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33388 dvi) \
33389 || exit 1
33391 @endif release
33393 .PHONY: maybe-pdf-release pdf-release
33394 maybe-pdf-release:
33395 @if release
33396 maybe-pdf-release: pdf-release
33398 pdf-release: \
33399 configure-release
33400 @: $(MAKE); $(unstage)
33401 @[ -f ./release/Makefile ] || exit 0; \
33402 r=`${PWD_COMMAND}`; export r; \
33403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33404 $(HOST_EXPORTS) \
33405 for flag in $(EXTRA_HOST_FLAGS) ; do \
33406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33407 done; \
33408 echo "Doing pdf in release" ; \
33409 (cd $(HOST_SUBDIR)/release && \
33410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33412 "RANLIB=$${RANLIB}" \
33413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33414 pdf) \
33415 || exit 1
33417 @endif release
33419 .PHONY: maybe-html-release html-release
33420 maybe-html-release:
33421 @if release
33422 maybe-html-release: html-release
33424 html-release: \
33425 configure-release
33426 @: $(MAKE); $(unstage)
33427 @[ -f ./release/Makefile ] || exit 0; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(HOST_EXPORTS) \
33431 for flag in $(EXTRA_HOST_FLAGS) ; do \
33432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33433 done; \
33434 echo "Doing html in release" ; \
33435 (cd $(HOST_SUBDIR)/release && \
33436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33438 "RANLIB=$${RANLIB}" \
33439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33440 html) \
33441 || exit 1
33443 @endif release
33445 .PHONY: maybe-TAGS-release TAGS-release
33446 maybe-TAGS-release:
33447 @if release
33448 maybe-TAGS-release: TAGS-release
33450 TAGS-release: \
33451 configure-release
33452 @: $(MAKE); $(unstage)
33453 @[ -f ./release/Makefile ] || exit 0; \
33454 r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 $(HOST_EXPORTS) \
33457 for flag in $(EXTRA_HOST_FLAGS) ; do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 echo "Doing TAGS in release" ; \
33461 (cd $(HOST_SUBDIR)/release && \
33462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33464 "RANLIB=$${RANLIB}" \
33465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33466 TAGS) \
33467 || exit 1
33469 @endif release
33471 .PHONY: maybe-install-info-release install-info-release
33472 maybe-install-info-release:
33473 @if release
33474 maybe-install-info-release: install-info-release
33476 install-info-release: \
33477 configure-release \
33478 info-release
33479 @: $(MAKE); $(unstage)
33480 @[ -f ./release/Makefile ] || exit 0; \
33481 r=`${PWD_COMMAND}`; export r; \
33482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33483 $(HOST_EXPORTS) \
33484 for flag in $(EXTRA_HOST_FLAGS) ; do \
33485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33486 done; \
33487 echo "Doing install-info in release" ; \
33488 (cd $(HOST_SUBDIR)/release && \
33489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33491 "RANLIB=$${RANLIB}" \
33492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33493 install-info) \
33494 || exit 1
33496 @endif release
33498 .PHONY: maybe-install-pdf-release install-pdf-release
33499 maybe-install-pdf-release:
33500 @if release
33501 maybe-install-pdf-release: install-pdf-release
33503 install-pdf-release: \
33504 configure-release \
33505 pdf-release
33506 @: $(MAKE); $(unstage)
33507 @[ -f ./release/Makefile ] || exit 0; \
33508 r=`${PWD_COMMAND}`; export r; \
33509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33510 $(HOST_EXPORTS) \
33511 for flag in $(EXTRA_HOST_FLAGS) ; do \
33512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33513 done; \
33514 echo "Doing install-pdf in release" ; \
33515 (cd $(HOST_SUBDIR)/release && \
33516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33518 "RANLIB=$${RANLIB}" \
33519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33520 install-pdf) \
33521 || exit 1
33523 @endif release
33525 .PHONY: maybe-install-html-release install-html-release
33526 maybe-install-html-release:
33527 @if release
33528 maybe-install-html-release: install-html-release
33530 install-html-release: \
33531 configure-release \
33532 html-release
33533 @: $(MAKE); $(unstage)
33534 @[ -f ./release/Makefile ] || exit 0; \
33535 r=`${PWD_COMMAND}`; export r; \
33536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33537 $(HOST_EXPORTS) \
33538 for flag in $(EXTRA_HOST_FLAGS) ; do \
33539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33540 done; \
33541 echo "Doing install-html in release" ; \
33542 (cd $(HOST_SUBDIR)/release && \
33543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33545 "RANLIB=$${RANLIB}" \
33546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33547 install-html) \
33548 || exit 1
33550 @endif release
33552 .PHONY: maybe-installcheck-release installcheck-release
33553 maybe-installcheck-release:
33554 @if release
33555 maybe-installcheck-release: installcheck-release
33557 installcheck-release: \
33558 configure-release
33559 @: $(MAKE); $(unstage)
33560 @[ -f ./release/Makefile ] || exit 0; \
33561 r=`${PWD_COMMAND}`; export r; \
33562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33563 $(HOST_EXPORTS) \
33564 for flag in $(EXTRA_HOST_FLAGS) ; do \
33565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33566 done; \
33567 echo "Doing installcheck in release" ; \
33568 (cd $(HOST_SUBDIR)/release && \
33569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33571 "RANLIB=$${RANLIB}" \
33572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33573 installcheck) \
33574 || exit 1
33576 @endif release
33578 .PHONY: maybe-mostlyclean-release mostlyclean-release
33579 maybe-mostlyclean-release:
33580 @if release
33581 maybe-mostlyclean-release: mostlyclean-release
33583 mostlyclean-release:
33584 @: $(MAKE); $(unstage)
33585 @[ -f ./release/Makefile ] || exit 0; \
33586 r=`${PWD_COMMAND}`; export r; \
33587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33588 $(HOST_EXPORTS) \
33589 for flag in $(EXTRA_HOST_FLAGS) ; do \
33590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33591 done; \
33592 echo "Doing mostlyclean in release" ; \
33593 (cd $(HOST_SUBDIR)/release && \
33594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33596 "RANLIB=$${RANLIB}" \
33597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33598 mostlyclean) \
33599 || exit 1
33601 @endif release
33603 .PHONY: maybe-clean-release clean-release
33604 maybe-clean-release:
33605 @if release
33606 maybe-clean-release: clean-release
33608 clean-release:
33609 @: $(MAKE); $(unstage)
33610 @[ -f ./release/Makefile ] || exit 0; \
33611 r=`${PWD_COMMAND}`; export r; \
33612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33613 $(HOST_EXPORTS) \
33614 for flag in $(EXTRA_HOST_FLAGS) ; do \
33615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33616 done; \
33617 echo "Doing clean in release" ; \
33618 (cd $(HOST_SUBDIR)/release && \
33619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33621 "RANLIB=$${RANLIB}" \
33622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33623 clean) \
33624 || exit 1
33626 @endif release
33628 .PHONY: maybe-distclean-release distclean-release
33629 maybe-distclean-release:
33630 @if release
33631 maybe-distclean-release: distclean-release
33633 distclean-release:
33634 @: $(MAKE); $(unstage)
33635 @[ -f ./release/Makefile ] || exit 0; \
33636 r=`${PWD_COMMAND}`; export r; \
33637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33638 $(HOST_EXPORTS) \
33639 for flag in $(EXTRA_HOST_FLAGS) ; do \
33640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33641 done; \
33642 echo "Doing distclean in release" ; \
33643 (cd $(HOST_SUBDIR)/release && \
33644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33646 "RANLIB=$${RANLIB}" \
33647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33648 distclean) \
33649 || exit 1
33651 @endif release
33653 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
33654 maybe-maintainer-clean-release:
33655 @if release
33656 maybe-maintainer-clean-release: maintainer-clean-release
33658 maintainer-clean-release:
33659 @: $(MAKE); $(unstage)
33660 @[ -f ./release/Makefile ] || exit 0; \
33661 r=`${PWD_COMMAND}`; export r; \
33662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33663 $(HOST_EXPORTS) \
33664 for flag in $(EXTRA_HOST_FLAGS) ; do \
33665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33666 done; \
33667 echo "Doing maintainer-clean in release" ; \
33668 (cd $(HOST_SUBDIR)/release && \
33669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33671 "RANLIB=$${RANLIB}" \
33672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33673 maintainer-clean) \
33674 || exit 1
33676 @endif release
33680 .PHONY: configure-recode maybe-configure-recode
33681 maybe-configure-recode:
33682 @if gcc-bootstrap
33683 configure-recode: stage_current
33684 @endif gcc-bootstrap
33685 @if recode
33686 maybe-configure-recode: configure-recode
33687 configure-recode:
33688 @: $(MAKE); $(unstage)
33689 @r=`${PWD_COMMAND}`; export r; \
33690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33691 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
33692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
33693 $(HOST_EXPORTS) \
33694 echo Configuring in $(HOST_SUBDIR)/recode; \
33695 cd "$(HOST_SUBDIR)/recode" || exit 1; \
33696 case $(srcdir) in \
33697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33698 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
33699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33700 esac; \
33701 srcdiroption="--srcdir=$${topdir}/recode"; \
33702 libsrcdir="$$s/recode"; \
33703 $(SHELL) $${libsrcdir}/configure \
33704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33705 --target=${target_alias} $${srcdiroption} \
33706 || exit 1
33707 @endif recode
33713 .PHONY: all-recode maybe-all-recode
33714 maybe-all-recode:
33715 @if gcc-bootstrap
33716 all-recode: stage_current
33717 @endif gcc-bootstrap
33718 @if recode
33719 TARGET-recode=all
33720 maybe-all-recode: all-recode
33721 all-recode: configure-recode
33722 @: $(MAKE); $(unstage)
33723 @r=`${PWD_COMMAND}`; export r; \
33724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33725 $(HOST_EXPORTS) \
33726 (cd $(HOST_SUBDIR)/recode && \
33727 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33728 $(TARGET-recode))
33729 @endif recode
33734 .PHONY: check-recode maybe-check-recode
33735 maybe-check-recode:
33736 @if recode
33737 maybe-check-recode: check-recode
33739 check-recode:
33740 @: $(MAKE); $(unstage)
33741 @r=`${PWD_COMMAND}`; export r; \
33742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33743 $(HOST_EXPORTS) \
33744 (cd $(HOST_SUBDIR)/recode && \
33745 $(MAKE) $(FLAGS_TO_PASS) check)
33747 @endif recode
33749 .PHONY: install-recode maybe-install-recode
33750 maybe-install-recode:
33751 @if recode
33752 maybe-install-recode: install-recode
33754 install-recode: installdirs
33755 @: $(MAKE); $(unstage)
33756 @r=`${PWD_COMMAND}`; export r; \
33757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33758 $(HOST_EXPORTS) \
33759 (cd $(HOST_SUBDIR)/recode && \
33760 $(MAKE) $(FLAGS_TO_PASS) install)
33762 @endif recode
33764 # Other targets (info, dvi, pdf, etc.)
33766 .PHONY: maybe-info-recode info-recode
33767 maybe-info-recode:
33768 @if recode
33769 maybe-info-recode: info-recode
33771 info-recode: \
33772 configure-recode
33773 @: $(MAKE); $(unstage)
33774 @[ -f ./recode/Makefile ] || exit 0; \
33775 r=`${PWD_COMMAND}`; export r; \
33776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33777 $(HOST_EXPORTS) \
33778 for flag in $(EXTRA_HOST_FLAGS) ; do \
33779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33780 done; \
33781 echo "Doing info in recode" ; \
33782 (cd $(HOST_SUBDIR)/recode && \
33783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33785 "RANLIB=$${RANLIB}" \
33786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33787 info) \
33788 || exit 1
33790 @endif recode
33792 .PHONY: maybe-dvi-recode dvi-recode
33793 maybe-dvi-recode:
33794 @if recode
33795 maybe-dvi-recode: dvi-recode
33797 dvi-recode: \
33798 configure-recode
33799 @: $(MAKE); $(unstage)
33800 @[ -f ./recode/Makefile ] || exit 0; \
33801 r=`${PWD_COMMAND}`; export r; \
33802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33803 $(HOST_EXPORTS) \
33804 for flag in $(EXTRA_HOST_FLAGS) ; do \
33805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33806 done; \
33807 echo "Doing dvi in recode" ; \
33808 (cd $(HOST_SUBDIR)/recode && \
33809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33811 "RANLIB=$${RANLIB}" \
33812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33813 dvi) \
33814 || exit 1
33816 @endif recode
33818 .PHONY: maybe-pdf-recode pdf-recode
33819 maybe-pdf-recode:
33820 @if recode
33821 maybe-pdf-recode: pdf-recode
33823 pdf-recode: \
33824 configure-recode
33825 @: $(MAKE); $(unstage)
33826 @[ -f ./recode/Makefile ] || exit 0; \
33827 r=`${PWD_COMMAND}`; export r; \
33828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33829 $(HOST_EXPORTS) \
33830 for flag in $(EXTRA_HOST_FLAGS) ; do \
33831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33832 done; \
33833 echo "Doing pdf in recode" ; \
33834 (cd $(HOST_SUBDIR)/recode && \
33835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33837 "RANLIB=$${RANLIB}" \
33838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33839 pdf) \
33840 || exit 1
33842 @endif recode
33844 .PHONY: maybe-html-recode html-recode
33845 maybe-html-recode:
33846 @if recode
33847 maybe-html-recode: html-recode
33849 html-recode: \
33850 configure-recode
33851 @: $(MAKE); $(unstage)
33852 @[ -f ./recode/Makefile ] || exit 0; \
33853 r=`${PWD_COMMAND}`; export r; \
33854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33855 $(HOST_EXPORTS) \
33856 for flag in $(EXTRA_HOST_FLAGS) ; do \
33857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33858 done; \
33859 echo "Doing html in recode" ; \
33860 (cd $(HOST_SUBDIR)/recode && \
33861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33863 "RANLIB=$${RANLIB}" \
33864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33865 html) \
33866 || exit 1
33868 @endif recode
33870 .PHONY: maybe-TAGS-recode TAGS-recode
33871 maybe-TAGS-recode:
33872 @if recode
33873 maybe-TAGS-recode: TAGS-recode
33875 TAGS-recode: \
33876 configure-recode
33877 @: $(MAKE); $(unstage)
33878 @[ -f ./recode/Makefile ] || exit 0; \
33879 r=`${PWD_COMMAND}`; export r; \
33880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33881 $(HOST_EXPORTS) \
33882 for flag in $(EXTRA_HOST_FLAGS) ; do \
33883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33884 done; \
33885 echo "Doing TAGS in recode" ; \
33886 (cd $(HOST_SUBDIR)/recode && \
33887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33889 "RANLIB=$${RANLIB}" \
33890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33891 TAGS) \
33892 || exit 1
33894 @endif recode
33896 .PHONY: maybe-install-info-recode install-info-recode
33897 maybe-install-info-recode:
33898 @if recode
33899 maybe-install-info-recode: install-info-recode
33901 install-info-recode: \
33902 configure-recode \
33903 info-recode
33904 @: $(MAKE); $(unstage)
33905 @[ -f ./recode/Makefile ] || exit 0; \
33906 r=`${PWD_COMMAND}`; export r; \
33907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33908 $(HOST_EXPORTS) \
33909 for flag in $(EXTRA_HOST_FLAGS) ; do \
33910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33911 done; \
33912 echo "Doing install-info in recode" ; \
33913 (cd $(HOST_SUBDIR)/recode && \
33914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33916 "RANLIB=$${RANLIB}" \
33917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33918 install-info) \
33919 || exit 1
33921 @endif recode
33923 .PHONY: maybe-install-pdf-recode install-pdf-recode
33924 maybe-install-pdf-recode:
33925 @if recode
33926 maybe-install-pdf-recode: install-pdf-recode
33928 install-pdf-recode: \
33929 configure-recode \
33930 pdf-recode
33931 @: $(MAKE); $(unstage)
33932 @[ -f ./recode/Makefile ] || exit 0; \
33933 r=`${PWD_COMMAND}`; export r; \
33934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33935 $(HOST_EXPORTS) \
33936 for flag in $(EXTRA_HOST_FLAGS) ; do \
33937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33938 done; \
33939 echo "Doing install-pdf in recode" ; \
33940 (cd $(HOST_SUBDIR)/recode && \
33941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33943 "RANLIB=$${RANLIB}" \
33944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33945 install-pdf) \
33946 || exit 1
33948 @endif recode
33950 .PHONY: maybe-install-html-recode install-html-recode
33951 maybe-install-html-recode:
33952 @if recode
33953 maybe-install-html-recode: install-html-recode
33955 install-html-recode: \
33956 configure-recode \
33957 html-recode
33958 @: $(MAKE); $(unstage)
33959 @[ -f ./recode/Makefile ] || exit 0; \
33960 r=`${PWD_COMMAND}`; export r; \
33961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33962 $(HOST_EXPORTS) \
33963 for flag in $(EXTRA_HOST_FLAGS) ; do \
33964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33965 done; \
33966 echo "Doing install-html in recode" ; \
33967 (cd $(HOST_SUBDIR)/recode && \
33968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33970 "RANLIB=$${RANLIB}" \
33971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33972 install-html) \
33973 || exit 1
33975 @endif recode
33977 .PHONY: maybe-installcheck-recode installcheck-recode
33978 maybe-installcheck-recode:
33979 @if recode
33980 maybe-installcheck-recode: installcheck-recode
33982 installcheck-recode: \
33983 configure-recode
33984 @: $(MAKE); $(unstage)
33985 @[ -f ./recode/Makefile ] || exit 0; \
33986 r=`${PWD_COMMAND}`; export r; \
33987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33988 $(HOST_EXPORTS) \
33989 for flag in $(EXTRA_HOST_FLAGS) ; do \
33990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33991 done; \
33992 echo "Doing installcheck in recode" ; \
33993 (cd $(HOST_SUBDIR)/recode && \
33994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33996 "RANLIB=$${RANLIB}" \
33997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33998 installcheck) \
33999 || exit 1
34001 @endif recode
34003 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
34004 maybe-mostlyclean-recode:
34005 @if recode
34006 maybe-mostlyclean-recode: mostlyclean-recode
34008 mostlyclean-recode:
34009 @: $(MAKE); $(unstage)
34010 @[ -f ./recode/Makefile ] || exit 0; \
34011 r=`${PWD_COMMAND}`; export r; \
34012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34013 $(HOST_EXPORTS) \
34014 for flag in $(EXTRA_HOST_FLAGS) ; do \
34015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34016 done; \
34017 echo "Doing mostlyclean in recode" ; \
34018 (cd $(HOST_SUBDIR)/recode && \
34019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34021 "RANLIB=$${RANLIB}" \
34022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34023 mostlyclean) \
34024 || exit 1
34026 @endif recode
34028 .PHONY: maybe-clean-recode clean-recode
34029 maybe-clean-recode:
34030 @if recode
34031 maybe-clean-recode: clean-recode
34033 clean-recode:
34034 @: $(MAKE); $(unstage)
34035 @[ -f ./recode/Makefile ] || exit 0; \
34036 r=`${PWD_COMMAND}`; export r; \
34037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34038 $(HOST_EXPORTS) \
34039 for flag in $(EXTRA_HOST_FLAGS) ; do \
34040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34041 done; \
34042 echo "Doing clean in recode" ; \
34043 (cd $(HOST_SUBDIR)/recode && \
34044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34046 "RANLIB=$${RANLIB}" \
34047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34048 clean) \
34049 || exit 1
34051 @endif recode
34053 .PHONY: maybe-distclean-recode distclean-recode
34054 maybe-distclean-recode:
34055 @if recode
34056 maybe-distclean-recode: distclean-recode
34058 distclean-recode:
34059 @: $(MAKE); $(unstage)
34060 @[ -f ./recode/Makefile ] || exit 0; \
34061 r=`${PWD_COMMAND}`; export r; \
34062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34063 $(HOST_EXPORTS) \
34064 for flag in $(EXTRA_HOST_FLAGS) ; do \
34065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34066 done; \
34067 echo "Doing distclean in recode" ; \
34068 (cd $(HOST_SUBDIR)/recode && \
34069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34071 "RANLIB=$${RANLIB}" \
34072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34073 distclean) \
34074 || exit 1
34076 @endif recode
34078 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
34079 maybe-maintainer-clean-recode:
34080 @if recode
34081 maybe-maintainer-clean-recode: maintainer-clean-recode
34083 maintainer-clean-recode:
34084 @: $(MAKE); $(unstage)
34085 @[ -f ./recode/Makefile ] || exit 0; \
34086 r=`${PWD_COMMAND}`; export r; \
34087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34088 $(HOST_EXPORTS) \
34089 for flag in $(EXTRA_HOST_FLAGS) ; do \
34090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34091 done; \
34092 echo "Doing maintainer-clean in recode" ; \
34093 (cd $(HOST_SUBDIR)/recode && \
34094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34096 "RANLIB=$${RANLIB}" \
34097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34098 maintainer-clean) \
34099 || exit 1
34101 @endif recode
34105 .PHONY: configure-sed maybe-configure-sed
34106 maybe-configure-sed:
34107 @if gcc-bootstrap
34108 configure-sed: stage_current
34109 @endif gcc-bootstrap
34110 @if sed
34111 maybe-configure-sed: configure-sed
34112 configure-sed:
34113 @: $(MAKE); $(unstage)
34114 @r=`${PWD_COMMAND}`; export r; \
34115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34116 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
34117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
34118 $(HOST_EXPORTS) \
34119 echo Configuring in $(HOST_SUBDIR)/sed; \
34120 cd "$(HOST_SUBDIR)/sed" || exit 1; \
34121 case $(srcdir) in \
34122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34123 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
34124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34125 esac; \
34126 srcdiroption="--srcdir=$${topdir}/sed"; \
34127 libsrcdir="$$s/sed"; \
34128 $(SHELL) $${libsrcdir}/configure \
34129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34130 --target=${target_alias} $${srcdiroption} \
34131 || exit 1
34132 @endif sed
34138 .PHONY: all-sed maybe-all-sed
34139 maybe-all-sed:
34140 @if gcc-bootstrap
34141 all-sed: stage_current
34142 @endif gcc-bootstrap
34143 @if sed
34144 TARGET-sed=all
34145 maybe-all-sed: all-sed
34146 all-sed: configure-sed
34147 @: $(MAKE); $(unstage)
34148 @r=`${PWD_COMMAND}`; export r; \
34149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34150 $(HOST_EXPORTS) \
34151 (cd $(HOST_SUBDIR)/sed && \
34152 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34153 $(TARGET-sed))
34154 @endif sed
34159 .PHONY: check-sed maybe-check-sed
34160 maybe-check-sed:
34161 @if sed
34162 maybe-check-sed: check-sed
34164 check-sed:
34165 @: $(MAKE); $(unstage)
34166 @r=`${PWD_COMMAND}`; export r; \
34167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34168 $(HOST_EXPORTS) \
34169 (cd $(HOST_SUBDIR)/sed && \
34170 $(MAKE) $(FLAGS_TO_PASS) check)
34172 @endif sed
34174 .PHONY: install-sed maybe-install-sed
34175 maybe-install-sed:
34176 @if sed
34177 maybe-install-sed: install-sed
34179 install-sed: installdirs
34180 @: $(MAKE); $(unstage)
34181 @r=`${PWD_COMMAND}`; export r; \
34182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34183 $(HOST_EXPORTS) \
34184 (cd $(HOST_SUBDIR)/sed && \
34185 $(MAKE) $(FLAGS_TO_PASS) install)
34187 @endif sed
34189 # Other targets (info, dvi, pdf, etc.)
34191 .PHONY: maybe-info-sed info-sed
34192 maybe-info-sed:
34193 @if sed
34194 maybe-info-sed: info-sed
34196 info-sed: \
34197 configure-sed
34198 @: $(MAKE); $(unstage)
34199 @[ -f ./sed/Makefile ] || exit 0; \
34200 r=`${PWD_COMMAND}`; export r; \
34201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34202 $(HOST_EXPORTS) \
34203 for flag in $(EXTRA_HOST_FLAGS) ; do \
34204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34205 done; \
34206 echo "Doing info in sed" ; \
34207 (cd $(HOST_SUBDIR)/sed && \
34208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34210 "RANLIB=$${RANLIB}" \
34211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34212 info) \
34213 || exit 1
34215 @endif sed
34217 .PHONY: maybe-dvi-sed dvi-sed
34218 maybe-dvi-sed:
34219 @if sed
34220 maybe-dvi-sed: dvi-sed
34222 dvi-sed: \
34223 configure-sed
34224 @: $(MAKE); $(unstage)
34225 @[ -f ./sed/Makefile ] || exit 0; \
34226 r=`${PWD_COMMAND}`; export r; \
34227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34228 $(HOST_EXPORTS) \
34229 for flag in $(EXTRA_HOST_FLAGS) ; do \
34230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34231 done; \
34232 echo "Doing dvi in sed" ; \
34233 (cd $(HOST_SUBDIR)/sed && \
34234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34236 "RANLIB=$${RANLIB}" \
34237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34238 dvi) \
34239 || exit 1
34241 @endif sed
34243 .PHONY: maybe-pdf-sed pdf-sed
34244 maybe-pdf-sed:
34245 @if sed
34246 maybe-pdf-sed: pdf-sed
34248 pdf-sed: \
34249 configure-sed
34250 @: $(MAKE); $(unstage)
34251 @[ -f ./sed/Makefile ] || exit 0; \
34252 r=`${PWD_COMMAND}`; export r; \
34253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34254 $(HOST_EXPORTS) \
34255 for flag in $(EXTRA_HOST_FLAGS) ; do \
34256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34257 done; \
34258 echo "Doing pdf in sed" ; \
34259 (cd $(HOST_SUBDIR)/sed && \
34260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34262 "RANLIB=$${RANLIB}" \
34263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34264 pdf) \
34265 || exit 1
34267 @endif sed
34269 .PHONY: maybe-html-sed html-sed
34270 maybe-html-sed:
34271 @if sed
34272 maybe-html-sed: html-sed
34274 html-sed: \
34275 configure-sed
34276 @: $(MAKE); $(unstage)
34277 @[ -f ./sed/Makefile ] || exit 0; \
34278 r=`${PWD_COMMAND}`; export r; \
34279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34280 $(HOST_EXPORTS) \
34281 for flag in $(EXTRA_HOST_FLAGS) ; do \
34282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34283 done; \
34284 echo "Doing html in sed" ; \
34285 (cd $(HOST_SUBDIR)/sed && \
34286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34288 "RANLIB=$${RANLIB}" \
34289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34290 html) \
34291 || exit 1
34293 @endif sed
34295 .PHONY: maybe-TAGS-sed TAGS-sed
34296 maybe-TAGS-sed:
34297 @if sed
34298 maybe-TAGS-sed: TAGS-sed
34300 TAGS-sed: \
34301 configure-sed
34302 @: $(MAKE); $(unstage)
34303 @[ -f ./sed/Makefile ] || exit 0; \
34304 r=`${PWD_COMMAND}`; export r; \
34305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34306 $(HOST_EXPORTS) \
34307 for flag in $(EXTRA_HOST_FLAGS) ; do \
34308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34309 done; \
34310 echo "Doing TAGS in sed" ; \
34311 (cd $(HOST_SUBDIR)/sed && \
34312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34314 "RANLIB=$${RANLIB}" \
34315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34316 TAGS) \
34317 || exit 1
34319 @endif sed
34321 .PHONY: maybe-install-info-sed install-info-sed
34322 maybe-install-info-sed:
34323 @if sed
34324 maybe-install-info-sed: install-info-sed
34326 install-info-sed: \
34327 configure-sed \
34328 info-sed
34329 @: $(MAKE); $(unstage)
34330 @[ -f ./sed/Makefile ] || exit 0; \
34331 r=`${PWD_COMMAND}`; export r; \
34332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34333 $(HOST_EXPORTS) \
34334 for flag in $(EXTRA_HOST_FLAGS) ; do \
34335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34336 done; \
34337 echo "Doing install-info in sed" ; \
34338 (cd $(HOST_SUBDIR)/sed && \
34339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34341 "RANLIB=$${RANLIB}" \
34342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34343 install-info) \
34344 || exit 1
34346 @endif sed
34348 .PHONY: maybe-install-pdf-sed install-pdf-sed
34349 maybe-install-pdf-sed:
34350 @if sed
34351 maybe-install-pdf-sed: install-pdf-sed
34353 install-pdf-sed: \
34354 configure-sed \
34355 pdf-sed
34356 @: $(MAKE); $(unstage)
34357 @[ -f ./sed/Makefile ] || exit 0; \
34358 r=`${PWD_COMMAND}`; export r; \
34359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34360 $(HOST_EXPORTS) \
34361 for flag in $(EXTRA_HOST_FLAGS) ; do \
34362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34363 done; \
34364 echo "Doing install-pdf in sed" ; \
34365 (cd $(HOST_SUBDIR)/sed && \
34366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34368 "RANLIB=$${RANLIB}" \
34369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34370 install-pdf) \
34371 || exit 1
34373 @endif sed
34375 .PHONY: maybe-install-html-sed install-html-sed
34376 maybe-install-html-sed:
34377 @if sed
34378 maybe-install-html-sed: install-html-sed
34380 install-html-sed: \
34381 configure-sed \
34382 html-sed
34383 @: $(MAKE); $(unstage)
34384 @[ -f ./sed/Makefile ] || exit 0; \
34385 r=`${PWD_COMMAND}`; export r; \
34386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34387 $(HOST_EXPORTS) \
34388 for flag in $(EXTRA_HOST_FLAGS) ; do \
34389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34390 done; \
34391 echo "Doing install-html in sed" ; \
34392 (cd $(HOST_SUBDIR)/sed && \
34393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34395 "RANLIB=$${RANLIB}" \
34396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34397 install-html) \
34398 || exit 1
34400 @endif sed
34402 .PHONY: maybe-installcheck-sed installcheck-sed
34403 maybe-installcheck-sed:
34404 @if sed
34405 maybe-installcheck-sed: installcheck-sed
34407 installcheck-sed: \
34408 configure-sed
34409 @: $(MAKE); $(unstage)
34410 @[ -f ./sed/Makefile ] || exit 0; \
34411 r=`${PWD_COMMAND}`; export r; \
34412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34413 $(HOST_EXPORTS) \
34414 for flag in $(EXTRA_HOST_FLAGS) ; do \
34415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34416 done; \
34417 echo "Doing installcheck in sed" ; \
34418 (cd $(HOST_SUBDIR)/sed && \
34419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34421 "RANLIB=$${RANLIB}" \
34422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34423 installcheck) \
34424 || exit 1
34426 @endif sed
34428 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
34429 maybe-mostlyclean-sed:
34430 @if sed
34431 maybe-mostlyclean-sed: mostlyclean-sed
34433 mostlyclean-sed:
34434 @: $(MAKE); $(unstage)
34435 @[ -f ./sed/Makefile ] || exit 0; \
34436 r=`${PWD_COMMAND}`; export r; \
34437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34438 $(HOST_EXPORTS) \
34439 for flag in $(EXTRA_HOST_FLAGS) ; do \
34440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34441 done; \
34442 echo "Doing mostlyclean in sed" ; \
34443 (cd $(HOST_SUBDIR)/sed && \
34444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34446 "RANLIB=$${RANLIB}" \
34447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34448 mostlyclean) \
34449 || exit 1
34451 @endif sed
34453 .PHONY: maybe-clean-sed clean-sed
34454 maybe-clean-sed:
34455 @if sed
34456 maybe-clean-sed: clean-sed
34458 clean-sed:
34459 @: $(MAKE); $(unstage)
34460 @[ -f ./sed/Makefile ] || exit 0; \
34461 r=`${PWD_COMMAND}`; export r; \
34462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34463 $(HOST_EXPORTS) \
34464 for flag in $(EXTRA_HOST_FLAGS) ; do \
34465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34466 done; \
34467 echo "Doing clean in sed" ; \
34468 (cd $(HOST_SUBDIR)/sed && \
34469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34471 "RANLIB=$${RANLIB}" \
34472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34473 clean) \
34474 || exit 1
34476 @endif sed
34478 .PHONY: maybe-distclean-sed distclean-sed
34479 maybe-distclean-sed:
34480 @if sed
34481 maybe-distclean-sed: distclean-sed
34483 distclean-sed:
34484 @: $(MAKE); $(unstage)
34485 @[ -f ./sed/Makefile ] || exit 0; \
34486 r=`${PWD_COMMAND}`; export r; \
34487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34488 $(HOST_EXPORTS) \
34489 for flag in $(EXTRA_HOST_FLAGS) ; do \
34490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34491 done; \
34492 echo "Doing distclean in sed" ; \
34493 (cd $(HOST_SUBDIR)/sed && \
34494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34496 "RANLIB=$${RANLIB}" \
34497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34498 distclean) \
34499 || exit 1
34501 @endif sed
34503 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
34504 maybe-maintainer-clean-sed:
34505 @if sed
34506 maybe-maintainer-clean-sed: maintainer-clean-sed
34508 maintainer-clean-sed:
34509 @: $(MAKE); $(unstage)
34510 @[ -f ./sed/Makefile ] || exit 0; \
34511 r=`${PWD_COMMAND}`; export r; \
34512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34513 $(HOST_EXPORTS) \
34514 for flag in $(EXTRA_HOST_FLAGS) ; do \
34515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34516 done; \
34517 echo "Doing maintainer-clean in sed" ; \
34518 (cd $(HOST_SUBDIR)/sed && \
34519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34521 "RANLIB=$${RANLIB}" \
34522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34523 maintainer-clean) \
34524 || exit 1
34526 @endif sed
34530 .PHONY: configure-send-pr maybe-configure-send-pr
34531 maybe-configure-send-pr:
34532 @if gcc-bootstrap
34533 configure-send-pr: stage_current
34534 @endif gcc-bootstrap
34535 @if send-pr
34536 maybe-configure-send-pr: configure-send-pr
34537 configure-send-pr:
34538 @: $(MAKE); $(unstage)
34539 @r=`${PWD_COMMAND}`; export r; \
34540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34541 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
34542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
34543 $(HOST_EXPORTS) \
34544 echo Configuring in $(HOST_SUBDIR)/send-pr; \
34545 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
34546 case $(srcdir) in \
34547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34548 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
34549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34550 esac; \
34551 srcdiroption="--srcdir=$${topdir}/send-pr"; \
34552 libsrcdir="$$s/send-pr"; \
34553 $(SHELL) $${libsrcdir}/configure \
34554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34555 --target=${target_alias} $${srcdiroption} \
34556 || exit 1
34557 @endif send-pr
34563 .PHONY: all-send-pr maybe-all-send-pr
34564 maybe-all-send-pr:
34565 @if gcc-bootstrap
34566 all-send-pr: stage_current
34567 @endif gcc-bootstrap
34568 @if send-pr
34569 TARGET-send-pr=all
34570 maybe-all-send-pr: all-send-pr
34571 all-send-pr: configure-send-pr
34572 @: $(MAKE); $(unstage)
34573 @r=`${PWD_COMMAND}`; export r; \
34574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34575 $(HOST_EXPORTS) \
34576 (cd $(HOST_SUBDIR)/send-pr && \
34577 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34578 $(TARGET-send-pr))
34579 @endif send-pr
34584 .PHONY: check-send-pr maybe-check-send-pr
34585 maybe-check-send-pr:
34586 @if send-pr
34587 maybe-check-send-pr: check-send-pr
34589 check-send-pr:
34590 @: $(MAKE); $(unstage)
34591 @r=`${PWD_COMMAND}`; export r; \
34592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34593 $(HOST_EXPORTS) \
34594 (cd $(HOST_SUBDIR)/send-pr && \
34595 $(MAKE) $(FLAGS_TO_PASS) check)
34597 @endif send-pr
34599 .PHONY: install-send-pr maybe-install-send-pr
34600 maybe-install-send-pr:
34601 @if send-pr
34602 maybe-install-send-pr: install-send-pr
34604 install-send-pr: installdirs
34605 @: $(MAKE); $(unstage)
34606 @r=`${PWD_COMMAND}`; export r; \
34607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34608 $(HOST_EXPORTS) \
34609 (cd $(HOST_SUBDIR)/send-pr && \
34610 $(MAKE) $(FLAGS_TO_PASS) install)
34612 @endif send-pr
34614 # Other targets (info, dvi, pdf, etc.)
34616 .PHONY: maybe-info-send-pr info-send-pr
34617 maybe-info-send-pr:
34618 @if send-pr
34619 maybe-info-send-pr: info-send-pr
34621 info-send-pr: \
34622 configure-send-pr
34623 @: $(MAKE); $(unstage)
34624 @[ -f ./send-pr/Makefile ] || exit 0; \
34625 r=`${PWD_COMMAND}`; export r; \
34626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34627 $(HOST_EXPORTS) \
34628 for flag in $(EXTRA_HOST_FLAGS) ; do \
34629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34630 done; \
34631 echo "Doing info in send-pr" ; \
34632 (cd $(HOST_SUBDIR)/send-pr && \
34633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34635 "RANLIB=$${RANLIB}" \
34636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34637 info) \
34638 || exit 1
34640 @endif send-pr
34642 .PHONY: maybe-dvi-send-pr dvi-send-pr
34643 maybe-dvi-send-pr:
34644 @if send-pr
34645 maybe-dvi-send-pr: dvi-send-pr
34647 dvi-send-pr: \
34648 configure-send-pr
34649 @: $(MAKE); $(unstage)
34650 @[ -f ./send-pr/Makefile ] || exit 0; \
34651 r=`${PWD_COMMAND}`; export r; \
34652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34653 $(HOST_EXPORTS) \
34654 for flag in $(EXTRA_HOST_FLAGS) ; do \
34655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34656 done; \
34657 echo "Doing dvi in send-pr" ; \
34658 (cd $(HOST_SUBDIR)/send-pr && \
34659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34661 "RANLIB=$${RANLIB}" \
34662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34663 dvi) \
34664 || exit 1
34666 @endif send-pr
34668 .PHONY: maybe-pdf-send-pr pdf-send-pr
34669 maybe-pdf-send-pr:
34670 @if send-pr
34671 maybe-pdf-send-pr: pdf-send-pr
34673 pdf-send-pr: \
34674 configure-send-pr
34675 @: $(MAKE); $(unstage)
34676 @[ -f ./send-pr/Makefile ] || exit 0; \
34677 r=`${PWD_COMMAND}`; export r; \
34678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34679 $(HOST_EXPORTS) \
34680 for flag in $(EXTRA_HOST_FLAGS) ; do \
34681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34682 done; \
34683 echo "Doing pdf in send-pr" ; \
34684 (cd $(HOST_SUBDIR)/send-pr && \
34685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34687 "RANLIB=$${RANLIB}" \
34688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34689 pdf) \
34690 || exit 1
34692 @endif send-pr
34694 .PHONY: maybe-html-send-pr html-send-pr
34695 maybe-html-send-pr:
34696 @if send-pr
34697 maybe-html-send-pr: html-send-pr
34699 html-send-pr: \
34700 configure-send-pr
34701 @: $(MAKE); $(unstage)
34702 @[ -f ./send-pr/Makefile ] || exit 0; \
34703 r=`${PWD_COMMAND}`; export r; \
34704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34705 $(HOST_EXPORTS) \
34706 for flag in $(EXTRA_HOST_FLAGS) ; do \
34707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34708 done; \
34709 echo "Doing html in send-pr" ; \
34710 (cd $(HOST_SUBDIR)/send-pr && \
34711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34713 "RANLIB=$${RANLIB}" \
34714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34715 html) \
34716 || exit 1
34718 @endif send-pr
34720 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
34721 maybe-TAGS-send-pr:
34722 @if send-pr
34723 maybe-TAGS-send-pr: TAGS-send-pr
34725 TAGS-send-pr: \
34726 configure-send-pr
34727 @: $(MAKE); $(unstage)
34728 @[ -f ./send-pr/Makefile ] || exit 0; \
34729 r=`${PWD_COMMAND}`; export r; \
34730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34731 $(HOST_EXPORTS) \
34732 for flag in $(EXTRA_HOST_FLAGS) ; do \
34733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34734 done; \
34735 echo "Doing TAGS in send-pr" ; \
34736 (cd $(HOST_SUBDIR)/send-pr && \
34737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34739 "RANLIB=$${RANLIB}" \
34740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34741 TAGS) \
34742 || exit 1
34744 @endif send-pr
34746 .PHONY: maybe-install-info-send-pr install-info-send-pr
34747 maybe-install-info-send-pr:
34748 @if send-pr
34749 maybe-install-info-send-pr: install-info-send-pr
34751 install-info-send-pr: \
34752 configure-send-pr \
34753 info-send-pr
34754 @: $(MAKE); $(unstage)
34755 @[ -f ./send-pr/Makefile ] || exit 0; \
34756 r=`${PWD_COMMAND}`; export r; \
34757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34758 $(HOST_EXPORTS) \
34759 for flag in $(EXTRA_HOST_FLAGS) ; do \
34760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34761 done; \
34762 echo "Doing install-info in send-pr" ; \
34763 (cd $(HOST_SUBDIR)/send-pr && \
34764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34766 "RANLIB=$${RANLIB}" \
34767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34768 install-info) \
34769 || exit 1
34771 @endif send-pr
34773 .PHONY: maybe-install-pdf-send-pr install-pdf-send-pr
34774 maybe-install-pdf-send-pr:
34775 @if send-pr
34776 maybe-install-pdf-send-pr: install-pdf-send-pr
34778 install-pdf-send-pr: \
34779 configure-send-pr \
34780 pdf-send-pr
34781 @: $(MAKE); $(unstage)
34782 @[ -f ./send-pr/Makefile ] || exit 0; \
34783 r=`${PWD_COMMAND}`; export r; \
34784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34785 $(HOST_EXPORTS) \
34786 for flag in $(EXTRA_HOST_FLAGS) ; do \
34787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34788 done; \
34789 echo "Doing install-pdf in send-pr" ; \
34790 (cd $(HOST_SUBDIR)/send-pr && \
34791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34793 "RANLIB=$${RANLIB}" \
34794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34795 install-pdf) \
34796 || exit 1
34798 @endif send-pr
34800 .PHONY: maybe-install-html-send-pr install-html-send-pr
34801 maybe-install-html-send-pr:
34802 @if send-pr
34803 maybe-install-html-send-pr: install-html-send-pr
34805 install-html-send-pr: \
34806 configure-send-pr \
34807 html-send-pr
34808 @: $(MAKE); $(unstage)
34809 @[ -f ./send-pr/Makefile ] || exit 0; \
34810 r=`${PWD_COMMAND}`; export r; \
34811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34812 $(HOST_EXPORTS) \
34813 for flag in $(EXTRA_HOST_FLAGS) ; do \
34814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34815 done; \
34816 echo "Doing install-html in send-pr" ; \
34817 (cd $(HOST_SUBDIR)/send-pr && \
34818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34820 "RANLIB=$${RANLIB}" \
34821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34822 install-html) \
34823 || exit 1
34825 @endif send-pr
34827 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
34828 maybe-installcheck-send-pr:
34829 @if send-pr
34830 maybe-installcheck-send-pr: installcheck-send-pr
34832 installcheck-send-pr: \
34833 configure-send-pr
34834 @: $(MAKE); $(unstage)
34835 @[ -f ./send-pr/Makefile ] || exit 0; \
34836 r=`${PWD_COMMAND}`; export r; \
34837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34838 $(HOST_EXPORTS) \
34839 for flag in $(EXTRA_HOST_FLAGS) ; do \
34840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34841 done; \
34842 echo "Doing installcheck in send-pr" ; \
34843 (cd $(HOST_SUBDIR)/send-pr && \
34844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34846 "RANLIB=$${RANLIB}" \
34847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34848 installcheck) \
34849 || exit 1
34851 @endif send-pr
34853 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
34854 maybe-mostlyclean-send-pr:
34855 @if send-pr
34856 maybe-mostlyclean-send-pr: mostlyclean-send-pr
34858 mostlyclean-send-pr:
34859 @: $(MAKE); $(unstage)
34860 @[ -f ./send-pr/Makefile ] || exit 0; \
34861 r=`${PWD_COMMAND}`; export r; \
34862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34863 $(HOST_EXPORTS) \
34864 for flag in $(EXTRA_HOST_FLAGS) ; do \
34865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34866 done; \
34867 echo "Doing mostlyclean in send-pr" ; \
34868 (cd $(HOST_SUBDIR)/send-pr && \
34869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34871 "RANLIB=$${RANLIB}" \
34872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34873 mostlyclean) \
34874 || exit 1
34876 @endif send-pr
34878 .PHONY: maybe-clean-send-pr clean-send-pr
34879 maybe-clean-send-pr:
34880 @if send-pr
34881 maybe-clean-send-pr: clean-send-pr
34883 clean-send-pr:
34884 @: $(MAKE); $(unstage)
34885 @[ -f ./send-pr/Makefile ] || exit 0; \
34886 r=`${PWD_COMMAND}`; export r; \
34887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34888 $(HOST_EXPORTS) \
34889 for flag in $(EXTRA_HOST_FLAGS) ; do \
34890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34891 done; \
34892 echo "Doing clean in send-pr" ; \
34893 (cd $(HOST_SUBDIR)/send-pr && \
34894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34896 "RANLIB=$${RANLIB}" \
34897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34898 clean) \
34899 || exit 1
34901 @endif send-pr
34903 .PHONY: maybe-distclean-send-pr distclean-send-pr
34904 maybe-distclean-send-pr:
34905 @if send-pr
34906 maybe-distclean-send-pr: distclean-send-pr
34908 distclean-send-pr:
34909 @: $(MAKE); $(unstage)
34910 @[ -f ./send-pr/Makefile ] || exit 0; \
34911 r=`${PWD_COMMAND}`; export r; \
34912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34913 $(HOST_EXPORTS) \
34914 for flag in $(EXTRA_HOST_FLAGS) ; do \
34915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34916 done; \
34917 echo "Doing distclean in send-pr" ; \
34918 (cd $(HOST_SUBDIR)/send-pr && \
34919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34921 "RANLIB=$${RANLIB}" \
34922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34923 distclean) \
34924 || exit 1
34926 @endif send-pr
34928 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
34929 maybe-maintainer-clean-send-pr:
34930 @if send-pr
34931 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
34933 maintainer-clean-send-pr:
34934 @: $(MAKE); $(unstage)
34935 @[ -f ./send-pr/Makefile ] || exit 0; \
34936 r=`${PWD_COMMAND}`; export r; \
34937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34938 $(HOST_EXPORTS) \
34939 for flag in $(EXTRA_HOST_FLAGS) ; do \
34940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34941 done; \
34942 echo "Doing maintainer-clean in send-pr" ; \
34943 (cd $(HOST_SUBDIR)/send-pr && \
34944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34946 "RANLIB=$${RANLIB}" \
34947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34948 maintainer-clean) \
34949 || exit 1
34951 @endif send-pr
34955 .PHONY: configure-shellutils maybe-configure-shellutils
34956 maybe-configure-shellutils:
34957 @if gcc-bootstrap
34958 configure-shellutils: stage_current
34959 @endif gcc-bootstrap
34960 @if shellutils
34961 maybe-configure-shellutils: configure-shellutils
34962 configure-shellutils:
34963 @: $(MAKE); $(unstage)
34964 @r=`${PWD_COMMAND}`; export r; \
34965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34966 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
34967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
34968 $(HOST_EXPORTS) \
34969 echo Configuring in $(HOST_SUBDIR)/shellutils; \
34970 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
34971 case $(srcdir) in \
34972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34973 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
34974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34975 esac; \
34976 srcdiroption="--srcdir=$${topdir}/shellutils"; \
34977 libsrcdir="$$s/shellutils"; \
34978 $(SHELL) $${libsrcdir}/configure \
34979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34980 --target=${target_alias} $${srcdiroption} \
34981 || exit 1
34982 @endif shellutils
34988 .PHONY: all-shellutils maybe-all-shellutils
34989 maybe-all-shellutils:
34990 @if gcc-bootstrap
34991 all-shellutils: stage_current
34992 @endif gcc-bootstrap
34993 @if shellutils
34994 TARGET-shellutils=all
34995 maybe-all-shellutils: all-shellutils
34996 all-shellutils: configure-shellutils
34997 @: $(MAKE); $(unstage)
34998 @r=`${PWD_COMMAND}`; export r; \
34999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35000 $(HOST_EXPORTS) \
35001 (cd $(HOST_SUBDIR)/shellutils && \
35002 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35003 $(TARGET-shellutils))
35004 @endif shellutils
35009 .PHONY: check-shellutils maybe-check-shellutils
35010 maybe-check-shellutils:
35011 @if shellutils
35012 maybe-check-shellutils: check-shellutils
35014 check-shellutils:
35015 @: $(MAKE); $(unstage)
35016 @r=`${PWD_COMMAND}`; export r; \
35017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35018 $(HOST_EXPORTS) \
35019 (cd $(HOST_SUBDIR)/shellutils && \
35020 $(MAKE) $(FLAGS_TO_PASS) check)
35022 @endif shellutils
35024 .PHONY: install-shellutils maybe-install-shellutils
35025 maybe-install-shellutils:
35026 @if shellutils
35027 maybe-install-shellutils: install-shellutils
35029 install-shellutils: installdirs
35030 @: $(MAKE); $(unstage)
35031 @r=`${PWD_COMMAND}`; export r; \
35032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35033 $(HOST_EXPORTS) \
35034 (cd $(HOST_SUBDIR)/shellutils && \
35035 $(MAKE) $(FLAGS_TO_PASS) install)
35037 @endif shellutils
35039 # Other targets (info, dvi, pdf, etc.)
35041 .PHONY: maybe-info-shellutils info-shellutils
35042 maybe-info-shellutils:
35043 @if shellutils
35044 maybe-info-shellutils: info-shellutils
35046 info-shellutils: \
35047 configure-shellutils
35048 @: $(MAKE); $(unstage)
35049 @[ -f ./shellutils/Makefile ] || exit 0; \
35050 r=`${PWD_COMMAND}`; export r; \
35051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35052 $(HOST_EXPORTS) \
35053 for flag in $(EXTRA_HOST_FLAGS) ; do \
35054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35055 done; \
35056 echo "Doing info in shellutils" ; \
35057 (cd $(HOST_SUBDIR)/shellutils && \
35058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35060 "RANLIB=$${RANLIB}" \
35061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35062 info) \
35063 || exit 1
35065 @endif shellutils
35067 .PHONY: maybe-dvi-shellutils dvi-shellutils
35068 maybe-dvi-shellutils:
35069 @if shellutils
35070 maybe-dvi-shellutils: dvi-shellutils
35072 dvi-shellutils: \
35073 configure-shellutils
35074 @: $(MAKE); $(unstage)
35075 @[ -f ./shellutils/Makefile ] || exit 0; \
35076 r=`${PWD_COMMAND}`; export r; \
35077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35078 $(HOST_EXPORTS) \
35079 for flag in $(EXTRA_HOST_FLAGS) ; do \
35080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35081 done; \
35082 echo "Doing dvi in shellutils" ; \
35083 (cd $(HOST_SUBDIR)/shellutils && \
35084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35086 "RANLIB=$${RANLIB}" \
35087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35088 dvi) \
35089 || exit 1
35091 @endif shellutils
35093 .PHONY: maybe-pdf-shellutils pdf-shellutils
35094 maybe-pdf-shellutils:
35095 @if shellutils
35096 maybe-pdf-shellutils: pdf-shellutils
35098 pdf-shellutils: \
35099 configure-shellutils
35100 @: $(MAKE); $(unstage)
35101 @[ -f ./shellutils/Makefile ] || exit 0; \
35102 r=`${PWD_COMMAND}`; export r; \
35103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35104 $(HOST_EXPORTS) \
35105 for flag in $(EXTRA_HOST_FLAGS) ; do \
35106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35107 done; \
35108 echo "Doing pdf in shellutils" ; \
35109 (cd $(HOST_SUBDIR)/shellutils && \
35110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35112 "RANLIB=$${RANLIB}" \
35113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35114 pdf) \
35115 || exit 1
35117 @endif shellutils
35119 .PHONY: maybe-html-shellutils html-shellutils
35120 maybe-html-shellutils:
35121 @if shellutils
35122 maybe-html-shellutils: html-shellutils
35124 html-shellutils: \
35125 configure-shellutils
35126 @: $(MAKE); $(unstage)
35127 @[ -f ./shellutils/Makefile ] || exit 0; \
35128 r=`${PWD_COMMAND}`; export r; \
35129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35130 $(HOST_EXPORTS) \
35131 for flag in $(EXTRA_HOST_FLAGS) ; do \
35132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35133 done; \
35134 echo "Doing html in shellutils" ; \
35135 (cd $(HOST_SUBDIR)/shellutils && \
35136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35138 "RANLIB=$${RANLIB}" \
35139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35140 html) \
35141 || exit 1
35143 @endif shellutils
35145 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
35146 maybe-TAGS-shellutils:
35147 @if shellutils
35148 maybe-TAGS-shellutils: TAGS-shellutils
35150 TAGS-shellutils: \
35151 configure-shellutils
35152 @: $(MAKE); $(unstage)
35153 @[ -f ./shellutils/Makefile ] || exit 0; \
35154 r=`${PWD_COMMAND}`; export r; \
35155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35156 $(HOST_EXPORTS) \
35157 for flag in $(EXTRA_HOST_FLAGS) ; do \
35158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35159 done; \
35160 echo "Doing TAGS in shellutils" ; \
35161 (cd $(HOST_SUBDIR)/shellutils && \
35162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35164 "RANLIB=$${RANLIB}" \
35165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35166 TAGS) \
35167 || exit 1
35169 @endif shellutils
35171 .PHONY: maybe-install-info-shellutils install-info-shellutils
35172 maybe-install-info-shellutils:
35173 @if shellutils
35174 maybe-install-info-shellutils: install-info-shellutils
35176 install-info-shellutils: \
35177 configure-shellutils \
35178 info-shellutils
35179 @: $(MAKE); $(unstage)
35180 @[ -f ./shellutils/Makefile ] || exit 0; \
35181 r=`${PWD_COMMAND}`; export r; \
35182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35183 $(HOST_EXPORTS) \
35184 for flag in $(EXTRA_HOST_FLAGS) ; do \
35185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35186 done; \
35187 echo "Doing install-info in shellutils" ; \
35188 (cd $(HOST_SUBDIR)/shellutils && \
35189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35191 "RANLIB=$${RANLIB}" \
35192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35193 install-info) \
35194 || exit 1
35196 @endif shellutils
35198 .PHONY: maybe-install-pdf-shellutils install-pdf-shellutils
35199 maybe-install-pdf-shellutils:
35200 @if shellutils
35201 maybe-install-pdf-shellutils: install-pdf-shellutils
35203 install-pdf-shellutils: \
35204 configure-shellutils \
35205 pdf-shellutils
35206 @: $(MAKE); $(unstage)
35207 @[ -f ./shellutils/Makefile ] || exit 0; \
35208 r=`${PWD_COMMAND}`; export r; \
35209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35210 $(HOST_EXPORTS) \
35211 for flag in $(EXTRA_HOST_FLAGS) ; do \
35212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35213 done; \
35214 echo "Doing install-pdf in shellutils" ; \
35215 (cd $(HOST_SUBDIR)/shellutils && \
35216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35218 "RANLIB=$${RANLIB}" \
35219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35220 install-pdf) \
35221 || exit 1
35223 @endif shellutils
35225 .PHONY: maybe-install-html-shellutils install-html-shellutils
35226 maybe-install-html-shellutils:
35227 @if shellutils
35228 maybe-install-html-shellutils: install-html-shellutils
35230 install-html-shellutils: \
35231 configure-shellutils \
35232 html-shellutils
35233 @: $(MAKE); $(unstage)
35234 @[ -f ./shellutils/Makefile ] || exit 0; \
35235 r=`${PWD_COMMAND}`; export r; \
35236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35237 $(HOST_EXPORTS) \
35238 for flag in $(EXTRA_HOST_FLAGS) ; do \
35239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35240 done; \
35241 echo "Doing install-html in shellutils" ; \
35242 (cd $(HOST_SUBDIR)/shellutils && \
35243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35245 "RANLIB=$${RANLIB}" \
35246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35247 install-html) \
35248 || exit 1
35250 @endif shellutils
35252 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
35253 maybe-installcheck-shellutils:
35254 @if shellutils
35255 maybe-installcheck-shellutils: installcheck-shellutils
35257 installcheck-shellutils: \
35258 configure-shellutils
35259 @: $(MAKE); $(unstage)
35260 @[ -f ./shellutils/Makefile ] || exit 0; \
35261 r=`${PWD_COMMAND}`; export r; \
35262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35263 $(HOST_EXPORTS) \
35264 for flag in $(EXTRA_HOST_FLAGS) ; do \
35265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35266 done; \
35267 echo "Doing installcheck in shellutils" ; \
35268 (cd $(HOST_SUBDIR)/shellutils && \
35269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35271 "RANLIB=$${RANLIB}" \
35272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35273 installcheck) \
35274 || exit 1
35276 @endif shellutils
35278 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
35279 maybe-mostlyclean-shellutils:
35280 @if shellutils
35281 maybe-mostlyclean-shellutils: mostlyclean-shellutils
35283 mostlyclean-shellutils:
35284 @: $(MAKE); $(unstage)
35285 @[ -f ./shellutils/Makefile ] || exit 0; \
35286 r=`${PWD_COMMAND}`; export r; \
35287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35288 $(HOST_EXPORTS) \
35289 for flag in $(EXTRA_HOST_FLAGS) ; do \
35290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35291 done; \
35292 echo "Doing mostlyclean in shellutils" ; \
35293 (cd $(HOST_SUBDIR)/shellutils && \
35294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35296 "RANLIB=$${RANLIB}" \
35297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35298 mostlyclean) \
35299 || exit 1
35301 @endif shellutils
35303 .PHONY: maybe-clean-shellutils clean-shellutils
35304 maybe-clean-shellutils:
35305 @if shellutils
35306 maybe-clean-shellutils: clean-shellutils
35308 clean-shellutils:
35309 @: $(MAKE); $(unstage)
35310 @[ -f ./shellutils/Makefile ] || exit 0; \
35311 r=`${PWD_COMMAND}`; export r; \
35312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35313 $(HOST_EXPORTS) \
35314 for flag in $(EXTRA_HOST_FLAGS) ; do \
35315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35316 done; \
35317 echo "Doing clean in shellutils" ; \
35318 (cd $(HOST_SUBDIR)/shellutils && \
35319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35321 "RANLIB=$${RANLIB}" \
35322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35323 clean) \
35324 || exit 1
35326 @endif shellutils
35328 .PHONY: maybe-distclean-shellutils distclean-shellutils
35329 maybe-distclean-shellutils:
35330 @if shellutils
35331 maybe-distclean-shellutils: distclean-shellutils
35333 distclean-shellutils:
35334 @: $(MAKE); $(unstage)
35335 @[ -f ./shellutils/Makefile ] || exit 0; \
35336 r=`${PWD_COMMAND}`; export r; \
35337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35338 $(HOST_EXPORTS) \
35339 for flag in $(EXTRA_HOST_FLAGS) ; do \
35340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35341 done; \
35342 echo "Doing distclean in shellutils" ; \
35343 (cd $(HOST_SUBDIR)/shellutils && \
35344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35346 "RANLIB=$${RANLIB}" \
35347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35348 distclean) \
35349 || exit 1
35351 @endif shellutils
35353 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
35354 maybe-maintainer-clean-shellutils:
35355 @if shellutils
35356 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
35358 maintainer-clean-shellutils:
35359 @: $(MAKE); $(unstage)
35360 @[ -f ./shellutils/Makefile ] || exit 0; \
35361 r=`${PWD_COMMAND}`; export r; \
35362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35363 $(HOST_EXPORTS) \
35364 for flag in $(EXTRA_HOST_FLAGS) ; do \
35365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35366 done; \
35367 echo "Doing maintainer-clean in shellutils" ; \
35368 (cd $(HOST_SUBDIR)/shellutils && \
35369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35371 "RANLIB=$${RANLIB}" \
35372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35373 maintainer-clean) \
35374 || exit 1
35376 @endif shellutils
35380 .PHONY: configure-sid maybe-configure-sid
35381 maybe-configure-sid:
35382 @if gcc-bootstrap
35383 configure-sid: stage_current
35384 @endif gcc-bootstrap
35385 @if sid
35386 maybe-configure-sid: configure-sid
35387 configure-sid:
35388 @: $(MAKE); $(unstage)
35389 @r=`${PWD_COMMAND}`; export r; \
35390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35391 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
35392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
35393 $(HOST_EXPORTS) \
35394 echo Configuring in $(HOST_SUBDIR)/sid; \
35395 cd "$(HOST_SUBDIR)/sid" || exit 1; \
35396 case $(srcdir) in \
35397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35398 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
35399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35400 esac; \
35401 srcdiroption="--srcdir=$${topdir}/sid"; \
35402 libsrcdir="$$s/sid"; \
35403 $(SHELL) $${libsrcdir}/configure \
35404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35405 --target=${target_alias} $${srcdiroption} \
35406 || exit 1
35407 @endif sid
35413 .PHONY: all-sid maybe-all-sid
35414 maybe-all-sid:
35415 @if gcc-bootstrap
35416 all-sid: stage_current
35417 @endif gcc-bootstrap
35418 @if sid
35419 TARGET-sid=all
35420 maybe-all-sid: all-sid
35421 all-sid: configure-sid
35422 @: $(MAKE); $(unstage)
35423 @r=`${PWD_COMMAND}`; export r; \
35424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35425 $(HOST_EXPORTS) \
35426 (cd $(HOST_SUBDIR)/sid && \
35427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35428 $(TARGET-sid))
35429 @endif sid
35434 .PHONY: check-sid maybe-check-sid
35435 maybe-check-sid:
35436 @if sid
35437 maybe-check-sid: check-sid
35439 check-sid:
35440 @: $(MAKE); $(unstage)
35441 @r=`${PWD_COMMAND}`; export r; \
35442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35443 $(HOST_EXPORTS) \
35444 (cd $(HOST_SUBDIR)/sid && \
35445 $(MAKE) $(FLAGS_TO_PASS) check)
35447 @endif sid
35449 .PHONY: install-sid maybe-install-sid
35450 maybe-install-sid:
35451 @if sid
35452 maybe-install-sid: install-sid
35454 install-sid: installdirs
35455 @: $(MAKE); $(unstage)
35456 @r=`${PWD_COMMAND}`; export r; \
35457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35458 $(HOST_EXPORTS) \
35459 (cd $(HOST_SUBDIR)/sid && \
35460 $(MAKE) $(FLAGS_TO_PASS) install)
35462 @endif sid
35464 # Other targets (info, dvi, pdf, etc.)
35466 .PHONY: maybe-info-sid info-sid
35467 maybe-info-sid:
35468 @if sid
35469 maybe-info-sid: info-sid
35471 info-sid: \
35472 configure-sid
35473 @: $(MAKE); $(unstage)
35474 @[ -f ./sid/Makefile ] || exit 0; \
35475 r=`${PWD_COMMAND}`; export r; \
35476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35477 $(HOST_EXPORTS) \
35478 for flag in $(EXTRA_HOST_FLAGS) ; do \
35479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35480 done; \
35481 echo "Doing info in sid" ; \
35482 (cd $(HOST_SUBDIR)/sid && \
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}" "WINDMC=$${WINDMC}" \
35487 info) \
35488 || exit 1
35490 @endif sid
35492 .PHONY: maybe-dvi-sid dvi-sid
35493 maybe-dvi-sid:
35494 @if sid
35495 maybe-dvi-sid: dvi-sid
35497 dvi-sid: \
35498 configure-sid
35499 @: $(MAKE); $(unstage)
35500 @[ -f ./sid/Makefile ] || exit 0; \
35501 r=`${PWD_COMMAND}`; export r; \
35502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35503 $(HOST_EXPORTS) \
35504 for flag in $(EXTRA_HOST_FLAGS) ; do \
35505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35506 done; \
35507 echo "Doing dvi in sid" ; \
35508 (cd $(HOST_SUBDIR)/sid && \
35509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35511 "RANLIB=$${RANLIB}" \
35512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35513 dvi) \
35514 || exit 1
35516 @endif sid
35518 .PHONY: maybe-pdf-sid pdf-sid
35519 maybe-pdf-sid:
35520 @if sid
35521 maybe-pdf-sid: pdf-sid
35523 pdf-sid: \
35524 configure-sid
35525 @: $(MAKE); $(unstage)
35526 @[ -f ./sid/Makefile ] || exit 0; \
35527 r=`${PWD_COMMAND}`; export r; \
35528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35529 $(HOST_EXPORTS) \
35530 for flag in $(EXTRA_HOST_FLAGS) ; do \
35531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35532 done; \
35533 echo "Doing pdf in sid" ; \
35534 (cd $(HOST_SUBDIR)/sid && \
35535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35537 "RANLIB=$${RANLIB}" \
35538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35539 pdf) \
35540 || exit 1
35542 @endif sid
35544 .PHONY: maybe-html-sid html-sid
35545 maybe-html-sid:
35546 @if sid
35547 maybe-html-sid: html-sid
35549 html-sid: \
35550 configure-sid
35551 @: $(MAKE); $(unstage)
35552 @[ -f ./sid/Makefile ] || exit 0; \
35553 r=`${PWD_COMMAND}`; export r; \
35554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35555 $(HOST_EXPORTS) \
35556 for flag in $(EXTRA_HOST_FLAGS) ; do \
35557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35558 done; \
35559 echo "Doing html in sid" ; \
35560 (cd $(HOST_SUBDIR)/sid && \
35561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35563 "RANLIB=$${RANLIB}" \
35564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35565 html) \
35566 || exit 1
35568 @endif sid
35570 .PHONY: maybe-TAGS-sid TAGS-sid
35571 maybe-TAGS-sid:
35572 @if sid
35573 maybe-TAGS-sid: TAGS-sid
35575 TAGS-sid: \
35576 configure-sid
35577 @: $(MAKE); $(unstage)
35578 @[ -f ./sid/Makefile ] || exit 0; \
35579 r=`${PWD_COMMAND}`; export r; \
35580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35581 $(HOST_EXPORTS) \
35582 for flag in $(EXTRA_HOST_FLAGS) ; do \
35583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35584 done; \
35585 echo "Doing TAGS in sid" ; \
35586 (cd $(HOST_SUBDIR)/sid && \
35587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35589 "RANLIB=$${RANLIB}" \
35590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35591 TAGS) \
35592 || exit 1
35594 @endif sid
35596 .PHONY: maybe-install-info-sid install-info-sid
35597 maybe-install-info-sid:
35598 @if sid
35599 maybe-install-info-sid: install-info-sid
35601 install-info-sid: \
35602 configure-sid \
35603 info-sid
35604 @: $(MAKE); $(unstage)
35605 @[ -f ./sid/Makefile ] || exit 0; \
35606 r=`${PWD_COMMAND}`; export r; \
35607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35608 $(HOST_EXPORTS) \
35609 for flag in $(EXTRA_HOST_FLAGS) ; do \
35610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35611 done; \
35612 echo "Doing install-info in sid" ; \
35613 (cd $(HOST_SUBDIR)/sid && \
35614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35616 "RANLIB=$${RANLIB}" \
35617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35618 install-info) \
35619 || exit 1
35621 @endif sid
35623 .PHONY: maybe-install-pdf-sid install-pdf-sid
35624 maybe-install-pdf-sid:
35625 @if sid
35626 maybe-install-pdf-sid: install-pdf-sid
35628 install-pdf-sid: \
35629 configure-sid \
35630 pdf-sid
35631 @: $(MAKE); $(unstage)
35632 @[ -f ./sid/Makefile ] || exit 0; \
35633 r=`${PWD_COMMAND}`; export r; \
35634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35635 $(HOST_EXPORTS) \
35636 for flag in $(EXTRA_HOST_FLAGS) ; do \
35637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35638 done; \
35639 echo "Doing install-pdf in sid" ; \
35640 (cd $(HOST_SUBDIR)/sid && \
35641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35643 "RANLIB=$${RANLIB}" \
35644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35645 install-pdf) \
35646 || exit 1
35648 @endif sid
35650 .PHONY: maybe-install-html-sid install-html-sid
35651 maybe-install-html-sid:
35652 @if sid
35653 maybe-install-html-sid: install-html-sid
35655 install-html-sid: \
35656 configure-sid \
35657 html-sid
35658 @: $(MAKE); $(unstage)
35659 @[ -f ./sid/Makefile ] || exit 0; \
35660 r=`${PWD_COMMAND}`; export r; \
35661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35662 $(HOST_EXPORTS) \
35663 for flag in $(EXTRA_HOST_FLAGS) ; do \
35664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35665 done; \
35666 echo "Doing install-html in sid" ; \
35667 (cd $(HOST_SUBDIR)/sid && \
35668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35670 "RANLIB=$${RANLIB}" \
35671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35672 install-html) \
35673 || exit 1
35675 @endif sid
35677 .PHONY: maybe-installcheck-sid installcheck-sid
35678 maybe-installcheck-sid:
35679 @if sid
35680 maybe-installcheck-sid: installcheck-sid
35682 installcheck-sid: \
35683 configure-sid
35684 @: $(MAKE); $(unstage)
35685 @[ -f ./sid/Makefile ] || exit 0; \
35686 r=`${PWD_COMMAND}`; export r; \
35687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35688 $(HOST_EXPORTS) \
35689 for flag in $(EXTRA_HOST_FLAGS) ; do \
35690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35691 done; \
35692 echo "Doing installcheck in sid" ; \
35693 (cd $(HOST_SUBDIR)/sid && \
35694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35696 "RANLIB=$${RANLIB}" \
35697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35698 installcheck) \
35699 || exit 1
35701 @endif sid
35703 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
35704 maybe-mostlyclean-sid:
35705 @if sid
35706 maybe-mostlyclean-sid: mostlyclean-sid
35708 mostlyclean-sid:
35709 @: $(MAKE); $(unstage)
35710 @[ -f ./sid/Makefile ] || exit 0; \
35711 r=`${PWD_COMMAND}`; export r; \
35712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35713 $(HOST_EXPORTS) \
35714 for flag in $(EXTRA_HOST_FLAGS) ; do \
35715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35716 done; \
35717 echo "Doing mostlyclean in sid" ; \
35718 (cd $(HOST_SUBDIR)/sid && \
35719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35721 "RANLIB=$${RANLIB}" \
35722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35723 mostlyclean) \
35724 || exit 1
35726 @endif sid
35728 .PHONY: maybe-clean-sid clean-sid
35729 maybe-clean-sid:
35730 @if sid
35731 maybe-clean-sid: clean-sid
35733 clean-sid:
35734 @: $(MAKE); $(unstage)
35735 @[ -f ./sid/Makefile ] || exit 0; \
35736 r=`${PWD_COMMAND}`; export r; \
35737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35738 $(HOST_EXPORTS) \
35739 for flag in $(EXTRA_HOST_FLAGS) ; do \
35740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35741 done; \
35742 echo "Doing clean in sid" ; \
35743 (cd $(HOST_SUBDIR)/sid && \
35744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35746 "RANLIB=$${RANLIB}" \
35747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35748 clean) \
35749 || exit 1
35751 @endif sid
35753 .PHONY: maybe-distclean-sid distclean-sid
35754 maybe-distclean-sid:
35755 @if sid
35756 maybe-distclean-sid: distclean-sid
35758 distclean-sid:
35759 @: $(MAKE); $(unstage)
35760 @[ -f ./sid/Makefile ] || exit 0; \
35761 r=`${PWD_COMMAND}`; export r; \
35762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35763 $(HOST_EXPORTS) \
35764 for flag in $(EXTRA_HOST_FLAGS) ; do \
35765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35766 done; \
35767 echo "Doing distclean in sid" ; \
35768 (cd $(HOST_SUBDIR)/sid && \
35769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35771 "RANLIB=$${RANLIB}" \
35772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35773 distclean) \
35774 || exit 1
35776 @endif sid
35778 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
35779 maybe-maintainer-clean-sid:
35780 @if sid
35781 maybe-maintainer-clean-sid: maintainer-clean-sid
35783 maintainer-clean-sid:
35784 @: $(MAKE); $(unstage)
35785 @[ -f ./sid/Makefile ] || exit 0; \
35786 r=`${PWD_COMMAND}`; export r; \
35787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35788 $(HOST_EXPORTS) \
35789 for flag in $(EXTRA_HOST_FLAGS) ; do \
35790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35791 done; \
35792 echo "Doing maintainer-clean in sid" ; \
35793 (cd $(HOST_SUBDIR)/sid && \
35794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35796 "RANLIB=$${RANLIB}" \
35797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35798 maintainer-clean) \
35799 || exit 1
35801 @endif sid
35805 .PHONY: configure-sim maybe-configure-sim
35806 maybe-configure-sim:
35807 @if gcc-bootstrap
35808 configure-sim: stage_current
35809 @endif gcc-bootstrap
35810 @if sim
35811 maybe-configure-sim: configure-sim
35812 configure-sim:
35813 @: $(MAKE); $(unstage)
35814 @r=`${PWD_COMMAND}`; export r; \
35815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35816 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
35817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
35818 $(HOST_EXPORTS) \
35819 echo Configuring in $(HOST_SUBDIR)/sim; \
35820 cd "$(HOST_SUBDIR)/sim" || exit 1; \
35821 case $(srcdir) in \
35822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35823 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
35824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35825 esac; \
35826 srcdiroption="--srcdir=$${topdir}/sim"; \
35827 libsrcdir="$$s/sim"; \
35828 $(SHELL) $${libsrcdir}/configure \
35829 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35830 --target=${target_alias} $${srcdiroption} \
35831 || exit 1
35832 @endif sim
35838 .PHONY: all-sim maybe-all-sim
35839 maybe-all-sim:
35840 @if gcc-bootstrap
35841 all-sim: stage_current
35842 @endif gcc-bootstrap
35843 @if sim
35844 TARGET-sim=all
35845 maybe-all-sim: all-sim
35846 all-sim: configure-sim
35847 @: $(MAKE); $(unstage)
35848 @r=`${PWD_COMMAND}`; export r; \
35849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35850 $(HOST_EXPORTS) \
35851 (cd $(HOST_SUBDIR)/sim && \
35852 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35853 $(TARGET-sim))
35854 @endif sim
35859 .PHONY: check-sim maybe-check-sim
35860 maybe-check-sim:
35861 @if sim
35862 maybe-check-sim: check-sim
35864 check-sim:
35865 @: $(MAKE); $(unstage)
35866 @r=`${PWD_COMMAND}`; export r; \
35867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35868 $(HOST_EXPORTS) \
35869 (cd $(HOST_SUBDIR)/sim && \
35870 $(MAKE) $(FLAGS_TO_PASS) check)
35872 @endif sim
35874 .PHONY: install-sim maybe-install-sim
35875 maybe-install-sim:
35876 @if sim
35877 maybe-install-sim: install-sim
35879 install-sim: installdirs
35880 @: $(MAKE); $(unstage)
35881 @r=`${PWD_COMMAND}`; export r; \
35882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35883 $(HOST_EXPORTS) \
35884 (cd $(HOST_SUBDIR)/sim && \
35885 $(MAKE) $(FLAGS_TO_PASS) install)
35887 @endif sim
35889 # Other targets (info, dvi, pdf, etc.)
35891 .PHONY: maybe-info-sim info-sim
35892 maybe-info-sim:
35893 @if sim
35894 maybe-info-sim: info-sim
35896 info-sim: \
35897 configure-sim
35898 @: $(MAKE); $(unstage)
35899 @[ -f ./sim/Makefile ] || exit 0; \
35900 r=`${PWD_COMMAND}`; export r; \
35901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35902 $(HOST_EXPORTS) \
35903 for flag in $(EXTRA_HOST_FLAGS) ; do \
35904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35905 done; \
35906 echo "Doing info in sim" ; \
35907 (cd $(HOST_SUBDIR)/sim && \
35908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35910 "RANLIB=$${RANLIB}" \
35911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35912 info) \
35913 || exit 1
35915 @endif sim
35917 .PHONY: maybe-dvi-sim dvi-sim
35918 maybe-dvi-sim:
35919 @if sim
35920 maybe-dvi-sim: dvi-sim
35922 dvi-sim: \
35923 configure-sim
35924 @: $(MAKE); $(unstage)
35925 @[ -f ./sim/Makefile ] || exit 0; \
35926 r=`${PWD_COMMAND}`; export r; \
35927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35928 $(HOST_EXPORTS) \
35929 for flag in $(EXTRA_HOST_FLAGS) ; do \
35930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35931 done; \
35932 echo "Doing dvi in sim" ; \
35933 (cd $(HOST_SUBDIR)/sim && \
35934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35936 "RANLIB=$${RANLIB}" \
35937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35938 dvi) \
35939 || exit 1
35941 @endif sim
35943 .PHONY: maybe-pdf-sim pdf-sim
35944 maybe-pdf-sim:
35945 @if sim
35946 maybe-pdf-sim: pdf-sim
35948 pdf-sim: \
35949 configure-sim
35950 @: $(MAKE); $(unstage)
35951 @[ -f ./sim/Makefile ] || exit 0; \
35952 r=`${PWD_COMMAND}`; export r; \
35953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35954 $(HOST_EXPORTS) \
35955 for flag in $(EXTRA_HOST_FLAGS) ; do \
35956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35957 done; \
35958 echo "Doing pdf in sim" ; \
35959 (cd $(HOST_SUBDIR)/sim && \
35960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35962 "RANLIB=$${RANLIB}" \
35963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35964 pdf) \
35965 || exit 1
35967 @endif sim
35969 .PHONY: maybe-html-sim html-sim
35970 maybe-html-sim:
35971 @if sim
35972 maybe-html-sim: html-sim
35974 html-sim: \
35975 configure-sim
35976 @: $(MAKE); $(unstage)
35977 @[ -f ./sim/Makefile ] || exit 0; \
35978 r=`${PWD_COMMAND}`; export r; \
35979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35980 $(HOST_EXPORTS) \
35981 for flag in $(EXTRA_HOST_FLAGS) ; do \
35982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35983 done; \
35984 echo "Doing html in sim" ; \
35985 (cd $(HOST_SUBDIR)/sim && \
35986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35988 "RANLIB=$${RANLIB}" \
35989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35990 html) \
35991 || exit 1
35993 @endif sim
35995 .PHONY: maybe-TAGS-sim TAGS-sim
35996 maybe-TAGS-sim:
35997 @if sim
35998 maybe-TAGS-sim: TAGS-sim
36000 TAGS-sim: \
36001 configure-sim
36002 @: $(MAKE); $(unstage)
36003 @[ -f ./sim/Makefile ] || exit 0; \
36004 r=`${PWD_COMMAND}`; export r; \
36005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36006 $(HOST_EXPORTS) \
36007 for flag in $(EXTRA_HOST_FLAGS) ; do \
36008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36009 done; \
36010 echo "Doing TAGS in sim" ; \
36011 (cd $(HOST_SUBDIR)/sim && \
36012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36014 "RANLIB=$${RANLIB}" \
36015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36016 TAGS) \
36017 || exit 1
36019 @endif sim
36021 .PHONY: maybe-install-info-sim install-info-sim
36022 maybe-install-info-sim:
36023 @if sim
36024 maybe-install-info-sim: install-info-sim
36026 install-info-sim: \
36027 configure-sim \
36028 info-sim
36029 @: $(MAKE); $(unstage)
36030 @[ -f ./sim/Makefile ] || exit 0; \
36031 r=`${PWD_COMMAND}`; export r; \
36032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36033 $(HOST_EXPORTS) \
36034 for flag in $(EXTRA_HOST_FLAGS) ; do \
36035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36036 done; \
36037 echo "Doing install-info in sim" ; \
36038 (cd $(HOST_SUBDIR)/sim && \
36039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36041 "RANLIB=$${RANLIB}" \
36042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36043 install-info) \
36044 || exit 1
36046 @endif sim
36048 .PHONY: maybe-install-pdf-sim install-pdf-sim
36049 maybe-install-pdf-sim:
36050 @if sim
36051 maybe-install-pdf-sim: install-pdf-sim
36053 install-pdf-sim: \
36054 configure-sim \
36055 pdf-sim
36056 @: $(MAKE); $(unstage)
36057 @[ -f ./sim/Makefile ] || exit 0; \
36058 r=`${PWD_COMMAND}`; export r; \
36059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36060 $(HOST_EXPORTS) \
36061 for flag in $(EXTRA_HOST_FLAGS) ; do \
36062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36063 done; \
36064 echo "Doing install-pdf in sim" ; \
36065 (cd $(HOST_SUBDIR)/sim && \
36066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36068 "RANLIB=$${RANLIB}" \
36069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36070 install-pdf) \
36071 || exit 1
36073 @endif sim
36075 .PHONY: maybe-install-html-sim install-html-sim
36076 maybe-install-html-sim:
36077 @if sim
36078 maybe-install-html-sim: install-html-sim
36080 install-html-sim: \
36081 configure-sim \
36082 html-sim
36083 @: $(MAKE); $(unstage)
36084 @[ -f ./sim/Makefile ] || exit 0; \
36085 r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(HOST_EXPORTS) \
36088 for flag in $(EXTRA_HOST_FLAGS) ; do \
36089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36090 done; \
36091 echo "Doing install-html in sim" ; \
36092 (cd $(HOST_SUBDIR)/sim && \
36093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36095 "RANLIB=$${RANLIB}" \
36096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36097 install-html) \
36098 || exit 1
36100 @endif sim
36102 .PHONY: maybe-installcheck-sim installcheck-sim
36103 maybe-installcheck-sim:
36104 @if sim
36105 maybe-installcheck-sim: installcheck-sim
36107 installcheck-sim: \
36108 configure-sim
36109 @: $(MAKE); $(unstage)
36110 @[ -f ./sim/Makefile ] || exit 0; \
36111 r=`${PWD_COMMAND}`; export r; \
36112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36113 $(HOST_EXPORTS) \
36114 for flag in $(EXTRA_HOST_FLAGS) ; do \
36115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36116 done; \
36117 echo "Doing installcheck in sim" ; \
36118 (cd $(HOST_SUBDIR)/sim && \
36119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36121 "RANLIB=$${RANLIB}" \
36122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36123 installcheck) \
36124 || exit 1
36126 @endif sim
36128 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
36129 maybe-mostlyclean-sim:
36130 @if sim
36131 maybe-mostlyclean-sim: mostlyclean-sim
36133 mostlyclean-sim:
36134 @: $(MAKE); $(unstage)
36135 @[ -f ./sim/Makefile ] || exit 0; \
36136 r=`${PWD_COMMAND}`; export r; \
36137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36138 $(HOST_EXPORTS) \
36139 for flag in $(EXTRA_HOST_FLAGS) ; do \
36140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36141 done; \
36142 echo "Doing mostlyclean in sim" ; \
36143 (cd $(HOST_SUBDIR)/sim && \
36144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36146 "RANLIB=$${RANLIB}" \
36147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36148 mostlyclean) \
36149 || exit 1
36151 @endif sim
36153 .PHONY: maybe-clean-sim clean-sim
36154 maybe-clean-sim:
36155 @if sim
36156 maybe-clean-sim: clean-sim
36158 clean-sim:
36159 @: $(MAKE); $(unstage)
36160 @[ -f ./sim/Makefile ] || exit 0; \
36161 r=`${PWD_COMMAND}`; export r; \
36162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36163 $(HOST_EXPORTS) \
36164 for flag in $(EXTRA_HOST_FLAGS) ; do \
36165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36166 done; \
36167 echo "Doing clean in sim" ; \
36168 (cd $(HOST_SUBDIR)/sim && \
36169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36171 "RANLIB=$${RANLIB}" \
36172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36173 clean) \
36174 || exit 1
36176 @endif sim
36178 .PHONY: maybe-distclean-sim distclean-sim
36179 maybe-distclean-sim:
36180 @if sim
36181 maybe-distclean-sim: distclean-sim
36183 distclean-sim:
36184 @: $(MAKE); $(unstage)
36185 @[ -f ./sim/Makefile ] || exit 0; \
36186 r=`${PWD_COMMAND}`; export r; \
36187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36188 $(HOST_EXPORTS) \
36189 for flag in $(EXTRA_HOST_FLAGS) ; do \
36190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36191 done; \
36192 echo "Doing distclean in sim" ; \
36193 (cd $(HOST_SUBDIR)/sim && \
36194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36196 "RANLIB=$${RANLIB}" \
36197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36198 distclean) \
36199 || exit 1
36201 @endif sim
36203 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
36204 maybe-maintainer-clean-sim:
36205 @if sim
36206 maybe-maintainer-clean-sim: maintainer-clean-sim
36208 maintainer-clean-sim:
36209 @: $(MAKE); $(unstage)
36210 @[ -f ./sim/Makefile ] || exit 0; \
36211 r=`${PWD_COMMAND}`; export r; \
36212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36213 $(HOST_EXPORTS) \
36214 for flag in $(EXTRA_HOST_FLAGS) ; do \
36215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36216 done; \
36217 echo "Doing maintainer-clean in sim" ; \
36218 (cd $(HOST_SUBDIR)/sim && \
36219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36221 "RANLIB=$${RANLIB}" \
36222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36223 maintainer-clean) \
36224 || exit 1
36226 @endif sim
36230 .PHONY: configure-tar maybe-configure-tar
36231 maybe-configure-tar:
36232 @if gcc-bootstrap
36233 configure-tar: stage_current
36234 @endif gcc-bootstrap
36235 @if tar
36236 maybe-configure-tar: configure-tar
36237 configure-tar:
36238 @: $(MAKE); $(unstage)
36239 @r=`${PWD_COMMAND}`; export r; \
36240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36241 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
36242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
36243 $(HOST_EXPORTS) \
36244 echo Configuring in $(HOST_SUBDIR)/tar; \
36245 cd "$(HOST_SUBDIR)/tar" || exit 1; \
36246 case $(srcdir) in \
36247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36248 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
36249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36250 esac; \
36251 srcdiroption="--srcdir=$${topdir}/tar"; \
36252 libsrcdir="$$s/tar"; \
36253 $(SHELL) $${libsrcdir}/configure \
36254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36255 --target=${target_alias} $${srcdiroption} \
36256 || exit 1
36257 @endif tar
36263 .PHONY: all-tar maybe-all-tar
36264 maybe-all-tar:
36265 @if gcc-bootstrap
36266 all-tar: stage_current
36267 @endif gcc-bootstrap
36268 @if tar
36269 TARGET-tar=all
36270 maybe-all-tar: all-tar
36271 all-tar: configure-tar
36272 @: $(MAKE); $(unstage)
36273 @r=`${PWD_COMMAND}`; export r; \
36274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36275 $(HOST_EXPORTS) \
36276 (cd $(HOST_SUBDIR)/tar && \
36277 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36278 $(TARGET-tar))
36279 @endif tar
36284 .PHONY: check-tar maybe-check-tar
36285 maybe-check-tar:
36286 @if tar
36287 maybe-check-tar: check-tar
36289 check-tar:
36290 @: $(MAKE); $(unstage)
36291 @r=`${PWD_COMMAND}`; export r; \
36292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36293 $(HOST_EXPORTS) \
36294 (cd $(HOST_SUBDIR)/tar && \
36295 $(MAKE) $(FLAGS_TO_PASS) check)
36297 @endif tar
36299 .PHONY: install-tar maybe-install-tar
36300 maybe-install-tar:
36301 @if tar
36302 maybe-install-tar: install-tar
36304 install-tar: installdirs
36305 @: $(MAKE); $(unstage)
36306 @r=`${PWD_COMMAND}`; export r; \
36307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36308 $(HOST_EXPORTS) \
36309 (cd $(HOST_SUBDIR)/tar && \
36310 $(MAKE) $(FLAGS_TO_PASS) install)
36312 @endif tar
36314 # Other targets (info, dvi, pdf, etc.)
36316 .PHONY: maybe-info-tar info-tar
36317 maybe-info-tar:
36318 @if tar
36319 maybe-info-tar: info-tar
36321 info-tar: \
36322 configure-tar
36323 @: $(MAKE); $(unstage)
36324 @[ -f ./tar/Makefile ] || exit 0; \
36325 r=`${PWD_COMMAND}`; export r; \
36326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36327 $(HOST_EXPORTS) \
36328 for flag in $(EXTRA_HOST_FLAGS) ; do \
36329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36330 done; \
36331 echo "Doing info in tar" ; \
36332 (cd $(HOST_SUBDIR)/tar && \
36333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36335 "RANLIB=$${RANLIB}" \
36336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36337 info) \
36338 || exit 1
36340 @endif tar
36342 .PHONY: maybe-dvi-tar dvi-tar
36343 maybe-dvi-tar:
36344 @if tar
36345 maybe-dvi-tar: dvi-tar
36347 dvi-tar: \
36348 configure-tar
36349 @: $(MAKE); $(unstage)
36350 @[ -f ./tar/Makefile ] || exit 0; \
36351 r=`${PWD_COMMAND}`; export r; \
36352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36353 $(HOST_EXPORTS) \
36354 for flag in $(EXTRA_HOST_FLAGS) ; do \
36355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36356 done; \
36357 echo "Doing dvi in tar" ; \
36358 (cd $(HOST_SUBDIR)/tar && \
36359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36361 "RANLIB=$${RANLIB}" \
36362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36363 dvi) \
36364 || exit 1
36366 @endif tar
36368 .PHONY: maybe-pdf-tar pdf-tar
36369 maybe-pdf-tar:
36370 @if tar
36371 maybe-pdf-tar: pdf-tar
36373 pdf-tar: \
36374 configure-tar
36375 @: $(MAKE); $(unstage)
36376 @[ -f ./tar/Makefile ] || exit 0; \
36377 r=`${PWD_COMMAND}`; export r; \
36378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36379 $(HOST_EXPORTS) \
36380 for flag in $(EXTRA_HOST_FLAGS) ; do \
36381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36382 done; \
36383 echo "Doing pdf in tar" ; \
36384 (cd $(HOST_SUBDIR)/tar && \
36385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36387 "RANLIB=$${RANLIB}" \
36388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36389 pdf) \
36390 || exit 1
36392 @endif tar
36394 .PHONY: maybe-html-tar html-tar
36395 maybe-html-tar:
36396 @if tar
36397 maybe-html-tar: html-tar
36399 html-tar: \
36400 configure-tar
36401 @: $(MAKE); $(unstage)
36402 @[ -f ./tar/Makefile ] || exit 0; \
36403 r=`${PWD_COMMAND}`; export r; \
36404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36405 $(HOST_EXPORTS) \
36406 for flag in $(EXTRA_HOST_FLAGS) ; do \
36407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36408 done; \
36409 echo "Doing html in tar" ; \
36410 (cd $(HOST_SUBDIR)/tar && \
36411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36413 "RANLIB=$${RANLIB}" \
36414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36415 html) \
36416 || exit 1
36418 @endif tar
36420 .PHONY: maybe-TAGS-tar TAGS-tar
36421 maybe-TAGS-tar:
36422 @if tar
36423 maybe-TAGS-tar: TAGS-tar
36425 TAGS-tar: \
36426 configure-tar
36427 @: $(MAKE); $(unstage)
36428 @[ -f ./tar/Makefile ] || exit 0; \
36429 r=`${PWD_COMMAND}`; export r; \
36430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36431 $(HOST_EXPORTS) \
36432 for flag in $(EXTRA_HOST_FLAGS) ; do \
36433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36434 done; \
36435 echo "Doing TAGS in tar" ; \
36436 (cd $(HOST_SUBDIR)/tar && \
36437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36439 "RANLIB=$${RANLIB}" \
36440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36441 TAGS) \
36442 || exit 1
36444 @endif tar
36446 .PHONY: maybe-install-info-tar install-info-tar
36447 maybe-install-info-tar:
36448 @if tar
36449 maybe-install-info-tar: install-info-tar
36451 install-info-tar: \
36452 configure-tar \
36453 info-tar
36454 @: $(MAKE); $(unstage)
36455 @[ -f ./tar/Makefile ] || exit 0; \
36456 r=`${PWD_COMMAND}`; export r; \
36457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36458 $(HOST_EXPORTS) \
36459 for flag in $(EXTRA_HOST_FLAGS) ; do \
36460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36461 done; \
36462 echo "Doing install-info in tar" ; \
36463 (cd $(HOST_SUBDIR)/tar && \
36464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36466 "RANLIB=$${RANLIB}" \
36467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36468 install-info) \
36469 || exit 1
36471 @endif tar
36473 .PHONY: maybe-install-pdf-tar install-pdf-tar
36474 maybe-install-pdf-tar:
36475 @if tar
36476 maybe-install-pdf-tar: install-pdf-tar
36478 install-pdf-tar: \
36479 configure-tar \
36480 pdf-tar
36481 @: $(MAKE); $(unstage)
36482 @[ -f ./tar/Makefile ] || exit 0; \
36483 r=`${PWD_COMMAND}`; export r; \
36484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36485 $(HOST_EXPORTS) \
36486 for flag in $(EXTRA_HOST_FLAGS) ; do \
36487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36488 done; \
36489 echo "Doing install-pdf in tar" ; \
36490 (cd $(HOST_SUBDIR)/tar && \
36491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36493 "RANLIB=$${RANLIB}" \
36494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36495 install-pdf) \
36496 || exit 1
36498 @endif tar
36500 .PHONY: maybe-install-html-tar install-html-tar
36501 maybe-install-html-tar:
36502 @if tar
36503 maybe-install-html-tar: install-html-tar
36505 install-html-tar: \
36506 configure-tar \
36507 html-tar
36508 @: $(MAKE); $(unstage)
36509 @[ -f ./tar/Makefile ] || exit 0; \
36510 r=`${PWD_COMMAND}`; export r; \
36511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36512 $(HOST_EXPORTS) \
36513 for flag in $(EXTRA_HOST_FLAGS) ; do \
36514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36515 done; \
36516 echo "Doing install-html in tar" ; \
36517 (cd $(HOST_SUBDIR)/tar && \
36518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36520 "RANLIB=$${RANLIB}" \
36521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36522 install-html) \
36523 || exit 1
36525 @endif tar
36527 .PHONY: maybe-installcheck-tar installcheck-tar
36528 maybe-installcheck-tar:
36529 @if tar
36530 maybe-installcheck-tar: installcheck-tar
36532 installcheck-tar: \
36533 configure-tar
36534 @: $(MAKE); $(unstage)
36535 @[ -f ./tar/Makefile ] || exit 0; \
36536 r=`${PWD_COMMAND}`; export r; \
36537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36538 $(HOST_EXPORTS) \
36539 for flag in $(EXTRA_HOST_FLAGS) ; do \
36540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36541 done; \
36542 echo "Doing installcheck in tar" ; \
36543 (cd $(HOST_SUBDIR)/tar && \
36544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36546 "RANLIB=$${RANLIB}" \
36547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36548 installcheck) \
36549 || exit 1
36551 @endif tar
36553 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
36554 maybe-mostlyclean-tar:
36555 @if tar
36556 maybe-mostlyclean-tar: mostlyclean-tar
36558 mostlyclean-tar:
36559 @: $(MAKE); $(unstage)
36560 @[ -f ./tar/Makefile ] || exit 0; \
36561 r=`${PWD_COMMAND}`; export r; \
36562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36563 $(HOST_EXPORTS) \
36564 for flag in $(EXTRA_HOST_FLAGS) ; do \
36565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36566 done; \
36567 echo "Doing mostlyclean in tar" ; \
36568 (cd $(HOST_SUBDIR)/tar && \
36569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36571 "RANLIB=$${RANLIB}" \
36572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36573 mostlyclean) \
36574 || exit 1
36576 @endif tar
36578 .PHONY: maybe-clean-tar clean-tar
36579 maybe-clean-tar:
36580 @if tar
36581 maybe-clean-tar: clean-tar
36583 clean-tar:
36584 @: $(MAKE); $(unstage)
36585 @[ -f ./tar/Makefile ] || exit 0; \
36586 r=`${PWD_COMMAND}`; export r; \
36587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36588 $(HOST_EXPORTS) \
36589 for flag in $(EXTRA_HOST_FLAGS) ; do \
36590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36591 done; \
36592 echo "Doing clean in tar" ; \
36593 (cd $(HOST_SUBDIR)/tar && \
36594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36596 "RANLIB=$${RANLIB}" \
36597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36598 clean) \
36599 || exit 1
36601 @endif tar
36603 .PHONY: maybe-distclean-tar distclean-tar
36604 maybe-distclean-tar:
36605 @if tar
36606 maybe-distclean-tar: distclean-tar
36608 distclean-tar:
36609 @: $(MAKE); $(unstage)
36610 @[ -f ./tar/Makefile ] || exit 0; \
36611 r=`${PWD_COMMAND}`; export r; \
36612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36613 $(HOST_EXPORTS) \
36614 for flag in $(EXTRA_HOST_FLAGS) ; do \
36615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36616 done; \
36617 echo "Doing distclean in tar" ; \
36618 (cd $(HOST_SUBDIR)/tar && \
36619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36621 "RANLIB=$${RANLIB}" \
36622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36623 distclean) \
36624 || exit 1
36626 @endif tar
36628 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
36629 maybe-maintainer-clean-tar:
36630 @if tar
36631 maybe-maintainer-clean-tar: maintainer-clean-tar
36633 maintainer-clean-tar:
36634 @: $(MAKE); $(unstage)
36635 @[ -f ./tar/Makefile ] || exit 0; \
36636 r=`${PWD_COMMAND}`; export r; \
36637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36638 $(HOST_EXPORTS) \
36639 for flag in $(EXTRA_HOST_FLAGS) ; do \
36640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36641 done; \
36642 echo "Doing maintainer-clean in tar" ; \
36643 (cd $(HOST_SUBDIR)/tar && \
36644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36646 "RANLIB=$${RANLIB}" \
36647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36648 maintainer-clean) \
36649 || exit 1
36651 @endif tar
36655 .PHONY: configure-texinfo maybe-configure-texinfo
36656 maybe-configure-texinfo:
36657 @if gcc-bootstrap
36658 configure-texinfo: stage_current
36659 @endif gcc-bootstrap
36660 @if texinfo
36661 maybe-configure-texinfo: configure-texinfo
36662 configure-texinfo:
36663 @: $(MAKE); $(unstage)
36664 @r=`${PWD_COMMAND}`; export r; \
36665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36666 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
36667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
36668 $(HOST_EXPORTS) \
36669 echo Configuring in $(HOST_SUBDIR)/texinfo; \
36670 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
36671 case $(srcdir) in \
36672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36673 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
36674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36675 esac; \
36676 srcdiroption="--srcdir=$${topdir}/texinfo"; \
36677 libsrcdir="$$s/texinfo"; \
36678 $(SHELL) $${libsrcdir}/configure \
36679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36680 --target=${target_alias} $${srcdiroption} \
36681 || exit 1
36682 @endif texinfo
36688 .PHONY: all-texinfo maybe-all-texinfo
36689 maybe-all-texinfo:
36690 @if gcc-bootstrap
36691 all-texinfo: stage_current
36692 @endif gcc-bootstrap
36693 @if texinfo
36694 TARGET-texinfo=all
36695 maybe-all-texinfo: all-texinfo
36696 all-texinfo: configure-texinfo
36697 @: $(MAKE); $(unstage)
36698 @r=`${PWD_COMMAND}`; export r; \
36699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36700 $(HOST_EXPORTS) \
36701 (cd $(HOST_SUBDIR)/texinfo && \
36702 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36703 $(TARGET-texinfo))
36704 @endif texinfo
36709 .PHONY: check-texinfo maybe-check-texinfo
36710 maybe-check-texinfo:
36711 @if texinfo
36712 maybe-check-texinfo: check-texinfo
36714 check-texinfo:
36715 @: $(MAKE); $(unstage)
36716 @r=`${PWD_COMMAND}`; export r; \
36717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36718 $(HOST_EXPORTS) \
36719 (cd $(HOST_SUBDIR)/texinfo && \
36720 $(MAKE) $(FLAGS_TO_PASS) check)
36722 @endif texinfo
36724 .PHONY: install-texinfo maybe-install-texinfo
36725 maybe-install-texinfo:
36726 @if texinfo
36727 maybe-install-texinfo: install-texinfo
36729 install-texinfo:
36731 @endif texinfo
36733 # Other targets (info, dvi, pdf, etc.)
36735 .PHONY: maybe-info-texinfo info-texinfo
36736 maybe-info-texinfo:
36737 @if texinfo
36738 maybe-info-texinfo: info-texinfo
36740 info-texinfo: \
36741 configure-texinfo
36742 @: $(MAKE); $(unstage)
36743 @[ -f ./texinfo/Makefile ] || exit 0; \
36744 r=`${PWD_COMMAND}`; export r; \
36745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36746 $(HOST_EXPORTS) \
36747 for flag in $(EXTRA_HOST_FLAGS) ; do \
36748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36749 done; \
36750 echo "Doing info in texinfo" ; \
36751 (cd $(HOST_SUBDIR)/texinfo && \
36752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36754 "RANLIB=$${RANLIB}" \
36755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36756 info) \
36757 || exit 1
36759 @endif texinfo
36761 .PHONY: maybe-dvi-texinfo dvi-texinfo
36762 maybe-dvi-texinfo:
36763 @if texinfo
36764 maybe-dvi-texinfo: dvi-texinfo
36766 dvi-texinfo: \
36767 configure-texinfo
36768 @: $(MAKE); $(unstage)
36769 @[ -f ./texinfo/Makefile ] || exit 0; \
36770 r=`${PWD_COMMAND}`; export r; \
36771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36772 $(HOST_EXPORTS) \
36773 for flag in $(EXTRA_HOST_FLAGS) ; do \
36774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36775 done; \
36776 echo "Doing dvi in texinfo" ; \
36777 (cd $(HOST_SUBDIR)/texinfo && \
36778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36780 "RANLIB=$${RANLIB}" \
36781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36782 dvi) \
36783 || exit 1
36785 @endif texinfo
36787 .PHONY: maybe-pdf-texinfo pdf-texinfo
36788 maybe-pdf-texinfo:
36789 @if texinfo
36790 maybe-pdf-texinfo: pdf-texinfo
36792 pdf-texinfo: \
36793 configure-texinfo
36794 @: $(MAKE); $(unstage)
36795 @[ -f ./texinfo/Makefile ] || exit 0; \
36796 r=`${PWD_COMMAND}`; export r; \
36797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36798 $(HOST_EXPORTS) \
36799 for flag in $(EXTRA_HOST_FLAGS) ; do \
36800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36801 done; \
36802 echo "Doing pdf in texinfo" ; \
36803 (cd $(HOST_SUBDIR)/texinfo && \
36804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36806 "RANLIB=$${RANLIB}" \
36807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36808 pdf) \
36809 || exit 1
36811 @endif texinfo
36813 .PHONY: maybe-html-texinfo html-texinfo
36814 maybe-html-texinfo:
36815 @if texinfo
36816 maybe-html-texinfo: html-texinfo
36818 html-texinfo: \
36819 configure-texinfo
36820 @: $(MAKE); $(unstage)
36821 @[ -f ./texinfo/Makefile ] || exit 0; \
36822 r=`${PWD_COMMAND}`; export r; \
36823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36824 $(HOST_EXPORTS) \
36825 for flag in $(EXTRA_HOST_FLAGS) ; do \
36826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36827 done; \
36828 echo "Doing html in texinfo" ; \
36829 (cd $(HOST_SUBDIR)/texinfo && \
36830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36832 "RANLIB=$${RANLIB}" \
36833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36834 html) \
36835 || exit 1
36837 @endif texinfo
36839 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
36840 maybe-TAGS-texinfo:
36841 @if texinfo
36842 maybe-TAGS-texinfo: TAGS-texinfo
36844 TAGS-texinfo: \
36845 configure-texinfo
36846 @: $(MAKE); $(unstage)
36847 @[ -f ./texinfo/Makefile ] || exit 0; \
36848 r=`${PWD_COMMAND}`; export r; \
36849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36850 $(HOST_EXPORTS) \
36851 for flag in $(EXTRA_HOST_FLAGS) ; do \
36852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36853 done; \
36854 echo "Doing TAGS in texinfo" ; \
36855 (cd $(HOST_SUBDIR)/texinfo && \
36856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36858 "RANLIB=$${RANLIB}" \
36859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36860 TAGS) \
36861 || exit 1
36863 @endif texinfo
36865 .PHONY: maybe-install-info-texinfo install-info-texinfo
36866 maybe-install-info-texinfo:
36867 @if texinfo
36868 maybe-install-info-texinfo: install-info-texinfo
36870 install-info-texinfo: \
36871 configure-texinfo \
36872 info-texinfo
36873 @: $(MAKE); $(unstage)
36874 @[ -f ./texinfo/Makefile ] || exit 0; \
36875 r=`${PWD_COMMAND}`; export r; \
36876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36877 $(HOST_EXPORTS) \
36878 for flag in $(EXTRA_HOST_FLAGS) ; do \
36879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36880 done; \
36881 echo "Doing install-info in texinfo" ; \
36882 (cd $(HOST_SUBDIR)/texinfo && \
36883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36885 "RANLIB=$${RANLIB}" \
36886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36887 install-info) \
36888 || exit 1
36890 @endif texinfo
36892 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
36893 maybe-install-pdf-texinfo:
36894 @if texinfo
36895 maybe-install-pdf-texinfo: install-pdf-texinfo
36897 install-pdf-texinfo: \
36898 configure-texinfo \
36899 pdf-texinfo
36900 @: $(MAKE); $(unstage)
36901 @[ -f ./texinfo/Makefile ] || exit 0; \
36902 r=`${PWD_COMMAND}`; export r; \
36903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36904 $(HOST_EXPORTS) \
36905 for flag in $(EXTRA_HOST_FLAGS) ; do \
36906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36907 done; \
36908 echo "Doing install-pdf in texinfo" ; \
36909 (cd $(HOST_SUBDIR)/texinfo && \
36910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36912 "RANLIB=$${RANLIB}" \
36913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36914 install-pdf) \
36915 || exit 1
36917 @endif texinfo
36919 .PHONY: maybe-install-html-texinfo install-html-texinfo
36920 maybe-install-html-texinfo:
36921 @if texinfo
36922 maybe-install-html-texinfo: install-html-texinfo
36924 install-html-texinfo: \
36925 configure-texinfo \
36926 html-texinfo
36927 @: $(MAKE); $(unstage)
36928 @[ -f ./texinfo/Makefile ] || exit 0; \
36929 r=`${PWD_COMMAND}`; export r; \
36930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36931 $(HOST_EXPORTS) \
36932 for flag in $(EXTRA_HOST_FLAGS) ; do \
36933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36934 done; \
36935 echo "Doing install-html in texinfo" ; \
36936 (cd $(HOST_SUBDIR)/texinfo && \
36937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36939 "RANLIB=$${RANLIB}" \
36940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36941 install-html) \
36942 || exit 1
36944 @endif texinfo
36946 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
36947 maybe-installcheck-texinfo:
36948 @if texinfo
36949 maybe-installcheck-texinfo: installcheck-texinfo
36951 installcheck-texinfo: \
36952 configure-texinfo
36953 @: $(MAKE); $(unstage)
36954 @[ -f ./texinfo/Makefile ] || exit 0; \
36955 r=`${PWD_COMMAND}`; export r; \
36956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36957 $(HOST_EXPORTS) \
36958 for flag in $(EXTRA_HOST_FLAGS) ; do \
36959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36960 done; \
36961 echo "Doing installcheck in texinfo" ; \
36962 (cd $(HOST_SUBDIR)/texinfo && \
36963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36965 "RANLIB=$${RANLIB}" \
36966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36967 installcheck) \
36968 || exit 1
36970 @endif texinfo
36972 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
36973 maybe-mostlyclean-texinfo:
36974 @if texinfo
36975 maybe-mostlyclean-texinfo: mostlyclean-texinfo
36977 mostlyclean-texinfo:
36978 @: $(MAKE); $(unstage)
36979 @[ -f ./texinfo/Makefile ] || exit 0; \
36980 r=`${PWD_COMMAND}`; export r; \
36981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36982 $(HOST_EXPORTS) \
36983 for flag in $(EXTRA_HOST_FLAGS) ; do \
36984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36985 done; \
36986 echo "Doing mostlyclean in texinfo" ; \
36987 (cd $(HOST_SUBDIR)/texinfo && \
36988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36990 "RANLIB=$${RANLIB}" \
36991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36992 mostlyclean) \
36993 || exit 1
36995 @endif texinfo
36997 .PHONY: maybe-clean-texinfo clean-texinfo
36998 maybe-clean-texinfo:
36999 @if texinfo
37000 maybe-clean-texinfo: clean-texinfo
37002 clean-texinfo:
37003 @: $(MAKE); $(unstage)
37004 @[ -f ./texinfo/Makefile ] || exit 0; \
37005 r=`${PWD_COMMAND}`; export r; \
37006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37007 $(HOST_EXPORTS) \
37008 for flag in $(EXTRA_HOST_FLAGS) ; do \
37009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37010 done; \
37011 echo "Doing clean in texinfo" ; \
37012 (cd $(HOST_SUBDIR)/texinfo && \
37013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37015 "RANLIB=$${RANLIB}" \
37016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37017 clean) \
37018 || exit 1
37020 @endif texinfo
37022 .PHONY: maybe-distclean-texinfo distclean-texinfo
37023 maybe-distclean-texinfo:
37024 @if texinfo
37025 maybe-distclean-texinfo: distclean-texinfo
37027 distclean-texinfo:
37028 @: $(MAKE); $(unstage)
37029 @[ -f ./texinfo/Makefile ] || exit 0; \
37030 r=`${PWD_COMMAND}`; export r; \
37031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37032 $(HOST_EXPORTS) \
37033 for flag in $(EXTRA_HOST_FLAGS) ; do \
37034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37035 done; \
37036 echo "Doing distclean in texinfo" ; \
37037 (cd $(HOST_SUBDIR)/texinfo && \
37038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37040 "RANLIB=$${RANLIB}" \
37041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37042 distclean) \
37043 || exit 1
37045 @endif texinfo
37047 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
37048 maybe-maintainer-clean-texinfo:
37049 @if texinfo
37050 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
37052 maintainer-clean-texinfo:
37053 @: $(MAKE); $(unstage)
37054 @[ -f ./texinfo/Makefile ] || exit 0; \
37055 r=`${PWD_COMMAND}`; export r; \
37056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37057 $(HOST_EXPORTS) \
37058 for flag in $(EXTRA_HOST_FLAGS) ; do \
37059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37060 done; \
37061 echo "Doing maintainer-clean in texinfo" ; \
37062 (cd $(HOST_SUBDIR)/texinfo && \
37063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37065 "RANLIB=$${RANLIB}" \
37066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37067 maintainer-clean) \
37068 || exit 1
37070 @endif texinfo
37074 .PHONY: configure-textutils maybe-configure-textutils
37075 maybe-configure-textutils:
37076 @if gcc-bootstrap
37077 configure-textutils: stage_current
37078 @endif gcc-bootstrap
37079 @if textutils
37080 maybe-configure-textutils: configure-textutils
37081 configure-textutils:
37082 @: $(MAKE); $(unstage)
37083 @r=`${PWD_COMMAND}`; export r; \
37084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37085 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
37086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
37087 $(HOST_EXPORTS) \
37088 echo Configuring in $(HOST_SUBDIR)/textutils; \
37089 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
37090 case $(srcdir) in \
37091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37092 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
37093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37094 esac; \
37095 srcdiroption="--srcdir=$${topdir}/textutils"; \
37096 libsrcdir="$$s/textutils"; \
37097 $(SHELL) $${libsrcdir}/configure \
37098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37099 --target=${target_alias} $${srcdiroption} \
37100 || exit 1
37101 @endif textutils
37107 .PHONY: all-textutils maybe-all-textutils
37108 maybe-all-textutils:
37109 @if gcc-bootstrap
37110 all-textutils: stage_current
37111 @endif gcc-bootstrap
37112 @if textutils
37113 TARGET-textutils=all
37114 maybe-all-textutils: all-textutils
37115 all-textutils: configure-textutils
37116 @: $(MAKE); $(unstage)
37117 @r=`${PWD_COMMAND}`; export r; \
37118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37119 $(HOST_EXPORTS) \
37120 (cd $(HOST_SUBDIR)/textutils && \
37121 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37122 $(TARGET-textutils))
37123 @endif textutils
37128 .PHONY: check-textutils maybe-check-textutils
37129 maybe-check-textutils:
37130 @if textutils
37131 maybe-check-textutils: check-textutils
37133 check-textutils:
37134 @: $(MAKE); $(unstage)
37135 @r=`${PWD_COMMAND}`; export r; \
37136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37137 $(HOST_EXPORTS) \
37138 (cd $(HOST_SUBDIR)/textutils && \
37139 $(MAKE) $(FLAGS_TO_PASS) check)
37141 @endif textutils
37143 .PHONY: install-textutils maybe-install-textutils
37144 maybe-install-textutils:
37145 @if textutils
37146 maybe-install-textutils: install-textutils
37148 install-textutils: installdirs
37149 @: $(MAKE); $(unstage)
37150 @r=`${PWD_COMMAND}`; export r; \
37151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37152 $(HOST_EXPORTS) \
37153 (cd $(HOST_SUBDIR)/textutils && \
37154 $(MAKE) $(FLAGS_TO_PASS) install)
37156 @endif textutils
37158 # Other targets (info, dvi, pdf, etc.)
37160 .PHONY: maybe-info-textutils info-textutils
37161 maybe-info-textutils:
37162 @if textutils
37163 maybe-info-textutils: info-textutils
37165 info-textutils: \
37166 configure-textutils
37167 @: $(MAKE); $(unstage)
37168 @[ -f ./textutils/Makefile ] || exit 0; \
37169 r=`${PWD_COMMAND}`; export r; \
37170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37171 $(HOST_EXPORTS) \
37172 for flag in $(EXTRA_HOST_FLAGS) ; do \
37173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37174 done; \
37175 echo "Doing info in textutils" ; \
37176 (cd $(HOST_SUBDIR)/textutils && \
37177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37179 "RANLIB=$${RANLIB}" \
37180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37181 info) \
37182 || exit 1
37184 @endif textutils
37186 .PHONY: maybe-dvi-textutils dvi-textutils
37187 maybe-dvi-textutils:
37188 @if textutils
37189 maybe-dvi-textutils: dvi-textutils
37191 dvi-textutils: \
37192 configure-textutils
37193 @: $(MAKE); $(unstage)
37194 @[ -f ./textutils/Makefile ] || exit 0; \
37195 r=`${PWD_COMMAND}`; export r; \
37196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37197 $(HOST_EXPORTS) \
37198 for flag in $(EXTRA_HOST_FLAGS) ; do \
37199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37200 done; \
37201 echo "Doing dvi in textutils" ; \
37202 (cd $(HOST_SUBDIR)/textutils && \
37203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37205 "RANLIB=$${RANLIB}" \
37206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37207 dvi) \
37208 || exit 1
37210 @endif textutils
37212 .PHONY: maybe-pdf-textutils pdf-textutils
37213 maybe-pdf-textutils:
37214 @if textutils
37215 maybe-pdf-textutils: pdf-textutils
37217 pdf-textutils: \
37218 configure-textutils
37219 @: $(MAKE); $(unstage)
37220 @[ -f ./textutils/Makefile ] || exit 0; \
37221 r=`${PWD_COMMAND}`; export r; \
37222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37223 $(HOST_EXPORTS) \
37224 for flag in $(EXTRA_HOST_FLAGS) ; do \
37225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37226 done; \
37227 echo "Doing pdf in textutils" ; \
37228 (cd $(HOST_SUBDIR)/textutils && \
37229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37231 "RANLIB=$${RANLIB}" \
37232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37233 pdf) \
37234 || exit 1
37236 @endif textutils
37238 .PHONY: maybe-html-textutils html-textutils
37239 maybe-html-textutils:
37240 @if textutils
37241 maybe-html-textutils: html-textutils
37243 html-textutils: \
37244 configure-textutils
37245 @: $(MAKE); $(unstage)
37246 @[ -f ./textutils/Makefile ] || exit 0; \
37247 r=`${PWD_COMMAND}`; export r; \
37248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37249 $(HOST_EXPORTS) \
37250 for flag in $(EXTRA_HOST_FLAGS) ; do \
37251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37252 done; \
37253 echo "Doing html in textutils" ; \
37254 (cd $(HOST_SUBDIR)/textutils && \
37255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37257 "RANLIB=$${RANLIB}" \
37258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37259 html) \
37260 || exit 1
37262 @endif textutils
37264 .PHONY: maybe-TAGS-textutils TAGS-textutils
37265 maybe-TAGS-textutils:
37266 @if textutils
37267 maybe-TAGS-textutils: TAGS-textutils
37269 TAGS-textutils: \
37270 configure-textutils
37271 @: $(MAKE); $(unstage)
37272 @[ -f ./textutils/Makefile ] || exit 0; \
37273 r=`${PWD_COMMAND}`; export r; \
37274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37275 $(HOST_EXPORTS) \
37276 for flag in $(EXTRA_HOST_FLAGS) ; do \
37277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37278 done; \
37279 echo "Doing TAGS in textutils" ; \
37280 (cd $(HOST_SUBDIR)/textutils && \
37281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37283 "RANLIB=$${RANLIB}" \
37284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37285 TAGS) \
37286 || exit 1
37288 @endif textutils
37290 .PHONY: maybe-install-info-textutils install-info-textutils
37291 maybe-install-info-textutils:
37292 @if textutils
37293 maybe-install-info-textutils: install-info-textutils
37295 install-info-textutils: \
37296 configure-textutils \
37297 info-textutils
37298 @: $(MAKE); $(unstage)
37299 @[ -f ./textutils/Makefile ] || exit 0; \
37300 r=`${PWD_COMMAND}`; export r; \
37301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37302 $(HOST_EXPORTS) \
37303 for flag in $(EXTRA_HOST_FLAGS) ; do \
37304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37305 done; \
37306 echo "Doing install-info in textutils" ; \
37307 (cd $(HOST_SUBDIR)/textutils && \
37308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37310 "RANLIB=$${RANLIB}" \
37311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37312 install-info) \
37313 || exit 1
37315 @endif textutils
37317 .PHONY: maybe-install-pdf-textutils install-pdf-textutils
37318 maybe-install-pdf-textutils:
37319 @if textutils
37320 maybe-install-pdf-textutils: install-pdf-textutils
37322 install-pdf-textutils: \
37323 configure-textutils \
37324 pdf-textutils
37325 @: $(MAKE); $(unstage)
37326 @[ -f ./textutils/Makefile ] || exit 0; \
37327 r=`${PWD_COMMAND}`; export r; \
37328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37329 $(HOST_EXPORTS) \
37330 for flag in $(EXTRA_HOST_FLAGS) ; do \
37331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37332 done; \
37333 echo "Doing install-pdf in textutils" ; \
37334 (cd $(HOST_SUBDIR)/textutils && \
37335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37337 "RANLIB=$${RANLIB}" \
37338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37339 install-pdf) \
37340 || exit 1
37342 @endif textutils
37344 .PHONY: maybe-install-html-textutils install-html-textutils
37345 maybe-install-html-textutils:
37346 @if textutils
37347 maybe-install-html-textutils: install-html-textutils
37349 install-html-textutils: \
37350 configure-textutils \
37351 html-textutils
37352 @: $(MAKE); $(unstage)
37353 @[ -f ./textutils/Makefile ] || exit 0; \
37354 r=`${PWD_COMMAND}`; export r; \
37355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37356 $(HOST_EXPORTS) \
37357 for flag in $(EXTRA_HOST_FLAGS) ; do \
37358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37359 done; \
37360 echo "Doing install-html in textutils" ; \
37361 (cd $(HOST_SUBDIR)/textutils && \
37362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37364 "RANLIB=$${RANLIB}" \
37365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37366 install-html) \
37367 || exit 1
37369 @endif textutils
37371 .PHONY: maybe-installcheck-textutils installcheck-textutils
37372 maybe-installcheck-textutils:
37373 @if textutils
37374 maybe-installcheck-textutils: installcheck-textutils
37376 installcheck-textutils: \
37377 configure-textutils
37378 @: $(MAKE); $(unstage)
37379 @[ -f ./textutils/Makefile ] || exit 0; \
37380 r=`${PWD_COMMAND}`; export r; \
37381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37382 $(HOST_EXPORTS) \
37383 for flag in $(EXTRA_HOST_FLAGS) ; do \
37384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37385 done; \
37386 echo "Doing installcheck in textutils" ; \
37387 (cd $(HOST_SUBDIR)/textutils && \
37388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37390 "RANLIB=$${RANLIB}" \
37391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37392 installcheck) \
37393 || exit 1
37395 @endif textutils
37397 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
37398 maybe-mostlyclean-textutils:
37399 @if textutils
37400 maybe-mostlyclean-textutils: mostlyclean-textutils
37402 mostlyclean-textutils:
37403 @: $(MAKE); $(unstage)
37404 @[ -f ./textutils/Makefile ] || exit 0; \
37405 r=`${PWD_COMMAND}`; export r; \
37406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37407 $(HOST_EXPORTS) \
37408 for flag in $(EXTRA_HOST_FLAGS) ; do \
37409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37410 done; \
37411 echo "Doing mostlyclean in textutils" ; \
37412 (cd $(HOST_SUBDIR)/textutils && \
37413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37415 "RANLIB=$${RANLIB}" \
37416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37417 mostlyclean) \
37418 || exit 1
37420 @endif textutils
37422 .PHONY: maybe-clean-textutils clean-textutils
37423 maybe-clean-textutils:
37424 @if textutils
37425 maybe-clean-textutils: clean-textutils
37427 clean-textutils:
37428 @: $(MAKE); $(unstage)
37429 @[ -f ./textutils/Makefile ] || exit 0; \
37430 r=`${PWD_COMMAND}`; export r; \
37431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37432 $(HOST_EXPORTS) \
37433 for flag in $(EXTRA_HOST_FLAGS) ; do \
37434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37435 done; \
37436 echo "Doing clean in textutils" ; \
37437 (cd $(HOST_SUBDIR)/textutils && \
37438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37440 "RANLIB=$${RANLIB}" \
37441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37442 clean) \
37443 || exit 1
37445 @endif textutils
37447 .PHONY: maybe-distclean-textutils distclean-textutils
37448 maybe-distclean-textutils:
37449 @if textutils
37450 maybe-distclean-textutils: distclean-textutils
37452 distclean-textutils:
37453 @: $(MAKE); $(unstage)
37454 @[ -f ./textutils/Makefile ] || exit 0; \
37455 r=`${PWD_COMMAND}`; export r; \
37456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37457 $(HOST_EXPORTS) \
37458 for flag in $(EXTRA_HOST_FLAGS) ; do \
37459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37460 done; \
37461 echo "Doing distclean in textutils" ; \
37462 (cd $(HOST_SUBDIR)/textutils && \
37463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37465 "RANLIB=$${RANLIB}" \
37466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37467 distclean) \
37468 || exit 1
37470 @endif textutils
37472 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
37473 maybe-maintainer-clean-textutils:
37474 @if textutils
37475 maybe-maintainer-clean-textutils: maintainer-clean-textutils
37477 maintainer-clean-textutils:
37478 @: $(MAKE); $(unstage)
37479 @[ -f ./textutils/Makefile ] || exit 0; \
37480 r=`${PWD_COMMAND}`; export r; \
37481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37482 $(HOST_EXPORTS) \
37483 for flag in $(EXTRA_HOST_FLAGS) ; do \
37484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37485 done; \
37486 echo "Doing maintainer-clean in textutils" ; \
37487 (cd $(HOST_SUBDIR)/textutils && \
37488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37490 "RANLIB=$${RANLIB}" \
37491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37492 maintainer-clean) \
37493 || exit 1
37495 @endif textutils
37499 .PHONY: configure-time maybe-configure-time
37500 maybe-configure-time:
37501 @if gcc-bootstrap
37502 configure-time: stage_current
37503 @endif gcc-bootstrap
37504 @if time
37505 maybe-configure-time: configure-time
37506 configure-time:
37507 @: $(MAKE); $(unstage)
37508 @r=`${PWD_COMMAND}`; export r; \
37509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37510 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
37511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
37512 $(HOST_EXPORTS) \
37513 echo Configuring in $(HOST_SUBDIR)/time; \
37514 cd "$(HOST_SUBDIR)/time" || exit 1; \
37515 case $(srcdir) in \
37516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37517 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
37518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37519 esac; \
37520 srcdiroption="--srcdir=$${topdir}/time"; \
37521 libsrcdir="$$s/time"; \
37522 $(SHELL) $${libsrcdir}/configure \
37523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37524 --target=${target_alias} $${srcdiroption} \
37525 || exit 1
37526 @endif time
37532 .PHONY: all-time maybe-all-time
37533 maybe-all-time:
37534 @if gcc-bootstrap
37535 all-time: stage_current
37536 @endif gcc-bootstrap
37537 @if time
37538 TARGET-time=all
37539 maybe-all-time: all-time
37540 all-time: configure-time
37541 @: $(MAKE); $(unstage)
37542 @r=`${PWD_COMMAND}`; export r; \
37543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37544 $(HOST_EXPORTS) \
37545 (cd $(HOST_SUBDIR)/time && \
37546 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37547 $(TARGET-time))
37548 @endif time
37553 .PHONY: check-time maybe-check-time
37554 maybe-check-time:
37555 @if time
37556 maybe-check-time: check-time
37558 check-time:
37559 @: $(MAKE); $(unstage)
37560 @r=`${PWD_COMMAND}`; export r; \
37561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37562 $(HOST_EXPORTS) \
37563 (cd $(HOST_SUBDIR)/time && \
37564 $(MAKE) $(FLAGS_TO_PASS) check)
37566 @endif time
37568 .PHONY: install-time maybe-install-time
37569 maybe-install-time:
37570 @if time
37571 maybe-install-time: install-time
37573 install-time: installdirs
37574 @: $(MAKE); $(unstage)
37575 @r=`${PWD_COMMAND}`; export r; \
37576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37577 $(HOST_EXPORTS) \
37578 (cd $(HOST_SUBDIR)/time && \
37579 $(MAKE) $(FLAGS_TO_PASS) install)
37581 @endif time
37583 # Other targets (info, dvi, pdf, etc.)
37585 .PHONY: maybe-info-time info-time
37586 maybe-info-time:
37587 @if time
37588 maybe-info-time: info-time
37590 info-time: \
37591 configure-time
37592 @: $(MAKE); $(unstage)
37593 @[ -f ./time/Makefile ] || exit 0; \
37594 r=`${PWD_COMMAND}`; export r; \
37595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37596 $(HOST_EXPORTS) \
37597 for flag in $(EXTRA_HOST_FLAGS) ; do \
37598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37599 done; \
37600 echo "Doing info in time" ; \
37601 (cd $(HOST_SUBDIR)/time && \
37602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37604 "RANLIB=$${RANLIB}" \
37605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37606 info) \
37607 || exit 1
37609 @endif time
37611 .PHONY: maybe-dvi-time dvi-time
37612 maybe-dvi-time:
37613 @if time
37614 maybe-dvi-time: dvi-time
37616 dvi-time: \
37617 configure-time
37618 @: $(MAKE); $(unstage)
37619 @[ -f ./time/Makefile ] || exit 0; \
37620 r=`${PWD_COMMAND}`; export r; \
37621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37622 $(HOST_EXPORTS) \
37623 for flag in $(EXTRA_HOST_FLAGS) ; do \
37624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37625 done; \
37626 echo "Doing dvi in time" ; \
37627 (cd $(HOST_SUBDIR)/time && \
37628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37630 "RANLIB=$${RANLIB}" \
37631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37632 dvi) \
37633 || exit 1
37635 @endif time
37637 .PHONY: maybe-pdf-time pdf-time
37638 maybe-pdf-time:
37639 @if time
37640 maybe-pdf-time: pdf-time
37642 pdf-time: \
37643 configure-time
37644 @: $(MAKE); $(unstage)
37645 @[ -f ./time/Makefile ] || exit 0; \
37646 r=`${PWD_COMMAND}`; export r; \
37647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37648 $(HOST_EXPORTS) \
37649 for flag in $(EXTRA_HOST_FLAGS) ; do \
37650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37651 done; \
37652 echo "Doing pdf in time" ; \
37653 (cd $(HOST_SUBDIR)/time && \
37654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37656 "RANLIB=$${RANLIB}" \
37657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37658 pdf) \
37659 || exit 1
37661 @endif time
37663 .PHONY: maybe-html-time html-time
37664 maybe-html-time:
37665 @if time
37666 maybe-html-time: html-time
37668 html-time: \
37669 configure-time
37670 @: $(MAKE); $(unstage)
37671 @[ -f ./time/Makefile ] || exit 0; \
37672 r=`${PWD_COMMAND}`; export r; \
37673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37674 $(HOST_EXPORTS) \
37675 for flag in $(EXTRA_HOST_FLAGS) ; do \
37676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37677 done; \
37678 echo "Doing html in time" ; \
37679 (cd $(HOST_SUBDIR)/time && \
37680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37682 "RANLIB=$${RANLIB}" \
37683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37684 html) \
37685 || exit 1
37687 @endif time
37689 .PHONY: maybe-TAGS-time TAGS-time
37690 maybe-TAGS-time:
37691 @if time
37692 maybe-TAGS-time: TAGS-time
37694 TAGS-time: \
37695 configure-time
37696 @: $(MAKE); $(unstage)
37697 @[ -f ./time/Makefile ] || exit 0; \
37698 r=`${PWD_COMMAND}`; export r; \
37699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37700 $(HOST_EXPORTS) \
37701 for flag in $(EXTRA_HOST_FLAGS) ; do \
37702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37703 done; \
37704 echo "Doing TAGS in time" ; \
37705 (cd $(HOST_SUBDIR)/time && \
37706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37708 "RANLIB=$${RANLIB}" \
37709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37710 TAGS) \
37711 || exit 1
37713 @endif time
37715 .PHONY: maybe-install-info-time install-info-time
37716 maybe-install-info-time:
37717 @if time
37718 maybe-install-info-time: install-info-time
37720 install-info-time: \
37721 configure-time \
37722 info-time
37723 @: $(MAKE); $(unstage)
37724 @[ -f ./time/Makefile ] || exit 0; \
37725 r=`${PWD_COMMAND}`; export r; \
37726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37727 $(HOST_EXPORTS) \
37728 for flag in $(EXTRA_HOST_FLAGS) ; do \
37729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37730 done; \
37731 echo "Doing install-info in time" ; \
37732 (cd $(HOST_SUBDIR)/time && \
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}" "WINDMC=$${WINDMC}" \
37737 install-info) \
37738 || exit 1
37740 @endif time
37742 .PHONY: maybe-install-pdf-time install-pdf-time
37743 maybe-install-pdf-time:
37744 @if time
37745 maybe-install-pdf-time: install-pdf-time
37747 install-pdf-time: \
37748 configure-time \
37749 pdf-time
37750 @: $(MAKE); $(unstage)
37751 @[ -f ./time/Makefile ] || exit 0; \
37752 r=`${PWD_COMMAND}`; export r; \
37753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37754 $(HOST_EXPORTS) \
37755 for flag in $(EXTRA_HOST_FLAGS) ; do \
37756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37757 done; \
37758 echo "Doing install-pdf in time" ; \
37759 (cd $(HOST_SUBDIR)/time && \
37760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37762 "RANLIB=$${RANLIB}" \
37763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37764 install-pdf) \
37765 || exit 1
37767 @endif time
37769 .PHONY: maybe-install-html-time install-html-time
37770 maybe-install-html-time:
37771 @if time
37772 maybe-install-html-time: install-html-time
37774 install-html-time: \
37775 configure-time \
37776 html-time
37777 @: $(MAKE); $(unstage)
37778 @[ -f ./time/Makefile ] || exit 0; \
37779 r=`${PWD_COMMAND}`; export r; \
37780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37781 $(HOST_EXPORTS) \
37782 for flag in $(EXTRA_HOST_FLAGS) ; do \
37783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37784 done; \
37785 echo "Doing install-html in time" ; \
37786 (cd $(HOST_SUBDIR)/time && \
37787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37789 "RANLIB=$${RANLIB}" \
37790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37791 install-html) \
37792 || exit 1
37794 @endif time
37796 .PHONY: maybe-installcheck-time installcheck-time
37797 maybe-installcheck-time:
37798 @if time
37799 maybe-installcheck-time: installcheck-time
37801 installcheck-time: \
37802 configure-time
37803 @: $(MAKE); $(unstage)
37804 @[ -f ./time/Makefile ] || exit 0; \
37805 r=`${PWD_COMMAND}`; export r; \
37806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37807 $(HOST_EXPORTS) \
37808 for flag in $(EXTRA_HOST_FLAGS) ; do \
37809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37810 done; \
37811 echo "Doing installcheck in time" ; \
37812 (cd $(HOST_SUBDIR)/time && \
37813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37815 "RANLIB=$${RANLIB}" \
37816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37817 installcheck) \
37818 || exit 1
37820 @endif time
37822 .PHONY: maybe-mostlyclean-time mostlyclean-time
37823 maybe-mostlyclean-time:
37824 @if time
37825 maybe-mostlyclean-time: mostlyclean-time
37827 mostlyclean-time:
37828 @: $(MAKE); $(unstage)
37829 @[ -f ./time/Makefile ] || exit 0; \
37830 r=`${PWD_COMMAND}`; export r; \
37831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37832 $(HOST_EXPORTS) \
37833 for flag in $(EXTRA_HOST_FLAGS) ; do \
37834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37835 done; \
37836 echo "Doing mostlyclean in time" ; \
37837 (cd $(HOST_SUBDIR)/time && \
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}" "WINDMC=$${WINDMC}" \
37842 mostlyclean) \
37843 || exit 1
37845 @endif time
37847 .PHONY: maybe-clean-time clean-time
37848 maybe-clean-time:
37849 @if time
37850 maybe-clean-time: clean-time
37852 clean-time:
37853 @: $(MAKE); $(unstage)
37854 @[ -f ./time/Makefile ] || exit 0; \
37855 r=`${PWD_COMMAND}`; export r; \
37856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37857 $(HOST_EXPORTS) \
37858 for flag in $(EXTRA_HOST_FLAGS) ; do \
37859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37860 done; \
37861 echo "Doing clean in time" ; \
37862 (cd $(HOST_SUBDIR)/time && \
37863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37865 "RANLIB=$${RANLIB}" \
37866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37867 clean) \
37868 || exit 1
37870 @endif time
37872 .PHONY: maybe-distclean-time distclean-time
37873 maybe-distclean-time:
37874 @if time
37875 maybe-distclean-time: distclean-time
37877 distclean-time:
37878 @: $(MAKE); $(unstage)
37879 @[ -f ./time/Makefile ] || exit 0; \
37880 r=`${PWD_COMMAND}`; export r; \
37881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37882 $(HOST_EXPORTS) \
37883 for flag in $(EXTRA_HOST_FLAGS) ; do \
37884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37885 done; \
37886 echo "Doing distclean in time" ; \
37887 (cd $(HOST_SUBDIR)/time && \
37888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37890 "RANLIB=$${RANLIB}" \
37891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37892 distclean) \
37893 || exit 1
37895 @endif time
37897 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
37898 maybe-maintainer-clean-time:
37899 @if time
37900 maybe-maintainer-clean-time: maintainer-clean-time
37902 maintainer-clean-time:
37903 @: $(MAKE); $(unstage)
37904 @[ -f ./time/Makefile ] || exit 0; \
37905 r=`${PWD_COMMAND}`; export r; \
37906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37907 $(HOST_EXPORTS) \
37908 for flag in $(EXTRA_HOST_FLAGS) ; do \
37909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37910 done; \
37911 echo "Doing maintainer-clean in time" ; \
37912 (cd $(HOST_SUBDIR)/time && \
37913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37915 "RANLIB=$${RANLIB}" \
37916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37917 maintainer-clean) \
37918 || exit 1
37920 @endif time
37924 .PHONY: configure-uudecode maybe-configure-uudecode
37925 maybe-configure-uudecode:
37926 @if gcc-bootstrap
37927 configure-uudecode: stage_current
37928 @endif gcc-bootstrap
37929 @if uudecode
37930 maybe-configure-uudecode: configure-uudecode
37931 configure-uudecode:
37932 @: $(MAKE); $(unstage)
37933 @r=`${PWD_COMMAND}`; export r; \
37934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37935 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
37936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
37937 $(HOST_EXPORTS) \
37938 echo Configuring in $(HOST_SUBDIR)/uudecode; \
37939 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
37940 case $(srcdir) in \
37941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37942 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
37943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37944 esac; \
37945 srcdiroption="--srcdir=$${topdir}/uudecode"; \
37946 libsrcdir="$$s/uudecode"; \
37947 $(SHELL) $${libsrcdir}/configure \
37948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37949 --target=${target_alias} $${srcdiroption} \
37950 || exit 1
37951 @endif uudecode
37957 .PHONY: all-uudecode maybe-all-uudecode
37958 maybe-all-uudecode:
37959 @if gcc-bootstrap
37960 all-uudecode: stage_current
37961 @endif gcc-bootstrap
37962 @if uudecode
37963 TARGET-uudecode=all
37964 maybe-all-uudecode: all-uudecode
37965 all-uudecode: configure-uudecode
37966 @: $(MAKE); $(unstage)
37967 @r=`${PWD_COMMAND}`; export r; \
37968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37969 $(HOST_EXPORTS) \
37970 (cd $(HOST_SUBDIR)/uudecode && \
37971 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37972 $(TARGET-uudecode))
37973 @endif uudecode
37978 .PHONY: check-uudecode maybe-check-uudecode
37979 maybe-check-uudecode:
37980 @if uudecode
37981 maybe-check-uudecode: check-uudecode
37983 check-uudecode:
37984 @: $(MAKE); $(unstage)
37985 @r=`${PWD_COMMAND}`; export r; \
37986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37987 $(HOST_EXPORTS) \
37988 (cd $(HOST_SUBDIR)/uudecode && \
37989 $(MAKE) $(FLAGS_TO_PASS) check)
37991 @endif uudecode
37993 .PHONY: install-uudecode maybe-install-uudecode
37994 maybe-install-uudecode:
37995 @if uudecode
37996 maybe-install-uudecode: install-uudecode
37998 install-uudecode: installdirs
37999 @: $(MAKE); $(unstage)
38000 @r=`${PWD_COMMAND}`; export r; \
38001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38002 $(HOST_EXPORTS) \
38003 (cd $(HOST_SUBDIR)/uudecode && \
38004 $(MAKE) $(FLAGS_TO_PASS) install)
38006 @endif uudecode
38008 # Other targets (info, dvi, pdf, etc.)
38010 .PHONY: maybe-info-uudecode info-uudecode
38011 maybe-info-uudecode:
38012 @if uudecode
38013 maybe-info-uudecode: info-uudecode
38015 info-uudecode: \
38016 configure-uudecode
38017 @: $(MAKE); $(unstage)
38018 @[ -f ./uudecode/Makefile ] || exit 0; \
38019 r=`${PWD_COMMAND}`; export r; \
38020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38021 $(HOST_EXPORTS) \
38022 for flag in $(EXTRA_HOST_FLAGS) ; do \
38023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38024 done; \
38025 echo "Doing info in uudecode" ; \
38026 (cd $(HOST_SUBDIR)/uudecode && \
38027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38029 "RANLIB=$${RANLIB}" \
38030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38031 info) \
38032 || exit 1
38034 @endif uudecode
38036 .PHONY: maybe-dvi-uudecode dvi-uudecode
38037 maybe-dvi-uudecode:
38038 @if uudecode
38039 maybe-dvi-uudecode: dvi-uudecode
38041 dvi-uudecode: \
38042 configure-uudecode
38043 @: $(MAKE); $(unstage)
38044 @[ -f ./uudecode/Makefile ] || exit 0; \
38045 r=`${PWD_COMMAND}`; export r; \
38046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38047 $(HOST_EXPORTS) \
38048 for flag in $(EXTRA_HOST_FLAGS) ; do \
38049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38050 done; \
38051 echo "Doing dvi in uudecode" ; \
38052 (cd $(HOST_SUBDIR)/uudecode && \
38053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38055 "RANLIB=$${RANLIB}" \
38056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38057 dvi) \
38058 || exit 1
38060 @endif uudecode
38062 .PHONY: maybe-pdf-uudecode pdf-uudecode
38063 maybe-pdf-uudecode:
38064 @if uudecode
38065 maybe-pdf-uudecode: pdf-uudecode
38067 pdf-uudecode: \
38068 configure-uudecode
38069 @: $(MAKE); $(unstage)
38070 @[ -f ./uudecode/Makefile ] || exit 0; \
38071 r=`${PWD_COMMAND}`; export r; \
38072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38073 $(HOST_EXPORTS) \
38074 for flag in $(EXTRA_HOST_FLAGS) ; do \
38075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38076 done; \
38077 echo "Doing pdf in uudecode" ; \
38078 (cd $(HOST_SUBDIR)/uudecode && \
38079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38081 "RANLIB=$${RANLIB}" \
38082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38083 pdf) \
38084 || exit 1
38086 @endif uudecode
38088 .PHONY: maybe-html-uudecode html-uudecode
38089 maybe-html-uudecode:
38090 @if uudecode
38091 maybe-html-uudecode: html-uudecode
38093 html-uudecode: \
38094 configure-uudecode
38095 @: $(MAKE); $(unstage)
38096 @[ -f ./uudecode/Makefile ] || exit 0; \
38097 r=`${PWD_COMMAND}`; export r; \
38098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38099 $(HOST_EXPORTS) \
38100 for flag in $(EXTRA_HOST_FLAGS) ; do \
38101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38102 done; \
38103 echo "Doing html in uudecode" ; \
38104 (cd $(HOST_SUBDIR)/uudecode && \
38105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38107 "RANLIB=$${RANLIB}" \
38108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38109 html) \
38110 || exit 1
38112 @endif uudecode
38114 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
38115 maybe-TAGS-uudecode:
38116 @if uudecode
38117 maybe-TAGS-uudecode: TAGS-uudecode
38119 TAGS-uudecode: \
38120 configure-uudecode
38121 @: $(MAKE); $(unstage)
38122 @[ -f ./uudecode/Makefile ] || exit 0; \
38123 r=`${PWD_COMMAND}`; export r; \
38124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38125 $(HOST_EXPORTS) \
38126 for flag in $(EXTRA_HOST_FLAGS) ; do \
38127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38128 done; \
38129 echo "Doing TAGS in uudecode" ; \
38130 (cd $(HOST_SUBDIR)/uudecode && \
38131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38133 "RANLIB=$${RANLIB}" \
38134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38135 TAGS) \
38136 || exit 1
38138 @endif uudecode
38140 .PHONY: maybe-install-info-uudecode install-info-uudecode
38141 maybe-install-info-uudecode:
38142 @if uudecode
38143 maybe-install-info-uudecode: install-info-uudecode
38145 install-info-uudecode: \
38146 configure-uudecode \
38147 info-uudecode
38148 @: $(MAKE); $(unstage)
38149 @[ -f ./uudecode/Makefile ] || exit 0; \
38150 r=`${PWD_COMMAND}`; export r; \
38151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38152 $(HOST_EXPORTS) \
38153 for flag in $(EXTRA_HOST_FLAGS) ; do \
38154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38155 done; \
38156 echo "Doing install-info in uudecode" ; \
38157 (cd $(HOST_SUBDIR)/uudecode && \
38158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38160 "RANLIB=$${RANLIB}" \
38161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38162 install-info) \
38163 || exit 1
38165 @endif uudecode
38167 .PHONY: maybe-install-pdf-uudecode install-pdf-uudecode
38168 maybe-install-pdf-uudecode:
38169 @if uudecode
38170 maybe-install-pdf-uudecode: install-pdf-uudecode
38172 install-pdf-uudecode: \
38173 configure-uudecode \
38174 pdf-uudecode
38175 @: $(MAKE); $(unstage)
38176 @[ -f ./uudecode/Makefile ] || exit 0; \
38177 r=`${PWD_COMMAND}`; export r; \
38178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38179 $(HOST_EXPORTS) \
38180 for flag in $(EXTRA_HOST_FLAGS) ; do \
38181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38182 done; \
38183 echo "Doing install-pdf in uudecode" ; \
38184 (cd $(HOST_SUBDIR)/uudecode && \
38185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38187 "RANLIB=$${RANLIB}" \
38188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38189 install-pdf) \
38190 || exit 1
38192 @endif uudecode
38194 .PHONY: maybe-install-html-uudecode install-html-uudecode
38195 maybe-install-html-uudecode:
38196 @if uudecode
38197 maybe-install-html-uudecode: install-html-uudecode
38199 install-html-uudecode: \
38200 configure-uudecode \
38201 html-uudecode
38202 @: $(MAKE); $(unstage)
38203 @[ -f ./uudecode/Makefile ] || exit 0; \
38204 r=`${PWD_COMMAND}`; export r; \
38205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38206 $(HOST_EXPORTS) \
38207 for flag in $(EXTRA_HOST_FLAGS) ; do \
38208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38209 done; \
38210 echo "Doing install-html in uudecode" ; \
38211 (cd $(HOST_SUBDIR)/uudecode && \
38212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38214 "RANLIB=$${RANLIB}" \
38215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38216 install-html) \
38217 || exit 1
38219 @endif uudecode
38221 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
38222 maybe-installcheck-uudecode:
38223 @if uudecode
38224 maybe-installcheck-uudecode: installcheck-uudecode
38226 installcheck-uudecode: \
38227 configure-uudecode
38228 @: $(MAKE); $(unstage)
38229 @[ -f ./uudecode/Makefile ] || exit 0; \
38230 r=`${PWD_COMMAND}`; export r; \
38231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38232 $(HOST_EXPORTS) \
38233 for flag in $(EXTRA_HOST_FLAGS) ; do \
38234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38235 done; \
38236 echo "Doing installcheck in uudecode" ; \
38237 (cd $(HOST_SUBDIR)/uudecode && \
38238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38240 "RANLIB=$${RANLIB}" \
38241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38242 installcheck) \
38243 || exit 1
38245 @endif uudecode
38247 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
38248 maybe-mostlyclean-uudecode:
38249 @if uudecode
38250 maybe-mostlyclean-uudecode: mostlyclean-uudecode
38252 mostlyclean-uudecode:
38253 @: $(MAKE); $(unstage)
38254 @[ -f ./uudecode/Makefile ] || exit 0; \
38255 r=`${PWD_COMMAND}`; export r; \
38256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38257 $(HOST_EXPORTS) \
38258 for flag in $(EXTRA_HOST_FLAGS) ; do \
38259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38260 done; \
38261 echo "Doing mostlyclean in uudecode" ; \
38262 (cd $(HOST_SUBDIR)/uudecode && \
38263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38265 "RANLIB=$${RANLIB}" \
38266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38267 mostlyclean) \
38268 || exit 1
38270 @endif uudecode
38272 .PHONY: maybe-clean-uudecode clean-uudecode
38273 maybe-clean-uudecode:
38274 @if uudecode
38275 maybe-clean-uudecode: clean-uudecode
38277 clean-uudecode:
38278 @: $(MAKE); $(unstage)
38279 @[ -f ./uudecode/Makefile ] || exit 0; \
38280 r=`${PWD_COMMAND}`; export r; \
38281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38282 $(HOST_EXPORTS) \
38283 for flag in $(EXTRA_HOST_FLAGS) ; do \
38284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38285 done; \
38286 echo "Doing clean in uudecode" ; \
38287 (cd $(HOST_SUBDIR)/uudecode && \
38288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38290 "RANLIB=$${RANLIB}" \
38291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38292 clean) \
38293 || exit 1
38295 @endif uudecode
38297 .PHONY: maybe-distclean-uudecode distclean-uudecode
38298 maybe-distclean-uudecode:
38299 @if uudecode
38300 maybe-distclean-uudecode: distclean-uudecode
38302 distclean-uudecode:
38303 @: $(MAKE); $(unstage)
38304 @[ -f ./uudecode/Makefile ] || exit 0; \
38305 r=`${PWD_COMMAND}`; export r; \
38306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38307 $(HOST_EXPORTS) \
38308 for flag in $(EXTRA_HOST_FLAGS) ; do \
38309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38310 done; \
38311 echo "Doing distclean in uudecode" ; \
38312 (cd $(HOST_SUBDIR)/uudecode && \
38313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38315 "RANLIB=$${RANLIB}" \
38316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38317 distclean) \
38318 || exit 1
38320 @endif uudecode
38322 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
38323 maybe-maintainer-clean-uudecode:
38324 @if uudecode
38325 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
38327 maintainer-clean-uudecode:
38328 @: $(MAKE); $(unstage)
38329 @[ -f ./uudecode/Makefile ] || exit 0; \
38330 r=`${PWD_COMMAND}`; export r; \
38331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38332 $(HOST_EXPORTS) \
38333 for flag in $(EXTRA_HOST_FLAGS) ; do \
38334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38335 done; \
38336 echo "Doing maintainer-clean in uudecode" ; \
38337 (cd $(HOST_SUBDIR)/uudecode && \
38338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38340 "RANLIB=$${RANLIB}" \
38341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38342 maintainer-clean) \
38343 || exit 1
38345 @endif uudecode
38349 .PHONY: configure-wdiff maybe-configure-wdiff
38350 maybe-configure-wdiff:
38351 @if gcc-bootstrap
38352 configure-wdiff: stage_current
38353 @endif gcc-bootstrap
38354 @if wdiff
38355 maybe-configure-wdiff: configure-wdiff
38356 configure-wdiff:
38357 @: $(MAKE); $(unstage)
38358 @r=`${PWD_COMMAND}`; export r; \
38359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38360 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
38361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
38362 $(HOST_EXPORTS) \
38363 echo Configuring in $(HOST_SUBDIR)/wdiff; \
38364 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
38365 case $(srcdir) in \
38366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38367 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
38368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38369 esac; \
38370 srcdiroption="--srcdir=$${topdir}/wdiff"; \
38371 libsrcdir="$$s/wdiff"; \
38372 $(SHELL) $${libsrcdir}/configure \
38373 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38374 --target=${target_alias} $${srcdiroption} \
38375 || exit 1
38376 @endif wdiff
38382 .PHONY: all-wdiff maybe-all-wdiff
38383 maybe-all-wdiff:
38384 @if gcc-bootstrap
38385 all-wdiff: stage_current
38386 @endif gcc-bootstrap
38387 @if wdiff
38388 TARGET-wdiff=all
38389 maybe-all-wdiff: all-wdiff
38390 all-wdiff: configure-wdiff
38391 @: $(MAKE); $(unstage)
38392 @r=`${PWD_COMMAND}`; export r; \
38393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38394 $(HOST_EXPORTS) \
38395 (cd $(HOST_SUBDIR)/wdiff && \
38396 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38397 $(TARGET-wdiff))
38398 @endif wdiff
38403 .PHONY: check-wdiff maybe-check-wdiff
38404 maybe-check-wdiff:
38405 @if wdiff
38406 maybe-check-wdiff: check-wdiff
38408 check-wdiff:
38409 @: $(MAKE); $(unstage)
38410 @r=`${PWD_COMMAND}`; export r; \
38411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38412 $(HOST_EXPORTS) \
38413 (cd $(HOST_SUBDIR)/wdiff && \
38414 $(MAKE) $(FLAGS_TO_PASS) check)
38416 @endif wdiff
38418 .PHONY: install-wdiff maybe-install-wdiff
38419 maybe-install-wdiff:
38420 @if wdiff
38421 maybe-install-wdiff: install-wdiff
38423 install-wdiff: installdirs
38424 @: $(MAKE); $(unstage)
38425 @r=`${PWD_COMMAND}`; export r; \
38426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38427 $(HOST_EXPORTS) \
38428 (cd $(HOST_SUBDIR)/wdiff && \
38429 $(MAKE) $(FLAGS_TO_PASS) install)
38431 @endif wdiff
38433 # Other targets (info, dvi, pdf, etc.)
38435 .PHONY: maybe-info-wdiff info-wdiff
38436 maybe-info-wdiff:
38437 @if wdiff
38438 maybe-info-wdiff: info-wdiff
38440 info-wdiff: \
38441 configure-wdiff
38442 @: $(MAKE); $(unstage)
38443 @[ -f ./wdiff/Makefile ] || exit 0; \
38444 r=`${PWD_COMMAND}`; export r; \
38445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38446 $(HOST_EXPORTS) \
38447 for flag in $(EXTRA_HOST_FLAGS) ; do \
38448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38449 done; \
38450 echo "Doing info in wdiff" ; \
38451 (cd $(HOST_SUBDIR)/wdiff && \
38452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38454 "RANLIB=$${RANLIB}" \
38455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38456 info) \
38457 || exit 1
38459 @endif wdiff
38461 .PHONY: maybe-dvi-wdiff dvi-wdiff
38462 maybe-dvi-wdiff:
38463 @if wdiff
38464 maybe-dvi-wdiff: dvi-wdiff
38466 dvi-wdiff: \
38467 configure-wdiff
38468 @: $(MAKE); $(unstage)
38469 @[ -f ./wdiff/Makefile ] || exit 0; \
38470 r=`${PWD_COMMAND}`; export r; \
38471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38472 $(HOST_EXPORTS) \
38473 for flag in $(EXTRA_HOST_FLAGS) ; do \
38474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38475 done; \
38476 echo "Doing dvi in wdiff" ; \
38477 (cd $(HOST_SUBDIR)/wdiff && \
38478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38480 "RANLIB=$${RANLIB}" \
38481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38482 dvi) \
38483 || exit 1
38485 @endif wdiff
38487 .PHONY: maybe-pdf-wdiff pdf-wdiff
38488 maybe-pdf-wdiff:
38489 @if wdiff
38490 maybe-pdf-wdiff: pdf-wdiff
38492 pdf-wdiff: \
38493 configure-wdiff
38494 @: $(MAKE); $(unstage)
38495 @[ -f ./wdiff/Makefile ] || exit 0; \
38496 r=`${PWD_COMMAND}`; export r; \
38497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38498 $(HOST_EXPORTS) \
38499 for flag in $(EXTRA_HOST_FLAGS) ; do \
38500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38501 done; \
38502 echo "Doing pdf in wdiff" ; \
38503 (cd $(HOST_SUBDIR)/wdiff && \
38504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38506 "RANLIB=$${RANLIB}" \
38507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38508 pdf) \
38509 || exit 1
38511 @endif wdiff
38513 .PHONY: maybe-html-wdiff html-wdiff
38514 maybe-html-wdiff:
38515 @if wdiff
38516 maybe-html-wdiff: html-wdiff
38518 html-wdiff: \
38519 configure-wdiff
38520 @: $(MAKE); $(unstage)
38521 @[ -f ./wdiff/Makefile ] || exit 0; \
38522 r=`${PWD_COMMAND}`; export r; \
38523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38524 $(HOST_EXPORTS) \
38525 for flag in $(EXTRA_HOST_FLAGS) ; do \
38526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38527 done; \
38528 echo "Doing html in wdiff" ; \
38529 (cd $(HOST_SUBDIR)/wdiff && \
38530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38532 "RANLIB=$${RANLIB}" \
38533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38534 html) \
38535 || exit 1
38537 @endif wdiff
38539 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
38540 maybe-TAGS-wdiff:
38541 @if wdiff
38542 maybe-TAGS-wdiff: TAGS-wdiff
38544 TAGS-wdiff: \
38545 configure-wdiff
38546 @: $(MAKE); $(unstage)
38547 @[ -f ./wdiff/Makefile ] || exit 0; \
38548 r=`${PWD_COMMAND}`; export r; \
38549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38550 $(HOST_EXPORTS) \
38551 for flag in $(EXTRA_HOST_FLAGS) ; do \
38552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38553 done; \
38554 echo "Doing TAGS in wdiff" ; \
38555 (cd $(HOST_SUBDIR)/wdiff && \
38556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38558 "RANLIB=$${RANLIB}" \
38559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38560 TAGS) \
38561 || exit 1
38563 @endif wdiff
38565 .PHONY: maybe-install-info-wdiff install-info-wdiff
38566 maybe-install-info-wdiff:
38567 @if wdiff
38568 maybe-install-info-wdiff: install-info-wdiff
38570 install-info-wdiff: \
38571 configure-wdiff \
38572 info-wdiff
38573 @: $(MAKE); $(unstage)
38574 @[ -f ./wdiff/Makefile ] || exit 0; \
38575 r=`${PWD_COMMAND}`; export r; \
38576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38577 $(HOST_EXPORTS) \
38578 for flag in $(EXTRA_HOST_FLAGS) ; do \
38579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38580 done; \
38581 echo "Doing install-info in wdiff" ; \
38582 (cd $(HOST_SUBDIR)/wdiff && \
38583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38585 "RANLIB=$${RANLIB}" \
38586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38587 install-info) \
38588 || exit 1
38590 @endif wdiff
38592 .PHONY: maybe-install-pdf-wdiff install-pdf-wdiff
38593 maybe-install-pdf-wdiff:
38594 @if wdiff
38595 maybe-install-pdf-wdiff: install-pdf-wdiff
38597 install-pdf-wdiff: \
38598 configure-wdiff \
38599 pdf-wdiff
38600 @: $(MAKE); $(unstage)
38601 @[ -f ./wdiff/Makefile ] || exit 0; \
38602 r=`${PWD_COMMAND}`; export r; \
38603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38604 $(HOST_EXPORTS) \
38605 for flag in $(EXTRA_HOST_FLAGS) ; do \
38606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38607 done; \
38608 echo "Doing install-pdf in wdiff" ; \
38609 (cd $(HOST_SUBDIR)/wdiff && \
38610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38612 "RANLIB=$${RANLIB}" \
38613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38614 install-pdf) \
38615 || exit 1
38617 @endif wdiff
38619 .PHONY: maybe-install-html-wdiff install-html-wdiff
38620 maybe-install-html-wdiff:
38621 @if wdiff
38622 maybe-install-html-wdiff: install-html-wdiff
38624 install-html-wdiff: \
38625 configure-wdiff \
38626 html-wdiff
38627 @: $(MAKE); $(unstage)
38628 @[ -f ./wdiff/Makefile ] || exit 0; \
38629 r=`${PWD_COMMAND}`; export r; \
38630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38631 $(HOST_EXPORTS) \
38632 for flag in $(EXTRA_HOST_FLAGS) ; do \
38633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38634 done; \
38635 echo "Doing install-html in wdiff" ; \
38636 (cd $(HOST_SUBDIR)/wdiff && \
38637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38639 "RANLIB=$${RANLIB}" \
38640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38641 install-html) \
38642 || exit 1
38644 @endif wdiff
38646 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
38647 maybe-installcheck-wdiff:
38648 @if wdiff
38649 maybe-installcheck-wdiff: installcheck-wdiff
38651 installcheck-wdiff: \
38652 configure-wdiff
38653 @: $(MAKE); $(unstage)
38654 @[ -f ./wdiff/Makefile ] || exit 0; \
38655 r=`${PWD_COMMAND}`; export r; \
38656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38657 $(HOST_EXPORTS) \
38658 for flag in $(EXTRA_HOST_FLAGS) ; do \
38659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38660 done; \
38661 echo "Doing installcheck in wdiff" ; \
38662 (cd $(HOST_SUBDIR)/wdiff && \
38663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38665 "RANLIB=$${RANLIB}" \
38666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38667 installcheck) \
38668 || exit 1
38670 @endif wdiff
38672 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
38673 maybe-mostlyclean-wdiff:
38674 @if wdiff
38675 maybe-mostlyclean-wdiff: mostlyclean-wdiff
38677 mostlyclean-wdiff:
38678 @: $(MAKE); $(unstage)
38679 @[ -f ./wdiff/Makefile ] || exit 0; \
38680 r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 $(HOST_EXPORTS) \
38683 for flag in $(EXTRA_HOST_FLAGS) ; do \
38684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38685 done; \
38686 echo "Doing mostlyclean in wdiff" ; \
38687 (cd $(HOST_SUBDIR)/wdiff && \
38688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38690 "RANLIB=$${RANLIB}" \
38691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38692 mostlyclean) \
38693 || exit 1
38695 @endif wdiff
38697 .PHONY: maybe-clean-wdiff clean-wdiff
38698 maybe-clean-wdiff:
38699 @if wdiff
38700 maybe-clean-wdiff: clean-wdiff
38702 clean-wdiff:
38703 @: $(MAKE); $(unstage)
38704 @[ -f ./wdiff/Makefile ] || exit 0; \
38705 r=`${PWD_COMMAND}`; export r; \
38706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38707 $(HOST_EXPORTS) \
38708 for flag in $(EXTRA_HOST_FLAGS) ; do \
38709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38710 done; \
38711 echo "Doing clean in wdiff" ; \
38712 (cd $(HOST_SUBDIR)/wdiff && \
38713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38715 "RANLIB=$${RANLIB}" \
38716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38717 clean) \
38718 || exit 1
38720 @endif wdiff
38722 .PHONY: maybe-distclean-wdiff distclean-wdiff
38723 maybe-distclean-wdiff:
38724 @if wdiff
38725 maybe-distclean-wdiff: distclean-wdiff
38727 distclean-wdiff:
38728 @: $(MAKE); $(unstage)
38729 @[ -f ./wdiff/Makefile ] || exit 0; \
38730 r=`${PWD_COMMAND}`; export r; \
38731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38732 $(HOST_EXPORTS) \
38733 for flag in $(EXTRA_HOST_FLAGS) ; do \
38734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38735 done; \
38736 echo "Doing distclean in wdiff" ; \
38737 (cd $(HOST_SUBDIR)/wdiff && \
38738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38740 "RANLIB=$${RANLIB}" \
38741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38742 distclean) \
38743 || exit 1
38745 @endif wdiff
38747 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
38748 maybe-maintainer-clean-wdiff:
38749 @if wdiff
38750 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
38752 maintainer-clean-wdiff:
38753 @: $(MAKE); $(unstage)
38754 @[ -f ./wdiff/Makefile ] || exit 0; \
38755 r=`${PWD_COMMAND}`; export r; \
38756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38757 $(HOST_EXPORTS) \
38758 for flag in $(EXTRA_HOST_FLAGS) ; do \
38759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38760 done; \
38761 echo "Doing maintainer-clean in wdiff" ; \
38762 (cd $(HOST_SUBDIR)/wdiff && \
38763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38765 "RANLIB=$${RANLIB}" \
38766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38767 maintainer-clean) \
38768 || exit 1
38770 @endif wdiff
38774 .PHONY: configure-zip maybe-configure-zip
38775 maybe-configure-zip:
38776 @if gcc-bootstrap
38777 configure-zip: stage_current
38778 @endif gcc-bootstrap
38779 @if zip
38780 maybe-configure-zip: configure-zip
38781 configure-zip:
38782 @: $(MAKE); $(unstage)
38783 @r=`${PWD_COMMAND}`; export r; \
38784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38785 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
38786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
38787 $(HOST_EXPORTS) \
38788 echo Configuring in $(HOST_SUBDIR)/zip; \
38789 cd "$(HOST_SUBDIR)/zip" || exit 1; \
38790 case $(srcdir) in \
38791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38792 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
38793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38794 esac; \
38795 srcdiroption="--srcdir=$${topdir}/zip"; \
38796 libsrcdir="$$s/zip"; \
38797 $(SHELL) $${libsrcdir}/configure \
38798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38799 --target=${target_alias} $${srcdiroption} \
38800 || exit 1
38801 @endif zip
38807 .PHONY: all-zip maybe-all-zip
38808 maybe-all-zip:
38809 @if gcc-bootstrap
38810 all-zip: stage_current
38811 @endif gcc-bootstrap
38812 @if zip
38813 TARGET-zip=all
38814 maybe-all-zip: all-zip
38815 all-zip: configure-zip
38816 @: $(MAKE); $(unstage)
38817 @r=`${PWD_COMMAND}`; export r; \
38818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38819 $(HOST_EXPORTS) \
38820 (cd $(HOST_SUBDIR)/zip && \
38821 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38822 $(TARGET-zip))
38823 @endif zip
38828 .PHONY: check-zip maybe-check-zip
38829 maybe-check-zip:
38830 @if zip
38831 maybe-check-zip: check-zip
38833 # This module is only tested in a native toolchain.
38834 check-zip:
38835 @: $(MAKE); $(unstage)
38836 @if [ '$(host)' = '$(target)' ] ; then \
38837 r=`${PWD_COMMAND}`; export r; \
38838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38839 $(HOST_EXPORTS) \
38840 (cd $(HOST_SUBDIR)/zip && \
38841 $(MAKE) $(FLAGS_TO_PASS) check); \
38844 @endif zip
38846 .PHONY: install-zip maybe-install-zip
38847 maybe-install-zip:
38848 @if zip
38849 maybe-install-zip: install-zip
38851 install-zip: installdirs
38852 @: $(MAKE); $(unstage)
38853 @r=`${PWD_COMMAND}`; export r; \
38854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38855 $(HOST_EXPORTS) \
38856 (cd $(HOST_SUBDIR)/zip && \
38857 $(MAKE) $(FLAGS_TO_PASS) install)
38859 @endif zip
38861 # Other targets (info, dvi, pdf, etc.)
38863 .PHONY: maybe-info-zip info-zip
38864 maybe-info-zip:
38865 @if zip
38866 maybe-info-zip: info-zip
38868 info-zip: \
38869 configure-zip
38870 @: $(MAKE); $(unstage)
38871 @[ -f ./zip/Makefile ] || exit 0; \
38872 r=`${PWD_COMMAND}`; export r; \
38873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38874 $(HOST_EXPORTS) \
38875 for flag in $(EXTRA_HOST_FLAGS) ; do \
38876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38877 done; \
38878 echo "Doing info in zip" ; \
38879 (cd $(HOST_SUBDIR)/zip && \
38880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38882 "RANLIB=$${RANLIB}" \
38883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38884 info) \
38885 || exit 1
38887 @endif zip
38889 .PHONY: maybe-dvi-zip dvi-zip
38890 maybe-dvi-zip:
38891 @if zip
38892 maybe-dvi-zip: dvi-zip
38894 dvi-zip: \
38895 configure-zip
38896 @: $(MAKE); $(unstage)
38897 @[ -f ./zip/Makefile ] || exit 0; \
38898 r=`${PWD_COMMAND}`; export r; \
38899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38900 $(HOST_EXPORTS) \
38901 for flag in $(EXTRA_HOST_FLAGS) ; do \
38902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38903 done; \
38904 echo "Doing dvi in zip" ; \
38905 (cd $(HOST_SUBDIR)/zip && \
38906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38908 "RANLIB=$${RANLIB}" \
38909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38910 dvi) \
38911 || exit 1
38913 @endif zip
38915 .PHONY: maybe-pdf-zip pdf-zip
38916 maybe-pdf-zip:
38917 @if zip
38918 maybe-pdf-zip: pdf-zip
38920 pdf-zip: \
38921 configure-zip
38922 @: $(MAKE); $(unstage)
38923 @[ -f ./zip/Makefile ] || exit 0; \
38924 r=`${PWD_COMMAND}`; export r; \
38925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38926 $(HOST_EXPORTS) \
38927 for flag in $(EXTRA_HOST_FLAGS) ; do \
38928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38929 done; \
38930 echo "Doing pdf in zip" ; \
38931 (cd $(HOST_SUBDIR)/zip && \
38932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38934 "RANLIB=$${RANLIB}" \
38935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38936 pdf) \
38937 || exit 1
38939 @endif zip
38941 .PHONY: maybe-html-zip html-zip
38942 maybe-html-zip:
38943 @if zip
38944 maybe-html-zip: html-zip
38946 html-zip: \
38947 configure-zip
38948 @: $(MAKE); $(unstage)
38949 @[ -f ./zip/Makefile ] || exit 0; \
38950 r=`${PWD_COMMAND}`; export r; \
38951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38952 $(HOST_EXPORTS) \
38953 for flag in $(EXTRA_HOST_FLAGS) ; do \
38954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38955 done; \
38956 echo "Doing html in zip" ; \
38957 (cd $(HOST_SUBDIR)/zip && \
38958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38960 "RANLIB=$${RANLIB}" \
38961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38962 html) \
38963 || exit 1
38965 @endif zip
38967 .PHONY: maybe-TAGS-zip TAGS-zip
38968 maybe-TAGS-zip:
38969 @if zip
38970 maybe-TAGS-zip: TAGS-zip
38972 TAGS-zip: \
38973 configure-zip
38974 @: $(MAKE); $(unstage)
38975 @[ -f ./zip/Makefile ] || exit 0; \
38976 r=`${PWD_COMMAND}`; export r; \
38977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38978 $(HOST_EXPORTS) \
38979 for flag in $(EXTRA_HOST_FLAGS) ; do \
38980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38981 done; \
38982 echo "Doing TAGS in zip" ; \
38983 (cd $(HOST_SUBDIR)/zip && \
38984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38986 "RANLIB=$${RANLIB}" \
38987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38988 TAGS) \
38989 || exit 1
38991 @endif zip
38993 .PHONY: maybe-install-info-zip install-info-zip
38994 maybe-install-info-zip:
38995 @if zip
38996 maybe-install-info-zip: install-info-zip
38998 install-info-zip: \
38999 configure-zip \
39000 info-zip
39001 @: $(MAKE); $(unstage)
39002 @[ -f ./zip/Makefile ] || exit 0; \
39003 r=`${PWD_COMMAND}`; export r; \
39004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39005 $(HOST_EXPORTS) \
39006 for flag in $(EXTRA_HOST_FLAGS) ; do \
39007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39008 done; \
39009 echo "Doing install-info in zip" ; \
39010 (cd $(HOST_SUBDIR)/zip && \
39011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39013 "RANLIB=$${RANLIB}" \
39014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39015 install-info) \
39016 || exit 1
39018 @endif zip
39020 .PHONY: maybe-install-pdf-zip install-pdf-zip
39021 maybe-install-pdf-zip:
39022 @if zip
39023 maybe-install-pdf-zip: install-pdf-zip
39025 install-pdf-zip: \
39026 configure-zip \
39027 pdf-zip
39028 @: $(MAKE); $(unstage)
39029 @[ -f ./zip/Makefile ] || exit 0; \
39030 r=`${PWD_COMMAND}`; export r; \
39031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39032 $(HOST_EXPORTS) \
39033 for flag in $(EXTRA_HOST_FLAGS) ; do \
39034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39035 done; \
39036 echo "Doing install-pdf in zip" ; \
39037 (cd $(HOST_SUBDIR)/zip && \
39038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39040 "RANLIB=$${RANLIB}" \
39041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39042 install-pdf) \
39043 || exit 1
39045 @endif zip
39047 .PHONY: maybe-install-html-zip install-html-zip
39048 maybe-install-html-zip:
39049 @if zip
39050 maybe-install-html-zip: install-html-zip
39052 install-html-zip: \
39053 configure-zip \
39054 html-zip
39055 @: $(MAKE); $(unstage)
39056 @[ -f ./zip/Makefile ] || exit 0; \
39057 r=`${PWD_COMMAND}`; export r; \
39058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39059 $(HOST_EXPORTS) \
39060 for flag in $(EXTRA_HOST_FLAGS) ; do \
39061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39062 done; \
39063 echo "Doing install-html in zip" ; \
39064 (cd $(HOST_SUBDIR)/zip && \
39065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39067 "RANLIB=$${RANLIB}" \
39068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39069 install-html) \
39070 || exit 1
39072 @endif zip
39074 .PHONY: maybe-installcheck-zip installcheck-zip
39075 maybe-installcheck-zip:
39076 @if zip
39077 maybe-installcheck-zip: installcheck-zip
39079 installcheck-zip: \
39080 configure-zip
39081 @: $(MAKE); $(unstage)
39082 @[ -f ./zip/Makefile ] || exit 0; \
39083 r=`${PWD_COMMAND}`; export r; \
39084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39085 $(HOST_EXPORTS) \
39086 for flag in $(EXTRA_HOST_FLAGS) ; do \
39087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39088 done; \
39089 echo "Doing installcheck in zip" ; \
39090 (cd $(HOST_SUBDIR)/zip && \
39091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39093 "RANLIB=$${RANLIB}" \
39094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39095 installcheck) \
39096 || exit 1
39098 @endif zip
39100 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
39101 maybe-mostlyclean-zip:
39102 @if zip
39103 maybe-mostlyclean-zip: mostlyclean-zip
39105 mostlyclean-zip:
39106 @: $(MAKE); $(unstage)
39107 @[ -f ./zip/Makefile ] || exit 0; \
39108 r=`${PWD_COMMAND}`; export r; \
39109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39110 $(HOST_EXPORTS) \
39111 for flag in $(EXTRA_HOST_FLAGS) ; do \
39112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39113 done; \
39114 echo "Doing mostlyclean in zip" ; \
39115 (cd $(HOST_SUBDIR)/zip && \
39116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39118 "RANLIB=$${RANLIB}" \
39119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39120 mostlyclean) \
39121 || exit 1
39123 @endif zip
39125 .PHONY: maybe-clean-zip clean-zip
39126 maybe-clean-zip:
39127 @if zip
39128 maybe-clean-zip: clean-zip
39130 clean-zip:
39131 @: $(MAKE); $(unstage)
39132 @[ -f ./zip/Makefile ] || exit 0; \
39133 r=`${PWD_COMMAND}`; export r; \
39134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39135 $(HOST_EXPORTS) \
39136 for flag in $(EXTRA_HOST_FLAGS) ; do \
39137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39138 done; \
39139 echo "Doing clean in zip" ; \
39140 (cd $(HOST_SUBDIR)/zip && \
39141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39143 "RANLIB=$${RANLIB}" \
39144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39145 clean) \
39146 || exit 1
39148 @endif zip
39150 .PHONY: maybe-distclean-zip distclean-zip
39151 maybe-distclean-zip:
39152 @if zip
39153 maybe-distclean-zip: distclean-zip
39155 distclean-zip:
39156 @: $(MAKE); $(unstage)
39157 @[ -f ./zip/Makefile ] || exit 0; \
39158 r=`${PWD_COMMAND}`; export r; \
39159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39160 $(HOST_EXPORTS) \
39161 for flag in $(EXTRA_HOST_FLAGS) ; do \
39162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39163 done; \
39164 echo "Doing distclean in zip" ; \
39165 (cd $(HOST_SUBDIR)/zip && \
39166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39168 "RANLIB=$${RANLIB}" \
39169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39170 distclean) \
39171 || exit 1
39173 @endif zip
39175 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
39176 maybe-maintainer-clean-zip:
39177 @if zip
39178 maybe-maintainer-clean-zip: maintainer-clean-zip
39180 maintainer-clean-zip:
39181 @: $(MAKE); $(unstage)
39182 @[ -f ./zip/Makefile ] || exit 0; \
39183 r=`${PWD_COMMAND}`; export r; \
39184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39185 $(HOST_EXPORTS) \
39186 for flag in $(EXTRA_HOST_FLAGS) ; do \
39187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39188 done; \
39189 echo "Doing maintainer-clean in zip" ; \
39190 (cd $(HOST_SUBDIR)/zip && \
39191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39193 "RANLIB=$${RANLIB}" \
39194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39195 maintainer-clean) \
39196 || exit 1
39198 @endif zip
39202 .PHONY: configure-zlib maybe-configure-zlib
39203 maybe-configure-zlib:
39204 @if gcc-bootstrap
39205 configure-zlib: stage_current
39206 @endif gcc-bootstrap
39207 @if zlib
39208 maybe-configure-zlib: configure-zlib
39209 configure-zlib:
39210 @r=`${PWD_COMMAND}`; export r; \
39211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39212 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39214 $(HOST_EXPORTS) \
39215 echo Configuring in $(HOST_SUBDIR)/zlib; \
39216 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
39217 case $(srcdir) in \
39218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39219 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39221 esac; \
39222 srcdiroption="--srcdir=$${topdir}/zlib"; \
39223 libsrcdir="$$s/zlib"; \
39224 $(SHELL) $${libsrcdir}/configure \
39225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39226 --target=${target_alias} $${srcdiroption} \
39227 || exit 1
39228 @endif zlib
39232 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
39233 maybe-configure-stage1-zlib:
39234 @if zlib-bootstrap
39235 maybe-configure-stage1-zlib: configure-stage1-zlib
39236 configure-stage1-zlib:
39237 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39238 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39239 @r=`${PWD_COMMAND}`; export r; \
39240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39241 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39242 $(HOST_EXPORTS) \
39243 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
39244 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
39245 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
39246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39247 cd $(HOST_SUBDIR)/zlib || exit 1; \
39248 case $(srcdir) in \
39249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39250 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39252 esac; \
39253 srcdiroption="--srcdir=$${topdir}/zlib"; \
39254 libsrcdir="$$s/zlib"; \
39255 $(SHELL) $${libsrcdir}/configure \
39256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39257 --target=${target_alias} $${srcdiroption} \
39259 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
39260 @endif zlib-bootstrap
39262 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
39263 maybe-configure-stage2-zlib:
39264 @if zlib-bootstrap
39265 maybe-configure-stage2-zlib: configure-stage2-zlib
39266 configure-stage2-zlib:
39267 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39268 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39269 @r=`${PWD_COMMAND}`; export r; \
39270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39271 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39272 $(HOST_EXPORTS) \
39273 $(POSTSTAGE1_HOST_EXPORTS) \
39274 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
39275 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
39276 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
39277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39278 cd $(HOST_SUBDIR)/zlib || exit 1; \
39279 case $(srcdir) in \
39280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39281 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39283 esac; \
39284 srcdiroption="--srcdir=$${topdir}/zlib"; \
39285 libsrcdir="$$s/zlib"; \
39286 $(SHELL) $${libsrcdir}/configure \
39287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39288 --target=${target_alias} $${srcdiroption} \
39289 --with-build-libsubdir=$(HOST_SUBDIR) \
39290 @stage2_werror_flag@
39291 @endif zlib-bootstrap
39293 .PHONY: configure-stageb2g0-zlib maybe-configure-stageb2g0-zlib
39294 maybe-configure-stageb2g0-zlib:
39295 @if zlib-bootstrap
39296 maybe-configure-stageb2g0-zlib: configure-stageb2g0-zlib
39297 configure-stageb2g0-zlib:
39298 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
39299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39300 @r=`${PWD_COMMAND}`; export r; \
39301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39302 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39303 $(HOST_EXPORTS) \
39304 $(POSTSTAGE1_HOST_EXPORTS) \
39305 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
39306 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
39307 echo Configuring stage b2g0 in $(HOST_SUBDIR)/zlib ; \
39308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39309 cd $(HOST_SUBDIR)/zlib || exit 1; \
39310 case $(srcdir) in \
39311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39312 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39314 esac; \
39315 srcdiroption="--srcdir=$${topdir}/zlib"; \
39316 libsrcdir="$$s/zlib"; \
39317 $(SHELL) $${libsrcdir}/configure \
39318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39319 --target=${target_alias} $${srcdiroption} \
39320 --with-build-libsubdir=$(HOST_SUBDIR) \
39321 @stage2_werror_flag@
39322 @endif zlib-bootstrap
39324 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
39325 maybe-configure-stage3-zlib:
39326 @if zlib-bootstrap
39327 maybe-configure-stage3-zlib: configure-stage3-zlib
39328 configure-stage3-zlib:
39329 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39330 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39331 @r=`${PWD_COMMAND}`; export r; \
39332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39333 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39334 $(HOST_EXPORTS) \
39335 $(POSTSTAGE1_HOST_EXPORTS) \
39336 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
39337 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
39338 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
39339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39340 cd $(HOST_SUBDIR)/zlib || exit 1; \
39341 case $(srcdir) in \
39342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39343 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39345 esac; \
39346 srcdiroption="--srcdir=$${topdir}/zlib"; \
39347 libsrcdir="$$s/zlib"; \
39348 $(SHELL) $${libsrcdir}/configure \
39349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39350 --target=${target_alias} $${srcdiroption} \
39351 --with-build-libsubdir=$(HOST_SUBDIR) \
39352 @stage2_werror_flag@
39353 @endif zlib-bootstrap
39355 .PHONY: configure-stageb3g2-zlib maybe-configure-stageb3g2-zlib
39356 maybe-configure-stageb3g2-zlib:
39357 @if zlib-bootstrap
39358 maybe-configure-stageb3g2-zlib: configure-stageb3g2-zlib
39359 configure-stageb3g2-zlib:
39360 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
39361 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39362 @r=`${PWD_COMMAND}`; export r; \
39363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39364 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39365 $(HOST_EXPORTS) \
39366 $(POSTSTAGE1_HOST_EXPORTS) \
39367 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
39368 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
39369 echo Configuring stage b3g2 in $(HOST_SUBDIR)/zlib ; \
39370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39371 cd $(HOST_SUBDIR)/zlib || exit 1; \
39372 case $(srcdir) in \
39373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39374 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39376 esac; \
39377 srcdiroption="--srcdir=$${topdir}/zlib"; \
39378 libsrcdir="$$s/zlib"; \
39379 $(SHELL) $${libsrcdir}/configure \
39380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39381 --target=${target_alias} $${srcdiroption} \
39382 --with-build-libsubdir=$(HOST_SUBDIR) \
39383 @stage2_werror_flag@
39384 @endif zlib-bootstrap
39386 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
39387 maybe-configure-stage4-zlib:
39388 @if zlib-bootstrap
39389 maybe-configure-stage4-zlib: configure-stage4-zlib
39390 configure-stage4-zlib:
39391 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39393 @r=`${PWD_COMMAND}`; export r; \
39394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39395 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39396 $(HOST_EXPORTS) \
39397 $(POSTSTAGE1_HOST_EXPORTS) \
39398 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
39399 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
39400 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
39401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39402 cd $(HOST_SUBDIR)/zlib || exit 1; \
39403 case $(srcdir) in \
39404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39405 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39407 esac; \
39408 srcdiroption="--srcdir=$${topdir}/zlib"; \
39409 libsrcdir="$$s/zlib"; \
39410 $(SHELL) $${libsrcdir}/configure \
39411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39412 --target=${target_alias} $${srcdiroption} \
39413 --with-build-libsubdir=$(HOST_SUBDIR) \
39414 @stage2_werror_flag@
39415 @endif zlib-bootstrap
39417 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
39418 maybe-configure-stageprofile-zlib:
39419 @if zlib-bootstrap
39420 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
39421 configure-stageprofile-zlib:
39422 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39424 @r=`${PWD_COMMAND}`; export r; \
39425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39426 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39427 $(HOST_EXPORTS) \
39428 $(POSTSTAGE1_HOST_EXPORTS) \
39429 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
39430 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
39431 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
39432 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39433 cd $(HOST_SUBDIR)/zlib || exit 1; \
39434 case $(srcdir) in \
39435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39436 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39438 esac; \
39439 srcdiroption="--srcdir=$${topdir}/zlib"; \
39440 libsrcdir="$$s/zlib"; \
39441 $(SHELL) $${libsrcdir}/configure \
39442 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39443 --target=${target_alias} $${srcdiroption} \
39444 --with-build-libsubdir=$(HOST_SUBDIR) \
39445 @stage2_werror_flag@
39446 @endif zlib-bootstrap
39448 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
39449 maybe-configure-stagefeedback-zlib:
39450 @if zlib-bootstrap
39451 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
39452 configure-stagefeedback-zlib:
39453 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39454 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39455 @r=`${PWD_COMMAND}`; export r; \
39456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39457 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39458 $(HOST_EXPORTS) \
39459 $(POSTSTAGE1_HOST_EXPORTS) \
39460 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
39461 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
39462 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
39463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39464 cd $(HOST_SUBDIR)/zlib || exit 1; \
39465 case $(srcdir) in \
39466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39467 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39469 esac; \
39470 srcdiroption="--srcdir=$${topdir}/zlib"; \
39471 libsrcdir="$$s/zlib"; \
39472 $(SHELL) $${libsrcdir}/configure \
39473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39474 --target=${target_alias} $${srcdiroption} \
39475 --with-build-libsubdir=$(HOST_SUBDIR) \
39476 @stage2_werror_flag@
39477 @endif zlib-bootstrap
39483 .PHONY: all-zlib maybe-all-zlib
39484 maybe-all-zlib:
39485 @if gcc-bootstrap
39486 all-zlib: stage_current
39487 @endif gcc-bootstrap
39488 @if zlib
39489 TARGET-zlib=all
39490 maybe-all-zlib: all-zlib
39491 all-zlib: configure-zlib
39492 @r=`${PWD_COMMAND}`; export r; \
39493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39494 $(HOST_EXPORTS) \
39495 (cd $(HOST_SUBDIR)/zlib && \
39496 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39497 $(TARGET-zlib))
39498 @endif zlib
39502 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
39503 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
39504 maybe-all-stage1-zlib:
39505 maybe-clean-stage1-zlib:
39506 @if zlib-bootstrap
39507 maybe-all-stage1-zlib: all-stage1-zlib
39508 all-stage1: all-stage1-zlib
39509 TARGET-stage1-zlib = $(TARGET-zlib)
39510 all-stage1-zlib: configure-stage1-zlib
39511 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39512 @r=`${PWD_COMMAND}`; export r; \
39513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39514 $(HOST_EXPORTS) \
39515 cd $(HOST_SUBDIR)/zlib && \
39516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39517 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
39518 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
39519 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
39520 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
39521 $(TARGET-stage1-zlib)
39523 maybe-clean-stage1-zlib: clean-stage1-zlib
39524 clean-stage1: clean-stage1-zlib
39525 clean-stage1-zlib:
39526 @if [ $(current_stage) = stage1 ]; then \
39527 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39528 else \
39529 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
39530 $(MAKE) stage1-start; \
39531 fi; \
39532 cd $(HOST_SUBDIR)/zlib && \
39533 $(MAKE) $(EXTRA_HOST_FLAGS) \
39534 clean
39535 @endif zlib-bootstrap
39538 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
39539 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
39540 maybe-all-stage2-zlib:
39541 maybe-clean-stage2-zlib:
39542 @if zlib-bootstrap
39543 maybe-all-stage2-zlib: all-stage2-zlib
39544 all-stage2: all-stage2-zlib
39545 TARGET-stage2-zlib = $(TARGET-zlib)
39546 all-stage2-zlib: configure-stage2-zlib
39547 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39548 @r=`${PWD_COMMAND}`; export r; \
39549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39550 $(HOST_EXPORTS) \
39551 $(POSTSTAGE1_HOST_EXPORTS) \
39552 cd $(HOST_SUBDIR)/zlib && \
39553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39554 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
39555 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
39556 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
39557 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39558 $(TARGET-stage2-zlib)
39560 maybe-clean-stage2-zlib: clean-stage2-zlib
39561 clean-stage2: clean-stage2-zlib
39562 clean-stage2-zlib:
39563 @if [ $(current_stage) = stage2 ]; then \
39564 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39565 else \
39566 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
39567 $(MAKE) stage2-start; \
39568 fi; \
39569 cd $(HOST_SUBDIR)/zlib && \
39570 $(MAKE) $(EXTRA_HOST_FLAGS) \
39571 $(POSTSTAGE1_FLAGS_TO_PASS) \
39572 clean
39573 @endif zlib-bootstrap
39576 .PHONY: all-stageb2g0-zlib maybe-all-stageb2g0-zlib
39577 .PHONY: clean-stageb2g0-zlib maybe-clean-stageb2g0-zlib
39578 maybe-all-stageb2g0-zlib:
39579 maybe-clean-stageb2g0-zlib:
39580 @if zlib-bootstrap
39581 maybe-all-stageb2g0-zlib: all-stageb2g0-zlib
39582 all-stageb2g0: all-stageb2g0-zlib
39583 TARGET-stageb2g0-zlib = $(TARGET-zlib)
39584 all-stageb2g0-zlib: configure-stageb2g0-zlib
39585 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
39586 @r=`${PWD_COMMAND}`; export r; \
39587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39588 $(HOST_EXPORTS) \
39589 $(POSTSTAGE1_HOST_EXPORTS) \
39590 cd $(HOST_SUBDIR)/zlib && \
39591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39592 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
39593 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
39594 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
39595 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39596 $(TARGET-stageb2g0-zlib)
39598 maybe-clean-stageb2g0-zlib: clean-stageb2g0-zlib
39599 clean-stageb2g0: clean-stageb2g0-zlib
39600 clean-stageb2g0-zlib:
39601 @if [ $(current_stage) = stageb2g0 ]; then \
39602 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39603 else \
39604 [ -f $(HOST_SUBDIR)/stageb2g0-zlib/Makefile ] || exit 0; \
39605 $(MAKE) stageb2g0-start; \
39606 fi; \
39607 cd $(HOST_SUBDIR)/zlib && \
39608 $(MAKE) $(EXTRA_HOST_FLAGS) \
39609 $(POSTSTAGE1_FLAGS_TO_PASS) \
39610 clean
39611 @endif zlib-bootstrap
39614 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
39615 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
39616 maybe-all-stage3-zlib:
39617 maybe-clean-stage3-zlib:
39618 @if zlib-bootstrap
39619 maybe-all-stage3-zlib: all-stage3-zlib
39620 all-stage3: all-stage3-zlib
39621 TARGET-stage3-zlib = $(TARGET-zlib)
39622 all-stage3-zlib: configure-stage3-zlib
39623 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39624 @r=`${PWD_COMMAND}`; export r; \
39625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39626 $(HOST_EXPORTS) \
39627 $(POSTSTAGE1_HOST_EXPORTS) \
39628 cd $(HOST_SUBDIR)/zlib && \
39629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39630 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
39631 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
39632 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
39633 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39634 $(TARGET-stage3-zlib)
39636 maybe-clean-stage3-zlib: clean-stage3-zlib
39637 clean-stage3: clean-stage3-zlib
39638 clean-stage3-zlib:
39639 @if [ $(current_stage) = stage3 ]; then \
39640 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39641 else \
39642 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
39643 $(MAKE) stage3-start; \
39644 fi; \
39645 cd $(HOST_SUBDIR)/zlib && \
39646 $(MAKE) $(EXTRA_HOST_FLAGS) \
39647 $(POSTSTAGE1_FLAGS_TO_PASS) \
39648 clean
39649 @endif zlib-bootstrap
39652 .PHONY: all-stageb3g2-zlib maybe-all-stageb3g2-zlib
39653 .PHONY: clean-stageb3g2-zlib maybe-clean-stageb3g2-zlib
39654 maybe-all-stageb3g2-zlib:
39655 maybe-clean-stageb3g2-zlib:
39656 @if zlib-bootstrap
39657 maybe-all-stageb3g2-zlib: all-stageb3g2-zlib
39658 all-stageb3g2: all-stageb3g2-zlib
39659 TARGET-stageb3g2-zlib = $(TARGET-zlib)
39660 all-stageb3g2-zlib: configure-stageb3g2-zlib
39661 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
39662 @r=`${PWD_COMMAND}`; export r; \
39663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39664 $(HOST_EXPORTS) \
39665 $(POSTSTAGE1_HOST_EXPORTS) \
39666 cd $(HOST_SUBDIR)/zlib && \
39667 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39668 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
39669 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
39670 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
39671 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39672 $(TARGET-stageb3g2-zlib)
39674 maybe-clean-stageb3g2-zlib: clean-stageb3g2-zlib
39675 clean-stageb3g2: clean-stageb3g2-zlib
39676 clean-stageb3g2-zlib:
39677 @if [ $(current_stage) = stageb3g2 ]; then \
39678 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39679 else \
39680 [ -f $(HOST_SUBDIR)/stageb3g2-zlib/Makefile ] || exit 0; \
39681 $(MAKE) stageb3g2-start; \
39682 fi; \
39683 cd $(HOST_SUBDIR)/zlib && \
39684 $(MAKE) $(EXTRA_HOST_FLAGS) \
39685 $(POSTSTAGE1_FLAGS_TO_PASS) \
39686 clean
39687 @endif zlib-bootstrap
39690 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
39691 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
39692 maybe-all-stage4-zlib:
39693 maybe-clean-stage4-zlib:
39694 @if zlib-bootstrap
39695 maybe-all-stage4-zlib: all-stage4-zlib
39696 all-stage4: all-stage4-zlib
39697 TARGET-stage4-zlib = $(TARGET-zlib)
39698 all-stage4-zlib: configure-stage4-zlib
39699 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39700 @r=`${PWD_COMMAND}`; export r; \
39701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39702 $(HOST_EXPORTS) \
39703 $(POSTSTAGE1_HOST_EXPORTS) \
39704 cd $(HOST_SUBDIR)/zlib && \
39705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39706 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
39707 LIBCFLAGS="$(STAGE4_CFLAGS)" \
39708 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
39709 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39710 $(TARGET-stage4-zlib)
39712 maybe-clean-stage4-zlib: clean-stage4-zlib
39713 clean-stage4: clean-stage4-zlib
39714 clean-stage4-zlib:
39715 @if [ $(current_stage) = stage4 ]; then \
39716 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39717 else \
39718 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
39719 $(MAKE) stage4-start; \
39720 fi; \
39721 cd $(HOST_SUBDIR)/zlib && \
39722 $(MAKE) $(EXTRA_HOST_FLAGS) \
39723 $(POSTSTAGE1_FLAGS_TO_PASS) \
39724 clean
39725 @endif zlib-bootstrap
39728 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
39729 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
39730 maybe-all-stageprofile-zlib:
39731 maybe-clean-stageprofile-zlib:
39732 @if zlib-bootstrap
39733 maybe-all-stageprofile-zlib: all-stageprofile-zlib
39734 all-stageprofile: all-stageprofile-zlib
39735 TARGET-stageprofile-zlib = $(TARGET-zlib)
39736 all-stageprofile-zlib: configure-stageprofile-zlib
39737 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39738 @r=`${PWD_COMMAND}`; export r; \
39739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39740 $(HOST_EXPORTS) \
39741 $(POSTSTAGE1_HOST_EXPORTS) \
39742 cd $(HOST_SUBDIR)/zlib && \
39743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39744 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
39745 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
39746 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
39747 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39748 $(TARGET-stageprofile-zlib)
39750 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
39751 clean-stageprofile: clean-stageprofile-zlib
39752 clean-stageprofile-zlib:
39753 @if [ $(current_stage) = stageprofile ]; then \
39754 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39755 else \
39756 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
39757 $(MAKE) stageprofile-start; \
39758 fi; \
39759 cd $(HOST_SUBDIR)/zlib && \
39760 $(MAKE) $(EXTRA_HOST_FLAGS) \
39761 $(POSTSTAGE1_FLAGS_TO_PASS) \
39762 clean
39763 @endif zlib-bootstrap
39766 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
39767 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
39768 maybe-all-stagefeedback-zlib:
39769 maybe-clean-stagefeedback-zlib:
39770 @if zlib-bootstrap
39771 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
39772 all-stagefeedback: all-stagefeedback-zlib
39773 TARGET-stagefeedback-zlib = $(TARGET-zlib)
39774 all-stagefeedback-zlib: configure-stagefeedback-zlib
39775 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39776 @r=`${PWD_COMMAND}`; export r; \
39777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39778 $(HOST_EXPORTS) \
39779 $(POSTSTAGE1_HOST_EXPORTS) \
39780 cd $(HOST_SUBDIR)/zlib && \
39781 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39782 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
39783 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
39784 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
39785 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39786 $(TARGET-stagefeedback-zlib)
39788 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
39789 clean-stagefeedback: clean-stagefeedback-zlib
39790 clean-stagefeedback-zlib:
39791 @if [ $(current_stage) = stagefeedback ]; then \
39792 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39793 else \
39794 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
39795 $(MAKE) stagefeedback-start; \
39796 fi; \
39797 cd $(HOST_SUBDIR)/zlib && \
39798 $(MAKE) $(EXTRA_HOST_FLAGS) \
39799 $(POSTSTAGE1_FLAGS_TO_PASS) \
39800 clean
39801 @endif zlib-bootstrap
39807 .PHONY: check-zlib maybe-check-zlib
39808 maybe-check-zlib:
39809 @if zlib
39810 maybe-check-zlib: check-zlib
39812 check-zlib:
39814 @endif zlib
39816 .PHONY: install-zlib maybe-install-zlib
39817 maybe-install-zlib:
39818 @if zlib
39819 maybe-install-zlib: install-zlib
39821 install-zlib:
39823 @endif zlib
39825 # Other targets (info, dvi, pdf, etc.)
39827 .PHONY: maybe-info-zlib info-zlib
39828 maybe-info-zlib:
39829 @if zlib
39830 maybe-info-zlib: info-zlib
39832 info-zlib: \
39833 configure-zlib
39834 @[ -f ./zlib/Makefile ] || exit 0; \
39835 r=`${PWD_COMMAND}`; export r; \
39836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39837 $(HOST_EXPORTS) \
39838 for flag in $(EXTRA_HOST_FLAGS) ; do \
39839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39840 done; \
39841 echo "Doing info in zlib" ; \
39842 (cd $(HOST_SUBDIR)/zlib && \
39843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39845 "RANLIB=$${RANLIB}" \
39846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39847 info) \
39848 || exit 1
39850 @endif zlib
39852 .PHONY: maybe-dvi-zlib dvi-zlib
39853 maybe-dvi-zlib:
39854 @if zlib
39855 maybe-dvi-zlib: dvi-zlib
39857 dvi-zlib: \
39858 configure-zlib
39859 @[ -f ./zlib/Makefile ] || exit 0; \
39860 r=`${PWD_COMMAND}`; export r; \
39861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39862 $(HOST_EXPORTS) \
39863 for flag in $(EXTRA_HOST_FLAGS) ; do \
39864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39865 done; \
39866 echo "Doing dvi in zlib" ; \
39867 (cd $(HOST_SUBDIR)/zlib && \
39868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39870 "RANLIB=$${RANLIB}" \
39871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39872 dvi) \
39873 || exit 1
39875 @endif zlib
39877 .PHONY: maybe-pdf-zlib pdf-zlib
39878 maybe-pdf-zlib:
39879 @if zlib
39880 maybe-pdf-zlib: pdf-zlib
39882 pdf-zlib: \
39883 configure-zlib
39884 @[ -f ./zlib/Makefile ] || exit 0; \
39885 r=`${PWD_COMMAND}`; export r; \
39886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39887 $(HOST_EXPORTS) \
39888 for flag in $(EXTRA_HOST_FLAGS) ; do \
39889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39890 done; \
39891 echo "Doing pdf in zlib" ; \
39892 (cd $(HOST_SUBDIR)/zlib && \
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}" "WINDMC=$${WINDMC}" \
39897 pdf) \
39898 || exit 1
39900 @endif zlib
39902 .PHONY: maybe-html-zlib html-zlib
39903 maybe-html-zlib:
39904 @if zlib
39905 maybe-html-zlib: html-zlib
39907 html-zlib: \
39908 configure-zlib
39909 @[ -f ./zlib/Makefile ] || exit 0; \
39910 r=`${PWD_COMMAND}`; export r; \
39911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39912 $(HOST_EXPORTS) \
39913 for flag in $(EXTRA_HOST_FLAGS) ; do \
39914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39915 done; \
39916 echo "Doing html in zlib" ; \
39917 (cd $(HOST_SUBDIR)/zlib && \
39918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39920 "RANLIB=$${RANLIB}" \
39921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39922 html) \
39923 || exit 1
39925 @endif zlib
39927 .PHONY: maybe-TAGS-zlib TAGS-zlib
39928 maybe-TAGS-zlib:
39929 @if zlib
39930 maybe-TAGS-zlib: TAGS-zlib
39932 TAGS-zlib: \
39933 configure-zlib
39934 @[ -f ./zlib/Makefile ] || exit 0; \
39935 r=`${PWD_COMMAND}`; export r; \
39936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39937 $(HOST_EXPORTS) \
39938 for flag in $(EXTRA_HOST_FLAGS) ; do \
39939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39940 done; \
39941 echo "Doing TAGS in zlib" ; \
39942 (cd $(HOST_SUBDIR)/zlib && \
39943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39945 "RANLIB=$${RANLIB}" \
39946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39947 TAGS) \
39948 || exit 1
39950 @endif zlib
39952 .PHONY: maybe-install-info-zlib install-info-zlib
39953 maybe-install-info-zlib:
39954 @if zlib
39955 maybe-install-info-zlib: install-info-zlib
39957 install-info-zlib: \
39958 configure-zlib \
39959 info-zlib
39960 @[ -f ./zlib/Makefile ] || exit 0; \
39961 r=`${PWD_COMMAND}`; export r; \
39962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39963 $(HOST_EXPORTS) \
39964 for flag in $(EXTRA_HOST_FLAGS) ; do \
39965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39966 done; \
39967 echo "Doing install-info in zlib" ; \
39968 (cd $(HOST_SUBDIR)/zlib && \
39969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39971 "RANLIB=$${RANLIB}" \
39972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39973 install-info) \
39974 || exit 1
39976 @endif zlib
39978 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
39979 maybe-install-pdf-zlib:
39980 @if zlib
39981 maybe-install-pdf-zlib: install-pdf-zlib
39983 install-pdf-zlib: \
39984 configure-zlib \
39985 pdf-zlib
39986 @[ -f ./zlib/Makefile ] || exit 0; \
39987 r=`${PWD_COMMAND}`; export r; \
39988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39989 $(HOST_EXPORTS) \
39990 for flag in $(EXTRA_HOST_FLAGS) ; do \
39991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39992 done; \
39993 echo "Doing install-pdf in zlib" ; \
39994 (cd $(HOST_SUBDIR)/zlib && \
39995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39997 "RANLIB=$${RANLIB}" \
39998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39999 install-pdf) \
40000 || exit 1
40002 @endif zlib
40004 .PHONY: maybe-install-html-zlib install-html-zlib
40005 maybe-install-html-zlib:
40006 @if zlib
40007 maybe-install-html-zlib: install-html-zlib
40009 install-html-zlib: \
40010 configure-zlib \
40011 html-zlib
40012 @[ -f ./zlib/Makefile ] || exit 0; \
40013 r=`${PWD_COMMAND}`; export r; \
40014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40015 $(HOST_EXPORTS) \
40016 for flag in $(EXTRA_HOST_FLAGS) ; do \
40017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40018 done; \
40019 echo "Doing install-html in zlib" ; \
40020 (cd $(HOST_SUBDIR)/zlib && \
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}" "WINDMC=$${WINDMC}" \
40025 install-html) \
40026 || exit 1
40028 @endif zlib
40030 .PHONY: maybe-installcheck-zlib installcheck-zlib
40031 maybe-installcheck-zlib:
40032 @if zlib
40033 maybe-installcheck-zlib: installcheck-zlib
40035 installcheck-zlib: \
40036 configure-zlib
40037 @[ -f ./zlib/Makefile ] || exit 0; \
40038 r=`${PWD_COMMAND}`; export r; \
40039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40040 $(HOST_EXPORTS) \
40041 for flag in $(EXTRA_HOST_FLAGS) ; do \
40042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40043 done; \
40044 echo "Doing installcheck in zlib" ; \
40045 (cd $(HOST_SUBDIR)/zlib && \
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}" "WINDMC=$${WINDMC}" \
40050 installcheck) \
40051 || exit 1
40053 @endif zlib
40055 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
40056 maybe-mostlyclean-zlib:
40057 @if zlib
40058 maybe-mostlyclean-zlib: mostlyclean-zlib
40060 mostlyclean-zlib:
40061 @[ -f ./zlib/Makefile ] || exit 0; \
40062 r=`${PWD_COMMAND}`; export r; \
40063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40064 $(HOST_EXPORTS) \
40065 for flag in $(EXTRA_HOST_FLAGS) ; do \
40066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40067 done; \
40068 echo "Doing mostlyclean in zlib" ; \
40069 (cd $(HOST_SUBDIR)/zlib && \
40070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40072 "RANLIB=$${RANLIB}" \
40073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40074 mostlyclean) \
40075 || exit 1
40077 @endif zlib
40079 .PHONY: maybe-clean-zlib clean-zlib
40080 maybe-clean-zlib:
40081 @if zlib
40082 maybe-clean-zlib: clean-zlib
40084 clean-zlib:
40085 @[ -f ./zlib/Makefile ] || exit 0; \
40086 r=`${PWD_COMMAND}`; export r; \
40087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40088 $(HOST_EXPORTS) \
40089 for flag in $(EXTRA_HOST_FLAGS) ; do \
40090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40091 done; \
40092 echo "Doing clean in zlib" ; \
40093 (cd $(HOST_SUBDIR)/zlib && \
40094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40096 "RANLIB=$${RANLIB}" \
40097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40098 clean) \
40099 || exit 1
40101 @endif zlib
40103 .PHONY: maybe-distclean-zlib distclean-zlib
40104 maybe-distclean-zlib:
40105 @if zlib
40106 maybe-distclean-zlib: distclean-zlib
40108 distclean-zlib:
40109 @[ -f ./zlib/Makefile ] || exit 0; \
40110 r=`${PWD_COMMAND}`; export r; \
40111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40112 $(HOST_EXPORTS) \
40113 for flag in $(EXTRA_HOST_FLAGS) ; do \
40114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40115 done; \
40116 echo "Doing distclean in zlib" ; \
40117 (cd $(HOST_SUBDIR)/zlib && \
40118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40120 "RANLIB=$${RANLIB}" \
40121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40122 distclean) \
40123 || exit 1
40125 @endif zlib
40127 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
40128 maybe-maintainer-clean-zlib:
40129 @if zlib
40130 maybe-maintainer-clean-zlib: maintainer-clean-zlib
40132 maintainer-clean-zlib:
40133 @[ -f ./zlib/Makefile ] || exit 0; \
40134 r=`${PWD_COMMAND}`; export r; \
40135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40136 $(HOST_EXPORTS) \
40137 for flag in $(EXTRA_HOST_FLAGS) ; do \
40138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40139 done; \
40140 echo "Doing maintainer-clean in zlib" ; \
40141 (cd $(HOST_SUBDIR)/zlib && \
40142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40144 "RANLIB=$${RANLIB}" \
40145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40146 maintainer-clean) \
40147 || exit 1
40149 @endif zlib
40153 .PHONY: configure-gdb maybe-configure-gdb
40154 maybe-configure-gdb:
40155 @if gcc-bootstrap
40156 configure-gdb: stage_current
40157 @endif gcc-bootstrap
40158 @if gdb
40159 maybe-configure-gdb: configure-gdb
40160 configure-gdb:
40161 @: $(MAKE); $(unstage)
40162 @r=`${PWD_COMMAND}`; export r; \
40163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40164 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
40165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
40166 $(HOST_EXPORTS) \
40167 echo Configuring in $(HOST_SUBDIR)/gdb; \
40168 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
40169 case $(srcdir) in \
40170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40171 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
40172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40173 esac; \
40174 srcdiroption="--srcdir=$${topdir}/gdb"; \
40175 libsrcdir="$$s/gdb"; \
40176 $(SHELL) $${libsrcdir}/configure \
40177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40178 --target=${target_alias} $${srcdiroption} \
40179 || exit 1
40180 @endif gdb
40186 .PHONY: all-gdb maybe-all-gdb
40187 maybe-all-gdb:
40188 @if gcc-bootstrap
40189 all-gdb: stage_current
40190 @endif gcc-bootstrap
40191 @if gdb
40192 TARGET-gdb=all
40193 maybe-all-gdb: all-gdb
40194 all-gdb: configure-gdb
40195 @: $(MAKE); $(unstage)
40196 @r=`${PWD_COMMAND}`; export r; \
40197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40198 $(HOST_EXPORTS) \
40199 (cd $(HOST_SUBDIR)/gdb && \
40200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
40201 $(TARGET-gdb))
40202 @endif gdb
40207 .PHONY: check-gdb maybe-check-gdb
40208 maybe-check-gdb:
40209 @if gdb
40210 maybe-check-gdb: check-gdb
40212 check-gdb:
40213 @: $(MAKE); $(unstage)
40214 @r=`${PWD_COMMAND}`; export r; \
40215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40216 $(HOST_EXPORTS) \
40217 (cd $(HOST_SUBDIR)/gdb && \
40218 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
40220 @endif gdb
40222 .PHONY: install-gdb maybe-install-gdb
40223 maybe-install-gdb:
40224 @if gdb
40225 maybe-install-gdb: install-gdb
40227 install-gdb: installdirs
40228 @: $(MAKE); $(unstage)
40229 @r=`${PWD_COMMAND}`; export r; \
40230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40231 $(HOST_EXPORTS) \
40232 (cd $(HOST_SUBDIR)/gdb && \
40233 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
40235 @endif gdb
40237 # Other targets (info, dvi, pdf, etc.)
40239 .PHONY: maybe-info-gdb info-gdb
40240 maybe-info-gdb:
40241 @if gdb
40242 maybe-info-gdb: info-gdb
40244 info-gdb: \
40245 configure-gdb
40246 @: $(MAKE); $(unstage)
40247 @[ -f ./gdb/Makefile ] || exit 0; \
40248 r=`${PWD_COMMAND}`; export r; \
40249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40250 $(HOST_EXPORTS) \
40251 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40253 done; \
40254 echo "Doing info in gdb" ; \
40255 (cd $(HOST_SUBDIR)/gdb && \
40256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40258 "RANLIB=$${RANLIB}" \
40259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40260 info) \
40261 || exit 1
40263 @endif gdb
40265 .PHONY: maybe-dvi-gdb dvi-gdb
40266 maybe-dvi-gdb:
40267 @if gdb
40268 maybe-dvi-gdb: dvi-gdb
40270 dvi-gdb: \
40271 configure-gdb
40272 @: $(MAKE); $(unstage)
40273 @[ -f ./gdb/Makefile ] || exit 0; \
40274 r=`${PWD_COMMAND}`; export r; \
40275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40276 $(HOST_EXPORTS) \
40277 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40279 done; \
40280 echo "Doing dvi in gdb" ; \
40281 (cd $(HOST_SUBDIR)/gdb && \
40282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40284 "RANLIB=$${RANLIB}" \
40285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40286 dvi) \
40287 || exit 1
40289 @endif gdb
40291 .PHONY: maybe-pdf-gdb pdf-gdb
40292 maybe-pdf-gdb:
40293 @if gdb
40294 maybe-pdf-gdb: pdf-gdb
40296 pdf-gdb: \
40297 configure-gdb
40298 @: $(MAKE); $(unstage)
40299 @[ -f ./gdb/Makefile ] || exit 0; \
40300 r=`${PWD_COMMAND}`; export r; \
40301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40302 $(HOST_EXPORTS) \
40303 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40305 done; \
40306 echo "Doing pdf in gdb" ; \
40307 (cd $(HOST_SUBDIR)/gdb && \
40308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40310 "RANLIB=$${RANLIB}" \
40311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40312 pdf) \
40313 || exit 1
40315 @endif gdb
40317 .PHONY: maybe-html-gdb html-gdb
40318 maybe-html-gdb:
40319 @if gdb
40320 maybe-html-gdb: html-gdb
40322 html-gdb: \
40323 configure-gdb
40324 @: $(MAKE); $(unstage)
40325 @[ -f ./gdb/Makefile ] || exit 0; \
40326 r=`${PWD_COMMAND}`; export r; \
40327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40328 $(HOST_EXPORTS) \
40329 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40331 done; \
40332 echo "Doing html in gdb" ; \
40333 (cd $(HOST_SUBDIR)/gdb && \
40334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40336 "RANLIB=$${RANLIB}" \
40337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40338 html) \
40339 || exit 1
40341 @endif gdb
40343 .PHONY: maybe-TAGS-gdb TAGS-gdb
40344 maybe-TAGS-gdb:
40345 @if gdb
40346 maybe-TAGS-gdb: TAGS-gdb
40348 TAGS-gdb: \
40349 configure-gdb
40350 @: $(MAKE); $(unstage)
40351 @[ -f ./gdb/Makefile ] || exit 0; \
40352 r=`${PWD_COMMAND}`; export r; \
40353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40354 $(HOST_EXPORTS) \
40355 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40357 done; \
40358 echo "Doing TAGS in gdb" ; \
40359 (cd $(HOST_SUBDIR)/gdb && \
40360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40362 "RANLIB=$${RANLIB}" \
40363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40364 TAGS) \
40365 || exit 1
40367 @endif gdb
40369 .PHONY: maybe-install-info-gdb install-info-gdb
40370 maybe-install-info-gdb:
40371 @if gdb
40372 maybe-install-info-gdb: install-info-gdb
40374 install-info-gdb: \
40375 configure-gdb \
40376 info-gdb
40377 @: $(MAKE); $(unstage)
40378 @[ -f ./gdb/Makefile ] || exit 0; \
40379 r=`${PWD_COMMAND}`; export r; \
40380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40381 $(HOST_EXPORTS) \
40382 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40384 done; \
40385 echo "Doing install-info in gdb" ; \
40386 (cd $(HOST_SUBDIR)/gdb && \
40387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40389 "RANLIB=$${RANLIB}" \
40390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40391 install-info) \
40392 || exit 1
40394 @endif gdb
40396 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
40397 maybe-install-pdf-gdb:
40398 @if gdb
40399 maybe-install-pdf-gdb: install-pdf-gdb
40401 install-pdf-gdb: \
40402 configure-gdb \
40403 pdf-gdb
40404 @: $(MAKE); $(unstage)
40405 @[ -f ./gdb/Makefile ] || exit 0; \
40406 r=`${PWD_COMMAND}`; export r; \
40407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40408 $(HOST_EXPORTS) \
40409 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40411 done; \
40412 echo "Doing install-pdf in gdb" ; \
40413 (cd $(HOST_SUBDIR)/gdb && \
40414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40416 "RANLIB=$${RANLIB}" \
40417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40418 install-pdf) \
40419 || exit 1
40421 @endif gdb
40423 .PHONY: maybe-install-html-gdb install-html-gdb
40424 maybe-install-html-gdb:
40425 @if gdb
40426 maybe-install-html-gdb: install-html-gdb
40428 install-html-gdb: \
40429 configure-gdb \
40430 html-gdb
40431 @: $(MAKE); $(unstage)
40432 @[ -f ./gdb/Makefile ] || exit 0; \
40433 r=`${PWD_COMMAND}`; export r; \
40434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40435 $(HOST_EXPORTS) \
40436 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40438 done; \
40439 echo "Doing install-html in gdb" ; \
40440 (cd $(HOST_SUBDIR)/gdb && \
40441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40443 "RANLIB=$${RANLIB}" \
40444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40445 install-html) \
40446 || exit 1
40448 @endif gdb
40450 .PHONY: maybe-installcheck-gdb installcheck-gdb
40451 maybe-installcheck-gdb:
40452 @if gdb
40453 maybe-installcheck-gdb: installcheck-gdb
40455 installcheck-gdb: \
40456 configure-gdb
40457 @: $(MAKE); $(unstage)
40458 @[ -f ./gdb/Makefile ] || exit 0; \
40459 r=`${PWD_COMMAND}`; export r; \
40460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40461 $(HOST_EXPORTS) \
40462 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40464 done; \
40465 echo "Doing installcheck in gdb" ; \
40466 (cd $(HOST_SUBDIR)/gdb && \
40467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40469 "RANLIB=$${RANLIB}" \
40470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40471 installcheck) \
40472 || exit 1
40474 @endif gdb
40476 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
40477 maybe-mostlyclean-gdb:
40478 @if gdb
40479 maybe-mostlyclean-gdb: mostlyclean-gdb
40481 mostlyclean-gdb:
40482 @: $(MAKE); $(unstage)
40483 @[ -f ./gdb/Makefile ] || exit 0; \
40484 r=`${PWD_COMMAND}`; export r; \
40485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40486 $(HOST_EXPORTS) \
40487 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40489 done; \
40490 echo "Doing mostlyclean in gdb" ; \
40491 (cd $(HOST_SUBDIR)/gdb && \
40492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40494 "RANLIB=$${RANLIB}" \
40495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40496 mostlyclean) \
40497 || exit 1
40499 @endif gdb
40501 .PHONY: maybe-clean-gdb clean-gdb
40502 maybe-clean-gdb:
40503 @if gdb
40504 maybe-clean-gdb: clean-gdb
40506 clean-gdb:
40507 @: $(MAKE); $(unstage)
40508 @[ -f ./gdb/Makefile ] || exit 0; \
40509 r=`${PWD_COMMAND}`; export r; \
40510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40511 $(HOST_EXPORTS) \
40512 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40514 done; \
40515 echo "Doing clean in gdb" ; \
40516 (cd $(HOST_SUBDIR)/gdb && \
40517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40519 "RANLIB=$${RANLIB}" \
40520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40521 clean) \
40522 || exit 1
40524 @endif gdb
40526 .PHONY: maybe-distclean-gdb distclean-gdb
40527 maybe-distclean-gdb:
40528 @if gdb
40529 maybe-distclean-gdb: distclean-gdb
40531 distclean-gdb:
40532 @: $(MAKE); $(unstage)
40533 @[ -f ./gdb/Makefile ] || exit 0; \
40534 r=`${PWD_COMMAND}`; export r; \
40535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40536 $(HOST_EXPORTS) \
40537 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40539 done; \
40540 echo "Doing distclean in gdb" ; \
40541 (cd $(HOST_SUBDIR)/gdb && \
40542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40544 "RANLIB=$${RANLIB}" \
40545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40546 distclean) \
40547 || exit 1
40549 @endif gdb
40551 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
40552 maybe-maintainer-clean-gdb:
40553 @if gdb
40554 maybe-maintainer-clean-gdb: maintainer-clean-gdb
40556 maintainer-clean-gdb:
40557 @: $(MAKE); $(unstage)
40558 @[ -f ./gdb/Makefile ] || exit 0; \
40559 r=`${PWD_COMMAND}`; export r; \
40560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40561 $(HOST_EXPORTS) \
40562 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40564 done; \
40565 echo "Doing maintainer-clean in gdb" ; \
40566 (cd $(HOST_SUBDIR)/gdb && \
40567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40569 "RANLIB=$${RANLIB}" \
40570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40571 maintainer-clean) \
40572 || exit 1
40574 @endif gdb
40578 .PHONY: configure-expect maybe-configure-expect
40579 maybe-configure-expect:
40580 @if gcc-bootstrap
40581 configure-expect: stage_current
40582 @endif gcc-bootstrap
40583 @if expect
40584 maybe-configure-expect: configure-expect
40585 configure-expect:
40586 @: $(MAKE); $(unstage)
40587 @r=`${PWD_COMMAND}`; export r; \
40588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40589 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
40590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
40591 $(HOST_EXPORTS) \
40592 echo Configuring in $(HOST_SUBDIR)/expect; \
40593 cd "$(HOST_SUBDIR)/expect" || exit 1; \
40594 case $(srcdir) in \
40595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40596 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
40597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40598 esac; \
40599 srcdiroption="--srcdir=$${topdir}/expect"; \
40600 libsrcdir="$$s/expect"; \
40601 $(SHELL) $${libsrcdir}/configure \
40602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40603 --target=${target_alias} $${srcdiroption} \
40604 || exit 1
40605 @endif expect
40611 .PHONY: all-expect maybe-all-expect
40612 maybe-all-expect:
40613 @if gcc-bootstrap
40614 all-expect: stage_current
40615 @endif gcc-bootstrap
40616 @if expect
40617 TARGET-expect=all
40618 maybe-all-expect: all-expect
40619 all-expect: configure-expect
40620 @: $(MAKE); $(unstage)
40621 @r=`${PWD_COMMAND}`; export r; \
40622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40623 $(HOST_EXPORTS) \
40624 (cd $(HOST_SUBDIR)/expect && \
40625 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
40626 $(TARGET-expect))
40627 @endif expect
40632 .PHONY: check-expect maybe-check-expect
40633 maybe-check-expect:
40634 @if expect
40635 maybe-check-expect: check-expect
40637 check-expect:
40638 @: $(MAKE); $(unstage)
40639 @r=`${PWD_COMMAND}`; export r; \
40640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40641 $(HOST_EXPORTS) \
40642 (cd $(HOST_SUBDIR)/expect && \
40643 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
40645 @endif expect
40647 .PHONY: install-expect maybe-install-expect
40648 maybe-install-expect:
40649 @if expect
40650 maybe-install-expect: install-expect
40652 install-expect: installdirs
40653 @: $(MAKE); $(unstage)
40654 @r=`${PWD_COMMAND}`; export r; \
40655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40656 $(HOST_EXPORTS) \
40657 (cd $(HOST_SUBDIR)/expect && \
40658 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
40660 @endif expect
40662 # Other targets (info, dvi, pdf, etc.)
40664 .PHONY: maybe-info-expect info-expect
40665 maybe-info-expect:
40666 @if expect
40667 maybe-info-expect: info-expect
40669 info-expect: \
40670 configure-expect
40671 @: $(MAKE); $(unstage)
40672 @[ -f ./expect/Makefile ] || exit 0; \
40673 r=`${PWD_COMMAND}`; export r; \
40674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40675 $(HOST_EXPORTS) \
40676 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40678 done; \
40679 echo "Doing info in expect" ; \
40680 (cd $(HOST_SUBDIR)/expect && \
40681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40683 "RANLIB=$${RANLIB}" \
40684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40685 info) \
40686 || exit 1
40688 @endif expect
40690 .PHONY: maybe-dvi-expect dvi-expect
40691 maybe-dvi-expect:
40692 @if expect
40693 maybe-dvi-expect: dvi-expect
40695 dvi-expect: \
40696 configure-expect
40697 @: $(MAKE); $(unstage)
40698 @[ -f ./expect/Makefile ] || exit 0; \
40699 r=`${PWD_COMMAND}`; export r; \
40700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40701 $(HOST_EXPORTS) \
40702 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40704 done; \
40705 echo "Doing dvi in expect" ; \
40706 (cd $(HOST_SUBDIR)/expect && \
40707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40709 "RANLIB=$${RANLIB}" \
40710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40711 dvi) \
40712 || exit 1
40714 @endif expect
40716 .PHONY: maybe-pdf-expect pdf-expect
40717 maybe-pdf-expect:
40718 @if expect
40719 maybe-pdf-expect: pdf-expect
40721 pdf-expect: \
40722 configure-expect
40723 @: $(MAKE); $(unstage)
40724 @[ -f ./expect/Makefile ] || exit 0; \
40725 r=`${PWD_COMMAND}`; export r; \
40726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40727 $(HOST_EXPORTS) \
40728 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40730 done; \
40731 echo "Doing pdf in expect" ; \
40732 (cd $(HOST_SUBDIR)/expect && \
40733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40735 "RANLIB=$${RANLIB}" \
40736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40737 pdf) \
40738 || exit 1
40740 @endif expect
40742 .PHONY: maybe-html-expect html-expect
40743 maybe-html-expect:
40744 @if expect
40745 maybe-html-expect: html-expect
40747 html-expect: \
40748 configure-expect
40749 @: $(MAKE); $(unstage)
40750 @[ -f ./expect/Makefile ] || exit 0; \
40751 r=`${PWD_COMMAND}`; export r; \
40752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40753 $(HOST_EXPORTS) \
40754 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40756 done; \
40757 echo "Doing html in expect" ; \
40758 (cd $(HOST_SUBDIR)/expect && \
40759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40761 "RANLIB=$${RANLIB}" \
40762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40763 html) \
40764 || exit 1
40766 @endif expect
40768 .PHONY: maybe-TAGS-expect TAGS-expect
40769 maybe-TAGS-expect:
40770 @if expect
40771 maybe-TAGS-expect: TAGS-expect
40773 TAGS-expect: \
40774 configure-expect
40775 @: $(MAKE); $(unstage)
40776 @[ -f ./expect/Makefile ] || exit 0; \
40777 r=`${PWD_COMMAND}`; export r; \
40778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40779 $(HOST_EXPORTS) \
40780 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40782 done; \
40783 echo "Doing TAGS in expect" ; \
40784 (cd $(HOST_SUBDIR)/expect && \
40785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40787 "RANLIB=$${RANLIB}" \
40788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40789 TAGS) \
40790 || exit 1
40792 @endif expect
40794 .PHONY: maybe-install-info-expect install-info-expect
40795 maybe-install-info-expect:
40796 @if expect
40797 maybe-install-info-expect: install-info-expect
40799 install-info-expect: \
40800 configure-expect \
40801 info-expect
40802 @: $(MAKE); $(unstage)
40803 @[ -f ./expect/Makefile ] || exit 0; \
40804 r=`${PWD_COMMAND}`; export r; \
40805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40806 $(HOST_EXPORTS) \
40807 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40809 done; \
40810 echo "Doing install-info in expect" ; \
40811 (cd $(HOST_SUBDIR)/expect && \
40812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40814 "RANLIB=$${RANLIB}" \
40815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40816 install-info) \
40817 || exit 1
40819 @endif expect
40821 .PHONY: maybe-install-pdf-expect install-pdf-expect
40822 maybe-install-pdf-expect:
40823 @if expect
40824 maybe-install-pdf-expect: install-pdf-expect
40826 install-pdf-expect: \
40827 configure-expect \
40828 pdf-expect
40829 @: $(MAKE); $(unstage)
40830 @[ -f ./expect/Makefile ] || exit 0; \
40831 r=`${PWD_COMMAND}`; export r; \
40832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40833 $(HOST_EXPORTS) \
40834 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40836 done; \
40837 echo "Doing install-pdf in expect" ; \
40838 (cd $(HOST_SUBDIR)/expect && \
40839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40841 "RANLIB=$${RANLIB}" \
40842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40843 install-pdf) \
40844 || exit 1
40846 @endif expect
40848 .PHONY: maybe-install-html-expect install-html-expect
40849 maybe-install-html-expect:
40850 @if expect
40851 maybe-install-html-expect: install-html-expect
40853 install-html-expect: \
40854 configure-expect \
40855 html-expect
40856 @: $(MAKE); $(unstage)
40857 @[ -f ./expect/Makefile ] || exit 0; \
40858 r=`${PWD_COMMAND}`; export r; \
40859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40860 $(HOST_EXPORTS) \
40861 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40863 done; \
40864 echo "Doing install-html in expect" ; \
40865 (cd $(HOST_SUBDIR)/expect && \
40866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40868 "RANLIB=$${RANLIB}" \
40869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40870 install-html) \
40871 || exit 1
40873 @endif expect
40875 .PHONY: maybe-installcheck-expect installcheck-expect
40876 maybe-installcheck-expect:
40877 @if expect
40878 maybe-installcheck-expect: installcheck-expect
40880 installcheck-expect: \
40881 configure-expect
40882 @: $(MAKE); $(unstage)
40883 @[ -f ./expect/Makefile ] || exit 0; \
40884 r=`${PWD_COMMAND}`; export r; \
40885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40886 $(HOST_EXPORTS) \
40887 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40889 done; \
40890 echo "Doing installcheck in expect" ; \
40891 (cd $(HOST_SUBDIR)/expect && \
40892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40894 "RANLIB=$${RANLIB}" \
40895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40896 installcheck) \
40897 || exit 1
40899 @endif expect
40901 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
40902 maybe-mostlyclean-expect:
40903 @if expect
40904 maybe-mostlyclean-expect: mostlyclean-expect
40906 mostlyclean-expect:
40907 @: $(MAKE); $(unstage)
40908 @[ -f ./expect/Makefile ] || exit 0; \
40909 r=`${PWD_COMMAND}`; export r; \
40910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40911 $(HOST_EXPORTS) \
40912 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40914 done; \
40915 echo "Doing mostlyclean in expect" ; \
40916 (cd $(HOST_SUBDIR)/expect && \
40917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40919 "RANLIB=$${RANLIB}" \
40920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40921 mostlyclean) \
40922 || exit 1
40924 @endif expect
40926 .PHONY: maybe-clean-expect clean-expect
40927 maybe-clean-expect:
40928 @if expect
40929 maybe-clean-expect: clean-expect
40931 clean-expect:
40932 @: $(MAKE); $(unstage)
40933 @[ -f ./expect/Makefile ] || exit 0; \
40934 r=`${PWD_COMMAND}`; export r; \
40935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40936 $(HOST_EXPORTS) \
40937 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40939 done; \
40940 echo "Doing clean in expect" ; \
40941 (cd $(HOST_SUBDIR)/expect && \
40942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40944 "RANLIB=$${RANLIB}" \
40945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40946 clean) \
40947 || exit 1
40949 @endif expect
40951 .PHONY: maybe-distclean-expect distclean-expect
40952 maybe-distclean-expect:
40953 @if expect
40954 maybe-distclean-expect: distclean-expect
40956 distclean-expect:
40957 @: $(MAKE); $(unstage)
40958 @[ -f ./expect/Makefile ] || exit 0; \
40959 r=`${PWD_COMMAND}`; export r; \
40960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40961 $(HOST_EXPORTS) \
40962 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40964 done; \
40965 echo "Doing distclean in expect" ; \
40966 (cd $(HOST_SUBDIR)/expect && \
40967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40969 "RANLIB=$${RANLIB}" \
40970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40971 distclean) \
40972 || exit 1
40974 @endif expect
40976 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
40977 maybe-maintainer-clean-expect:
40978 @if expect
40979 maybe-maintainer-clean-expect: maintainer-clean-expect
40981 maintainer-clean-expect:
40982 @: $(MAKE); $(unstage)
40983 @[ -f ./expect/Makefile ] || exit 0; \
40984 r=`${PWD_COMMAND}`; export r; \
40985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40986 $(HOST_EXPORTS) \
40987 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40989 done; \
40990 echo "Doing maintainer-clean in expect" ; \
40991 (cd $(HOST_SUBDIR)/expect && \
40992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40994 "RANLIB=$${RANLIB}" \
40995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40996 maintainer-clean) \
40997 || exit 1
40999 @endif expect
41003 .PHONY: configure-guile maybe-configure-guile
41004 maybe-configure-guile:
41005 @if gcc-bootstrap
41006 configure-guile: stage_current
41007 @endif gcc-bootstrap
41008 @if guile
41009 maybe-configure-guile: configure-guile
41010 configure-guile:
41011 @: $(MAKE); $(unstage)
41012 @r=`${PWD_COMMAND}`; export r; \
41013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41014 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
41015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
41016 $(HOST_EXPORTS) \
41017 echo Configuring in $(HOST_SUBDIR)/guile; \
41018 cd "$(HOST_SUBDIR)/guile" || exit 1; \
41019 case $(srcdir) in \
41020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41021 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
41022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41023 esac; \
41024 srcdiroption="--srcdir=$${topdir}/guile"; \
41025 libsrcdir="$$s/guile"; \
41026 $(SHELL) $${libsrcdir}/configure \
41027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41028 --target=${target_alias} $${srcdiroption} \
41029 || exit 1
41030 @endif guile
41036 .PHONY: all-guile maybe-all-guile
41037 maybe-all-guile:
41038 @if gcc-bootstrap
41039 all-guile: stage_current
41040 @endif gcc-bootstrap
41041 @if guile
41042 TARGET-guile=all
41043 maybe-all-guile: all-guile
41044 all-guile: configure-guile
41045 @: $(MAKE); $(unstage)
41046 @r=`${PWD_COMMAND}`; export r; \
41047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41048 $(HOST_EXPORTS) \
41049 (cd $(HOST_SUBDIR)/guile && \
41050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
41051 $(TARGET-guile))
41052 @endif guile
41057 .PHONY: check-guile maybe-check-guile
41058 maybe-check-guile:
41059 @if guile
41060 maybe-check-guile: check-guile
41062 check-guile:
41063 @: $(MAKE); $(unstage)
41064 @r=`${PWD_COMMAND}`; export r; \
41065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41066 $(HOST_EXPORTS) \
41067 (cd $(HOST_SUBDIR)/guile && \
41068 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
41070 @endif guile
41072 .PHONY: install-guile maybe-install-guile
41073 maybe-install-guile:
41074 @if guile
41075 maybe-install-guile: install-guile
41077 install-guile: installdirs
41078 @: $(MAKE); $(unstage)
41079 @r=`${PWD_COMMAND}`; export r; \
41080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41081 $(HOST_EXPORTS) \
41082 (cd $(HOST_SUBDIR)/guile && \
41083 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
41085 @endif guile
41087 # Other targets (info, dvi, pdf, etc.)
41089 .PHONY: maybe-info-guile info-guile
41090 maybe-info-guile:
41091 @if guile
41092 maybe-info-guile: info-guile
41094 info-guile: \
41095 configure-guile
41096 @: $(MAKE); $(unstage)
41097 @[ -f ./guile/Makefile ] || exit 0; \
41098 r=`${PWD_COMMAND}`; export r; \
41099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41100 $(HOST_EXPORTS) \
41101 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41103 done; \
41104 echo "Doing info in guile" ; \
41105 (cd $(HOST_SUBDIR)/guile && \
41106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41108 "RANLIB=$${RANLIB}" \
41109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41110 info) \
41111 || exit 1
41113 @endif guile
41115 .PHONY: maybe-dvi-guile dvi-guile
41116 maybe-dvi-guile:
41117 @if guile
41118 maybe-dvi-guile: dvi-guile
41120 dvi-guile: \
41121 configure-guile
41122 @: $(MAKE); $(unstage)
41123 @[ -f ./guile/Makefile ] || exit 0; \
41124 r=`${PWD_COMMAND}`; export r; \
41125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41126 $(HOST_EXPORTS) \
41127 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41129 done; \
41130 echo "Doing dvi in guile" ; \
41131 (cd $(HOST_SUBDIR)/guile && \
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}" "WINDMC=$${WINDMC}" \
41136 dvi) \
41137 || exit 1
41139 @endif guile
41141 .PHONY: maybe-pdf-guile pdf-guile
41142 maybe-pdf-guile:
41143 @if guile
41144 maybe-pdf-guile: pdf-guile
41146 pdf-guile: \
41147 configure-guile
41148 @: $(MAKE); $(unstage)
41149 @[ -f ./guile/Makefile ] || exit 0; \
41150 r=`${PWD_COMMAND}`; export r; \
41151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41152 $(HOST_EXPORTS) \
41153 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41155 done; \
41156 echo "Doing pdf in guile" ; \
41157 (cd $(HOST_SUBDIR)/guile && \
41158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41160 "RANLIB=$${RANLIB}" \
41161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41162 pdf) \
41163 || exit 1
41165 @endif guile
41167 .PHONY: maybe-html-guile html-guile
41168 maybe-html-guile:
41169 @if guile
41170 maybe-html-guile: html-guile
41172 html-guile: \
41173 configure-guile
41174 @: $(MAKE); $(unstage)
41175 @[ -f ./guile/Makefile ] || exit 0; \
41176 r=`${PWD_COMMAND}`; export r; \
41177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41178 $(HOST_EXPORTS) \
41179 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41181 done; \
41182 echo "Doing html in guile" ; \
41183 (cd $(HOST_SUBDIR)/guile && \
41184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41186 "RANLIB=$${RANLIB}" \
41187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41188 html) \
41189 || exit 1
41191 @endif guile
41193 .PHONY: maybe-TAGS-guile TAGS-guile
41194 maybe-TAGS-guile:
41195 @if guile
41196 maybe-TAGS-guile: TAGS-guile
41198 TAGS-guile: \
41199 configure-guile
41200 @: $(MAKE); $(unstage)
41201 @[ -f ./guile/Makefile ] || exit 0; \
41202 r=`${PWD_COMMAND}`; export r; \
41203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41204 $(HOST_EXPORTS) \
41205 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41207 done; \
41208 echo "Doing TAGS in guile" ; \
41209 (cd $(HOST_SUBDIR)/guile && \
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}" "WINDMC=$${WINDMC}" \
41214 TAGS) \
41215 || exit 1
41217 @endif guile
41219 .PHONY: maybe-install-info-guile install-info-guile
41220 maybe-install-info-guile:
41221 @if guile
41222 maybe-install-info-guile: install-info-guile
41224 install-info-guile: \
41225 configure-guile \
41226 info-guile
41227 @: $(MAKE); $(unstage)
41228 @[ -f ./guile/Makefile ] || exit 0; \
41229 r=`${PWD_COMMAND}`; export r; \
41230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41231 $(HOST_EXPORTS) \
41232 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41234 done; \
41235 echo "Doing install-info in guile" ; \
41236 (cd $(HOST_SUBDIR)/guile && \
41237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41239 "RANLIB=$${RANLIB}" \
41240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41241 install-info) \
41242 || exit 1
41244 @endif guile
41246 .PHONY: maybe-install-pdf-guile install-pdf-guile
41247 maybe-install-pdf-guile:
41248 @if guile
41249 maybe-install-pdf-guile: install-pdf-guile
41251 install-pdf-guile: \
41252 configure-guile \
41253 pdf-guile
41254 @: $(MAKE); $(unstage)
41255 @[ -f ./guile/Makefile ] || exit 0; \
41256 r=`${PWD_COMMAND}`; export r; \
41257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41258 $(HOST_EXPORTS) \
41259 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41261 done; \
41262 echo "Doing install-pdf in guile" ; \
41263 (cd $(HOST_SUBDIR)/guile && \
41264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41266 "RANLIB=$${RANLIB}" \
41267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41268 install-pdf) \
41269 || exit 1
41271 @endif guile
41273 .PHONY: maybe-install-html-guile install-html-guile
41274 maybe-install-html-guile:
41275 @if guile
41276 maybe-install-html-guile: install-html-guile
41278 install-html-guile: \
41279 configure-guile \
41280 html-guile
41281 @: $(MAKE); $(unstage)
41282 @[ -f ./guile/Makefile ] || exit 0; \
41283 r=`${PWD_COMMAND}`; export r; \
41284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41285 $(HOST_EXPORTS) \
41286 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41288 done; \
41289 echo "Doing install-html in guile" ; \
41290 (cd $(HOST_SUBDIR)/guile && \
41291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41293 "RANLIB=$${RANLIB}" \
41294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41295 install-html) \
41296 || exit 1
41298 @endif guile
41300 .PHONY: maybe-installcheck-guile installcheck-guile
41301 maybe-installcheck-guile:
41302 @if guile
41303 maybe-installcheck-guile: installcheck-guile
41305 installcheck-guile: \
41306 configure-guile
41307 @: $(MAKE); $(unstage)
41308 @[ -f ./guile/Makefile ] || exit 0; \
41309 r=`${PWD_COMMAND}`; export r; \
41310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41311 $(HOST_EXPORTS) \
41312 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41314 done; \
41315 echo "Doing installcheck in guile" ; \
41316 (cd $(HOST_SUBDIR)/guile && \
41317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41319 "RANLIB=$${RANLIB}" \
41320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41321 installcheck) \
41322 || exit 1
41324 @endif guile
41326 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
41327 maybe-mostlyclean-guile:
41328 @if guile
41329 maybe-mostlyclean-guile: mostlyclean-guile
41331 mostlyclean-guile:
41332 @: $(MAKE); $(unstage)
41333 @[ -f ./guile/Makefile ] || exit 0; \
41334 r=`${PWD_COMMAND}`; export r; \
41335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41336 $(HOST_EXPORTS) \
41337 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41339 done; \
41340 echo "Doing mostlyclean in guile" ; \
41341 (cd $(HOST_SUBDIR)/guile && \
41342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41344 "RANLIB=$${RANLIB}" \
41345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41346 mostlyclean) \
41347 || exit 1
41349 @endif guile
41351 .PHONY: maybe-clean-guile clean-guile
41352 maybe-clean-guile:
41353 @if guile
41354 maybe-clean-guile: clean-guile
41356 clean-guile:
41357 @: $(MAKE); $(unstage)
41358 @[ -f ./guile/Makefile ] || exit 0; \
41359 r=`${PWD_COMMAND}`; export r; \
41360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41361 $(HOST_EXPORTS) \
41362 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41364 done; \
41365 echo "Doing clean in guile" ; \
41366 (cd $(HOST_SUBDIR)/guile && \
41367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41369 "RANLIB=$${RANLIB}" \
41370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41371 clean) \
41372 || exit 1
41374 @endif guile
41376 .PHONY: maybe-distclean-guile distclean-guile
41377 maybe-distclean-guile:
41378 @if guile
41379 maybe-distclean-guile: distclean-guile
41381 distclean-guile:
41382 @: $(MAKE); $(unstage)
41383 @[ -f ./guile/Makefile ] || exit 0; \
41384 r=`${PWD_COMMAND}`; export r; \
41385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41386 $(HOST_EXPORTS) \
41387 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41389 done; \
41390 echo "Doing distclean in guile" ; \
41391 (cd $(HOST_SUBDIR)/guile && \
41392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41394 "RANLIB=$${RANLIB}" \
41395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41396 distclean) \
41397 || exit 1
41399 @endif guile
41401 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
41402 maybe-maintainer-clean-guile:
41403 @if guile
41404 maybe-maintainer-clean-guile: maintainer-clean-guile
41406 maintainer-clean-guile:
41407 @: $(MAKE); $(unstage)
41408 @[ -f ./guile/Makefile ] || exit 0; \
41409 r=`${PWD_COMMAND}`; export r; \
41410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41411 $(HOST_EXPORTS) \
41412 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41414 done; \
41415 echo "Doing maintainer-clean in guile" ; \
41416 (cd $(HOST_SUBDIR)/guile && \
41417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41419 "RANLIB=$${RANLIB}" \
41420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41421 maintainer-clean) \
41422 || exit 1
41424 @endif guile
41428 .PHONY: configure-tk maybe-configure-tk
41429 maybe-configure-tk:
41430 @if gcc-bootstrap
41431 configure-tk: stage_current
41432 @endif gcc-bootstrap
41433 @if tk
41434 maybe-configure-tk: configure-tk
41435 configure-tk:
41436 @: $(MAKE); $(unstage)
41437 @r=`${PWD_COMMAND}`; export r; \
41438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41439 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
41440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
41441 $(HOST_EXPORTS) \
41442 echo Configuring in $(HOST_SUBDIR)/tk; \
41443 cd "$(HOST_SUBDIR)/tk" || exit 1; \
41444 case $(srcdir) in \
41445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41446 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
41447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41448 esac; \
41449 srcdiroption="--srcdir=$${topdir}/tk"; \
41450 libsrcdir="$$s/tk"; \
41451 $(SHELL) $${libsrcdir}/configure \
41452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41453 --target=${target_alias} $${srcdiroption} \
41454 || exit 1
41455 @endif tk
41461 .PHONY: all-tk maybe-all-tk
41462 maybe-all-tk:
41463 @if gcc-bootstrap
41464 all-tk: stage_current
41465 @endif gcc-bootstrap
41466 @if tk
41467 TARGET-tk=all
41468 maybe-all-tk: all-tk
41469 all-tk: configure-tk
41470 @: $(MAKE); $(unstage)
41471 @r=`${PWD_COMMAND}`; export r; \
41472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41473 $(HOST_EXPORTS) \
41474 (cd $(HOST_SUBDIR)/tk && \
41475 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
41476 $(TARGET-tk))
41477 @endif tk
41482 .PHONY: check-tk maybe-check-tk
41483 maybe-check-tk:
41484 @if tk
41485 maybe-check-tk: check-tk
41487 check-tk:
41488 @: $(MAKE); $(unstage)
41489 @r=`${PWD_COMMAND}`; export r; \
41490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41491 $(HOST_EXPORTS) \
41492 (cd $(HOST_SUBDIR)/tk && \
41493 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
41495 @endif tk
41497 .PHONY: install-tk maybe-install-tk
41498 maybe-install-tk:
41499 @if tk
41500 maybe-install-tk: install-tk
41502 install-tk: installdirs
41503 @: $(MAKE); $(unstage)
41504 @r=`${PWD_COMMAND}`; export r; \
41505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41506 $(HOST_EXPORTS) \
41507 (cd $(HOST_SUBDIR)/tk && \
41508 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
41510 @endif tk
41512 # Other targets (info, dvi, pdf, etc.)
41514 .PHONY: maybe-info-tk info-tk
41515 maybe-info-tk:
41516 @if tk
41517 maybe-info-tk: info-tk
41519 info-tk: \
41520 configure-tk
41521 @: $(MAKE); $(unstage)
41522 @[ -f ./tk/Makefile ] || exit 0; \
41523 r=`${PWD_COMMAND}`; export r; \
41524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41525 $(HOST_EXPORTS) \
41526 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41528 done; \
41529 echo "Doing info in tk" ; \
41530 (cd $(HOST_SUBDIR)/tk && \
41531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41533 "RANLIB=$${RANLIB}" \
41534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41535 info) \
41536 || exit 1
41538 @endif tk
41540 .PHONY: maybe-dvi-tk dvi-tk
41541 maybe-dvi-tk:
41542 @if tk
41543 maybe-dvi-tk: dvi-tk
41545 dvi-tk: \
41546 configure-tk
41547 @: $(MAKE); $(unstage)
41548 @[ -f ./tk/Makefile ] || exit 0; \
41549 r=`${PWD_COMMAND}`; export r; \
41550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41551 $(HOST_EXPORTS) \
41552 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41554 done; \
41555 echo "Doing dvi in tk" ; \
41556 (cd $(HOST_SUBDIR)/tk && \
41557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41559 "RANLIB=$${RANLIB}" \
41560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41561 dvi) \
41562 || exit 1
41564 @endif tk
41566 .PHONY: maybe-pdf-tk pdf-tk
41567 maybe-pdf-tk:
41568 @if tk
41569 maybe-pdf-tk: pdf-tk
41571 pdf-tk: \
41572 configure-tk
41573 @: $(MAKE); $(unstage)
41574 @[ -f ./tk/Makefile ] || exit 0; \
41575 r=`${PWD_COMMAND}`; export r; \
41576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41577 $(HOST_EXPORTS) \
41578 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41580 done; \
41581 echo "Doing pdf in tk" ; \
41582 (cd $(HOST_SUBDIR)/tk && \
41583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41585 "RANLIB=$${RANLIB}" \
41586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41587 pdf) \
41588 || exit 1
41590 @endif tk
41592 .PHONY: maybe-html-tk html-tk
41593 maybe-html-tk:
41594 @if tk
41595 maybe-html-tk: html-tk
41597 html-tk: \
41598 configure-tk
41599 @: $(MAKE); $(unstage)
41600 @[ -f ./tk/Makefile ] || exit 0; \
41601 r=`${PWD_COMMAND}`; export r; \
41602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41603 $(HOST_EXPORTS) \
41604 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41606 done; \
41607 echo "Doing html in tk" ; \
41608 (cd $(HOST_SUBDIR)/tk && \
41609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41611 "RANLIB=$${RANLIB}" \
41612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41613 html) \
41614 || exit 1
41616 @endif tk
41618 .PHONY: maybe-TAGS-tk TAGS-tk
41619 maybe-TAGS-tk:
41620 @if tk
41621 maybe-TAGS-tk: TAGS-tk
41623 TAGS-tk: \
41624 configure-tk
41625 @: $(MAKE); $(unstage)
41626 @[ -f ./tk/Makefile ] || exit 0; \
41627 r=`${PWD_COMMAND}`; export r; \
41628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41629 $(HOST_EXPORTS) \
41630 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41632 done; \
41633 echo "Doing TAGS in tk" ; \
41634 (cd $(HOST_SUBDIR)/tk && \
41635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41637 "RANLIB=$${RANLIB}" \
41638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41639 TAGS) \
41640 || exit 1
41642 @endif tk
41644 .PHONY: maybe-install-info-tk install-info-tk
41645 maybe-install-info-tk:
41646 @if tk
41647 maybe-install-info-tk: install-info-tk
41649 install-info-tk: \
41650 configure-tk \
41651 info-tk
41652 @: $(MAKE); $(unstage)
41653 @[ -f ./tk/Makefile ] || exit 0; \
41654 r=`${PWD_COMMAND}`; export r; \
41655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41656 $(HOST_EXPORTS) \
41657 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41659 done; \
41660 echo "Doing install-info in tk" ; \
41661 (cd $(HOST_SUBDIR)/tk && \
41662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41664 "RANLIB=$${RANLIB}" \
41665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41666 install-info) \
41667 || exit 1
41669 @endif tk
41671 .PHONY: maybe-install-pdf-tk install-pdf-tk
41672 maybe-install-pdf-tk:
41673 @if tk
41674 maybe-install-pdf-tk: install-pdf-tk
41676 install-pdf-tk: \
41677 configure-tk \
41678 pdf-tk
41679 @: $(MAKE); $(unstage)
41680 @[ -f ./tk/Makefile ] || exit 0; \
41681 r=`${PWD_COMMAND}`; export r; \
41682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41683 $(HOST_EXPORTS) \
41684 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41686 done; \
41687 echo "Doing install-pdf in tk" ; \
41688 (cd $(HOST_SUBDIR)/tk && \
41689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41691 "RANLIB=$${RANLIB}" \
41692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41693 install-pdf) \
41694 || exit 1
41696 @endif tk
41698 .PHONY: maybe-install-html-tk install-html-tk
41699 maybe-install-html-tk:
41700 @if tk
41701 maybe-install-html-tk: install-html-tk
41703 install-html-tk: \
41704 configure-tk \
41705 html-tk
41706 @: $(MAKE); $(unstage)
41707 @[ -f ./tk/Makefile ] || exit 0; \
41708 r=`${PWD_COMMAND}`; export r; \
41709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41710 $(HOST_EXPORTS) \
41711 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41713 done; \
41714 echo "Doing install-html in tk" ; \
41715 (cd $(HOST_SUBDIR)/tk && \
41716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41718 "RANLIB=$${RANLIB}" \
41719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41720 install-html) \
41721 || exit 1
41723 @endif tk
41725 .PHONY: maybe-installcheck-tk installcheck-tk
41726 maybe-installcheck-tk:
41727 @if tk
41728 maybe-installcheck-tk: installcheck-tk
41730 installcheck-tk: \
41731 configure-tk
41732 @: $(MAKE); $(unstage)
41733 @[ -f ./tk/Makefile ] || exit 0; \
41734 r=`${PWD_COMMAND}`; export r; \
41735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41736 $(HOST_EXPORTS) \
41737 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41739 done; \
41740 echo "Doing installcheck in tk" ; \
41741 (cd $(HOST_SUBDIR)/tk && \
41742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41744 "RANLIB=$${RANLIB}" \
41745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41746 installcheck) \
41747 || exit 1
41749 @endif tk
41751 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
41752 maybe-mostlyclean-tk:
41753 @if tk
41754 maybe-mostlyclean-tk: mostlyclean-tk
41756 mostlyclean-tk:
41757 @: $(MAKE); $(unstage)
41758 @[ -f ./tk/Makefile ] || exit 0; \
41759 r=`${PWD_COMMAND}`; export r; \
41760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41761 $(HOST_EXPORTS) \
41762 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41764 done; \
41765 echo "Doing mostlyclean in tk" ; \
41766 (cd $(HOST_SUBDIR)/tk && \
41767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41769 "RANLIB=$${RANLIB}" \
41770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41771 mostlyclean) \
41772 || exit 1
41774 @endif tk
41776 .PHONY: maybe-clean-tk clean-tk
41777 maybe-clean-tk:
41778 @if tk
41779 maybe-clean-tk: clean-tk
41781 clean-tk:
41782 @: $(MAKE); $(unstage)
41783 @[ -f ./tk/Makefile ] || exit 0; \
41784 r=`${PWD_COMMAND}`; export r; \
41785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41786 $(HOST_EXPORTS) \
41787 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41789 done; \
41790 echo "Doing clean in tk" ; \
41791 (cd $(HOST_SUBDIR)/tk && \
41792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41794 "RANLIB=$${RANLIB}" \
41795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41796 clean) \
41797 || exit 1
41799 @endif tk
41801 .PHONY: maybe-distclean-tk distclean-tk
41802 maybe-distclean-tk:
41803 @if tk
41804 maybe-distclean-tk: distclean-tk
41806 distclean-tk:
41807 @: $(MAKE); $(unstage)
41808 @[ -f ./tk/Makefile ] || exit 0; \
41809 r=`${PWD_COMMAND}`; export r; \
41810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41811 $(HOST_EXPORTS) \
41812 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41814 done; \
41815 echo "Doing distclean in tk" ; \
41816 (cd $(HOST_SUBDIR)/tk && \
41817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41819 "RANLIB=$${RANLIB}" \
41820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41821 distclean) \
41822 || exit 1
41824 @endif tk
41826 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
41827 maybe-maintainer-clean-tk:
41828 @if tk
41829 maybe-maintainer-clean-tk: maintainer-clean-tk
41831 maintainer-clean-tk:
41832 @: $(MAKE); $(unstage)
41833 @[ -f ./tk/Makefile ] || exit 0; \
41834 r=`${PWD_COMMAND}`; export r; \
41835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41836 $(HOST_EXPORTS) \
41837 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41839 done; \
41840 echo "Doing maintainer-clean in tk" ; \
41841 (cd $(HOST_SUBDIR)/tk && \
41842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41844 "RANLIB=$${RANLIB}" \
41845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41846 maintainer-clean) \
41847 || exit 1
41849 @endif tk
41853 .PHONY: configure-libtermcap maybe-configure-libtermcap
41854 maybe-configure-libtermcap:
41855 @if gcc-bootstrap
41856 configure-libtermcap: stage_current
41857 @endif gcc-bootstrap
41858 @if libtermcap
41859 maybe-configure-libtermcap: configure-libtermcap
41860 configure-libtermcap:
41861 @: $(MAKE); $(unstage)
41862 @r=`${PWD_COMMAND}`; export r; \
41863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41864 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
41865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
41866 $(HOST_EXPORTS) \
41867 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
41868 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
41869 case $(srcdir) in \
41870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41871 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
41872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41873 esac; \
41874 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
41875 libsrcdir="$$s/libtermcap"; \
41876 $(SHELL) $${libsrcdir}/configure \
41877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41878 --target=${target_alias} $${srcdiroption} \
41879 || exit 1
41880 @endif libtermcap
41886 .PHONY: all-libtermcap maybe-all-libtermcap
41887 maybe-all-libtermcap:
41888 @if gcc-bootstrap
41889 all-libtermcap: stage_current
41890 @endif gcc-bootstrap
41891 @if libtermcap
41892 TARGET-libtermcap=all
41893 maybe-all-libtermcap: all-libtermcap
41894 all-libtermcap: configure-libtermcap
41895 @: $(MAKE); $(unstage)
41896 @r=`${PWD_COMMAND}`; export r; \
41897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41898 $(HOST_EXPORTS) \
41899 (cd $(HOST_SUBDIR)/libtermcap && \
41900 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
41901 $(TARGET-libtermcap))
41902 @endif libtermcap
41907 .PHONY: check-libtermcap maybe-check-libtermcap
41908 maybe-check-libtermcap:
41909 @if libtermcap
41910 maybe-check-libtermcap: check-libtermcap
41912 check-libtermcap:
41914 @endif libtermcap
41916 .PHONY: install-libtermcap maybe-install-libtermcap
41917 maybe-install-libtermcap:
41918 @if libtermcap
41919 maybe-install-libtermcap: install-libtermcap
41921 install-libtermcap: installdirs
41922 @: $(MAKE); $(unstage)
41923 @r=`${PWD_COMMAND}`; export r; \
41924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41925 $(HOST_EXPORTS) \
41926 (cd $(HOST_SUBDIR)/libtermcap && \
41927 $(MAKE) $(FLAGS_TO_PASS) install)
41929 @endif libtermcap
41931 # Other targets (info, dvi, pdf, etc.)
41933 .PHONY: maybe-info-libtermcap info-libtermcap
41934 maybe-info-libtermcap:
41935 @if libtermcap
41936 maybe-info-libtermcap: info-libtermcap
41938 info-libtermcap: \
41939 configure-libtermcap
41940 @: $(MAKE); $(unstage)
41941 @[ -f ./libtermcap/Makefile ] || exit 0; \
41942 r=`${PWD_COMMAND}`; export r; \
41943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41944 $(HOST_EXPORTS) \
41945 for flag in $(EXTRA_HOST_FLAGS) ; do \
41946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41947 done; \
41948 echo "Doing info in libtermcap" ; \
41949 (cd $(HOST_SUBDIR)/libtermcap && \
41950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41952 "RANLIB=$${RANLIB}" \
41953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41954 info) \
41955 || exit 1
41957 @endif libtermcap
41959 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
41960 maybe-dvi-libtermcap:
41961 @if libtermcap
41962 maybe-dvi-libtermcap: dvi-libtermcap
41964 dvi-libtermcap: \
41965 configure-libtermcap
41966 @: $(MAKE); $(unstage)
41967 @[ -f ./libtermcap/Makefile ] || exit 0; \
41968 r=`${PWD_COMMAND}`; export r; \
41969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41970 $(HOST_EXPORTS) \
41971 for flag in $(EXTRA_HOST_FLAGS) ; do \
41972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41973 done; \
41974 echo "Doing dvi in libtermcap" ; \
41975 (cd $(HOST_SUBDIR)/libtermcap && \
41976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41978 "RANLIB=$${RANLIB}" \
41979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41980 dvi) \
41981 || exit 1
41983 @endif libtermcap
41985 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
41986 maybe-pdf-libtermcap:
41987 @if libtermcap
41988 maybe-pdf-libtermcap: pdf-libtermcap
41990 pdf-libtermcap: \
41991 configure-libtermcap
41992 @: $(MAKE); $(unstage)
41993 @[ -f ./libtermcap/Makefile ] || exit 0; \
41994 r=`${PWD_COMMAND}`; export r; \
41995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41996 $(HOST_EXPORTS) \
41997 for flag in $(EXTRA_HOST_FLAGS) ; do \
41998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41999 done; \
42000 echo "Doing pdf in libtermcap" ; \
42001 (cd $(HOST_SUBDIR)/libtermcap && \
42002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42004 "RANLIB=$${RANLIB}" \
42005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42006 pdf) \
42007 || exit 1
42009 @endif libtermcap
42011 .PHONY: maybe-html-libtermcap html-libtermcap
42012 maybe-html-libtermcap:
42013 @if libtermcap
42014 maybe-html-libtermcap: html-libtermcap
42016 html-libtermcap: \
42017 configure-libtermcap
42018 @: $(MAKE); $(unstage)
42019 @[ -f ./libtermcap/Makefile ] || exit 0; \
42020 r=`${PWD_COMMAND}`; export r; \
42021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42022 $(HOST_EXPORTS) \
42023 for flag in $(EXTRA_HOST_FLAGS) ; do \
42024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42025 done; \
42026 echo "Doing html in libtermcap" ; \
42027 (cd $(HOST_SUBDIR)/libtermcap && \
42028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42030 "RANLIB=$${RANLIB}" \
42031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42032 html) \
42033 || exit 1
42035 @endif libtermcap
42037 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
42038 maybe-TAGS-libtermcap:
42039 @if libtermcap
42040 maybe-TAGS-libtermcap: TAGS-libtermcap
42042 TAGS-libtermcap: \
42043 configure-libtermcap
42044 @: $(MAKE); $(unstage)
42045 @[ -f ./libtermcap/Makefile ] || exit 0; \
42046 r=`${PWD_COMMAND}`; export r; \
42047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42048 $(HOST_EXPORTS) \
42049 for flag in $(EXTRA_HOST_FLAGS) ; do \
42050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42051 done; \
42052 echo "Doing TAGS in libtermcap" ; \
42053 (cd $(HOST_SUBDIR)/libtermcap && \
42054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42056 "RANLIB=$${RANLIB}" \
42057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42058 TAGS) \
42059 || exit 1
42061 @endif libtermcap
42063 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
42064 maybe-install-info-libtermcap:
42065 @if libtermcap
42066 maybe-install-info-libtermcap: install-info-libtermcap
42068 install-info-libtermcap: \
42069 configure-libtermcap \
42070 info-libtermcap
42071 @: $(MAKE); $(unstage)
42072 @[ -f ./libtermcap/Makefile ] || exit 0; \
42073 r=`${PWD_COMMAND}`; export r; \
42074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42075 $(HOST_EXPORTS) \
42076 for flag in $(EXTRA_HOST_FLAGS) ; do \
42077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42078 done; \
42079 echo "Doing install-info in libtermcap" ; \
42080 (cd $(HOST_SUBDIR)/libtermcap && \
42081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42083 "RANLIB=$${RANLIB}" \
42084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42085 install-info) \
42086 || exit 1
42088 @endif libtermcap
42090 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
42091 maybe-install-pdf-libtermcap:
42092 @if libtermcap
42093 maybe-install-pdf-libtermcap: install-pdf-libtermcap
42095 install-pdf-libtermcap: \
42096 configure-libtermcap \
42097 pdf-libtermcap
42098 @: $(MAKE); $(unstage)
42099 @[ -f ./libtermcap/Makefile ] || exit 0; \
42100 r=`${PWD_COMMAND}`; export r; \
42101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42102 $(HOST_EXPORTS) \
42103 for flag in $(EXTRA_HOST_FLAGS) ; do \
42104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42105 done; \
42106 echo "Doing install-pdf in libtermcap" ; \
42107 (cd $(HOST_SUBDIR)/libtermcap && \
42108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42110 "RANLIB=$${RANLIB}" \
42111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42112 install-pdf) \
42113 || exit 1
42115 @endif libtermcap
42117 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
42118 maybe-install-html-libtermcap:
42119 @if libtermcap
42120 maybe-install-html-libtermcap: install-html-libtermcap
42122 install-html-libtermcap: \
42123 configure-libtermcap \
42124 html-libtermcap
42125 @: $(MAKE); $(unstage)
42126 @[ -f ./libtermcap/Makefile ] || exit 0; \
42127 r=`${PWD_COMMAND}`; export r; \
42128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42129 $(HOST_EXPORTS) \
42130 for flag in $(EXTRA_HOST_FLAGS) ; do \
42131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42132 done; \
42133 echo "Doing install-html in libtermcap" ; \
42134 (cd $(HOST_SUBDIR)/libtermcap && \
42135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42137 "RANLIB=$${RANLIB}" \
42138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42139 install-html) \
42140 || exit 1
42142 @endif libtermcap
42144 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
42145 maybe-installcheck-libtermcap:
42146 @if libtermcap
42147 maybe-installcheck-libtermcap: installcheck-libtermcap
42149 installcheck-libtermcap: \
42150 configure-libtermcap
42151 @: $(MAKE); $(unstage)
42152 @[ -f ./libtermcap/Makefile ] || exit 0; \
42153 r=`${PWD_COMMAND}`; export r; \
42154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42155 $(HOST_EXPORTS) \
42156 for flag in $(EXTRA_HOST_FLAGS) ; do \
42157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42158 done; \
42159 echo "Doing installcheck in libtermcap" ; \
42160 (cd $(HOST_SUBDIR)/libtermcap && \
42161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42163 "RANLIB=$${RANLIB}" \
42164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42165 installcheck) \
42166 || exit 1
42168 @endif libtermcap
42170 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
42171 maybe-mostlyclean-libtermcap:
42172 @if libtermcap
42173 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
42175 # libtermcap doesn't support mostlyclean.
42176 mostlyclean-libtermcap:
42178 @endif libtermcap
42180 .PHONY: maybe-clean-libtermcap clean-libtermcap
42181 maybe-clean-libtermcap:
42182 @if libtermcap
42183 maybe-clean-libtermcap: clean-libtermcap
42185 # libtermcap doesn't support clean.
42186 clean-libtermcap:
42188 @endif libtermcap
42190 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
42191 maybe-distclean-libtermcap:
42192 @if libtermcap
42193 maybe-distclean-libtermcap: distclean-libtermcap
42195 # libtermcap doesn't support distclean.
42196 distclean-libtermcap:
42198 @endif libtermcap
42200 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
42201 maybe-maintainer-clean-libtermcap:
42202 @if libtermcap
42203 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
42205 # libtermcap doesn't support maintainer-clean.
42206 maintainer-clean-libtermcap:
42208 @endif libtermcap
42212 .PHONY: configure-utils maybe-configure-utils
42213 maybe-configure-utils:
42214 @if gcc-bootstrap
42215 configure-utils: stage_current
42216 @endif gcc-bootstrap
42217 @if utils
42218 maybe-configure-utils: configure-utils
42219 configure-utils:
42220 @: $(MAKE); $(unstage)
42221 @r=`${PWD_COMMAND}`; export r; \
42222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42223 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
42224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
42225 $(HOST_EXPORTS) \
42226 echo Configuring in $(HOST_SUBDIR)/utils; \
42227 cd "$(HOST_SUBDIR)/utils" || exit 1; \
42228 case $(srcdir) in \
42229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42230 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
42231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42232 esac; \
42233 srcdiroption="--srcdir=$${topdir}/utils"; \
42234 libsrcdir="$$s/utils"; \
42235 $(SHELL) $${libsrcdir}/configure \
42236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42237 --target=${target_alias} $${srcdiroption} \
42238 || exit 1
42239 @endif utils
42245 .PHONY: all-utils maybe-all-utils
42246 maybe-all-utils:
42247 @if gcc-bootstrap
42248 all-utils: stage_current
42249 @endif gcc-bootstrap
42250 @if utils
42251 TARGET-utils=all
42252 maybe-all-utils: all-utils
42253 all-utils: configure-utils
42254 @: $(MAKE); $(unstage)
42255 @r=`${PWD_COMMAND}`; export r; \
42256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42257 $(HOST_EXPORTS) \
42258 (cd $(HOST_SUBDIR)/utils && \
42259 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
42260 $(TARGET-utils))
42261 @endif utils
42266 .PHONY: check-utils maybe-check-utils
42267 maybe-check-utils:
42268 @if utils
42269 maybe-check-utils: check-utils
42271 check-utils:
42273 @endif utils
42275 .PHONY: install-utils maybe-install-utils
42276 maybe-install-utils:
42277 @if utils
42278 maybe-install-utils: install-utils
42280 install-utils: installdirs
42281 @: $(MAKE); $(unstage)
42282 @r=`${PWD_COMMAND}`; export r; \
42283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42284 $(HOST_EXPORTS) \
42285 (cd $(HOST_SUBDIR)/utils && \
42286 $(MAKE) $(FLAGS_TO_PASS) install)
42288 @endif utils
42290 # Other targets (info, dvi, pdf, etc.)
42292 .PHONY: maybe-info-utils info-utils
42293 maybe-info-utils:
42294 @if utils
42295 maybe-info-utils: info-utils
42297 info-utils: \
42298 configure-utils
42299 @: $(MAKE); $(unstage)
42300 @[ -f ./utils/Makefile ] || exit 0; \
42301 r=`${PWD_COMMAND}`; export r; \
42302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42303 $(HOST_EXPORTS) \
42304 for flag in $(EXTRA_HOST_FLAGS) ; do \
42305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42306 done; \
42307 echo "Doing info in utils" ; \
42308 (cd $(HOST_SUBDIR)/utils && \
42309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42311 "RANLIB=$${RANLIB}" \
42312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42313 info) \
42314 || exit 1
42316 @endif utils
42318 .PHONY: maybe-dvi-utils dvi-utils
42319 maybe-dvi-utils:
42320 @if utils
42321 maybe-dvi-utils: dvi-utils
42323 dvi-utils: \
42324 configure-utils
42325 @: $(MAKE); $(unstage)
42326 @[ -f ./utils/Makefile ] || exit 0; \
42327 r=`${PWD_COMMAND}`; export r; \
42328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42329 $(HOST_EXPORTS) \
42330 for flag in $(EXTRA_HOST_FLAGS) ; do \
42331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42332 done; \
42333 echo "Doing dvi in utils" ; \
42334 (cd $(HOST_SUBDIR)/utils && \
42335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42337 "RANLIB=$${RANLIB}" \
42338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42339 dvi) \
42340 || exit 1
42342 @endif utils
42344 .PHONY: maybe-pdf-utils pdf-utils
42345 maybe-pdf-utils:
42346 @if utils
42347 maybe-pdf-utils: pdf-utils
42349 pdf-utils: \
42350 configure-utils
42351 @: $(MAKE); $(unstage)
42352 @[ -f ./utils/Makefile ] || exit 0; \
42353 r=`${PWD_COMMAND}`; export r; \
42354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42355 $(HOST_EXPORTS) \
42356 for flag in $(EXTRA_HOST_FLAGS) ; do \
42357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42358 done; \
42359 echo "Doing pdf in utils" ; \
42360 (cd $(HOST_SUBDIR)/utils && \
42361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42363 "RANLIB=$${RANLIB}" \
42364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42365 pdf) \
42366 || exit 1
42368 @endif utils
42370 .PHONY: maybe-html-utils html-utils
42371 maybe-html-utils:
42372 @if utils
42373 maybe-html-utils: html-utils
42375 html-utils: \
42376 configure-utils
42377 @: $(MAKE); $(unstage)
42378 @[ -f ./utils/Makefile ] || exit 0; \
42379 r=`${PWD_COMMAND}`; export r; \
42380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42381 $(HOST_EXPORTS) \
42382 for flag in $(EXTRA_HOST_FLAGS) ; do \
42383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42384 done; \
42385 echo "Doing html in utils" ; \
42386 (cd $(HOST_SUBDIR)/utils && \
42387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42389 "RANLIB=$${RANLIB}" \
42390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42391 html) \
42392 || exit 1
42394 @endif utils
42396 .PHONY: maybe-TAGS-utils TAGS-utils
42397 maybe-TAGS-utils:
42398 @if utils
42399 maybe-TAGS-utils: TAGS-utils
42401 TAGS-utils: \
42402 configure-utils
42403 @: $(MAKE); $(unstage)
42404 @[ -f ./utils/Makefile ] || exit 0; \
42405 r=`${PWD_COMMAND}`; export r; \
42406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42407 $(HOST_EXPORTS) \
42408 for flag in $(EXTRA_HOST_FLAGS) ; do \
42409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42410 done; \
42411 echo "Doing TAGS in utils" ; \
42412 (cd $(HOST_SUBDIR)/utils && \
42413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42415 "RANLIB=$${RANLIB}" \
42416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42417 TAGS) \
42418 || exit 1
42420 @endif utils
42422 .PHONY: maybe-install-info-utils install-info-utils
42423 maybe-install-info-utils:
42424 @if utils
42425 maybe-install-info-utils: install-info-utils
42427 install-info-utils: \
42428 configure-utils \
42429 info-utils
42430 @: $(MAKE); $(unstage)
42431 @[ -f ./utils/Makefile ] || exit 0; \
42432 r=`${PWD_COMMAND}`; export r; \
42433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42434 $(HOST_EXPORTS) \
42435 for flag in $(EXTRA_HOST_FLAGS) ; do \
42436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42437 done; \
42438 echo "Doing install-info in utils" ; \
42439 (cd $(HOST_SUBDIR)/utils && \
42440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42442 "RANLIB=$${RANLIB}" \
42443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42444 install-info) \
42445 || exit 1
42447 @endif utils
42449 .PHONY: maybe-install-pdf-utils install-pdf-utils
42450 maybe-install-pdf-utils:
42451 @if utils
42452 maybe-install-pdf-utils: install-pdf-utils
42454 install-pdf-utils: \
42455 configure-utils \
42456 pdf-utils
42457 @: $(MAKE); $(unstage)
42458 @[ -f ./utils/Makefile ] || exit 0; \
42459 r=`${PWD_COMMAND}`; export r; \
42460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42461 $(HOST_EXPORTS) \
42462 for flag in $(EXTRA_HOST_FLAGS) ; do \
42463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42464 done; \
42465 echo "Doing install-pdf in utils" ; \
42466 (cd $(HOST_SUBDIR)/utils && \
42467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42469 "RANLIB=$${RANLIB}" \
42470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42471 install-pdf) \
42472 || exit 1
42474 @endif utils
42476 .PHONY: maybe-install-html-utils install-html-utils
42477 maybe-install-html-utils:
42478 @if utils
42479 maybe-install-html-utils: install-html-utils
42481 install-html-utils: \
42482 configure-utils \
42483 html-utils
42484 @: $(MAKE); $(unstage)
42485 @[ -f ./utils/Makefile ] || exit 0; \
42486 r=`${PWD_COMMAND}`; export r; \
42487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42488 $(HOST_EXPORTS) \
42489 for flag in $(EXTRA_HOST_FLAGS) ; do \
42490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42491 done; \
42492 echo "Doing install-html in utils" ; \
42493 (cd $(HOST_SUBDIR)/utils && \
42494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42496 "RANLIB=$${RANLIB}" \
42497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42498 install-html) \
42499 || exit 1
42501 @endif utils
42503 .PHONY: maybe-installcheck-utils installcheck-utils
42504 maybe-installcheck-utils:
42505 @if utils
42506 maybe-installcheck-utils: installcheck-utils
42508 installcheck-utils: \
42509 configure-utils
42510 @: $(MAKE); $(unstage)
42511 @[ -f ./utils/Makefile ] || exit 0; \
42512 r=`${PWD_COMMAND}`; export r; \
42513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42514 $(HOST_EXPORTS) \
42515 for flag in $(EXTRA_HOST_FLAGS) ; do \
42516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42517 done; \
42518 echo "Doing installcheck in utils" ; \
42519 (cd $(HOST_SUBDIR)/utils && \
42520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42522 "RANLIB=$${RANLIB}" \
42523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42524 installcheck) \
42525 || exit 1
42527 @endif utils
42529 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
42530 maybe-mostlyclean-utils:
42531 @if utils
42532 maybe-mostlyclean-utils: mostlyclean-utils
42534 mostlyclean-utils:
42535 @: $(MAKE); $(unstage)
42536 @[ -f ./utils/Makefile ] || exit 0; \
42537 r=`${PWD_COMMAND}`; export r; \
42538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42539 $(HOST_EXPORTS) \
42540 for flag in $(EXTRA_HOST_FLAGS) ; do \
42541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42542 done; \
42543 echo "Doing mostlyclean in utils" ; \
42544 (cd $(HOST_SUBDIR)/utils && \
42545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42547 "RANLIB=$${RANLIB}" \
42548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42549 mostlyclean) \
42550 || exit 1
42552 @endif utils
42554 .PHONY: maybe-clean-utils clean-utils
42555 maybe-clean-utils:
42556 @if utils
42557 maybe-clean-utils: clean-utils
42559 clean-utils:
42560 @: $(MAKE); $(unstage)
42561 @[ -f ./utils/Makefile ] || exit 0; \
42562 r=`${PWD_COMMAND}`; export r; \
42563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42564 $(HOST_EXPORTS) \
42565 for flag in $(EXTRA_HOST_FLAGS) ; do \
42566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42567 done; \
42568 echo "Doing clean in utils" ; \
42569 (cd $(HOST_SUBDIR)/utils && \
42570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42572 "RANLIB=$${RANLIB}" \
42573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42574 clean) \
42575 || exit 1
42577 @endif utils
42579 .PHONY: maybe-distclean-utils distclean-utils
42580 maybe-distclean-utils:
42581 @if utils
42582 maybe-distclean-utils: distclean-utils
42584 distclean-utils:
42585 @: $(MAKE); $(unstage)
42586 @[ -f ./utils/Makefile ] || exit 0; \
42587 r=`${PWD_COMMAND}`; export r; \
42588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42589 $(HOST_EXPORTS) \
42590 for flag in $(EXTRA_HOST_FLAGS) ; do \
42591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42592 done; \
42593 echo "Doing distclean in utils" ; \
42594 (cd $(HOST_SUBDIR)/utils && \
42595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42597 "RANLIB=$${RANLIB}" \
42598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42599 distclean) \
42600 || exit 1
42602 @endif utils
42604 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
42605 maybe-maintainer-clean-utils:
42606 @if utils
42607 maybe-maintainer-clean-utils: maintainer-clean-utils
42609 maintainer-clean-utils:
42610 @: $(MAKE); $(unstage)
42611 @[ -f ./utils/Makefile ] || exit 0; \
42612 r=`${PWD_COMMAND}`; export r; \
42613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42614 $(HOST_EXPORTS) \
42615 for flag in $(EXTRA_HOST_FLAGS) ; do \
42616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42617 done; \
42618 echo "Doing maintainer-clean in utils" ; \
42619 (cd $(HOST_SUBDIR)/utils && \
42620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42622 "RANLIB=$${RANLIB}" \
42623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42624 maintainer-clean) \
42625 || exit 1
42627 @endif utils
42631 .PHONY: configure-gnattools maybe-configure-gnattools
42632 maybe-configure-gnattools:
42633 @if gcc-bootstrap
42634 configure-gnattools: stage_current
42635 @endif gcc-bootstrap
42636 @if gnattools
42637 maybe-configure-gnattools: configure-gnattools
42638 configure-gnattools:
42639 @: $(MAKE); $(unstage)
42640 @r=`${PWD_COMMAND}`; export r; \
42641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42642 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
42643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
42644 $(HOST_EXPORTS) \
42645 echo Configuring in $(HOST_SUBDIR)/gnattools; \
42646 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
42647 case $(srcdir) in \
42648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42649 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
42650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42651 esac; \
42652 srcdiroption="--srcdir=$${topdir}/gnattools"; \
42653 libsrcdir="$$s/gnattools"; \
42654 $(SHELL) $${libsrcdir}/configure \
42655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42656 --target=${target_alias} $${srcdiroption} \
42657 || exit 1
42658 @endif gnattools
42664 .PHONY: all-gnattools maybe-all-gnattools
42665 maybe-all-gnattools:
42666 @if gcc-bootstrap
42667 all-gnattools: stage_current
42668 @endif gcc-bootstrap
42669 @if gnattools
42670 TARGET-gnattools=all
42671 maybe-all-gnattools: all-gnattools
42672 all-gnattools: configure-gnattools
42673 @: $(MAKE); $(unstage)
42674 @r=`${PWD_COMMAND}`; export r; \
42675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42676 $(HOST_EXPORTS) \
42677 (cd $(HOST_SUBDIR)/gnattools && \
42678 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
42679 $(TARGET-gnattools))
42680 @endif gnattools
42685 .PHONY: check-gnattools maybe-check-gnattools
42686 maybe-check-gnattools:
42687 @if gnattools
42688 maybe-check-gnattools: check-gnattools
42690 check-gnattools:
42691 @: $(MAKE); $(unstage)
42692 @r=`${PWD_COMMAND}`; export r; \
42693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42694 $(HOST_EXPORTS) \
42695 (cd $(HOST_SUBDIR)/gnattools && \
42696 $(MAKE) $(FLAGS_TO_PASS) check)
42698 @endif gnattools
42700 .PHONY: install-gnattools maybe-install-gnattools
42701 maybe-install-gnattools:
42702 @if gnattools
42703 maybe-install-gnattools: install-gnattools
42705 install-gnattools: installdirs
42706 @: $(MAKE); $(unstage)
42707 @r=`${PWD_COMMAND}`; export r; \
42708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42709 $(HOST_EXPORTS) \
42710 (cd $(HOST_SUBDIR)/gnattools && \
42711 $(MAKE) $(FLAGS_TO_PASS) install)
42713 @endif gnattools
42715 # Other targets (info, dvi, pdf, etc.)
42717 .PHONY: maybe-info-gnattools info-gnattools
42718 maybe-info-gnattools:
42719 @if gnattools
42720 maybe-info-gnattools: info-gnattools
42722 info-gnattools: \
42723 configure-gnattools
42724 @: $(MAKE); $(unstage)
42725 @[ -f ./gnattools/Makefile ] || exit 0; \
42726 r=`${PWD_COMMAND}`; export r; \
42727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42728 $(HOST_EXPORTS) \
42729 for flag in $(EXTRA_HOST_FLAGS) ; do \
42730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42731 done; \
42732 echo "Doing info in gnattools" ; \
42733 (cd $(HOST_SUBDIR)/gnattools && \
42734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42736 "RANLIB=$${RANLIB}" \
42737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42738 info) \
42739 || exit 1
42741 @endif gnattools
42743 .PHONY: maybe-dvi-gnattools dvi-gnattools
42744 maybe-dvi-gnattools:
42745 @if gnattools
42746 maybe-dvi-gnattools: dvi-gnattools
42748 dvi-gnattools: \
42749 configure-gnattools
42750 @: $(MAKE); $(unstage)
42751 @[ -f ./gnattools/Makefile ] || exit 0; \
42752 r=`${PWD_COMMAND}`; export r; \
42753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42754 $(HOST_EXPORTS) \
42755 for flag in $(EXTRA_HOST_FLAGS) ; do \
42756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42757 done; \
42758 echo "Doing dvi in gnattools" ; \
42759 (cd $(HOST_SUBDIR)/gnattools && \
42760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42762 "RANLIB=$${RANLIB}" \
42763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42764 dvi) \
42765 || exit 1
42767 @endif gnattools
42769 .PHONY: maybe-pdf-gnattools pdf-gnattools
42770 maybe-pdf-gnattools:
42771 @if gnattools
42772 maybe-pdf-gnattools: pdf-gnattools
42774 pdf-gnattools: \
42775 configure-gnattools
42776 @: $(MAKE); $(unstage)
42777 @[ -f ./gnattools/Makefile ] || exit 0; \
42778 r=`${PWD_COMMAND}`; export r; \
42779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42780 $(HOST_EXPORTS) \
42781 for flag in $(EXTRA_HOST_FLAGS) ; do \
42782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42783 done; \
42784 echo "Doing pdf in gnattools" ; \
42785 (cd $(HOST_SUBDIR)/gnattools && \
42786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42788 "RANLIB=$${RANLIB}" \
42789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42790 pdf) \
42791 || exit 1
42793 @endif gnattools
42795 .PHONY: maybe-html-gnattools html-gnattools
42796 maybe-html-gnattools:
42797 @if gnattools
42798 maybe-html-gnattools: html-gnattools
42800 html-gnattools: \
42801 configure-gnattools
42802 @: $(MAKE); $(unstage)
42803 @[ -f ./gnattools/Makefile ] || exit 0; \
42804 r=`${PWD_COMMAND}`; export r; \
42805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42806 $(HOST_EXPORTS) \
42807 for flag in $(EXTRA_HOST_FLAGS) ; do \
42808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42809 done; \
42810 echo "Doing html in gnattools" ; \
42811 (cd $(HOST_SUBDIR)/gnattools && \
42812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42814 "RANLIB=$${RANLIB}" \
42815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42816 html) \
42817 || exit 1
42819 @endif gnattools
42821 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
42822 maybe-TAGS-gnattools:
42823 @if gnattools
42824 maybe-TAGS-gnattools: TAGS-gnattools
42826 TAGS-gnattools: \
42827 configure-gnattools
42828 @: $(MAKE); $(unstage)
42829 @[ -f ./gnattools/Makefile ] || exit 0; \
42830 r=`${PWD_COMMAND}`; export r; \
42831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42832 $(HOST_EXPORTS) \
42833 for flag in $(EXTRA_HOST_FLAGS) ; do \
42834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42835 done; \
42836 echo "Doing TAGS in gnattools" ; \
42837 (cd $(HOST_SUBDIR)/gnattools && \
42838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42840 "RANLIB=$${RANLIB}" \
42841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42842 TAGS) \
42843 || exit 1
42845 @endif gnattools
42847 .PHONY: maybe-install-info-gnattools install-info-gnattools
42848 maybe-install-info-gnattools:
42849 @if gnattools
42850 maybe-install-info-gnattools: install-info-gnattools
42852 install-info-gnattools: \
42853 configure-gnattools \
42854 info-gnattools
42855 @: $(MAKE); $(unstage)
42856 @[ -f ./gnattools/Makefile ] || exit 0; \
42857 r=`${PWD_COMMAND}`; export r; \
42858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42859 $(HOST_EXPORTS) \
42860 for flag in $(EXTRA_HOST_FLAGS) ; do \
42861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42862 done; \
42863 echo "Doing install-info in gnattools" ; \
42864 (cd $(HOST_SUBDIR)/gnattools && \
42865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42867 "RANLIB=$${RANLIB}" \
42868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42869 install-info) \
42870 || exit 1
42872 @endif gnattools
42874 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
42875 maybe-install-pdf-gnattools:
42876 @if gnattools
42877 maybe-install-pdf-gnattools: install-pdf-gnattools
42879 install-pdf-gnattools: \
42880 configure-gnattools \
42881 pdf-gnattools
42882 @: $(MAKE); $(unstage)
42883 @[ -f ./gnattools/Makefile ] || exit 0; \
42884 r=`${PWD_COMMAND}`; export r; \
42885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42886 $(HOST_EXPORTS) \
42887 for flag in $(EXTRA_HOST_FLAGS) ; do \
42888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42889 done; \
42890 echo "Doing install-pdf in gnattools" ; \
42891 (cd $(HOST_SUBDIR)/gnattools && \
42892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42894 "RANLIB=$${RANLIB}" \
42895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42896 install-pdf) \
42897 || exit 1
42899 @endif gnattools
42901 .PHONY: maybe-install-html-gnattools install-html-gnattools
42902 maybe-install-html-gnattools:
42903 @if gnattools
42904 maybe-install-html-gnattools: install-html-gnattools
42906 install-html-gnattools: \
42907 configure-gnattools \
42908 html-gnattools
42909 @: $(MAKE); $(unstage)
42910 @[ -f ./gnattools/Makefile ] || exit 0; \
42911 r=`${PWD_COMMAND}`; export r; \
42912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42913 $(HOST_EXPORTS) \
42914 for flag in $(EXTRA_HOST_FLAGS) ; do \
42915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42916 done; \
42917 echo "Doing install-html in gnattools" ; \
42918 (cd $(HOST_SUBDIR)/gnattools && \
42919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42921 "RANLIB=$${RANLIB}" \
42922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42923 install-html) \
42924 || exit 1
42926 @endif gnattools
42928 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
42929 maybe-installcheck-gnattools:
42930 @if gnattools
42931 maybe-installcheck-gnattools: installcheck-gnattools
42933 installcheck-gnattools: \
42934 configure-gnattools
42935 @: $(MAKE); $(unstage)
42936 @[ -f ./gnattools/Makefile ] || exit 0; \
42937 r=`${PWD_COMMAND}`; export r; \
42938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42939 $(HOST_EXPORTS) \
42940 for flag in $(EXTRA_HOST_FLAGS) ; do \
42941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42942 done; \
42943 echo "Doing installcheck in gnattools" ; \
42944 (cd $(HOST_SUBDIR)/gnattools && \
42945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42947 "RANLIB=$${RANLIB}" \
42948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42949 installcheck) \
42950 || exit 1
42952 @endif gnattools
42954 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
42955 maybe-mostlyclean-gnattools:
42956 @if gnattools
42957 maybe-mostlyclean-gnattools: mostlyclean-gnattools
42959 mostlyclean-gnattools:
42960 @: $(MAKE); $(unstage)
42961 @[ -f ./gnattools/Makefile ] || exit 0; \
42962 r=`${PWD_COMMAND}`; export r; \
42963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42964 $(HOST_EXPORTS) \
42965 for flag in $(EXTRA_HOST_FLAGS) ; do \
42966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42967 done; \
42968 echo "Doing mostlyclean in gnattools" ; \
42969 (cd $(HOST_SUBDIR)/gnattools && \
42970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42972 "RANLIB=$${RANLIB}" \
42973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42974 mostlyclean) \
42975 || exit 1
42977 @endif gnattools
42979 .PHONY: maybe-clean-gnattools clean-gnattools
42980 maybe-clean-gnattools:
42981 @if gnattools
42982 maybe-clean-gnattools: clean-gnattools
42984 clean-gnattools:
42985 @: $(MAKE); $(unstage)
42986 @[ -f ./gnattools/Makefile ] || exit 0; \
42987 r=`${PWD_COMMAND}`; export r; \
42988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42989 $(HOST_EXPORTS) \
42990 for flag in $(EXTRA_HOST_FLAGS) ; do \
42991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42992 done; \
42993 echo "Doing clean in gnattools" ; \
42994 (cd $(HOST_SUBDIR)/gnattools && \
42995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42997 "RANLIB=$${RANLIB}" \
42998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42999 clean) \
43000 || exit 1
43002 @endif gnattools
43004 .PHONY: maybe-distclean-gnattools distclean-gnattools
43005 maybe-distclean-gnattools:
43006 @if gnattools
43007 maybe-distclean-gnattools: distclean-gnattools
43009 distclean-gnattools:
43010 @: $(MAKE); $(unstage)
43011 @[ -f ./gnattools/Makefile ] || exit 0; \
43012 r=`${PWD_COMMAND}`; export r; \
43013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43014 $(HOST_EXPORTS) \
43015 for flag in $(EXTRA_HOST_FLAGS) ; do \
43016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43017 done; \
43018 echo "Doing distclean in gnattools" ; \
43019 (cd $(HOST_SUBDIR)/gnattools && \
43020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43022 "RANLIB=$${RANLIB}" \
43023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43024 distclean) \
43025 || exit 1
43027 @endif gnattools
43029 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
43030 maybe-maintainer-clean-gnattools:
43031 @if gnattools
43032 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
43034 maintainer-clean-gnattools:
43035 @: $(MAKE); $(unstage)
43036 @[ -f ./gnattools/Makefile ] || exit 0; \
43037 r=`${PWD_COMMAND}`; export r; \
43038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43039 $(HOST_EXPORTS) \
43040 for flag in $(EXTRA_HOST_FLAGS) ; do \
43041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43042 done; \
43043 echo "Doing maintainer-clean in gnattools" ; \
43044 (cd $(HOST_SUBDIR)/gnattools && \
43045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43047 "RANLIB=$${RANLIB}" \
43048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43049 maintainer-clean) \
43050 || exit 1
43052 @endif gnattools
43056 # ---------------------------------------
43057 # Modules which run on the target machine
43058 # ---------------------------------------
43063 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
43064 maybe-configure-target-libstdc++-v3:
43065 @if gcc-bootstrap
43066 configure-target-libstdc++-v3: stage_current
43067 @endif gcc-bootstrap
43068 @if target-libstdc++-v3
43069 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
43070 configure-target-libstdc++-v3:
43071 @: $(MAKE); $(unstage)
43072 @r=`${PWD_COMMAND}`; export r; \
43073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43074 echo "Checking multilib configuration for libstdc++-v3..."; \
43075 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
43076 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
43077 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43078 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43079 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43080 else \
43081 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43082 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43083 fi; \
43084 else \
43085 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43086 fi; \
43087 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43088 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
43089 $(RAW_CXX_TARGET_EXPORTS) \
43090 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
43091 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
43092 case $(srcdir) in \
43093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43094 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43096 esac; \
43097 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
43098 libsrcdir="$$s/libstdc++-v3"; \
43099 rm -f no-such-file || : ; \
43100 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43101 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43102 --target=${target_alias} $${srcdiroption} \
43103 || exit 1
43104 @endif target-libstdc++-v3
43110 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
43111 maybe-all-target-libstdc++-v3:
43112 @if gcc-bootstrap
43113 all-target-libstdc++-v3: stage_current
43114 @endif gcc-bootstrap
43115 @if target-libstdc++-v3
43116 TARGET-target-libstdc++-v3=all
43117 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
43118 all-target-libstdc++-v3: configure-target-libstdc++-v3
43119 @: $(MAKE); $(unstage)
43120 @r=`${PWD_COMMAND}`; export r; \
43121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43122 $(RAW_CXX_TARGET_EXPORTS) \
43123 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43124 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43125 $(TARGET-target-libstdc++-v3))
43126 @endif target-libstdc++-v3
43132 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
43133 maybe-check-target-libstdc++-v3:
43134 @if target-libstdc++-v3
43135 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
43137 check-target-libstdc++-v3:
43138 @: $(MAKE); $(unstage)
43139 @r=`${PWD_COMMAND}`; export r; \
43140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43141 $(RAW_CXX_TARGET_EXPORTS) \
43142 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43143 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
43145 @endif target-libstdc++-v3
43147 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
43148 maybe-install-target-libstdc++-v3:
43149 @if target-libstdc++-v3
43150 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
43152 install-target-libstdc++-v3: installdirs
43153 @: $(MAKE); $(unstage)
43154 @r=`${PWD_COMMAND}`; export r; \
43155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43156 $(RAW_CXX_TARGET_EXPORTS) \
43157 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43158 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43160 @endif target-libstdc++-v3
43162 # Other targets (info, dvi, pdf, etc.)
43164 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
43165 maybe-info-target-libstdc++-v3:
43166 @if target-libstdc++-v3
43167 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
43169 info-target-libstdc++-v3: \
43170 configure-target-libstdc++-v3
43171 @: $(MAKE); $(unstage)
43172 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43173 r=`${PWD_COMMAND}`; export r; \
43174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43175 $(RAW_CXX_TARGET_EXPORTS) \
43176 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43177 for flag in $(EXTRA_TARGET_FLAGS); do \
43178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43179 done; \
43180 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43183 "RANLIB=$${RANLIB}" \
43184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43185 info) \
43186 || exit 1
43188 @endif target-libstdc++-v3
43190 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
43191 maybe-dvi-target-libstdc++-v3:
43192 @if target-libstdc++-v3
43193 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
43195 dvi-target-libstdc++-v3: \
43196 configure-target-libstdc++-v3
43197 @: $(MAKE); $(unstage)
43198 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43199 r=`${PWD_COMMAND}`; export r; \
43200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43201 $(RAW_CXX_TARGET_EXPORTS) \
43202 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43203 for flag in $(EXTRA_TARGET_FLAGS); do \
43204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43205 done; \
43206 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43209 "RANLIB=$${RANLIB}" \
43210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43211 dvi) \
43212 || exit 1
43214 @endif target-libstdc++-v3
43216 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
43217 maybe-pdf-target-libstdc++-v3:
43218 @if target-libstdc++-v3
43219 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
43221 pdf-target-libstdc++-v3: \
43222 configure-target-libstdc++-v3
43223 @: $(MAKE); $(unstage)
43224 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43225 r=`${PWD_COMMAND}`; export r; \
43226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43227 $(RAW_CXX_TARGET_EXPORTS) \
43228 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43229 for flag in $(EXTRA_TARGET_FLAGS); do \
43230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43231 done; \
43232 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43235 "RANLIB=$${RANLIB}" \
43236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43237 pdf) \
43238 || exit 1
43240 @endif target-libstdc++-v3
43242 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
43243 maybe-html-target-libstdc++-v3:
43244 @if target-libstdc++-v3
43245 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
43247 html-target-libstdc++-v3: \
43248 configure-target-libstdc++-v3
43249 @: $(MAKE); $(unstage)
43250 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43251 r=`${PWD_COMMAND}`; export r; \
43252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43253 $(RAW_CXX_TARGET_EXPORTS) \
43254 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43255 for flag in $(EXTRA_TARGET_FLAGS); do \
43256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43257 done; \
43258 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43261 "RANLIB=$${RANLIB}" \
43262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43263 html) \
43264 || exit 1
43266 @endif target-libstdc++-v3
43268 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
43269 maybe-TAGS-target-libstdc++-v3:
43270 @if target-libstdc++-v3
43271 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
43273 TAGS-target-libstdc++-v3: \
43274 configure-target-libstdc++-v3
43275 @: $(MAKE); $(unstage)
43276 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43277 r=`${PWD_COMMAND}`; export r; \
43278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43279 $(RAW_CXX_TARGET_EXPORTS) \
43280 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43281 for flag in $(EXTRA_TARGET_FLAGS); do \
43282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43283 done; \
43284 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43287 "RANLIB=$${RANLIB}" \
43288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43289 TAGS) \
43290 || exit 1
43292 @endif target-libstdc++-v3
43294 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
43295 maybe-install-info-target-libstdc++-v3:
43296 @if target-libstdc++-v3
43297 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
43299 install-info-target-libstdc++-v3: \
43300 configure-target-libstdc++-v3 \
43301 info-target-libstdc++-v3
43302 @: $(MAKE); $(unstage)
43303 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43304 r=`${PWD_COMMAND}`; export r; \
43305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43306 $(RAW_CXX_TARGET_EXPORTS) \
43307 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43308 for flag in $(EXTRA_TARGET_FLAGS); do \
43309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43310 done; \
43311 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43314 "RANLIB=$${RANLIB}" \
43315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43316 install-info) \
43317 || exit 1
43319 @endif target-libstdc++-v3
43321 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
43322 maybe-install-pdf-target-libstdc++-v3:
43323 @if target-libstdc++-v3
43324 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
43326 install-pdf-target-libstdc++-v3: \
43327 configure-target-libstdc++-v3 \
43328 pdf-target-libstdc++-v3
43329 @: $(MAKE); $(unstage)
43330 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43331 r=`${PWD_COMMAND}`; export r; \
43332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43333 $(RAW_CXX_TARGET_EXPORTS) \
43334 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43335 for flag in $(EXTRA_TARGET_FLAGS); do \
43336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43337 done; \
43338 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43341 "RANLIB=$${RANLIB}" \
43342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43343 install-pdf) \
43344 || exit 1
43346 @endif target-libstdc++-v3
43348 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
43349 maybe-install-html-target-libstdc++-v3:
43350 @if target-libstdc++-v3
43351 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
43353 install-html-target-libstdc++-v3: \
43354 configure-target-libstdc++-v3 \
43355 html-target-libstdc++-v3
43356 @: $(MAKE); $(unstage)
43357 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43358 r=`${PWD_COMMAND}`; export r; \
43359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43360 $(RAW_CXX_TARGET_EXPORTS) \
43361 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43362 for flag in $(EXTRA_TARGET_FLAGS); do \
43363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43364 done; \
43365 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43368 "RANLIB=$${RANLIB}" \
43369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43370 install-html) \
43371 || exit 1
43373 @endif target-libstdc++-v3
43375 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
43376 maybe-installcheck-target-libstdc++-v3:
43377 @if target-libstdc++-v3
43378 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
43380 installcheck-target-libstdc++-v3: \
43381 configure-target-libstdc++-v3
43382 @: $(MAKE); $(unstage)
43383 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43384 r=`${PWD_COMMAND}`; export r; \
43385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43386 $(RAW_CXX_TARGET_EXPORTS) \
43387 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43388 for flag in $(EXTRA_TARGET_FLAGS); do \
43389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43390 done; \
43391 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43394 "RANLIB=$${RANLIB}" \
43395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43396 installcheck) \
43397 || exit 1
43399 @endif target-libstdc++-v3
43401 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
43402 maybe-mostlyclean-target-libstdc++-v3:
43403 @if target-libstdc++-v3
43404 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
43406 mostlyclean-target-libstdc++-v3:
43407 @: $(MAKE); $(unstage)
43408 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43409 r=`${PWD_COMMAND}`; export r; \
43410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43411 $(RAW_CXX_TARGET_EXPORTS) \
43412 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43413 for flag in $(EXTRA_TARGET_FLAGS); do \
43414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43415 done; \
43416 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43419 "RANLIB=$${RANLIB}" \
43420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43421 mostlyclean) \
43422 || exit 1
43424 @endif target-libstdc++-v3
43426 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
43427 maybe-clean-target-libstdc++-v3:
43428 @if target-libstdc++-v3
43429 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
43431 clean-target-libstdc++-v3:
43432 @: $(MAKE); $(unstage)
43433 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43434 r=`${PWD_COMMAND}`; export r; \
43435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43436 $(RAW_CXX_TARGET_EXPORTS) \
43437 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43438 for flag in $(EXTRA_TARGET_FLAGS); do \
43439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43440 done; \
43441 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43444 "RANLIB=$${RANLIB}" \
43445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43446 clean) \
43447 || exit 1
43449 @endif target-libstdc++-v3
43451 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
43452 maybe-distclean-target-libstdc++-v3:
43453 @if target-libstdc++-v3
43454 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
43456 distclean-target-libstdc++-v3:
43457 @: $(MAKE); $(unstage)
43458 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43459 r=`${PWD_COMMAND}`; export r; \
43460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43461 $(RAW_CXX_TARGET_EXPORTS) \
43462 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43463 for flag in $(EXTRA_TARGET_FLAGS); do \
43464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43465 done; \
43466 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43469 "RANLIB=$${RANLIB}" \
43470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43471 distclean) \
43472 || exit 1
43474 @endif target-libstdc++-v3
43476 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
43477 maybe-maintainer-clean-target-libstdc++-v3:
43478 @if target-libstdc++-v3
43479 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
43481 maintainer-clean-target-libstdc++-v3:
43482 @: $(MAKE); $(unstage)
43483 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43484 r=`${PWD_COMMAND}`; export r; \
43485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43486 $(RAW_CXX_TARGET_EXPORTS) \
43487 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43488 for flag in $(EXTRA_TARGET_FLAGS); do \
43489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43490 done; \
43491 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43494 "RANLIB=$${RANLIB}" \
43495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43496 maintainer-clean) \
43497 || exit 1
43499 @endif target-libstdc++-v3
43505 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
43506 maybe-configure-target-libmudflap:
43507 @if gcc-bootstrap
43508 configure-target-libmudflap: stage_current
43509 @endif gcc-bootstrap
43510 @if target-libmudflap
43511 maybe-configure-target-libmudflap: configure-target-libmudflap
43512 configure-target-libmudflap:
43513 @: $(MAKE); $(unstage)
43514 @r=`${PWD_COMMAND}`; export r; \
43515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43516 echo "Checking multilib configuration for libmudflap..."; \
43517 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
43518 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
43519 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
43520 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
43521 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
43522 else \
43523 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
43524 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
43525 fi; \
43526 else \
43527 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
43528 fi; \
43529 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
43530 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
43531 $(NORMAL_TARGET_EXPORTS) \
43532 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
43533 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
43534 case $(srcdir) in \
43535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43536 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
43537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43538 esac; \
43539 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
43540 libsrcdir="$$s/libmudflap"; \
43541 rm -f no-such-file || : ; \
43542 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43543 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43544 --target=${target_alias} $${srcdiroption} \
43545 || exit 1
43546 @endif target-libmudflap
43552 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
43553 maybe-all-target-libmudflap:
43554 @if gcc-bootstrap
43555 all-target-libmudflap: stage_current
43556 @endif gcc-bootstrap
43557 @if target-libmudflap
43558 TARGET-target-libmudflap=all
43559 maybe-all-target-libmudflap: all-target-libmudflap
43560 all-target-libmudflap: configure-target-libmudflap
43561 @: $(MAKE); $(unstage)
43562 @r=`${PWD_COMMAND}`; export r; \
43563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43564 $(NORMAL_TARGET_EXPORTS) \
43565 (cd $(TARGET_SUBDIR)/libmudflap && \
43566 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43567 $(TARGET-target-libmudflap))
43568 @endif target-libmudflap
43574 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
43575 maybe-check-target-libmudflap:
43576 @if target-libmudflap
43577 maybe-check-target-libmudflap: check-target-libmudflap
43579 check-target-libmudflap:
43580 @: $(MAKE); $(unstage)
43581 @r=`${PWD_COMMAND}`; export r; \
43582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43583 $(NORMAL_TARGET_EXPORTS) \
43584 (cd $(TARGET_SUBDIR)/libmudflap && \
43585 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43587 @endif target-libmudflap
43589 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
43590 maybe-install-target-libmudflap:
43591 @if target-libmudflap
43592 maybe-install-target-libmudflap: install-target-libmudflap
43594 install-target-libmudflap: installdirs
43595 @: $(MAKE); $(unstage)
43596 @r=`${PWD_COMMAND}`; export r; \
43597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43598 $(NORMAL_TARGET_EXPORTS) \
43599 (cd $(TARGET_SUBDIR)/libmudflap && \
43600 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43602 @endif target-libmudflap
43604 # Other targets (info, dvi, pdf, etc.)
43606 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
43607 maybe-info-target-libmudflap:
43608 @if target-libmudflap
43609 maybe-info-target-libmudflap: info-target-libmudflap
43611 info-target-libmudflap: \
43612 configure-target-libmudflap
43613 @: $(MAKE); $(unstage)
43614 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43615 r=`${PWD_COMMAND}`; export r; \
43616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43617 $(NORMAL_TARGET_EXPORTS) \
43618 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
43619 for flag in $(EXTRA_TARGET_FLAGS); do \
43620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43621 done; \
43622 (cd $(TARGET_SUBDIR)/libmudflap && \
43623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43625 "RANLIB=$${RANLIB}" \
43626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43627 info) \
43628 || exit 1
43630 @endif target-libmudflap
43632 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
43633 maybe-dvi-target-libmudflap:
43634 @if target-libmudflap
43635 maybe-dvi-target-libmudflap: dvi-target-libmudflap
43637 dvi-target-libmudflap: \
43638 configure-target-libmudflap
43639 @: $(MAKE); $(unstage)
43640 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43641 r=`${PWD_COMMAND}`; export r; \
43642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43643 $(NORMAL_TARGET_EXPORTS) \
43644 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
43645 for flag in $(EXTRA_TARGET_FLAGS); do \
43646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43647 done; \
43648 (cd $(TARGET_SUBDIR)/libmudflap && \
43649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43651 "RANLIB=$${RANLIB}" \
43652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43653 dvi) \
43654 || exit 1
43656 @endif target-libmudflap
43658 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
43659 maybe-pdf-target-libmudflap:
43660 @if target-libmudflap
43661 maybe-pdf-target-libmudflap: pdf-target-libmudflap
43663 pdf-target-libmudflap: \
43664 configure-target-libmudflap
43665 @: $(MAKE); $(unstage)
43666 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43667 r=`${PWD_COMMAND}`; export r; \
43668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43669 $(NORMAL_TARGET_EXPORTS) \
43670 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
43671 for flag in $(EXTRA_TARGET_FLAGS); do \
43672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43673 done; \
43674 (cd $(TARGET_SUBDIR)/libmudflap && \
43675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43677 "RANLIB=$${RANLIB}" \
43678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43679 pdf) \
43680 || exit 1
43682 @endif target-libmudflap
43684 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
43685 maybe-html-target-libmudflap:
43686 @if target-libmudflap
43687 maybe-html-target-libmudflap: html-target-libmudflap
43689 html-target-libmudflap: \
43690 configure-target-libmudflap
43691 @: $(MAKE); $(unstage)
43692 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43693 r=`${PWD_COMMAND}`; export r; \
43694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43695 $(NORMAL_TARGET_EXPORTS) \
43696 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
43697 for flag in $(EXTRA_TARGET_FLAGS); do \
43698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43699 done; \
43700 (cd $(TARGET_SUBDIR)/libmudflap && \
43701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43703 "RANLIB=$${RANLIB}" \
43704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43705 html) \
43706 || exit 1
43708 @endif target-libmudflap
43710 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
43711 maybe-TAGS-target-libmudflap:
43712 @if target-libmudflap
43713 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
43715 TAGS-target-libmudflap: \
43716 configure-target-libmudflap
43717 @: $(MAKE); $(unstage)
43718 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43719 r=`${PWD_COMMAND}`; export r; \
43720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43721 $(NORMAL_TARGET_EXPORTS) \
43722 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
43723 for flag in $(EXTRA_TARGET_FLAGS); do \
43724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43725 done; \
43726 (cd $(TARGET_SUBDIR)/libmudflap && \
43727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43729 "RANLIB=$${RANLIB}" \
43730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43731 TAGS) \
43732 || exit 1
43734 @endif target-libmudflap
43736 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
43737 maybe-install-info-target-libmudflap:
43738 @if target-libmudflap
43739 maybe-install-info-target-libmudflap: install-info-target-libmudflap
43741 install-info-target-libmudflap: \
43742 configure-target-libmudflap \
43743 info-target-libmudflap
43744 @: $(MAKE); $(unstage)
43745 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43746 r=`${PWD_COMMAND}`; export r; \
43747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43748 $(NORMAL_TARGET_EXPORTS) \
43749 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
43750 for flag in $(EXTRA_TARGET_FLAGS); do \
43751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43752 done; \
43753 (cd $(TARGET_SUBDIR)/libmudflap && \
43754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43756 "RANLIB=$${RANLIB}" \
43757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43758 install-info) \
43759 || exit 1
43761 @endif target-libmudflap
43763 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
43764 maybe-install-pdf-target-libmudflap:
43765 @if target-libmudflap
43766 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
43768 install-pdf-target-libmudflap: \
43769 configure-target-libmudflap \
43770 pdf-target-libmudflap
43771 @: $(MAKE); $(unstage)
43772 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43773 r=`${PWD_COMMAND}`; export r; \
43774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43775 $(NORMAL_TARGET_EXPORTS) \
43776 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
43777 for flag in $(EXTRA_TARGET_FLAGS); do \
43778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43779 done; \
43780 (cd $(TARGET_SUBDIR)/libmudflap && \
43781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43783 "RANLIB=$${RANLIB}" \
43784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43785 install-pdf) \
43786 || exit 1
43788 @endif target-libmudflap
43790 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
43791 maybe-install-html-target-libmudflap:
43792 @if target-libmudflap
43793 maybe-install-html-target-libmudflap: install-html-target-libmudflap
43795 install-html-target-libmudflap: \
43796 configure-target-libmudflap \
43797 html-target-libmudflap
43798 @: $(MAKE); $(unstage)
43799 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43800 r=`${PWD_COMMAND}`; export r; \
43801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43802 $(NORMAL_TARGET_EXPORTS) \
43803 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
43804 for flag in $(EXTRA_TARGET_FLAGS); do \
43805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43806 done; \
43807 (cd $(TARGET_SUBDIR)/libmudflap && \
43808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43810 "RANLIB=$${RANLIB}" \
43811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43812 install-html) \
43813 || exit 1
43815 @endif target-libmudflap
43817 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
43818 maybe-installcheck-target-libmudflap:
43819 @if target-libmudflap
43820 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
43822 installcheck-target-libmudflap: \
43823 configure-target-libmudflap
43824 @: $(MAKE); $(unstage)
43825 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43826 r=`${PWD_COMMAND}`; export r; \
43827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43828 $(NORMAL_TARGET_EXPORTS) \
43829 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
43830 for flag in $(EXTRA_TARGET_FLAGS); do \
43831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43832 done; \
43833 (cd $(TARGET_SUBDIR)/libmudflap && \
43834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43836 "RANLIB=$${RANLIB}" \
43837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43838 installcheck) \
43839 || exit 1
43841 @endif target-libmudflap
43843 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
43844 maybe-mostlyclean-target-libmudflap:
43845 @if target-libmudflap
43846 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
43848 mostlyclean-target-libmudflap:
43849 @: $(MAKE); $(unstage)
43850 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43851 r=`${PWD_COMMAND}`; export r; \
43852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43853 $(NORMAL_TARGET_EXPORTS) \
43854 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
43855 for flag in $(EXTRA_TARGET_FLAGS); do \
43856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43857 done; \
43858 (cd $(TARGET_SUBDIR)/libmudflap && \
43859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43861 "RANLIB=$${RANLIB}" \
43862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43863 mostlyclean) \
43864 || exit 1
43866 @endif target-libmudflap
43868 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
43869 maybe-clean-target-libmudflap:
43870 @if target-libmudflap
43871 maybe-clean-target-libmudflap: clean-target-libmudflap
43873 clean-target-libmudflap:
43874 @: $(MAKE); $(unstage)
43875 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43876 r=`${PWD_COMMAND}`; export r; \
43877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43878 $(NORMAL_TARGET_EXPORTS) \
43879 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
43880 for flag in $(EXTRA_TARGET_FLAGS); do \
43881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43882 done; \
43883 (cd $(TARGET_SUBDIR)/libmudflap && \
43884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43886 "RANLIB=$${RANLIB}" \
43887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43888 clean) \
43889 || exit 1
43891 @endif target-libmudflap
43893 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
43894 maybe-distclean-target-libmudflap:
43895 @if target-libmudflap
43896 maybe-distclean-target-libmudflap: distclean-target-libmudflap
43898 distclean-target-libmudflap:
43899 @: $(MAKE); $(unstage)
43900 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43901 r=`${PWD_COMMAND}`; export r; \
43902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43903 $(NORMAL_TARGET_EXPORTS) \
43904 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
43905 for flag in $(EXTRA_TARGET_FLAGS); do \
43906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43907 done; \
43908 (cd $(TARGET_SUBDIR)/libmudflap && \
43909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43911 "RANLIB=$${RANLIB}" \
43912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43913 distclean) \
43914 || exit 1
43916 @endif target-libmudflap
43918 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
43919 maybe-maintainer-clean-target-libmudflap:
43920 @if target-libmudflap
43921 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
43923 maintainer-clean-target-libmudflap:
43924 @: $(MAKE); $(unstage)
43925 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43926 r=`${PWD_COMMAND}`; export r; \
43927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43928 $(NORMAL_TARGET_EXPORTS) \
43929 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
43930 for flag in $(EXTRA_TARGET_FLAGS); do \
43931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43932 done; \
43933 (cd $(TARGET_SUBDIR)/libmudflap && \
43934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43936 "RANLIB=$${RANLIB}" \
43937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43938 maintainer-clean) \
43939 || exit 1
43941 @endif target-libmudflap
43947 .PHONY: configure-target-libssp maybe-configure-target-libssp
43948 maybe-configure-target-libssp:
43949 @if gcc-bootstrap
43950 configure-target-libssp: stage_current
43951 @endif gcc-bootstrap
43952 @if target-libssp
43953 maybe-configure-target-libssp: configure-target-libssp
43954 configure-target-libssp:
43955 @: $(MAKE); $(unstage)
43956 @r=`${PWD_COMMAND}`; export r; \
43957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43958 echo "Checking multilib configuration for libssp..."; \
43959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
43960 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
43961 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
43962 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
43963 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
43964 else \
43965 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
43966 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43967 fi; \
43968 else \
43969 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43970 fi; \
43971 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
43972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
43973 $(NORMAL_TARGET_EXPORTS) \
43974 echo Configuring in $(TARGET_SUBDIR)/libssp; \
43975 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
43976 case $(srcdir) in \
43977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43978 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
43979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43980 esac; \
43981 srcdiroption="--srcdir=$${topdir}/libssp"; \
43982 libsrcdir="$$s/libssp"; \
43983 rm -f no-such-file || : ; \
43984 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43985 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43986 --target=${target_alias} $${srcdiroption} \
43987 || exit 1
43988 @endif target-libssp
43994 .PHONY: all-target-libssp maybe-all-target-libssp
43995 maybe-all-target-libssp:
43996 @if gcc-bootstrap
43997 all-target-libssp: stage_current
43998 @endif gcc-bootstrap
43999 @if target-libssp
44000 TARGET-target-libssp=all
44001 maybe-all-target-libssp: all-target-libssp
44002 all-target-libssp: configure-target-libssp
44003 @: $(MAKE); $(unstage)
44004 @r=`${PWD_COMMAND}`; export r; \
44005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44006 $(NORMAL_TARGET_EXPORTS) \
44007 (cd $(TARGET_SUBDIR)/libssp && \
44008 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44009 $(TARGET-target-libssp))
44010 @endif target-libssp
44016 .PHONY: check-target-libssp maybe-check-target-libssp
44017 maybe-check-target-libssp:
44018 @if target-libssp
44019 maybe-check-target-libssp: check-target-libssp
44021 check-target-libssp:
44022 @: $(MAKE); $(unstage)
44023 @r=`${PWD_COMMAND}`; export r; \
44024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44025 $(NORMAL_TARGET_EXPORTS) \
44026 (cd $(TARGET_SUBDIR)/libssp && \
44027 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44029 @endif target-libssp
44031 .PHONY: install-target-libssp maybe-install-target-libssp
44032 maybe-install-target-libssp:
44033 @if target-libssp
44034 maybe-install-target-libssp: install-target-libssp
44036 install-target-libssp: installdirs
44037 @: $(MAKE); $(unstage)
44038 @r=`${PWD_COMMAND}`; export r; \
44039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44040 $(NORMAL_TARGET_EXPORTS) \
44041 (cd $(TARGET_SUBDIR)/libssp && \
44042 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44044 @endif target-libssp
44046 # Other targets (info, dvi, pdf, etc.)
44048 .PHONY: maybe-info-target-libssp info-target-libssp
44049 maybe-info-target-libssp:
44050 @if target-libssp
44051 maybe-info-target-libssp: info-target-libssp
44053 info-target-libssp: \
44054 configure-target-libssp
44055 @: $(MAKE); $(unstage)
44056 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44057 r=`${PWD_COMMAND}`; export r; \
44058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44059 $(NORMAL_TARGET_EXPORTS) \
44060 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
44061 for flag in $(EXTRA_TARGET_FLAGS); do \
44062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44063 done; \
44064 (cd $(TARGET_SUBDIR)/libssp && \
44065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44067 "RANLIB=$${RANLIB}" \
44068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44069 info) \
44070 || exit 1
44072 @endif target-libssp
44074 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
44075 maybe-dvi-target-libssp:
44076 @if target-libssp
44077 maybe-dvi-target-libssp: dvi-target-libssp
44079 dvi-target-libssp: \
44080 configure-target-libssp
44081 @: $(MAKE); $(unstage)
44082 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44083 r=`${PWD_COMMAND}`; export r; \
44084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44085 $(NORMAL_TARGET_EXPORTS) \
44086 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
44087 for flag in $(EXTRA_TARGET_FLAGS); do \
44088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44089 done; \
44090 (cd $(TARGET_SUBDIR)/libssp && \
44091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44093 "RANLIB=$${RANLIB}" \
44094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44095 dvi) \
44096 || exit 1
44098 @endif target-libssp
44100 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
44101 maybe-pdf-target-libssp:
44102 @if target-libssp
44103 maybe-pdf-target-libssp: pdf-target-libssp
44105 pdf-target-libssp: \
44106 configure-target-libssp
44107 @: $(MAKE); $(unstage)
44108 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44109 r=`${PWD_COMMAND}`; export r; \
44110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44111 $(NORMAL_TARGET_EXPORTS) \
44112 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
44113 for flag in $(EXTRA_TARGET_FLAGS); do \
44114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44115 done; \
44116 (cd $(TARGET_SUBDIR)/libssp && \
44117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44119 "RANLIB=$${RANLIB}" \
44120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44121 pdf) \
44122 || exit 1
44124 @endif target-libssp
44126 .PHONY: maybe-html-target-libssp html-target-libssp
44127 maybe-html-target-libssp:
44128 @if target-libssp
44129 maybe-html-target-libssp: html-target-libssp
44131 html-target-libssp: \
44132 configure-target-libssp
44133 @: $(MAKE); $(unstage)
44134 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44135 r=`${PWD_COMMAND}`; export r; \
44136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44137 $(NORMAL_TARGET_EXPORTS) \
44138 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
44139 for flag in $(EXTRA_TARGET_FLAGS); do \
44140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44141 done; \
44142 (cd $(TARGET_SUBDIR)/libssp && \
44143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44145 "RANLIB=$${RANLIB}" \
44146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44147 html) \
44148 || exit 1
44150 @endif target-libssp
44152 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
44153 maybe-TAGS-target-libssp:
44154 @if target-libssp
44155 maybe-TAGS-target-libssp: TAGS-target-libssp
44157 TAGS-target-libssp: \
44158 configure-target-libssp
44159 @: $(MAKE); $(unstage)
44160 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44161 r=`${PWD_COMMAND}`; export r; \
44162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44163 $(NORMAL_TARGET_EXPORTS) \
44164 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
44165 for flag in $(EXTRA_TARGET_FLAGS); do \
44166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44167 done; \
44168 (cd $(TARGET_SUBDIR)/libssp && \
44169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44171 "RANLIB=$${RANLIB}" \
44172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44173 TAGS) \
44174 || exit 1
44176 @endif target-libssp
44178 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
44179 maybe-install-info-target-libssp:
44180 @if target-libssp
44181 maybe-install-info-target-libssp: install-info-target-libssp
44183 install-info-target-libssp: \
44184 configure-target-libssp \
44185 info-target-libssp
44186 @: $(MAKE); $(unstage)
44187 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44188 r=`${PWD_COMMAND}`; export r; \
44189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44190 $(NORMAL_TARGET_EXPORTS) \
44191 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
44192 for flag in $(EXTRA_TARGET_FLAGS); do \
44193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44194 done; \
44195 (cd $(TARGET_SUBDIR)/libssp && \
44196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44198 "RANLIB=$${RANLIB}" \
44199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44200 install-info) \
44201 || exit 1
44203 @endif target-libssp
44205 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
44206 maybe-install-pdf-target-libssp:
44207 @if target-libssp
44208 maybe-install-pdf-target-libssp: install-pdf-target-libssp
44210 install-pdf-target-libssp: \
44211 configure-target-libssp \
44212 pdf-target-libssp
44213 @: $(MAKE); $(unstage)
44214 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44215 r=`${PWD_COMMAND}`; export r; \
44216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44217 $(NORMAL_TARGET_EXPORTS) \
44218 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
44219 for flag in $(EXTRA_TARGET_FLAGS); do \
44220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44221 done; \
44222 (cd $(TARGET_SUBDIR)/libssp && \
44223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44225 "RANLIB=$${RANLIB}" \
44226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44227 install-pdf) \
44228 || exit 1
44230 @endif target-libssp
44232 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
44233 maybe-install-html-target-libssp:
44234 @if target-libssp
44235 maybe-install-html-target-libssp: install-html-target-libssp
44237 install-html-target-libssp: \
44238 configure-target-libssp \
44239 html-target-libssp
44240 @: $(MAKE); $(unstage)
44241 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44242 r=`${PWD_COMMAND}`; export r; \
44243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44244 $(NORMAL_TARGET_EXPORTS) \
44245 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
44246 for flag in $(EXTRA_TARGET_FLAGS); do \
44247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44248 done; \
44249 (cd $(TARGET_SUBDIR)/libssp && \
44250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44252 "RANLIB=$${RANLIB}" \
44253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44254 install-html) \
44255 || exit 1
44257 @endif target-libssp
44259 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
44260 maybe-installcheck-target-libssp:
44261 @if target-libssp
44262 maybe-installcheck-target-libssp: installcheck-target-libssp
44264 installcheck-target-libssp: \
44265 configure-target-libssp
44266 @: $(MAKE); $(unstage)
44267 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44268 r=`${PWD_COMMAND}`; export r; \
44269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44270 $(NORMAL_TARGET_EXPORTS) \
44271 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
44272 for flag in $(EXTRA_TARGET_FLAGS); do \
44273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44274 done; \
44275 (cd $(TARGET_SUBDIR)/libssp && \
44276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44278 "RANLIB=$${RANLIB}" \
44279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44280 installcheck) \
44281 || exit 1
44283 @endif target-libssp
44285 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
44286 maybe-mostlyclean-target-libssp:
44287 @if target-libssp
44288 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
44290 mostlyclean-target-libssp:
44291 @: $(MAKE); $(unstage)
44292 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44293 r=`${PWD_COMMAND}`; export r; \
44294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44295 $(NORMAL_TARGET_EXPORTS) \
44296 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
44297 for flag in $(EXTRA_TARGET_FLAGS); do \
44298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44299 done; \
44300 (cd $(TARGET_SUBDIR)/libssp && \
44301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44303 "RANLIB=$${RANLIB}" \
44304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44305 mostlyclean) \
44306 || exit 1
44308 @endif target-libssp
44310 .PHONY: maybe-clean-target-libssp clean-target-libssp
44311 maybe-clean-target-libssp:
44312 @if target-libssp
44313 maybe-clean-target-libssp: clean-target-libssp
44315 clean-target-libssp:
44316 @: $(MAKE); $(unstage)
44317 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44318 r=`${PWD_COMMAND}`; export r; \
44319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44320 $(NORMAL_TARGET_EXPORTS) \
44321 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
44322 for flag in $(EXTRA_TARGET_FLAGS); do \
44323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44324 done; \
44325 (cd $(TARGET_SUBDIR)/libssp && \
44326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44328 "RANLIB=$${RANLIB}" \
44329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44330 clean) \
44331 || exit 1
44333 @endif target-libssp
44335 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
44336 maybe-distclean-target-libssp:
44337 @if target-libssp
44338 maybe-distclean-target-libssp: distclean-target-libssp
44340 distclean-target-libssp:
44341 @: $(MAKE); $(unstage)
44342 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44343 r=`${PWD_COMMAND}`; export r; \
44344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44345 $(NORMAL_TARGET_EXPORTS) \
44346 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
44347 for flag in $(EXTRA_TARGET_FLAGS); do \
44348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44349 done; \
44350 (cd $(TARGET_SUBDIR)/libssp && \
44351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44353 "RANLIB=$${RANLIB}" \
44354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44355 distclean) \
44356 || exit 1
44358 @endif target-libssp
44360 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
44361 maybe-maintainer-clean-target-libssp:
44362 @if target-libssp
44363 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
44365 maintainer-clean-target-libssp:
44366 @: $(MAKE); $(unstage)
44367 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
44368 r=`${PWD_COMMAND}`; export r; \
44369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44370 $(NORMAL_TARGET_EXPORTS) \
44371 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
44372 for flag in $(EXTRA_TARGET_FLAGS); do \
44373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44374 done; \
44375 (cd $(TARGET_SUBDIR)/libssp && \
44376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44378 "RANLIB=$${RANLIB}" \
44379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44380 maintainer-clean) \
44381 || exit 1
44383 @endif target-libssp
44389 .PHONY: configure-target-newlib maybe-configure-target-newlib
44390 maybe-configure-target-newlib:
44391 @if gcc-bootstrap
44392 configure-target-newlib: stage_current
44393 @endif gcc-bootstrap
44394 @if target-newlib
44395 maybe-configure-target-newlib: configure-target-newlib
44396 configure-target-newlib:
44397 @: $(MAKE); $(unstage)
44398 @r=`${PWD_COMMAND}`; export r; \
44399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44400 echo "Checking multilib configuration for newlib..."; \
44401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
44402 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
44403 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
44404 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
44405 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
44406 else \
44407 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
44408 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44409 fi; \
44410 else \
44411 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44412 fi; \
44413 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
44414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
44415 $(NORMAL_TARGET_EXPORTS) \
44416 echo Configuring in $(TARGET_SUBDIR)/newlib; \
44417 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
44418 case $(srcdir) in \
44419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44420 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
44421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44422 esac; \
44423 srcdiroption="--srcdir=$${topdir}/newlib"; \
44424 libsrcdir="$$s/newlib"; \
44425 rm -f no-such-file || : ; \
44426 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44428 --target=${target_alias} $${srcdiroption} \
44429 || exit 1
44430 @endif target-newlib
44436 .PHONY: all-target-newlib maybe-all-target-newlib
44437 maybe-all-target-newlib:
44438 @if gcc-bootstrap
44439 all-target-newlib: stage_current
44440 @endif gcc-bootstrap
44441 @if target-newlib
44442 TARGET-target-newlib=all
44443 maybe-all-target-newlib: all-target-newlib
44444 all-target-newlib: configure-target-newlib
44445 @: $(MAKE); $(unstage)
44446 @r=`${PWD_COMMAND}`; export r; \
44447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44448 $(NORMAL_TARGET_EXPORTS) \
44449 (cd $(TARGET_SUBDIR)/newlib && \
44450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44451 $(TARGET-target-newlib))
44452 @endif target-newlib
44458 .PHONY: check-target-newlib maybe-check-target-newlib
44459 maybe-check-target-newlib:
44460 @if target-newlib
44461 maybe-check-target-newlib: check-target-newlib
44463 check-target-newlib:
44464 @: $(MAKE); $(unstage)
44465 @r=`${PWD_COMMAND}`; export r; \
44466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44467 $(NORMAL_TARGET_EXPORTS) \
44468 (cd $(TARGET_SUBDIR)/newlib && \
44469 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44471 @endif target-newlib
44473 .PHONY: install-target-newlib maybe-install-target-newlib
44474 maybe-install-target-newlib:
44475 @if target-newlib
44476 maybe-install-target-newlib: install-target-newlib
44478 install-target-newlib: installdirs
44479 @: $(MAKE); $(unstage)
44480 @r=`${PWD_COMMAND}`; export r; \
44481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44482 $(NORMAL_TARGET_EXPORTS) \
44483 (cd $(TARGET_SUBDIR)/newlib && \
44484 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44486 @endif target-newlib
44488 # Other targets (info, dvi, pdf, etc.)
44490 .PHONY: maybe-info-target-newlib info-target-newlib
44491 maybe-info-target-newlib:
44492 @if target-newlib
44493 maybe-info-target-newlib: info-target-newlib
44495 info-target-newlib: \
44496 configure-target-newlib
44497 @: $(MAKE); $(unstage)
44498 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44499 r=`${PWD_COMMAND}`; export r; \
44500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44501 $(NORMAL_TARGET_EXPORTS) \
44502 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
44503 for flag in $(EXTRA_TARGET_FLAGS); do \
44504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44505 done; \
44506 (cd $(TARGET_SUBDIR)/newlib && \
44507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44509 "RANLIB=$${RANLIB}" \
44510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44511 info) \
44512 || exit 1
44514 @endif target-newlib
44516 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
44517 maybe-dvi-target-newlib:
44518 @if target-newlib
44519 maybe-dvi-target-newlib: dvi-target-newlib
44521 dvi-target-newlib: \
44522 configure-target-newlib
44523 @: $(MAKE); $(unstage)
44524 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44525 r=`${PWD_COMMAND}`; export r; \
44526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44527 $(NORMAL_TARGET_EXPORTS) \
44528 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
44529 for flag in $(EXTRA_TARGET_FLAGS); do \
44530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44531 done; \
44532 (cd $(TARGET_SUBDIR)/newlib && \
44533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44535 "RANLIB=$${RANLIB}" \
44536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44537 dvi) \
44538 || exit 1
44540 @endif target-newlib
44542 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
44543 maybe-pdf-target-newlib:
44544 @if target-newlib
44545 maybe-pdf-target-newlib: pdf-target-newlib
44547 pdf-target-newlib: \
44548 configure-target-newlib
44549 @: $(MAKE); $(unstage)
44550 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44551 r=`${PWD_COMMAND}`; export r; \
44552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44553 $(NORMAL_TARGET_EXPORTS) \
44554 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
44555 for flag in $(EXTRA_TARGET_FLAGS); do \
44556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44557 done; \
44558 (cd $(TARGET_SUBDIR)/newlib && \
44559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44561 "RANLIB=$${RANLIB}" \
44562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44563 pdf) \
44564 || exit 1
44566 @endif target-newlib
44568 .PHONY: maybe-html-target-newlib html-target-newlib
44569 maybe-html-target-newlib:
44570 @if target-newlib
44571 maybe-html-target-newlib: html-target-newlib
44573 html-target-newlib: \
44574 configure-target-newlib
44575 @: $(MAKE); $(unstage)
44576 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44577 r=`${PWD_COMMAND}`; export r; \
44578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44579 $(NORMAL_TARGET_EXPORTS) \
44580 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
44581 for flag in $(EXTRA_TARGET_FLAGS); do \
44582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44583 done; \
44584 (cd $(TARGET_SUBDIR)/newlib && \
44585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44587 "RANLIB=$${RANLIB}" \
44588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44589 html) \
44590 || exit 1
44592 @endif target-newlib
44594 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
44595 maybe-TAGS-target-newlib:
44596 @if target-newlib
44597 maybe-TAGS-target-newlib: TAGS-target-newlib
44599 TAGS-target-newlib: \
44600 configure-target-newlib
44601 @: $(MAKE); $(unstage)
44602 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44603 r=`${PWD_COMMAND}`; export r; \
44604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44605 $(NORMAL_TARGET_EXPORTS) \
44606 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
44607 for flag in $(EXTRA_TARGET_FLAGS); do \
44608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44609 done; \
44610 (cd $(TARGET_SUBDIR)/newlib && \
44611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44613 "RANLIB=$${RANLIB}" \
44614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44615 TAGS) \
44616 || exit 1
44618 @endif target-newlib
44620 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
44621 maybe-install-info-target-newlib:
44622 @if target-newlib
44623 maybe-install-info-target-newlib: install-info-target-newlib
44625 install-info-target-newlib: \
44626 configure-target-newlib \
44627 info-target-newlib
44628 @: $(MAKE); $(unstage)
44629 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44630 r=`${PWD_COMMAND}`; export r; \
44631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44632 $(NORMAL_TARGET_EXPORTS) \
44633 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
44634 for flag in $(EXTRA_TARGET_FLAGS); do \
44635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44636 done; \
44637 (cd $(TARGET_SUBDIR)/newlib && \
44638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44640 "RANLIB=$${RANLIB}" \
44641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44642 install-info) \
44643 || exit 1
44645 @endif target-newlib
44647 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
44648 maybe-install-pdf-target-newlib:
44649 @if target-newlib
44650 maybe-install-pdf-target-newlib: install-pdf-target-newlib
44652 install-pdf-target-newlib: \
44653 configure-target-newlib \
44654 pdf-target-newlib
44655 @: $(MAKE); $(unstage)
44656 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44657 r=`${PWD_COMMAND}`; export r; \
44658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44659 $(NORMAL_TARGET_EXPORTS) \
44660 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
44661 for flag in $(EXTRA_TARGET_FLAGS); do \
44662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44663 done; \
44664 (cd $(TARGET_SUBDIR)/newlib && \
44665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44667 "RANLIB=$${RANLIB}" \
44668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44669 install-pdf) \
44670 || exit 1
44672 @endif target-newlib
44674 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
44675 maybe-install-html-target-newlib:
44676 @if target-newlib
44677 maybe-install-html-target-newlib: install-html-target-newlib
44679 install-html-target-newlib: \
44680 configure-target-newlib \
44681 html-target-newlib
44682 @: $(MAKE); $(unstage)
44683 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44684 r=`${PWD_COMMAND}`; export r; \
44685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44686 $(NORMAL_TARGET_EXPORTS) \
44687 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
44688 for flag in $(EXTRA_TARGET_FLAGS); do \
44689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44690 done; \
44691 (cd $(TARGET_SUBDIR)/newlib && \
44692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44694 "RANLIB=$${RANLIB}" \
44695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44696 install-html) \
44697 || exit 1
44699 @endif target-newlib
44701 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
44702 maybe-installcheck-target-newlib:
44703 @if target-newlib
44704 maybe-installcheck-target-newlib: installcheck-target-newlib
44706 installcheck-target-newlib: \
44707 configure-target-newlib
44708 @: $(MAKE); $(unstage)
44709 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44710 r=`${PWD_COMMAND}`; export r; \
44711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44712 $(NORMAL_TARGET_EXPORTS) \
44713 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
44714 for flag in $(EXTRA_TARGET_FLAGS); do \
44715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44716 done; \
44717 (cd $(TARGET_SUBDIR)/newlib && \
44718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44720 "RANLIB=$${RANLIB}" \
44721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44722 installcheck) \
44723 || exit 1
44725 @endif target-newlib
44727 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
44728 maybe-mostlyclean-target-newlib:
44729 @if target-newlib
44730 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
44732 mostlyclean-target-newlib:
44733 @: $(MAKE); $(unstage)
44734 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44735 r=`${PWD_COMMAND}`; export r; \
44736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44737 $(NORMAL_TARGET_EXPORTS) \
44738 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
44739 for flag in $(EXTRA_TARGET_FLAGS); do \
44740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44741 done; \
44742 (cd $(TARGET_SUBDIR)/newlib && \
44743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44745 "RANLIB=$${RANLIB}" \
44746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44747 mostlyclean) \
44748 || exit 1
44750 @endif target-newlib
44752 .PHONY: maybe-clean-target-newlib clean-target-newlib
44753 maybe-clean-target-newlib:
44754 @if target-newlib
44755 maybe-clean-target-newlib: clean-target-newlib
44757 clean-target-newlib:
44758 @: $(MAKE); $(unstage)
44759 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44760 r=`${PWD_COMMAND}`; export r; \
44761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44762 $(NORMAL_TARGET_EXPORTS) \
44763 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
44764 for flag in $(EXTRA_TARGET_FLAGS); do \
44765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44766 done; \
44767 (cd $(TARGET_SUBDIR)/newlib && \
44768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44770 "RANLIB=$${RANLIB}" \
44771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44772 clean) \
44773 || exit 1
44775 @endif target-newlib
44777 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
44778 maybe-distclean-target-newlib:
44779 @if target-newlib
44780 maybe-distclean-target-newlib: distclean-target-newlib
44782 distclean-target-newlib:
44783 @: $(MAKE); $(unstage)
44784 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44785 r=`${PWD_COMMAND}`; export r; \
44786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44787 $(NORMAL_TARGET_EXPORTS) \
44788 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
44789 for flag in $(EXTRA_TARGET_FLAGS); do \
44790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44791 done; \
44792 (cd $(TARGET_SUBDIR)/newlib && \
44793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44795 "RANLIB=$${RANLIB}" \
44796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44797 distclean) \
44798 || exit 1
44800 @endif target-newlib
44802 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
44803 maybe-maintainer-clean-target-newlib:
44804 @if target-newlib
44805 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
44807 maintainer-clean-target-newlib:
44808 @: $(MAKE); $(unstage)
44809 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44810 r=`${PWD_COMMAND}`; export r; \
44811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44812 $(NORMAL_TARGET_EXPORTS) \
44813 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
44814 for flag in $(EXTRA_TARGET_FLAGS); do \
44815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44816 done; \
44817 (cd $(TARGET_SUBDIR)/newlib && \
44818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44820 "RANLIB=$${RANLIB}" \
44821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44822 maintainer-clean) \
44823 || exit 1
44825 @endif target-newlib
44831 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
44832 maybe-configure-target-libgcc:
44833 @if gcc-bootstrap
44834 configure-target-libgcc: stage_current
44835 @endif gcc-bootstrap
44836 @if target-libgcc
44837 maybe-configure-target-libgcc: configure-target-libgcc
44838 configure-target-libgcc:
44839 @r=`${PWD_COMMAND}`; export r; \
44840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44841 echo "Checking multilib configuration for libgcc..."; \
44842 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44843 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44844 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44845 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44846 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44847 else \
44848 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44849 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44850 fi; \
44851 else \
44852 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44853 fi; \
44854 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44855 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44856 $(NORMAL_TARGET_EXPORTS) \
44857 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
44858 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
44859 case $(srcdir) in \
44860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44861 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44863 esac; \
44864 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44865 libsrcdir="$$s/libgcc"; \
44866 rm -f no-such-file || : ; \
44867 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44868 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44869 --target=${target_alias} $${srcdiroption} \
44870 || exit 1
44871 @endif target-libgcc
44875 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
44876 maybe-configure-stage1-target-libgcc:
44877 @if target-libgcc-bootstrap
44878 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
44879 configure-stage1-target-libgcc:
44880 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44881 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44882 @r=`${PWD_COMMAND}`; export r; \
44883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44884 echo "Checking multilib configuration for libgcc..."; \
44885 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44886 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44887 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44888 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44889 else \
44890 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44891 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44892 fi; \
44893 else \
44894 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44895 fi; \
44896 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44897 $(NORMAL_TARGET_EXPORTS) \
44898 CFLAGS="$(STAGE1_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44899 CXXFLAGS="$(STAGE1_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44900 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
44901 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44902 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44903 case $(srcdir) in \
44904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44905 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44907 esac; \
44908 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44909 libsrcdir="$$s/libgcc"; \
44910 $(SHELL) $${libsrcdir}/configure \
44911 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44912 --target=${target_alias} $${srcdiroption} \
44914 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
44915 @endif target-libgcc-bootstrap
44917 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
44918 maybe-configure-stage2-target-libgcc:
44919 @if target-libgcc-bootstrap
44920 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
44921 configure-stage2-target-libgcc:
44922 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44923 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44924 @r=`${PWD_COMMAND}`; export r; \
44925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44926 echo "Checking multilib configuration for libgcc..."; \
44927 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44928 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44929 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44930 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44931 else \
44932 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44933 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44934 fi; \
44935 else \
44936 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44937 fi; \
44938 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44939 $(NORMAL_TARGET_EXPORTS) \
44941 CFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44942 CXXFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44943 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
44944 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44945 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44946 case $(srcdir) in \
44947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44948 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44950 esac; \
44951 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44952 libsrcdir="$$s/libgcc"; \
44953 $(SHELL) $${libsrcdir}/configure \
44954 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44955 --target=${target_alias} $${srcdiroption} \
44956 --with-build-libsubdir=$(HOST_SUBDIR) \
44957 @stage2_werror_flag@
44958 @endif target-libgcc-bootstrap
44960 .PHONY: configure-stageb2g0-target-libgcc maybe-configure-stageb2g0-target-libgcc
44961 maybe-configure-stageb2g0-target-libgcc:
44962 @if target-libgcc-bootstrap
44963 maybe-configure-stageb2g0-target-libgcc: configure-stageb2g0-target-libgcc
44964 configure-stageb2g0-target-libgcc:
44965 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
44966 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44967 @r=`${PWD_COMMAND}`; export r; \
44968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44969 echo "Checking multilib configuration for libgcc..."; \
44970 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44971 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44972 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44973 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44974 else \
44975 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44976 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44977 fi; \
44978 else \
44979 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44980 fi; \
44981 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44982 $(NORMAL_TARGET_EXPORTS) \
44984 CFLAGS="$(STAGE2_LIBCFLAGS) -g0 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44985 CXXFLAGS="$(STAGE2_LIBCFLAGS) -g0 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44986 echo Configuring stage b2g0 in $(TARGET_SUBDIR)/libgcc ; \
44987 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44988 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44989 case $(srcdir) in \
44990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44991 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44993 esac; \
44994 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44995 libsrcdir="$$s/libgcc"; \
44996 $(SHELL) $${libsrcdir}/configure \
44997 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44998 --target=${target_alias} $${srcdiroption} \
44999 --with-build-libsubdir=$(HOST_SUBDIR) \
45000 @stage2_werror_flag@
45001 @endif target-libgcc-bootstrap
45003 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
45004 maybe-configure-stage3-target-libgcc:
45005 @if target-libgcc-bootstrap
45006 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
45007 configure-stage3-target-libgcc:
45008 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45009 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45010 @r=`${PWD_COMMAND}`; export r; \
45011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45012 echo "Checking multilib configuration for libgcc..."; \
45013 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
45014 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45015 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45016 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45017 else \
45018 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45019 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45020 fi; \
45021 else \
45022 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45023 fi; \
45024 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45025 $(NORMAL_TARGET_EXPORTS) \
45027 CFLAGS="$(STAGE3_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
45028 CXXFLAGS="$(STAGE3_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45029 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
45030 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
45031 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45032 case $(srcdir) in \
45033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45034 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45036 esac; \
45037 srcdiroption="--srcdir=$${topdir}/libgcc"; \
45038 libsrcdir="$$s/libgcc"; \
45039 $(SHELL) $${libsrcdir}/configure \
45040 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45041 --target=${target_alias} $${srcdiroption} \
45042 --with-build-libsubdir=$(HOST_SUBDIR) \
45043 @stage2_werror_flag@
45044 @endif target-libgcc-bootstrap
45046 .PHONY: configure-stageb3g2-target-libgcc maybe-configure-stageb3g2-target-libgcc
45047 maybe-configure-stageb3g2-target-libgcc:
45048 @if target-libgcc-bootstrap
45049 maybe-configure-stageb3g2-target-libgcc: configure-stageb3g2-target-libgcc
45050 configure-stageb3g2-target-libgcc:
45051 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
45052 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45053 @r=`${PWD_COMMAND}`; export r; \
45054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45055 echo "Checking multilib configuration for libgcc..."; \
45056 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
45057 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45058 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45059 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45060 else \
45061 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45062 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45063 fi; \
45064 else \
45065 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45066 fi; \
45067 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45068 $(NORMAL_TARGET_EXPORTS) \
45070 CFLAGS="$(STAGE3_LIBCFLAGS) -g2 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
45071 CXXFLAGS="$(STAGE3_LIBCFLAGS) -g2 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45072 echo Configuring stage b3g2 in $(TARGET_SUBDIR)/libgcc ; \
45073 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
45074 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45075 case $(srcdir) in \
45076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45077 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45079 esac; \
45080 srcdiroption="--srcdir=$${topdir}/libgcc"; \
45081 libsrcdir="$$s/libgcc"; \
45082 $(SHELL) $${libsrcdir}/configure \
45083 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45084 --target=${target_alias} $${srcdiroption} \
45085 --with-build-libsubdir=$(HOST_SUBDIR) \
45086 @stage2_werror_flag@
45087 @endif target-libgcc-bootstrap
45089 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
45090 maybe-configure-stage4-target-libgcc:
45091 @if target-libgcc-bootstrap
45092 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
45093 configure-stage4-target-libgcc:
45094 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45095 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45096 @r=`${PWD_COMMAND}`; export r; \
45097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45098 echo "Checking multilib configuration for libgcc..."; \
45099 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
45100 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45101 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45102 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45103 else \
45104 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45105 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45106 fi; \
45107 else \
45108 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45109 fi; \
45110 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45111 $(NORMAL_TARGET_EXPORTS) \
45113 CFLAGS="$(STAGE4_CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
45114 CXXFLAGS="$(STAGE4_CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45115 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
45116 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
45117 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45118 case $(srcdir) in \
45119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45120 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45122 esac; \
45123 srcdiroption="--srcdir=$${topdir}/libgcc"; \
45124 libsrcdir="$$s/libgcc"; \
45125 $(SHELL) $${libsrcdir}/configure \
45126 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45127 --target=${target_alias} $${srcdiroption} \
45128 --with-build-libsubdir=$(HOST_SUBDIR) \
45129 @stage2_werror_flag@
45130 @endif target-libgcc-bootstrap
45132 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
45133 maybe-configure-stageprofile-target-libgcc:
45134 @if target-libgcc-bootstrap
45135 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45136 configure-stageprofile-target-libgcc:
45137 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45138 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45139 @r=`${PWD_COMMAND}`; export r; \
45140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45141 echo "Checking multilib configuration for libgcc..."; \
45142 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
45143 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45144 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45145 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45146 else \
45147 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45148 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45149 fi; \
45150 else \
45151 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45152 fi; \
45153 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45154 $(NORMAL_TARGET_EXPORTS) \
45156 CFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
45157 CXXFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45158 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
45159 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
45160 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45161 case $(srcdir) in \
45162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45163 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45165 esac; \
45166 srcdiroption="--srcdir=$${topdir}/libgcc"; \
45167 libsrcdir="$$s/libgcc"; \
45168 $(SHELL) $${libsrcdir}/configure \
45169 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45170 --target=${target_alias} $${srcdiroption} \
45171 --with-build-libsubdir=$(HOST_SUBDIR) \
45172 @stage2_werror_flag@
45173 @endif target-libgcc-bootstrap
45175 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
45176 maybe-configure-stagefeedback-target-libgcc:
45177 @if target-libgcc-bootstrap
45178 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45179 configure-stagefeedback-target-libgcc:
45180 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45181 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45182 @r=`${PWD_COMMAND}`; export r; \
45183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45184 echo "Checking multilib configuration for libgcc..."; \
45185 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
45186 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45187 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45188 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45189 else \
45190 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45191 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45192 fi; \
45193 else \
45194 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45195 fi; \
45196 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45197 $(NORMAL_TARGET_EXPORTS) \
45199 CFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
45200 CXXFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45201 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
45202 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
45203 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45204 case $(srcdir) in \
45205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45206 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45208 esac; \
45209 srcdiroption="--srcdir=$${topdir}/libgcc"; \
45210 libsrcdir="$$s/libgcc"; \
45211 $(SHELL) $${libsrcdir}/configure \
45212 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45213 --target=${target_alias} $${srcdiroption} \
45214 --with-build-libsubdir=$(HOST_SUBDIR) \
45215 @stage2_werror_flag@
45216 @endif target-libgcc-bootstrap
45222 .PHONY: all-target-libgcc maybe-all-target-libgcc
45223 maybe-all-target-libgcc:
45224 @if gcc-bootstrap
45225 all-target-libgcc: stage_current
45226 @endif gcc-bootstrap
45227 @if target-libgcc
45228 TARGET-target-libgcc=all
45229 maybe-all-target-libgcc: all-target-libgcc
45230 all-target-libgcc: configure-target-libgcc
45231 @r=`${PWD_COMMAND}`; export r; \
45232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45233 $(NORMAL_TARGET_EXPORTS) \
45234 (cd $(TARGET_SUBDIR)/libgcc && \
45235 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45236 $(TARGET-target-libgcc))
45237 @endif target-libgcc
45241 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
45242 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
45243 maybe-all-stage1-target-libgcc:
45244 maybe-clean-stage1-target-libgcc:
45245 @if target-libgcc-bootstrap
45246 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
45247 all-stage1: all-stage1-target-libgcc
45248 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
45249 all-stage1-target-libgcc: configure-stage1-target-libgcc
45250 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45251 @r=`${PWD_COMMAND}`; export r; \
45252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45253 $(NORMAL_TARGET_EXPORTS) \
45254 cd $(TARGET_SUBDIR)/libgcc && \
45255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45256 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
45257 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
45258 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
45259 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
45260 $(TARGET-stage1-target-libgcc)
45262 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
45263 clean-stage1: clean-stage1-target-libgcc
45264 clean-stage1-target-libgcc:
45265 @if [ $(current_stage) = stage1 ]; then \
45266 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45267 else \
45268 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
45269 $(MAKE) stage1-start; \
45270 fi; \
45271 cd $(TARGET_SUBDIR)/libgcc && \
45272 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45273 clean
45274 @endif target-libgcc-bootstrap
45277 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
45278 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
45279 maybe-all-stage2-target-libgcc:
45280 maybe-clean-stage2-target-libgcc:
45281 @if target-libgcc-bootstrap
45282 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
45283 all-stage2: all-stage2-target-libgcc
45284 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
45285 all-stage2-target-libgcc: configure-stage2-target-libgcc
45286 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45287 @r=`${PWD_COMMAND}`; export r; \
45288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45289 $(NORMAL_TARGET_EXPORTS) \
45291 cd $(TARGET_SUBDIR)/libgcc && \
45292 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45293 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
45294 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
45295 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
45296 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
45297 $(TARGET-stage2-target-libgcc)
45299 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
45300 clean-stage2: clean-stage2-target-libgcc
45301 clean-stage2-target-libgcc:
45302 @if [ $(current_stage) = stage2 ]; then \
45303 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45304 else \
45305 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
45306 $(MAKE) stage2-start; \
45307 fi; \
45308 cd $(TARGET_SUBDIR)/libgcc && \
45309 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45311 clean
45312 @endif target-libgcc-bootstrap
45315 .PHONY: all-stageb2g0-target-libgcc maybe-all-stageb2g0-target-libgcc
45316 .PHONY: clean-stageb2g0-target-libgcc maybe-clean-stageb2g0-target-libgcc
45317 maybe-all-stageb2g0-target-libgcc:
45318 maybe-clean-stageb2g0-target-libgcc:
45319 @if target-libgcc-bootstrap
45320 maybe-all-stageb2g0-target-libgcc: all-stageb2g0-target-libgcc
45321 all-stageb2g0: all-stageb2g0-target-libgcc
45322 TARGET-stageb2g0-target-libgcc = $(TARGET-target-libgcc)
45323 all-stageb2g0-target-libgcc: configure-stageb2g0-target-libgcc
45324 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
45325 @r=`${PWD_COMMAND}`; export r; \
45326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45327 $(NORMAL_TARGET_EXPORTS) \
45329 cd $(TARGET_SUBDIR)/libgcc && \
45330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45331 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
45332 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
45333 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
45334 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_TARGET_FLAGS) \
45335 $(TARGET-stageb2g0-target-libgcc)
45337 maybe-clean-stageb2g0-target-libgcc: clean-stageb2g0-target-libgcc
45338 clean-stageb2g0: clean-stageb2g0-target-libgcc
45339 clean-stageb2g0-target-libgcc:
45340 @if [ $(current_stage) = stageb2g0 ]; then \
45341 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45342 else \
45343 [ -f $(TARGET_SUBDIR)/stageb2g0-libgcc/Makefile ] || exit 0; \
45344 $(MAKE) stageb2g0-start; \
45345 fi; \
45346 cd $(TARGET_SUBDIR)/libgcc && \
45347 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45349 clean
45350 @endif target-libgcc-bootstrap
45353 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
45354 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
45355 maybe-all-stage3-target-libgcc:
45356 maybe-clean-stage3-target-libgcc:
45357 @if target-libgcc-bootstrap
45358 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
45359 all-stage3: all-stage3-target-libgcc
45360 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
45361 all-stage3-target-libgcc: configure-stage3-target-libgcc
45362 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45363 @r=`${PWD_COMMAND}`; export r; \
45364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45365 $(NORMAL_TARGET_EXPORTS) \
45367 cd $(TARGET_SUBDIR)/libgcc && \
45368 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45369 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
45370 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
45371 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
45372 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
45373 $(TARGET-stage3-target-libgcc)
45375 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
45376 clean-stage3: clean-stage3-target-libgcc
45377 clean-stage3-target-libgcc:
45378 @if [ $(current_stage) = stage3 ]; then \
45379 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45380 else \
45381 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
45382 $(MAKE) stage3-start; \
45383 fi; \
45384 cd $(TARGET_SUBDIR)/libgcc && \
45385 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45387 clean
45388 @endif target-libgcc-bootstrap
45391 .PHONY: all-stageb3g2-target-libgcc maybe-all-stageb3g2-target-libgcc
45392 .PHONY: clean-stageb3g2-target-libgcc maybe-clean-stageb3g2-target-libgcc
45393 maybe-all-stageb3g2-target-libgcc:
45394 maybe-clean-stageb3g2-target-libgcc:
45395 @if target-libgcc-bootstrap
45396 maybe-all-stageb3g2-target-libgcc: all-stageb3g2-target-libgcc
45397 all-stageb3g2: all-stageb3g2-target-libgcc
45398 TARGET-stageb3g2-target-libgcc = $(TARGET-target-libgcc)
45399 all-stageb3g2-target-libgcc: configure-stageb3g2-target-libgcc
45400 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
45401 @r=`${PWD_COMMAND}`; export r; \
45402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45403 $(NORMAL_TARGET_EXPORTS) \
45405 cd $(TARGET_SUBDIR)/libgcc && \
45406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45407 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
45408 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
45409 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
45410 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_TARGET_FLAGS) \
45411 $(TARGET-stageb3g2-target-libgcc)
45413 maybe-clean-stageb3g2-target-libgcc: clean-stageb3g2-target-libgcc
45414 clean-stageb3g2: clean-stageb3g2-target-libgcc
45415 clean-stageb3g2-target-libgcc:
45416 @if [ $(current_stage) = stageb3g2 ]; then \
45417 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45418 else \
45419 [ -f $(TARGET_SUBDIR)/stageb3g2-libgcc/Makefile ] || exit 0; \
45420 $(MAKE) stageb3g2-start; \
45421 fi; \
45422 cd $(TARGET_SUBDIR)/libgcc && \
45423 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45425 clean
45426 @endif target-libgcc-bootstrap
45429 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
45430 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
45431 maybe-all-stage4-target-libgcc:
45432 maybe-clean-stage4-target-libgcc:
45433 @if target-libgcc-bootstrap
45434 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
45435 all-stage4: all-stage4-target-libgcc
45436 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
45437 all-stage4-target-libgcc: configure-stage4-target-libgcc
45438 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45439 @r=`${PWD_COMMAND}`; export r; \
45440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45441 $(NORMAL_TARGET_EXPORTS) \
45443 cd $(TARGET_SUBDIR)/libgcc && \
45444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45445 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
45446 LIBCFLAGS="$(STAGE4_CFLAGS)" \
45447 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
45448 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_TARGET_FLAGS) \
45449 $(TARGET-stage4-target-libgcc)
45451 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
45452 clean-stage4: clean-stage4-target-libgcc
45453 clean-stage4-target-libgcc:
45454 @if [ $(current_stage) = stage4 ]; then \
45455 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45456 else \
45457 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
45458 $(MAKE) stage4-start; \
45459 fi; \
45460 cd $(TARGET_SUBDIR)/libgcc && \
45461 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45463 clean
45464 @endif target-libgcc-bootstrap
45467 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
45468 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
45469 maybe-all-stageprofile-target-libgcc:
45470 maybe-clean-stageprofile-target-libgcc:
45471 @if target-libgcc-bootstrap
45472 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
45473 all-stageprofile: all-stageprofile-target-libgcc
45474 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
45475 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45476 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45477 @r=`${PWD_COMMAND}`; export r; \
45478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45479 $(NORMAL_TARGET_EXPORTS) \
45481 cd $(TARGET_SUBDIR)/libgcc && \
45482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45483 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
45484 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
45485 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
45486 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
45487 $(TARGET-stageprofile-target-libgcc)
45489 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
45490 clean-stageprofile: clean-stageprofile-target-libgcc
45491 clean-stageprofile-target-libgcc:
45492 @if [ $(current_stage) = stageprofile ]; then \
45493 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45494 else \
45495 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
45496 $(MAKE) stageprofile-start; \
45497 fi; \
45498 cd $(TARGET_SUBDIR)/libgcc && \
45499 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45501 clean
45502 @endif target-libgcc-bootstrap
45505 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
45506 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
45507 maybe-all-stagefeedback-target-libgcc:
45508 maybe-clean-stagefeedback-target-libgcc:
45509 @if target-libgcc-bootstrap
45510 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
45511 all-stagefeedback: all-stagefeedback-target-libgcc
45512 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
45513 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45514 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45515 @r=`${PWD_COMMAND}`; export r; \
45516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45517 $(NORMAL_TARGET_EXPORTS) \
45519 cd $(TARGET_SUBDIR)/libgcc && \
45520 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45521 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
45522 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
45523 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
45524 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_TARGET_FLAGS) \
45525 $(TARGET-stagefeedback-target-libgcc)
45527 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
45528 clean-stagefeedback: clean-stagefeedback-target-libgcc
45529 clean-stagefeedback-target-libgcc:
45530 @if [ $(current_stage) = stagefeedback ]; then \
45531 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45532 else \
45533 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
45534 $(MAKE) stagefeedback-start; \
45535 fi; \
45536 cd $(TARGET_SUBDIR)/libgcc && \
45537 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45539 clean
45540 @endif target-libgcc-bootstrap
45547 .PHONY: check-target-libgcc maybe-check-target-libgcc
45548 maybe-check-target-libgcc:
45549 @if target-libgcc
45550 maybe-check-target-libgcc: check-target-libgcc
45552 # Dummy target for uncheckable module.
45553 check-target-libgcc:
45555 @endif target-libgcc
45557 .PHONY: install-target-libgcc maybe-install-target-libgcc
45558 maybe-install-target-libgcc:
45559 @if target-libgcc
45560 maybe-install-target-libgcc: install-target-libgcc
45562 install-target-libgcc: installdirs
45563 @: $(MAKE); $(unstage)
45564 @r=`${PWD_COMMAND}`; export r; \
45565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45566 $(NORMAL_TARGET_EXPORTS) \
45567 (cd $(TARGET_SUBDIR)/libgcc && \
45568 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45570 @endif target-libgcc
45572 # Other targets (info, dvi, pdf, etc.)
45574 .PHONY: maybe-info-target-libgcc info-target-libgcc
45575 maybe-info-target-libgcc:
45576 @if target-libgcc
45577 maybe-info-target-libgcc: info-target-libgcc
45579 info-target-libgcc: \
45580 configure-target-libgcc
45581 @: $(MAKE); $(unstage)
45582 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45583 r=`${PWD_COMMAND}`; export r; \
45584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45585 $(NORMAL_TARGET_EXPORTS) \
45586 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
45587 for flag in $(EXTRA_TARGET_FLAGS); do \
45588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45589 done; \
45590 (cd $(TARGET_SUBDIR)/libgcc && \
45591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45593 "RANLIB=$${RANLIB}" \
45594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45595 info) \
45596 || exit 1
45598 @endif target-libgcc
45600 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
45601 maybe-dvi-target-libgcc:
45602 @if target-libgcc
45603 maybe-dvi-target-libgcc: dvi-target-libgcc
45605 dvi-target-libgcc: \
45606 configure-target-libgcc
45607 @: $(MAKE); $(unstage)
45608 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45609 r=`${PWD_COMMAND}`; export r; \
45610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45611 $(NORMAL_TARGET_EXPORTS) \
45612 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
45613 for flag in $(EXTRA_TARGET_FLAGS); do \
45614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45615 done; \
45616 (cd $(TARGET_SUBDIR)/libgcc && \
45617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45619 "RANLIB=$${RANLIB}" \
45620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45621 dvi) \
45622 || exit 1
45624 @endif target-libgcc
45626 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
45627 maybe-pdf-target-libgcc:
45628 @if target-libgcc
45629 maybe-pdf-target-libgcc: pdf-target-libgcc
45631 pdf-target-libgcc: \
45632 configure-target-libgcc
45633 @: $(MAKE); $(unstage)
45634 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45635 r=`${PWD_COMMAND}`; export r; \
45636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45637 $(NORMAL_TARGET_EXPORTS) \
45638 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
45639 for flag in $(EXTRA_TARGET_FLAGS); do \
45640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45641 done; \
45642 (cd $(TARGET_SUBDIR)/libgcc && \
45643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45645 "RANLIB=$${RANLIB}" \
45646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45647 pdf) \
45648 || exit 1
45650 @endif target-libgcc
45652 .PHONY: maybe-html-target-libgcc html-target-libgcc
45653 maybe-html-target-libgcc:
45654 @if target-libgcc
45655 maybe-html-target-libgcc: html-target-libgcc
45657 html-target-libgcc: \
45658 configure-target-libgcc
45659 @: $(MAKE); $(unstage)
45660 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45661 r=`${PWD_COMMAND}`; export r; \
45662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45663 $(NORMAL_TARGET_EXPORTS) \
45664 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
45665 for flag in $(EXTRA_TARGET_FLAGS); do \
45666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45667 done; \
45668 (cd $(TARGET_SUBDIR)/libgcc && \
45669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45671 "RANLIB=$${RANLIB}" \
45672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45673 html) \
45674 || exit 1
45676 @endif target-libgcc
45678 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
45679 maybe-TAGS-target-libgcc:
45680 @if target-libgcc
45681 maybe-TAGS-target-libgcc: TAGS-target-libgcc
45683 TAGS-target-libgcc: \
45684 configure-target-libgcc
45685 @: $(MAKE); $(unstage)
45686 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45687 r=`${PWD_COMMAND}`; export r; \
45688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45689 $(NORMAL_TARGET_EXPORTS) \
45690 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
45691 for flag in $(EXTRA_TARGET_FLAGS); do \
45692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45693 done; \
45694 (cd $(TARGET_SUBDIR)/libgcc && \
45695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45697 "RANLIB=$${RANLIB}" \
45698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45699 TAGS) \
45700 || exit 1
45702 @endif target-libgcc
45704 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
45705 maybe-install-info-target-libgcc:
45706 @if target-libgcc
45707 maybe-install-info-target-libgcc: install-info-target-libgcc
45709 install-info-target-libgcc: \
45710 configure-target-libgcc \
45711 info-target-libgcc
45712 @: $(MAKE); $(unstage)
45713 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45714 r=`${PWD_COMMAND}`; export r; \
45715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45716 $(NORMAL_TARGET_EXPORTS) \
45717 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
45718 for flag in $(EXTRA_TARGET_FLAGS); do \
45719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45720 done; \
45721 (cd $(TARGET_SUBDIR)/libgcc && \
45722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45724 "RANLIB=$${RANLIB}" \
45725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45726 install-info) \
45727 || exit 1
45729 @endif target-libgcc
45731 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
45732 maybe-install-pdf-target-libgcc:
45733 @if target-libgcc
45734 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
45736 install-pdf-target-libgcc: \
45737 configure-target-libgcc \
45738 pdf-target-libgcc
45739 @: $(MAKE); $(unstage)
45740 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45741 r=`${PWD_COMMAND}`; export r; \
45742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45743 $(NORMAL_TARGET_EXPORTS) \
45744 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
45745 for flag in $(EXTRA_TARGET_FLAGS); do \
45746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45747 done; \
45748 (cd $(TARGET_SUBDIR)/libgcc && \
45749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45751 "RANLIB=$${RANLIB}" \
45752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45753 install-pdf) \
45754 || exit 1
45756 @endif target-libgcc
45758 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
45759 maybe-install-html-target-libgcc:
45760 @if target-libgcc
45761 maybe-install-html-target-libgcc: install-html-target-libgcc
45763 install-html-target-libgcc: \
45764 configure-target-libgcc \
45765 html-target-libgcc
45766 @: $(MAKE); $(unstage)
45767 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45768 r=`${PWD_COMMAND}`; export r; \
45769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45770 $(NORMAL_TARGET_EXPORTS) \
45771 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
45772 for flag in $(EXTRA_TARGET_FLAGS); do \
45773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45774 done; \
45775 (cd $(TARGET_SUBDIR)/libgcc && \
45776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45778 "RANLIB=$${RANLIB}" \
45779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45780 install-html) \
45781 || exit 1
45783 @endif target-libgcc
45785 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
45786 maybe-installcheck-target-libgcc:
45787 @if target-libgcc
45788 maybe-installcheck-target-libgcc: installcheck-target-libgcc
45790 installcheck-target-libgcc: \
45791 configure-target-libgcc
45792 @: $(MAKE); $(unstage)
45793 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45794 r=`${PWD_COMMAND}`; export r; \
45795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45796 $(NORMAL_TARGET_EXPORTS) \
45797 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
45798 for flag in $(EXTRA_TARGET_FLAGS); do \
45799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45800 done; \
45801 (cd $(TARGET_SUBDIR)/libgcc && \
45802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45804 "RANLIB=$${RANLIB}" \
45805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45806 installcheck) \
45807 || exit 1
45809 @endif target-libgcc
45811 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
45812 maybe-mostlyclean-target-libgcc:
45813 @if target-libgcc
45814 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
45816 mostlyclean-target-libgcc:
45817 @: $(MAKE); $(unstage)
45818 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45819 r=`${PWD_COMMAND}`; export r; \
45820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45821 $(NORMAL_TARGET_EXPORTS) \
45822 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
45823 for flag in $(EXTRA_TARGET_FLAGS); do \
45824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45825 done; \
45826 (cd $(TARGET_SUBDIR)/libgcc && \
45827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45829 "RANLIB=$${RANLIB}" \
45830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45831 mostlyclean) \
45832 || exit 1
45834 @endif target-libgcc
45836 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
45837 maybe-clean-target-libgcc:
45838 @if target-libgcc
45839 maybe-clean-target-libgcc: clean-target-libgcc
45841 clean-target-libgcc:
45842 @: $(MAKE); $(unstage)
45843 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45844 r=`${PWD_COMMAND}`; export r; \
45845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45846 $(NORMAL_TARGET_EXPORTS) \
45847 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
45848 for flag in $(EXTRA_TARGET_FLAGS); do \
45849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45850 done; \
45851 (cd $(TARGET_SUBDIR)/libgcc && \
45852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45854 "RANLIB=$${RANLIB}" \
45855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45856 clean) \
45857 || exit 1
45859 @endif target-libgcc
45861 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
45862 maybe-distclean-target-libgcc:
45863 @if target-libgcc
45864 maybe-distclean-target-libgcc: distclean-target-libgcc
45866 distclean-target-libgcc:
45867 @: $(MAKE); $(unstage)
45868 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45869 r=`${PWD_COMMAND}`; export r; \
45870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45871 $(NORMAL_TARGET_EXPORTS) \
45872 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
45873 for flag in $(EXTRA_TARGET_FLAGS); do \
45874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45875 done; \
45876 (cd $(TARGET_SUBDIR)/libgcc && \
45877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45879 "RANLIB=$${RANLIB}" \
45880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45881 distclean) \
45882 || exit 1
45884 @endif target-libgcc
45886 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
45887 maybe-maintainer-clean-target-libgcc:
45888 @if target-libgcc
45889 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
45891 maintainer-clean-target-libgcc:
45892 @: $(MAKE); $(unstage)
45893 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45894 r=`${PWD_COMMAND}`; export r; \
45895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45896 $(NORMAL_TARGET_EXPORTS) \
45897 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
45898 for flag in $(EXTRA_TARGET_FLAGS); do \
45899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45900 done; \
45901 (cd $(TARGET_SUBDIR)/libgcc && \
45902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45904 "RANLIB=$${RANLIB}" \
45905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45906 maintainer-clean) \
45907 || exit 1
45909 @endif target-libgcc
45915 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
45916 maybe-configure-target-libgfortran:
45917 @if gcc-bootstrap
45918 configure-target-libgfortran: stage_current
45919 @endif gcc-bootstrap
45920 @if target-libgfortran
45921 maybe-configure-target-libgfortran: configure-target-libgfortran
45922 configure-target-libgfortran:
45923 @: $(MAKE); $(unstage)
45924 @r=`${PWD_COMMAND}`; export r; \
45925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45926 echo "Checking multilib configuration for libgfortran..."; \
45927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
45928 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
45929 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45930 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45931 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
45932 else \
45933 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
45934 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45935 fi; \
45936 else \
45937 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45938 fi; \
45939 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
45940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
45941 $(NORMAL_TARGET_EXPORTS) \
45942 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
45943 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
45944 case $(srcdir) in \
45945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45946 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
45947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45948 esac; \
45949 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
45950 libsrcdir="$$s/libgfortran"; \
45951 rm -f no-such-file || : ; \
45952 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45953 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45954 --target=${target_alias} $${srcdiroption} \
45955 || exit 1
45956 @endif target-libgfortran
45962 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
45963 maybe-all-target-libgfortran:
45964 @if gcc-bootstrap
45965 all-target-libgfortran: stage_current
45966 @endif gcc-bootstrap
45967 @if target-libgfortran
45968 TARGET-target-libgfortran=all
45969 maybe-all-target-libgfortran: all-target-libgfortran
45970 all-target-libgfortran: configure-target-libgfortran
45971 @: $(MAKE); $(unstage)
45972 @r=`${PWD_COMMAND}`; export r; \
45973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45974 $(NORMAL_TARGET_EXPORTS) \
45975 (cd $(TARGET_SUBDIR)/libgfortran && \
45976 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45977 $(TARGET-target-libgfortran))
45978 @endif target-libgfortran
45984 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
45985 maybe-check-target-libgfortran:
45986 @if target-libgfortran
45987 maybe-check-target-libgfortran: check-target-libgfortran
45989 check-target-libgfortran:
45990 @: $(MAKE); $(unstage)
45991 @r=`${PWD_COMMAND}`; export r; \
45992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45993 $(NORMAL_TARGET_EXPORTS) \
45994 (cd $(TARGET_SUBDIR)/libgfortran && \
45995 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45997 @endif target-libgfortran
45999 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
46000 maybe-install-target-libgfortran:
46001 @if target-libgfortran
46002 maybe-install-target-libgfortran: install-target-libgfortran
46004 install-target-libgfortran: installdirs
46005 @: $(MAKE); $(unstage)
46006 @r=`${PWD_COMMAND}`; export r; \
46007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46008 $(NORMAL_TARGET_EXPORTS) \
46009 (cd $(TARGET_SUBDIR)/libgfortran && \
46010 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46012 @endif target-libgfortran
46014 # Other targets (info, dvi, pdf, etc.)
46016 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
46017 maybe-info-target-libgfortran:
46018 @if target-libgfortran
46019 maybe-info-target-libgfortran: info-target-libgfortran
46021 info-target-libgfortran: \
46022 configure-target-libgfortran
46023 @: $(MAKE); $(unstage)
46024 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46025 r=`${PWD_COMMAND}`; export r; \
46026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46027 $(NORMAL_TARGET_EXPORTS) \
46028 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
46029 for flag in $(EXTRA_TARGET_FLAGS); do \
46030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46031 done; \
46032 (cd $(TARGET_SUBDIR)/libgfortran && \
46033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46035 "RANLIB=$${RANLIB}" \
46036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46037 info) \
46038 || exit 1
46040 @endif target-libgfortran
46042 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
46043 maybe-dvi-target-libgfortran:
46044 @if target-libgfortran
46045 maybe-dvi-target-libgfortran: dvi-target-libgfortran
46047 dvi-target-libgfortran: \
46048 configure-target-libgfortran
46049 @: $(MAKE); $(unstage)
46050 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46051 r=`${PWD_COMMAND}`; export r; \
46052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46053 $(NORMAL_TARGET_EXPORTS) \
46054 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
46055 for flag in $(EXTRA_TARGET_FLAGS); do \
46056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46057 done; \
46058 (cd $(TARGET_SUBDIR)/libgfortran && \
46059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46061 "RANLIB=$${RANLIB}" \
46062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46063 dvi) \
46064 || exit 1
46066 @endif target-libgfortran
46068 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
46069 maybe-pdf-target-libgfortran:
46070 @if target-libgfortran
46071 maybe-pdf-target-libgfortran: pdf-target-libgfortran
46073 pdf-target-libgfortran: \
46074 configure-target-libgfortran
46075 @: $(MAKE); $(unstage)
46076 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46077 r=`${PWD_COMMAND}`; export r; \
46078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46079 $(NORMAL_TARGET_EXPORTS) \
46080 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
46081 for flag in $(EXTRA_TARGET_FLAGS); do \
46082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46083 done; \
46084 (cd $(TARGET_SUBDIR)/libgfortran && \
46085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46087 "RANLIB=$${RANLIB}" \
46088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46089 pdf) \
46090 || exit 1
46092 @endif target-libgfortran
46094 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
46095 maybe-html-target-libgfortran:
46096 @if target-libgfortran
46097 maybe-html-target-libgfortran: html-target-libgfortran
46099 html-target-libgfortran: \
46100 configure-target-libgfortran
46101 @: $(MAKE); $(unstage)
46102 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46103 r=`${PWD_COMMAND}`; export r; \
46104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46105 $(NORMAL_TARGET_EXPORTS) \
46106 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
46107 for flag in $(EXTRA_TARGET_FLAGS); do \
46108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46109 done; \
46110 (cd $(TARGET_SUBDIR)/libgfortran && \
46111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46113 "RANLIB=$${RANLIB}" \
46114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46115 html) \
46116 || exit 1
46118 @endif target-libgfortran
46120 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
46121 maybe-TAGS-target-libgfortran:
46122 @if target-libgfortran
46123 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
46125 TAGS-target-libgfortran: \
46126 configure-target-libgfortran
46127 @: $(MAKE); $(unstage)
46128 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46129 r=`${PWD_COMMAND}`; export r; \
46130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46131 $(NORMAL_TARGET_EXPORTS) \
46132 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
46133 for flag in $(EXTRA_TARGET_FLAGS); do \
46134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46135 done; \
46136 (cd $(TARGET_SUBDIR)/libgfortran && \
46137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46139 "RANLIB=$${RANLIB}" \
46140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46141 TAGS) \
46142 || exit 1
46144 @endif target-libgfortran
46146 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
46147 maybe-install-info-target-libgfortran:
46148 @if target-libgfortran
46149 maybe-install-info-target-libgfortran: install-info-target-libgfortran
46151 install-info-target-libgfortran: \
46152 configure-target-libgfortran \
46153 info-target-libgfortran
46154 @: $(MAKE); $(unstage)
46155 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46156 r=`${PWD_COMMAND}`; export r; \
46157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46158 $(NORMAL_TARGET_EXPORTS) \
46159 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
46160 for flag in $(EXTRA_TARGET_FLAGS); do \
46161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46162 done; \
46163 (cd $(TARGET_SUBDIR)/libgfortran && \
46164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46166 "RANLIB=$${RANLIB}" \
46167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46168 install-info) \
46169 || exit 1
46171 @endif target-libgfortran
46173 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
46174 maybe-install-pdf-target-libgfortran:
46175 @if target-libgfortran
46176 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
46178 install-pdf-target-libgfortran: \
46179 configure-target-libgfortran \
46180 pdf-target-libgfortran
46181 @: $(MAKE); $(unstage)
46182 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46183 r=`${PWD_COMMAND}`; export r; \
46184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46185 $(NORMAL_TARGET_EXPORTS) \
46186 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
46187 for flag in $(EXTRA_TARGET_FLAGS); do \
46188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46189 done; \
46190 (cd $(TARGET_SUBDIR)/libgfortran && \
46191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46193 "RANLIB=$${RANLIB}" \
46194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46195 install-pdf) \
46196 || exit 1
46198 @endif target-libgfortran
46200 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
46201 maybe-install-html-target-libgfortran:
46202 @if target-libgfortran
46203 maybe-install-html-target-libgfortran: install-html-target-libgfortran
46205 install-html-target-libgfortran: \
46206 configure-target-libgfortran \
46207 html-target-libgfortran
46208 @: $(MAKE); $(unstage)
46209 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46210 r=`${PWD_COMMAND}`; export r; \
46211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46212 $(NORMAL_TARGET_EXPORTS) \
46213 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
46214 for flag in $(EXTRA_TARGET_FLAGS); do \
46215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46216 done; \
46217 (cd $(TARGET_SUBDIR)/libgfortran && \
46218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46220 "RANLIB=$${RANLIB}" \
46221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46222 install-html) \
46223 || exit 1
46225 @endif target-libgfortran
46227 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
46228 maybe-installcheck-target-libgfortran:
46229 @if target-libgfortran
46230 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
46232 installcheck-target-libgfortran: \
46233 configure-target-libgfortran
46234 @: $(MAKE); $(unstage)
46235 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46236 r=`${PWD_COMMAND}`; export r; \
46237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46238 $(NORMAL_TARGET_EXPORTS) \
46239 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
46240 for flag in $(EXTRA_TARGET_FLAGS); do \
46241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46242 done; \
46243 (cd $(TARGET_SUBDIR)/libgfortran && \
46244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46246 "RANLIB=$${RANLIB}" \
46247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46248 installcheck) \
46249 || exit 1
46251 @endif target-libgfortran
46253 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
46254 maybe-mostlyclean-target-libgfortran:
46255 @if target-libgfortran
46256 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
46258 mostlyclean-target-libgfortran:
46259 @: $(MAKE); $(unstage)
46260 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46261 r=`${PWD_COMMAND}`; export r; \
46262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46263 $(NORMAL_TARGET_EXPORTS) \
46264 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
46265 for flag in $(EXTRA_TARGET_FLAGS); do \
46266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46267 done; \
46268 (cd $(TARGET_SUBDIR)/libgfortran && \
46269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46271 "RANLIB=$${RANLIB}" \
46272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46273 mostlyclean) \
46274 || exit 1
46276 @endif target-libgfortran
46278 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
46279 maybe-clean-target-libgfortran:
46280 @if target-libgfortran
46281 maybe-clean-target-libgfortran: clean-target-libgfortran
46283 clean-target-libgfortran:
46284 @: $(MAKE); $(unstage)
46285 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46286 r=`${PWD_COMMAND}`; export r; \
46287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46288 $(NORMAL_TARGET_EXPORTS) \
46289 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
46290 for flag in $(EXTRA_TARGET_FLAGS); do \
46291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46292 done; \
46293 (cd $(TARGET_SUBDIR)/libgfortran && \
46294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46296 "RANLIB=$${RANLIB}" \
46297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46298 clean) \
46299 || exit 1
46301 @endif target-libgfortran
46303 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
46304 maybe-distclean-target-libgfortran:
46305 @if target-libgfortran
46306 maybe-distclean-target-libgfortran: distclean-target-libgfortran
46308 distclean-target-libgfortran:
46309 @: $(MAKE); $(unstage)
46310 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46311 r=`${PWD_COMMAND}`; export r; \
46312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46313 $(NORMAL_TARGET_EXPORTS) \
46314 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
46315 for flag in $(EXTRA_TARGET_FLAGS); do \
46316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46317 done; \
46318 (cd $(TARGET_SUBDIR)/libgfortran && \
46319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46321 "RANLIB=$${RANLIB}" \
46322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46323 distclean) \
46324 || exit 1
46326 @endif target-libgfortran
46328 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
46329 maybe-maintainer-clean-target-libgfortran:
46330 @if target-libgfortran
46331 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
46333 maintainer-clean-target-libgfortran:
46334 @: $(MAKE); $(unstage)
46335 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
46336 r=`${PWD_COMMAND}`; export r; \
46337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46338 $(NORMAL_TARGET_EXPORTS) \
46339 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
46340 for flag in $(EXTRA_TARGET_FLAGS); do \
46341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46342 done; \
46343 (cd $(TARGET_SUBDIR)/libgfortran && \
46344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46346 "RANLIB=$${RANLIB}" \
46347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46348 maintainer-clean) \
46349 || exit 1
46351 @endif target-libgfortran
46357 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
46358 maybe-configure-target-libobjc:
46359 @if gcc-bootstrap
46360 configure-target-libobjc: stage_current
46361 @endif gcc-bootstrap
46362 @if target-libobjc
46363 maybe-configure-target-libobjc: configure-target-libobjc
46364 configure-target-libobjc:
46365 @: $(MAKE); $(unstage)
46366 @r=`${PWD_COMMAND}`; export r; \
46367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46368 echo "Checking multilib configuration for libobjc..."; \
46369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
46370 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
46371 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
46372 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
46373 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
46374 else \
46375 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
46376 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46377 fi; \
46378 else \
46379 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46380 fi; \
46381 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
46382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
46383 $(NORMAL_TARGET_EXPORTS) \
46384 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
46385 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
46386 case $(srcdir) in \
46387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46388 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
46389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46390 esac; \
46391 srcdiroption="--srcdir=$${topdir}/libobjc"; \
46392 libsrcdir="$$s/libobjc"; \
46393 rm -f no-such-file || : ; \
46394 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46395 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46396 --target=${target_alias} $${srcdiroption} \
46397 || exit 1
46398 @endif target-libobjc
46404 .PHONY: all-target-libobjc maybe-all-target-libobjc
46405 maybe-all-target-libobjc:
46406 @if gcc-bootstrap
46407 all-target-libobjc: stage_current
46408 @endif gcc-bootstrap
46409 @if target-libobjc
46410 TARGET-target-libobjc=all
46411 maybe-all-target-libobjc: all-target-libobjc
46412 all-target-libobjc: configure-target-libobjc
46413 @: $(MAKE); $(unstage)
46414 @r=`${PWD_COMMAND}`; export r; \
46415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46416 $(NORMAL_TARGET_EXPORTS) \
46417 (cd $(TARGET_SUBDIR)/libobjc && \
46418 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46419 $(TARGET-target-libobjc))
46420 @endif target-libobjc
46426 .PHONY: check-target-libobjc maybe-check-target-libobjc
46427 maybe-check-target-libobjc:
46428 @if target-libobjc
46429 maybe-check-target-libobjc: check-target-libobjc
46431 check-target-libobjc:
46432 @: $(MAKE); $(unstage)
46433 @r=`${PWD_COMMAND}`; export r; \
46434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46435 $(NORMAL_TARGET_EXPORTS) \
46436 (cd $(TARGET_SUBDIR)/libobjc && \
46437 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46439 @endif target-libobjc
46441 .PHONY: install-target-libobjc maybe-install-target-libobjc
46442 maybe-install-target-libobjc:
46443 @if target-libobjc
46444 maybe-install-target-libobjc: install-target-libobjc
46446 install-target-libobjc: installdirs
46447 @: $(MAKE); $(unstage)
46448 @r=`${PWD_COMMAND}`; export r; \
46449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46450 $(NORMAL_TARGET_EXPORTS) \
46451 (cd $(TARGET_SUBDIR)/libobjc && \
46452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46454 @endif target-libobjc
46456 # Other targets (info, dvi, pdf, etc.)
46458 .PHONY: maybe-info-target-libobjc info-target-libobjc
46459 maybe-info-target-libobjc:
46460 @if target-libobjc
46461 maybe-info-target-libobjc: info-target-libobjc
46463 info-target-libobjc: \
46464 configure-target-libobjc
46465 @: $(MAKE); $(unstage)
46466 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46467 r=`${PWD_COMMAND}`; export r; \
46468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46469 $(NORMAL_TARGET_EXPORTS) \
46470 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
46471 for flag in $(EXTRA_TARGET_FLAGS); do \
46472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46473 done; \
46474 (cd $(TARGET_SUBDIR)/libobjc && \
46475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46477 "RANLIB=$${RANLIB}" \
46478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46479 info) \
46480 || exit 1
46482 @endif target-libobjc
46484 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
46485 maybe-dvi-target-libobjc:
46486 @if target-libobjc
46487 maybe-dvi-target-libobjc: dvi-target-libobjc
46489 dvi-target-libobjc: \
46490 configure-target-libobjc
46491 @: $(MAKE); $(unstage)
46492 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46493 r=`${PWD_COMMAND}`; export r; \
46494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46495 $(NORMAL_TARGET_EXPORTS) \
46496 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
46497 for flag in $(EXTRA_TARGET_FLAGS); do \
46498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46499 done; \
46500 (cd $(TARGET_SUBDIR)/libobjc && \
46501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46503 "RANLIB=$${RANLIB}" \
46504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46505 dvi) \
46506 || exit 1
46508 @endif target-libobjc
46510 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
46511 maybe-pdf-target-libobjc:
46512 @if target-libobjc
46513 maybe-pdf-target-libobjc: pdf-target-libobjc
46515 pdf-target-libobjc: \
46516 configure-target-libobjc
46517 @: $(MAKE); $(unstage)
46518 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46519 r=`${PWD_COMMAND}`; export r; \
46520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46521 $(NORMAL_TARGET_EXPORTS) \
46522 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
46523 for flag in $(EXTRA_TARGET_FLAGS); do \
46524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46525 done; \
46526 (cd $(TARGET_SUBDIR)/libobjc && \
46527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46529 "RANLIB=$${RANLIB}" \
46530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46531 pdf) \
46532 || exit 1
46534 @endif target-libobjc
46536 .PHONY: maybe-html-target-libobjc html-target-libobjc
46537 maybe-html-target-libobjc:
46538 @if target-libobjc
46539 maybe-html-target-libobjc: html-target-libobjc
46541 html-target-libobjc: \
46542 configure-target-libobjc
46543 @: $(MAKE); $(unstage)
46544 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46545 r=`${PWD_COMMAND}`; export r; \
46546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46547 $(NORMAL_TARGET_EXPORTS) \
46548 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
46549 for flag in $(EXTRA_TARGET_FLAGS); do \
46550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46551 done; \
46552 (cd $(TARGET_SUBDIR)/libobjc && \
46553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46555 "RANLIB=$${RANLIB}" \
46556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46557 html) \
46558 || exit 1
46560 @endif target-libobjc
46562 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
46563 maybe-TAGS-target-libobjc:
46564 @if target-libobjc
46565 maybe-TAGS-target-libobjc: TAGS-target-libobjc
46567 TAGS-target-libobjc: \
46568 configure-target-libobjc
46569 @: $(MAKE); $(unstage)
46570 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46571 r=`${PWD_COMMAND}`; export r; \
46572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46573 $(NORMAL_TARGET_EXPORTS) \
46574 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
46575 for flag in $(EXTRA_TARGET_FLAGS); do \
46576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46577 done; \
46578 (cd $(TARGET_SUBDIR)/libobjc && \
46579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46581 "RANLIB=$${RANLIB}" \
46582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46583 TAGS) \
46584 || exit 1
46586 @endif target-libobjc
46588 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
46589 maybe-install-info-target-libobjc:
46590 @if target-libobjc
46591 maybe-install-info-target-libobjc: install-info-target-libobjc
46593 install-info-target-libobjc: \
46594 configure-target-libobjc \
46595 info-target-libobjc
46596 @: $(MAKE); $(unstage)
46597 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46598 r=`${PWD_COMMAND}`; export r; \
46599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46600 $(NORMAL_TARGET_EXPORTS) \
46601 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
46602 for flag in $(EXTRA_TARGET_FLAGS); do \
46603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46604 done; \
46605 (cd $(TARGET_SUBDIR)/libobjc && \
46606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46608 "RANLIB=$${RANLIB}" \
46609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46610 install-info) \
46611 || exit 1
46613 @endif target-libobjc
46615 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
46616 maybe-install-pdf-target-libobjc:
46617 @if target-libobjc
46618 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
46620 install-pdf-target-libobjc: \
46621 configure-target-libobjc \
46622 pdf-target-libobjc
46623 @: $(MAKE); $(unstage)
46624 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46625 r=`${PWD_COMMAND}`; export r; \
46626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46627 $(NORMAL_TARGET_EXPORTS) \
46628 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
46629 for flag in $(EXTRA_TARGET_FLAGS); do \
46630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46631 done; \
46632 (cd $(TARGET_SUBDIR)/libobjc && \
46633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46635 "RANLIB=$${RANLIB}" \
46636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46637 install-pdf) \
46638 || exit 1
46640 @endif target-libobjc
46642 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
46643 maybe-install-html-target-libobjc:
46644 @if target-libobjc
46645 maybe-install-html-target-libobjc: install-html-target-libobjc
46647 install-html-target-libobjc: \
46648 configure-target-libobjc \
46649 html-target-libobjc
46650 @: $(MAKE); $(unstage)
46651 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46652 r=`${PWD_COMMAND}`; export r; \
46653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46654 $(NORMAL_TARGET_EXPORTS) \
46655 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
46656 for flag in $(EXTRA_TARGET_FLAGS); do \
46657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46658 done; \
46659 (cd $(TARGET_SUBDIR)/libobjc && \
46660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46662 "RANLIB=$${RANLIB}" \
46663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46664 install-html) \
46665 || exit 1
46667 @endif target-libobjc
46669 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
46670 maybe-installcheck-target-libobjc:
46671 @if target-libobjc
46672 maybe-installcheck-target-libobjc: installcheck-target-libobjc
46674 installcheck-target-libobjc: \
46675 configure-target-libobjc
46676 @: $(MAKE); $(unstage)
46677 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46678 r=`${PWD_COMMAND}`; export r; \
46679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46680 $(NORMAL_TARGET_EXPORTS) \
46681 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
46682 for flag in $(EXTRA_TARGET_FLAGS); do \
46683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46684 done; \
46685 (cd $(TARGET_SUBDIR)/libobjc && \
46686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46688 "RANLIB=$${RANLIB}" \
46689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46690 installcheck) \
46691 || exit 1
46693 @endif target-libobjc
46695 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
46696 maybe-mostlyclean-target-libobjc:
46697 @if target-libobjc
46698 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
46700 mostlyclean-target-libobjc:
46701 @: $(MAKE); $(unstage)
46702 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46703 r=`${PWD_COMMAND}`; export r; \
46704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46705 $(NORMAL_TARGET_EXPORTS) \
46706 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
46707 for flag in $(EXTRA_TARGET_FLAGS); do \
46708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46709 done; \
46710 (cd $(TARGET_SUBDIR)/libobjc && \
46711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46713 "RANLIB=$${RANLIB}" \
46714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46715 mostlyclean) \
46716 || exit 1
46718 @endif target-libobjc
46720 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
46721 maybe-clean-target-libobjc:
46722 @if target-libobjc
46723 maybe-clean-target-libobjc: clean-target-libobjc
46725 clean-target-libobjc:
46726 @: $(MAKE); $(unstage)
46727 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46728 r=`${PWD_COMMAND}`; export r; \
46729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46730 $(NORMAL_TARGET_EXPORTS) \
46731 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
46732 for flag in $(EXTRA_TARGET_FLAGS); do \
46733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46734 done; \
46735 (cd $(TARGET_SUBDIR)/libobjc && \
46736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46738 "RANLIB=$${RANLIB}" \
46739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46740 clean) \
46741 || exit 1
46743 @endif target-libobjc
46745 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
46746 maybe-distclean-target-libobjc:
46747 @if target-libobjc
46748 maybe-distclean-target-libobjc: distclean-target-libobjc
46750 distclean-target-libobjc:
46751 @: $(MAKE); $(unstage)
46752 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46753 r=`${PWD_COMMAND}`; export r; \
46754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46755 $(NORMAL_TARGET_EXPORTS) \
46756 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
46757 for flag in $(EXTRA_TARGET_FLAGS); do \
46758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46759 done; \
46760 (cd $(TARGET_SUBDIR)/libobjc && \
46761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46763 "RANLIB=$${RANLIB}" \
46764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46765 distclean) \
46766 || exit 1
46768 @endif target-libobjc
46770 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
46771 maybe-maintainer-clean-target-libobjc:
46772 @if target-libobjc
46773 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
46775 maintainer-clean-target-libobjc:
46776 @: $(MAKE); $(unstage)
46777 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46778 r=`${PWD_COMMAND}`; export r; \
46779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46780 $(NORMAL_TARGET_EXPORTS) \
46781 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
46782 for flag in $(EXTRA_TARGET_FLAGS); do \
46783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46784 done; \
46785 (cd $(TARGET_SUBDIR)/libobjc && \
46786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46788 "RANLIB=$${RANLIB}" \
46789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46790 maintainer-clean) \
46791 || exit 1
46793 @endif target-libobjc
46799 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
46800 maybe-configure-target-libtermcap:
46801 @if gcc-bootstrap
46802 configure-target-libtermcap: stage_current
46803 @endif gcc-bootstrap
46804 @if target-libtermcap
46805 maybe-configure-target-libtermcap: configure-target-libtermcap
46806 configure-target-libtermcap:
46807 @: $(MAKE); $(unstage)
46808 @r=`${PWD_COMMAND}`; export r; \
46809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46810 echo "Checking multilib configuration for libtermcap..."; \
46811 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
46812 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
46813 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46814 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46815 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
46816 else \
46817 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
46818 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46819 fi; \
46820 else \
46821 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46822 fi; \
46823 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
46824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
46825 $(NORMAL_TARGET_EXPORTS) \
46826 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
46827 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
46828 case $(srcdir) in \
46829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46830 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
46831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46832 esac; \
46833 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
46834 libsrcdir="$$s/libtermcap"; \
46835 rm -f no-such-file || : ; \
46836 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46837 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46838 --target=${target_alias} $${srcdiroption} \
46839 || exit 1
46840 @endif target-libtermcap
46846 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
46847 maybe-all-target-libtermcap:
46848 @if gcc-bootstrap
46849 all-target-libtermcap: stage_current
46850 @endif gcc-bootstrap
46851 @if target-libtermcap
46852 TARGET-target-libtermcap=all
46853 maybe-all-target-libtermcap: all-target-libtermcap
46854 all-target-libtermcap: configure-target-libtermcap
46855 @: $(MAKE); $(unstage)
46856 @r=`${PWD_COMMAND}`; export r; \
46857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46858 $(NORMAL_TARGET_EXPORTS) \
46859 (cd $(TARGET_SUBDIR)/libtermcap && \
46860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46861 $(TARGET-target-libtermcap))
46862 @endif target-libtermcap
46868 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
46869 maybe-check-target-libtermcap:
46870 @if target-libtermcap
46871 maybe-check-target-libtermcap: check-target-libtermcap
46873 # Dummy target for uncheckable module.
46874 check-target-libtermcap:
46876 @endif target-libtermcap
46878 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
46879 maybe-install-target-libtermcap:
46880 @if target-libtermcap
46881 maybe-install-target-libtermcap: install-target-libtermcap
46883 install-target-libtermcap: installdirs
46884 @: $(MAKE); $(unstage)
46885 @r=`${PWD_COMMAND}`; export r; \
46886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46887 $(NORMAL_TARGET_EXPORTS) \
46888 (cd $(TARGET_SUBDIR)/libtermcap && \
46889 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46891 @endif target-libtermcap
46893 # Other targets (info, dvi, pdf, etc.)
46895 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
46896 maybe-info-target-libtermcap:
46897 @if target-libtermcap
46898 maybe-info-target-libtermcap: info-target-libtermcap
46900 info-target-libtermcap: \
46901 configure-target-libtermcap
46902 @: $(MAKE); $(unstage)
46903 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46904 r=`${PWD_COMMAND}`; export r; \
46905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46906 $(NORMAL_TARGET_EXPORTS) \
46907 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
46908 for flag in $(EXTRA_TARGET_FLAGS); do \
46909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46910 done; \
46911 (cd $(TARGET_SUBDIR)/libtermcap && \
46912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46914 "RANLIB=$${RANLIB}" \
46915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46916 info) \
46917 || exit 1
46919 @endif target-libtermcap
46921 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
46922 maybe-dvi-target-libtermcap:
46923 @if target-libtermcap
46924 maybe-dvi-target-libtermcap: dvi-target-libtermcap
46926 dvi-target-libtermcap: \
46927 configure-target-libtermcap
46928 @: $(MAKE); $(unstage)
46929 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46930 r=`${PWD_COMMAND}`; export r; \
46931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46932 $(NORMAL_TARGET_EXPORTS) \
46933 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
46934 for flag in $(EXTRA_TARGET_FLAGS); do \
46935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46936 done; \
46937 (cd $(TARGET_SUBDIR)/libtermcap && \
46938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46940 "RANLIB=$${RANLIB}" \
46941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46942 dvi) \
46943 || exit 1
46945 @endif target-libtermcap
46947 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
46948 maybe-pdf-target-libtermcap:
46949 @if target-libtermcap
46950 maybe-pdf-target-libtermcap: pdf-target-libtermcap
46952 pdf-target-libtermcap: \
46953 configure-target-libtermcap
46954 @: $(MAKE); $(unstage)
46955 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46956 r=`${PWD_COMMAND}`; export r; \
46957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46958 $(NORMAL_TARGET_EXPORTS) \
46959 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
46960 for flag in $(EXTRA_TARGET_FLAGS); do \
46961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46962 done; \
46963 (cd $(TARGET_SUBDIR)/libtermcap && \
46964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46966 "RANLIB=$${RANLIB}" \
46967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46968 pdf) \
46969 || exit 1
46971 @endif target-libtermcap
46973 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
46974 maybe-html-target-libtermcap:
46975 @if target-libtermcap
46976 maybe-html-target-libtermcap: html-target-libtermcap
46978 html-target-libtermcap: \
46979 configure-target-libtermcap
46980 @: $(MAKE); $(unstage)
46981 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46982 r=`${PWD_COMMAND}`; export r; \
46983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46984 $(NORMAL_TARGET_EXPORTS) \
46985 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
46986 for flag in $(EXTRA_TARGET_FLAGS); do \
46987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46988 done; \
46989 (cd $(TARGET_SUBDIR)/libtermcap && \
46990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46992 "RANLIB=$${RANLIB}" \
46993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46994 html) \
46995 || exit 1
46997 @endif target-libtermcap
46999 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
47000 maybe-TAGS-target-libtermcap:
47001 @if target-libtermcap
47002 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
47004 TAGS-target-libtermcap: \
47005 configure-target-libtermcap
47006 @: $(MAKE); $(unstage)
47007 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
47008 r=`${PWD_COMMAND}`; export r; \
47009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47010 $(NORMAL_TARGET_EXPORTS) \
47011 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
47012 for flag in $(EXTRA_TARGET_FLAGS); do \
47013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47014 done; \
47015 (cd $(TARGET_SUBDIR)/libtermcap && \
47016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47018 "RANLIB=$${RANLIB}" \
47019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47020 TAGS) \
47021 || exit 1
47023 @endif target-libtermcap
47025 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
47026 maybe-install-info-target-libtermcap:
47027 @if target-libtermcap
47028 maybe-install-info-target-libtermcap: install-info-target-libtermcap
47030 install-info-target-libtermcap: \
47031 configure-target-libtermcap \
47032 info-target-libtermcap
47033 @: $(MAKE); $(unstage)
47034 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
47035 r=`${PWD_COMMAND}`; export r; \
47036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47037 $(NORMAL_TARGET_EXPORTS) \
47038 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
47039 for flag in $(EXTRA_TARGET_FLAGS); do \
47040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47041 done; \
47042 (cd $(TARGET_SUBDIR)/libtermcap && \
47043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47045 "RANLIB=$${RANLIB}" \
47046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47047 install-info) \
47048 || exit 1
47050 @endif target-libtermcap
47052 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
47053 maybe-install-pdf-target-libtermcap:
47054 @if target-libtermcap
47055 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
47057 install-pdf-target-libtermcap: \
47058 configure-target-libtermcap \
47059 pdf-target-libtermcap
47060 @: $(MAKE); $(unstage)
47061 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
47062 r=`${PWD_COMMAND}`; export r; \
47063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47064 $(NORMAL_TARGET_EXPORTS) \
47065 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
47066 for flag in $(EXTRA_TARGET_FLAGS); do \
47067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47068 done; \
47069 (cd $(TARGET_SUBDIR)/libtermcap && \
47070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47072 "RANLIB=$${RANLIB}" \
47073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47074 install-pdf) \
47075 || exit 1
47077 @endif target-libtermcap
47079 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
47080 maybe-install-html-target-libtermcap:
47081 @if target-libtermcap
47082 maybe-install-html-target-libtermcap: install-html-target-libtermcap
47084 install-html-target-libtermcap: \
47085 configure-target-libtermcap \
47086 html-target-libtermcap
47087 @: $(MAKE); $(unstage)
47088 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
47089 r=`${PWD_COMMAND}`; export r; \
47090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47091 $(NORMAL_TARGET_EXPORTS) \
47092 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
47093 for flag in $(EXTRA_TARGET_FLAGS); do \
47094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47095 done; \
47096 (cd $(TARGET_SUBDIR)/libtermcap && \
47097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47099 "RANLIB=$${RANLIB}" \
47100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47101 install-html) \
47102 || exit 1
47104 @endif target-libtermcap
47106 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
47107 maybe-installcheck-target-libtermcap:
47108 @if target-libtermcap
47109 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
47111 installcheck-target-libtermcap: \
47112 configure-target-libtermcap
47113 @: $(MAKE); $(unstage)
47114 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
47115 r=`${PWD_COMMAND}`; export r; \
47116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47117 $(NORMAL_TARGET_EXPORTS) \
47118 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
47119 for flag in $(EXTRA_TARGET_FLAGS); do \
47120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47121 done; \
47122 (cd $(TARGET_SUBDIR)/libtermcap && \
47123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47125 "RANLIB=$${RANLIB}" \
47126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47127 installcheck) \
47128 || exit 1
47130 @endif target-libtermcap
47132 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
47133 maybe-mostlyclean-target-libtermcap:
47134 @if target-libtermcap
47135 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
47137 # libtermcap doesn't support mostlyclean.
47138 mostlyclean-target-libtermcap:
47140 @endif target-libtermcap
47142 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
47143 maybe-clean-target-libtermcap:
47144 @if target-libtermcap
47145 maybe-clean-target-libtermcap: clean-target-libtermcap
47147 # libtermcap doesn't support clean.
47148 clean-target-libtermcap:
47150 @endif target-libtermcap
47152 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
47153 maybe-distclean-target-libtermcap:
47154 @if target-libtermcap
47155 maybe-distclean-target-libtermcap: distclean-target-libtermcap
47157 # libtermcap doesn't support distclean.
47158 distclean-target-libtermcap:
47160 @endif target-libtermcap
47162 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
47163 maybe-maintainer-clean-target-libtermcap:
47164 @if target-libtermcap
47165 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
47167 # libtermcap doesn't support maintainer-clean.
47168 maintainer-clean-target-libtermcap:
47170 @endif target-libtermcap
47176 .PHONY: configure-target-winsup maybe-configure-target-winsup
47177 maybe-configure-target-winsup:
47178 @if gcc-bootstrap
47179 configure-target-winsup: stage_current
47180 @endif gcc-bootstrap
47181 @if target-winsup
47182 maybe-configure-target-winsup: configure-target-winsup
47183 configure-target-winsup:
47184 @: $(MAKE); $(unstage)
47185 @r=`${PWD_COMMAND}`; export r; \
47186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47187 echo "Checking multilib configuration for winsup..."; \
47188 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
47189 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
47190 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
47191 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
47192 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
47193 else \
47194 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
47195 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47196 fi; \
47197 else \
47198 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47199 fi; \
47200 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
47201 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
47202 $(NORMAL_TARGET_EXPORTS) \
47203 echo Configuring in $(TARGET_SUBDIR)/winsup; \
47204 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
47205 case $(srcdir) in \
47206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47207 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
47208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47209 esac; \
47210 srcdiroption="--srcdir=$${topdir}/winsup"; \
47211 libsrcdir="$$s/winsup"; \
47212 rm -f no-such-file || : ; \
47213 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47214 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47215 --target=${target_alias} $${srcdiroption} \
47216 || exit 1
47217 @endif target-winsup
47223 .PHONY: all-target-winsup maybe-all-target-winsup
47224 maybe-all-target-winsup:
47225 @if gcc-bootstrap
47226 all-target-winsup: stage_current
47227 @endif gcc-bootstrap
47228 @if target-winsup
47229 TARGET-target-winsup=all
47230 maybe-all-target-winsup: all-target-winsup
47231 all-target-winsup: configure-target-winsup
47232 @: $(MAKE); $(unstage)
47233 @r=`${PWD_COMMAND}`; export r; \
47234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47235 $(NORMAL_TARGET_EXPORTS) \
47236 (cd $(TARGET_SUBDIR)/winsup && \
47237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47238 $(TARGET-target-winsup))
47239 @endif target-winsup
47245 .PHONY: check-target-winsup maybe-check-target-winsup
47246 maybe-check-target-winsup:
47247 @if target-winsup
47248 maybe-check-target-winsup: check-target-winsup
47250 check-target-winsup:
47251 @: $(MAKE); $(unstage)
47252 @r=`${PWD_COMMAND}`; export r; \
47253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47254 $(NORMAL_TARGET_EXPORTS) \
47255 (cd $(TARGET_SUBDIR)/winsup && \
47256 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47258 @endif target-winsup
47260 .PHONY: install-target-winsup maybe-install-target-winsup
47261 maybe-install-target-winsup:
47262 @if target-winsup
47263 maybe-install-target-winsup: install-target-winsup
47265 install-target-winsup: installdirs
47266 @: $(MAKE); $(unstage)
47267 @r=`${PWD_COMMAND}`; export r; \
47268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47269 $(NORMAL_TARGET_EXPORTS) \
47270 (cd $(TARGET_SUBDIR)/winsup && \
47271 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47273 @endif target-winsup
47275 # Other targets (info, dvi, pdf, etc.)
47277 .PHONY: maybe-info-target-winsup info-target-winsup
47278 maybe-info-target-winsup:
47279 @if target-winsup
47280 maybe-info-target-winsup: info-target-winsup
47282 info-target-winsup: \
47283 configure-target-winsup
47284 @: $(MAKE); $(unstage)
47285 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47286 r=`${PWD_COMMAND}`; export r; \
47287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47288 $(NORMAL_TARGET_EXPORTS) \
47289 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
47290 for flag in $(EXTRA_TARGET_FLAGS); do \
47291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47292 done; \
47293 (cd $(TARGET_SUBDIR)/winsup && \
47294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47296 "RANLIB=$${RANLIB}" \
47297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47298 info) \
47299 || exit 1
47301 @endif target-winsup
47303 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
47304 maybe-dvi-target-winsup:
47305 @if target-winsup
47306 maybe-dvi-target-winsup: dvi-target-winsup
47308 dvi-target-winsup: \
47309 configure-target-winsup
47310 @: $(MAKE); $(unstage)
47311 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47312 r=`${PWD_COMMAND}`; export r; \
47313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47314 $(NORMAL_TARGET_EXPORTS) \
47315 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
47316 for flag in $(EXTRA_TARGET_FLAGS); do \
47317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47318 done; \
47319 (cd $(TARGET_SUBDIR)/winsup && \
47320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47322 "RANLIB=$${RANLIB}" \
47323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47324 dvi) \
47325 || exit 1
47327 @endif target-winsup
47329 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
47330 maybe-pdf-target-winsup:
47331 @if target-winsup
47332 maybe-pdf-target-winsup: pdf-target-winsup
47334 pdf-target-winsup: \
47335 configure-target-winsup
47336 @: $(MAKE); $(unstage)
47337 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47338 r=`${PWD_COMMAND}`; export r; \
47339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47340 $(NORMAL_TARGET_EXPORTS) \
47341 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
47342 for flag in $(EXTRA_TARGET_FLAGS); do \
47343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47344 done; \
47345 (cd $(TARGET_SUBDIR)/winsup && \
47346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47348 "RANLIB=$${RANLIB}" \
47349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47350 pdf) \
47351 || exit 1
47353 @endif target-winsup
47355 .PHONY: maybe-html-target-winsup html-target-winsup
47356 maybe-html-target-winsup:
47357 @if target-winsup
47358 maybe-html-target-winsup: html-target-winsup
47360 html-target-winsup: \
47361 configure-target-winsup
47362 @: $(MAKE); $(unstage)
47363 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47364 r=`${PWD_COMMAND}`; export r; \
47365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47366 $(NORMAL_TARGET_EXPORTS) \
47367 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
47368 for flag in $(EXTRA_TARGET_FLAGS); do \
47369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47370 done; \
47371 (cd $(TARGET_SUBDIR)/winsup && \
47372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47374 "RANLIB=$${RANLIB}" \
47375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47376 html) \
47377 || exit 1
47379 @endif target-winsup
47381 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
47382 maybe-TAGS-target-winsup:
47383 @if target-winsup
47384 maybe-TAGS-target-winsup: TAGS-target-winsup
47386 TAGS-target-winsup: \
47387 configure-target-winsup
47388 @: $(MAKE); $(unstage)
47389 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47390 r=`${PWD_COMMAND}`; export r; \
47391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47392 $(NORMAL_TARGET_EXPORTS) \
47393 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
47394 for flag in $(EXTRA_TARGET_FLAGS); do \
47395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47396 done; \
47397 (cd $(TARGET_SUBDIR)/winsup && \
47398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47400 "RANLIB=$${RANLIB}" \
47401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47402 TAGS) \
47403 || exit 1
47405 @endif target-winsup
47407 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
47408 maybe-install-info-target-winsup:
47409 @if target-winsup
47410 maybe-install-info-target-winsup: install-info-target-winsup
47412 install-info-target-winsup: \
47413 configure-target-winsup \
47414 info-target-winsup
47415 @: $(MAKE); $(unstage)
47416 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47417 r=`${PWD_COMMAND}`; export r; \
47418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47419 $(NORMAL_TARGET_EXPORTS) \
47420 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
47421 for flag in $(EXTRA_TARGET_FLAGS); do \
47422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47423 done; \
47424 (cd $(TARGET_SUBDIR)/winsup && \
47425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47427 "RANLIB=$${RANLIB}" \
47428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47429 install-info) \
47430 || exit 1
47432 @endif target-winsup
47434 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
47435 maybe-install-pdf-target-winsup:
47436 @if target-winsup
47437 maybe-install-pdf-target-winsup: install-pdf-target-winsup
47439 install-pdf-target-winsup: \
47440 configure-target-winsup \
47441 pdf-target-winsup
47442 @: $(MAKE); $(unstage)
47443 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47444 r=`${PWD_COMMAND}`; export r; \
47445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47446 $(NORMAL_TARGET_EXPORTS) \
47447 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
47448 for flag in $(EXTRA_TARGET_FLAGS); do \
47449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47450 done; \
47451 (cd $(TARGET_SUBDIR)/winsup && \
47452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47454 "RANLIB=$${RANLIB}" \
47455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47456 install-pdf) \
47457 || exit 1
47459 @endif target-winsup
47461 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
47462 maybe-install-html-target-winsup:
47463 @if target-winsup
47464 maybe-install-html-target-winsup: install-html-target-winsup
47466 install-html-target-winsup: \
47467 configure-target-winsup \
47468 html-target-winsup
47469 @: $(MAKE); $(unstage)
47470 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47471 r=`${PWD_COMMAND}`; export r; \
47472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47473 $(NORMAL_TARGET_EXPORTS) \
47474 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
47475 for flag in $(EXTRA_TARGET_FLAGS); do \
47476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47477 done; \
47478 (cd $(TARGET_SUBDIR)/winsup && \
47479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47481 "RANLIB=$${RANLIB}" \
47482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47483 install-html) \
47484 || exit 1
47486 @endif target-winsup
47488 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
47489 maybe-installcheck-target-winsup:
47490 @if target-winsup
47491 maybe-installcheck-target-winsup: installcheck-target-winsup
47493 installcheck-target-winsup: \
47494 configure-target-winsup
47495 @: $(MAKE); $(unstage)
47496 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47497 r=`${PWD_COMMAND}`; export r; \
47498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47499 $(NORMAL_TARGET_EXPORTS) \
47500 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
47501 for flag in $(EXTRA_TARGET_FLAGS); do \
47502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47503 done; \
47504 (cd $(TARGET_SUBDIR)/winsup && \
47505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47507 "RANLIB=$${RANLIB}" \
47508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47509 installcheck) \
47510 || exit 1
47512 @endif target-winsup
47514 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
47515 maybe-mostlyclean-target-winsup:
47516 @if target-winsup
47517 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
47519 mostlyclean-target-winsup:
47520 @: $(MAKE); $(unstage)
47521 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47522 r=`${PWD_COMMAND}`; export r; \
47523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47524 $(NORMAL_TARGET_EXPORTS) \
47525 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
47526 for flag in $(EXTRA_TARGET_FLAGS); do \
47527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47528 done; \
47529 (cd $(TARGET_SUBDIR)/winsup && \
47530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47532 "RANLIB=$${RANLIB}" \
47533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47534 mostlyclean) \
47535 || exit 1
47537 @endif target-winsup
47539 .PHONY: maybe-clean-target-winsup clean-target-winsup
47540 maybe-clean-target-winsup:
47541 @if target-winsup
47542 maybe-clean-target-winsup: clean-target-winsup
47544 clean-target-winsup:
47545 @: $(MAKE); $(unstage)
47546 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47547 r=`${PWD_COMMAND}`; export r; \
47548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47549 $(NORMAL_TARGET_EXPORTS) \
47550 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
47551 for flag in $(EXTRA_TARGET_FLAGS); do \
47552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47553 done; \
47554 (cd $(TARGET_SUBDIR)/winsup && \
47555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47557 "RANLIB=$${RANLIB}" \
47558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47559 clean) \
47560 || exit 1
47562 @endif target-winsup
47564 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
47565 maybe-distclean-target-winsup:
47566 @if target-winsup
47567 maybe-distclean-target-winsup: distclean-target-winsup
47569 distclean-target-winsup:
47570 @: $(MAKE); $(unstage)
47571 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47572 r=`${PWD_COMMAND}`; export r; \
47573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47574 $(NORMAL_TARGET_EXPORTS) \
47575 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
47576 for flag in $(EXTRA_TARGET_FLAGS); do \
47577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47578 done; \
47579 (cd $(TARGET_SUBDIR)/winsup && \
47580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47582 "RANLIB=$${RANLIB}" \
47583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47584 distclean) \
47585 || exit 1
47587 @endif target-winsup
47589 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
47590 maybe-maintainer-clean-target-winsup:
47591 @if target-winsup
47592 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
47594 maintainer-clean-target-winsup:
47595 @: $(MAKE); $(unstage)
47596 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47597 r=`${PWD_COMMAND}`; export r; \
47598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47599 $(NORMAL_TARGET_EXPORTS) \
47600 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
47601 for flag in $(EXTRA_TARGET_FLAGS); do \
47602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47603 done; \
47604 (cd $(TARGET_SUBDIR)/winsup && \
47605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47607 "RANLIB=$${RANLIB}" \
47608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47609 maintainer-clean) \
47610 || exit 1
47612 @endif target-winsup
47618 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
47619 maybe-configure-target-libgloss:
47620 @if gcc-bootstrap
47621 configure-target-libgloss: stage_current
47622 @endif gcc-bootstrap
47623 @if target-libgloss
47624 maybe-configure-target-libgloss: configure-target-libgloss
47625 configure-target-libgloss:
47626 @: $(MAKE); $(unstage)
47627 @r=`${PWD_COMMAND}`; export r; \
47628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47629 echo "Checking multilib configuration for libgloss..."; \
47630 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
47631 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
47632 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47633 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47634 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
47635 else \
47636 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
47637 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47638 fi; \
47639 else \
47640 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47641 fi; \
47642 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
47643 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
47644 $(NORMAL_TARGET_EXPORTS) \
47645 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
47646 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
47647 case $(srcdir) in \
47648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47649 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
47650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47651 esac; \
47652 srcdiroption="--srcdir=$${topdir}/libgloss"; \
47653 libsrcdir="$$s/libgloss"; \
47654 rm -f no-such-file || : ; \
47655 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47656 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47657 --target=${target_alias} $${srcdiroption} \
47658 || exit 1
47659 @endif target-libgloss
47665 .PHONY: all-target-libgloss maybe-all-target-libgloss
47666 maybe-all-target-libgloss:
47667 @if gcc-bootstrap
47668 all-target-libgloss: stage_current
47669 @endif gcc-bootstrap
47670 @if target-libgloss
47671 TARGET-target-libgloss=all
47672 maybe-all-target-libgloss: all-target-libgloss
47673 all-target-libgloss: configure-target-libgloss
47674 @: $(MAKE); $(unstage)
47675 @r=`${PWD_COMMAND}`; export r; \
47676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47677 $(NORMAL_TARGET_EXPORTS) \
47678 (cd $(TARGET_SUBDIR)/libgloss && \
47679 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47680 $(TARGET-target-libgloss))
47681 @endif target-libgloss
47687 .PHONY: check-target-libgloss maybe-check-target-libgloss
47688 maybe-check-target-libgloss:
47689 @if target-libgloss
47690 maybe-check-target-libgloss: check-target-libgloss
47692 # Dummy target for uncheckable module.
47693 check-target-libgloss:
47695 @endif target-libgloss
47697 .PHONY: install-target-libgloss maybe-install-target-libgloss
47698 maybe-install-target-libgloss:
47699 @if target-libgloss
47700 maybe-install-target-libgloss: install-target-libgloss
47702 install-target-libgloss: installdirs
47703 @: $(MAKE); $(unstage)
47704 @r=`${PWD_COMMAND}`; export r; \
47705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47706 $(NORMAL_TARGET_EXPORTS) \
47707 (cd $(TARGET_SUBDIR)/libgloss && \
47708 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47710 @endif target-libgloss
47712 # Other targets (info, dvi, pdf, etc.)
47714 .PHONY: maybe-info-target-libgloss info-target-libgloss
47715 maybe-info-target-libgloss:
47716 @if target-libgloss
47717 maybe-info-target-libgloss: info-target-libgloss
47719 info-target-libgloss: \
47720 configure-target-libgloss
47721 @: $(MAKE); $(unstage)
47722 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47723 r=`${PWD_COMMAND}`; export r; \
47724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47725 $(NORMAL_TARGET_EXPORTS) \
47726 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
47727 for flag in $(EXTRA_TARGET_FLAGS); do \
47728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47729 done; \
47730 (cd $(TARGET_SUBDIR)/libgloss && \
47731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47733 "RANLIB=$${RANLIB}" \
47734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47735 info) \
47736 || exit 1
47738 @endif target-libgloss
47740 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
47741 maybe-dvi-target-libgloss:
47742 @if target-libgloss
47743 maybe-dvi-target-libgloss: dvi-target-libgloss
47745 dvi-target-libgloss: \
47746 configure-target-libgloss
47747 @: $(MAKE); $(unstage)
47748 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47749 r=`${PWD_COMMAND}`; export r; \
47750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47751 $(NORMAL_TARGET_EXPORTS) \
47752 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
47753 for flag in $(EXTRA_TARGET_FLAGS); do \
47754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47755 done; \
47756 (cd $(TARGET_SUBDIR)/libgloss && \
47757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47759 "RANLIB=$${RANLIB}" \
47760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47761 dvi) \
47762 || exit 1
47764 @endif target-libgloss
47766 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
47767 maybe-pdf-target-libgloss:
47768 @if target-libgloss
47769 maybe-pdf-target-libgloss: pdf-target-libgloss
47771 pdf-target-libgloss: \
47772 configure-target-libgloss
47773 @: $(MAKE); $(unstage)
47774 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47775 r=`${PWD_COMMAND}`; export r; \
47776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47777 $(NORMAL_TARGET_EXPORTS) \
47778 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
47779 for flag in $(EXTRA_TARGET_FLAGS); do \
47780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47781 done; \
47782 (cd $(TARGET_SUBDIR)/libgloss && \
47783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47785 "RANLIB=$${RANLIB}" \
47786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47787 pdf) \
47788 || exit 1
47790 @endif target-libgloss
47792 .PHONY: maybe-html-target-libgloss html-target-libgloss
47793 maybe-html-target-libgloss:
47794 @if target-libgloss
47795 maybe-html-target-libgloss: html-target-libgloss
47797 html-target-libgloss: \
47798 configure-target-libgloss
47799 @: $(MAKE); $(unstage)
47800 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47801 r=`${PWD_COMMAND}`; export r; \
47802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47803 $(NORMAL_TARGET_EXPORTS) \
47804 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
47805 for flag in $(EXTRA_TARGET_FLAGS); do \
47806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47807 done; \
47808 (cd $(TARGET_SUBDIR)/libgloss && \
47809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47811 "RANLIB=$${RANLIB}" \
47812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47813 html) \
47814 || exit 1
47816 @endif target-libgloss
47818 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
47819 maybe-TAGS-target-libgloss:
47820 @if target-libgloss
47821 maybe-TAGS-target-libgloss: TAGS-target-libgloss
47823 TAGS-target-libgloss: \
47824 configure-target-libgloss
47825 @: $(MAKE); $(unstage)
47826 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47827 r=`${PWD_COMMAND}`; export r; \
47828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47829 $(NORMAL_TARGET_EXPORTS) \
47830 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
47831 for flag in $(EXTRA_TARGET_FLAGS); do \
47832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47833 done; \
47834 (cd $(TARGET_SUBDIR)/libgloss && \
47835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47837 "RANLIB=$${RANLIB}" \
47838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47839 TAGS) \
47840 || exit 1
47842 @endif target-libgloss
47844 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
47845 maybe-install-info-target-libgloss:
47846 @if target-libgloss
47847 maybe-install-info-target-libgloss: install-info-target-libgloss
47849 install-info-target-libgloss: \
47850 configure-target-libgloss \
47851 info-target-libgloss
47852 @: $(MAKE); $(unstage)
47853 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47854 r=`${PWD_COMMAND}`; export r; \
47855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47856 $(NORMAL_TARGET_EXPORTS) \
47857 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
47858 for flag in $(EXTRA_TARGET_FLAGS); do \
47859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47860 done; \
47861 (cd $(TARGET_SUBDIR)/libgloss && \
47862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47864 "RANLIB=$${RANLIB}" \
47865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47866 install-info) \
47867 || exit 1
47869 @endif target-libgloss
47871 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
47872 maybe-install-pdf-target-libgloss:
47873 @if target-libgloss
47874 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
47876 install-pdf-target-libgloss: \
47877 configure-target-libgloss \
47878 pdf-target-libgloss
47879 @: $(MAKE); $(unstage)
47880 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47881 r=`${PWD_COMMAND}`; export r; \
47882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47883 $(NORMAL_TARGET_EXPORTS) \
47884 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
47885 for flag in $(EXTRA_TARGET_FLAGS); do \
47886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47887 done; \
47888 (cd $(TARGET_SUBDIR)/libgloss && \
47889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47891 "RANLIB=$${RANLIB}" \
47892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47893 install-pdf) \
47894 || exit 1
47896 @endif target-libgloss
47898 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
47899 maybe-install-html-target-libgloss:
47900 @if target-libgloss
47901 maybe-install-html-target-libgloss: install-html-target-libgloss
47903 install-html-target-libgloss: \
47904 configure-target-libgloss \
47905 html-target-libgloss
47906 @: $(MAKE); $(unstage)
47907 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47908 r=`${PWD_COMMAND}`; export r; \
47909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47910 $(NORMAL_TARGET_EXPORTS) \
47911 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
47912 for flag in $(EXTRA_TARGET_FLAGS); do \
47913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47914 done; \
47915 (cd $(TARGET_SUBDIR)/libgloss && \
47916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47918 "RANLIB=$${RANLIB}" \
47919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47920 install-html) \
47921 || exit 1
47923 @endif target-libgloss
47925 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
47926 maybe-installcheck-target-libgloss:
47927 @if target-libgloss
47928 maybe-installcheck-target-libgloss: installcheck-target-libgloss
47930 installcheck-target-libgloss: \
47931 configure-target-libgloss
47932 @: $(MAKE); $(unstage)
47933 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47934 r=`${PWD_COMMAND}`; export r; \
47935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47936 $(NORMAL_TARGET_EXPORTS) \
47937 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
47938 for flag in $(EXTRA_TARGET_FLAGS); do \
47939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47940 done; \
47941 (cd $(TARGET_SUBDIR)/libgloss && \
47942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47944 "RANLIB=$${RANLIB}" \
47945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47946 installcheck) \
47947 || exit 1
47949 @endif target-libgloss
47951 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
47952 maybe-mostlyclean-target-libgloss:
47953 @if target-libgloss
47954 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
47956 mostlyclean-target-libgloss:
47957 @: $(MAKE); $(unstage)
47958 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47959 r=`${PWD_COMMAND}`; export r; \
47960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47961 $(NORMAL_TARGET_EXPORTS) \
47962 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
47963 for flag in $(EXTRA_TARGET_FLAGS); do \
47964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47965 done; \
47966 (cd $(TARGET_SUBDIR)/libgloss && \
47967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47969 "RANLIB=$${RANLIB}" \
47970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47971 mostlyclean) \
47972 || exit 1
47974 @endif target-libgloss
47976 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
47977 maybe-clean-target-libgloss:
47978 @if target-libgloss
47979 maybe-clean-target-libgloss: clean-target-libgloss
47981 clean-target-libgloss:
47982 @: $(MAKE); $(unstage)
47983 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47984 r=`${PWD_COMMAND}`; export r; \
47985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47986 $(NORMAL_TARGET_EXPORTS) \
47987 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
47988 for flag in $(EXTRA_TARGET_FLAGS); do \
47989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47990 done; \
47991 (cd $(TARGET_SUBDIR)/libgloss && \
47992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47994 "RANLIB=$${RANLIB}" \
47995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47996 clean) \
47997 || exit 1
47999 @endif target-libgloss
48001 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
48002 maybe-distclean-target-libgloss:
48003 @if target-libgloss
48004 maybe-distclean-target-libgloss: distclean-target-libgloss
48006 distclean-target-libgloss:
48007 @: $(MAKE); $(unstage)
48008 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
48009 r=`${PWD_COMMAND}`; export r; \
48010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48011 $(NORMAL_TARGET_EXPORTS) \
48012 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
48013 for flag in $(EXTRA_TARGET_FLAGS); do \
48014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48015 done; \
48016 (cd $(TARGET_SUBDIR)/libgloss && \
48017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48019 "RANLIB=$${RANLIB}" \
48020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48021 distclean) \
48022 || exit 1
48024 @endif target-libgloss
48026 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
48027 maybe-maintainer-clean-target-libgloss:
48028 @if target-libgloss
48029 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
48031 maintainer-clean-target-libgloss:
48032 @: $(MAKE); $(unstage)
48033 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
48034 r=`${PWD_COMMAND}`; export r; \
48035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48036 $(NORMAL_TARGET_EXPORTS) \
48037 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
48038 for flag in $(EXTRA_TARGET_FLAGS); do \
48039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48040 done; \
48041 (cd $(TARGET_SUBDIR)/libgloss && \
48042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48044 "RANLIB=$${RANLIB}" \
48045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48046 maintainer-clean) \
48047 || exit 1
48049 @endif target-libgloss
48055 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
48056 maybe-configure-target-libiberty:
48057 @if gcc-bootstrap
48058 configure-target-libiberty: stage_current
48059 @endif gcc-bootstrap
48060 @if target-libiberty
48061 maybe-configure-target-libiberty: configure-target-libiberty
48062 configure-target-libiberty:
48063 @: $(MAKE); $(unstage)
48064 @r=`${PWD_COMMAND}`; export r; \
48065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48066 echo "Checking multilib configuration for libiberty..."; \
48067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
48068 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
48069 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
48070 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
48071 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
48072 else \
48073 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
48074 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
48075 fi; \
48076 else \
48077 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
48078 fi; \
48079 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
48080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
48081 $(NORMAL_TARGET_EXPORTS) \
48082 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
48083 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
48084 case $(srcdir) in \
48085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48086 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
48087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48088 esac; \
48089 srcdiroption="--srcdir=$${topdir}/libiberty"; \
48090 libsrcdir="$$s/libiberty"; \
48091 rm -f no-such-file || : ; \
48092 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48093 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48094 --target=${target_alias} $${srcdiroption} \
48095 || exit 1
48096 @endif target-libiberty
48102 .PHONY: all-target-libiberty maybe-all-target-libiberty
48103 maybe-all-target-libiberty:
48104 @if gcc-bootstrap
48105 all-target-libiberty: stage_current
48106 @endif gcc-bootstrap
48107 @if target-libiberty
48108 TARGET-target-libiberty=all
48109 maybe-all-target-libiberty: all-target-libiberty
48110 all-target-libiberty: configure-target-libiberty
48111 @: $(MAKE); $(unstage)
48112 @r=`${PWD_COMMAND}`; export r; \
48113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48114 $(NORMAL_TARGET_EXPORTS) \
48115 (cd $(TARGET_SUBDIR)/libiberty && \
48116 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48117 $(TARGET-target-libiberty))
48118 @endif target-libiberty
48124 .PHONY: check-target-libiberty maybe-check-target-libiberty
48125 maybe-check-target-libiberty:
48126 @if target-libiberty
48127 maybe-check-target-libiberty: check-target-libiberty
48129 check-target-libiberty:
48130 @: $(MAKE); $(unstage)
48131 @r=`${PWD_COMMAND}`; export r; \
48132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48133 $(NORMAL_TARGET_EXPORTS) \
48134 (cd $(TARGET_SUBDIR)/libiberty && \
48135 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48137 @endif target-libiberty
48139 .PHONY: install-target-libiberty maybe-install-target-libiberty
48140 maybe-install-target-libiberty:
48141 @if target-libiberty
48142 maybe-install-target-libiberty: install-target-libiberty
48144 install-target-libiberty: installdirs
48145 @: $(MAKE); $(unstage)
48146 @r=`${PWD_COMMAND}`; export r; \
48147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48148 $(NORMAL_TARGET_EXPORTS) \
48149 (cd $(TARGET_SUBDIR)/libiberty && \
48150 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48152 @endif target-libiberty
48154 # Other targets (info, dvi, pdf, etc.)
48156 .PHONY: maybe-info-target-libiberty info-target-libiberty
48157 maybe-info-target-libiberty:
48158 @if target-libiberty
48159 maybe-info-target-libiberty: info-target-libiberty
48161 info-target-libiberty: \
48162 configure-target-libiberty
48163 @: $(MAKE); $(unstage)
48164 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48165 r=`${PWD_COMMAND}`; export r; \
48166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48167 $(NORMAL_TARGET_EXPORTS) \
48168 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
48169 for flag in $(EXTRA_TARGET_FLAGS); do \
48170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48171 done; \
48172 (cd $(TARGET_SUBDIR)/libiberty && \
48173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48175 "RANLIB=$${RANLIB}" \
48176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48177 info) \
48178 || exit 1
48180 @endif target-libiberty
48182 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
48183 maybe-dvi-target-libiberty:
48184 @if target-libiberty
48185 maybe-dvi-target-libiberty: dvi-target-libiberty
48187 dvi-target-libiberty: \
48188 configure-target-libiberty
48189 @: $(MAKE); $(unstage)
48190 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48191 r=`${PWD_COMMAND}`; export r; \
48192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48193 $(NORMAL_TARGET_EXPORTS) \
48194 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
48195 for flag in $(EXTRA_TARGET_FLAGS); do \
48196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48197 done; \
48198 (cd $(TARGET_SUBDIR)/libiberty && \
48199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48201 "RANLIB=$${RANLIB}" \
48202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48203 dvi) \
48204 || exit 1
48206 @endif target-libiberty
48208 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
48209 maybe-pdf-target-libiberty:
48210 @if target-libiberty
48211 maybe-pdf-target-libiberty: pdf-target-libiberty
48213 pdf-target-libiberty: \
48214 configure-target-libiberty
48215 @: $(MAKE); $(unstage)
48216 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48217 r=`${PWD_COMMAND}`; export r; \
48218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48219 $(NORMAL_TARGET_EXPORTS) \
48220 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
48221 for flag in $(EXTRA_TARGET_FLAGS); do \
48222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48223 done; \
48224 (cd $(TARGET_SUBDIR)/libiberty && \
48225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48227 "RANLIB=$${RANLIB}" \
48228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48229 pdf) \
48230 || exit 1
48232 @endif target-libiberty
48234 .PHONY: maybe-html-target-libiberty html-target-libiberty
48235 maybe-html-target-libiberty:
48236 @if target-libiberty
48237 maybe-html-target-libiberty: html-target-libiberty
48239 html-target-libiberty: \
48240 configure-target-libiberty
48241 @: $(MAKE); $(unstage)
48242 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48243 r=`${PWD_COMMAND}`; export r; \
48244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48245 $(NORMAL_TARGET_EXPORTS) \
48246 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
48247 for flag in $(EXTRA_TARGET_FLAGS); do \
48248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48249 done; \
48250 (cd $(TARGET_SUBDIR)/libiberty && \
48251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48253 "RANLIB=$${RANLIB}" \
48254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48255 html) \
48256 || exit 1
48258 @endif target-libiberty
48260 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
48261 maybe-TAGS-target-libiberty:
48262 @if target-libiberty
48263 maybe-TAGS-target-libiberty: TAGS-target-libiberty
48265 TAGS-target-libiberty: \
48266 configure-target-libiberty
48267 @: $(MAKE); $(unstage)
48268 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48269 r=`${PWD_COMMAND}`; export r; \
48270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48271 $(NORMAL_TARGET_EXPORTS) \
48272 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
48273 for flag in $(EXTRA_TARGET_FLAGS); do \
48274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48275 done; \
48276 (cd $(TARGET_SUBDIR)/libiberty && \
48277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48279 "RANLIB=$${RANLIB}" \
48280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48281 TAGS) \
48282 || exit 1
48284 @endif target-libiberty
48286 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
48287 maybe-install-info-target-libiberty:
48288 @if target-libiberty
48289 maybe-install-info-target-libiberty: install-info-target-libiberty
48291 install-info-target-libiberty: \
48292 configure-target-libiberty \
48293 info-target-libiberty
48294 @: $(MAKE); $(unstage)
48295 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48296 r=`${PWD_COMMAND}`; export r; \
48297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48298 $(NORMAL_TARGET_EXPORTS) \
48299 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
48300 for flag in $(EXTRA_TARGET_FLAGS); do \
48301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48302 done; \
48303 (cd $(TARGET_SUBDIR)/libiberty && \
48304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48306 "RANLIB=$${RANLIB}" \
48307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48308 install-info) \
48309 || exit 1
48311 @endif target-libiberty
48313 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
48314 maybe-install-pdf-target-libiberty:
48315 @if target-libiberty
48316 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
48318 install-pdf-target-libiberty: \
48319 configure-target-libiberty \
48320 pdf-target-libiberty
48321 @: $(MAKE); $(unstage)
48322 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48323 r=`${PWD_COMMAND}`; export r; \
48324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48325 $(NORMAL_TARGET_EXPORTS) \
48326 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
48327 for flag in $(EXTRA_TARGET_FLAGS); do \
48328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48329 done; \
48330 (cd $(TARGET_SUBDIR)/libiberty && \
48331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48333 "RANLIB=$${RANLIB}" \
48334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48335 install-pdf) \
48336 || exit 1
48338 @endif target-libiberty
48340 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
48341 maybe-install-html-target-libiberty:
48342 @if target-libiberty
48343 maybe-install-html-target-libiberty: install-html-target-libiberty
48345 install-html-target-libiberty: \
48346 configure-target-libiberty \
48347 html-target-libiberty
48348 @: $(MAKE); $(unstage)
48349 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48350 r=`${PWD_COMMAND}`; export r; \
48351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48352 $(NORMAL_TARGET_EXPORTS) \
48353 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
48354 for flag in $(EXTRA_TARGET_FLAGS); do \
48355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48356 done; \
48357 (cd $(TARGET_SUBDIR)/libiberty && \
48358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48360 "RANLIB=$${RANLIB}" \
48361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48362 install-html) \
48363 || exit 1
48365 @endif target-libiberty
48367 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
48368 maybe-installcheck-target-libiberty:
48369 @if target-libiberty
48370 maybe-installcheck-target-libiberty: installcheck-target-libiberty
48372 installcheck-target-libiberty: \
48373 configure-target-libiberty
48374 @: $(MAKE); $(unstage)
48375 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48376 r=`${PWD_COMMAND}`; export r; \
48377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48378 $(NORMAL_TARGET_EXPORTS) \
48379 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
48380 for flag in $(EXTRA_TARGET_FLAGS); do \
48381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48382 done; \
48383 (cd $(TARGET_SUBDIR)/libiberty && \
48384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48386 "RANLIB=$${RANLIB}" \
48387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48388 installcheck) \
48389 || exit 1
48391 @endif target-libiberty
48393 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
48394 maybe-mostlyclean-target-libiberty:
48395 @if target-libiberty
48396 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
48398 mostlyclean-target-libiberty:
48399 @: $(MAKE); $(unstage)
48400 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48401 r=`${PWD_COMMAND}`; export r; \
48402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48403 $(NORMAL_TARGET_EXPORTS) \
48404 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
48405 for flag in $(EXTRA_TARGET_FLAGS); do \
48406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48407 done; \
48408 (cd $(TARGET_SUBDIR)/libiberty && \
48409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48411 "RANLIB=$${RANLIB}" \
48412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48413 mostlyclean) \
48414 || exit 1
48416 @endif target-libiberty
48418 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
48419 maybe-clean-target-libiberty:
48420 @if target-libiberty
48421 maybe-clean-target-libiberty: clean-target-libiberty
48423 clean-target-libiberty:
48424 @: $(MAKE); $(unstage)
48425 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48426 r=`${PWD_COMMAND}`; export r; \
48427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48428 $(NORMAL_TARGET_EXPORTS) \
48429 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
48430 for flag in $(EXTRA_TARGET_FLAGS); do \
48431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48432 done; \
48433 (cd $(TARGET_SUBDIR)/libiberty && \
48434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48436 "RANLIB=$${RANLIB}" \
48437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48438 clean) \
48439 || exit 1
48441 @endif target-libiberty
48443 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
48444 maybe-distclean-target-libiberty:
48445 @if target-libiberty
48446 maybe-distclean-target-libiberty: distclean-target-libiberty
48448 distclean-target-libiberty:
48449 @: $(MAKE); $(unstage)
48450 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48451 r=`${PWD_COMMAND}`; export r; \
48452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48453 $(NORMAL_TARGET_EXPORTS) \
48454 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
48455 for flag in $(EXTRA_TARGET_FLAGS); do \
48456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48457 done; \
48458 (cd $(TARGET_SUBDIR)/libiberty && \
48459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48461 "RANLIB=$${RANLIB}" \
48462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48463 distclean) \
48464 || exit 1
48466 @endif target-libiberty
48468 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
48469 maybe-maintainer-clean-target-libiberty:
48470 @if target-libiberty
48471 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
48473 maintainer-clean-target-libiberty:
48474 @: $(MAKE); $(unstage)
48475 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48476 r=`${PWD_COMMAND}`; export r; \
48477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48478 $(NORMAL_TARGET_EXPORTS) \
48479 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
48480 for flag in $(EXTRA_TARGET_FLAGS); do \
48481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48482 done; \
48483 (cd $(TARGET_SUBDIR)/libiberty && \
48484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48486 "RANLIB=$${RANLIB}" \
48487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48488 maintainer-clean) \
48489 || exit 1
48491 @endif target-libiberty
48497 .PHONY: configure-target-gperf maybe-configure-target-gperf
48498 maybe-configure-target-gperf:
48499 @if gcc-bootstrap
48500 configure-target-gperf: stage_current
48501 @endif gcc-bootstrap
48502 @if target-gperf
48503 maybe-configure-target-gperf: configure-target-gperf
48504 configure-target-gperf:
48505 @: $(MAKE); $(unstage)
48506 @r=`${PWD_COMMAND}`; export r; \
48507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48508 echo "Checking multilib configuration for gperf..."; \
48509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
48510 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
48511 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
48512 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
48513 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
48514 else \
48515 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
48516 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
48517 fi; \
48518 else \
48519 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
48520 fi; \
48521 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
48522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
48523 $(NORMAL_TARGET_EXPORTS) \
48524 echo Configuring in $(TARGET_SUBDIR)/gperf; \
48525 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
48526 case $(srcdir) in \
48527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48528 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
48529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48530 esac; \
48531 srcdiroption="--srcdir=$${topdir}/gperf"; \
48532 libsrcdir="$$s/gperf"; \
48533 rm -f no-such-file || : ; \
48534 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48535 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48536 --target=${target_alias} $${srcdiroption} \
48537 || exit 1
48538 @endif target-gperf
48544 .PHONY: all-target-gperf maybe-all-target-gperf
48545 maybe-all-target-gperf:
48546 @if gcc-bootstrap
48547 all-target-gperf: stage_current
48548 @endif gcc-bootstrap
48549 @if target-gperf
48550 TARGET-target-gperf=all
48551 maybe-all-target-gperf: all-target-gperf
48552 all-target-gperf: configure-target-gperf
48553 @: $(MAKE); $(unstage)
48554 @r=`${PWD_COMMAND}`; export r; \
48555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48556 $(NORMAL_TARGET_EXPORTS) \
48557 (cd $(TARGET_SUBDIR)/gperf && \
48558 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48559 $(TARGET-target-gperf))
48560 @endif target-gperf
48566 .PHONY: check-target-gperf maybe-check-target-gperf
48567 maybe-check-target-gperf:
48568 @if target-gperf
48569 maybe-check-target-gperf: check-target-gperf
48571 check-target-gperf:
48572 @: $(MAKE); $(unstage)
48573 @r=`${PWD_COMMAND}`; export r; \
48574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48575 $(NORMAL_TARGET_EXPORTS) \
48576 (cd $(TARGET_SUBDIR)/gperf && \
48577 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48579 @endif target-gperf
48581 .PHONY: install-target-gperf maybe-install-target-gperf
48582 maybe-install-target-gperf:
48583 @if target-gperf
48584 maybe-install-target-gperf: install-target-gperf
48586 install-target-gperf: installdirs
48587 @: $(MAKE); $(unstage)
48588 @r=`${PWD_COMMAND}`; export r; \
48589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48590 $(NORMAL_TARGET_EXPORTS) \
48591 (cd $(TARGET_SUBDIR)/gperf && \
48592 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48594 @endif target-gperf
48596 # Other targets (info, dvi, pdf, etc.)
48598 .PHONY: maybe-info-target-gperf info-target-gperf
48599 maybe-info-target-gperf:
48600 @if target-gperf
48601 maybe-info-target-gperf: info-target-gperf
48603 info-target-gperf: \
48604 configure-target-gperf
48605 @: $(MAKE); $(unstage)
48606 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48607 r=`${PWD_COMMAND}`; export r; \
48608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48609 $(NORMAL_TARGET_EXPORTS) \
48610 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
48611 for flag in $(EXTRA_TARGET_FLAGS); do \
48612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48613 done; \
48614 (cd $(TARGET_SUBDIR)/gperf && \
48615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48617 "RANLIB=$${RANLIB}" \
48618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48619 info) \
48620 || exit 1
48622 @endif target-gperf
48624 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
48625 maybe-dvi-target-gperf:
48626 @if target-gperf
48627 maybe-dvi-target-gperf: dvi-target-gperf
48629 dvi-target-gperf: \
48630 configure-target-gperf
48631 @: $(MAKE); $(unstage)
48632 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48633 r=`${PWD_COMMAND}`; export r; \
48634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48635 $(NORMAL_TARGET_EXPORTS) \
48636 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
48637 for flag in $(EXTRA_TARGET_FLAGS); do \
48638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48639 done; \
48640 (cd $(TARGET_SUBDIR)/gperf && \
48641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48643 "RANLIB=$${RANLIB}" \
48644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48645 dvi) \
48646 || exit 1
48648 @endif target-gperf
48650 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
48651 maybe-pdf-target-gperf:
48652 @if target-gperf
48653 maybe-pdf-target-gperf: pdf-target-gperf
48655 pdf-target-gperf: \
48656 configure-target-gperf
48657 @: $(MAKE); $(unstage)
48658 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48659 r=`${PWD_COMMAND}`; export r; \
48660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48661 $(NORMAL_TARGET_EXPORTS) \
48662 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
48663 for flag in $(EXTRA_TARGET_FLAGS); do \
48664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48665 done; \
48666 (cd $(TARGET_SUBDIR)/gperf && \
48667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48669 "RANLIB=$${RANLIB}" \
48670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48671 pdf) \
48672 || exit 1
48674 @endif target-gperf
48676 .PHONY: maybe-html-target-gperf html-target-gperf
48677 maybe-html-target-gperf:
48678 @if target-gperf
48679 maybe-html-target-gperf: html-target-gperf
48681 html-target-gperf: \
48682 configure-target-gperf
48683 @: $(MAKE); $(unstage)
48684 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48685 r=`${PWD_COMMAND}`; export r; \
48686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48687 $(NORMAL_TARGET_EXPORTS) \
48688 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
48689 for flag in $(EXTRA_TARGET_FLAGS); do \
48690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48691 done; \
48692 (cd $(TARGET_SUBDIR)/gperf && \
48693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48695 "RANLIB=$${RANLIB}" \
48696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48697 html) \
48698 || exit 1
48700 @endif target-gperf
48702 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
48703 maybe-TAGS-target-gperf:
48704 @if target-gperf
48705 maybe-TAGS-target-gperf: TAGS-target-gperf
48707 TAGS-target-gperf: \
48708 configure-target-gperf
48709 @: $(MAKE); $(unstage)
48710 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48711 r=`${PWD_COMMAND}`; export r; \
48712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48713 $(NORMAL_TARGET_EXPORTS) \
48714 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
48715 for flag in $(EXTRA_TARGET_FLAGS); do \
48716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48717 done; \
48718 (cd $(TARGET_SUBDIR)/gperf && \
48719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48721 "RANLIB=$${RANLIB}" \
48722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48723 TAGS) \
48724 || exit 1
48726 @endif target-gperf
48728 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
48729 maybe-install-info-target-gperf:
48730 @if target-gperf
48731 maybe-install-info-target-gperf: install-info-target-gperf
48733 install-info-target-gperf: \
48734 configure-target-gperf \
48735 info-target-gperf
48736 @: $(MAKE); $(unstage)
48737 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48738 r=`${PWD_COMMAND}`; export r; \
48739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48740 $(NORMAL_TARGET_EXPORTS) \
48741 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
48742 for flag in $(EXTRA_TARGET_FLAGS); do \
48743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48744 done; \
48745 (cd $(TARGET_SUBDIR)/gperf && \
48746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48748 "RANLIB=$${RANLIB}" \
48749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48750 install-info) \
48751 || exit 1
48753 @endif target-gperf
48755 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
48756 maybe-install-pdf-target-gperf:
48757 @if target-gperf
48758 maybe-install-pdf-target-gperf: install-pdf-target-gperf
48760 install-pdf-target-gperf: \
48761 configure-target-gperf \
48762 pdf-target-gperf
48763 @: $(MAKE); $(unstage)
48764 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48765 r=`${PWD_COMMAND}`; export r; \
48766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48767 $(NORMAL_TARGET_EXPORTS) \
48768 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
48769 for flag in $(EXTRA_TARGET_FLAGS); do \
48770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48771 done; \
48772 (cd $(TARGET_SUBDIR)/gperf && \
48773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48775 "RANLIB=$${RANLIB}" \
48776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48777 install-pdf) \
48778 || exit 1
48780 @endif target-gperf
48782 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
48783 maybe-install-html-target-gperf:
48784 @if target-gperf
48785 maybe-install-html-target-gperf: install-html-target-gperf
48787 install-html-target-gperf: \
48788 configure-target-gperf \
48789 html-target-gperf
48790 @: $(MAKE); $(unstage)
48791 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48792 r=`${PWD_COMMAND}`; export r; \
48793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48794 $(NORMAL_TARGET_EXPORTS) \
48795 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
48796 for flag in $(EXTRA_TARGET_FLAGS); do \
48797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48798 done; \
48799 (cd $(TARGET_SUBDIR)/gperf && \
48800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48802 "RANLIB=$${RANLIB}" \
48803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48804 install-html) \
48805 || exit 1
48807 @endif target-gperf
48809 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
48810 maybe-installcheck-target-gperf:
48811 @if target-gperf
48812 maybe-installcheck-target-gperf: installcheck-target-gperf
48814 installcheck-target-gperf: \
48815 configure-target-gperf
48816 @: $(MAKE); $(unstage)
48817 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48818 r=`${PWD_COMMAND}`; export r; \
48819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48820 $(NORMAL_TARGET_EXPORTS) \
48821 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
48822 for flag in $(EXTRA_TARGET_FLAGS); do \
48823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48824 done; \
48825 (cd $(TARGET_SUBDIR)/gperf && \
48826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48828 "RANLIB=$${RANLIB}" \
48829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48830 installcheck) \
48831 || exit 1
48833 @endif target-gperf
48835 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
48836 maybe-mostlyclean-target-gperf:
48837 @if target-gperf
48838 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
48840 mostlyclean-target-gperf:
48841 @: $(MAKE); $(unstage)
48842 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48843 r=`${PWD_COMMAND}`; export r; \
48844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48845 $(NORMAL_TARGET_EXPORTS) \
48846 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
48847 for flag in $(EXTRA_TARGET_FLAGS); do \
48848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48849 done; \
48850 (cd $(TARGET_SUBDIR)/gperf && \
48851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48853 "RANLIB=$${RANLIB}" \
48854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48855 mostlyclean) \
48856 || exit 1
48858 @endif target-gperf
48860 .PHONY: maybe-clean-target-gperf clean-target-gperf
48861 maybe-clean-target-gperf:
48862 @if target-gperf
48863 maybe-clean-target-gperf: clean-target-gperf
48865 clean-target-gperf:
48866 @: $(MAKE); $(unstage)
48867 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48868 r=`${PWD_COMMAND}`; export r; \
48869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48870 $(NORMAL_TARGET_EXPORTS) \
48871 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
48872 for flag in $(EXTRA_TARGET_FLAGS); do \
48873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48874 done; \
48875 (cd $(TARGET_SUBDIR)/gperf && \
48876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48878 "RANLIB=$${RANLIB}" \
48879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48880 clean) \
48881 || exit 1
48883 @endif target-gperf
48885 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
48886 maybe-distclean-target-gperf:
48887 @if target-gperf
48888 maybe-distclean-target-gperf: distclean-target-gperf
48890 distclean-target-gperf:
48891 @: $(MAKE); $(unstage)
48892 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48893 r=`${PWD_COMMAND}`; export r; \
48894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48895 $(NORMAL_TARGET_EXPORTS) \
48896 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
48897 for flag in $(EXTRA_TARGET_FLAGS); do \
48898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48899 done; \
48900 (cd $(TARGET_SUBDIR)/gperf && \
48901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48903 "RANLIB=$${RANLIB}" \
48904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48905 distclean) \
48906 || exit 1
48908 @endif target-gperf
48910 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
48911 maybe-maintainer-clean-target-gperf:
48912 @if target-gperf
48913 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
48915 maintainer-clean-target-gperf:
48916 @: $(MAKE); $(unstage)
48917 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48918 r=`${PWD_COMMAND}`; export r; \
48919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48920 $(NORMAL_TARGET_EXPORTS) \
48921 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
48922 for flag in $(EXTRA_TARGET_FLAGS); do \
48923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48924 done; \
48925 (cd $(TARGET_SUBDIR)/gperf && \
48926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48928 "RANLIB=$${RANLIB}" \
48929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48930 maintainer-clean) \
48931 || exit 1
48933 @endif target-gperf
48939 .PHONY: configure-target-examples maybe-configure-target-examples
48940 maybe-configure-target-examples:
48941 @if gcc-bootstrap
48942 configure-target-examples: stage_current
48943 @endif gcc-bootstrap
48944 @if target-examples
48945 maybe-configure-target-examples: configure-target-examples
48946 configure-target-examples:
48947 @: $(MAKE); $(unstage)
48948 @r=`${PWD_COMMAND}`; export r; \
48949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48950 echo "Checking multilib configuration for examples..."; \
48951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
48952 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
48953 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
48954 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
48955 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
48956 else \
48957 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
48958 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
48959 fi; \
48960 else \
48961 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
48962 fi; \
48963 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
48964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
48965 $(NORMAL_TARGET_EXPORTS) \
48966 echo Configuring in $(TARGET_SUBDIR)/examples; \
48967 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
48968 case $(srcdir) in \
48969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48970 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
48971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48972 esac; \
48973 srcdiroption="--srcdir=$${topdir}/examples"; \
48974 libsrcdir="$$s/examples"; \
48975 rm -f no-such-file || : ; \
48976 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48977 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48978 --target=${target_alias} $${srcdiroption} \
48979 || exit 1
48980 @endif target-examples
48986 .PHONY: all-target-examples maybe-all-target-examples
48987 maybe-all-target-examples:
48988 @if gcc-bootstrap
48989 all-target-examples: stage_current
48990 @endif gcc-bootstrap
48991 @if target-examples
48992 TARGET-target-examples=all
48993 maybe-all-target-examples: all-target-examples
48994 all-target-examples: configure-target-examples
48995 @: $(MAKE); $(unstage)
48996 @r=`${PWD_COMMAND}`; export r; \
48997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48998 $(NORMAL_TARGET_EXPORTS) \
48999 (cd $(TARGET_SUBDIR)/examples && \
49000 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49001 $(TARGET-target-examples))
49002 @endif target-examples
49008 .PHONY: check-target-examples maybe-check-target-examples
49009 maybe-check-target-examples:
49010 @if target-examples
49011 maybe-check-target-examples: check-target-examples
49013 # Dummy target for uncheckable module.
49014 check-target-examples:
49016 @endif target-examples
49018 .PHONY: install-target-examples maybe-install-target-examples
49019 maybe-install-target-examples:
49020 @if target-examples
49021 maybe-install-target-examples: install-target-examples
49023 # Dummy target for uninstallable.
49024 install-target-examples:
49026 @endif target-examples
49028 # Other targets (info, dvi, pdf, etc.)
49030 .PHONY: maybe-info-target-examples info-target-examples
49031 maybe-info-target-examples:
49032 @if target-examples
49033 maybe-info-target-examples: info-target-examples
49035 info-target-examples: \
49036 configure-target-examples
49037 @: $(MAKE); $(unstage)
49038 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49039 r=`${PWD_COMMAND}`; export r; \
49040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49041 $(NORMAL_TARGET_EXPORTS) \
49042 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
49043 for flag in $(EXTRA_TARGET_FLAGS); do \
49044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49045 done; \
49046 (cd $(TARGET_SUBDIR)/examples && \
49047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49049 "RANLIB=$${RANLIB}" \
49050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49051 info) \
49052 || exit 1
49054 @endif target-examples
49056 .PHONY: maybe-dvi-target-examples dvi-target-examples
49057 maybe-dvi-target-examples:
49058 @if target-examples
49059 maybe-dvi-target-examples: dvi-target-examples
49061 dvi-target-examples: \
49062 configure-target-examples
49063 @: $(MAKE); $(unstage)
49064 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49065 r=`${PWD_COMMAND}`; export r; \
49066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49067 $(NORMAL_TARGET_EXPORTS) \
49068 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
49069 for flag in $(EXTRA_TARGET_FLAGS); do \
49070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49071 done; \
49072 (cd $(TARGET_SUBDIR)/examples && \
49073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49075 "RANLIB=$${RANLIB}" \
49076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49077 dvi) \
49078 || exit 1
49080 @endif target-examples
49082 .PHONY: maybe-pdf-target-examples pdf-target-examples
49083 maybe-pdf-target-examples:
49084 @if target-examples
49085 maybe-pdf-target-examples: pdf-target-examples
49087 pdf-target-examples: \
49088 configure-target-examples
49089 @: $(MAKE); $(unstage)
49090 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49091 r=`${PWD_COMMAND}`; export r; \
49092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49093 $(NORMAL_TARGET_EXPORTS) \
49094 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
49095 for flag in $(EXTRA_TARGET_FLAGS); do \
49096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49097 done; \
49098 (cd $(TARGET_SUBDIR)/examples && \
49099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49101 "RANLIB=$${RANLIB}" \
49102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49103 pdf) \
49104 || exit 1
49106 @endif target-examples
49108 .PHONY: maybe-html-target-examples html-target-examples
49109 maybe-html-target-examples:
49110 @if target-examples
49111 maybe-html-target-examples: html-target-examples
49113 html-target-examples: \
49114 configure-target-examples
49115 @: $(MAKE); $(unstage)
49116 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49117 r=`${PWD_COMMAND}`; export r; \
49118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49119 $(NORMAL_TARGET_EXPORTS) \
49120 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
49121 for flag in $(EXTRA_TARGET_FLAGS); do \
49122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49123 done; \
49124 (cd $(TARGET_SUBDIR)/examples && \
49125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49127 "RANLIB=$${RANLIB}" \
49128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49129 html) \
49130 || exit 1
49132 @endif target-examples
49134 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
49135 maybe-TAGS-target-examples:
49136 @if target-examples
49137 maybe-TAGS-target-examples: TAGS-target-examples
49139 TAGS-target-examples: \
49140 configure-target-examples
49141 @: $(MAKE); $(unstage)
49142 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49143 r=`${PWD_COMMAND}`; export r; \
49144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49145 $(NORMAL_TARGET_EXPORTS) \
49146 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
49147 for flag in $(EXTRA_TARGET_FLAGS); do \
49148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49149 done; \
49150 (cd $(TARGET_SUBDIR)/examples && \
49151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49153 "RANLIB=$${RANLIB}" \
49154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49155 TAGS) \
49156 || exit 1
49158 @endif target-examples
49160 .PHONY: maybe-install-info-target-examples install-info-target-examples
49161 maybe-install-info-target-examples:
49162 @if target-examples
49163 maybe-install-info-target-examples: install-info-target-examples
49165 install-info-target-examples: \
49166 configure-target-examples \
49167 info-target-examples
49168 @: $(MAKE); $(unstage)
49169 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49170 r=`${PWD_COMMAND}`; export r; \
49171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49172 $(NORMAL_TARGET_EXPORTS) \
49173 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
49174 for flag in $(EXTRA_TARGET_FLAGS); do \
49175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49176 done; \
49177 (cd $(TARGET_SUBDIR)/examples && \
49178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49180 "RANLIB=$${RANLIB}" \
49181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49182 install-info) \
49183 || exit 1
49185 @endif target-examples
49187 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
49188 maybe-install-pdf-target-examples:
49189 @if target-examples
49190 maybe-install-pdf-target-examples: install-pdf-target-examples
49192 install-pdf-target-examples: \
49193 configure-target-examples \
49194 pdf-target-examples
49195 @: $(MAKE); $(unstage)
49196 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49197 r=`${PWD_COMMAND}`; export r; \
49198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49199 $(NORMAL_TARGET_EXPORTS) \
49200 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
49201 for flag in $(EXTRA_TARGET_FLAGS); do \
49202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49203 done; \
49204 (cd $(TARGET_SUBDIR)/examples && \
49205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49207 "RANLIB=$${RANLIB}" \
49208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49209 install-pdf) \
49210 || exit 1
49212 @endif target-examples
49214 .PHONY: maybe-install-html-target-examples install-html-target-examples
49215 maybe-install-html-target-examples:
49216 @if target-examples
49217 maybe-install-html-target-examples: install-html-target-examples
49219 install-html-target-examples: \
49220 configure-target-examples \
49221 html-target-examples
49222 @: $(MAKE); $(unstage)
49223 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49224 r=`${PWD_COMMAND}`; export r; \
49225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49226 $(NORMAL_TARGET_EXPORTS) \
49227 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
49228 for flag in $(EXTRA_TARGET_FLAGS); do \
49229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49230 done; \
49231 (cd $(TARGET_SUBDIR)/examples && \
49232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49234 "RANLIB=$${RANLIB}" \
49235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49236 install-html) \
49237 || exit 1
49239 @endif target-examples
49241 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
49242 maybe-installcheck-target-examples:
49243 @if target-examples
49244 maybe-installcheck-target-examples: installcheck-target-examples
49246 installcheck-target-examples: \
49247 configure-target-examples
49248 @: $(MAKE); $(unstage)
49249 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49250 r=`${PWD_COMMAND}`; export r; \
49251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49252 $(NORMAL_TARGET_EXPORTS) \
49253 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
49254 for flag in $(EXTRA_TARGET_FLAGS); do \
49255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49256 done; \
49257 (cd $(TARGET_SUBDIR)/examples && \
49258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49260 "RANLIB=$${RANLIB}" \
49261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49262 installcheck) \
49263 || exit 1
49265 @endif target-examples
49267 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
49268 maybe-mostlyclean-target-examples:
49269 @if target-examples
49270 maybe-mostlyclean-target-examples: mostlyclean-target-examples
49272 mostlyclean-target-examples:
49273 @: $(MAKE); $(unstage)
49274 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49275 r=`${PWD_COMMAND}`; export r; \
49276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49277 $(NORMAL_TARGET_EXPORTS) \
49278 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
49279 for flag in $(EXTRA_TARGET_FLAGS); do \
49280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49281 done; \
49282 (cd $(TARGET_SUBDIR)/examples && \
49283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49285 "RANLIB=$${RANLIB}" \
49286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49287 mostlyclean) \
49288 || exit 1
49290 @endif target-examples
49292 .PHONY: maybe-clean-target-examples clean-target-examples
49293 maybe-clean-target-examples:
49294 @if target-examples
49295 maybe-clean-target-examples: clean-target-examples
49297 clean-target-examples:
49298 @: $(MAKE); $(unstage)
49299 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49300 r=`${PWD_COMMAND}`; export r; \
49301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49302 $(NORMAL_TARGET_EXPORTS) \
49303 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
49304 for flag in $(EXTRA_TARGET_FLAGS); do \
49305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49306 done; \
49307 (cd $(TARGET_SUBDIR)/examples && \
49308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49310 "RANLIB=$${RANLIB}" \
49311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49312 clean) \
49313 || exit 1
49315 @endif target-examples
49317 .PHONY: maybe-distclean-target-examples distclean-target-examples
49318 maybe-distclean-target-examples:
49319 @if target-examples
49320 maybe-distclean-target-examples: distclean-target-examples
49322 distclean-target-examples:
49323 @: $(MAKE); $(unstage)
49324 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49325 r=`${PWD_COMMAND}`; export r; \
49326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49327 $(NORMAL_TARGET_EXPORTS) \
49328 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
49329 for flag in $(EXTRA_TARGET_FLAGS); do \
49330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49331 done; \
49332 (cd $(TARGET_SUBDIR)/examples && \
49333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49335 "RANLIB=$${RANLIB}" \
49336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49337 distclean) \
49338 || exit 1
49340 @endif target-examples
49342 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
49343 maybe-maintainer-clean-target-examples:
49344 @if target-examples
49345 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
49347 maintainer-clean-target-examples:
49348 @: $(MAKE); $(unstage)
49349 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
49350 r=`${PWD_COMMAND}`; export r; \
49351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49352 $(NORMAL_TARGET_EXPORTS) \
49353 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
49354 for flag in $(EXTRA_TARGET_FLAGS); do \
49355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49356 done; \
49357 (cd $(TARGET_SUBDIR)/examples && \
49358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49360 "RANLIB=$${RANLIB}" \
49361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49362 maintainer-clean) \
49363 || exit 1
49365 @endif target-examples
49371 .PHONY: configure-target-libffi maybe-configure-target-libffi
49372 maybe-configure-target-libffi:
49373 @if gcc-bootstrap
49374 configure-target-libffi: stage_current
49375 @endif gcc-bootstrap
49376 @if target-libffi
49377 maybe-configure-target-libffi: configure-target-libffi
49378 configure-target-libffi:
49379 @: $(MAKE); $(unstage)
49380 @r=`${PWD_COMMAND}`; export r; \
49381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49382 echo "Checking multilib configuration for libffi..."; \
49383 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
49384 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
49385 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
49386 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
49387 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
49388 else \
49389 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
49390 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
49391 fi; \
49392 else \
49393 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
49394 fi; \
49395 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
49396 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
49397 $(NORMAL_TARGET_EXPORTS) \
49398 echo Configuring in $(TARGET_SUBDIR)/libffi; \
49399 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
49400 case $(srcdir) in \
49401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49402 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
49403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49404 esac; \
49405 srcdiroption="--srcdir=$${topdir}/libffi"; \
49406 libsrcdir="$$s/libffi"; \
49407 rm -f no-such-file || : ; \
49408 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49409 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49410 --target=${target_alias} $${srcdiroption} \
49411 || exit 1
49412 @endif target-libffi
49418 .PHONY: all-target-libffi maybe-all-target-libffi
49419 maybe-all-target-libffi:
49420 @if gcc-bootstrap
49421 all-target-libffi: stage_current
49422 @endif gcc-bootstrap
49423 @if target-libffi
49424 TARGET-target-libffi=all
49425 maybe-all-target-libffi: all-target-libffi
49426 all-target-libffi: configure-target-libffi
49427 @: $(MAKE); $(unstage)
49428 @r=`${PWD_COMMAND}`; export r; \
49429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49430 $(NORMAL_TARGET_EXPORTS) \
49431 (cd $(TARGET_SUBDIR)/libffi && \
49432 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49433 $(TARGET-target-libffi))
49434 @endif target-libffi
49440 .PHONY: check-target-libffi maybe-check-target-libffi
49441 maybe-check-target-libffi:
49442 @if target-libffi
49443 maybe-check-target-libffi: check-target-libffi
49445 check-target-libffi:
49446 @: $(MAKE); $(unstage)
49447 @r=`${PWD_COMMAND}`; export r; \
49448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49449 $(NORMAL_TARGET_EXPORTS) \
49450 (cd $(TARGET_SUBDIR)/libffi && \
49451 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49453 @endif target-libffi
49455 .PHONY: install-target-libffi maybe-install-target-libffi
49456 maybe-install-target-libffi:
49457 @if target-libffi
49458 maybe-install-target-libffi: install-target-libffi
49460 install-target-libffi: installdirs
49461 @: $(MAKE); $(unstage)
49462 @r=`${PWD_COMMAND}`; export r; \
49463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49464 $(NORMAL_TARGET_EXPORTS) \
49465 (cd $(TARGET_SUBDIR)/libffi && \
49466 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49468 @endif target-libffi
49470 # Other targets (info, dvi, pdf, etc.)
49472 .PHONY: maybe-info-target-libffi info-target-libffi
49473 maybe-info-target-libffi:
49474 @if target-libffi
49475 maybe-info-target-libffi: info-target-libffi
49477 info-target-libffi: \
49478 configure-target-libffi
49479 @: $(MAKE); $(unstage)
49480 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49481 r=`${PWD_COMMAND}`; export r; \
49482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49483 $(NORMAL_TARGET_EXPORTS) \
49484 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
49485 for flag in $(EXTRA_TARGET_FLAGS); do \
49486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49487 done; \
49488 (cd $(TARGET_SUBDIR)/libffi && \
49489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49491 "RANLIB=$${RANLIB}" \
49492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49493 info) \
49494 || exit 1
49496 @endif target-libffi
49498 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
49499 maybe-dvi-target-libffi:
49500 @if target-libffi
49501 maybe-dvi-target-libffi: dvi-target-libffi
49503 dvi-target-libffi: \
49504 configure-target-libffi
49505 @: $(MAKE); $(unstage)
49506 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49507 r=`${PWD_COMMAND}`; export r; \
49508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49509 $(NORMAL_TARGET_EXPORTS) \
49510 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
49511 for flag in $(EXTRA_TARGET_FLAGS); do \
49512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49513 done; \
49514 (cd $(TARGET_SUBDIR)/libffi && \
49515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49517 "RANLIB=$${RANLIB}" \
49518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49519 dvi) \
49520 || exit 1
49522 @endif target-libffi
49524 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
49525 maybe-pdf-target-libffi:
49526 @if target-libffi
49527 maybe-pdf-target-libffi: pdf-target-libffi
49529 pdf-target-libffi: \
49530 configure-target-libffi
49531 @: $(MAKE); $(unstage)
49532 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49533 r=`${PWD_COMMAND}`; export r; \
49534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49535 $(NORMAL_TARGET_EXPORTS) \
49536 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
49537 for flag in $(EXTRA_TARGET_FLAGS); do \
49538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49539 done; \
49540 (cd $(TARGET_SUBDIR)/libffi && \
49541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49543 "RANLIB=$${RANLIB}" \
49544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49545 pdf) \
49546 || exit 1
49548 @endif target-libffi
49550 .PHONY: maybe-html-target-libffi html-target-libffi
49551 maybe-html-target-libffi:
49552 @if target-libffi
49553 maybe-html-target-libffi: html-target-libffi
49555 html-target-libffi: \
49556 configure-target-libffi
49557 @: $(MAKE); $(unstage)
49558 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49559 r=`${PWD_COMMAND}`; export r; \
49560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49561 $(NORMAL_TARGET_EXPORTS) \
49562 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
49563 for flag in $(EXTRA_TARGET_FLAGS); do \
49564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49565 done; \
49566 (cd $(TARGET_SUBDIR)/libffi && \
49567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49569 "RANLIB=$${RANLIB}" \
49570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49571 html) \
49572 || exit 1
49574 @endif target-libffi
49576 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
49577 maybe-TAGS-target-libffi:
49578 @if target-libffi
49579 maybe-TAGS-target-libffi: TAGS-target-libffi
49581 TAGS-target-libffi: \
49582 configure-target-libffi
49583 @: $(MAKE); $(unstage)
49584 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49585 r=`${PWD_COMMAND}`; export r; \
49586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49587 $(NORMAL_TARGET_EXPORTS) \
49588 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
49589 for flag in $(EXTRA_TARGET_FLAGS); do \
49590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49591 done; \
49592 (cd $(TARGET_SUBDIR)/libffi && \
49593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49595 "RANLIB=$${RANLIB}" \
49596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49597 TAGS) \
49598 || exit 1
49600 @endif target-libffi
49602 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
49603 maybe-install-info-target-libffi:
49604 @if target-libffi
49605 maybe-install-info-target-libffi: install-info-target-libffi
49607 install-info-target-libffi: \
49608 configure-target-libffi \
49609 info-target-libffi
49610 @: $(MAKE); $(unstage)
49611 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49612 r=`${PWD_COMMAND}`; export r; \
49613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49614 $(NORMAL_TARGET_EXPORTS) \
49615 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
49616 for flag in $(EXTRA_TARGET_FLAGS); do \
49617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49618 done; \
49619 (cd $(TARGET_SUBDIR)/libffi && \
49620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49622 "RANLIB=$${RANLIB}" \
49623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49624 install-info) \
49625 || exit 1
49627 @endif target-libffi
49629 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
49630 maybe-install-pdf-target-libffi:
49631 @if target-libffi
49632 maybe-install-pdf-target-libffi: install-pdf-target-libffi
49634 install-pdf-target-libffi: \
49635 configure-target-libffi \
49636 pdf-target-libffi
49637 @: $(MAKE); $(unstage)
49638 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49639 r=`${PWD_COMMAND}`; export r; \
49640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49641 $(NORMAL_TARGET_EXPORTS) \
49642 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
49643 for flag in $(EXTRA_TARGET_FLAGS); do \
49644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49645 done; \
49646 (cd $(TARGET_SUBDIR)/libffi && \
49647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49649 "RANLIB=$${RANLIB}" \
49650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49651 install-pdf) \
49652 || exit 1
49654 @endif target-libffi
49656 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
49657 maybe-install-html-target-libffi:
49658 @if target-libffi
49659 maybe-install-html-target-libffi: install-html-target-libffi
49661 install-html-target-libffi: \
49662 configure-target-libffi \
49663 html-target-libffi
49664 @: $(MAKE); $(unstage)
49665 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49666 r=`${PWD_COMMAND}`; export r; \
49667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49668 $(NORMAL_TARGET_EXPORTS) \
49669 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
49670 for flag in $(EXTRA_TARGET_FLAGS); do \
49671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49672 done; \
49673 (cd $(TARGET_SUBDIR)/libffi && \
49674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49676 "RANLIB=$${RANLIB}" \
49677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49678 install-html) \
49679 || exit 1
49681 @endif target-libffi
49683 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
49684 maybe-installcheck-target-libffi:
49685 @if target-libffi
49686 maybe-installcheck-target-libffi: installcheck-target-libffi
49688 installcheck-target-libffi: \
49689 configure-target-libffi
49690 @: $(MAKE); $(unstage)
49691 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49692 r=`${PWD_COMMAND}`; export r; \
49693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49694 $(NORMAL_TARGET_EXPORTS) \
49695 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
49696 for flag in $(EXTRA_TARGET_FLAGS); do \
49697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49698 done; \
49699 (cd $(TARGET_SUBDIR)/libffi && \
49700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49702 "RANLIB=$${RANLIB}" \
49703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49704 installcheck) \
49705 || exit 1
49707 @endif target-libffi
49709 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
49710 maybe-mostlyclean-target-libffi:
49711 @if target-libffi
49712 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
49714 mostlyclean-target-libffi:
49715 @: $(MAKE); $(unstage)
49716 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49717 r=`${PWD_COMMAND}`; export r; \
49718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49719 $(NORMAL_TARGET_EXPORTS) \
49720 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
49721 for flag in $(EXTRA_TARGET_FLAGS); do \
49722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49723 done; \
49724 (cd $(TARGET_SUBDIR)/libffi && \
49725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49727 "RANLIB=$${RANLIB}" \
49728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49729 mostlyclean) \
49730 || exit 1
49732 @endif target-libffi
49734 .PHONY: maybe-clean-target-libffi clean-target-libffi
49735 maybe-clean-target-libffi:
49736 @if target-libffi
49737 maybe-clean-target-libffi: clean-target-libffi
49739 clean-target-libffi:
49740 @: $(MAKE); $(unstage)
49741 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49742 r=`${PWD_COMMAND}`; export r; \
49743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49744 $(NORMAL_TARGET_EXPORTS) \
49745 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
49746 for flag in $(EXTRA_TARGET_FLAGS); do \
49747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49748 done; \
49749 (cd $(TARGET_SUBDIR)/libffi && \
49750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49752 "RANLIB=$${RANLIB}" \
49753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49754 clean) \
49755 || exit 1
49757 @endif target-libffi
49759 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
49760 maybe-distclean-target-libffi:
49761 @if target-libffi
49762 maybe-distclean-target-libffi: distclean-target-libffi
49764 distclean-target-libffi:
49765 @: $(MAKE); $(unstage)
49766 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49767 r=`${PWD_COMMAND}`; export r; \
49768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49769 $(NORMAL_TARGET_EXPORTS) \
49770 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
49771 for flag in $(EXTRA_TARGET_FLAGS); do \
49772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49773 done; \
49774 (cd $(TARGET_SUBDIR)/libffi && \
49775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49777 "RANLIB=$${RANLIB}" \
49778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49779 distclean) \
49780 || exit 1
49782 @endif target-libffi
49784 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
49785 maybe-maintainer-clean-target-libffi:
49786 @if target-libffi
49787 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
49789 maintainer-clean-target-libffi:
49790 @: $(MAKE); $(unstage)
49791 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49792 r=`${PWD_COMMAND}`; export r; \
49793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49794 $(NORMAL_TARGET_EXPORTS) \
49795 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
49796 for flag in $(EXTRA_TARGET_FLAGS); do \
49797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49798 done; \
49799 (cd $(TARGET_SUBDIR)/libffi && \
49800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49802 "RANLIB=$${RANLIB}" \
49803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49804 maintainer-clean) \
49805 || exit 1
49807 @endif target-libffi
49813 .PHONY: configure-target-libjava maybe-configure-target-libjava
49814 maybe-configure-target-libjava:
49815 @if gcc-bootstrap
49816 configure-target-libjava: stage_current
49817 @endif gcc-bootstrap
49818 @if target-libjava
49819 maybe-configure-target-libjava: configure-target-libjava
49820 configure-target-libjava:
49821 @: $(MAKE); $(unstage)
49822 @r=`${PWD_COMMAND}`; export r; \
49823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49824 echo "Checking multilib configuration for libjava..."; \
49825 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
49826 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
49827 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
49828 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
49829 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
49830 else \
49831 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
49832 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
49833 fi; \
49834 else \
49835 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
49836 fi; \
49837 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
49838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
49839 $(RAW_CXX_TARGET_EXPORTS) \
49840 echo Configuring in $(TARGET_SUBDIR)/libjava; \
49841 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
49842 case $(srcdir) in \
49843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49844 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
49845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49846 esac; \
49847 srcdiroption="--srcdir=$${topdir}/libjava"; \
49848 libsrcdir="$$s/libjava"; \
49849 rm -f no-such-file || : ; \
49850 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49851 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49852 --target=${target_alias} $${srcdiroption} \
49853 || exit 1
49854 @endif target-libjava
49860 .PHONY: all-target-libjava maybe-all-target-libjava
49861 maybe-all-target-libjava:
49862 @if gcc-bootstrap
49863 all-target-libjava: stage_current
49864 @endif gcc-bootstrap
49865 @if target-libjava
49866 TARGET-target-libjava=all
49867 maybe-all-target-libjava: all-target-libjava
49868 all-target-libjava: configure-target-libjava
49869 @: $(MAKE); $(unstage)
49870 @r=`${PWD_COMMAND}`; export r; \
49871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49872 $(RAW_CXX_TARGET_EXPORTS) \
49873 (cd $(TARGET_SUBDIR)/libjava && \
49874 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
49875 $(TARGET-target-libjava))
49876 @endif target-libjava
49882 .PHONY: check-target-libjava maybe-check-target-libjava
49883 maybe-check-target-libjava:
49884 @if target-libjava
49885 maybe-check-target-libjava: check-target-libjava
49887 check-target-libjava:
49888 @: $(MAKE); $(unstage)
49889 @r=`${PWD_COMMAND}`; export r; \
49890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49891 $(RAW_CXX_TARGET_EXPORTS) \
49892 (cd $(TARGET_SUBDIR)/libjava && \
49893 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
49895 @endif target-libjava
49897 .PHONY: install-target-libjava maybe-install-target-libjava
49898 maybe-install-target-libjava:
49899 @if target-libjava
49900 maybe-install-target-libjava: install-target-libjava
49902 install-target-libjava: installdirs
49903 @: $(MAKE); $(unstage)
49904 @r=`${PWD_COMMAND}`; export r; \
49905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49906 $(RAW_CXX_TARGET_EXPORTS) \
49907 (cd $(TARGET_SUBDIR)/libjava && \
49908 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49910 @endif target-libjava
49912 # Other targets (info, dvi, pdf, etc.)
49914 .PHONY: maybe-info-target-libjava info-target-libjava
49915 maybe-info-target-libjava:
49916 @if target-libjava
49917 maybe-info-target-libjava: info-target-libjava
49919 info-target-libjava: \
49920 configure-target-libjava
49921 @: $(MAKE); $(unstage)
49922 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49923 r=`${PWD_COMMAND}`; export r; \
49924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49925 $(RAW_CXX_TARGET_EXPORTS) \
49926 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
49927 for flag in $(EXTRA_TARGET_FLAGS); do \
49928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49929 done; \
49930 (cd $(TARGET_SUBDIR)/libjava && \
49931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49933 "RANLIB=$${RANLIB}" \
49934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49935 info) \
49936 || exit 1
49938 @endif target-libjava
49940 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
49941 maybe-dvi-target-libjava:
49942 @if target-libjava
49943 maybe-dvi-target-libjava: dvi-target-libjava
49945 dvi-target-libjava: \
49946 configure-target-libjava
49947 @: $(MAKE); $(unstage)
49948 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49949 r=`${PWD_COMMAND}`; export r; \
49950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49951 $(RAW_CXX_TARGET_EXPORTS) \
49952 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
49953 for flag in $(EXTRA_TARGET_FLAGS); do \
49954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49955 done; \
49956 (cd $(TARGET_SUBDIR)/libjava && \
49957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49959 "RANLIB=$${RANLIB}" \
49960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49961 dvi) \
49962 || exit 1
49964 @endif target-libjava
49966 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
49967 maybe-pdf-target-libjava:
49968 @if target-libjava
49969 maybe-pdf-target-libjava: pdf-target-libjava
49971 pdf-target-libjava: \
49972 configure-target-libjava
49973 @: $(MAKE); $(unstage)
49974 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49975 r=`${PWD_COMMAND}`; export r; \
49976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49977 $(RAW_CXX_TARGET_EXPORTS) \
49978 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
49979 for flag in $(EXTRA_TARGET_FLAGS); do \
49980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49981 done; \
49982 (cd $(TARGET_SUBDIR)/libjava && \
49983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49985 "RANLIB=$${RANLIB}" \
49986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49987 pdf) \
49988 || exit 1
49990 @endif target-libjava
49992 .PHONY: maybe-html-target-libjava html-target-libjava
49993 maybe-html-target-libjava:
49994 @if target-libjava
49995 maybe-html-target-libjava: html-target-libjava
49997 html-target-libjava: \
49998 configure-target-libjava
49999 @: $(MAKE); $(unstage)
50000 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50001 r=`${PWD_COMMAND}`; export r; \
50002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50003 $(RAW_CXX_TARGET_EXPORTS) \
50004 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
50005 for flag in $(EXTRA_TARGET_FLAGS); do \
50006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50007 done; \
50008 (cd $(TARGET_SUBDIR)/libjava && \
50009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50011 "RANLIB=$${RANLIB}" \
50012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50013 html) \
50014 || exit 1
50016 @endif target-libjava
50018 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
50019 maybe-TAGS-target-libjava:
50020 @if target-libjava
50021 maybe-TAGS-target-libjava: TAGS-target-libjava
50023 TAGS-target-libjava: \
50024 configure-target-libjava
50025 @: $(MAKE); $(unstage)
50026 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50027 r=`${PWD_COMMAND}`; export r; \
50028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50029 $(RAW_CXX_TARGET_EXPORTS) \
50030 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
50031 for flag in $(EXTRA_TARGET_FLAGS); do \
50032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50033 done; \
50034 (cd $(TARGET_SUBDIR)/libjava && \
50035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50037 "RANLIB=$${RANLIB}" \
50038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50039 TAGS) \
50040 || exit 1
50042 @endif target-libjava
50044 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
50045 maybe-install-info-target-libjava:
50046 @if target-libjava
50047 maybe-install-info-target-libjava: install-info-target-libjava
50049 install-info-target-libjava: \
50050 configure-target-libjava \
50051 info-target-libjava
50052 @: $(MAKE); $(unstage)
50053 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50054 r=`${PWD_COMMAND}`; export r; \
50055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50056 $(RAW_CXX_TARGET_EXPORTS) \
50057 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
50058 for flag in $(EXTRA_TARGET_FLAGS); do \
50059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50060 done; \
50061 (cd $(TARGET_SUBDIR)/libjava && \
50062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50064 "RANLIB=$${RANLIB}" \
50065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50066 install-info) \
50067 || exit 1
50069 @endif target-libjava
50071 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
50072 maybe-install-pdf-target-libjava:
50073 @if target-libjava
50074 maybe-install-pdf-target-libjava: install-pdf-target-libjava
50076 install-pdf-target-libjava: \
50077 configure-target-libjava \
50078 pdf-target-libjava
50079 @: $(MAKE); $(unstage)
50080 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50081 r=`${PWD_COMMAND}`; export r; \
50082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50083 $(RAW_CXX_TARGET_EXPORTS) \
50084 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
50085 for flag in $(EXTRA_TARGET_FLAGS); do \
50086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50087 done; \
50088 (cd $(TARGET_SUBDIR)/libjava && \
50089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50091 "RANLIB=$${RANLIB}" \
50092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50093 install-pdf) \
50094 || exit 1
50096 @endif target-libjava
50098 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
50099 maybe-install-html-target-libjava:
50100 @if target-libjava
50101 maybe-install-html-target-libjava: install-html-target-libjava
50103 install-html-target-libjava: \
50104 configure-target-libjava \
50105 html-target-libjava
50106 @: $(MAKE); $(unstage)
50107 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50108 r=`${PWD_COMMAND}`; export r; \
50109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50110 $(RAW_CXX_TARGET_EXPORTS) \
50111 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
50112 for flag in $(EXTRA_TARGET_FLAGS); do \
50113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50114 done; \
50115 (cd $(TARGET_SUBDIR)/libjava && \
50116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50118 "RANLIB=$${RANLIB}" \
50119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50120 install-html) \
50121 || exit 1
50123 @endif target-libjava
50125 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
50126 maybe-installcheck-target-libjava:
50127 @if target-libjava
50128 maybe-installcheck-target-libjava: installcheck-target-libjava
50130 installcheck-target-libjava: \
50131 configure-target-libjava
50132 @: $(MAKE); $(unstage)
50133 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50134 r=`${PWD_COMMAND}`; export r; \
50135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50136 $(RAW_CXX_TARGET_EXPORTS) \
50137 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
50138 for flag in $(EXTRA_TARGET_FLAGS); do \
50139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50140 done; \
50141 (cd $(TARGET_SUBDIR)/libjava && \
50142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50144 "RANLIB=$${RANLIB}" \
50145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50146 installcheck) \
50147 || exit 1
50149 @endif target-libjava
50151 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
50152 maybe-mostlyclean-target-libjava:
50153 @if target-libjava
50154 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
50156 mostlyclean-target-libjava:
50157 @: $(MAKE); $(unstage)
50158 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50159 r=`${PWD_COMMAND}`; export r; \
50160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50161 $(RAW_CXX_TARGET_EXPORTS) \
50162 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
50163 for flag in $(EXTRA_TARGET_FLAGS); do \
50164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50165 done; \
50166 (cd $(TARGET_SUBDIR)/libjava && \
50167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50169 "RANLIB=$${RANLIB}" \
50170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50171 mostlyclean) \
50172 || exit 1
50174 @endif target-libjava
50176 .PHONY: maybe-clean-target-libjava clean-target-libjava
50177 maybe-clean-target-libjava:
50178 @if target-libjava
50179 maybe-clean-target-libjava: clean-target-libjava
50181 clean-target-libjava:
50182 @: $(MAKE); $(unstage)
50183 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50184 r=`${PWD_COMMAND}`; export r; \
50185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50186 $(RAW_CXX_TARGET_EXPORTS) \
50187 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
50188 for flag in $(EXTRA_TARGET_FLAGS); do \
50189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50190 done; \
50191 (cd $(TARGET_SUBDIR)/libjava && \
50192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50194 "RANLIB=$${RANLIB}" \
50195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50196 clean) \
50197 || exit 1
50199 @endif target-libjava
50201 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
50202 maybe-distclean-target-libjava:
50203 @if target-libjava
50204 maybe-distclean-target-libjava: distclean-target-libjava
50206 distclean-target-libjava:
50207 @: $(MAKE); $(unstage)
50208 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50209 r=`${PWD_COMMAND}`; export r; \
50210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50211 $(RAW_CXX_TARGET_EXPORTS) \
50212 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
50213 for flag in $(EXTRA_TARGET_FLAGS); do \
50214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50215 done; \
50216 (cd $(TARGET_SUBDIR)/libjava && \
50217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50219 "RANLIB=$${RANLIB}" \
50220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50221 distclean) \
50222 || exit 1
50224 @endif target-libjava
50226 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
50227 maybe-maintainer-clean-target-libjava:
50228 @if target-libjava
50229 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
50231 maintainer-clean-target-libjava:
50232 @: $(MAKE); $(unstage)
50233 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
50234 r=`${PWD_COMMAND}`; export r; \
50235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50236 $(RAW_CXX_TARGET_EXPORTS) \
50237 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
50238 for flag in $(EXTRA_TARGET_FLAGS); do \
50239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50240 done; \
50241 (cd $(TARGET_SUBDIR)/libjava && \
50242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50244 "RANLIB=$${RANLIB}" \
50245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50246 maintainer-clean) \
50247 || exit 1
50249 @endif target-libjava
50255 .PHONY: configure-target-zlib maybe-configure-target-zlib
50256 maybe-configure-target-zlib:
50257 @if gcc-bootstrap
50258 configure-target-zlib: stage_current
50259 @endif gcc-bootstrap
50260 @if target-zlib
50261 maybe-configure-target-zlib: configure-target-zlib
50262 configure-target-zlib:
50263 @: $(MAKE); $(unstage)
50264 @r=`${PWD_COMMAND}`; export r; \
50265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50266 echo "Checking multilib configuration for zlib..."; \
50267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
50268 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
50269 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
50270 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
50271 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
50272 else \
50273 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
50274 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
50275 fi; \
50276 else \
50277 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
50278 fi; \
50279 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
50280 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
50281 $(NORMAL_TARGET_EXPORTS) \
50282 echo Configuring in $(TARGET_SUBDIR)/zlib; \
50283 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
50284 case $(srcdir) in \
50285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50286 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
50287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50288 esac; \
50289 srcdiroption="--srcdir=$${topdir}/zlib"; \
50290 libsrcdir="$$s/zlib"; \
50291 rm -f no-such-file || : ; \
50292 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50293 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50294 --target=${target_alias} $${srcdiroption} \
50295 || exit 1
50296 @endif target-zlib
50302 .PHONY: all-target-zlib maybe-all-target-zlib
50303 maybe-all-target-zlib:
50304 @if gcc-bootstrap
50305 all-target-zlib: stage_current
50306 @endif gcc-bootstrap
50307 @if target-zlib
50308 TARGET-target-zlib=all
50309 maybe-all-target-zlib: all-target-zlib
50310 all-target-zlib: configure-target-zlib
50311 @: $(MAKE); $(unstage)
50312 @r=`${PWD_COMMAND}`; export r; \
50313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50314 $(NORMAL_TARGET_EXPORTS) \
50315 (cd $(TARGET_SUBDIR)/zlib && \
50316 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50317 $(TARGET-target-zlib))
50318 @endif target-zlib
50324 .PHONY: check-target-zlib maybe-check-target-zlib
50325 maybe-check-target-zlib:
50326 @if target-zlib
50327 maybe-check-target-zlib: check-target-zlib
50329 check-target-zlib:
50330 @: $(MAKE); $(unstage)
50331 @r=`${PWD_COMMAND}`; export r; \
50332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50333 $(NORMAL_TARGET_EXPORTS) \
50334 (cd $(TARGET_SUBDIR)/zlib && \
50335 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50337 @endif target-zlib
50339 .PHONY: install-target-zlib maybe-install-target-zlib
50340 maybe-install-target-zlib:
50341 @if target-zlib
50342 maybe-install-target-zlib: install-target-zlib
50344 install-target-zlib: installdirs
50345 @: $(MAKE); $(unstage)
50346 @r=`${PWD_COMMAND}`; export r; \
50347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50348 $(NORMAL_TARGET_EXPORTS) \
50349 (cd $(TARGET_SUBDIR)/zlib && \
50350 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50352 @endif target-zlib
50354 # Other targets (info, dvi, pdf, etc.)
50356 .PHONY: maybe-info-target-zlib info-target-zlib
50357 maybe-info-target-zlib:
50358 @if target-zlib
50359 maybe-info-target-zlib: info-target-zlib
50361 info-target-zlib: \
50362 configure-target-zlib
50363 @: $(MAKE); $(unstage)
50364 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50365 r=`${PWD_COMMAND}`; export r; \
50366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50367 $(NORMAL_TARGET_EXPORTS) \
50368 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
50369 for flag in $(EXTRA_TARGET_FLAGS); do \
50370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50371 done; \
50372 (cd $(TARGET_SUBDIR)/zlib && \
50373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50375 "RANLIB=$${RANLIB}" \
50376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50377 info) \
50378 || exit 1
50380 @endif target-zlib
50382 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
50383 maybe-dvi-target-zlib:
50384 @if target-zlib
50385 maybe-dvi-target-zlib: dvi-target-zlib
50387 dvi-target-zlib: \
50388 configure-target-zlib
50389 @: $(MAKE); $(unstage)
50390 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50391 r=`${PWD_COMMAND}`; export r; \
50392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50393 $(NORMAL_TARGET_EXPORTS) \
50394 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
50395 for flag in $(EXTRA_TARGET_FLAGS); do \
50396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50397 done; \
50398 (cd $(TARGET_SUBDIR)/zlib && \
50399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50401 "RANLIB=$${RANLIB}" \
50402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50403 dvi) \
50404 || exit 1
50406 @endif target-zlib
50408 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
50409 maybe-pdf-target-zlib:
50410 @if target-zlib
50411 maybe-pdf-target-zlib: pdf-target-zlib
50413 pdf-target-zlib: \
50414 configure-target-zlib
50415 @: $(MAKE); $(unstage)
50416 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50417 r=`${PWD_COMMAND}`; export r; \
50418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50419 $(NORMAL_TARGET_EXPORTS) \
50420 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
50421 for flag in $(EXTRA_TARGET_FLAGS); do \
50422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50423 done; \
50424 (cd $(TARGET_SUBDIR)/zlib && \
50425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50427 "RANLIB=$${RANLIB}" \
50428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50429 pdf) \
50430 || exit 1
50432 @endif target-zlib
50434 .PHONY: maybe-html-target-zlib html-target-zlib
50435 maybe-html-target-zlib:
50436 @if target-zlib
50437 maybe-html-target-zlib: html-target-zlib
50439 html-target-zlib: \
50440 configure-target-zlib
50441 @: $(MAKE); $(unstage)
50442 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50443 r=`${PWD_COMMAND}`; export r; \
50444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50445 $(NORMAL_TARGET_EXPORTS) \
50446 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
50447 for flag in $(EXTRA_TARGET_FLAGS); do \
50448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50449 done; \
50450 (cd $(TARGET_SUBDIR)/zlib && \
50451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50453 "RANLIB=$${RANLIB}" \
50454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50455 html) \
50456 || exit 1
50458 @endif target-zlib
50460 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
50461 maybe-TAGS-target-zlib:
50462 @if target-zlib
50463 maybe-TAGS-target-zlib: TAGS-target-zlib
50465 TAGS-target-zlib: \
50466 configure-target-zlib
50467 @: $(MAKE); $(unstage)
50468 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50469 r=`${PWD_COMMAND}`; export r; \
50470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50471 $(NORMAL_TARGET_EXPORTS) \
50472 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
50473 for flag in $(EXTRA_TARGET_FLAGS); do \
50474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50475 done; \
50476 (cd $(TARGET_SUBDIR)/zlib && \
50477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50479 "RANLIB=$${RANLIB}" \
50480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50481 TAGS) \
50482 || exit 1
50484 @endif target-zlib
50486 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
50487 maybe-install-info-target-zlib:
50488 @if target-zlib
50489 maybe-install-info-target-zlib: install-info-target-zlib
50491 install-info-target-zlib: \
50492 configure-target-zlib \
50493 info-target-zlib
50494 @: $(MAKE); $(unstage)
50495 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50496 r=`${PWD_COMMAND}`; export r; \
50497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50498 $(NORMAL_TARGET_EXPORTS) \
50499 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
50500 for flag in $(EXTRA_TARGET_FLAGS); do \
50501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50502 done; \
50503 (cd $(TARGET_SUBDIR)/zlib && \
50504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50506 "RANLIB=$${RANLIB}" \
50507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50508 install-info) \
50509 || exit 1
50511 @endif target-zlib
50513 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
50514 maybe-install-pdf-target-zlib:
50515 @if target-zlib
50516 maybe-install-pdf-target-zlib: install-pdf-target-zlib
50518 install-pdf-target-zlib: \
50519 configure-target-zlib \
50520 pdf-target-zlib
50521 @: $(MAKE); $(unstage)
50522 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50523 r=`${PWD_COMMAND}`; export r; \
50524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50525 $(NORMAL_TARGET_EXPORTS) \
50526 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
50527 for flag in $(EXTRA_TARGET_FLAGS); do \
50528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50529 done; \
50530 (cd $(TARGET_SUBDIR)/zlib && \
50531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50533 "RANLIB=$${RANLIB}" \
50534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50535 install-pdf) \
50536 || exit 1
50538 @endif target-zlib
50540 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
50541 maybe-install-html-target-zlib:
50542 @if target-zlib
50543 maybe-install-html-target-zlib: install-html-target-zlib
50545 install-html-target-zlib: \
50546 configure-target-zlib \
50547 html-target-zlib
50548 @: $(MAKE); $(unstage)
50549 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50550 r=`${PWD_COMMAND}`; export r; \
50551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50552 $(NORMAL_TARGET_EXPORTS) \
50553 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
50554 for flag in $(EXTRA_TARGET_FLAGS); do \
50555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50556 done; \
50557 (cd $(TARGET_SUBDIR)/zlib && \
50558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50560 "RANLIB=$${RANLIB}" \
50561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50562 install-html) \
50563 || exit 1
50565 @endif target-zlib
50567 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
50568 maybe-installcheck-target-zlib:
50569 @if target-zlib
50570 maybe-installcheck-target-zlib: installcheck-target-zlib
50572 installcheck-target-zlib: \
50573 configure-target-zlib
50574 @: $(MAKE); $(unstage)
50575 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50576 r=`${PWD_COMMAND}`; export r; \
50577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50578 $(NORMAL_TARGET_EXPORTS) \
50579 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
50580 for flag in $(EXTRA_TARGET_FLAGS); do \
50581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50582 done; \
50583 (cd $(TARGET_SUBDIR)/zlib && \
50584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50586 "RANLIB=$${RANLIB}" \
50587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50588 installcheck) \
50589 || exit 1
50591 @endif target-zlib
50593 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
50594 maybe-mostlyclean-target-zlib:
50595 @if target-zlib
50596 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
50598 mostlyclean-target-zlib:
50599 @: $(MAKE); $(unstage)
50600 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50601 r=`${PWD_COMMAND}`; export r; \
50602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50603 $(NORMAL_TARGET_EXPORTS) \
50604 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
50605 for flag in $(EXTRA_TARGET_FLAGS); do \
50606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50607 done; \
50608 (cd $(TARGET_SUBDIR)/zlib && \
50609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50611 "RANLIB=$${RANLIB}" \
50612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50613 mostlyclean) \
50614 || exit 1
50616 @endif target-zlib
50618 .PHONY: maybe-clean-target-zlib clean-target-zlib
50619 maybe-clean-target-zlib:
50620 @if target-zlib
50621 maybe-clean-target-zlib: clean-target-zlib
50623 clean-target-zlib:
50624 @: $(MAKE); $(unstage)
50625 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50626 r=`${PWD_COMMAND}`; export r; \
50627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50628 $(NORMAL_TARGET_EXPORTS) \
50629 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
50630 for flag in $(EXTRA_TARGET_FLAGS); do \
50631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50632 done; \
50633 (cd $(TARGET_SUBDIR)/zlib && \
50634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50636 "RANLIB=$${RANLIB}" \
50637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50638 clean) \
50639 || exit 1
50641 @endif target-zlib
50643 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
50644 maybe-distclean-target-zlib:
50645 @if target-zlib
50646 maybe-distclean-target-zlib: distclean-target-zlib
50648 distclean-target-zlib:
50649 @: $(MAKE); $(unstage)
50650 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50651 r=`${PWD_COMMAND}`; export r; \
50652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50653 $(NORMAL_TARGET_EXPORTS) \
50654 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
50655 for flag in $(EXTRA_TARGET_FLAGS); do \
50656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50657 done; \
50658 (cd $(TARGET_SUBDIR)/zlib && \
50659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50661 "RANLIB=$${RANLIB}" \
50662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50663 distclean) \
50664 || exit 1
50666 @endif target-zlib
50668 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
50669 maybe-maintainer-clean-target-zlib:
50670 @if target-zlib
50671 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
50673 maintainer-clean-target-zlib:
50674 @: $(MAKE); $(unstage)
50675 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50676 r=`${PWD_COMMAND}`; export r; \
50677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50678 $(NORMAL_TARGET_EXPORTS) \
50679 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
50680 for flag in $(EXTRA_TARGET_FLAGS); do \
50681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50682 done; \
50683 (cd $(TARGET_SUBDIR)/zlib && \
50684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50686 "RANLIB=$${RANLIB}" \
50687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50688 maintainer-clean) \
50689 || exit 1
50691 @endif target-zlib
50697 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
50698 maybe-configure-target-boehm-gc:
50699 @if gcc-bootstrap
50700 configure-target-boehm-gc: stage_current
50701 @endif gcc-bootstrap
50702 @if target-boehm-gc
50703 maybe-configure-target-boehm-gc: configure-target-boehm-gc
50704 configure-target-boehm-gc:
50705 @: $(MAKE); $(unstage)
50706 @r=`${PWD_COMMAND}`; export r; \
50707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50708 echo "Checking multilib configuration for boehm-gc..."; \
50709 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
50710 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
50711 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
50712 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
50713 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
50714 else \
50715 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
50716 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
50717 fi; \
50718 else \
50719 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
50720 fi; \
50721 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
50722 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
50723 $(NORMAL_TARGET_EXPORTS) \
50724 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
50725 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
50726 case $(srcdir) in \
50727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50728 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
50729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50730 esac; \
50731 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
50732 libsrcdir="$$s/boehm-gc"; \
50733 rm -f no-such-file || : ; \
50734 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50735 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50736 --target=${target_alias} $${srcdiroption} \
50737 || exit 1
50738 @endif target-boehm-gc
50744 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
50745 maybe-all-target-boehm-gc:
50746 @if gcc-bootstrap
50747 all-target-boehm-gc: stage_current
50748 @endif gcc-bootstrap
50749 @if target-boehm-gc
50750 TARGET-target-boehm-gc=all
50751 maybe-all-target-boehm-gc: all-target-boehm-gc
50752 all-target-boehm-gc: configure-target-boehm-gc
50753 @: $(MAKE); $(unstage)
50754 @r=`${PWD_COMMAND}`; export r; \
50755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50756 $(NORMAL_TARGET_EXPORTS) \
50757 (cd $(TARGET_SUBDIR)/boehm-gc && \
50758 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50759 $(TARGET-target-boehm-gc))
50760 @endif target-boehm-gc
50766 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
50767 maybe-check-target-boehm-gc:
50768 @if target-boehm-gc
50769 maybe-check-target-boehm-gc: check-target-boehm-gc
50771 check-target-boehm-gc:
50772 @: $(MAKE); $(unstage)
50773 @r=`${PWD_COMMAND}`; export r; \
50774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50775 $(NORMAL_TARGET_EXPORTS) \
50776 (cd $(TARGET_SUBDIR)/boehm-gc && \
50777 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50779 @endif target-boehm-gc
50781 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
50782 maybe-install-target-boehm-gc:
50783 @if target-boehm-gc
50784 maybe-install-target-boehm-gc: install-target-boehm-gc
50786 install-target-boehm-gc: installdirs
50787 @: $(MAKE); $(unstage)
50788 @r=`${PWD_COMMAND}`; export r; \
50789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50790 $(NORMAL_TARGET_EXPORTS) \
50791 (cd $(TARGET_SUBDIR)/boehm-gc && \
50792 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50794 @endif target-boehm-gc
50796 # Other targets (info, dvi, pdf, etc.)
50798 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
50799 maybe-info-target-boehm-gc:
50800 @if target-boehm-gc
50801 maybe-info-target-boehm-gc: info-target-boehm-gc
50803 info-target-boehm-gc: \
50804 configure-target-boehm-gc
50805 @: $(MAKE); $(unstage)
50806 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50807 r=`${PWD_COMMAND}`; export r; \
50808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50809 $(NORMAL_TARGET_EXPORTS) \
50810 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
50811 for flag in $(EXTRA_TARGET_FLAGS); do \
50812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50813 done; \
50814 (cd $(TARGET_SUBDIR)/boehm-gc && \
50815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50817 "RANLIB=$${RANLIB}" \
50818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50819 info) \
50820 || exit 1
50822 @endif target-boehm-gc
50824 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
50825 maybe-dvi-target-boehm-gc:
50826 @if target-boehm-gc
50827 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
50829 dvi-target-boehm-gc: \
50830 configure-target-boehm-gc
50831 @: $(MAKE); $(unstage)
50832 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50833 r=`${PWD_COMMAND}`; export r; \
50834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50835 $(NORMAL_TARGET_EXPORTS) \
50836 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
50837 for flag in $(EXTRA_TARGET_FLAGS); do \
50838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50839 done; \
50840 (cd $(TARGET_SUBDIR)/boehm-gc && \
50841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50843 "RANLIB=$${RANLIB}" \
50844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50845 dvi) \
50846 || exit 1
50848 @endif target-boehm-gc
50850 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
50851 maybe-pdf-target-boehm-gc:
50852 @if target-boehm-gc
50853 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
50855 pdf-target-boehm-gc: \
50856 configure-target-boehm-gc
50857 @: $(MAKE); $(unstage)
50858 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50859 r=`${PWD_COMMAND}`; export r; \
50860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50861 $(NORMAL_TARGET_EXPORTS) \
50862 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
50863 for flag in $(EXTRA_TARGET_FLAGS); do \
50864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50865 done; \
50866 (cd $(TARGET_SUBDIR)/boehm-gc && \
50867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50869 "RANLIB=$${RANLIB}" \
50870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50871 pdf) \
50872 || exit 1
50874 @endif target-boehm-gc
50876 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
50877 maybe-html-target-boehm-gc:
50878 @if target-boehm-gc
50879 maybe-html-target-boehm-gc: html-target-boehm-gc
50881 html-target-boehm-gc: \
50882 configure-target-boehm-gc
50883 @: $(MAKE); $(unstage)
50884 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50885 r=`${PWD_COMMAND}`; export r; \
50886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50887 $(NORMAL_TARGET_EXPORTS) \
50888 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
50889 for flag in $(EXTRA_TARGET_FLAGS); do \
50890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50891 done; \
50892 (cd $(TARGET_SUBDIR)/boehm-gc && \
50893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50895 "RANLIB=$${RANLIB}" \
50896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50897 html) \
50898 || exit 1
50900 @endif target-boehm-gc
50902 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
50903 maybe-TAGS-target-boehm-gc:
50904 @if target-boehm-gc
50905 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
50907 TAGS-target-boehm-gc: \
50908 configure-target-boehm-gc
50909 @: $(MAKE); $(unstage)
50910 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50911 r=`${PWD_COMMAND}`; export r; \
50912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50913 $(NORMAL_TARGET_EXPORTS) \
50914 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
50915 for flag in $(EXTRA_TARGET_FLAGS); do \
50916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50917 done; \
50918 (cd $(TARGET_SUBDIR)/boehm-gc && \
50919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50921 "RANLIB=$${RANLIB}" \
50922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50923 TAGS) \
50924 || exit 1
50926 @endif target-boehm-gc
50928 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
50929 maybe-install-info-target-boehm-gc:
50930 @if target-boehm-gc
50931 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
50933 install-info-target-boehm-gc: \
50934 configure-target-boehm-gc \
50935 info-target-boehm-gc
50936 @: $(MAKE); $(unstage)
50937 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50938 r=`${PWD_COMMAND}`; export r; \
50939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50940 $(NORMAL_TARGET_EXPORTS) \
50941 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
50942 for flag in $(EXTRA_TARGET_FLAGS); do \
50943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50944 done; \
50945 (cd $(TARGET_SUBDIR)/boehm-gc && \
50946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50948 "RANLIB=$${RANLIB}" \
50949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50950 install-info) \
50951 || exit 1
50953 @endif target-boehm-gc
50955 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
50956 maybe-install-pdf-target-boehm-gc:
50957 @if target-boehm-gc
50958 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
50960 install-pdf-target-boehm-gc: \
50961 configure-target-boehm-gc \
50962 pdf-target-boehm-gc
50963 @: $(MAKE); $(unstage)
50964 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50965 r=`${PWD_COMMAND}`; export r; \
50966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50967 $(NORMAL_TARGET_EXPORTS) \
50968 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
50969 for flag in $(EXTRA_TARGET_FLAGS); do \
50970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50971 done; \
50972 (cd $(TARGET_SUBDIR)/boehm-gc && \
50973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50975 "RANLIB=$${RANLIB}" \
50976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50977 install-pdf) \
50978 || exit 1
50980 @endif target-boehm-gc
50982 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
50983 maybe-install-html-target-boehm-gc:
50984 @if target-boehm-gc
50985 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
50987 install-html-target-boehm-gc: \
50988 configure-target-boehm-gc \
50989 html-target-boehm-gc
50990 @: $(MAKE); $(unstage)
50991 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50992 r=`${PWD_COMMAND}`; export r; \
50993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50994 $(NORMAL_TARGET_EXPORTS) \
50995 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
50996 for flag in $(EXTRA_TARGET_FLAGS); do \
50997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50998 done; \
50999 (cd $(TARGET_SUBDIR)/boehm-gc && \
51000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51002 "RANLIB=$${RANLIB}" \
51003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51004 install-html) \
51005 || exit 1
51007 @endif target-boehm-gc
51009 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
51010 maybe-installcheck-target-boehm-gc:
51011 @if target-boehm-gc
51012 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
51014 installcheck-target-boehm-gc: \
51015 configure-target-boehm-gc
51016 @: $(MAKE); $(unstage)
51017 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
51018 r=`${PWD_COMMAND}`; export r; \
51019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51020 $(NORMAL_TARGET_EXPORTS) \
51021 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
51022 for flag in $(EXTRA_TARGET_FLAGS); do \
51023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51024 done; \
51025 (cd $(TARGET_SUBDIR)/boehm-gc && \
51026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51028 "RANLIB=$${RANLIB}" \
51029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51030 installcheck) \
51031 || exit 1
51033 @endif target-boehm-gc
51035 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
51036 maybe-mostlyclean-target-boehm-gc:
51037 @if target-boehm-gc
51038 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
51040 mostlyclean-target-boehm-gc:
51041 @: $(MAKE); $(unstage)
51042 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
51043 r=`${PWD_COMMAND}`; export r; \
51044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51045 $(NORMAL_TARGET_EXPORTS) \
51046 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
51047 for flag in $(EXTRA_TARGET_FLAGS); do \
51048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51049 done; \
51050 (cd $(TARGET_SUBDIR)/boehm-gc && \
51051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51053 "RANLIB=$${RANLIB}" \
51054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51055 mostlyclean) \
51056 || exit 1
51058 @endif target-boehm-gc
51060 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
51061 maybe-clean-target-boehm-gc:
51062 @if target-boehm-gc
51063 maybe-clean-target-boehm-gc: clean-target-boehm-gc
51065 clean-target-boehm-gc:
51066 @: $(MAKE); $(unstage)
51067 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
51068 r=`${PWD_COMMAND}`; export r; \
51069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51070 $(NORMAL_TARGET_EXPORTS) \
51071 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
51072 for flag in $(EXTRA_TARGET_FLAGS); do \
51073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51074 done; \
51075 (cd $(TARGET_SUBDIR)/boehm-gc && \
51076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51078 "RANLIB=$${RANLIB}" \
51079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51080 clean) \
51081 || exit 1
51083 @endif target-boehm-gc
51085 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
51086 maybe-distclean-target-boehm-gc:
51087 @if target-boehm-gc
51088 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
51090 distclean-target-boehm-gc:
51091 @: $(MAKE); $(unstage)
51092 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
51093 r=`${PWD_COMMAND}`; export r; \
51094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51095 $(NORMAL_TARGET_EXPORTS) \
51096 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
51097 for flag in $(EXTRA_TARGET_FLAGS); do \
51098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51099 done; \
51100 (cd $(TARGET_SUBDIR)/boehm-gc && \
51101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51103 "RANLIB=$${RANLIB}" \
51104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51105 distclean) \
51106 || exit 1
51108 @endif target-boehm-gc
51110 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
51111 maybe-maintainer-clean-target-boehm-gc:
51112 @if target-boehm-gc
51113 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
51115 maintainer-clean-target-boehm-gc:
51116 @: $(MAKE); $(unstage)
51117 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
51118 r=`${PWD_COMMAND}`; export r; \
51119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51120 $(NORMAL_TARGET_EXPORTS) \
51121 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
51122 for flag in $(EXTRA_TARGET_FLAGS); do \
51123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51124 done; \
51125 (cd $(TARGET_SUBDIR)/boehm-gc && \
51126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51128 "RANLIB=$${RANLIB}" \
51129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51130 maintainer-clean) \
51131 || exit 1
51133 @endif target-boehm-gc
51139 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
51140 maybe-configure-target-qthreads:
51141 @if gcc-bootstrap
51142 configure-target-qthreads: stage_current
51143 @endif gcc-bootstrap
51144 @if target-qthreads
51145 maybe-configure-target-qthreads: configure-target-qthreads
51146 configure-target-qthreads:
51147 @: $(MAKE); $(unstage)
51148 @r=`${PWD_COMMAND}`; export r; \
51149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51150 echo "Checking multilib configuration for qthreads..."; \
51151 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
51152 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
51153 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
51154 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
51155 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
51156 else \
51157 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
51158 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
51159 fi; \
51160 else \
51161 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
51162 fi; \
51163 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
51164 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
51165 $(NORMAL_TARGET_EXPORTS) \
51166 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
51167 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
51168 case $(srcdir) in \
51169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51170 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
51171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51172 esac; \
51173 srcdiroption="--srcdir=$${topdir}/qthreads"; \
51174 libsrcdir="$$s/qthreads"; \
51175 rm -f no-such-file || : ; \
51176 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51177 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51178 --target=${target_alias} $${srcdiroption} \
51179 || exit 1
51180 @endif target-qthreads
51186 .PHONY: all-target-qthreads maybe-all-target-qthreads
51187 maybe-all-target-qthreads:
51188 @if gcc-bootstrap
51189 all-target-qthreads: stage_current
51190 @endif gcc-bootstrap
51191 @if target-qthreads
51192 TARGET-target-qthreads=all
51193 maybe-all-target-qthreads: all-target-qthreads
51194 all-target-qthreads: configure-target-qthreads
51195 @: $(MAKE); $(unstage)
51196 @r=`${PWD_COMMAND}`; export r; \
51197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51198 $(NORMAL_TARGET_EXPORTS) \
51199 (cd $(TARGET_SUBDIR)/qthreads && \
51200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51201 $(TARGET-target-qthreads))
51202 @endif target-qthreads
51208 .PHONY: check-target-qthreads maybe-check-target-qthreads
51209 maybe-check-target-qthreads:
51210 @if target-qthreads
51211 maybe-check-target-qthreads: check-target-qthreads
51213 check-target-qthreads:
51214 @: $(MAKE); $(unstage)
51215 @r=`${PWD_COMMAND}`; export r; \
51216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51217 $(NORMAL_TARGET_EXPORTS) \
51218 (cd $(TARGET_SUBDIR)/qthreads && \
51219 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51221 @endif target-qthreads
51223 .PHONY: install-target-qthreads maybe-install-target-qthreads
51224 maybe-install-target-qthreads:
51225 @if target-qthreads
51226 maybe-install-target-qthreads: install-target-qthreads
51228 install-target-qthreads: installdirs
51229 @: $(MAKE); $(unstage)
51230 @r=`${PWD_COMMAND}`; export r; \
51231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51232 $(NORMAL_TARGET_EXPORTS) \
51233 (cd $(TARGET_SUBDIR)/qthreads && \
51234 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51236 @endif target-qthreads
51238 # Other targets (info, dvi, pdf, etc.)
51240 .PHONY: maybe-info-target-qthreads info-target-qthreads
51241 maybe-info-target-qthreads:
51242 @if target-qthreads
51243 maybe-info-target-qthreads: info-target-qthreads
51245 info-target-qthreads: \
51246 configure-target-qthreads
51247 @: $(MAKE); $(unstage)
51248 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51249 r=`${PWD_COMMAND}`; export r; \
51250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51251 $(NORMAL_TARGET_EXPORTS) \
51252 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
51253 for flag in $(EXTRA_TARGET_FLAGS); do \
51254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51255 done; \
51256 (cd $(TARGET_SUBDIR)/qthreads && \
51257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51259 "RANLIB=$${RANLIB}" \
51260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51261 info) \
51262 || exit 1
51264 @endif target-qthreads
51266 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
51267 maybe-dvi-target-qthreads:
51268 @if target-qthreads
51269 maybe-dvi-target-qthreads: dvi-target-qthreads
51271 dvi-target-qthreads: \
51272 configure-target-qthreads
51273 @: $(MAKE); $(unstage)
51274 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51275 r=`${PWD_COMMAND}`; export r; \
51276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51277 $(NORMAL_TARGET_EXPORTS) \
51278 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
51279 for flag in $(EXTRA_TARGET_FLAGS); do \
51280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51281 done; \
51282 (cd $(TARGET_SUBDIR)/qthreads && \
51283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51285 "RANLIB=$${RANLIB}" \
51286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51287 dvi) \
51288 || exit 1
51290 @endif target-qthreads
51292 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
51293 maybe-pdf-target-qthreads:
51294 @if target-qthreads
51295 maybe-pdf-target-qthreads: pdf-target-qthreads
51297 pdf-target-qthreads: \
51298 configure-target-qthreads
51299 @: $(MAKE); $(unstage)
51300 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51301 r=`${PWD_COMMAND}`; export r; \
51302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51303 $(NORMAL_TARGET_EXPORTS) \
51304 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
51305 for flag in $(EXTRA_TARGET_FLAGS); do \
51306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51307 done; \
51308 (cd $(TARGET_SUBDIR)/qthreads && \
51309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51311 "RANLIB=$${RANLIB}" \
51312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51313 pdf) \
51314 || exit 1
51316 @endif target-qthreads
51318 .PHONY: maybe-html-target-qthreads html-target-qthreads
51319 maybe-html-target-qthreads:
51320 @if target-qthreads
51321 maybe-html-target-qthreads: html-target-qthreads
51323 html-target-qthreads: \
51324 configure-target-qthreads
51325 @: $(MAKE); $(unstage)
51326 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51327 r=`${PWD_COMMAND}`; export r; \
51328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51329 $(NORMAL_TARGET_EXPORTS) \
51330 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
51331 for flag in $(EXTRA_TARGET_FLAGS); do \
51332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51333 done; \
51334 (cd $(TARGET_SUBDIR)/qthreads && \
51335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51337 "RANLIB=$${RANLIB}" \
51338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51339 html) \
51340 || exit 1
51342 @endif target-qthreads
51344 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
51345 maybe-TAGS-target-qthreads:
51346 @if target-qthreads
51347 maybe-TAGS-target-qthreads: TAGS-target-qthreads
51349 TAGS-target-qthreads: \
51350 configure-target-qthreads
51351 @: $(MAKE); $(unstage)
51352 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51353 r=`${PWD_COMMAND}`; export r; \
51354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51355 $(NORMAL_TARGET_EXPORTS) \
51356 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
51357 for flag in $(EXTRA_TARGET_FLAGS); do \
51358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51359 done; \
51360 (cd $(TARGET_SUBDIR)/qthreads && \
51361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51363 "RANLIB=$${RANLIB}" \
51364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51365 TAGS) \
51366 || exit 1
51368 @endif target-qthreads
51370 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
51371 maybe-install-info-target-qthreads:
51372 @if target-qthreads
51373 maybe-install-info-target-qthreads: install-info-target-qthreads
51375 install-info-target-qthreads: \
51376 configure-target-qthreads \
51377 info-target-qthreads
51378 @: $(MAKE); $(unstage)
51379 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51380 r=`${PWD_COMMAND}`; export r; \
51381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51382 $(NORMAL_TARGET_EXPORTS) \
51383 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
51384 for flag in $(EXTRA_TARGET_FLAGS); do \
51385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51386 done; \
51387 (cd $(TARGET_SUBDIR)/qthreads && \
51388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51390 "RANLIB=$${RANLIB}" \
51391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51392 install-info) \
51393 || exit 1
51395 @endif target-qthreads
51397 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
51398 maybe-install-pdf-target-qthreads:
51399 @if target-qthreads
51400 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
51402 install-pdf-target-qthreads: \
51403 configure-target-qthreads \
51404 pdf-target-qthreads
51405 @: $(MAKE); $(unstage)
51406 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51407 r=`${PWD_COMMAND}`; export r; \
51408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51409 $(NORMAL_TARGET_EXPORTS) \
51410 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
51411 for flag in $(EXTRA_TARGET_FLAGS); do \
51412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51413 done; \
51414 (cd $(TARGET_SUBDIR)/qthreads && \
51415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51417 "RANLIB=$${RANLIB}" \
51418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51419 install-pdf) \
51420 || exit 1
51422 @endif target-qthreads
51424 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
51425 maybe-install-html-target-qthreads:
51426 @if target-qthreads
51427 maybe-install-html-target-qthreads: install-html-target-qthreads
51429 install-html-target-qthreads: \
51430 configure-target-qthreads \
51431 html-target-qthreads
51432 @: $(MAKE); $(unstage)
51433 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51434 r=`${PWD_COMMAND}`; export r; \
51435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51436 $(NORMAL_TARGET_EXPORTS) \
51437 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
51438 for flag in $(EXTRA_TARGET_FLAGS); do \
51439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51440 done; \
51441 (cd $(TARGET_SUBDIR)/qthreads && \
51442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51444 "RANLIB=$${RANLIB}" \
51445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51446 install-html) \
51447 || exit 1
51449 @endif target-qthreads
51451 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
51452 maybe-installcheck-target-qthreads:
51453 @if target-qthreads
51454 maybe-installcheck-target-qthreads: installcheck-target-qthreads
51456 installcheck-target-qthreads: \
51457 configure-target-qthreads
51458 @: $(MAKE); $(unstage)
51459 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51460 r=`${PWD_COMMAND}`; export r; \
51461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51462 $(NORMAL_TARGET_EXPORTS) \
51463 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
51464 for flag in $(EXTRA_TARGET_FLAGS); do \
51465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51466 done; \
51467 (cd $(TARGET_SUBDIR)/qthreads && \
51468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51470 "RANLIB=$${RANLIB}" \
51471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51472 installcheck) \
51473 || exit 1
51475 @endif target-qthreads
51477 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
51478 maybe-mostlyclean-target-qthreads:
51479 @if target-qthreads
51480 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
51482 mostlyclean-target-qthreads:
51483 @: $(MAKE); $(unstage)
51484 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51485 r=`${PWD_COMMAND}`; export r; \
51486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51487 $(NORMAL_TARGET_EXPORTS) \
51488 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
51489 for flag in $(EXTRA_TARGET_FLAGS); do \
51490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51491 done; \
51492 (cd $(TARGET_SUBDIR)/qthreads && \
51493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51495 "RANLIB=$${RANLIB}" \
51496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51497 mostlyclean) \
51498 || exit 1
51500 @endif target-qthreads
51502 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
51503 maybe-clean-target-qthreads:
51504 @if target-qthreads
51505 maybe-clean-target-qthreads: clean-target-qthreads
51507 clean-target-qthreads:
51508 @: $(MAKE); $(unstage)
51509 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51510 r=`${PWD_COMMAND}`; export r; \
51511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51512 $(NORMAL_TARGET_EXPORTS) \
51513 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
51514 for flag in $(EXTRA_TARGET_FLAGS); do \
51515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51516 done; \
51517 (cd $(TARGET_SUBDIR)/qthreads && \
51518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51520 "RANLIB=$${RANLIB}" \
51521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51522 clean) \
51523 || exit 1
51525 @endif target-qthreads
51527 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
51528 maybe-distclean-target-qthreads:
51529 @if target-qthreads
51530 maybe-distclean-target-qthreads: distclean-target-qthreads
51532 distclean-target-qthreads:
51533 @: $(MAKE); $(unstage)
51534 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51535 r=`${PWD_COMMAND}`; export r; \
51536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51537 $(NORMAL_TARGET_EXPORTS) \
51538 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
51539 for flag in $(EXTRA_TARGET_FLAGS); do \
51540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51541 done; \
51542 (cd $(TARGET_SUBDIR)/qthreads && \
51543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51545 "RANLIB=$${RANLIB}" \
51546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51547 distclean) \
51548 || exit 1
51550 @endif target-qthreads
51552 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
51553 maybe-maintainer-clean-target-qthreads:
51554 @if target-qthreads
51555 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
51557 maintainer-clean-target-qthreads:
51558 @: $(MAKE); $(unstage)
51559 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51560 r=`${PWD_COMMAND}`; export r; \
51561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51562 $(NORMAL_TARGET_EXPORTS) \
51563 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
51564 for flag in $(EXTRA_TARGET_FLAGS); do \
51565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51566 done; \
51567 (cd $(TARGET_SUBDIR)/qthreads && \
51568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51570 "RANLIB=$${RANLIB}" \
51571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51572 maintainer-clean) \
51573 || exit 1
51575 @endif target-qthreads
51581 .PHONY: configure-target-rda maybe-configure-target-rda
51582 maybe-configure-target-rda:
51583 @if gcc-bootstrap
51584 configure-target-rda: stage_current
51585 @endif gcc-bootstrap
51586 @if target-rda
51587 maybe-configure-target-rda: configure-target-rda
51588 configure-target-rda:
51589 @: $(MAKE); $(unstage)
51590 @r=`${PWD_COMMAND}`; export r; \
51591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51592 echo "Checking multilib configuration for rda..."; \
51593 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
51594 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
51595 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
51596 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
51597 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
51598 else \
51599 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
51600 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51601 fi; \
51602 else \
51603 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51604 fi; \
51605 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
51606 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
51607 $(NORMAL_TARGET_EXPORTS) \
51608 echo Configuring in $(TARGET_SUBDIR)/rda; \
51609 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
51610 case $(srcdir) in \
51611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51612 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
51613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51614 esac; \
51615 srcdiroption="--srcdir=$${topdir}/rda"; \
51616 libsrcdir="$$s/rda"; \
51617 rm -f no-such-file || : ; \
51618 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51619 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51620 --target=${target_alias} $${srcdiroption} \
51621 || exit 1
51622 @endif target-rda
51628 .PHONY: all-target-rda maybe-all-target-rda
51629 maybe-all-target-rda:
51630 @if gcc-bootstrap
51631 all-target-rda: stage_current
51632 @endif gcc-bootstrap
51633 @if target-rda
51634 TARGET-target-rda=all
51635 maybe-all-target-rda: all-target-rda
51636 all-target-rda: configure-target-rda
51637 @: $(MAKE); $(unstage)
51638 @r=`${PWD_COMMAND}`; export r; \
51639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51640 $(NORMAL_TARGET_EXPORTS) \
51641 (cd $(TARGET_SUBDIR)/rda && \
51642 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51643 $(TARGET-target-rda))
51644 @endif target-rda
51650 .PHONY: check-target-rda maybe-check-target-rda
51651 maybe-check-target-rda:
51652 @if target-rda
51653 maybe-check-target-rda: check-target-rda
51655 check-target-rda:
51656 @: $(MAKE); $(unstage)
51657 @r=`${PWD_COMMAND}`; export r; \
51658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51659 $(NORMAL_TARGET_EXPORTS) \
51660 (cd $(TARGET_SUBDIR)/rda && \
51661 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51663 @endif target-rda
51665 .PHONY: install-target-rda maybe-install-target-rda
51666 maybe-install-target-rda:
51667 @if target-rda
51668 maybe-install-target-rda: install-target-rda
51670 install-target-rda: installdirs
51671 @: $(MAKE); $(unstage)
51672 @r=`${PWD_COMMAND}`; export r; \
51673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51674 $(NORMAL_TARGET_EXPORTS) \
51675 (cd $(TARGET_SUBDIR)/rda && \
51676 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51678 @endif target-rda
51680 # Other targets (info, dvi, pdf, etc.)
51682 .PHONY: maybe-info-target-rda info-target-rda
51683 maybe-info-target-rda:
51684 @if target-rda
51685 maybe-info-target-rda: info-target-rda
51687 info-target-rda: \
51688 configure-target-rda
51689 @: $(MAKE); $(unstage)
51690 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51691 r=`${PWD_COMMAND}`; export r; \
51692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51693 $(NORMAL_TARGET_EXPORTS) \
51694 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
51695 for flag in $(EXTRA_TARGET_FLAGS); do \
51696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51697 done; \
51698 (cd $(TARGET_SUBDIR)/rda && \
51699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51701 "RANLIB=$${RANLIB}" \
51702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51703 info) \
51704 || exit 1
51706 @endif target-rda
51708 .PHONY: maybe-dvi-target-rda dvi-target-rda
51709 maybe-dvi-target-rda:
51710 @if target-rda
51711 maybe-dvi-target-rda: dvi-target-rda
51713 dvi-target-rda: \
51714 configure-target-rda
51715 @: $(MAKE); $(unstage)
51716 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51717 r=`${PWD_COMMAND}`; export r; \
51718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51719 $(NORMAL_TARGET_EXPORTS) \
51720 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
51721 for flag in $(EXTRA_TARGET_FLAGS); do \
51722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51723 done; \
51724 (cd $(TARGET_SUBDIR)/rda && \
51725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51727 "RANLIB=$${RANLIB}" \
51728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51729 dvi) \
51730 || exit 1
51732 @endif target-rda
51734 .PHONY: maybe-pdf-target-rda pdf-target-rda
51735 maybe-pdf-target-rda:
51736 @if target-rda
51737 maybe-pdf-target-rda: pdf-target-rda
51739 pdf-target-rda: \
51740 configure-target-rda
51741 @: $(MAKE); $(unstage)
51742 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51743 r=`${PWD_COMMAND}`; export r; \
51744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51745 $(NORMAL_TARGET_EXPORTS) \
51746 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
51747 for flag in $(EXTRA_TARGET_FLAGS); do \
51748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51749 done; \
51750 (cd $(TARGET_SUBDIR)/rda && \
51751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51753 "RANLIB=$${RANLIB}" \
51754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51755 pdf) \
51756 || exit 1
51758 @endif target-rda
51760 .PHONY: maybe-html-target-rda html-target-rda
51761 maybe-html-target-rda:
51762 @if target-rda
51763 maybe-html-target-rda: html-target-rda
51765 html-target-rda: \
51766 configure-target-rda
51767 @: $(MAKE); $(unstage)
51768 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51769 r=`${PWD_COMMAND}`; export r; \
51770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51771 $(NORMAL_TARGET_EXPORTS) \
51772 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
51773 for flag in $(EXTRA_TARGET_FLAGS); do \
51774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51775 done; \
51776 (cd $(TARGET_SUBDIR)/rda && \
51777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51779 "RANLIB=$${RANLIB}" \
51780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51781 html) \
51782 || exit 1
51784 @endif target-rda
51786 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
51787 maybe-TAGS-target-rda:
51788 @if target-rda
51789 maybe-TAGS-target-rda: TAGS-target-rda
51791 TAGS-target-rda: \
51792 configure-target-rda
51793 @: $(MAKE); $(unstage)
51794 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51795 r=`${PWD_COMMAND}`; export r; \
51796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51797 $(NORMAL_TARGET_EXPORTS) \
51798 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
51799 for flag in $(EXTRA_TARGET_FLAGS); do \
51800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51801 done; \
51802 (cd $(TARGET_SUBDIR)/rda && \
51803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51805 "RANLIB=$${RANLIB}" \
51806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51807 TAGS) \
51808 || exit 1
51810 @endif target-rda
51812 .PHONY: maybe-install-info-target-rda install-info-target-rda
51813 maybe-install-info-target-rda:
51814 @if target-rda
51815 maybe-install-info-target-rda: install-info-target-rda
51817 install-info-target-rda: \
51818 configure-target-rda \
51819 info-target-rda
51820 @: $(MAKE); $(unstage)
51821 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51822 r=`${PWD_COMMAND}`; export r; \
51823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51824 $(NORMAL_TARGET_EXPORTS) \
51825 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
51826 for flag in $(EXTRA_TARGET_FLAGS); do \
51827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51828 done; \
51829 (cd $(TARGET_SUBDIR)/rda && \
51830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51832 "RANLIB=$${RANLIB}" \
51833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51834 install-info) \
51835 || exit 1
51837 @endif target-rda
51839 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
51840 maybe-install-pdf-target-rda:
51841 @if target-rda
51842 maybe-install-pdf-target-rda: install-pdf-target-rda
51844 install-pdf-target-rda: \
51845 configure-target-rda \
51846 pdf-target-rda
51847 @: $(MAKE); $(unstage)
51848 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51849 r=`${PWD_COMMAND}`; export r; \
51850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51851 $(NORMAL_TARGET_EXPORTS) \
51852 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
51853 for flag in $(EXTRA_TARGET_FLAGS); do \
51854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51855 done; \
51856 (cd $(TARGET_SUBDIR)/rda && \
51857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51859 "RANLIB=$${RANLIB}" \
51860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51861 install-pdf) \
51862 || exit 1
51864 @endif target-rda
51866 .PHONY: maybe-install-html-target-rda install-html-target-rda
51867 maybe-install-html-target-rda:
51868 @if target-rda
51869 maybe-install-html-target-rda: install-html-target-rda
51871 install-html-target-rda: \
51872 configure-target-rda \
51873 html-target-rda
51874 @: $(MAKE); $(unstage)
51875 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51876 r=`${PWD_COMMAND}`; export r; \
51877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51878 $(NORMAL_TARGET_EXPORTS) \
51879 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
51880 for flag in $(EXTRA_TARGET_FLAGS); do \
51881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51882 done; \
51883 (cd $(TARGET_SUBDIR)/rda && \
51884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51886 "RANLIB=$${RANLIB}" \
51887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51888 install-html) \
51889 || exit 1
51891 @endif target-rda
51893 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
51894 maybe-installcheck-target-rda:
51895 @if target-rda
51896 maybe-installcheck-target-rda: installcheck-target-rda
51898 installcheck-target-rda: \
51899 configure-target-rda
51900 @: $(MAKE); $(unstage)
51901 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51902 r=`${PWD_COMMAND}`; export r; \
51903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51904 $(NORMAL_TARGET_EXPORTS) \
51905 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
51906 for flag in $(EXTRA_TARGET_FLAGS); do \
51907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51908 done; \
51909 (cd $(TARGET_SUBDIR)/rda && \
51910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51912 "RANLIB=$${RANLIB}" \
51913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51914 installcheck) \
51915 || exit 1
51917 @endif target-rda
51919 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
51920 maybe-mostlyclean-target-rda:
51921 @if target-rda
51922 maybe-mostlyclean-target-rda: mostlyclean-target-rda
51924 mostlyclean-target-rda:
51925 @: $(MAKE); $(unstage)
51926 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51927 r=`${PWD_COMMAND}`; export r; \
51928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51929 $(NORMAL_TARGET_EXPORTS) \
51930 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
51931 for flag in $(EXTRA_TARGET_FLAGS); do \
51932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51933 done; \
51934 (cd $(TARGET_SUBDIR)/rda && \
51935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51937 "RANLIB=$${RANLIB}" \
51938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51939 mostlyclean) \
51940 || exit 1
51942 @endif target-rda
51944 .PHONY: maybe-clean-target-rda clean-target-rda
51945 maybe-clean-target-rda:
51946 @if target-rda
51947 maybe-clean-target-rda: clean-target-rda
51949 clean-target-rda:
51950 @: $(MAKE); $(unstage)
51951 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51952 r=`${PWD_COMMAND}`; export r; \
51953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51954 $(NORMAL_TARGET_EXPORTS) \
51955 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
51956 for flag in $(EXTRA_TARGET_FLAGS); do \
51957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51958 done; \
51959 (cd $(TARGET_SUBDIR)/rda && \
51960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51962 "RANLIB=$${RANLIB}" \
51963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51964 clean) \
51965 || exit 1
51967 @endif target-rda
51969 .PHONY: maybe-distclean-target-rda distclean-target-rda
51970 maybe-distclean-target-rda:
51971 @if target-rda
51972 maybe-distclean-target-rda: distclean-target-rda
51974 distclean-target-rda:
51975 @: $(MAKE); $(unstage)
51976 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51977 r=`${PWD_COMMAND}`; export r; \
51978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51979 $(NORMAL_TARGET_EXPORTS) \
51980 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
51981 for flag in $(EXTRA_TARGET_FLAGS); do \
51982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51983 done; \
51984 (cd $(TARGET_SUBDIR)/rda && \
51985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51987 "RANLIB=$${RANLIB}" \
51988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51989 distclean) \
51990 || exit 1
51992 @endif target-rda
51994 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
51995 maybe-maintainer-clean-target-rda:
51996 @if target-rda
51997 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
51999 maintainer-clean-target-rda:
52000 @: $(MAKE); $(unstage)
52001 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
52002 r=`${PWD_COMMAND}`; export r; \
52003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52004 $(NORMAL_TARGET_EXPORTS) \
52005 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
52006 for flag in $(EXTRA_TARGET_FLAGS); do \
52007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52008 done; \
52009 (cd $(TARGET_SUBDIR)/rda && \
52010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52012 "RANLIB=$${RANLIB}" \
52013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52014 maintainer-clean) \
52015 || exit 1
52017 @endif target-rda
52023 .PHONY: configure-target-libada maybe-configure-target-libada
52024 maybe-configure-target-libada:
52025 @if gcc-bootstrap
52026 configure-target-libada: stage_current
52027 @endif gcc-bootstrap
52028 @if target-libada
52029 maybe-configure-target-libada: configure-target-libada
52030 configure-target-libada:
52031 @: $(MAKE); $(unstage)
52032 @r=`${PWD_COMMAND}`; export r; \
52033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52034 echo "Checking multilib configuration for libada..."; \
52035 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
52036 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
52037 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
52038 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
52039 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
52040 else \
52041 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
52042 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
52043 fi; \
52044 else \
52045 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
52046 fi; \
52047 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
52048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
52049 $(NORMAL_TARGET_EXPORTS) \
52050 echo Configuring in $(TARGET_SUBDIR)/libada; \
52051 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
52052 case $(srcdir) in \
52053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52054 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
52055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52056 esac; \
52057 srcdiroption="--srcdir=$${topdir}/libada"; \
52058 libsrcdir="$$s/libada"; \
52059 rm -f no-such-file || : ; \
52060 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52061 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52062 --target=${target_alias} $${srcdiroption} \
52063 || exit 1
52064 @endif target-libada
52070 .PHONY: all-target-libada maybe-all-target-libada
52071 maybe-all-target-libada:
52072 @if gcc-bootstrap
52073 all-target-libada: stage_current
52074 @endif gcc-bootstrap
52075 @if target-libada
52076 TARGET-target-libada=all
52077 maybe-all-target-libada: all-target-libada
52078 all-target-libada: configure-target-libada
52079 @: $(MAKE); $(unstage)
52080 @r=`${PWD_COMMAND}`; export r; \
52081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52082 $(NORMAL_TARGET_EXPORTS) \
52083 (cd $(TARGET_SUBDIR)/libada && \
52084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52085 $(TARGET-target-libada))
52086 @endif target-libada
52092 .PHONY: check-target-libada maybe-check-target-libada
52093 maybe-check-target-libada:
52094 @if target-libada
52095 maybe-check-target-libada: check-target-libada
52097 check-target-libada:
52098 @: $(MAKE); $(unstage)
52099 @r=`${PWD_COMMAND}`; export r; \
52100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52101 $(NORMAL_TARGET_EXPORTS) \
52102 (cd $(TARGET_SUBDIR)/libada && \
52103 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52105 @endif target-libada
52107 .PHONY: install-target-libada maybe-install-target-libada
52108 maybe-install-target-libada:
52109 @if target-libada
52110 maybe-install-target-libada: install-target-libada
52112 install-target-libada: installdirs
52113 @: $(MAKE); $(unstage)
52114 @r=`${PWD_COMMAND}`; export r; \
52115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52116 $(NORMAL_TARGET_EXPORTS) \
52117 (cd $(TARGET_SUBDIR)/libada && \
52118 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52120 @endif target-libada
52122 # Other targets (info, dvi, pdf, etc.)
52124 .PHONY: maybe-info-target-libada info-target-libada
52125 maybe-info-target-libada:
52126 @if target-libada
52127 maybe-info-target-libada: info-target-libada
52129 info-target-libada: \
52130 configure-target-libada
52131 @: $(MAKE); $(unstage)
52132 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52133 r=`${PWD_COMMAND}`; export r; \
52134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52135 $(NORMAL_TARGET_EXPORTS) \
52136 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
52137 for flag in $(EXTRA_TARGET_FLAGS); do \
52138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52139 done; \
52140 (cd $(TARGET_SUBDIR)/libada && \
52141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52143 "RANLIB=$${RANLIB}" \
52144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52145 info) \
52146 || exit 1
52148 @endif target-libada
52150 .PHONY: maybe-dvi-target-libada dvi-target-libada
52151 maybe-dvi-target-libada:
52152 @if target-libada
52153 maybe-dvi-target-libada: dvi-target-libada
52155 dvi-target-libada: \
52156 configure-target-libada
52157 @: $(MAKE); $(unstage)
52158 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52159 r=`${PWD_COMMAND}`; export r; \
52160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52161 $(NORMAL_TARGET_EXPORTS) \
52162 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
52163 for flag in $(EXTRA_TARGET_FLAGS); do \
52164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52165 done; \
52166 (cd $(TARGET_SUBDIR)/libada && \
52167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52169 "RANLIB=$${RANLIB}" \
52170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52171 dvi) \
52172 || exit 1
52174 @endif target-libada
52176 .PHONY: maybe-pdf-target-libada pdf-target-libada
52177 maybe-pdf-target-libada:
52178 @if target-libada
52179 maybe-pdf-target-libada: pdf-target-libada
52181 pdf-target-libada: \
52182 configure-target-libada
52183 @: $(MAKE); $(unstage)
52184 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52185 r=`${PWD_COMMAND}`; export r; \
52186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52187 $(NORMAL_TARGET_EXPORTS) \
52188 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
52189 for flag in $(EXTRA_TARGET_FLAGS); do \
52190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52191 done; \
52192 (cd $(TARGET_SUBDIR)/libada && \
52193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52195 "RANLIB=$${RANLIB}" \
52196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52197 pdf) \
52198 || exit 1
52200 @endif target-libada
52202 .PHONY: maybe-html-target-libada html-target-libada
52203 maybe-html-target-libada:
52204 @if target-libada
52205 maybe-html-target-libada: html-target-libada
52207 html-target-libada: \
52208 configure-target-libada
52209 @: $(MAKE); $(unstage)
52210 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52211 r=`${PWD_COMMAND}`; export r; \
52212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52213 $(NORMAL_TARGET_EXPORTS) \
52214 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
52215 for flag in $(EXTRA_TARGET_FLAGS); do \
52216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52217 done; \
52218 (cd $(TARGET_SUBDIR)/libada && \
52219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52221 "RANLIB=$${RANLIB}" \
52222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52223 html) \
52224 || exit 1
52226 @endif target-libada
52228 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
52229 maybe-TAGS-target-libada:
52230 @if target-libada
52231 maybe-TAGS-target-libada: TAGS-target-libada
52233 TAGS-target-libada: \
52234 configure-target-libada
52235 @: $(MAKE); $(unstage)
52236 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52237 r=`${PWD_COMMAND}`; export r; \
52238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52239 $(NORMAL_TARGET_EXPORTS) \
52240 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
52241 for flag in $(EXTRA_TARGET_FLAGS); do \
52242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52243 done; \
52244 (cd $(TARGET_SUBDIR)/libada && \
52245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52247 "RANLIB=$${RANLIB}" \
52248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52249 TAGS) \
52250 || exit 1
52252 @endif target-libada
52254 .PHONY: maybe-install-info-target-libada install-info-target-libada
52255 maybe-install-info-target-libada:
52256 @if target-libada
52257 maybe-install-info-target-libada: install-info-target-libada
52259 install-info-target-libada: \
52260 configure-target-libada \
52261 info-target-libada
52262 @: $(MAKE); $(unstage)
52263 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52264 r=`${PWD_COMMAND}`; export r; \
52265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52266 $(NORMAL_TARGET_EXPORTS) \
52267 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
52268 for flag in $(EXTRA_TARGET_FLAGS); do \
52269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52270 done; \
52271 (cd $(TARGET_SUBDIR)/libada && \
52272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52274 "RANLIB=$${RANLIB}" \
52275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52276 install-info) \
52277 || exit 1
52279 @endif target-libada
52281 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
52282 maybe-install-pdf-target-libada:
52283 @if target-libada
52284 maybe-install-pdf-target-libada: install-pdf-target-libada
52286 install-pdf-target-libada: \
52287 configure-target-libada \
52288 pdf-target-libada
52289 @: $(MAKE); $(unstage)
52290 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52291 r=`${PWD_COMMAND}`; export r; \
52292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52293 $(NORMAL_TARGET_EXPORTS) \
52294 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
52295 for flag in $(EXTRA_TARGET_FLAGS); do \
52296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52297 done; \
52298 (cd $(TARGET_SUBDIR)/libada && \
52299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52301 "RANLIB=$${RANLIB}" \
52302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52303 install-pdf) \
52304 || exit 1
52306 @endif target-libada
52308 .PHONY: maybe-install-html-target-libada install-html-target-libada
52309 maybe-install-html-target-libada:
52310 @if target-libada
52311 maybe-install-html-target-libada: install-html-target-libada
52313 install-html-target-libada: \
52314 configure-target-libada \
52315 html-target-libada
52316 @: $(MAKE); $(unstage)
52317 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52318 r=`${PWD_COMMAND}`; export r; \
52319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52320 $(NORMAL_TARGET_EXPORTS) \
52321 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
52322 for flag in $(EXTRA_TARGET_FLAGS); do \
52323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52324 done; \
52325 (cd $(TARGET_SUBDIR)/libada && \
52326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52328 "RANLIB=$${RANLIB}" \
52329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52330 install-html) \
52331 || exit 1
52333 @endif target-libada
52335 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
52336 maybe-installcheck-target-libada:
52337 @if target-libada
52338 maybe-installcheck-target-libada: installcheck-target-libada
52340 installcheck-target-libada: \
52341 configure-target-libada
52342 @: $(MAKE); $(unstage)
52343 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52344 r=`${PWD_COMMAND}`; export r; \
52345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52346 $(NORMAL_TARGET_EXPORTS) \
52347 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
52348 for flag in $(EXTRA_TARGET_FLAGS); do \
52349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52350 done; \
52351 (cd $(TARGET_SUBDIR)/libada && \
52352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52354 "RANLIB=$${RANLIB}" \
52355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52356 installcheck) \
52357 || exit 1
52359 @endif target-libada
52361 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
52362 maybe-mostlyclean-target-libada:
52363 @if target-libada
52364 maybe-mostlyclean-target-libada: mostlyclean-target-libada
52366 mostlyclean-target-libada:
52367 @: $(MAKE); $(unstage)
52368 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52369 r=`${PWD_COMMAND}`; export r; \
52370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52371 $(NORMAL_TARGET_EXPORTS) \
52372 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
52373 for flag in $(EXTRA_TARGET_FLAGS); do \
52374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52375 done; \
52376 (cd $(TARGET_SUBDIR)/libada && \
52377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52379 "RANLIB=$${RANLIB}" \
52380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52381 mostlyclean) \
52382 || exit 1
52384 @endif target-libada
52386 .PHONY: maybe-clean-target-libada clean-target-libada
52387 maybe-clean-target-libada:
52388 @if target-libada
52389 maybe-clean-target-libada: clean-target-libada
52391 clean-target-libada:
52392 @: $(MAKE); $(unstage)
52393 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52394 r=`${PWD_COMMAND}`; export r; \
52395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52396 $(NORMAL_TARGET_EXPORTS) \
52397 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
52398 for flag in $(EXTRA_TARGET_FLAGS); do \
52399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52400 done; \
52401 (cd $(TARGET_SUBDIR)/libada && \
52402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52404 "RANLIB=$${RANLIB}" \
52405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52406 clean) \
52407 || exit 1
52409 @endif target-libada
52411 .PHONY: maybe-distclean-target-libada distclean-target-libada
52412 maybe-distclean-target-libada:
52413 @if target-libada
52414 maybe-distclean-target-libada: distclean-target-libada
52416 distclean-target-libada:
52417 @: $(MAKE); $(unstage)
52418 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52419 r=`${PWD_COMMAND}`; export r; \
52420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52421 $(NORMAL_TARGET_EXPORTS) \
52422 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
52423 for flag in $(EXTRA_TARGET_FLAGS); do \
52424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52425 done; \
52426 (cd $(TARGET_SUBDIR)/libada && \
52427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52429 "RANLIB=$${RANLIB}" \
52430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52431 distclean) \
52432 || exit 1
52434 @endif target-libada
52436 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
52437 maybe-maintainer-clean-target-libada:
52438 @if target-libada
52439 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
52441 maintainer-clean-target-libada:
52442 @: $(MAKE); $(unstage)
52443 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52444 r=`${PWD_COMMAND}`; export r; \
52445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52446 $(NORMAL_TARGET_EXPORTS) \
52447 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
52448 for flag in $(EXTRA_TARGET_FLAGS); do \
52449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52450 done; \
52451 (cd $(TARGET_SUBDIR)/libada && \
52452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52454 "RANLIB=$${RANLIB}" \
52455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52456 maintainer-clean) \
52457 || exit 1
52459 @endif target-libada
52465 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
52466 maybe-configure-target-libgomp:
52467 @if gcc-bootstrap
52468 configure-target-libgomp: stage_current
52469 @endif gcc-bootstrap
52470 @if target-libgomp
52471 maybe-configure-target-libgomp: configure-target-libgomp
52472 configure-target-libgomp:
52473 @: $(MAKE); $(unstage)
52474 @r=`${PWD_COMMAND}`; export r; \
52475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52476 echo "Checking multilib configuration for libgomp..."; \
52477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
52478 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
52479 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52480 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52481 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52482 else \
52483 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52484 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52485 fi; \
52486 else \
52487 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52488 fi; \
52489 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52490 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
52491 $(NORMAL_TARGET_EXPORTS) \
52492 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
52493 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
52494 case $(srcdir) in \
52495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52496 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52498 esac; \
52499 srcdiroption="--srcdir=$${topdir}/libgomp"; \
52500 libsrcdir="$$s/libgomp"; \
52501 rm -f no-such-file || : ; \
52502 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52503 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52504 --target=${target_alias} $${srcdiroption} \
52505 || exit 1
52506 @endif target-libgomp
52512 .PHONY: all-target-libgomp maybe-all-target-libgomp
52513 maybe-all-target-libgomp:
52514 @if gcc-bootstrap
52515 all-target-libgomp: stage_current
52516 @endif gcc-bootstrap
52517 @if target-libgomp
52518 TARGET-target-libgomp=all
52519 maybe-all-target-libgomp: all-target-libgomp
52520 all-target-libgomp: configure-target-libgomp
52521 @: $(MAKE); $(unstage)
52522 @r=`${PWD_COMMAND}`; export r; \
52523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52524 $(NORMAL_TARGET_EXPORTS) \
52525 (cd $(TARGET_SUBDIR)/libgomp && \
52526 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52527 $(TARGET-target-libgomp))
52528 @endif target-libgomp
52534 .PHONY: check-target-libgomp maybe-check-target-libgomp
52535 maybe-check-target-libgomp:
52536 @if target-libgomp
52537 maybe-check-target-libgomp: check-target-libgomp
52539 check-target-libgomp:
52540 @: $(MAKE); $(unstage)
52541 @r=`${PWD_COMMAND}`; export r; \
52542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52543 $(NORMAL_TARGET_EXPORTS) \
52544 (cd $(TARGET_SUBDIR)/libgomp && \
52545 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52547 @endif target-libgomp
52549 .PHONY: install-target-libgomp maybe-install-target-libgomp
52550 maybe-install-target-libgomp:
52551 @if target-libgomp
52552 maybe-install-target-libgomp: install-target-libgomp
52554 install-target-libgomp: installdirs
52555 @: $(MAKE); $(unstage)
52556 @r=`${PWD_COMMAND}`; export r; \
52557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52558 $(NORMAL_TARGET_EXPORTS) \
52559 (cd $(TARGET_SUBDIR)/libgomp && \
52560 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52562 @endif target-libgomp
52564 # Other targets (info, dvi, pdf, etc.)
52566 .PHONY: maybe-info-target-libgomp info-target-libgomp
52567 maybe-info-target-libgomp:
52568 @if target-libgomp
52569 maybe-info-target-libgomp: info-target-libgomp
52571 info-target-libgomp: \
52572 configure-target-libgomp
52573 @: $(MAKE); $(unstage)
52574 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52575 r=`${PWD_COMMAND}`; export r; \
52576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52577 $(NORMAL_TARGET_EXPORTS) \
52578 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
52579 for flag in $(EXTRA_TARGET_FLAGS); do \
52580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52581 done; \
52582 (cd $(TARGET_SUBDIR)/libgomp && \
52583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52585 "RANLIB=$${RANLIB}" \
52586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52587 info) \
52588 || exit 1
52590 @endif target-libgomp
52592 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
52593 maybe-dvi-target-libgomp:
52594 @if target-libgomp
52595 maybe-dvi-target-libgomp: dvi-target-libgomp
52597 dvi-target-libgomp: \
52598 configure-target-libgomp
52599 @: $(MAKE); $(unstage)
52600 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52601 r=`${PWD_COMMAND}`; export r; \
52602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52603 $(NORMAL_TARGET_EXPORTS) \
52604 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
52605 for flag in $(EXTRA_TARGET_FLAGS); do \
52606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52607 done; \
52608 (cd $(TARGET_SUBDIR)/libgomp && \
52609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52611 "RANLIB=$${RANLIB}" \
52612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52613 dvi) \
52614 || exit 1
52616 @endif target-libgomp
52618 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
52619 maybe-pdf-target-libgomp:
52620 @if target-libgomp
52621 maybe-pdf-target-libgomp: pdf-target-libgomp
52623 pdf-target-libgomp: \
52624 configure-target-libgomp
52625 @: $(MAKE); $(unstage)
52626 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52627 r=`${PWD_COMMAND}`; export r; \
52628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52629 $(NORMAL_TARGET_EXPORTS) \
52630 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
52631 for flag in $(EXTRA_TARGET_FLAGS); do \
52632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52633 done; \
52634 (cd $(TARGET_SUBDIR)/libgomp && \
52635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52637 "RANLIB=$${RANLIB}" \
52638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52639 pdf) \
52640 || exit 1
52642 @endif target-libgomp
52644 .PHONY: maybe-html-target-libgomp html-target-libgomp
52645 maybe-html-target-libgomp:
52646 @if target-libgomp
52647 maybe-html-target-libgomp: html-target-libgomp
52649 html-target-libgomp: \
52650 configure-target-libgomp
52651 @: $(MAKE); $(unstage)
52652 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52653 r=`${PWD_COMMAND}`; export r; \
52654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52655 $(NORMAL_TARGET_EXPORTS) \
52656 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
52657 for flag in $(EXTRA_TARGET_FLAGS); do \
52658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52659 done; \
52660 (cd $(TARGET_SUBDIR)/libgomp && \
52661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52663 "RANLIB=$${RANLIB}" \
52664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52665 html) \
52666 || exit 1
52668 @endif target-libgomp
52670 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
52671 maybe-TAGS-target-libgomp:
52672 @if target-libgomp
52673 maybe-TAGS-target-libgomp: TAGS-target-libgomp
52675 TAGS-target-libgomp: \
52676 configure-target-libgomp
52677 @: $(MAKE); $(unstage)
52678 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52679 r=`${PWD_COMMAND}`; export r; \
52680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52681 $(NORMAL_TARGET_EXPORTS) \
52682 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
52683 for flag in $(EXTRA_TARGET_FLAGS); do \
52684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52685 done; \
52686 (cd $(TARGET_SUBDIR)/libgomp && \
52687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52689 "RANLIB=$${RANLIB}" \
52690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52691 TAGS) \
52692 || exit 1
52694 @endif target-libgomp
52696 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
52697 maybe-install-info-target-libgomp:
52698 @if target-libgomp
52699 maybe-install-info-target-libgomp: install-info-target-libgomp
52701 install-info-target-libgomp: \
52702 configure-target-libgomp \
52703 info-target-libgomp
52704 @: $(MAKE); $(unstage)
52705 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52706 r=`${PWD_COMMAND}`; export r; \
52707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52708 $(NORMAL_TARGET_EXPORTS) \
52709 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
52710 for flag in $(EXTRA_TARGET_FLAGS); do \
52711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52712 done; \
52713 (cd $(TARGET_SUBDIR)/libgomp && \
52714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52716 "RANLIB=$${RANLIB}" \
52717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52718 install-info) \
52719 || exit 1
52721 @endif target-libgomp
52723 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
52724 maybe-install-pdf-target-libgomp:
52725 @if target-libgomp
52726 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
52728 install-pdf-target-libgomp: \
52729 configure-target-libgomp \
52730 pdf-target-libgomp
52731 @: $(MAKE); $(unstage)
52732 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52733 r=`${PWD_COMMAND}`; export r; \
52734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52735 $(NORMAL_TARGET_EXPORTS) \
52736 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
52737 for flag in $(EXTRA_TARGET_FLAGS); do \
52738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52739 done; \
52740 (cd $(TARGET_SUBDIR)/libgomp && \
52741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52743 "RANLIB=$${RANLIB}" \
52744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52745 install-pdf) \
52746 || exit 1
52748 @endif target-libgomp
52750 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
52751 maybe-install-html-target-libgomp:
52752 @if target-libgomp
52753 maybe-install-html-target-libgomp: install-html-target-libgomp
52755 install-html-target-libgomp: \
52756 configure-target-libgomp \
52757 html-target-libgomp
52758 @: $(MAKE); $(unstage)
52759 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52760 r=`${PWD_COMMAND}`; export r; \
52761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52762 $(NORMAL_TARGET_EXPORTS) \
52763 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
52764 for flag in $(EXTRA_TARGET_FLAGS); do \
52765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52766 done; \
52767 (cd $(TARGET_SUBDIR)/libgomp && \
52768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52770 "RANLIB=$${RANLIB}" \
52771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52772 install-html) \
52773 || exit 1
52775 @endif target-libgomp
52777 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
52778 maybe-installcheck-target-libgomp:
52779 @if target-libgomp
52780 maybe-installcheck-target-libgomp: installcheck-target-libgomp
52782 installcheck-target-libgomp: \
52783 configure-target-libgomp
52784 @: $(MAKE); $(unstage)
52785 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52786 r=`${PWD_COMMAND}`; export r; \
52787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52788 $(NORMAL_TARGET_EXPORTS) \
52789 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
52790 for flag in $(EXTRA_TARGET_FLAGS); do \
52791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52792 done; \
52793 (cd $(TARGET_SUBDIR)/libgomp && \
52794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52796 "RANLIB=$${RANLIB}" \
52797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52798 installcheck) \
52799 || exit 1
52801 @endif target-libgomp
52803 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
52804 maybe-mostlyclean-target-libgomp:
52805 @if target-libgomp
52806 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
52808 mostlyclean-target-libgomp:
52809 @: $(MAKE); $(unstage)
52810 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52811 r=`${PWD_COMMAND}`; export r; \
52812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52813 $(NORMAL_TARGET_EXPORTS) \
52814 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
52815 for flag in $(EXTRA_TARGET_FLAGS); do \
52816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52817 done; \
52818 (cd $(TARGET_SUBDIR)/libgomp && \
52819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52821 "RANLIB=$${RANLIB}" \
52822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52823 mostlyclean) \
52824 || exit 1
52826 @endif target-libgomp
52828 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
52829 maybe-clean-target-libgomp:
52830 @if target-libgomp
52831 maybe-clean-target-libgomp: clean-target-libgomp
52833 clean-target-libgomp:
52834 @: $(MAKE); $(unstage)
52835 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52836 r=`${PWD_COMMAND}`; export r; \
52837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52838 $(NORMAL_TARGET_EXPORTS) \
52839 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
52840 for flag in $(EXTRA_TARGET_FLAGS); do \
52841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52842 done; \
52843 (cd $(TARGET_SUBDIR)/libgomp && \
52844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52846 "RANLIB=$${RANLIB}" \
52847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52848 clean) \
52849 || exit 1
52851 @endif target-libgomp
52853 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
52854 maybe-distclean-target-libgomp:
52855 @if target-libgomp
52856 maybe-distclean-target-libgomp: distclean-target-libgomp
52858 distclean-target-libgomp:
52859 @: $(MAKE); $(unstage)
52860 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52861 r=`${PWD_COMMAND}`; export r; \
52862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52863 $(NORMAL_TARGET_EXPORTS) \
52864 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
52865 for flag in $(EXTRA_TARGET_FLAGS); do \
52866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52867 done; \
52868 (cd $(TARGET_SUBDIR)/libgomp && \
52869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52871 "RANLIB=$${RANLIB}" \
52872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52873 distclean) \
52874 || exit 1
52876 @endif target-libgomp
52878 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
52879 maybe-maintainer-clean-target-libgomp:
52880 @if target-libgomp
52881 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
52883 maintainer-clean-target-libgomp:
52884 @: $(MAKE); $(unstage)
52885 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52886 r=`${PWD_COMMAND}`; export r; \
52887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52888 $(NORMAL_TARGET_EXPORTS) \
52889 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
52890 for flag in $(EXTRA_TARGET_FLAGS); do \
52891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52892 done; \
52893 (cd $(TARGET_SUBDIR)/libgomp && \
52894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52896 "RANLIB=$${RANLIB}" \
52897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52898 maintainer-clean) \
52899 || exit 1
52901 @endif target-libgomp
52905 # ----------
52906 # GCC module
52907 # ----------
52909 @if gcc-no-bootstrap
52910 .PHONY: cross
52911 cross: all-build all-gas all-ld
52912 @r=`${PWD_COMMAND}`; export r; \
52913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52914 $(HOST_EXPORTS) \
52915 echo "Building the C and C++ compiler"; \
52916 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
52917 @r=`${PWD_COMMAND}`; export r; \
52918 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
52919 echo "Building runtime libraries"; \
52920 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
52921 @endif gcc-no-bootstrap
52923 @if gcc
52924 .PHONY: check-gcc-c++
52925 check-gcc-c++:
52926 @if [ -f ./gcc/Makefile ] ; then \
52927 r=`${PWD_COMMAND}`; export r; \
52928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52929 $(HOST_EXPORTS) \
52930 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
52931 else \
52932 true; \
52935 .PHONY: check-c++
52936 check-c++: check-target-libstdc++-v3 check-gcc-c++
52938 # Install the gcc headers files, but not the fixed include files,
52939 # which Cygnus is not allowed to distribute. This rule is very
52940 # dependent on the workings of the gcc Makefile.in.
52941 .PHONY: gcc-no-fixedincludes
52942 gcc-no-fixedincludes:
52943 @if [ -f ./gcc/Makefile ]; then \
52944 rm -rf gcc/tmp-include; \
52945 mv gcc/include gcc/tmp-include 2>/dev/null; \
52946 mkdir gcc/include; \
52947 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
52948 touch gcc/stmp-fixinc gcc/include/fixed; \
52949 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
52950 r=`${PWD_COMMAND}`; export r; \
52951 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
52952 $(HOST_EXPORTS) \
52953 (cd ./gcc && \
52954 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
52955 rm -rf gcc/include; \
52956 mv gcc/tmp-include gcc/include 2>/dev/null; \
52957 else true; fi
52958 @endif gcc
52960 # ---------------------
52961 # GCC bootstrap support
52962 # ---------------------
52964 # We track the current stage (the one in 'gcc') in the stage_current file.
52965 # stage_last instead tracks the stage that was built last. These targets
52966 # are dummy when toplevel bootstrap is not active.
52968 # While making host and target tools, symlinks to the final stage must be
52969 # there, so $(unstage) should be run at various points. To avoid excessive
52970 # recursive invocations of make, we "inline" them using a variable. These
52971 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
52972 # to avoid warnings from the GNU Make job server.
52974 unstage = :
52975 stage = :
52976 current_stage = ""
52978 @if gcc-bootstrap
52979 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
52980 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
52981 current_stage = "`cat stage_current 2> /dev/null`"
52982 @endif gcc-bootstrap
52984 .PHONY: unstage stage
52985 unstage:
52986 @: $(MAKE); $(unstage)
52987 stage:
52988 @: $(MAKE); $(stage)
52990 # Disable commands for lean bootstrap.
52991 LEAN = false
52993 # We name the build directories for the various stages "stage1-gcc",
52994 # "stage2-gcc","stage3-gcc", etc.
52996 # Since the 'compare' process will fail (on debugging information) if any
52997 # directory names are different, we need to link the gcc directory for
52998 # the previous stage to a constant name ('prev-gcc'), and to make the name of
52999 # the build directories constant as well. For the latter, we use naked names
53000 # like 'gcc', because the scripts in that directory assume it. We use
53001 # mv on platforms where symlinks to directories do not work or are not
53002 # reliable.
53004 # 'touch' doesn't work right on some platforms.
53005 STAMP = echo timestamp >
53007 # We only want to compare .o files, so set this!
53008 objext = .o
53011 .PHONY: stage1-start stage1-end
53013 stage1-start::
53014 @: $(MAKE); $(stage); \
53015 echo stage1 > stage_current ; \
53016 echo stage1 > stage_last; \
53017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53018 @if bfd
53019 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
53020 mkdir stage1-bfd; \
53021 mv stage1-bfd bfd
53022 @endif bfd
53023 @if opcodes
53024 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
53025 mkdir stage1-opcodes; \
53026 mv stage1-opcodes opcodes
53027 @endif opcodes
53028 @if binutils
53029 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
53030 mkdir stage1-binutils; \
53031 mv stage1-binutils binutils
53032 @endif binutils
53033 @if gas
53034 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
53035 mkdir stage1-gas; \
53036 mv stage1-gas gas
53037 @endif gas
53038 @if gcc
53039 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
53040 mkdir stage1-gcc; \
53041 mv stage1-gcc gcc
53042 @endif gcc
53043 @if gmp
53044 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
53045 mkdir stage1-gmp; \
53046 mv stage1-gmp gmp
53047 @endif gmp
53048 @if mpfr
53049 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
53050 mkdir stage1-mpfr; \
53051 mv stage1-mpfr mpfr
53052 @endif mpfr
53053 @if ppl
53054 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
53055 mkdir stage1-ppl; \
53056 mv stage1-ppl ppl
53057 @endif ppl
53058 @if cloog
53059 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
53060 mkdir stage1-cloog; \
53061 mv stage1-cloog cloog
53062 @endif cloog
53063 @if gold
53064 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
53065 mkdir stage1-gold; \
53066 mv stage1-gold gold
53067 @endif gold
53068 @if intl
53069 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
53070 mkdir stage1-intl; \
53071 mv stage1-intl intl
53072 @endif intl
53073 @if ld
53074 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
53075 mkdir stage1-ld; \
53076 mv stage1-ld ld
53077 @endif ld
53078 @if libcpp
53079 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
53080 mkdir stage1-libcpp; \
53081 mv stage1-libcpp libcpp
53082 @endif libcpp
53083 @if libdecnumber
53084 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
53085 mkdir stage1-libdecnumber; \
53086 mv stage1-libdecnumber libdecnumber
53087 @endif libdecnumber
53088 @if libiberty
53089 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
53090 mkdir stage1-libiberty; \
53091 mv stage1-libiberty libiberty
53092 @endif libiberty
53093 @if zlib
53094 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
53095 mkdir stage1-zlib; \
53096 mv stage1-zlib zlib
53097 @endif zlib
53098 @[ -d stage1-$(TARGET_SUBDIR) ] || \
53099 mkdir stage1-$(TARGET_SUBDIR); \
53100 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
53102 stage1-end::
53103 @if bfd
53104 @if test -d $(HOST_SUBDIR)/bfd ; then \
53105 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
53107 @endif bfd
53108 @if opcodes
53109 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53110 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
53112 @endif opcodes
53113 @if binutils
53114 @if test -d $(HOST_SUBDIR)/binutils ; then \
53115 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
53117 @endif binutils
53118 @if gas
53119 @if test -d $(HOST_SUBDIR)/gas ; then \
53120 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
53122 @endif gas
53123 @if gcc
53124 @if test -d $(HOST_SUBDIR)/gcc ; then \
53125 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
53127 @endif gcc
53128 @if gmp
53129 @if test -d $(HOST_SUBDIR)/gmp ; then \
53130 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
53132 @endif gmp
53133 @if mpfr
53134 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53135 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
53137 @endif mpfr
53138 @if ppl
53139 @if test -d $(HOST_SUBDIR)/ppl ; then \
53140 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
53142 @endif ppl
53143 @if cloog
53144 @if test -d $(HOST_SUBDIR)/cloog ; then \
53145 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
53147 @endif cloog
53148 @if gold
53149 @if test -d $(HOST_SUBDIR)/gold ; then \
53150 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
53152 @endif gold
53153 @if intl
53154 @if test -d $(HOST_SUBDIR)/intl ; then \
53155 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
53157 @endif intl
53158 @if ld
53159 @if test -d $(HOST_SUBDIR)/ld ; then \
53160 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
53162 @endif ld
53163 @if libcpp
53164 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53165 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
53167 @endif libcpp
53168 @if libdecnumber
53169 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53170 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
53172 @endif libdecnumber
53173 @if libiberty
53174 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53175 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
53177 @endif libiberty
53178 @if zlib
53179 @if test -d $(HOST_SUBDIR)/zlib ; then \
53180 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
53182 @endif zlib
53183 @if test -d $(TARGET_SUBDIR) ; then \
53184 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
53186 rm -f stage_current
53188 # Bubble a bug fix through all the stages up to stage 1. They are
53189 # remade, but not reconfigured. The next stage (if any) will not be
53190 # reconfigured either.
53191 .PHONY: stage1-bubble
53192 stage1-bubble::
53193 @r=`${PWD_COMMAND}`; export r; \
53194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53195 if test -f stage1-lean ; then \
53196 echo Skipping rebuild of stage1 ; \
53197 else \
53198 $(MAKE) stage1-start; \
53199 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
53202 .PHONY: all-stage1 clean-stage1
53203 do-clean: clean-stage1
53205 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53206 # only possibility, but now it conflicts with no-bootstrap rules
53207 @if gcc-bootstrap
53212 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53214 .PHONY: distclean-stage1
53215 distclean-stage1::
53216 @: $(MAKE); $(stage)
53217 @test "`cat stage_last`" != stage1 || rm -f stage_last
53218 rm -rf stage1-*
53221 @endif gcc-bootstrap
53224 .PHONY: stage2-start stage2-end
53226 stage2-start::
53227 @: $(MAKE); $(stage); \
53228 echo stage2 > stage_current ; \
53229 echo stage2 > stage_last; \
53230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53231 @if bfd
53232 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
53233 mkdir stage2-bfd; \
53234 mv stage2-bfd bfd ; \
53235 mv stage1-bfd prev-bfd || test -f stage1-lean
53236 @endif bfd
53237 @if opcodes
53238 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
53239 mkdir stage2-opcodes; \
53240 mv stage2-opcodes opcodes ; \
53241 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53242 @endif opcodes
53243 @if binutils
53244 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
53245 mkdir stage2-binutils; \
53246 mv stage2-binutils binutils ; \
53247 mv stage1-binutils prev-binutils || test -f stage1-lean
53248 @endif binutils
53249 @if gas
53250 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
53251 mkdir stage2-gas; \
53252 mv stage2-gas gas ; \
53253 mv stage1-gas prev-gas || test -f stage1-lean
53254 @endif gas
53255 @if gcc
53256 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
53257 mkdir stage2-gcc; \
53258 mv stage2-gcc gcc ; \
53259 mv stage1-gcc prev-gcc || test -f stage1-lean
53260 @endif gcc
53261 @if gmp
53262 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
53263 mkdir stage2-gmp; \
53264 mv stage2-gmp gmp ; \
53265 mv stage1-gmp prev-gmp || test -f stage1-lean
53266 @endif gmp
53267 @if mpfr
53268 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
53269 mkdir stage2-mpfr; \
53270 mv stage2-mpfr mpfr ; \
53271 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53272 @endif mpfr
53273 @if ppl
53274 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
53275 mkdir stage2-ppl; \
53276 mv stage2-ppl ppl ; \
53277 mv stage1-ppl prev-ppl || test -f stage1-lean
53278 @endif ppl
53279 @if cloog
53280 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
53281 mkdir stage2-cloog; \
53282 mv stage2-cloog cloog ; \
53283 mv stage1-cloog prev-cloog || test -f stage1-lean
53284 @endif cloog
53285 @if gold
53286 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
53287 mkdir stage2-gold; \
53288 mv stage2-gold gold ; \
53289 mv stage1-gold prev-gold || test -f stage1-lean
53290 @endif gold
53291 @if intl
53292 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
53293 mkdir stage2-intl; \
53294 mv stage2-intl intl ; \
53295 mv stage1-intl prev-intl || test -f stage1-lean
53296 @endif intl
53297 @if ld
53298 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
53299 mkdir stage2-ld; \
53300 mv stage2-ld ld ; \
53301 mv stage1-ld prev-ld || test -f stage1-lean
53302 @endif ld
53303 @if libcpp
53304 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
53305 mkdir stage2-libcpp; \
53306 mv stage2-libcpp libcpp ; \
53307 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53308 @endif libcpp
53309 @if libdecnumber
53310 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
53311 mkdir stage2-libdecnumber; \
53312 mv stage2-libdecnumber libdecnumber ; \
53313 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53314 @endif libdecnumber
53315 @if libiberty
53316 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
53317 mkdir stage2-libiberty; \
53318 mv stage2-libiberty libiberty ; \
53319 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53320 @endif libiberty
53321 @if zlib
53322 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
53323 mkdir stage2-zlib; \
53324 mv stage2-zlib zlib ; \
53325 mv stage1-zlib prev-zlib || test -f stage1-lean
53326 @endif zlib
53327 @[ -d stage2-$(TARGET_SUBDIR) ] || \
53328 mkdir stage2-$(TARGET_SUBDIR); \
53329 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53330 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53332 stage2-end::
53333 @if bfd
53334 @if test -d $(HOST_SUBDIR)/bfd ; then \
53335 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
53336 mv prev-bfd stage1-bfd ; : ; \
53338 @endif bfd
53339 @if opcodes
53340 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53341 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
53342 mv prev-opcodes stage1-opcodes ; : ; \
53344 @endif opcodes
53345 @if binutils
53346 @if test -d $(HOST_SUBDIR)/binutils ; then \
53347 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
53348 mv prev-binutils stage1-binutils ; : ; \
53350 @endif binutils
53351 @if gas
53352 @if test -d $(HOST_SUBDIR)/gas ; then \
53353 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
53354 mv prev-gas stage1-gas ; : ; \
53356 @endif gas
53357 @if gcc
53358 @if test -d $(HOST_SUBDIR)/gcc ; then \
53359 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
53360 mv prev-gcc stage1-gcc ; : ; \
53362 @endif gcc
53363 @if gmp
53364 @if test -d $(HOST_SUBDIR)/gmp ; then \
53365 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
53366 mv prev-gmp stage1-gmp ; : ; \
53368 @endif gmp
53369 @if mpfr
53370 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53371 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
53372 mv prev-mpfr stage1-mpfr ; : ; \
53374 @endif mpfr
53375 @if ppl
53376 @if test -d $(HOST_SUBDIR)/ppl ; then \
53377 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
53378 mv prev-ppl stage1-ppl ; : ; \
53380 @endif ppl
53381 @if cloog
53382 @if test -d $(HOST_SUBDIR)/cloog ; then \
53383 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
53384 mv prev-cloog stage1-cloog ; : ; \
53386 @endif cloog
53387 @if gold
53388 @if test -d $(HOST_SUBDIR)/gold ; then \
53389 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
53390 mv prev-gold stage1-gold ; : ; \
53392 @endif gold
53393 @if intl
53394 @if test -d $(HOST_SUBDIR)/intl ; then \
53395 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
53396 mv prev-intl stage1-intl ; : ; \
53398 @endif intl
53399 @if ld
53400 @if test -d $(HOST_SUBDIR)/ld ; then \
53401 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
53402 mv prev-ld stage1-ld ; : ; \
53404 @endif ld
53405 @if libcpp
53406 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53407 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
53408 mv prev-libcpp stage1-libcpp ; : ; \
53410 @endif libcpp
53411 @if libdecnumber
53412 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53413 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
53414 mv prev-libdecnumber stage1-libdecnumber ; : ; \
53416 @endif libdecnumber
53417 @if libiberty
53418 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53419 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
53420 mv prev-libiberty stage1-libiberty ; : ; \
53422 @endif libiberty
53423 @if zlib
53424 @if test -d $(HOST_SUBDIR)/zlib ; then \
53425 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
53426 mv prev-zlib stage1-zlib ; : ; \
53428 @endif zlib
53429 @if test -d $(TARGET_SUBDIR) ; then \
53430 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
53431 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
53433 rm -f stage_current
53435 # Bubble a bug fix through all the stages up to stage 2. They are
53436 # remade, but not reconfigured. The next stage (if any) will not be
53437 # reconfigured either.
53438 .PHONY: stage2-bubble
53439 stage2-bubble:: stage1-bubble
53440 @r=`${PWD_COMMAND}`; export r; \
53441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53442 if test -f stage2-lean || test -f stage1-lean ; then \
53443 echo Skipping rebuild of stage2 ; \
53444 else \
53445 $(MAKE) stage2-start; \
53446 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
53449 .PHONY: all-stage2 clean-stage2
53450 do-clean: clean-stage2
53452 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53453 # only possibility, but now it conflicts with no-bootstrap rules
53454 @if gcc-bootstrap
53458 .PHONY: bootstrap2 bootstrap2-lean
53459 bootstrap2:
53460 echo stage2 > stage_final
53461 @r=`${PWD_COMMAND}`; export r; \
53462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53463 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
53464 @: $(MAKE); $(unstage)
53465 @r=`${PWD_COMMAND}`; export r; \
53466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53467 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53469 bootstrap2-lean:
53470 echo stage2 > stage_final
53471 @r=`${PWD_COMMAND}`; export r; \
53472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53473 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
53474 @: $(MAKE); $(unstage)
53475 @r=`${PWD_COMMAND}`; export r; \
53476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53477 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53480 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53481 distclean-stage1:: distclean-stage2
53482 .PHONY: distclean-stage2
53483 distclean-stage2::
53484 @: $(MAKE); $(stage)
53485 @test "`cat stage_last`" != stage2 || rm -f stage_last
53486 rm -rf stage2-*
53489 @endif gcc-bootstrap
53492 .PHONY: stageb2g0-start stageb2g0-end
53494 stageb2g0-start::
53495 @: $(MAKE); $(stage); \
53496 echo stageb2g0 > stage_current ; \
53497 echo stageb2g0 > stage_last; \
53498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53499 @if bfd
53500 @cd $(HOST_SUBDIR); [ -d stageb2g0-bfd ] || \
53501 mkdir stageb2g0-bfd; \
53502 mv stageb2g0-bfd bfd ; \
53503 mv stage1-bfd prev-bfd || test -f stage1-lean
53504 @endif bfd
53505 @if opcodes
53506 @cd $(HOST_SUBDIR); [ -d stageb2g0-opcodes ] || \
53507 mkdir stageb2g0-opcodes; \
53508 mv stageb2g0-opcodes opcodes ; \
53509 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53510 @endif opcodes
53511 @if binutils
53512 @cd $(HOST_SUBDIR); [ -d stageb2g0-binutils ] || \
53513 mkdir stageb2g0-binutils; \
53514 mv stageb2g0-binutils binutils ; \
53515 mv stage1-binutils prev-binutils || test -f stage1-lean
53516 @endif binutils
53517 @if gas
53518 @cd $(HOST_SUBDIR); [ -d stageb2g0-gas ] || \
53519 mkdir stageb2g0-gas; \
53520 mv stageb2g0-gas gas ; \
53521 mv stage1-gas prev-gas || test -f stage1-lean
53522 @endif gas
53523 @if gcc
53524 @cd $(HOST_SUBDIR); [ -d stageb2g0-gcc ] || \
53525 mkdir stageb2g0-gcc; \
53526 mv stageb2g0-gcc gcc ; \
53527 mv stage1-gcc prev-gcc || test -f stage1-lean
53528 @endif gcc
53529 @if gmp
53530 @cd $(HOST_SUBDIR); [ -d stageb2g0-gmp ] || \
53531 mkdir stageb2g0-gmp; \
53532 mv stageb2g0-gmp gmp ; \
53533 mv stage1-gmp prev-gmp || test -f stage1-lean
53534 @endif gmp
53535 @if mpfr
53536 @cd $(HOST_SUBDIR); [ -d stageb2g0-mpfr ] || \
53537 mkdir stageb2g0-mpfr; \
53538 mv stageb2g0-mpfr mpfr ; \
53539 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53540 @endif mpfr
53541 @if ppl
53542 @cd $(HOST_SUBDIR); [ -d stageb2g0-ppl ] || \
53543 mkdir stageb2g0-ppl; \
53544 mv stageb2g0-ppl ppl ; \
53545 mv stage1-ppl prev-ppl || test -f stage1-lean
53546 @endif ppl
53547 @if cloog
53548 @cd $(HOST_SUBDIR); [ -d stageb2g0-cloog ] || \
53549 mkdir stageb2g0-cloog; \
53550 mv stageb2g0-cloog cloog ; \
53551 mv stage1-cloog prev-cloog || test -f stage1-lean
53552 @endif cloog
53553 @if gold
53554 @cd $(HOST_SUBDIR); [ -d stageb2g0-gold ] || \
53555 mkdir stageb2g0-gold; \
53556 mv stageb2g0-gold gold ; \
53557 mv stage1-gold prev-gold || test -f stage1-lean
53558 @endif gold
53559 @if intl
53560 @cd $(HOST_SUBDIR); [ -d stageb2g0-intl ] || \
53561 mkdir stageb2g0-intl; \
53562 mv stageb2g0-intl intl ; \
53563 mv stage1-intl prev-intl || test -f stage1-lean
53564 @endif intl
53565 @if ld
53566 @cd $(HOST_SUBDIR); [ -d stageb2g0-ld ] || \
53567 mkdir stageb2g0-ld; \
53568 mv stageb2g0-ld ld ; \
53569 mv stage1-ld prev-ld || test -f stage1-lean
53570 @endif ld
53571 @if libcpp
53572 @cd $(HOST_SUBDIR); [ -d stageb2g0-libcpp ] || \
53573 mkdir stageb2g0-libcpp; \
53574 mv stageb2g0-libcpp libcpp ; \
53575 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53576 @endif libcpp
53577 @if libdecnumber
53578 @cd $(HOST_SUBDIR); [ -d stageb2g0-libdecnumber ] || \
53579 mkdir stageb2g0-libdecnumber; \
53580 mv stageb2g0-libdecnumber libdecnumber ; \
53581 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53582 @endif libdecnumber
53583 @if libiberty
53584 @cd $(HOST_SUBDIR); [ -d stageb2g0-libiberty ] || \
53585 mkdir stageb2g0-libiberty; \
53586 mv stageb2g0-libiberty libiberty ; \
53587 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53588 @endif libiberty
53589 @if zlib
53590 @cd $(HOST_SUBDIR); [ -d stageb2g0-zlib ] || \
53591 mkdir stageb2g0-zlib; \
53592 mv stageb2g0-zlib zlib ; \
53593 mv stage1-zlib prev-zlib || test -f stage1-lean
53594 @endif zlib
53595 @[ -d stageb2g0-$(TARGET_SUBDIR) ] || \
53596 mkdir stageb2g0-$(TARGET_SUBDIR); \
53597 mv stageb2g0-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53598 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53600 stageb2g0-end::
53601 @if bfd
53602 @if test -d $(HOST_SUBDIR)/bfd ; then \
53603 cd $(HOST_SUBDIR); mv bfd stageb2g0-bfd ; \
53604 mv prev-bfd stage1-bfd ; : ; \
53606 @endif bfd
53607 @if opcodes
53608 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53609 cd $(HOST_SUBDIR); mv opcodes stageb2g0-opcodes ; \
53610 mv prev-opcodes stage1-opcodes ; : ; \
53612 @endif opcodes
53613 @if binutils
53614 @if test -d $(HOST_SUBDIR)/binutils ; then \
53615 cd $(HOST_SUBDIR); mv binutils stageb2g0-binutils ; \
53616 mv prev-binutils stage1-binutils ; : ; \
53618 @endif binutils
53619 @if gas
53620 @if test -d $(HOST_SUBDIR)/gas ; then \
53621 cd $(HOST_SUBDIR); mv gas stageb2g0-gas ; \
53622 mv prev-gas stage1-gas ; : ; \
53624 @endif gas
53625 @if gcc
53626 @if test -d $(HOST_SUBDIR)/gcc ; then \
53627 cd $(HOST_SUBDIR); mv gcc stageb2g0-gcc ; \
53628 mv prev-gcc stage1-gcc ; : ; \
53630 @endif gcc
53631 @if gmp
53632 @if test -d $(HOST_SUBDIR)/gmp ; then \
53633 cd $(HOST_SUBDIR); mv gmp stageb2g0-gmp ; \
53634 mv prev-gmp stage1-gmp ; : ; \
53636 @endif gmp
53637 @if mpfr
53638 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53639 cd $(HOST_SUBDIR); mv mpfr stageb2g0-mpfr ; \
53640 mv prev-mpfr stage1-mpfr ; : ; \
53642 @endif mpfr
53643 @if ppl
53644 @if test -d $(HOST_SUBDIR)/ppl ; then \
53645 cd $(HOST_SUBDIR); mv ppl stageb2g0-ppl ; \
53646 mv prev-ppl stage1-ppl ; : ; \
53648 @endif ppl
53649 @if cloog
53650 @if test -d $(HOST_SUBDIR)/cloog ; then \
53651 cd $(HOST_SUBDIR); mv cloog stageb2g0-cloog ; \
53652 mv prev-cloog stage1-cloog ; : ; \
53654 @endif cloog
53655 @if gold
53656 @if test -d $(HOST_SUBDIR)/gold ; then \
53657 cd $(HOST_SUBDIR); mv gold stageb2g0-gold ; \
53658 mv prev-gold stage1-gold ; : ; \
53660 @endif gold
53661 @if intl
53662 @if test -d $(HOST_SUBDIR)/intl ; then \
53663 cd $(HOST_SUBDIR); mv intl stageb2g0-intl ; \
53664 mv prev-intl stage1-intl ; : ; \
53666 @endif intl
53667 @if ld
53668 @if test -d $(HOST_SUBDIR)/ld ; then \
53669 cd $(HOST_SUBDIR); mv ld stageb2g0-ld ; \
53670 mv prev-ld stage1-ld ; : ; \
53672 @endif ld
53673 @if libcpp
53674 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53675 cd $(HOST_SUBDIR); mv libcpp stageb2g0-libcpp ; \
53676 mv prev-libcpp stage1-libcpp ; : ; \
53678 @endif libcpp
53679 @if libdecnumber
53680 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53681 cd $(HOST_SUBDIR); mv libdecnumber stageb2g0-libdecnumber ; \
53682 mv prev-libdecnumber stage1-libdecnumber ; : ; \
53684 @endif libdecnumber
53685 @if libiberty
53686 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53687 cd $(HOST_SUBDIR); mv libiberty stageb2g0-libiberty ; \
53688 mv prev-libiberty stage1-libiberty ; : ; \
53690 @endif libiberty
53691 @if zlib
53692 @if test -d $(HOST_SUBDIR)/zlib ; then \
53693 cd $(HOST_SUBDIR); mv zlib stageb2g0-zlib ; \
53694 mv prev-zlib stage1-zlib ; : ; \
53696 @endif zlib
53697 @if test -d $(TARGET_SUBDIR) ; then \
53698 mv $(TARGET_SUBDIR) stageb2g0-$(TARGET_SUBDIR) ; \
53699 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
53701 rm -f stage_current
53703 # Bubble a bug fix through all the stages up to stage b2g0. They are
53704 # remade, but not reconfigured. The next stage (if any) will not be
53705 # reconfigured either.
53706 .PHONY: stageb2g0-bubble
53707 stageb2g0-bubble:: stage1-bubble
53708 @r=`${PWD_COMMAND}`; export r; \
53709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53710 if test -f stageb2g0-lean || test -f stage1-lean ; then \
53711 echo Skipping rebuild of stageb2g0 ; \
53712 else \
53713 $(MAKE) stageb2g0-start; \
53714 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageb2g0; \
53717 .PHONY: all-stageb2g0 clean-stageb2g0
53718 do-clean: clean-stageb2g0
53720 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53721 # only possibility, but now it conflicts with no-bootstrap rules
53722 @if gcc-bootstrap
53726 .PHONY: bootstrap2-debug bootstrap2-debug-lean
53727 bootstrap2-debug:
53728 echo stageb2g0 > stage_final
53729 @r=`${PWD_COMMAND}`; export r; \
53730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53731 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb2g0-bubble
53732 @: $(MAKE); $(unstage)
53733 @r=`${PWD_COMMAND}`; export r; \
53734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53735 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53737 bootstrap2-debug-lean:
53738 echo stageb2g0 > stage_final
53739 @r=`${PWD_COMMAND}`; export r; \
53740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53741 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageb2g0-bubble
53742 @: $(MAKE); $(unstage)
53743 @r=`${PWD_COMMAND}`; export r; \
53744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53745 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53748 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53749 distclean-stage1:: distclean-stageb2g0
53750 .PHONY: distclean-stageb2g0
53751 distclean-stageb2g0::
53752 @: $(MAKE); $(stage)
53753 @test "`cat stage_last`" != stageb2g0 || rm -f stage_last
53754 rm -rf stageb2g0-*
53757 @endif gcc-bootstrap
53760 .PHONY: stage3-start stage3-end
53762 stage3-start::
53763 @: $(MAKE); $(stage); \
53764 echo stage3 > stage_current ; \
53765 echo stage3 > stage_last; \
53766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53767 @if bfd
53768 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
53769 mkdir stage3-bfd; \
53770 mv stage3-bfd bfd ; \
53771 mv stage2-bfd prev-bfd || test -f stage2-lean
53772 @endif bfd
53773 @if opcodes
53774 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
53775 mkdir stage3-opcodes; \
53776 mv stage3-opcodes opcodes ; \
53777 mv stage2-opcodes prev-opcodes || test -f stage2-lean
53778 @endif opcodes
53779 @if binutils
53780 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
53781 mkdir stage3-binutils; \
53782 mv stage3-binutils binutils ; \
53783 mv stage2-binutils prev-binutils || test -f stage2-lean
53784 @endif binutils
53785 @if gas
53786 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
53787 mkdir stage3-gas; \
53788 mv stage3-gas gas ; \
53789 mv stage2-gas prev-gas || test -f stage2-lean
53790 @endif gas
53791 @if gcc
53792 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
53793 mkdir stage3-gcc; \
53794 mv stage3-gcc gcc ; \
53795 mv stage2-gcc prev-gcc || test -f stage2-lean
53796 @endif gcc
53797 @if gmp
53798 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
53799 mkdir stage3-gmp; \
53800 mv stage3-gmp gmp ; \
53801 mv stage2-gmp prev-gmp || test -f stage2-lean
53802 @endif gmp
53803 @if mpfr
53804 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
53805 mkdir stage3-mpfr; \
53806 mv stage3-mpfr mpfr ; \
53807 mv stage2-mpfr prev-mpfr || test -f stage2-lean
53808 @endif mpfr
53809 @if ppl
53810 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
53811 mkdir stage3-ppl; \
53812 mv stage3-ppl ppl ; \
53813 mv stage2-ppl prev-ppl || test -f stage2-lean
53814 @endif ppl
53815 @if cloog
53816 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
53817 mkdir stage3-cloog; \
53818 mv stage3-cloog cloog ; \
53819 mv stage2-cloog prev-cloog || test -f stage2-lean
53820 @endif cloog
53821 @if gold
53822 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
53823 mkdir stage3-gold; \
53824 mv stage3-gold gold ; \
53825 mv stage2-gold prev-gold || test -f stage2-lean
53826 @endif gold
53827 @if intl
53828 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
53829 mkdir stage3-intl; \
53830 mv stage3-intl intl ; \
53831 mv stage2-intl prev-intl || test -f stage2-lean
53832 @endif intl
53833 @if ld
53834 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
53835 mkdir stage3-ld; \
53836 mv stage3-ld ld ; \
53837 mv stage2-ld prev-ld || test -f stage2-lean
53838 @endif ld
53839 @if libcpp
53840 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
53841 mkdir stage3-libcpp; \
53842 mv stage3-libcpp libcpp ; \
53843 mv stage2-libcpp prev-libcpp || test -f stage2-lean
53844 @endif libcpp
53845 @if libdecnumber
53846 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
53847 mkdir stage3-libdecnumber; \
53848 mv stage3-libdecnumber libdecnumber ; \
53849 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
53850 @endif libdecnumber
53851 @if libiberty
53852 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
53853 mkdir stage3-libiberty; \
53854 mv stage3-libiberty libiberty ; \
53855 mv stage2-libiberty prev-libiberty || test -f stage2-lean
53856 @endif libiberty
53857 @if zlib
53858 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
53859 mkdir stage3-zlib; \
53860 mv stage3-zlib zlib ; \
53861 mv stage2-zlib prev-zlib || test -f stage2-lean
53862 @endif zlib
53863 @[ -d stage3-$(TARGET_SUBDIR) ] || \
53864 mkdir stage3-$(TARGET_SUBDIR); \
53865 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53866 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
53868 stage3-end::
53869 @if bfd
53870 @if test -d $(HOST_SUBDIR)/bfd ; then \
53871 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
53872 mv prev-bfd stage2-bfd ; : ; \
53874 @endif bfd
53875 @if opcodes
53876 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53877 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
53878 mv prev-opcodes stage2-opcodes ; : ; \
53880 @endif opcodes
53881 @if binutils
53882 @if test -d $(HOST_SUBDIR)/binutils ; then \
53883 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
53884 mv prev-binutils stage2-binutils ; : ; \
53886 @endif binutils
53887 @if gas
53888 @if test -d $(HOST_SUBDIR)/gas ; then \
53889 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
53890 mv prev-gas stage2-gas ; : ; \
53892 @endif gas
53893 @if gcc
53894 @if test -d $(HOST_SUBDIR)/gcc ; then \
53895 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
53896 mv prev-gcc stage2-gcc ; : ; \
53898 @endif gcc
53899 @if gmp
53900 @if test -d $(HOST_SUBDIR)/gmp ; then \
53901 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
53902 mv prev-gmp stage2-gmp ; : ; \
53904 @endif gmp
53905 @if mpfr
53906 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53907 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
53908 mv prev-mpfr stage2-mpfr ; : ; \
53910 @endif mpfr
53911 @if ppl
53912 @if test -d $(HOST_SUBDIR)/ppl ; then \
53913 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
53914 mv prev-ppl stage2-ppl ; : ; \
53916 @endif ppl
53917 @if cloog
53918 @if test -d $(HOST_SUBDIR)/cloog ; then \
53919 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
53920 mv prev-cloog stage2-cloog ; : ; \
53922 @endif cloog
53923 @if gold
53924 @if test -d $(HOST_SUBDIR)/gold ; then \
53925 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
53926 mv prev-gold stage2-gold ; : ; \
53928 @endif gold
53929 @if intl
53930 @if test -d $(HOST_SUBDIR)/intl ; then \
53931 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
53932 mv prev-intl stage2-intl ; : ; \
53934 @endif intl
53935 @if ld
53936 @if test -d $(HOST_SUBDIR)/ld ; then \
53937 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
53938 mv prev-ld stage2-ld ; : ; \
53940 @endif ld
53941 @if libcpp
53942 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53943 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
53944 mv prev-libcpp stage2-libcpp ; : ; \
53946 @endif libcpp
53947 @if libdecnumber
53948 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53949 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
53950 mv prev-libdecnumber stage2-libdecnumber ; : ; \
53952 @endif libdecnumber
53953 @if libiberty
53954 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53955 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
53956 mv prev-libiberty stage2-libiberty ; : ; \
53958 @endif libiberty
53959 @if zlib
53960 @if test -d $(HOST_SUBDIR)/zlib ; then \
53961 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
53962 mv prev-zlib stage2-zlib ; : ; \
53964 @endif zlib
53965 @if test -d $(TARGET_SUBDIR) ; then \
53966 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
53967 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
53969 rm -f stage_current
53971 # Bubble a bug fix through all the stages up to stage 3. They are
53972 # remade, but not reconfigured. The next stage (if any) will not be
53973 # reconfigured either.
53974 .PHONY: stage3-bubble
53975 stage3-bubble:: stage2-bubble
53976 @r=`${PWD_COMMAND}`; export r; \
53977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53978 if test -f stage3-lean || test -f stage2-lean ; then \
53979 echo Skipping rebuild of stage3 ; \
53980 else \
53981 $(MAKE) stage3-start; \
53982 if $(LEAN); then \
53983 rm -rf stage1-* ; \
53984 $(STAMP) stage1-lean ; \
53985 fi; \
53986 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
53988 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
53990 .PHONY: all-stage3 clean-stage3
53991 do-clean: clean-stage3
53993 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53994 # only possibility, but now it conflicts with no-bootstrap rules
53995 @if gcc-bootstrap
53997 compare:
53998 @r=`${PWD_COMMAND}`; export r; \
53999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54000 if test -f stage2-lean; then \
54001 echo Cannot compare object files as stage 2 was deleted. ; \
54002 exit 0 ; \
54003 fi; \
54004 : $(MAKE); $(stage); \
54005 rm -f .bad_compare ; \
54006 echo Comparing stages 2 and 3 ; \
54007 cd stage3-gcc; \
54008 files=`find . -name "*$(objext)" -print` ; \
54009 cd .. ; \
54010 for file in $${files} ; do \
54011 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
54012 $(do-compare) > /dev/null 2>&1; \
54013 if test $$? -eq 1; then \
54014 case $$file in \
54015 ./cc*-checksum$(objext) | ./libgcc/* ) \
54016 echo warning: $$file differs ;; \
54017 *) \
54018 echo $$file differs >> .bad_compare ;; \
54019 esac ; \
54020 fi ; \
54021 done ; \
54022 if [ -f .bad_compare ]; then \
54023 echo "Bootstrap comparison failure!"; \
54024 cat .bad_compare; \
54025 exit 1; \
54026 else \
54027 echo Comparison successful.; \
54028 fi ; \
54029 $(STAMP) compare
54030 if $(LEAN); then \
54031 rm -rf stage2-*; \
54032 $(STAMP) stage2-lean; \
54037 .PHONY: bootstrap bootstrap-lean
54038 bootstrap:
54039 echo stage3 > stage_final
54040 @r=`${PWD_COMMAND}`; export r; \
54041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54042 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
54043 @: $(MAKE); $(unstage)
54044 @r=`${PWD_COMMAND}`; export r; \
54045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54046 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54048 bootstrap-lean:
54049 echo stage3 > stage_final
54050 @r=`${PWD_COMMAND}`; export r; \
54051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54052 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
54053 @: $(MAKE); $(unstage)
54054 @r=`${PWD_COMMAND}`; export r; \
54055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54056 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54059 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54060 distclean-stage2:: distclean-stage3
54061 .PHONY: distclean-stage3
54062 distclean-stage3::
54063 @: $(MAKE); $(stage)
54064 @test "`cat stage_last`" != stage3 || rm -f stage_last
54065 rm -rf stage3-* compare
54068 .PHONY: cleanstrap
54069 cleanstrap: do-distclean local-clean
54070 echo stage3 > stage_final
54071 @r=`${PWD_COMMAND}`; export r; \
54072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54073 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
54074 @: $(MAKE); $(unstage)
54075 @r=`${PWD_COMMAND}`; export r; \
54076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54077 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54079 @endif gcc-bootstrap
54082 .PHONY: stageb3g2-start stageb3g2-end
54084 stageb3g2-start::
54085 @: $(MAKE); $(stage); \
54086 echo stageb3g2 > stage_current ; \
54087 echo stageb3g2 > stage_last; \
54088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54089 @if bfd
54090 @cd $(HOST_SUBDIR); [ -d stageb3g2-bfd ] || \
54091 mkdir stageb3g2-bfd; \
54092 mv stageb3g2-bfd bfd ; \
54093 mv stageb2g0-bfd prev-bfd || test -f stageb2g0-lean
54094 @endif bfd
54095 @if opcodes
54096 @cd $(HOST_SUBDIR); [ -d stageb3g2-opcodes ] || \
54097 mkdir stageb3g2-opcodes; \
54098 mv stageb3g2-opcodes opcodes ; \
54099 mv stageb2g0-opcodes prev-opcodes || test -f stageb2g0-lean
54100 @endif opcodes
54101 @if binutils
54102 @cd $(HOST_SUBDIR); [ -d stageb3g2-binutils ] || \
54103 mkdir stageb3g2-binutils; \
54104 mv stageb3g2-binutils binutils ; \
54105 mv stageb2g0-binutils prev-binutils || test -f stageb2g0-lean
54106 @endif binutils
54107 @if gas
54108 @cd $(HOST_SUBDIR); [ -d stageb3g2-gas ] || \
54109 mkdir stageb3g2-gas; \
54110 mv stageb3g2-gas gas ; \
54111 mv stageb2g0-gas prev-gas || test -f stageb2g0-lean
54112 @endif gas
54113 @if gcc
54114 @cd $(HOST_SUBDIR); [ -d stageb3g2-gcc ] || \
54115 mkdir stageb3g2-gcc; \
54116 mv stageb3g2-gcc gcc ; \
54117 mv stageb2g0-gcc prev-gcc || test -f stageb2g0-lean
54118 @endif gcc
54119 @if gmp
54120 @cd $(HOST_SUBDIR); [ -d stageb3g2-gmp ] || \
54121 mkdir stageb3g2-gmp; \
54122 mv stageb3g2-gmp gmp ; \
54123 mv stageb2g0-gmp prev-gmp || test -f stageb2g0-lean
54124 @endif gmp
54125 @if mpfr
54126 @cd $(HOST_SUBDIR); [ -d stageb3g2-mpfr ] || \
54127 mkdir stageb3g2-mpfr; \
54128 mv stageb3g2-mpfr mpfr ; \
54129 mv stageb2g0-mpfr prev-mpfr || test -f stageb2g0-lean
54130 @endif mpfr
54131 @if ppl
54132 @cd $(HOST_SUBDIR); [ -d stageb3g2-ppl ] || \
54133 mkdir stageb3g2-ppl; \
54134 mv stageb3g2-ppl ppl ; \
54135 mv stageb2g0-ppl prev-ppl || test -f stageb2g0-lean
54136 @endif ppl
54137 @if cloog
54138 @cd $(HOST_SUBDIR); [ -d stageb3g2-cloog ] || \
54139 mkdir stageb3g2-cloog; \
54140 mv stageb3g2-cloog cloog ; \
54141 mv stageb2g0-cloog prev-cloog || test -f stageb2g0-lean
54142 @endif cloog
54143 @if gold
54144 @cd $(HOST_SUBDIR); [ -d stageb3g2-gold ] || \
54145 mkdir stageb3g2-gold; \
54146 mv stageb3g2-gold gold ; \
54147 mv stageb2g0-gold prev-gold || test -f stageb2g0-lean
54148 @endif gold
54149 @if intl
54150 @cd $(HOST_SUBDIR); [ -d stageb3g2-intl ] || \
54151 mkdir stageb3g2-intl; \
54152 mv stageb3g2-intl intl ; \
54153 mv stageb2g0-intl prev-intl || test -f stageb2g0-lean
54154 @endif intl
54155 @if ld
54156 @cd $(HOST_SUBDIR); [ -d stageb3g2-ld ] || \
54157 mkdir stageb3g2-ld; \
54158 mv stageb3g2-ld ld ; \
54159 mv stageb2g0-ld prev-ld || test -f stageb2g0-lean
54160 @endif ld
54161 @if libcpp
54162 @cd $(HOST_SUBDIR); [ -d stageb3g2-libcpp ] || \
54163 mkdir stageb3g2-libcpp; \
54164 mv stageb3g2-libcpp libcpp ; \
54165 mv stageb2g0-libcpp prev-libcpp || test -f stageb2g0-lean
54166 @endif libcpp
54167 @if libdecnumber
54168 @cd $(HOST_SUBDIR); [ -d stageb3g2-libdecnumber ] || \
54169 mkdir stageb3g2-libdecnumber; \
54170 mv stageb3g2-libdecnumber libdecnumber ; \
54171 mv stageb2g0-libdecnumber prev-libdecnumber || test -f stageb2g0-lean
54172 @endif libdecnumber
54173 @if libiberty
54174 @cd $(HOST_SUBDIR); [ -d stageb3g2-libiberty ] || \
54175 mkdir stageb3g2-libiberty; \
54176 mv stageb3g2-libiberty libiberty ; \
54177 mv stageb2g0-libiberty prev-libiberty || test -f stageb2g0-lean
54178 @endif libiberty
54179 @if zlib
54180 @cd $(HOST_SUBDIR); [ -d stageb3g2-zlib ] || \
54181 mkdir stageb3g2-zlib; \
54182 mv stageb3g2-zlib zlib ; \
54183 mv stageb2g0-zlib prev-zlib || test -f stageb2g0-lean
54184 @endif zlib
54185 @[ -d stageb3g2-$(TARGET_SUBDIR) ] || \
54186 mkdir stageb3g2-$(TARGET_SUBDIR); \
54187 mv stageb3g2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
54188 mv stageb2g0-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageb2g0-lean
54190 stageb3g2-end::
54191 @if bfd
54192 @if test -d $(HOST_SUBDIR)/bfd ; then \
54193 cd $(HOST_SUBDIR); mv bfd stageb3g2-bfd ; \
54194 mv prev-bfd stageb2g0-bfd ; : ; \
54196 @endif bfd
54197 @if opcodes
54198 @if test -d $(HOST_SUBDIR)/opcodes ; then \
54199 cd $(HOST_SUBDIR); mv opcodes stageb3g2-opcodes ; \
54200 mv prev-opcodes stageb2g0-opcodes ; : ; \
54202 @endif opcodes
54203 @if binutils
54204 @if test -d $(HOST_SUBDIR)/binutils ; then \
54205 cd $(HOST_SUBDIR); mv binutils stageb3g2-binutils ; \
54206 mv prev-binutils stageb2g0-binutils ; : ; \
54208 @endif binutils
54209 @if gas
54210 @if test -d $(HOST_SUBDIR)/gas ; then \
54211 cd $(HOST_SUBDIR); mv gas stageb3g2-gas ; \
54212 mv prev-gas stageb2g0-gas ; : ; \
54214 @endif gas
54215 @if gcc
54216 @if test -d $(HOST_SUBDIR)/gcc ; then \
54217 cd $(HOST_SUBDIR); mv gcc stageb3g2-gcc ; \
54218 mv prev-gcc stageb2g0-gcc ; : ; \
54220 @endif gcc
54221 @if gmp
54222 @if test -d $(HOST_SUBDIR)/gmp ; then \
54223 cd $(HOST_SUBDIR); mv gmp stageb3g2-gmp ; \
54224 mv prev-gmp stageb2g0-gmp ; : ; \
54226 @endif gmp
54227 @if mpfr
54228 @if test -d $(HOST_SUBDIR)/mpfr ; then \
54229 cd $(HOST_SUBDIR); mv mpfr stageb3g2-mpfr ; \
54230 mv prev-mpfr stageb2g0-mpfr ; : ; \
54232 @endif mpfr
54233 @if ppl
54234 @if test -d $(HOST_SUBDIR)/ppl ; then \
54235 cd $(HOST_SUBDIR); mv ppl stageb3g2-ppl ; \
54236 mv prev-ppl stageb2g0-ppl ; : ; \
54238 @endif ppl
54239 @if cloog
54240 @if test -d $(HOST_SUBDIR)/cloog ; then \
54241 cd $(HOST_SUBDIR); mv cloog stageb3g2-cloog ; \
54242 mv prev-cloog stageb2g0-cloog ; : ; \
54244 @endif cloog
54245 @if gold
54246 @if test -d $(HOST_SUBDIR)/gold ; then \
54247 cd $(HOST_SUBDIR); mv gold stageb3g2-gold ; \
54248 mv prev-gold stageb2g0-gold ; : ; \
54250 @endif gold
54251 @if intl
54252 @if test -d $(HOST_SUBDIR)/intl ; then \
54253 cd $(HOST_SUBDIR); mv intl stageb3g2-intl ; \
54254 mv prev-intl stageb2g0-intl ; : ; \
54256 @endif intl
54257 @if ld
54258 @if test -d $(HOST_SUBDIR)/ld ; then \
54259 cd $(HOST_SUBDIR); mv ld stageb3g2-ld ; \
54260 mv prev-ld stageb2g0-ld ; : ; \
54262 @endif ld
54263 @if libcpp
54264 @if test -d $(HOST_SUBDIR)/libcpp ; then \
54265 cd $(HOST_SUBDIR); mv libcpp stageb3g2-libcpp ; \
54266 mv prev-libcpp stageb2g0-libcpp ; : ; \
54268 @endif libcpp
54269 @if libdecnumber
54270 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
54271 cd $(HOST_SUBDIR); mv libdecnumber stageb3g2-libdecnumber ; \
54272 mv prev-libdecnumber stageb2g0-libdecnumber ; : ; \
54274 @endif libdecnumber
54275 @if libiberty
54276 @if test -d $(HOST_SUBDIR)/libiberty ; then \
54277 cd $(HOST_SUBDIR); mv libiberty stageb3g2-libiberty ; \
54278 mv prev-libiberty stageb2g0-libiberty ; : ; \
54280 @endif libiberty
54281 @if zlib
54282 @if test -d $(HOST_SUBDIR)/zlib ; then \
54283 cd $(HOST_SUBDIR); mv zlib stageb3g2-zlib ; \
54284 mv prev-zlib stageb2g0-zlib ; : ; \
54286 @endif zlib
54287 @if test -d $(TARGET_SUBDIR) ; then \
54288 mv $(TARGET_SUBDIR) stageb3g2-$(TARGET_SUBDIR) ; \
54289 mv prev-$(TARGET_SUBDIR) stageb2g0-$(TARGET_SUBDIR) ; : ; \
54291 rm -f stage_current
54293 # Bubble a bug fix through all the stages up to stage b3g2. They are
54294 # remade, but not reconfigured. The next stage (if any) will not be
54295 # reconfigured either.
54296 .PHONY: stageb3g2-bubble
54297 stageb3g2-bubble:: stageb2g0-bubble
54298 @r=`${PWD_COMMAND}`; export r; \
54299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54300 if test -f stageb3g2-lean || test -f stageb2g0-lean ; then \
54301 echo Skipping rebuild of stageb3g2 ; \
54302 else \
54303 $(MAKE) stageb3g2-start; \
54304 if $(LEAN); then \
54305 rm -rf stage1-* ; \
54306 $(STAMP) stage1-lean ; \
54307 fi; \
54308 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageb3g2; \
54310 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare-debug
54312 .PHONY: all-stageb3g2 clean-stageb3g2
54313 do-clean: clean-stageb3g2
54315 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54316 # only possibility, but now it conflicts with no-bootstrap rules
54317 @if gcc-bootstrap
54319 compare-debug:
54320 @r=`${PWD_COMMAND}`; export r; \
54321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54322 if test -f stageb2g0-lean; then \
54323 echo Cannot compare object files as stage b2g0 was deleted. ; \
54324 exit 0 ; \
54325 fi; \
54326 : $(MAKE); $(stage); \
54327 rm -f .bad_compare ; \
54328 echo Comparing stages b2g0 and b3g2 ; \
54329 cd stageb3g2-gcc; \
54330 files=`find . -name "*$(objext)" -print` ; \
54331 cd .. ; \
54332 for file in $${files} ; do \
54333 f1=$$r/stageb2g0-gcc/$$file; f2=$$r/stageb3g2-gcc/$$file; \
54334 $(do-compare-debug) > /dev/null 2>&1; \
54335 if test $$? -eq 1; then \
54336 case $$file in \
54337 ./cc*-checksum$(objext) | ./libgcc/* ) \
54338 echo warning: $$file differs ;; \
54339 *) \
54340 echo $$file differs >> .bad_compare ;; \
54341 esac ; \
54342 fi ; \
54343 done ; \
54344 if [ -f .bad_compare ]; then \
54345 echo "Bootstrap comparison failure!"; \
54346 cat .bad_compare; \
54347 exit 1; \
54348 else \
54349 echo Comparison successful.; \
54350 fi ; \
54351 $(STAMP) compare-debug
54352 if $(LEAN); then \
54353 rm -rf stageb2g0-*; \
54354 $(STAMP) stageb2g0-lean; \
54359 .PHONY: bootstrap-debug bootstrap-debug-lean
54360 bootstrap-debug:
54361 echo stageb3g2 > stage_final
54362 @r=`${PWD_COMMAND}`; export r; \
54363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54364 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb3g2-bubble
54365 @: $(MAKE); $(unstage)
54366 @r=`${PWD_COMMAND}`; export r; \
54367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54368 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54370 bootstrap-debug-lean:
54371 echo stageb3g2 > stage_final
54372 @r=`${PWD_COMMAND}`; export r; \
54373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54374 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageb3g2-bubble
54375 @: $(MAKE); $(unstage)
54376 @r=`${PWD_COMMAND}`; export r; \
54377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54378 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54381 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54382 distclean-stageb2g0:: distclean-stageb3g2
54383 .PHONY: distclean-stageb3g2
54384 distclean-stageb3g2::
54385 @: $(MAKE); $(stage)
54386 @test "`cat stage_last`" != stageb3g2 || rm -f stage_last
54387 rm -rf stageb3g2-* compare-debug
54390 .PHONY: cleanstrap-debug
54391 cleanstrap-debug: do-distclean local-clean
54392 echo stageb3g2 > stage_final
54393 @r=`${PWD_COMMAND}`; export r; \
54394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54395 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb3g2-bubble
54396 @: $(MAKE); $(unstage)
54397 @r=`${PWD_COMMAND}`; export r; \
54398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54399 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54401 @endif gcc-bootstrap
54404 .PHONY: stage4-start stage4-end
54406 stage4-start::
54407 @: $(MAKE); $(stage); \
54408 echo stage4 > stage_current ; \
54409 echo stage4 > stage_last; \
54410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54411 @if bfd
54412 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
54413 mkdir stage4-bfd; \
54414 mv stage4-bfd bfd ; \
54415 mv stage3-bfd prev-bfd || test -f stage3-lean
54416 @endif bfd
54417 @if opcodes
54418 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
54419 mkdir stage4-opcodes; \
54420 mv stage4-opcodes opcodes ; \
54421 mv stage3-opcodes prev-opcodes || test -f stage3-lean
54422 @endif opcodes
54423 @if binutils
54424 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
54425 mkdir stage4-binutils; \
54426 mv stage4-binutils binutils ; \
54427 mv stage3-binutils prev-binutils || test -f stage3-lean
54428 @endif binutils
54429 @if gas
54430 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
54431 mkdir stage4-gas; \
54432 mv stage4-gas gas ; \
54433 mv stage3-gas prev-gas || test -f stage3-lean
54434 @endif gas
54435 @if gcc
54436 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
54437 mkdir stage4-gcc; \
54438 mv stage4-gcc gcc ; \
54439 mv stage3-gcc prev-gcc || test -f stage3-lean
54440 @endif gcc
54441 @if gmp
54442 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
54443 mkdir stage4-gmp; \
54444 mv stage4-gmp gmp ; \
54445 mv stage3-gmp prev-gmp || test -f stage3-lean
54446 @endif gmp
54447 @if mpfr
54448 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
54449 mkdir stage4-mpfr; \
54450 mv stage4-mpfr mpfr ; \
54451 mv stage3-mpfr prev-mpfr || test -f stage3-lean
54452 @endif mpfr
54453 @if ppl
54454 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
54455 mkdir stage4-ppl; \
54456 mv stage4-ppl ppl ; \
54457 mv stage3-ppl prev-ppl || test -f stage3-lean
54458 @endif ppl
54459 @if cloog
54460 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
54461 mkdir stage4-cloog; \
54462 mv stage4-cloog cloog ; \
54463 mv stage3-cloog prev-cloog || test -f stage3-lean
54464 @endif cloog
54465 @if gold
54466 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
54467 mkdir stage4-gold; \
54468 mv stage4-gold gold ; \
54469 mv stage3-gold prev-gold || test -f stage3-lean
54470 @endif gold
54471 @if intl
54472 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
54473 mkdir stage4-intl; \
54474 mv stage4-intl intl ; \
54475 mv stage3-intl prev-intl || test -f stage3-lean
54476 @endif intl
54477 @if ld
54478 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
54479 mkdir stage4-ld; \
54480 mv stage4-ld ld ; \
54481 mv stage3-ld prev-ld || test -f stage3-lean
54482 @endif ld
54483 @if libcpp
54484 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
54485 mkdir stage4-libcpp; \
54486 mv stage4-libcpp libcpp ; \
54487 mv stage3-libcpp prev-libcpp || test -f stage3-lean
54488 @endif libcpp
54489 @if libdecnumber
54490 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
54491 mkdir stage4-libdecnumber; \
54492 mv stage4-libdecnumber libdecnumber ; \
54493 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
54494 @endif libdecnumber
54495 @if libiberty
54496 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
54497 mkdir stage4-libiberty; \
54498 mv stage4-libiberty libiberty ; \
54499 mv stage3-libiberty prev-libiberty || test -f stage3-lean
54500 @endif libiberty
54501 @if zlib
54502 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
54503 mkdir stage4-zlib; \
54504 mv stage4-zlib zlib ; \
54505 mv stage3-zlib prev-zlib || test -f stage3-lean
54506 @endif zlib
54507 @[ -d stage4-$(TARGET_SUBDIR) ] || \
54508 mkdir stage4-$(TARGET_SUBDIR); \
54509 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
54510 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
54512 stage4-end::
54513 @if bfd
54514 @if test -d $(HOST_SUBDIR)/bfd ; then \
54515 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
54516 mv prev-bfd stage3-bfd ; : ; \
54518 @endif bfd
54519 @if opcodes
54520 @if test -d $(HOST_SUBDIR)/opcodes ; then \
54521 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
54522 mv prev-opcodes stage3-opcodes ; : ; \
54524 @endif opcodes
54525 @if binutils
54526 @if test -d $(HOST_SUBDIR)/binutils ; then \
54527 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
54528 mv prev-binutils stage3-binutils ; : ; \
54530 @endif binutils
54531 @if gas
54532 @if test -d $(HOST_SUBDIR)/gas ; then \
54533 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
54534 mv prev-gas stage3-gas ; : ; \
54536 @endif gas
54537 @if gcc
54538 @if test -d $(HOST_SUBDIR)/gcc ; then \
54539 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
54540 mv prev-gcc stage3-gcc ; : ; \
54542 @endif gcc
54543 @if gmp
54544 @if test -d $(HOST_SUBDIR)/gmp ; then \
54545 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
54546 mv prev-gmp stage3-gmp ; : ; \
54548 @endif gmp
54549 @if mpfr
54550 @if test -d $(HOST_SUBDIR)/mpfr ; then \
54551 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
54552 mv prev-mpfr stage3-mpfr ; : ; \
54554 @endif mpfr
54555 @if ppl
54556 @if test -d $(HOST_SUBDIR)/ppl ; then \
54557 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
54558 mv prev-ppl stage3-ppl ; : ; \
54560 @endif ppl
54561 @if cloog
54562 @if test -d $(HOST_SUBDIR)/cloog ; then \
54563 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
54564 mv prev-cloog stage3-cloog ; : ; \
54566 @endif cloog
54567 @if gold
54568 @if test -d $(HOST_SUBDIR)/gold ; then \
54569 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
54570 mv prev-gold stage3-gold ; : ; \
54572 @endif gold
54573 @if intl
54574 @if test -d $(HOST_SUBDIR)/intl ; then \
54575 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
54576 mv prev-intl stage3-intl ; : ; \
54578 @endif intl
54579 @if ld
54580 @if test -d $(HOST_SUBDIR)/ld ; then \
54581 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
54582 mv prev-ld stage3-ld ; : ; \
54584 @endif ld
54585 @if libcpp
54586 @if test -d $(HOST_SUBDIR)/libcpp ; then \
54587 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
54588 mv prev-libcpp stage3-libcpp ; : ; \
54590 @endif libcpp
54591 @if libdecnumber
54592 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
54593 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
54594 mv prev-libdecnumber stage3-libdecnumber ; : ; \
54596 @endif libdecnumber
54597 @if libiberty
54598 @if test -d $(HOST_SUBDIR)/libiberty ; then \
54599 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
54600 mv prev-libiberty stage3-libiberty ; : ; \
54602 @endif libiberty
54603 @if zlib
54604 @if test -d $(HOST_SUBDIR)/zlib ; then \
54605 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
54606 mv prev-zlib stage3-zlib ; : ; \
54608 @endif zlib
54609 @if test -d $(TARGET_SUBDIR) ; then \
54610 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
54611 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
54613 rm -f stage_current
54615 # Bubble a bug fix through all the stages up to stage 4. They are
54616 # remade, but not reconfigured. The next stage (if any) will not be
54617 # reconfigured either.
54618 .PHONY: stage4-bubble
54619 stage4-bubble:: stage3-bubble
54620 @r=`${PWD_COMMAND}`; export r; \
54621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54622 if test -f stage4-lean || test -f stage3-lean ; then \
54623 echo Skipping rebuild of stage4 ; \
54624 else \
54625 $(MAKE) stage4-start; \
54626 if $(LEAN); then \
54627 rm -rf stage2-* ; \
54628 $(STAMP) stage2-lean ; \
54629 fi; \
54630 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
54632 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
54634 .PHONY: all-stage4 clean-stage4
54635 do-clean: clean-stage4
54637 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54638 # only possibility, but now it conflicts with no-bootstrap rules
54639 @if gcc-bootstrap
54641 compare3:
54642 @r=`${PWD_COMMAND}`; export r; \
54643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54644 if test -f stage3-lean; then \
54645 echo Cannot compare object files as stage 3 was deleted. ; \
54646 exit 0 ; \
54647 fi; \
54648 : $(MAKE); $(stage); \
54649 rm -f .bad_compare ; \
54650 echo Comparing stages 3 and 4 ; \
54651 cd stage4-gcc; \
54652 files=`find . -name "*$(objext)" -print` ; \
54653 cd .. ; \
54654 for file in $${files} ; do \
54655 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
54656 $(do-compare3) > /dev/null 2>&1; \
54657 if test $$? -eq 1; then \
54658 case $$file in \
54659 ./cc*-checksum$(objext) | ./libgcc/* ) \
54660 echo warning: $$file differs ;; \
54661 *) \
54662 echo $$file differs >> .bad_compare ;; \
54663 esac ; \
54664 fi ; \
54665 done ; \
54666 if [ -f .bad_compare ]; then \
54667 echo "Bootstrap comparison failure!"; \
54668 cat .bad_compare; \
54669 exit 1; \
54670 else \
54671 echo Comparison successful.; \
54672 fi ; \
54673 $(STAMP) compare3
54674 if $(LEAN); then \
54675 rm -rf stage3-*; \
54676 $(STAMP) stage3-lean; \
54681 .PHONY: bootstrap4 bootstrap4-lean
54682 bootstrap4:
54683 echo stage4 > stage_final
54684 @r=`${PWD_COMMAND}`; export r; \
54685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54686 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
54687 @: $(MAKE); $(unstage)
54688 @r=`${PWD_COMMAND}`; export r; \
54689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54690 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54692 bootstrap4-lean:
54693 echo stage4 > stage_final
54694 @r=`${PWD_COMMAND}`; export r; \
54695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54696 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
54697 @: $(MAKE); $(unstage)
54698 @r=`${PWD_COMMAND}`; export r; \
54699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54700 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54703 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54704 distclean-stage3:: distclean-stage4
54705 .PHONY: distclean-stage4
54706 distclean-stage4::
54707 @: $(MAKE); $(stage)
54708 @test "`cat stage_last`" != stage4 || rm -f stage_last
54709 rm -rf stage4-* compare3
54712 @endif gcc-bootstrap
54715 .PHONY: stageprofile-start stageprofile-end
54717 stageprofile-start::
54718 @: $(MAKE); $(stage); \
54719 echo stageprofile > stage_current ; \
54720 echo stageprofile > stage_last; \
54721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54722 @if bfd
54723 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
54724 mkdir stageprofile-bfd; \
54725 mv stageprofile-bfd bfd ; \
54726 mv stage1-bfd prev-bfd || test -f stage1-lean
54727 @endif bfd
54728 @if opcodes
54729 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
54730 mkdir stageprofile-opcodes; \
54731 mv stageprofile-opcodes opcodes ; \
54732 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54733 @endif opcodes
54734 @if binutils
54735 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
54736 mkdir stageprofile-binutils; \
54737 mv stageprofile-binutils binutils ; \
54738 mv stage1-binutils prev-binutils || test -f stage1-lean
54739 @endif binutils
54740 @if gas
54741 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
54742 mkdir stageprofile-gas; \
54743 mv stageprofile-gas gas ; \
54744 mv stage1-gas prev-gas || test -f stage1-lean
54745 @endif gas
54746 @if gcc
54747 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
54748 mkdir stageprofile-gcc; \
54749 mv stageprofile-gcc gcc ; \
54750 mv stage1-gcc prev-gcc || test -f stage1-lean
54751 @endif gcc
54752 @if gmp
54753 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
54754 mkdir stageprofile-gmp; \
54755 mv stageprofile-gmp gmp ; \
54756 mv stage1-gmp prev-gmp || test -f stage1-lean
54757 @endif gmp
54758 @if mpfr
54759 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
54760 mkdir stageprofile-mpfr; \
54761 mv stageprofile-mpfr mpfr ; \
54762 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54763 @endif mpfr
54764 @if ppl
54765 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
54766 mkdir stageprofile-ppl; \
54767 mv stageprofile-ppl ppl ; \
54768 mv stage1-ppl prev-ppl || test -f stage1-lean
54769 @endif ppl
54770 @if cloog
54771 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
54772 mkdir stageprofile-cloog; \
54773 mv stageprofile-cloog cloog ; \
54774 mv stage1-cloog prev-cloog || test -f stage1-lean
54775 @endif cloog
54776 @if gold
54777 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
54778 mkdir stageprofile-gold; \
54779 mv stageprofile-gold gold ; \
54780 mv stage1-gold prev-gold || test -f stage1-lean
54781 @endif gold
54782 @if intl
54783 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
54784 mkdir stageprofile-intl; \
54785 mv stageprofile-intl intl ; \
54786 mv stage1-intl prev-intl || test -f stage1-lean
54787 @endif intl
54788 @if ld
54789 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
54790 mkdir stageprofile-ld; \
54791 mv stageprofile-ld ld ; \
54792 mv stage1-ld prev-ld || test -f stage1-lean
54793 @endif ld
54794 @if libcpp
54795 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
54796 mkdir stageprofile-libcpp; \
54797 mv stageprofile-libcpp libcpp ; \
54798 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54799 @endif libcpp
54800 @if libdecnumber
54801 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
54802 mkdir stageprofile-libdecnumber; \
54803 mv stageprofile-libdecnumber libdecnumber ; \
54804 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54805 @endif libdecnumber
54806 @if libiberty
54807 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
54808 mkdir stageprofile-libiberty; \
54809 mv stageprofile-libiberty libiberty ; \
54810 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54811 @endif libiberty
54812 @if zlib
54813 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
54814 mkdir stageprofile-zlib; \
54815 mv stageprofile-zlib zlib ; \
54816 mv stage1-zlib prev-zlib || test -f stage1-lean
54817 @endif zlib
54818 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
54819 mkdir stageprofile-$(TARGET_SUBDIR); \
54820 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
54821 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54823 stageprofile-end::
54824 @if bfd
54825 @if test -d $(HOST_SUBDIR)/bfd ; then \
54826 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
54827 mv prev-bfd stage1-bfd ; : ; \
54829 @endif bfd
54830 @if opcodes
54831 @if test -d $(HOST_SUBDIR)/opcodes ; then \
54832 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
54833 mv prev-opcodes stage1-opcodes ; : ; \
54835 @endif opcodes
54836 @if binutils
54837 @if test -d $(HOST_SUBDIR)/binutils ; then \
54838 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
54839 mv prev-binutils stage1-binutils ; : ; \
54841 @endif binutils
54842 @if gas
54843 @if test -d $(HOST_SUBDIR)/gas ; then \
54844 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
54845 mv prev-gas stage1-gas ; : ; \
54847 @endif gas
54848 @if gcc
54849 @if test -d $(HOST_SUBDIR)/gcc ; then \
54850 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
54851 mv prev-gcc stage1-gcc ; : ; \
54853 @endif gcc
54854 @if gmp
54855 @if test -d $(HOST_SUBDIR)/gmp ; then \
54856 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
54857 mv prev-gmp stage1-gmp ; : ; \
54859 @endif gmp
54860 @if mpfr
54861 @if test -d $(HOST_SUBDIR)/mpfr ; then \
54862 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
54863 mv prev-mpfr stage1-mpfr ; : ; \
54865 @endif mpfr
54866 @if ppl
54867 @if test -d $(HOST_SUBDIR)/ppl ; then \
54868 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
54869 mv prev-ppl stage1-ppl ; : ; \
54871 @endif ppl
54872 @if cloog
54873 @if test -d $(HOST_SUBDIR)/cloog ; then \
54874 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
54875 mv prev-cloog stage1-cloog ; : ; \
54877 @endif cloog
54878 @if gold
54879 @if test -d $(HOST_SUBDIR)/gold ; then \
54880 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
54881 mv prev-gold stage1-gold ; : ; \
54883 @endif gold
54884 @if intl
54885 @if test -d $(HOST_SUBDIR)/intl ; then \
54886 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
54887 mv prev-intl stage1-intl ; : ; \
54889 @endif intl
54890 @if ld
54891 @if test -d $(HOST_SUBDIR)/ld ; then \
54892 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
54893 mv prev-ld stage1-ld ; : ; \
54895 @endif ld
54896 @if libcpp
54897 @if test -d $(HOST_SUBDIR)/libcpp ; then \
54898 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
54899 mv prev-libcpp stage1-libcpp ; : ; \
54901 @endif libcpp
54902 @if libdecnumber
54903 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
54904 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
54905 mv prev-libdecnumber stage1-libdecnumber ; : ; \
54907 @endif libdecnumber
54908 @if libiberty
54909 @if test -d $(HOST_SUBDIR)/libiberty ; then \
54910 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
54911 mv prev-libiberty stage1-libiberty ; : ; \
54913 @endif libiberty
54914 @if zlib
54915 @if test -d $(HOST_SUBDIR)/zlib ; then \
54916 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
54917 mv prev-zlib stage1-zlib ; : ; \
54919 @endif zlib
54920 @if test -d $(TARGET_SUBDIR) ; then \
54921 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
54922 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
54924 rm -f stage_current
54926 # Bubble a bug fix through all the stages up to stage profile. They are
54927 # remade, but not reconfigured. The next stage (if any) will not be
54928 # reconfigured either.
54929 .PHONY: stageprofile-bubble
54930 stageprofile-bubble:: stage1-bubble
54931 @r=`${PWD_COMMAND}`; export r; \
54932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54933 if test -f stageprofile-lean || test -f stage1-lean ; then \
54934 echo Skipping rebuild of stageprofile ; \
54935 else \
54936 $(MAKE) stageprofile-start; \
54937 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
54940 .PHONY: all-stageprofile clean-stageprofile
54941 do-clean: clean-stageprofile
54943 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54944 # only possibility, but now it conflicts with no-bootstrap rules
54945 @if gcc-bootstrap
54950 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54951 distclean-stage1:: distclean-stageprofile
54952 .PHONY: distclean-stageprofile
54953 distclean-stageprofile::
54954 @: $(MAKE); $(stage)
54955 @test "`cat stage_last`" != stageprofile || rm -f stage_last
54956 rm -rf stageprofile-*
54959 @endif gcc-bootstrap
54962 .PHONY: stagefeedback-start stagefeedback-end
54964 stagefeedback-start::
54965 @: $(MAKE); $(stage); \
54966 echo stagefeedback > stage_current ; \
54967 echo stagefeedback > stage_last; \
54968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54969 @if bfd
54970 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
54971 mkdir stagefeedback-bfd; \
54972 mv stagefeedback-bfd bfd ; \
54973 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
54974 @endif bfd
54975 @if opcodes
54976 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
54977 mkdir stagefeedback-opcodes; \
54978 mv stagefeedback-opcodes opcodes ; \
54979 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
54980 @endif opcodes
54981 @if binutils
54982 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
54983 mkdir stagefeedback-binutils; \
54984 mv stagefeedback-binutils binutils ; \
54985 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
54986 @endif binutils
54987 @if gas
54988 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
54989 mkdir stagefeedback-gas; \
54990 mv stagefeedback-gas gas ; \
54991 mv stageprofile-gas prev-gas || test -f stageprofile-lean
54992 @endif gas
54993 @if gcc
54994 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
54995 mkdir stagefeedback-gcc; \
54996 mv stagefeedback-gcc gcc ; \
54997 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
54998 @endif gcc
54999 @if gmp
55000 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
55001 mkdir stagefeedback-gmp; \
55002 mv stagefeedback-gmp gmp ; \
55003 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
55004 @endif gmp
55005 @if mpfr
55006 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
55007 mkdir stagefeedback-mpfr; \
55008 mv stagefeedback-mpfr mpfr ; \
55009 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
55010 @endif mpfr
55011 @if ppl
55012 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
55013 mkdir stagefeedback-ppl; \
55014 mv stagefeedback-ppl ppl ; \
55015 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
55016 @endif ppl
55017 @if cloog
55018 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
55019 mkdir stagefeedback-cloog; \
55020 mv stagefeedback-cloog cloog ; \
55021 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
55022 @endif cloog
55023 @if gold
55024 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
55025 mkdir stagefeedback-gold; \
55026 mv stagefeedback-gold gold ; \
55027 mv stageprofile-gold prev-gold || test -f stageprofile-lean
55028 @endif gold
55029 @if intl
55030 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
55031 mkdir stagefeedback-intl; \
55032 mv stagefeedback-intl intl ; \
55033 mv stageprofile-intl prev-intl || test -f stageprofile-lean
55034 @endif intl
55035 @if ld
55036 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
55037 mkdir stagefeedback-ld; \
55038 mv stagefeedback-ld ld ; \
55039 mv stageprofile-ld prev-ld || test -f stageprofile-lean
55040 @endif ld
55041 @if libcpp
55042 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
55043 mkdir stagefeedback-libcpp; \
55044 mv stagefeedback-libcpp libcpp ; \
55045 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
55046 @endif libcpp
55047 @if libdecnumber
55048 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
55049 mkdir stagefeedback-libdecnumber; \
55050 mv stagefeedback-libdecnumber libdecnumber ; \
55051 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
55052 @endif libdecnumber
55053 @if libiberty
55054 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
55055 mkdir stagefeedback-libiberty; \
55056 mv stagefeedback-libiberty libiberty ; \
55057 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
55058 @endif libiberty
55059 @if zlib
55060 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
55061 mkdir stagefeedback-zlib; \
55062 mv stagefeedback-zlib zlib ; \
55063 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
55064 @endif zlib
55065 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
55066 mkdir stagefeedback-$(TARGET_SUBDIR); \
55067 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
55068 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
55070 stagefeedback-end::
55071 @if bfd
55072 @if test -d $(HOST_SUBDIR)/bfd ; then \
55073 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
55074 mv prev-bfd stageprofile-bfd ; : ; \
55076 @endif bfd
55077 @if opcodes
55078 @if test -d $(HOST_SUBDIR)/opcodes ; then \
55079 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
55080 mv prev-opcodes stageprofile-opcodes ; : ; \
55082 @endif opcodes
55083 @if binutils
55084 @if test -d $(HOST_SUBDIR)/binutils ; then \
55085 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
55086 mv prev-binutils stageprofile-binutils ; : ; \
55088 @endif binutils
55089 @if gas
55090 @if test -d $(HOST_SUBDIR)/gas ; then \
55091 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
55092 mv prev-gas stageprofile-gas ; : ; \
55094 @endif gas
55095 @if gcc
55096 @if test -d $(HOST_SUBDIR)/gcc ; then \
55097 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
55098 mv prev-gcc stageprofile-gcc ; : ; \
55100 @endif gcc
55101 @if gmp
55102 @if test -d $(HOST_SUBDIR)/gmp ; then \
55103 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
55104 mv prev-gmp stageprofile-gmp ; : ; \
55106 @endif gmp
55107 @if mpfr
55108 @if test -d $(HOST_SUBDIR)/mpfr ; then \
55109 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
55110 mv prev-mpfr stageprofile-mpfr ; : ; \
55112 @endif mpfr
55113 @if ppl
55114 @if test -d $(HOST_SUBDIR)/ppl ; then \
55115 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
55116 mv prev-ppl stageprofile-ppl ; : ; \
55118 @endif ppl
55119 @if cloog
55120 @if test -d $(HOST_SUBDIR)/cloog ; then \
55121 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
55122 mv prev-cloog stageprofile-cloog ; : ; \
55124 @endif cloog
55125 @if gold
55126 @if test -d $(HOST_SUBDIR)/gold ; then \
55127 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
55128 mv prev-gold stageprofile-gold ; : ; \
55130 @endif gold
55131 @if intl
55132 @if test -d $(HOST_SUBDIR)/intl ; then \
55133 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
55134 mv prev-intl stageprofile-intl ; : ; \
55136 @endif intl
55137 @if ld
55138 @if test -d $(HOST_SUBDIR)/ld ; then \
55139 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
55140 mv prev-ld stageprofile-ld ; : ; \
55142 @endif ld
55143 @if libcpp
55144 @if test -d $(HOST_SUBDIR)/libcpp ; then \
55145 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
55146 mv prev-libcpp stageprofile-libcpp ; : ; \
55148 @endif libcpp
55149 @if libdecnumber
55150 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
55151 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
55152 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
55154 @endif libdecnumber
55155 @if libiberty
55156 @if test -d $(HOST_SUBDIR)/libiberty ; then \
55157 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
55158 mv prev-libiberty stageprofile-libiberty ; : ; \
55160 @endif libiberty
55161 @if zlib
55162 @if test -d $(HOST_SUBDIR)/zlib ; then \
55163 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
55164 mv prev-zlib stageprofile-zlib ; : ; \
55166 @endif zlib
55167 @if test -d $(TARGET_SUBDIR) ; then \
55168 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
55169 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
55171 rm -f stage_current
55173 # Bubble a bug fix through all the stages up to stage feedback. They are
55174 # remade, but not reconfigured. The next stage (if any) will not be
55175 # reconfigured either.
55176 .PHONY: stagefeedback-bubble
55177 stagefeedback-bubble:: stageprofile-bubble
55178 @r=`${PWD_COMMAND}`; export r; \
55179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55180 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
55181 echo Skipping rebuild of stagefeedback ; \
55182 else \
55183 $(MAKE) stagefeedback-start; \
55184 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
55187 .PHONY: all-stagefeedback clean-stagefeedback
55188 do-clean: clean-stagefeedback
55190 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55191 # only possibility, but now it conflicts with no-bootstrap rules
55192 @if gcc-bootstrap
55196 .PHONY: profiledbootstrap profiledbootstrap-lean
55197 profiledbootstrap:
55198 echo stagefeedback > stage_final
55199 @r=`${PWD_COMMAND}`; export r; \
55200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55201 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
55202 @: $(MAKE); $(unstage)
55203 @r=`${PWD_COMMAND}`; export r; \
55204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55205 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55207 profiledbootstrap-lean:
55208 echo stagefeedback > stage_final
55209 @r=`${PWD_COMMAND}`; export r; \
55210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55211 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
55212 @: $(MAKE); $(unstage)
55213 @r=`${PWD_COMMAND}`; export r; \
55214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55215 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55218 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55219 distclean-stageprofile:: distclean-stagefeedback
55220 .PHONY: distclean-stagefeedback
55221 distclean-stagefeedback::
55222 @: $(MAKE); $(stage)
55223 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
55224 rm -rf stagefeedback-*
55227 @endif gcc-bootstrap
55231 stageprofile-end::
55232 $(MAKE) distclean-stagefeedback
55234 stagefeedback-start::
55235 @r=`${PWD_COMMAND}`; export r; \
55236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55237 for i in prev-*; do \
55238 j=`echo $$i | sed s/^prev-//` ; \
55239 cd $$r/$$i && \
55240 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
55241 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
55242 done
55244 @if gcc-bootstrap
55245 do-distclean: distclean-stage1
55247 # Provide a GCC build when we're building target libraries. This does
55248 # not work as a dependency, just as the minimum necessary to avoid errors.
55249 stage_last:
55250 @r=`${PWD_COMMAND}`; export r; \
55251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55252 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
55254 # Same as unstage, but not phony and defaulting to stage1-start. We place
55255 # it in the dependency so that for example `make -j3 all-gcc' works.
55256 stage_current:
55257 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
55259 .PHONY: restrap
55260 restrap::
55261 @: $(MAKE); $(stage)
55262 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stageb2g0-* stage3-* stageb3g2-* stage4-* stageprofile-* stagefeedback-*
55263 restrap:: all
55264 @endif gcc-bootstrap
55266 # --------------------------------------
55267 # Dependencies between different modules
55268 # --------------------------------------
55270 # Generic dependencies for target modules on host stuff, especially gcc
55271 @if gcc-bootstrap
55272 configure-target-libstdc++-v3: stage_last
55273 configure-target-libmudflap: stage_last
55274 configure-target-libssp: stage_last
55275 configure-target-newlib: stage_last
55276 configure-stage1-target-libgcc: maybe-all-stage1-gcc
55277 configure-stage2-target-libgcc: maybe-all-stage2-gcc
55278 configure-stageb2g0-target-libgcc: maybe-all-stageb2g0-gcc
55279 configure-stage3-target-libgcc: maybe-all-stage3-gcc
55280 configure-stageb3g2-target-libgcc: maybe-all-stageb3g2-gcc
55281 configure-stage4-target-libgcc: maybe-all-stage4-gcc
55282 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
55283 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
55284 configure-target-libgfortran: stage_last
55285 configure-target-libobjc: stage_last
55286 configure-target-libtermcap: stage_last
55287 configure-target-winsup: stage_last
55288 configure-target-libgloss: stage_last
55289 configure-target-libiberty: stage_last
55290 configure-target-gperf: stage_last
55291 configure-target-examples: stage_last
55292 configure-target-libffi: stage_last
55293 configure-target-libjava: stage_last
55294 configure-target-zlib: stage_last
55295 configure-target-boehm-gc: stage_last
55296 configure-target-qthreads: stage_last
55297 configure-target-rda: stage_last
55298 configure-target-libada: stage_last
55299 configure-target-libgomp: stage_last
55300 @endif gcc-bootstrap
55302 @if gcc-no-bootstrap
55303 configure-target-libstdc++-v3: maybe-all-gcc
55304 configure-target-libmudflap: maybe-all-gcc
55305 configure-target-libssp: maybe-all-gcc
55306 configure-target-newlib: maybe-all-gcc
55307 configure-target-libgcc: maybe-all-gcc
55308 configure-target-libgfortran: maybe-all-gcc
55309 configure-target-libobjc: maybe-all-gcc
55310 configure-target-libtermcap: maybe-all-gcc
55311 configure-target-winsup: maybe-all-gcc
55312 configure-target-libgloss: maybe-all-gcc
55313 configure-target-libiberty: maybe-all-gcc
55314 configure-target-gperf: maybe-all-gcc
55315 configure-target-examples: maybe-all-gcc
55316 configure-target-libffi: maybe-all-gcc
55317 configure-target-libjava: maybe-all-gcc
55318 configure-target-zlib: maybe-all-gcc
55319 configure-target-boehm-gc: maybe-all-gcc
55320 configure-target-qthreads: maybe-all-gcc
55321 configure-target-rda: maybe-all-gcc
55322 configure-target-libada: maybe-all-gcc
55323 configure-target-libgomp: maybe-all-gcc
55324 @endif gcc-no-bootstrap
55327 # There are two types of dependencies here: 'hard' dependencies, where one
55328 # module simply won't build without the other; and 'soft' dependencies, where
55329 # if the depended-on module is missing, the depending module will do without
55330 # or find a substitute somewhere (perhaps installed). Soft dependencies
55331 # are made here to depend on a 'maybe-' target. If you're not sure,
55332 # it's safer to use a soft dependency.
55339 # With all the machinery above in place, it is pretty easy to generate
55340 # dependencies. Host dependencies are a bit more complex because we have
55341 # to check for bootstrap/prebootstrap dependencies. To resolve
55342 # prebootstrap dependencies, prebootstrap modules are gathered in
55343 # a hash table.
55344 all-build-bison: maybe-all-build-texinfo
55345 all-build-byacc: maybe-all-build-texinfo
55346 all-build-flex: maybe-all-build-texinfo
55347 all-build-flex: maybe-all-build-bison
55348 all-build-flex: maybe-all-build-byacc
55349 all-build-flex: maybe-all-build-m4
55350 all-build-libiberty: maybe-all-build-texinfo
55351 all-build-m4: maybe-all-build-texinfo
55352 all-build-fixincludes: maybe-all-build-libiberty
55353 configure-gcc: maybe-configure-intl
55355 configure-stage1-gcc: maybe-configure-stage1-intl
55356 configure-stage2-gcc: maybe-configure-stage2-intl
55357 configure-stageb2g0-gcc: maybe-configure-stageb2g0-intl
55358 configure-stage3-gcc: maybe-configure-stage3-intl
55359 configure-stageb3g2-gcc: maybe-configure-stageb3g2-intl
55360 configure-stage4-gcc: maybe-configure-stage4-intl
55361 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
55362 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
55363 configure-gcc: maybe-all-binutils
55365 configure-stage1-gcc: maybe-all-stage1-binutils
55366 configure-stage2-gcc: maybe-all-stage2-binutils
55367 configure-stageb2g0-gcc: maybe-all-stageb2g0-binutils
55368 configure-stage3-gcc: maybe-all-stage3-binutils
55369 configure-stageb3g2-gcc: maybe-all-stageb3g2-binutils
55370 configure-stage4-gcc: maybe-all-stage4-binutils
55371 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
55372 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
55373 configure-gcc: maybe-all-gas
55375 configure-stage1-gcc: maybe-all-stage1-gas
55376 configure-stage2-gcc: maybe-all-stage2-gas
55377 configure-stageb2g0-gcc: maybe-all-stageb2g0-gas
55378 configure-stage3-gcc: maybe-all-stage3-gas
55379 configure-stageb3g2-gcc: maybe-all-stageb3g2-gas
55380 configure-stage4-gcc: maybe-all-stage4-gas
55381 configure-stageprofile-gcc: maybe-all-stageprofile-gas
55382 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
55383 configure-gcc: maybe-all-ld
55385 configure-stage1-gcc: maybe-all-stage1-ld
55386 configure-stage2-gcc: maybe-all-stage2-ld
55387 configure-stageb2g0-gcc: maybe-all-stageb2g0-ld
55388 configure-stage3-gcc: maybe-all-stage3-ld
55389 configure-stageb3g2-gcc: maybe-all-stageb3g2-ld
55390 configure-stage4-gcc: maybe-all-stage4-ld
55391 configure-stageprofile-gcc: maybe-all-stageprofile-ld
55392 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
55393 configure-gcc: maybe-all-gold
55395 configure-stage1-gcc: maybe-all-stage1-gold
55396 configure-stage2-gcc: maybe-all-stage2-gold
55397 configure-stageb2g0-gcc: maybe-all-stageb2g0-gold
55398 configure-stage3-gcc: maybe-all-stage3-gold
55399 configure-stageb3g2-gcc: maybe-all-stageb3g2-gold
55400 configure-stage4-gcc: maybe-all-stage4-gold
55401 configure-stageprofile-gcc: maybe-all-stageprofile-gold
55402 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
55403 all-gcc: all-libiberty
55405 all-stage1-gcc: all-stage1-libiberty
55406 all-stage2-gcc: all-stage2-libiberty
55407 all-stageb2g0-gcc: all-stageb2g0-libiberty
55408 all-stage3-gcc: all-stage3-libiberty
55409 all-stageb3g2-gcc: all-stageb3g2-libiberty
55410 all-stage4-gcc: all-stage4-libiberty
55411 all-stageprofile-gcc: all-stageprofile-libiberty
55412 all-stagefeedback-gcc: all-stagefeedback-libiberty
55413 all-gcc: maybe-all-gmp
55415 all-stage1-gcc: maybe-all-stage1-gmp
55416 all-stage2-gcc: maybe-all-stage2-gmp
55417 all-stageb2g0-gcc: maybe-all-stageb2g0-gmp
55418 all-stage3-gcc: maybe-all-stage3-gmp
55419 all-stageb3g2-gcc: maybe-all-stageb3g2-gmp
55420 all-stage4-gcc: maybe-all-stage4-gmp
55421 all-stageprofile-gcc: maybe-all-stageprofile-gmp
55422 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
55423 all-gcc: maybe-all-intl
55425 all-stage1-gcc: maybe-all-stage1-intl
55426 all-stage2-gcc: maybe-all-stage2-intl
55427 all-stageb2g0-gcc: maybe-all-stageb2g0-intl
55428 all-stage3-gcc: maybe-all-stage3-intl
55429 all-stageb3g2-gcc: maybe-all-stageb3g2-intl
55430 all-stage4-gcc: maybe-all-stage4-intl
55431 all-stageprofile-gcc: maybe-all-stageprofile-intl
55432 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
55433 all-gcc: maybe-all-mpfr
55435 all-stage1-gcc: maybe-all-stage1-mpfr
55436 all-stage2-gcc: maybe-all-stage2-mpfr
55437 all-stageb2g0-gcc: maybe-all-stageb2g0-mpfr
55438 all-stage3-gcc: maybe-all-stage3-mpfr
55439 all-stageb3g2-gcc: maybe-all-stageb3g2-mpfr
55440 all-stage4-gcc: maybe-all-stage4-mpfr
55441 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
55442 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
55443 all-gcc: maybe-all-ppl
55445 all-stage1-gcc: maybe-all-stage1-ppl
55446 all-stage2-gcc: maybe-all-stage2-ppl
55447 all-stageb2g0-gcc: maybe-all-stageb2g0-ppl
55448 all-stage3-gcc: maybe-all-stage3-ppl
55449 all-stageb3g2-gcc: maybe-all-stageb3g2-ppl
55450 all-stage4-gcc: maybe-all-stage4-ppl
55451 all-stageprofile-gcc: maybe-all-stageprofile-ppl
55452 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
55453 all-gcc: maybe-all-cloog
55455 all-stage1-gcc: maybe-all-stage1-cloog
55456 all-stage2-gcc: maybe-all-stage2-cloog
55457 all-stageb2g0-gcc: maybe-all-stageb2g0-cloog
55458 all-stage3-gcc: maybe-all-stage3-cloog
55459 all-stageb3g2-gcc: maybe-all-stageb3g2-cloog
55460 all-stage4-gcc: maybe-all-stage4-cloog
55461 all-stageprofile-gcc: maybe-all-stageprofile-cloog
55462 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
55463 all-gcc: maybe-all-build-texinfo
55465 all-stage1-gcc: maybe-all-build-texinfo
55466 all-stage2-gcc: maybe-all-build-texinfo
55467 all-stageb2g0-gcc: maybe-all-build-texinfo
55468 all-stage3-gcc: maybe-all-build-texinfo
55469 all-stageb3g2-gcc: maybe-all-build-texinfo
55470 all-stage4-gcc: maybe-all-build-texinfo
55471 all-stageprofile-gcc: maybe-all-build-texinfo
55472 all-stagefeedback-gcc: maybe-all-build-texinfo
55473 all-gcc: maybe-all-build-bison
55475 all-stage1-gcc: maybe-all-build-bison
55476 all-stage2-gcc: maybe-all-build-bison
55477 all-stageb2g0-gcc: maybe-all-build-bison
55478 all-stage3-gcc: maybe-all-build-bison
55479 all-stageb3g2-gcc: maybe-all-build-bison
55480 all-stage4-gcc: maybe-all-build-bison
55481 all-stageprofile-gcc: maybe-all-build-bison
55482 all-stagefeedback-gcc: maybe-all-build-bison
55483 all-gcc: maybe-all-build-byacc
55485 all-stage1-gcc: maybe-all-build-byacc
55486 all-stage2-gcc: maybe-all-build-byacc
55487 all-stageb2g0-gcc: maybe-all-build-byacc
55488 all-stage3-gcc: maybe-all-build-byacc
55489 all-stageb3g2-gcc: maybe-all-build-byacc
55490 all-stage4-gcc: maybe-all-build-byacc
55491 all-stageprofile-gcc: maybe-all-build-byacc
55492 all-stagefeedback-gcc: maybe-all-build-byacc
55493 all-gcc: maybe-all-build-flex
55495 all-stage1-gcc: maybe-all-build-flex
55496 all-stage2-gcc: maybe-all-build-flex
55497 all-stageb2g0-gcc: maybe-all-build-flex
55498 all-stage3-gcc: maybe-all-build-flex
55499 all-stageb3g2-gcc: maybe-all-build-flex
55500 all-stage4-gcc: maybe-all-build-flex
55501 all-stageprofile-gcc: maybe-all-build-flex
55502 all-stagefeedback-gcc: maybe-all-build-flex
55503 all-gcc: maybe-all-build-libiberty
55505 all-stage1-gcc: maybe-all-build-libiberty
55506 all-stage2-gcc: maybe-all-build-libiberty
55507 all-stageb2g0-gcc: maybe-all-build-libiberty
55508 all-stage3-gcc: maybe-all-build-libiberty
55509 all-stageb3g2-gcc: maybe-all-build-libiberty
55510 all-stage4-gcc: maybe-all-build-libiberty
55511 all-stageprofile-gcc: maybe-all-build-libiberty
55512 all-stagefeedback-gcc: maybe-all-build-libiberty
55513 all-gcc: maybe-all-build-fixincludes
55515 all-stage1-gcc: maybe-all-build-fixincludes
55516 all-stage2-gcc: maybe-all-build-fixincludes
55517 all-stageb2g0-gcc: maybe-all-build-fixincludes
55518 all-stage3-gcc: maybe-all-build-fixincludes
55519 all-stageb3g2-gcc: maybe-all-build-fixincludes
55520 all-stage4-gcc: maybe-all-build-fixincludes
55521 all-stageprofile-gcc: maybe-all-build-fixincludes
55522 all-stagefeedback-gcc: maybe-all-build-fixincludes
55523 all-gcc: maybe-all-zlib
55525 all-stage1-gcc: maybe-all-stage1-zlib
55526 all-stage2-gcc: maybe-all-stage2-zlib
55527 all-stageb2g0-gcc: maybe-all-stageb2g0-zlib
55528 all-stage3-gcc: maybe-all-stage3-zlib
55529 all-stageb3g2-gcc: maybe-all-stageb3g2-zlib
55530 all-stage4-gcc: maybe-all-stage4-zlib
55531 all-stageprofile-gcc: maybe-all-stageprofile-zlib
55532 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
55533 all-gcc: all-libcpp
55535 all-stage1-gcc: all-stage1-libcpp
55536 all-stage2-gcc: all-stage2-libcpp
55537 all-stageb2g0-gcc: all-stageb2g0-libcpp
55538 all-stage3-gcc: all-stage3-libcpp
55539 all-stageb3g2-gcc: all-stageb3g2-libcpp
55540 all-stage4-gcc: all-stage4-libcpp
55541 all-stageprofile-gcc: all-stageprofile-libcpp
55542 all-stagefeedback-gcc: all-stagefeedback-libcpp
55543 all-gcc: all-libdecnumber
55545 all-stage1-gcc: all-stage1-libdecnumber
55546 all-stage2-gcc: all-stage2-libdecnumber
55547 all-stageb2g0-gcc: all-stageb2g0-libdecnumber
55548 all-stage3-gcc: all-stage3-libdecnumber
55549 all-stageb3g2-gcc: all-stageb3g2-libdecnumber
55550 all-stage4-gcc: all-stage4-libdecnumber
55551 all-stageprofile-gcc: all-stageprofile-libdecnumber
55552 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
55553 all-gcc: maybe-all-libiberty
55555 all-stage1-gcc: maybe-all-stage1-libiberty
55556 all-stage2-gcc: maybe-all-stage2-libiberty
55557 all-stageb2g0-gcc: maybe-all-stageb2g0-libiberty
55558 all-stage3-gcc: maybe-all-stage3-libiberty
55559 all-stageb3g2-gcc: maybe-all-stageb3g2-libiberty
55560 all-stage4-gcc: maybe-all-stage4-libiberty
55561 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
55562 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
55563 all-gcc: maybe-all-fixincludes
55564 install-gcc: maybe-install-fixincludes
55565 configure-libcpp: configure-libiberty
55567 configure-stage1-libcpp: configure-stage1-libiberty
55568 configure-stage2-libcpp: configure-stage2-libiberty
55569 configure-stageb2g0-libcpp: configure-stageb2g0-libiberty
55570 configure-stage3-libcpp: configure-stage3-libiberty
55571 configure-stageb3g2-libcpp: configure-stageb3g2-libiberty
55572 configure-stage4-libcpp: configure-stage4-libiberty
55573 configure-stageprofile-libcpp: configure-stageprofile-libiberty
55574 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
55575 configure-libcpp: maybe-configure-intl
55577 configure-stage1-libcpp: maybe-configure-stage1-intl
55578 configure-stage2-libcpp: maybe-configure-stage2-intl
55579 configure-stageb2g0-libcpp: maybe-configure-stageb2g0-intl
55580 configure-stage3-libcpp: maybe-configure-stage3-intl
55581 configure-stageb3g2-libcpp: maybe-configure-stageb3g2-intl
55582 configure-stage4-libcpp: maybe-configure-stage4-intl
55583 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
55584 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
55585 all-libcpp: all-libiberty
55587 all-stage1-libcpp: all-stage1-libiberty
55588 all-stage2-libcpp: all-stage2-libiberty
55589 all-stageb2g0-libcpp: all-stageb2g0-libiberty
55590 all-stage3-libcpp: all-stage3-libiberty
55591 all-stageb3g2-libcpp: all-stageb3g2-libiberty
55592 all-stage4-libcpp: all-stage4-libiberty
55593 all-stageprofile-libcpp: all-stageprofile-libiberty
55594 all-stagefeedback-libcpp: all-stagefeedback-libiberty
55595 all-libcpp: maybe-all-intl
55597 all-stage1-libcpp: maybe-all-stage1-intl
55598 all-stage2-libcpp: maybe-all-stage2-intl
55599 all-stageb2g0-libcpp: maybe-all-stageb2g0-intl
55600 all-stage3-libcpp: maybe-all-stage3-intl
55601 all-stageb3g2-libcpp: maybe-all-stageb3g2-intl
55602 all-stage4-libcpp: maybe-all-stage4-intl
55603 all-stageprofile-libcpp: maybe-all-stageprofile-intl
55604 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
55605 all-fixincludes: maybe-all-libiberty
55606 all-gnattools: maybe-all-target-libada
55607 configure-mpfr: maybe-all-gmp
55609 configure-stage1-mpfr: maybe-all-stage1-gmp
55610 configure-stage2-mpfr: maybe-all-stage2-gmp
55611 configure-stageb2g0-mpfr: maybe-all-stageb2g0-gmp
55612 configure-stage3-mpfr: maybe-all-stage3-gmp
55613 configure-stageb3g2-mpfr: maybe-all-stageb3g2-gmp
55614 configure-stage4-mpfr: maybe-all-stage4-gmp
55615 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
55616 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
55617 configure-ppl: maybe-all-gmp
55619 configure-stage1-ppl: maybe-all-stage1-gmp
55620 configure-stage2-ppl: maybe-all-stage2-gmp
55621 configure-stageb2g0-ppl: maybe-all-stageb2g0-gmp
55622 configure-stage3-ppl: maybe-all-stage3-gmp
55623 configure-stageb3g2-ppl: maybe-all-stageb3g2-gmp
55624 configure-stage4-ppl: maybe-all-stage4-gmp
55625 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
55626 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
55627 configure-ppl: maybe-all-mpfr
55629 configure-stage1-ppl: maybe-all-stage1-mpfr
55630 configure-stage2-ppl: maybe-all-stage2-mpfr
55631 configure-stageb2g0-ppl: maybe-all-stageb2g0-mpfr
55632 configure-stage3-ppl: maybe-all-stage3-mpfr
55633 configure-stageb3g2-ppl: maybe-all-stageb3g2-mpfr
55634 configure-stage4-ppl: maybe-all-stage4-mpfr
55635 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
55636 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
55637 configure-cloog: maybe-all-ppl
55639 configure-stage1-cloog: maybe-all-stage1-ppl
55640 configure-stage2-cloog: maybe-all-stage2-ppl
55641 configure-stageb2g0-cloog: maybe-all-stageb2g0-ppl
55642 configure-stage3-cloog: maybe-all-stage3-ppl
55643 configure-stageb3g2-cloog: maybe-all-stageb3g2-ppl
55644 configure-stage4-cloog: maybe-all-stage4-ppl
55645 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
55646 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
55647 configure-gdb: maybe-all-intl
55648 configure-gdb: maybe-configure-sim
55649 configure-gdb: maybe-all-bfd
55650 configure-gdb: maybe-all-libiconv
55651 all-gdb: maybe-all-libiberty
55652 all-gdb: maybe-all-libiconv
55653 all-gdb: maybe-all-opcodes
55654 all-gdb: maybe-all-readline
55655 all-gdb: maybe-all-build-bison
55656 all-gdb: maybe-all-build-byacc
55657 all-gdb: maybe-all-sim
55658 all-gdb: maybe-all-libdecnumber
55659 configure-libgui: maybe-configure-tcl
55660 configure-libgui: maybe-configure-tk
55661 all-libgui: maybe-all-tcl
55662 all-libgui: maybe-all-tk
55663 all-libgui: maybe-all-itcl
55664 configure-bfd: configure-libiberty
55666 configure-stage1-bfd: configure-stage1-libiberty
55667 configure-stage2-bfd: configure-stage2-libiberty
55668 configure-stageb2g0-bfd: configure-stageb2g0-libiberty
55669 configure-stage3-bfd: configure-stage3-libiberty
55670 configure-stageb3g2-bfd: configure-stageb3g2-libiberty
55671 configure-stage4-bfd: configure-stage4-libiberty
55672 configure-stageprofile-bfd: configure-stageprofile-libiberty
55673 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
55674 configure-bfd: maybe-configure-intl
55676 configure-stage1-bfd: maybe-configure-stage1-intl
55677 configure-stage2-bfd: maybe-configure-stage2-intl
55678 configure-stageb2g0-bfd: maybe-configure-stageb2g0-intl
55679 configure-stage3-bfd: maybe-configure-stage3-intl
55680 configure-stageb3g2-bfd: maybe-configure-stageb3g2-intl
55681 configure-stage4-bfd: maybe-configure-stage4-intl
55682 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
55683 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
55684 all-bfd: maybe-all-libiberty
55686 all-stage1-bfd: maybe-all-stage1-libiberty
55687 all-stage2-bfd: maybe-all-stage2-libiberty
55688 all-stageb2g0-bfd: maybe-all-stageb2g0-libiberty
55689 all-stage3-bfd: maybe-all-stage3-libiberty
55690 all-stageb3g2-bfd: maybe-all-stageb3g2-libiberty
55691 all-stage4-bfd: maybe-all-stage4-libiberty
55692 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
55693 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
55694 all-bfd: maybe-all-intl
55696 all-stage1-bfd: maybe-all-stage1-intl
55697 all-stage2-bfd: maybe-all-stage2-intl
55698 all-stageb2g0-bfd: maybe-all-stageb2g0-intl
55699 all-stage3-bfd: maybe-all-stage3-intl
55700 all-stageb3g2-bfd: maybe-all-stageb3g2-intl
55701 all-stage4-bfd: maybe-all-stage4-intl
55702 all-stageprofile-bfd: maybe-all-stageprofile-intl
55703 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
55704 configure-opcodes: configure-libiberty
55706 configure-stage1-opcodes: configure-stage1-libiberty
55707 configure-stage2-opcodes: configure-stage2-libiberty
55708 configure-stageb2g0-opcodes: configure-stageb2g0-libiberty
55709 configure-stage3-opcodes: configure-stage3-libiberty
55710 configure-stageb3g2-opcodes: configure-stageb3g2-libiberty
55711 configure-stage4-opcodes: configure-stage4-libiberty
55712 configure-stageprofile-opcodes: configure-stageprofile-libiberty
55713 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
55714 all-opcodes: maybe-all-libiberty
55716 all-stage1-opcodes: maybe-all-stage1-libiberty
55717 all-stage2-opcodes: maybe-all-stage2-libiberty
55718 all-stageb2g0-opcodes: maybe-all-stageb2g0-libiberty
55719 all-stage3-opcodes: maybe-all-stage3-libiberty
55720 all-stageb3g2-opcodes: maybe-all-stageb3g2-libiberty
55721 all-stage4-opcodes: maybe-all-stage4-libiberty
55722 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
55723 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
55724 configure-binutils: maybe-configure-intl
55726 configure-stage1-binutils: maybe-configure-stage1-intl
55727 configure-stage2-binutils: maybe-configure-stage2-intl
55728 configure-stageb2g0-binutils: maybe-configure-stageb2g0-intl
55729 configure-stage3-binutils: maybe-configure-stage3-intl
55730 configure-stageb3g2-binutils: maybe-configure-stageb3g2-intl
55731 configure-stage4-binutils: maybe-configure-stage4-intl
55732 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
55733 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
55734 all-binutils: maybe-all-libiberty
55736 all-stage1-binutils: maybe-all-stage1-libiberty
55737 all-stage2-binutils: maybe-all-stage2-libiberty
55738 all-stageb2g0-binutils: maybe-all-stageb2g0-libiberty
55739 all-stage3-binutils: maybe-all-stage3-libiberty
55740 all-stageb3g2-binutils: maybe-all-stageb3g2-libiberty
55741 all-stage4-binutils: maybe-all-stage4-libiberty
55742 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
55743 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
55744 all-binutils: maybe-all-opcodes
55746 all-stage1-binutils: maybe-all-stage1-opcodes
55747 all-stage2-binutils: maybe-all-stage2-opcodes
55748 all-stageb2g0-binutils: maybe-all-stageb2g0-opcodes
55749 all-stage3-binutils: maybe-all-stage3-opcodes
55750 all-stageb3g2-binutils: maybe-all-stageb3g2-opcodes
55751 all-stage4-binutils: maybe-all-stage4-opcodes
55752 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
55753 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
55754 all-binutils: maybe-all-bfd
55756 all-stage1-binutils: maybe-all-stage1-bfd
55757 all-stage2-binutils: maybe-all-stage2-bfd
55758 all-stageb2g0-binutils: maybe-all-stageb2g0-bfd
55759 all-stage3-binutils: maybe-all-stage3-bfd
55760 all-stageb3g2-binutils: maybe-all-stageb3g2-bfd
55761 all-stage4-binutils: maybe-all-stage4-bfd
55762 all-stageprofile-binutils: maybe-all-stageprofile-bfd
55763 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
55764 all-binutils: maybe-all-build-flex
55766 all-stage1-binutils: maybe-all-build-flex
55767 all-stage2-binutils: maybe-all-build-flex
55768 all-stageb2g0-binutils: maybe-all-build-flex
55769 all-stage3-binutils: maybe-all-build-flex
55770 all-stageb3g2-binutils: maybe-all-build-flex
55771 all-stage4-binutils: maybe-all-build-flex
55772 all-stageprofile-binutils: maybe-all-build-flex
55773 all-stagefeedback-binutils: maybe-all-build-flex
55774 all-binutils: maybe-all-build-bison
55776 all-stage1-binutils: maybe-all-build-bison
55777 all-stage2-binutils: maybe-all-build-bison
55778 all-stageb2g0-binutils: maybe-all-build-bison
55779 all-stage3-binutils: maybe-all-build-bison
55780 all-stageb3g2-binutils: maybe-all-build-bison
55781 all-stage4-binutils: maybe-all-build-bison
55782 all-stageprofile-binutils: maybe-all-build-bison
55783 all-stagefeedback-binutils: maybe-all-build-bison
55784 all-binutils: maybe-all-build-byacc
55786 all-stage1-binutils: maybe-all-build-byacc
55787 all-stage2-binutils: maybe-all-build-byacc
55788 all-stageb2g0-binutils: maybe-all-build-byacc
55789 all-stage3-binutils: maybe-all-build-byacc
55790 all-stageb3g2-binutils: maybe-all-build-byacc
55791 all-stage4-binutils: maybe-all-build-byacc
55792 all-stageprofile-binutils: maybe-all-build-byacc
55793 all-stagefeedback-binutils: maybe-all-build-byacc
55794 all-binutils: maybe-all-intl
55796 all-stage1-binutils: maybe-all-stage1-intl
55797 all-stage2-binutils: maybe-all-stage2-intl
55798 all-stageb2g0-binutils: maybe-all-stageb2g0-intl
55799 all-stage3-binutils: maybe-all-stage3-intl
55800 all-stageb3g2-binutils: maybe-all-stageb3g2-intl
55801 all-stage4-binutils: maybe-all-stage4-intl
55802 all-stageprofile-binutils: maybe-all-stageprofile-intl
55803 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
55804 install-binutils: maybe-install-opcodes
55805 install-opcodes: maybe-install-bfd
55806 configure-gas: maybe-configure-intl
55808 configure-stage1-gas: maybe-configure-stage1-intl
55809 configure-stage2-gas: maybe-configure-stage2-intl
55810 configure-stageb2g0-gas: maybe-configure-stageb2g0-intl
55811 configure-stage3-gas: maybe-configure-stage3-intl
55812 configure-stageb3g2-gas: maybe-configure-stageb3g2-intl
55813 configure-stage4-gas: maybe-configure-stage4-intl
55814 configure-stageprofile-gas: maybe-configure-stageprofile-intl
55815 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
55816 all-gas: maybe-all-libiberty
55818 all-stage1-gas: maybe-all-stage1-libiberty
55819 all-stage2-gas: maybe-all-stage2-libiberty
55820 all-stageb2g0-gas: maybe-all-stageb2g0-libiberty
55821 all-stage3-gas: maybe-all-stage3-libiberty
55822 all-stageb3g2-gas: maybe-all-stageb3g2-libiberty
55823 all-stage4-gas: maybe-all-stage4-libiberty
55824 all-stageprofile-gas: maybe-all-stageprofile-libiberty
55825 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
55826 all-gas: maybe-all-opcodes
55828 all-stage1-gas: maybe-all-stage1-opcodes
55829 all-stage2-gas: maybe-all-stage2-opcodes
55830 all-stageb2g0-gas: maybe-all-stageb2g0-opcodes
55831 all-stage3-gas: maybe-all-stage3-opcodes
55832 all-stageb3g2-gas: maybe-all-stageb3g2-opcodes
55833 all-stage4-gas: maybe-all-stage4-opcodes
55834 all-stageprofile-gas: maybe-all-stageprofile-opcodes
55835 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
55836 all-gas: maybe-all-bfd
55838 all-stage1-gas: maybe-all-stage1-bfd
55839 all-stage2-gas: maybe-all-stage2-bfd
55840 all-stageb2g0-gas: maybe-all-stageb2g0-bfd
55841 all-stage3-gas: maybe-all-stage3-bfd
55842 all-stageb3g2-gas: maybe-all-stageb3g2-bfd
55843 all-stage4-gas: maybe-all-stage4-bfd
55844 all-stageprofile-gas: maybe-all-stageprofile-bfd
55845 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
55846 all-gas: maybe-all-intl
55848 all-stage1-gas: maybe-all-stage1-intl
55849 all-stage2-gas: maybe-all-stage2-intl
55850 all-stageb2g0-gas: maybe-all-stageb2g0-intl
55851 all-stage3-gas: maybe-all-stage3-intl
55852 all-stageb3g2-gas: maybe-all-stageb3g2-intl
55853 all-stage4-gas: maybe-all-stage4-intl
55854 all-stageprofile-gas: maybe-all-stageprofile-intl
55855 all-stagefeedback-gas: maybe-all-stagefeedback-intl
55856 configure-gprof: maybe-configure-intl
55857 all-gprof: maybe-all-libiberty
55858 all-gprof: maybe-all-bfd
55859 all-gprof: maybe-all-opcodes
55860 all-gprof: maybe-all-intl
55861 configure-ld: maybe-configure-intl
55863 configure-stage1-ld: maybe-configure-stage1-intl
55864 configure-stage2-ld: maybe-configure-stage2-intl
55865 configure-stageb2g0-ld: maybe-configure-stageb2g0-intl
55866 configure-stage3-ld: maybe-configure-stage3-intl
55867 configure-stageb3g2-ld: maybe-configure-stageb3g2-intl
55868 configure-stage4-ld: maybe-configure-stage4-intl
55869 configure-stageprofile-ld: maybe-configure-stageprofile-intl
55870 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
55871 all-ld: maybe-all-libiberty
55873 all-stage1-ld: maybe-all-stage1-libiberty
55874 all-stage2-ld: maybe-all-stage2-libiberty
55875 all-stageb2g0-ld: maybe-all-stageb2g0-libiberty
55876 all-stage3-ld: maybe-all-stage3-libiberty
55877 all-stageb3g2-ld: maybe-all-stageb3g2-libiberty
55878 all-stage4-ld: maybe-all-stage4-libiberty
55879 all-stageprofile-ld: maybe-all-stageprofile-libiberty
55880 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
55881 all-ld: maybe-all-bfd
55883 all-stage1-ld: maybe-all-stage1-bfd
55884 all-stage2-ld: maybe-all-stage2-bfd
55885 all-stageb2g0-ld: maybe-all-stageb2g0-bfd
55886 all-stage3-ld: maybe-all-stage3-bfd
55887 all-stageb3g2-ld: maybe-all-stageb3g2-bfd
55888 all-stage4-ld: maybe-all-stage4-bfd
55889 all-stageprofile-ld: maybe-all-stageprofile-bfd
55890 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
55891 all-ld: maybe-all-opcodes
55893 all-stage1-ld: maybe-all-stage1-opcodes
55894 all-stage2-ld: maybe-all-stage2-opcodes
55895 all-stageb2g0-ld: maybe-all-stageb2g0-opcodes
55896 all-stage3-ld: maybe-all-stage3-opcodes
55897 all-stageb3g2-ld: maybe-all-stageb3g2-opcodes
55898 all-stage4-ld: maybe-all-stage4-opcodes
55899 all-stageprofile-ld: maybe-all-stageprofile-opcodes
55900 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
55901 all-ld: maybe-all-build-bison
55903 all-stage1-ld: maybe-all-build-bison
55904 all-stage2-ld: maybe-all-build-bison
55905 all-stageb2g0-ld: maybe-all-build-bison
55906 all-stage3-ld: maybe-all-build-bison
55907 all-stageb3g2-ld: maybe-all-build-bison
55908 all-stage4-ld: maybe-all-build-bison
55909 all-stageprofile-ld: maybe-all-build-bison
55910 all-stagefeedback-ld: maybe-all-build-bison
55911 all-ld: maybe-all-build-byacc
55913 all-stage1-ld: maybe-all-build-byacc
55914 all-stage2-ld: maybe-all-build-byacc
55915 all-stageb2g0-ld: maybe-all-build-byacc
55916 all-stage3-ld: maybe-all-build-byacc
55917 all-stageb3g2-ld: maybe-all-build-byacc
55918 all-stage4-ld: maybe-all-build-byacc
55919 all-stageprofile-ld: maybe-all-build-byacc
55920 all-stagefeedback-ld: maybe-all-build-byacc
55921 all-ld: maybe-all-build-flex
55923 all-stage1-ld: maybe-all-build-flex
55924 all-stage2-ld: maybe-all-build-flex
55925 all-stageb2g0-ld: maybe-all-build-flex
55926 all-stage3-ld: maybe-all-build-flex
55927 all-stageb3g2-ld: maybe-all-build-flex
55928 all-stage4-ld: maybe-all-build-flex
55929 all-stageprofile-ld: maybe-all-build-flex
55930 all-stagefeedback-ld: maybe-all-build-flex
55931 all-ld: maybe-all-intl
55933 all-stage1-ld: maybe-all-stage1-intl
55934 all-stage2-ld: maybe-all-stage2-intl
55935 all-stageb2g0-ld: maybe-all-stageb2g0-intl
55936 all-stage3-ld: maybe-all-stage3-intl
55937 all-stageb3g2-ld: maybe-all-stageb3g2-intl
55938 all-stage4-ld: maybe-all-stage4-intl
55939 all-stageprofile-ld: maybe-all-stageprofile-intl
55940 all-stagefeedback-ld: maybe-all-stagefeedback-intl
55941 configure-gold: maybe-configure-intl
55943 configure-stage1-gold: maybe-configure-stage1-intl
55944 configure-stage2-gold: maybe-configure-stage2-intl
55945 configure-stageb2g0-gold: maybe-configure-stageb2g0-intl
55946 configure-stage3-gold: maybe-configure-stage3-intl
55947 configure-stageb3g2-gold: maybe-configure-stageb3g2-intl
55948 configure-stage4-gold: maybe-configure-stage4-intl
55949 configure-stageprofile-gold: maybe-configure-stageprofile-intl
55950 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
55951 all-gold: maybe-all-libiberty
55953 all-stage1-gold: maybe-all-stage1-libiberty
55954 all-stage2-gold: maybe-all-stage2-libiberty
55955 all-stageb2g0-gold: maybe-all-stageb2g0-libiberty
55956 all-stage3-gold: maybe-all-stage3-libiberty
55957 all-stageb3g2-gold: maybe-all-stageb3g2-libiberty
55958 all-stage4-gold: maybe-all-stage4-libiberty
55959 all-stageprofile-gold: maybe-all-stageprofile-libiberty
55960 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
55961 all-gold: maybe-all-intl
55963 all-stage1-gold: maybe-all-stage1-intl
55964 all-stage2-gold: maybe-all-stage2-intl
55965 all-stageb2g0-gold: maybe-all-stageb2g0-intl
55966 all-stage3-gold: maybe-all-stage3-intl
55967 all-stageb3g2-gold: maybe-all-stageb3g2-intl
55968 all-stage4-gold: maybe-all-stage4-intl
55969 all-stageprofile-gold: maybe-all-stageprofile-intl
55970 all-stagefeedback-gold: maybe-all-stagefeedback-intl
55971 all-gold: maybe-all-bfd
55973 all-stage1-gold: maybe-all-stage1-bfd
55974 all-stage2-gold: maybe-all-stage2-bfd
55975 all-stageb2g0-gold: maybe-all-stageb2g0-bfd
55976 all-stage3-gold: maybe-all-stage3-bfd
55977 all-stageb3g2-gold: maybe-all-stageb3g2-bfd
55978 all-stage4-gold: maybe-all-stage4-bfd
55979 all-stageprofile-gold: maybe-all-stageprofile-bfd
55980 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
55981 all-gold: maybe-all-build-bison
55983 all-stage1-gold: maybe-all-build-bison
55984 all-stage2-gold: maybe-all-build-bison
55985 all-stageb2g0-gold: maybe-all-build-bison
55986 all-stage3-gold: maybe-all-build-bison
55987 all-stageb3g2-gold: maybe-all-build-bison
55988 all-stage4-gold: maybe-all-build-bison
55989 all-stageprofile-gold: maybe-all-build-bison
55990 all-stagefeedback-gold: maybe-all-build-bison
55991 all-gold: maybe-all-build-byacc
55993 all-stage1-gold: maybe-all-build-byacc
55994 all-stage2-gold: maybe-all-build-byacc
55995 all-stageb2g0-gold: maybe-all-build-byacc
55996 all-stage3-gold: maybe-all-build-byacc
55997 all-stageb3g2-gold: maybe-all-build-byacc
55998 all-stage4-gold: maybe-all-build-byacc
55999 all-stageprofile-gold: maybe-all-build-byacc
56000 all-stagefeedback-gold: maybe-all-build-byacc
56001 check-gold: maybe-all-binutils
56003 check-stage1-gold: maybe-all-stage1-binutils
56004 check-stage2-gold: maybe-all-stage2-binutils
56005 check-stageb2g0-gold: maybe-all-stageb2g0-binutils
56006 check-stage3-gold: maybe-all-stage3-binutils
56007 check-stageb3g2-gold: maybe-all-stageb3g2-binutils
56008 check-stage4-gold: maybe-all-stage4-binutils
56009 check-stageprofile-gold: maybe-all-stageprofile-binutils
56010 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
56011 configure-opcodes: maybe-configure-intl
56013 configure-stage1-opcodes: maybe-configure-stage1-intl
56014 configure-stage2-opcodes: maybe-configure-stage2-intl
56015 configure-stageb2g0-opcodes: maybe-configure-stageb2g0-intl
56016 configure-stage3-opcodes: maybe-configure-stage3-intl
56017 configure-stageb3g2-opcodes: maybe-configure-stageb3g2-intl
56018 configure-stage4-opcodes: maybe-configure-stage4-intl
56019 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
56020 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
56021 all-opcodes: maybe-all-bfd
56023 all-stage1-opcodes: maybe-all-stage1-bfd
56024 all-stage2-opcodes: maybe-all-stage2-bfd
56025 all-stageb2g0-opcodes: maybe-all-stageb2g0-bfd
56026 all-stage3-opcodes: maybe-all-stage3-bfd
56027 all-stageb3g2-opcodes: maybe-all-stageb3g2-bfd
56028 all-stage4-opcodes: maybe-all-stage4-bfd
56029 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
56030 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
56031 all-opcodes: maybe-all-libiberty
56033 all-stage1-opcodes: maybe-all-stage1-libiberty
56034 all-stage2-opcodes: maybe-all-stage2-libiberty
56035 all-stageb2g0-opcodes: maybe-all-stageb2g0-libiberty
56036 all-stage3-opcodes: maybe-all-stage3-libiberty
56037 all-stageb3g2-opcodes: maybe-all-stageb3g2-libiberty
56038 all-stage4-opcodes: maybe-all-stage4-libiberty
56039 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
56040 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
56041 all-opcodes: maybe-all-intl
56043 all-stage1-opcodes: maybe-all-stage1-intl
56044 all-stage2-opcodes: maybe-all-stage2-intl
56045 all-stageb2g0-opcodes: maybe-all-stageb2g0-intl
56046 all-stage3-opcodes: maybe-all-stage3-intl
56047 all-stageb3g2-opcodes: maybe-all-stageb3g2-intl
56048 all-stage4-opcodes: maybe-all-stage4-intl
56049 all-stageprofile-opcodes: maybe-all-stageprofile-intl
56050 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
56051 all-dejagnu: maybe-all-tcl
56052 all-dejagnu: maybe-all-expect
56053 all-dejagnu: maybe-all-tk
56054 configure-expect: maybe-configure-tcl
56055 configure-expect: maybe-configure-tk
56056 all-expect: maybe-all-tcl
56057 all-expect: maybe-all-tk
56058 configure-itcl: maybe-configure-tcl
56059 configure-itcl: maybe-configure-tk
56060 all-itcl: maybe-all-tcl
56061 all-itcl: maybe-all-tk
56062 install-itcl: maybe-install-tcl
56063 configure-tk: maybe-configure-tcl
56064 all-tk: maybe-all-tcl
56065 all-sid: maybe-all-libiberty
56066 all-sid: maybe-all-bfd
56067 all-sid: maybe-all-opcodes
56068 all-sid: maybe-all-tcl
56069 all-sid: maybe-all-tk
56070 install-sid: maybe-install-tcl
56071 install-sid: maybe-install-tk
56072 configure-sim: maybe-configure-intl
56073 all-sim: maybe-all-intl
56074 all-sim: maybe-all-libiberty
56075 all-sim: maybe-all-bfd
56076 all-sim: maybe-all-opcodes
56077 all-sim: maybe-all-readline
56078 all-sim: maybe-configure-gdb
56079 all-fastjar: maybe-all-zlib
56080 all-fastjar: maybe-all-build-texinfo
56081 all-fastjar: maybe-all-libiberty
56082 all-autoconf: maybe-all-m4
56083 all-autoconf: maybe-all-build-texinfo
56084 all-automake: maybe-all-m4
56085 all-automake: maybe-all-build-texinfo
56086 all-automake: maybe-all-autoconf
56087 all-bison: maybe-all-intl
56088 all-bison: maybe-all-build-texinfo
56089 all-diff: maybe-all-intl
56090 all-diff: maybe-all-build-texinfo
56091 all-fileutils: maybe-all-intl
56092 all-fileutils: maybe-all-build-texinfo
56093 all-flex: maybe-all-build-bison
56094 all-flex: maybe-all-build-byacc
56095 all-flex: maybe-all-intl
56096 all-flex: maybe-all-m4
56097 all-flex: maybe-all-build-texinfo
56098 all-gzip: maybe-all-intl
56099 all-gzip: maybe-all-zlib
56100 all-gzip: maybe-all-build-texinfo
56101 all-hello: maybe-all-intl
56102 all-hello: maybe-all-build-texinfo
56103 all-m4: maybe-all-intl
56104 all-m4: maybe-all-build-texinfo
56105 all-make: maybe-all-intl
56106 all-make: maybe-all-build-texinfo
56107 all-patch: maybe-all-build-texinfo
56108 all-make: maybe-all-build-texinfo
56109 all-prms: maybe-all-libiberty
56110 all-recode: maybe-all-build-texinfo
56111 all-sed: maybe-all-build-texinfo
56112 all-send-pr: maybe-all-prms
56113 all-tar: maybe-all-build-texinfo
56114 all-uudecode: maybe-all-build-texinfo
56115 configure-target-boehm-gc: maybe-configure-target-qthreads
56116 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
56117 configure-target-fastjar: maybe-configure-target-zlib
56118 all-target-fastjar: maybe-all-target-zlib
56119 all-target-fastjar: maybe-all-target-libiberty
56120 configure-target-libjava: maybe-configure-target-zlib
56121 configure-target-libjava: maybe-configure-target-boehm-gc
56122 configure-target-libjava: maybe-configure-target-qthreads
56123 configure-target-libjava: maybe-configure-target-libffi
56124 all-target-libjava: maybe-all-fastjar
56125 all-target-libjava: maybe-all-target-zlib
56126 all-target-libjava: maybe-all-target-boehm-gc
56127 all-target-libjava: maybe-all-target-qthreads
56128 all-target-libjava: maybe-all-target-libffi
56129 configure-target-libobjc: maybe-configure-target-boehm-gc
56130 all-target-libobjc: maybe-all-target-libiberty
56131 all-target-libobjc: maybe-all-target-boehm-gc
56132 all-target-libstdc++-v3: maybe-all-target-libiberty
56133 configure-target-libstdc++-v3: maybe-configure-target-libgomp
56134 all-target-libgloss: maybe-all-target-newlib
56135 all-target-winsup: maybe-all-target-libiberty
56136 all-target-winsup: maybe-all-target-libtermcap
56139 # Dependencies for target modules on other target modules are
56140 # described by lang_env_dependencies; the defaults apply to anything
56141 # not mentioned there.
56144 @if gcc-bootstrap
56145 @endif gcc-bootstrap
56147 @if gcc-no-bootstrap
56148 configure-target-libstdc++-v3: maybe-all-target-libgcc
56149 configure-target-libmudflap: maybe-all-target-libgcc
56150 configure-target-libssp: maybe-all-target-libgcc
56151 configure-target-newlib: maybe-all-target-libgcc
56152 configure-target-libgfortran: maybe-all-target-libgcc
56153 configure-target-libobjc: maybe-all-target-libgcc
56154 configure-target-libtermcap: maybe-all-target-libgcc
56155 configure-target-winsup: maybe-all-target-libgcc
56156 configure-target-libgloss: maybe-all-target-libgcc
56157 configure-target-libiberty: maybe-all-target-libgcc
56158 configure-target-gperf: maybe-all-target-libgcc
56159 configure-target-examples: maybe-all-target-libgcc
56160 configure-target-libffi: maybe-all-target-libgcc
56161 configure-target-libjava: maybe-all-target-libgcc
56162 configure-target-zlib: maybe-all-target-libgcc
56163 configure-target-boehm-gc: maybe-all-target-libgcc
56164 configure-target-qthreads: maybe-all-target-libgcc
56165 configure-target-rda: maybe-all-target-libgcc
56166 configure-target-libada: maybe-all-target-libgcc
56167 configure-target-libgomp: maybe-all-target-libgcc
56168 @endif gcc-no-bootstrap
56171 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
56173 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
56175 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
56179 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
56181 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
56183 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
56185 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
56189 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
56190 configure-target-gperf: maybe-all-target-libstdc++-v3
56192 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
56194 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
56196 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
56197 configure-target-libjava: maybe-all-target-libstdc++-v3
56199 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
56201 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
56203 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
56205 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
56207 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
56209 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
56212 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
56213 GDB_TK = @GDB_TK@
56214 INSTALL_GDB_TK = @INSTALL_GDB_TK@
56215 configure-gdb: $(CONFIGURE_GDB_TK)
56216 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
56217 install-gdb: $(INSTALL_GDB_TK)
56219 # Serialization dependencies. Host configures don't work well in parallel to
56220 # each other, due to contention over config.cache. Target configures and
56221 # build configures are similar.
56222 @serialization_dependencies@
56224 # --------------------------------
56225 # Regenerating top level configury
56226 # --------------------------------
56228 # Rebuilding Makefile.in, using autogen.
56229 AUTOGEN = autogen
56230 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
56231 cd $(srcdir) && $(AUTOGEN) Makefile.def
56233 # Rebuilding Makefile.
56234 Makefile: $(srcdir)/Makefile.in config.status
56235 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
56237 config.status: configure
56238 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
56240 # Rebuilding configure.
56241 AUTOCONF = autoconf
56242 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
56243 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
56244 cd $(srcdir) && $(AUTOCONF)
56246 # ------------------------------
56247 # Special directives to GNU Make
56248 # ------------------------------
56250 # Don't pass command-line variables to submakes.
56251 .NOEXPORT:
56252 MAKEOVERRIDES=
56254 # end of Makefile.in