Oops - forgot to commit this part of a previous delta:
[binutils.git] / Makefile.in
blob104d69cfda87859d82210d0d26a3aa38722a5f5f
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, 2008, 2009
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 GDB_NLM_DEPS =
105 # This is the name of the environment variable used for the path to
106 # the libraries.
107 RPATH_ENVVAR = @RPATH_ENVVAR@
109 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
110 # is used instead of the directory itself to avoid including built
111 # executables in PATH.
112 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
114 # Build programs are put under this directory.
115 BUILD_SUBDIR = @build_subdir@
116 # This is set by the configure script to the arguments to use when configuring
117 # directories built for the build system.
118 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
120 # This is the list of variables to export in the environment when
121 # configuring any subdirectory. It must also be exported whenever
122 # recursing into a build directory in case that directory's Makefile
123 # re-runs configure.
124 BASE_EXPORTS = \
125 FLEX="$(FLEX)"; export FLEX; \
126 LEX="$(LEX)"; export LEX; \
127 BISON="$(BISON)"; export BISON; \
128 YACC="$(YACC)"; export YACC; \
129 M4="$(M4)"; export M4; \
130 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
132 # This is the list of variables to export in the environment when
133 # configuring subdirectories for the build system.
134 BUILD_EXPORTS = \
135 $(BASE_EXPORTS) \
136 AR="$(AR_FOR_BUILD)"; export AR; \
137 AS="$(AS_FOR_BUILD)"; export AS; \
138 CC="$(CC_FOR_BUILD)"; export CC; \
139 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
140 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
141 CXX="$(CXX_FOR_BUILD)"; export CXX; \
142 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
143 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
144 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
145 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
146 LD="$(LD_FOR_BUILD)"; export LD; \
147 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
148 NM="$(NM_FOR_BUILD)"; export NM; \
149 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
150 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
151 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
153 # These variables must be set on the make command line for directories
154 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
155 EXTRA_BUILD_FLAGS = \
156 CFLAGS="$(CFLAGS_FOR_BUILD)" \
157 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
159 # This is the list of directories to built for the host system.
160 SUBDIRS = @configdirs@
161 # This is set by the configure script to the arguments to use when configuring
162 # directories built for the host system.
163 HOST_CONFIGARGS = @host_configargs@
164 # Host programs are put under this directory, which is . except if building
165 # with srcdir=..
166 HOST_SUBDIR = @host_subdir@
167 # This is the list of variables to export in the environment when
168 # configuring subdirectories for the host system. We need to pass
169 # some to the GCC configure because of its hybrid host/target nature.
170 HOST_EXPORTS = \
171 $(BASE_EXPORTS) \
172 CC="$(CC)"; export CC; \
173 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
174 CFLAGS="$(CFLAGS)"; export CFLAGS; \
175 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
176 CXX="$(CXX)"; export CXX; \
177 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
178 GCJ="$(GCJ)"; export GCJ; \
179 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
180 AR="$(AR)"; export AR; \
181 AS="$(AS)"; export AS; \
182 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
183 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
184 LD="$(LD)"; export LD; \
185 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
186 NM="$(NM)"; export NM; \
187 RANLIB="$(RANLIB)"; export RANLIB; \
188 WINDRES="$(WINDRES)"; export WINDRES; \
189 WINDMC="$(WINDMC)"; export WINDMC; \
190 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
191 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
192 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
193 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
194 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
195 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
196 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
197 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
198 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
199 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
200 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
201 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
202 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
203 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
204 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
205 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
206 @if gcc-bootstrap
207 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
208 @endif gcc-bootstrap
209 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
211 # Similar, for later GCC stages.
212 POSTSTAGE1_HOST_EXPORTS = \
213 $(HOST_EXPORTS) \
214 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
215 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
216 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
217 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
218 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND \
219 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
221 # Target libraries are put under this directory:
222 TARGET_SUBDIR = @target_subdir@
223 # This is set by the configure script to the arguments to use when configuring
224 # directories built for the target.
225 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
226 # This is the list of variables to export in the environment when
227 # configuring subdirectories for the host system.
228 BASE_TARGET_EXPORTS = \
229 $(BASE_EXPORTS) \
230 AR="$(AR_FOR_TARGET)"; export AR; \
231 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
232 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
233 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
234 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
235 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
236 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
237 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
238 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
239 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
240 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
241 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
242 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
243 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
244 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
245 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
246 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
247 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
248 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
249 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
251 RAW_CXX_TARGET_EXPORTS = \
252 $(BASE_TARGET_EXPORTS) \
253 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
254 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
256 NORMAL_TARGET_EXPORTS = \
257 $(BASE_TARGET_EXPORTS) \
258 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
260 # Where to find GMP
261 HOST_GMPLIBS = @gmplibs@
262 HOST_GMPINC = @gmpinc@
264 # Where to find PPL
265 HOST_PPLLIBS = @ppllibs@
266 HOST_PPLINC = @pplinc@
268 # Where to find CLOOG
269 HOST_CLOOGLIBS = @clooglibs@
270 HOST_CLOOGINC = @clooginc@
272 # ----------------------------------------------
273 # Programs producing files for the BUILD machine
274 # ----------------------------------------------
276 SHELL = @config_shell@
278 # pwd command to use. Allow user to override default by setting PWDCMD in
279 # the environment to account for automounters. The make variable must not
280 # be called PWDCMD, otherwise the value set here is passed to make
281 # subprocesses and overrides the setting from the user's environment.
282 # Don't use PWD since it is a common shell environment variable and we
283 # don't want to corrupt it.
284 PWD_COMMAND = $${PWDCMD-pwd}
286 # compilers to use to create programs which must be run in the build
287 # environment.
288 AR_FOR_BUILD = @AR_FOR_BUILD@
289 AS_FOR_BUILD = @AS_FOR_BUILD@
290 CC_FOR_BUILD = @CC_FOR_BUILD@
291 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
292 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
293 CXX_FOR_BUILD = @CXX_FOR_BUILD@
294 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
295 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
296 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
297 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
298 LD_FOR_BUILD = @LD_FOR_BUILD@
299 NM_FOR_BUILD = @NM_FOR_BUILD@
300 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
301 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
302 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
304 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
305 # here so that they can be overridden by Makefile fragments.
306 BUILD_PREFIX = @BUILD_PREFIX@
307 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
309 # Flags to pass to stage2 and later makes. They are defined
310 # here so that they can be overridden by Makefile fragments.
311 BOOT_CFLAGS= -g -O2
312 BOOT_LDFLAGS=
313 BOOT_ADAFLAGS=-gnatpg -gnata
315 BISON = @BISON@
316 YACC = @YACC@
317 FLEX = @FLEX@
318 LEX = @LEX@
319 M4 = @M4@
320 MAKEINFO = @MAKEINFO@
321 EXPECT = @EXPECT@
322 RUNTEST = @RUNTEST@
324 # This just becomes part of the MAKEINFO definition passed down to
325 # sub-makes. It lets flags be given on the command line while still
326 # using the makeinfo from the object tree.
327 # (Default to avoid splitting info files by setting the threshold high.)
328 MAKEINFOFLAGS = --split-size=5000000
330 # ---------------------------------------------
331 # Programs producing files for the HOST machine
332 # ---------------------------------------------
334 AS = @AS@
335 AR = @AR@
336 AR_FLAGS = rc
337 CC = @CC@
338 CXX = @CXX@
339 DLLTOOL = @DLLTOOL@
340 LD = @LD@
341 LIPO = @LIPO@
342 NM = @NM@
343 OBJDUMP = @OBJDUMP@
344 RANLIB = @RANLIB@
345 STRIP = @STRIP@
346 WINDRES = @WINDRES@
347 WINDMC = @WINDMC@
349 GNATBIND = @GNATBIND@
350 GNATMAKE = @GNATMAKE@
352 CFLAGS = @CFLAGS@
353 LDFLAGS = @LDFLAGS@
354 LIBCFLAGS = $(CFLAGS)
355 CXXFLAGS = @CXXFLAGS@
356 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
358 TFLAGS =
360 # Defaults for all stages; some are overridden below.
362 STAGE_CFLAGS = $(BOOT_CFLAGS)
363 STAGE_TFLAGS = $(TFLAGS)
364 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
367 # Defaults for stage 1; some are overridden below.
368 STAGE1_CFLAGS = $(STAGE_CFLAGS)
369 STAGE1_TFLAGS = $(STAGE_TFLAGS)
370 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
372 # Defaults for stage 2; some are overridden below.
373 STAGE2_CFLAGS = $(STAGE_CFLAGS)
374 STAGE2_TFLAGS = $(STAGE_TFLAGS)
375 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
377 # Defaults for stage 3; some are overridden below.
378 STAGE3_CFLAGS = $(STAGE_CFLAGS)
379 STAGE3_TFLAGS = $(STAGE_TFLAGS)
380 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
382 # Defaults for stage 4; some are overridden below.
383 STAGE4_CFLAGS = $(STAGE_CFLAGS)
384 STAGE4_TFLAGS = $(STAGE_TFLAGS)
385 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
387 # Defaults for stage profile; some are overridden below.
388 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
389 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
390 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
392 # Defaults for stage feedback; some are overridden below.
393 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
394 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
395 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
398 # Only build the C compiler for stage1, because that is the only one that
399 # we can guarantee will build with the native compiler, and also it is the
400 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
401 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
402 # overrideable (for a bootstrap build stage1 also builds gcc.info).
404 STAGE1_CFLAGS = @stage1_cflags@
405 STAGE1_CHECKING=@stage1_checking@
406 STAGE1_LANGUAGES=@stage1_languages@
407 # * We force-disable intermodule optimizations, even if
408 # --enable-intermodule was passed, since the installed compiler
409 # probably can't handle them. Luckily, autoconf always respects
410 # the last argument when conflicting --enable arguments are passed.
411 # * Likewise, we force-disable coverage flags, since the installed
412 # compiler probably has never heard of them.
413 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
414 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
416 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
417 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
419 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
420 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
422 do-compare = @do_compare@
423 do-compare3 = $(do-compare)
425 # -----------------------------------------------
426 # Programs producing files for the TARGET machine
427 # -----------------------------------------------
429 AR_FOR_TARGET=@AR_FOR_TARGET@
430 AS_FOR_TARGET=@AS_FOR_TARGET@
431 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
433 # If GCC_FOR_TARGET is not overriden on the command line, then this
434 # variable is passed down to the gcc Makefile, where it is used to
435 # build libgcc2.a. We define it here so that it can itself be
436 # overridden on the command line.
437 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
438 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
439 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
440 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
441 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
442 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
443 LD_FOR_TARGET=@LD_FOR_TARGET@
445 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
446 NM_FOR_TARGET=@NM_FOR_TARGET@
447 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
448 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
449 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
450 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
451 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
453 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
454 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
455 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
457 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
458 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
460 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
461 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
462 LDFLAGS_FOR_TARGET =
464 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
465 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
466 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
468 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
470 # ------------------------------------
471 # Miscellaneous targets and flag lists
472 # ------------------------------------
474 # The first rule in the file had better be this one. Don't put any above it.
475 # This lives here to allow makefile fragments to contain dependencies.
476 all:
478 #### host and target specific makefile fragments come in here.
479 @target_makefile_frag@
480 @alphaieee_frag@
481 @ospace_frag@
482 @host_makefile_frag@
485 # This is the list of directories that may be needed in RPATH_ENVVAR
486 # so that prorgams built for the target machine work.
487 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
489 @if target-libstdc++-v3
490 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
491 @endif target-libstdc++-v3
493 @if target-libmudflap
494 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
495 @endif target-libmudflap
497 @if target-libssp
498 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
499 @endif target-libssp
501 @if target-libgomp
502 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
503 @endif target-libgomp
507 # This is the list of directories that may be needed in RPATH_ENVVAR
508 # so that programs built for the host machine work.
509 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)
511 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
512 @if gcc
513 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
514 @endif gcc
517 @if bfd
518 HOST_LIB_PATH_bfd = \
519 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
520 @endif bfd
522 @if opcodes
523 HOST_LIB_PATH_opcodes = \
524 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
525 @endif opcodes
527 @if gmp
528 HOST_LIB_PATH_gmp = \
529 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
530 @endif gmp
532 @if mpfr
533 HOST_LIB_PATH_mpfr = \
534 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
535 @endif mpfr
537 @if ppl
538 HOST_LIB_PATH_ppl = \
539 $$r/$(HOST_SUBDIR)/ppl/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/.libs:
540 @endif ppl
542 @if cloog
543 HOST_LIB_PATH_cloog = \
544 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
545 @endif cloog
548 # Flags to pass down to all sub-makes.
549 BASE_FLAGS_TO_PASS = \
550 "DESTDIR=$(DESTDIR)" \
551 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
552 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
553 "bindir=$(bindir)" \
554 "datadir=$(datadir)" \
555 "exec_prefix=$(exec_prefix)" \
556 "includedir=$(includedir)" \
557 "datarootdir=$(datarootdir)" \
558 "docdir=$(docdir)" \
559 "infodir=$(infodir)" \
560 "pdfdir=$(pdfdir)" \
561 "htmldir=$(htmldir)" \
562 "libdir=$(libdir)" \
563 "libexecdir=$(libexecdir)" \
564 "lispdir=$(lispdir)" \
565 "localstatedir=$(localstatedir)" \
566 "mandir=$(mandir)" \
567 "oldincludedir=$(oldincludedir)" \
568 "prefix=$(prefix)" \
569 "sbindir=$(sbindir)" \
570 "sharedstatedir=$(sharedstatedir)" \
571 "sysconfdir=$(sysconfdir)" \
572 "tooldir=$(tooldir)" \
573 "build_tooldir=$(build_tooldir)" \
574 "target_alias=$(target_alias)" \
575 "BISON=$(BISON)" \
576 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
577 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
578 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
579 "EXPECT=$(EXPECT)" \
580 "FLEX=$(FLEX)" \
581 "INSTALL=$(INSTALL)" \
582 "INSTALL_DATA=$(INSTALL_DATA)" \
583 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
584 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
585 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
586 "LEX=$(LEX)" \
587 "M4=$(M4)" \
588 "MAKE=$(MAKE)" \
589 "RUNTEST=$(RUNTEST)" \
590 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
591 "SHELL=$(SHELL)" \
592 "YACC=$(YACC)" \
593 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
594 "ADA_CFLAGS=$(ADA_CFLAGS)" \
595 "AR_FLAGS=$(AR_FLAGS)" \
596 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
597 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
598 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
599 "CFLAGS=$(CFLAGS)" \
600 "CXXFLAGS=$(CXXFLAGS)" \
601 "LDFLAGS=$(LDFLAGS)" \
602 "LIBCFLAGS=$(LIBCFLAGS)" \
603 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
604 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
605 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
606 "GNATBIND=$(GNATBIND)" \
607 "GNATMAKE=$(GNATMAKE)" \
608 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
609 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
610 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
611 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
612 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
613 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
614 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
615 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
616 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
617 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
618 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
619 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
620 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
621 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
622 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
623 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
624 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
625 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
626 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
627 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
628 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
629 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
630 "BUILD_CONFIG=$(BUILD_CONFIG)" \
631 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
632 "LEAN=$(LEAN)" \
633 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
634 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
635 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
636 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
637 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
638 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
639 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
640 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
641 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
642 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
643 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
644 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
645 "TFLAGS=$(TFLAGS)" \
646 "CONFIG_SHELL=$(SHELL)" \
647 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
649 # We leave this in just in case, but it is not needed anymore.
650 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
652 # Flags to pass down to most sub-makes, in which we're building with
653 # the host environment.
654 EXTRA_HOST_FLAGS = \
655 'AR=$(AR)' \
656 'AS=$(AS)' \
657 'CC=$(CC)' \
658 'CXX=$(CXX)' \
659 'DLLTOOL=$(DLLTOOL)' \
660 'GCJ=$(GCJ)' \
661 'GFORTRAN=$(GFORTRAN)' \
662 'LD=$(LD)' \
663 'LIPO=$(LIPO)' \
664 'NM=$(NM)' \
665 'OBJDUMP=$(OBJDUMP)' \
666 'RANLIB=$(RANLIB)' \
667 'STRIP=$(STRIP)' \
668 'WINDRES=$(WINDRES)' \
669 'WINDMC=$(WINDMC)'
671 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
673 # Flags that are concerned with the location of the X11 include files
674 # and library files
676 # NOTE: until the top-level is getting the values via autoconf, it only
677 # causes problems to have this top-level Makefile overriding the autoconf-set
678 # values in child directories. Only variables that don't conflict with
679 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
681 X11_FLAGS_TO_PASS = \
682 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
683 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
685 # Flags to pass to stage2 and later makes.
687 POSTSTAGE1_FLAGS_TO_PASS = \
688 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" GNATBIND="$${GNATBIND}" \
689 LDFLAGS="$(BOOT_LDFLAGS)" \
690 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
692 # Flags to pass down to makes which are built with the target environment.
693 # The double $ decreases the length of the command line; those variables
694 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
695 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
696 # so we expand them here.
697 EXTRA_TARGET_FLAGS = \
698 'AR=$$(AR_FOR_TARGET)' \
699 'AS=$(COMPILER_AS_FOR_TARGET)' \
700 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
701 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
702 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
703 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
704 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
705 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
706 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
707 'LD=$(COMPILER_LD_FOR_TARGET)' \
708 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
709 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
710 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
711 'NM=$(COMPILER_NM_FOR_TARGET)' \
712 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
713 'RANLIB=$$(RANLIB_FOR_TARGET)' \
714 'WINDRES=$$(WINDRES_FOR_TARGET)' \
715 'WINDMC=$$(WINDMC_FOR_TARGET)' \
716 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
717 "TFLAGS=$$TFLAGS"
719 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
721 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
722 # unfortunately needs the native compiler and the target ar and
723 # ranlib.
724 # If any variables are added here, they must be added to do-*, below.
725 # The BUILD_* variables are a special case, which are used for the gcc
726 # cross-building scheme.
727 EXTRA_GCC_FLAGS = \
728 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
729 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
730 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
731 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
732 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
733 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
735 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
737 @if gcc
738 BUILD_CONFIG =
739 ifneq ($(BUILD_CONFIG),)
740 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
741 endif
742 @endif gcc
744 .PHONY: configure-host
745 configure-host: \
746 maybe-configure-ash \
747 maybe-configure-autoconf \
748 maybe-configure-automake \
749 maybe-configure-bash \
750 maybe-configure-bfd \
751 maybe-configure-opcodes \
752 maybe-configure-binutils \
753 maybe-configure-bison \
754 maybe-configure-byacc \
755 maybe-configure-bzip2 \
756 maybe-configure-cgen \
757 maybe-configure-dejagnu \
758 maybe-configure-diff \
759 maybe-configure-dosutils \
760 maybe-configure-etc \
761 maybe-configure-fastjar \
762 maybe-configure-fileutils \
763 maybe-configure-findutils \
764 maybe-configure-find \
765 maybe-configure-fixincludes \
766 maybe-configure-flex \
767 maybe-configure-gas \
768 maybe-configure-gcc \
769 maybe-configure-gawk \
770 maybe-configure-gettext \
771 maybe-configure-gmp \
772 maybe-configure-mpfr \
773 maybe-configure-ppl \
774 maybe-configure-cloog \
775 maybe-configure-gnuserv \
776 maybe-configure-gold \
777 maybe-configure-gprof \
778 maybe-configure-gzip \
779 maybe-configure-hello \
780 maybe-configure-indent \
781 maybe-configure-intl \
782 maybe-configure-tcl \
783 maybe-configure-itcl \
784 maybe-configure-ld \
785 maybe-configure-libcpp \
786 maybe-configure-libdecnumber \
787 maybe-configure-libgui \
788 maybe-configure-libiberty \
789 maybe-configure-libiconv \
790 maybe-configure-libtool \
791 maybe-configure-m4 \
792 maybe-configure-make \
793 maybe-configure-mmalloc \
794 maybe-configure-patch \
795 maybe-configure-perl \
796 maybe-configure-prms \
797 maybe-configure-rcs \
798 maybe-configure-readline \
799 maybe-configure-release \
800 maybe-configure-recode \
801 maybe-configure-sed \
802 maybe-configure-send-pr \
803 maybe-configure-shellutils \
804 maybe-configure-sid \
805 maybe-configure-sim \
806 maybe-configure-tar \
807 maybe-configure-texinfo \
808 maybe-configure-textutils \
809 maybe-configure-time \
810 maybe-configure-uudecode \
811 maybe-configure-wdiff \
812 maybe-configure-zip \
813 maybe-configure-zlib \
814 maybe-configure-gdb \
815 maybe-configure-expect \
816 maybe-configure-guile \
817 maybe-configure-tk \
818 maybe-configure-libtermcap \
819 maybe-configure-utils \
820 maybe-configure-gnattools
821 .PHONY: configure-target
822 configure-target: \
823 maybe-configure-target-libstdc++-v3 \
824 maybe-configure-target-libmudflap \
825 maybe-configure-target-libssp \
826 maybe-configure-target-newlib \
827 maybe-configure-target-libgcc \
828 maybe-configure-target-libgfortran \
829 maybe-configure-target-libobjc \
830 maybe-configure-target-libtermcap \
831 maybe-configure-target-winsup \
832 maybe-configure-target-libgloss \
833 maybe-configure-target-libiberty \
834 maybe-configure-target-gperf \
835 maybe-configure-target-examples \
836 maybe-configure-target-libffi \
837 maybe-configure-target-libjava \
838 maybe-configure-target-zlib \
839 maybe-configure-target-boehm-gc \
840 maybe-configure-target-qthreads \
841 maybe-configure-target-rda \
842 maybe-configure-target-libada \
843 maybe-configure-target-libgomp
845 # The target built for a native non-bootstrap build.
846 .PHONY: all
847 all:
848 @if gcc-bootstrap
849 [ -f stage_final ] || echo stage3 > stage_final
850 @r=`${PWD_COMMAND}`; export r; \
851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
852 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
853 @endif gcc-bootstrap
854 @: $(MAKE); $(unstage)
855 @r=`${PWD_COMMAND}`; export r; \
856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
857 @if gcc-bootstrap
858 if [ -f stage_last ]; then \
859 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
860 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
861 else \
862 @endif gcc-bootstrap
863 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
864 @if gcc-bootstrap
866 fi \
867 @endif gcc-bootstrap
868 && :
870 .PHONY: all-build
872 all-build: maybe-all-build-libiberty
873 all-build: maybe-all-build-bison
874 all-build: maybe-all-build-byacc
875 all-build: maybe-all-build-flex
876 all-build: maybe-all-build-m4
877 all-build: maybe-all-build-texinfo
878 all-build: maybe-all-build-fixincludes
880 .PHONY: all-host
882 all-host: maybe-all-ash
883 all-host: maybe-all-autoconf
884 all-host: maybe-all-automake
885 all-host: maybe-all-bash
886 @if bfd-no-bootstrap
887 all-host: maybe-all-bfd
888 @endif bfd-no-bootstrap
889 @if opcodes-no-bootstrap
890 all-host: maybe-all-opcodes
891 @endif opcodes-no-bootstrap
892 @if binutils-no-bootstrap
893 all-host: maybe-all-binutils
894 @endif binutils-no-bootstrap
895 all-host: maybe-all-bison
896 all-host: maybe-all-byacc
897 all-host: maybe-all-bzip2
898 all-host: maybe-all-cgen
899 all-host: maybe-all-dejagnu
900 all-host: maybe-all-diff
901 all-host: maybe-all-dosutils
902 all-host: maybe-all-etc
903 all-host: maybe-all-fastjar
904 all-host: maybe-all-fileutils
905 all-host: maybe-all-findutils
906 all-host: maybe-all-find
907 all-host: maybe-all-fixincludes
908 all-host: maybe-all-flex
909 @if gas-no-bootstrap
910 all-host: maybe-all-gas
911 @endif gas-no-bootstrap
912 @if gcc-no-bootstrap
913 all-host: maybe-all-gcc
914 @endif gcc-no-bootstrap
915 all-host: maybe-all-gawk
916 all-host: maybe-all-gettext
917 @if gmp-no-bootstrap
918 all-host: maybe-all-gmp
919 @endif gmp-no-bootstrap
920 @if mpfr-no-bootstrap
921 all-host: maybe-all-mpfr
922 @endif mpfr-no-bootstrap
923 @if ppl-no-bootstrap
924 all-host: maybe-all-ppl
925 @endif ppl-no-bootstrap
926 @if cloog-no-bootstrap
927 all-host: maybe-all-cloog
928 @endif cloog-no-bootstrap
929 all-host: maybe-all-gnuserv
930 @if gold-no-bootstrap
931 all-host: maybe-all-gold
932 @endif gold-no-bootstrap
933 all-host: maybe-all-gprof
934 all-host: maybe-all-gzip
935 all-host: maybe-all-hello
936 all-host: maybe-all-indent
937 @if intl-no-bootstrap
938 all-host: maybe-all-intl
939 @endif intl-no-bootstrap
940 all-host: maybe-all-tcl
941 all-host: maybe-all-itcl
942 @if ld-no-bootstrap
943 all-host: maybe-all-ld
944 @endif ld-no-bootstrap
945 @if libcpp-no-bootstrap
946 all-host: maybe-all-libcpp
947 @endif libcpp-no-bootstrap
948 @if libdecnumber-no-bootstrap
949 all-host: maybe-all-libdecnumber
950 @endif libdecnumber-no-bootstrap
951 all-host: maybe-all-libgui
952 @if libiberty-no-bootstrap
953 all-host: maybe-all-libiberty
954 @endif libiberty-no-bootstrap
955 all-host: maybe-all-libiconv
956 all-host: maybe-all-libtool
957 all-host: maybe-all-m4
958 all-host: maybe-all-make
959 all-host: maybe-all-mmalloc
960 all-host: maybe-all-patch
961 all-host: maybe-all-perl
962 all-host: maybe-all-prms
963 all-host: maybe-all-rcs
964 all-host: maybe-all-readline
965 all-host: maybe-all-release
966 all-host: maybe-all-recode
967 all-host: maybe-all-sed
968 all-host: maybe-all-send-pr
969 all-host: maybe-all-shellutils
970 all-host: maybe-all-sid
971 all-host: maybe-all-sim
972 all-host: maybe-all-tar
973 all-host: maybe-all-texinfo
974 all-host: maybe-all-textutils
975 all-host: maybe-all-time
976 all-host: maybe-all-uudecode
977 all-host: maybe-all-wdiff
978 all-host: maybe-all-zip
979 @if zlib-no-bootstrap
980 all-host: maybe-all-zlib
981 @endif zlib-no-bootstrap
982 all-host: maybe-all-gdb
983 all-host: maybe-all-expect
984 all-host: maybe-all-guile
985 all-host: maybe-all-tk
986 all-host: maybe-all-libtermcap
987 all-host: maybe-all-utils
988 all-host: maybe-all-gnattools
990 .PHONY: all-target
992 all-target: maybe-all-target-libstdc++-v3
993 all-target: maybe-all-target-libmudflap
994 all-target: maybe-all-target-libssp
995 all-target: maybe-all-target-newlib
996 @if target-libgcc-no-bootstrap
997 all-target: maybe-all-target-libgcc
998 @endif target-libgcc-no-bootstrap
999 all-target: maybe-all-target-libgfortran
1000 all-target: maybe-all-target-libobjc
1001 all-target: maybe-all-target-libtermcap
1002 all-target: maybe-all-target-winsup
1003 all-target: maybe-all-target-libgloss
1004 all-target: maybe-all-target-libiberty
1005 all-target: maybe-all-target-gperf
1006 all-target: maybe-all-target-examples
1007 all-target: maybe-all-target-libffi
1008 all-target: maybe-all-target-libjava
1009 all-target: maybe-all-target-zlib
1010 all-target: maybe-all-target-boehm-gc
1011 all-target: maybe-all-target-qthreads
1012 all-target: maybe-all-target-rda
1013 all-target: maybe-all-target-libada
1014 all-target: maybe-all-target-libgomp
1016 # Do a target for all the subdirectories. A ``make do-X'' will do a
1017 # ``make X'' in all subdirectories (because, in general, there is a
1018 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1019 # but it may do additional work as well).
1021 .PHONY: do-info
1022 do-info:
1023 @: $(MAKE); $(unstage)
1024 @r=`${PWD_COMMAND}`; export r; \
1025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1026 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1027 info-target
1030 .PHONY: info-host
1032 info-host: maybe-info-ash
1033 info-host: maybe-info-autoconf
1034 info-host: maybe-info-automake
1035 info-host: maybe-info-bash
1036 info-host: maybe-info-bfd
1037 info-host: maybe-info-opcodes
1038 info-host: maybe-info-binutils
1039 info-host: maybe-info-bison
1040 info-host: maybe-info-byacc
1041 info-host: maybe-info-bzip2
1042 info-host: maybe-info-cgen
1043 info-host: maybe-info-dejagnu
1044 info-host: maybe-info-diff
1045 info-host: maybe-info-dosutils
1046 info-host: maybe-info-etc
1047 info-host: maybe-info-fastjar
1048 info-host: maybe-info-fileutils
1049 info-host: maybe-info-findutils
1050 info-host: maybe-info-find
1051 info-host: maybe-info-fixincludes
1052 info-host: maybe-info-flex
1053 info-host: maybe-info-gas
1054 info-host: maybe-info-gcc
1055 info-host: maybe-info-gawk
1056 info-host: maybe-info-gettext
1057 info-host: maybe-info-gmp
1058 info-host: maybe-info-mpfr
1059 info-host: maybe-info-ppl
1060 info-host: maybe-info-cloog
1061 info-host: maybe-info-gnuserv
1062 info-host: maybe-info-gold
1063 info-host: maybe-info-gprof
1064 info-host: maybe-info-gzip
1065 info-host: maybe-info-hello
1066 info-host: maybe-info-indent
1067 info-host: maybe-info-intl
1068 info-host: maybe-info-tcl
1069 info-host: maybe-info-itcl
1070 info-host: maybe-info-ld
1071 info-host: maybe-info-libcpp
1072 info-host: maybe-info-libdecnumber
1073 info-host: maybe-info-libgui
1074 info-host: maybe-info-libiberty
1075 info-host: maybe-info-libiconv
1076 info-host: maybe-info-libtool
1077 info-host: maybe-info-m4
1078 info-host: maybe-info-make
1079 info-host: maybe-info-mmalloc
1080 info-host: maybe-info-patch
1081 info-host: maybe-info-perl
1082 info-host: maybe-info-prms
1083 info-host: maybe-info-rcs
1084 info-host: maybe-info-readline
1085 info-host: maybe-info-release
1086 info-host: maybe-info-recode
1087 info-host: maybe-info-sed
1088 info-host: maybe-info-send-pr
1089 info-host: maybe-info-shellutils
1090 info-host: maybe-info-sid
1091 info-host: maybe-info-sim
1092 info-host: maybe-info-tar
1093 info-host: maybe-info-texinfo
1094 info-host: maybe-info-textutils
1095 info-host: maybe-info-time
1096 info-host: maybe-info-uudecode
1097 info-host: maybe-info-wdiff
1098 info-host: maybe-info-zip
1099 info-host: maybe-info-zlib
1100 info-host: maybe-info-gdb
1101 info-host: maybe-info-expect
1102 info-host: maybe-info-guile
1103 info-host: maybe-info-tk
1104 info-host: maybe-info-libtermcap
1105 info-host: maybe-info-utils
1106 info-host: maybe-info-gnattools
1108 .PHONY: info-target
1110 info-target: maybe-info-target-libstdc++-v3
1111 info-target: maybe-info-target-libmudflap
1112 info-target: maybe-info-target-libssp
1113 info-target: maybe-info-target-newlib
1114 info-target: maybe-info-target-libgcc
1115 info-target: maybe-info-target-libgfortran
1116 info-target: maybe-info-target-libobjc
1117 info-target: maybe-info-target-libtermcap
1118 info-target: maybe-info-target-winsup
1119 info-target: maybe-info-target-libgloss
1120 info-target: maybe-info-target-libiberty
1121 info-target: maybe-info-target-gperf
1122 info-target: maybe-info-target-examples
1123 info-target: maybe-info-target-libffi
1124 info-target: maybe-info-target-libjava
1125 info-target: maybe-info-target-zlib
1126 info-target: maybe-info-target-boehm-gc
1127 info-target: maybe-info-target-qthreads
1128 info-target: maybe-info-target-rda
1129 info-target: maybe-info-target-libada
1130 info-target: maybe-info-target-libgomp
1132 .PHONY: do-dvi
1133 do-dvi:
1134 @: $(MAKE); $(unstage)
1135 @r=`${PWD_COMMAND}`; export r; \
1136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1137 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1138 dvi-target
1141 .PHONY: dvi-host
1143 dvi-host: maybe-dvi-ash
1144 dvi-host: maybe-dvi-autoconf
1145 dvi-host: maybe-dvi-automake
1146 dvi-host: maybe-dvi-bash
1147 dvi-host: maybe-dvi-bfd
1148 dvi-host: maybe-dvi-opcodes
1149 dvi-host: maybe-dvi-binutils
1150 dvi-host: maybe-dvi-bison
1151 dvi-host: maybe-dvi-byacc
1152 dvi-host: maybe-dvi-bzip2
1153 dvi-host: maybe-dvi-cgen
1154 dvi-host: maybe-dvi-dejagnu
1155 dvi-host: maybe-dvi-diff
1156 dvi-host: maybe-dvi-dosutils
1157 dvi-host: maybe-dvi-etc
1158 dvi-host: maybe-dvi-fastjar
1159 dvi-host: maybe-dvi-fileutils
1160 dvi-host: maybe-dvi-findutils
1161 dvi-host: maybe-dvi-find
1162 dvi-host: maybe-dvi-fixincludes
1163 dvi-host: maybe-dvi-flex
1164 dvi-host: maybe-dvi-gas
1165 dvi-host: maybe-dvi-gcc
1166 dvi-host: maybe-dvi-gawk
1167 dvi-host: maybe-dvi-gettext
1168 dvi-host: maybe-dvi-gmp
1169 dvi-host: maybe-dvi-mpfr
1170 dvi-host: maybe-dvi-ppl
1171 dvi-host: maybe-dvi-cloog
1172 dvi-host: maybe-dvi-gnuserv
1173 dvi-host: maybe-dvi-gold
1174 dvi-host: maybe-dvi-gprof
1175 dvi-host: maybe-dvi-gzip
1176 dvi-host: maybe-dvi-hello
1177 dvi-host: maybe-dvi-indent
1178 dvi-host: maybe-dvi-intl
1179 dvi-host: maybe-dvi-tcl
1180 dvi-host: maybe-dvi-itcl
1181 dvi-host: maybe-dvi-ld
1182 dvi-host: maybe-dvi-libcpp
1183 dvi-host: maybe-dvi-libdecnumber
1184 dvi-host: maybe-dvi-libgui
1185 dvi-host: maybe-dvi-libiberty
1186 dvi-host: maybe-dvi-libiconv
1187 dvi-host: maybe-dvi-libtool
1188 dvi-host: maybe-dvi-m4
1189 dvi-host: maybe-dvi-make
1190 dvi-host: maybe-dvi-mmalloc
1191 dvi-host: maybe-dvi-patch
1192 dvi-host: maybe-dvi-perl
1193 dvi-host: maybe-dvi-prms
1194 dvi-host: maybe-dvi-rcs
1195 dvi-host: maybe-dvi-readline
1196 dvi-host: maybe-dvi-release
1197 dvi-host: maybe-dvi-recode
1198 dvi-host: maybe-dvi-sed
1199 dvi-host: maybe-dvi-send-pr
1200 dvi-host: maybe-dvi-shellutils
1201 dvi-host: maybe-dvi-sid
1202 dvi-host: maybe-dvi-sim
1203 dvi-host: maybe-dvi-tar
1204 dvi-host: maybe-dvi-texinfo
1205 dvi-host: maybe-dvi-textutils
1206 dvi-host: maybe-dvi-time
1207 dvi-host: maybe-dvi-uudecode
1208 dvi-host: maybe-dvi-wdiff
1209 dvi-host: maybe-dvi-zip
1210 dvi-host: maybe-dvi-zlib
1211 dvi-host: maybe-dvi-gdb
1212 dvi-host: maybe-dvi-expect
1213 dvi-host: maybe-dvi-guile
1214 dvi-host: maybe-dvi-tk
1215 dvi-host: maybe-dvi-libtermcap
1216 dvi-host: maybe-dvi-utils
1217 dvi-host: maybe-dvi-gnattools
1219 .PHONY: dvi-target
1221 dvi-target: maybe-dvi-target-libstdc++-v3
1222 dvi-target: maybe-dvi-target-libmudflap
1223 dvi-target: maybe-dvi-target-libssp
1224 dvi-target: maybe-dvi-target-newlib
1225 dvi-target: maybe-dvi-target-libgcc
1226 dvi-target: maybe-dvi-target-libgfortran
1227 dvi-target: maybe-dvi-target-libobjc
1228 dvi-target: maybe-dvi-target-libtermcap
1229 dvi-target: maybe-dvi-target-winsup
1230 dvi-target: maybe-dvi-target-libgloss
1231 dvi-target: maybe-dvi-target-libiberty
1232 dvi-target: maybe-dvi-target-gperf
1233 dvi-target: maybe-dvi-target-examples
1234 dvi-target: maybe-dvi-target-libffi
1235 dvi-target: maybe-dvi-target-libjava
1236 dvi-target: maybe-dvi-target-zlib
1237 dvi-target: maybe-dvi-target-boehm-gc
1238 dvi-target: maybe-dvi-target-qthreads
1239 dvi-target: maybe-dvi-target-rda
1240 dvi-target: maybe-dvi-target-libada
1241 dvi-target: maybe-dvi-target-libgomp
1243 .PHONY: do-pdf
1244 do-pdf:
1245 @: $(MAKE); $(unstage)
1246 @r=`${PWD_COMMAND}`; export r; \
1247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1248 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1249 pdf-target
1252 .PHONY: pdf-host
1254 pdf-host: maybe-pdf-ash
1255 pdf-host: maybe-pdf-autoconf
1256 pdf-host: maybe-pdf-automake
1257 pdf-host: maybe-pdf-bash
1258 pdf-host: maybe-pdf-bfd
1259 pdf-host: maybe-pdf-opcodes
1260 pdf-host: maybe-pdf-binutils
1261 pdf-host: maybe-pdf-bison
1262 pdf-host: maybe-pdf-byacc
1263 pdf-host: maybe-pdf-bzip2
1264 pdf-host: maybe-pdf-cgen
1265 pdf-host: maybe-pdf-dejagnu
1266 pdf-host: maybe-pdf-diff
1267 pdf-host: maybe-pdf-dosutils
1268 pdf-host: maybe-pdf-etc
1269 pdf-host: maybe-pdf-fastjar
1270 pdf-host: maybe-pdf-fileutils
1271 pdf-host: maybe-pdf-findutils
1272 pdf-host: maybe-pdf-find
1273 pdf-host: maybe-pdf-fixincludes
1274 pdf-host: maybe-pdf-flex
1275 pdf-host: maybe-pdf-gas
1276 pdf-host: maybe-pdf-gcc
1277 pdf-host: maybe-pdf-gawk
1278 pdf-host: maybe-pdf-gettext
1279 pdf-host: maybe-pdf-gmp
1280 pdf-host: maybe-pdf-mpfr
1281 pdf-host: maybe-pdf-ppl
1282 pdf-host: maybe-pdf-cloog
1283 pdf-host: maybe-pdf-gnuserv
1284 pdf-host: maybe-pdf-gold
1285 pdf-host: maybe-pdf-gprof
1286 pdf-host: maybe-pdf-gzip
1287 pdf-host: maybe-pdf-hello
1288 pdf-host: maybe-pdf-indent
1289 pdf-host: maybe-pdf-intl
1290 pdf-host: maybe-pdf-tcl
1291 pdf-host: maybe-pdf-itcl
1292 pdf-host: maybe-pdf-ld
1293 pdf-host: maybe-pdf-libcpp
1294 pdf-host: maybe-pdf-libdecnumber
1295 pdf-host: maybe-pdf-libgui
1296 pdf-host: maybe-pdf-libiberty
1297 pdf-host: maybe-pdf-libiconv
1298 pdf-host: maybe-pdf-libtool
1299 pdf-host: maybe-pdf-m4
1300 pdf-host: maybe-pdf-make
1301 pdf-host: maybe-pdf-mmalloc
1302 pdf-host: maybe-pdf-patch
1303 pdf-host: maybe-pdf-perl
1304 pdf-host: maybe-pdf-prms
1305 pdf-host: maybe-pdf-rcs
1306 pdf-host: maybe-pdf-readline
1307 pdf-host: maybe-pdf-release
1308 pdf-host: maybe-pdf-recode
1309 pdf-host: maybe-pdf-sed
1310 pdf-host: maybe-pdf-send-pr
1311 pdf-host: maybe-pdf-shellutils
1312 pdf-host: maybe-pdf-sid
1313 pdf-host: maybe-pdf-sim
1314 pdf-host: maybe-pdf-tar
1315 pdf-host: maybe-pdf-texinfo
1316 pdf-host: maybe-pdf-textutils
1317 pdf-host: maybe-pdf-time
1318 pdf-host: maybe-pdf-uudecode
1319 pdf-host: maybe-pdf-wdiff
1320 pdf-host: maybe-pdf-zip
1321 pdf-host: maybe-pdf-zlib
1322 pdf-host: maybe-pdf-gdb
1323 pdf-host: maybe-pdf-expect
1324 pdf-host: maybe-pdf-guile
1325 pdf-host: maybe-pdf-tk
1326 pdf-host: maybe-pdf-libtermcap
1327 pdf-host: maybe-pdf-utils
1328 pdf-host: maybe-pdf-gnattools
1330 .PHONY: pdf-target
1332 pdf-target: maybe-pdf-target-libstdc++-v3
1333 pdf-target: maybe-pdf-target-libmudflap
1334 pdf-target: maybe-pdf-target-libssp
1335 pdf-target: maybe-pdf-target-newlib
1336 pdf-target: maybe-pdf-target-libgcc
1337 pdf-target: maybe-pdf-target-libgfortran
1338 pdf-target: maybe-pdf-target-libobjc
1339 pdf-target: maybe-pdf-target-libtermcap
1340 pdf-target: maybe-pdf-target-winsup
1341 pdf-target: maybe-pdf-target-libgloss
1342 pdf-target: maybe-pdf-target-libiberty
1343 pdf-target: maybe-pdf-target-gperf
1344 pdf-target: maybe-pdf-target-examples
1345 pdf-target: maybe-pdf-target-libffi
1346 pdf-target: maybe-pdf-target-libjava
1347 pdf-target: maybe-pdf-target-zlib
1348 pdf-target: maybe-pdf-target-boehm-gc
1349 pdf-target: maybe-pdf-target-qthreads
1350 pdf-target: maybe-pdf-target-rda
1351 pdf-target: maybe-pdf-target-libada
1352 pdf-target: maybe-pdf-target-libgomp
1354 .PHONY: do-html
1355 do-html:
1356 @: $(MAKE); $(unstage)
1357 @r=`${PWD_COMMAND}`; export r; \
1358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1359 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1360 html-target
1363 .PHONY: html-host
1365 html-host: maybe-html-ash
1366 html-host: maybe-html-autoconf
1367 html-host: maybe-html-automake
1368 html-host: maybe-html-bash
1369 html-host: maybe-html-bfd
1370 html-host: maybe-html-opcodes
1371 html-host: maybe-html-binutils
1372 html-host: maybe-html-bison
1373 html-host: maybe-html-byacc
1374 html-host: maybe-html-bzip2
1375 html-host: maybe-html-cgen
1376 html-host: maybe-html-dejagnu
1377 html-host: maybe-html-diff
1378 html-host: maybe-html-dosutils
1379 html-host: maybe-html-etc
1380 html-host: maybe-html-fastjar
1381 html-host: maybe-html-fileutils
1382 html-host: maybe-html-findutils
1383 html-host: maybe-html-find
1384 html-host: maybe-html-fixincludes
1385 html-host: maybe-html-flex
1386 html-host: maybe-html-gas
1387 html-host: maybe-html-gcc
1388 html-host: maybe-html-gawk
1389 html-host: maybe-html-gettext
1390 html-host: maybe-html-gmp
1391 html-host: maybe-html-mpfr
1392 html-host: maybe-html-ppl
1393 html-host: maybe-html-cloog
1394 html-host: maybe-html-gnuserv
1395 html-host: maybe-html-gold
1396 html-host: maybe-html-gprof
1397 html-host: maybe-html-gzip
1398 html-host: maybe-html-hello
1399 html-host: maybe-html-indent
1400 html-host: maybe-html-intl
1401 html-host: maybe-html-tcl
1402 html-host: maybe-html-itcl
1403 html-host: maybe-html-ld
1404 html-host: maybe-html-libcpp
1405 html-host: maybe-html-libdecnumber
1406 html-host: maybe-html-libgui
1407 html-host: maybe-html-libiberty
1408 html-host: maybe-html-libiconv
1409 html-host: maybe-html-libtool
1410 html-host: maybe-html-m4
1411 html-host: maybe-html-make
1412 html-host: maybe-html-mmalloc
1413 html-host: maybe-html-patch
1414 html-host: maybe-html-perl
1415 html-host: maybe-html-prms
1416 html-host: maybe-html-rcs
1417 html-host: maybe-html-readline
1418 html-host: maybe-html-release
1419 html-host: maybe-html-recode
1420 html-host: maybe-html-sed
1421 html-host: maybe-html-send-pr
1422 html-host: maybe-html-shellutils
1423 html-host: maybe-html-sid
1424 html-host: maybe-html-sim
1425 html-host: maybe-html-tar
1426 html-host: maybe-html-texinfo
1427 html-host: maybe-html-textutils
1428 html-host: maybe-html-time
1429 html-host: maybe-html-uudecode
1430 html-host: maybe-html-wdiff
1431 html-host: maybe-html-zip
1432 html-host: maybe-html-zlib
1433 html-host: maybe-html-gdb
1434 html-host: maybe-html-expect
1435 html-host: maybe-html-guile
1436 html-host: maybe-html-tk
1437 html-host: maybe-html-libtermcap
1438 html-host: maybe-html-utils
1439 html-host: maybe-html-gnattools
1441 .PHONY: html-target
1443 html-target: maybe-html-target-libstdc++-v3
1444 html-target: maybe-html-target-libmudflap
1445 html-target: maybe-html-target-libssp
1446 html-target: maybe-html-target-newlib
1447 html-target: maybe-html-target-libgcc
1448 html-target: maybe-html-target-libgfortran
1449 html-target: maybe-html-target-libobjc
1450 html-target: maybe-html-target-libtermcap
1451 html-target: maybe-html-target-winsup
1452 html-target: maybe-html-target-libgloss
1453 html-target: maybe-html-target-libiberty
1454 html-target: maybe-html-target-gperf
1455 html-target: maybe-html-target-examples
1456 html-target: maybe-html-target-libffi
1457 html-target: maybe-html-target-libjava
1458 html-target: maybe-html-target-zlib
1459 html-target: maybe-html-target-boehm-gc
1460 html-target: maybe-html-target-qthreads
1461 html-target: maybe-html-target-rda
1462 html-target: maybe-html-target-libada
1463 html-target: maybe-html-target-libgomp
1465 .PHONY: do-TAGS
1466 do-TAGS:
1467 @: $(MAKE); $(unstage)
1468 @r=`${PWD_COMMAND}`; export r; \
1469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1470 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1471 TAGS-target
1474 .PHONY: TAGS-host
1476 TAGS-host: maybe-TAGS-ash
1477 TAGS-host: maybe-TAGS-autoconf
1478 TAGS-host: maybe-TAGS-automake
1479 TAGS-host: maybe-TAGS-bash
1480 TAGS-host: maybe-TAGS-bfd
1481 TAGS-host: maybe-TAGS-opcodes
1482 TAGS-host: maybe-TAGS-binutils
1483 TAGS-host: maybe-TAGS-bison
1484 TAGS-host: maybe-TAGS-byacc
1485 TAGS-host: maybe-TAGS-bzip2
1486 TAGS-host: maybe-TAGS-cgen
1487 TAGS-host: maybe-TAGS-dejagnu
1488 TAGS-host: maybe-TAGS-diff
1489 TAGS-host: maybe-TAGS-dosutils
1490 TAGS-host: maybe-TAGS-etc
1491 TAGS-host: maybe-TAGS-fastjar
1492 TAGS-host: maybe-TAGS-fileutils
1493 TAGS-host: maybe-TAGS-findutils
1494 TAGS-host: maybe-TAGS-find
1495 TAGS-host: maybe-TAGS-fixincludes
1496 TAGS-host: maybe-TAGS-flex
1497 TAGS-host: maybe-TAGS-gas
1498 TAGS-host: maybe-TAGS-gcc
1499 TAGS-host: maybe-TAGS-gawk
1500 TAGS-host: maybe-TAGS-gettext
1501 TAGS-host: maybe-TAGS-gmp
1502 TAGS-host: maybe-TAGS-mpfr
1503 TAGS-host: maybe-TAGS-ppl
1504 TAGS-host: maybe-TAGS-cloog
1505 TAGS-host: maybe-TAGS-gnuserv
1506 TAGS-host: maybe-TAGS-gold
1507 TAGS-host: maybe-TAGS-gprof
1508 TAGS-host: maybe-TAGS-gzip
1509 TAGS-host: maybe-TAGS-hello
1510 TAGS-host: maybe-TAGS-indent
1511 TAGS-host: maybe-TAGS-intl
1512 TAGS-host: maybe-TAGS-tcl
1513 TAGS-host: maybe-TAGS-itcl
1514 TAGS-host: maybe-TAGS-ld
1515 TAGS-host: maybe-TAGS-libcpp
1516 TAGS-host: maybe-TAGS-libdecnumber
1517 TAGS-host: maybe-TAGS-libgui
1518 TAGS-host: maybe-TAGS-libiberty
1519 TAGS-host: maybe-TAGS-libiconv
1520 TAGS-host: maybe-TAGS-libtool
1521 TAGS-host: maybe-TAGS-m4
1522 TAGS-host: maybe-TAGS-make
1523 TAGS-host: maybe-TAGS-mmalloc
1524 TAGS-host: maybe-TAGS-patch
1525 TAGS-host: maybe-TAGS-perl
1526 TAGS-host: maybe-TAGS-prms
1527 TAGS-host: maybe-TAGS-rcs
1528 TAGS-host: maybe-TAGS-readline
1529 TAGS-host: maybe-TAGS-release
1530 TAGS-host: maybe-TAGS-recode
1531 TAGS-host: maybe-TAGS-sed
1532 TAGS-host: maybe-TAGS-send-pr
1533 TAGS-host: maybe-TAGS-shellutils
1534 TAGS-host: maybe-TAGS-sid
1535 TAGS-host: maybe-TAGS-sim
1536 TAGS-host: maybe-TAGS-tar
1537 TAGS-host: maybe-TAGS-texinfo
1538 TAGS-host: maybe-TAGS-textutils
1539 TAGS-host: maybe-TAGS-time
1540 TAGS-host: maybe-TAGS-uudecode
1541 TAGS-host: maybe-TAGS-wdiff
1542 TAGS-host: maybe-TAGS-zip
1543 TAGS-host: maybe-TAGS-zlib
1544 TAGS-host: maybe-TAGS-gdb
1545 TAGS-host: maybe-TAGS-expect
1546 TAGS-host: maybe-TAGS-guile
1547 TAGS-host: maybe-TAGS-tk
1548 TAGS-host: maybe-TAGS-libtermcap
1549 TAGS-host: maybe-TAGS-utils
1550 TAGS-host: maybe-TAGS-gnattools
1552 .PHONY: TAGS-target
1554 TAGS-target: maybe-TAGS-target-libstdc++-v3
1555 TAGS-target: maybe-TAGS-target-libmudflap
1556 TAGS-target: maybe-TAGS-target-libssp
1557 TAGS-target: maybe-TAGS-target-newlib
1558 TAGS-target: maybe-TAGS-target-libgcc
1559 TAGS-target: maybe-TAGS-target-libgfortran
1560 TAGS-target: maybe-TAGS-target-libobjc
1561 TAGS-target: maybe-TAGS-target-libtermcap
1562 TAGS-target: maybe-TAGS-target-winsup
1563 TAGS-target: maybe-TAGS-target-libgloss
1564 TAGS-target: maybe-TAGS-target-libiberty
1565 TAGS-target: maybe-TAGS-target-gperf
1566 TAGS-target: maybe-TAGS-target-examples
1567 TAGS-target: maybe-TAGS-target-libffi
1568 TAGS-target: maybe-TAGS-target-libjava
1569 TAGS-target: maybe-TAGS-target-zlib
1570 TAGS-target: maybe-TAGS-target-boehm-gc
1571 TAGS-target: maybe-TAGS-target-qthreads
1572 TAGS-target: maybe-TAGS-target-rda
1573 TAGS-target: maybe-TAGS-target-libada
1574 TAGS-target: maybe-TAGS-target-libgomp
1576 .PHONY: do-install-info
1577 do-install-info:
1578 @: $(MAKE); $(unstage)
1579 @r=`${PWD_COMMAND}`; export r; \
1580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1581 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1582 install-info-target
1585 .PHONY: install-info-host
1587 install-info-host: maybe-install-info-ash
1588 install-info-host: maybe-install-info-autoconf
1589 install-info-host: maybe-install-info-automake
1590 install-info-host: maybe-install-info-bash
1591 install-info-host: maybe-install-info-bfd
1592 install-info-host: maybe-install-info-opcodes
1593 install-info-host: maybe-install-info-binutils
1594 install-info-host: maybe-install-info-bison
1595 install-info-host: maybe-install-info-byacc
1596 install-info-host: maybe-install-info-bzip2
1597 install-info-host: maybe-install-info-cgen
1598 install-info-host: maybe-install-info-dejagnu
1599 install-info-host: maybe-install-info-diff
1600 install-info-host: maybe-install-info-dosutils
1601 install-info-host: maybe-install-info-etc
1602 install-info-host: maybe-install-info-fastjar
1603 install-info-host: maybe-install-info-fileutils
1604 install-info-host: maybe-install-info-findutils
1605 install-info-host: maybe-install-info-find
1606 install-info-host: maybe-install-info-fixincludes
1607 install-info-host: maybe-install-info-flex
1608 install-info-host: maybe-install-info-gas
1609 install-info-host: maybe-install-info-gcc
1610 install-info-host: maybe-install-info-gawk
1611 install-info-host: maybe-install-info-gettext
1612 install-info-host: maybe-install-info-gmp
1613 install-info-host: maybe-install-info-mpfr
1614 install-info-host: maybe-install-info-ppl
1615 install-info-host: maybe-install-info-cloog
1616 install-info-host: maybe-install-info-gnuserv
1617 install-info-host: maybe-install-info-gold
1618 install-info-host: maybe-install-info-gprof
1619 install-info-host: maybe-install-info-gzip
1620 install-info-host: maybe-install-info-hello
1621 install-info-host: maybe-install-info-indent
1622 install-info-host: maybe-install-info-intl
1623 install-info-host: maybe-install-info-tcl
1624 install-info-host: maybe-install-info-itcl
1625 install-info-host: maybe-install-info-ld
1626 install-info-host: maybe-install-info-libcpp
1627 install-info-host: maybe-install-info-libdecnumber
1628 install-info-host: maybe-install-info-libgui
1629 install-info-host: maybe-install-info-libiberty
1630 install-info-host: maybe-install-info-libiconv
1631 install-info-host: maybe-install-info-libtool
1632 install-info-host: maybe-install-info-m4
1633 install-info-host: maybe-install-info-make
1634 install-info-host: maybe-install-info-mmalloc
1635 install-info-host: maybe-install-info-patch
1636 install-info-host: maybe-install-info-perl
1637 install-info-host: maybe-install-info-prms
1638 install-info-host: maybe-install-info-rcs
1639 install-info-host: maybe-install-info-readline
1640 install-info-host: maybe-install-info-release
1641 install-info-host: maybe-install-info-recode
1642 install-info-host: maybe-install-info-sed
1643 install-info-host: maybe-install-info-send-pr
1644 install-info-host: maybe-install-info-shellutils
1645 install-info-host: maybe-install-info-sid
1646 install-info-host: maybe-install-info-sim
1647 install-info-host: maybe-install-info-tar
1648 install-info-host: maybe-install-info-texinfo
1649 install-info-host: maybe-install-info-textutils
1650 install-info-host: maybe-install-info-time
1651 install-info-host: maybe-install-info-uudecode
1652 install-info-host: maybe-install-info-wdiff
1653 install-info-host: maybe-install-info-zip
1654 install-info-host: maybe-install-info-zlib
1655 install-info-host: maybe-install-info-gdb
1656 install-info-host: maybe-install-info-expect
1657 install-info-host: maybe-install-info-guile
1658 install-info-host: maybe-install-info-tk
1659 install-info-host: maybe-install-info-libtermcap
1660 install-info-host: maybe-install-info-utils
1661 install-info-host: maybe-install-info-gnattools
1663 .PHONY: install-info-target
1665 install-info-target: maybe-install-info-target-libstdc++-v3
1666 install-info-target: maybe-install-info-target-libmudflap
1667 install-info-target: maybe-install-info-target-libssp
1668 install-info-target: maybe-install-info-target-newlib
1669 install-info-target: maybe-install-info-target-libgcc
1670 install-info-target: maybe-install-info-target-libgfortran
1671 install-info-target: maybe-install-info-target-libobjc
1672 install-info-target: maybe-install-info-target-libtermcap
1673 install-info-target: maybe-install-info-target-winsup
1674 install-info-target: maybe-install-info-target-libgloss
1675 install-info-target: maybe-install-info-target-libiberty
1676 install-info-target: maybe-install-info-target-gperf
1677 install-info-target: maybe-install-info-target-examples
1678 install-info-target: maybe-install-info-target-libffi
1679 install-info-target: maybe-install-info-target-libjava
1680 install-info-target: maybe-install-info-target-zlib
1681 install-info-target: maybe-install-info-target-boehm-gc
1682 install-info-target: maybe-install-info-target-qthreads
1683 install-info-target: maybe-install-info-target-rda
1684 install-info-target: maybe-install-info-target-libada
1685 install-info-target: maybe-install-info-target-libgomp
1687 .PHONY: do-install-pdf
1688 do-install-pdf:
1689 @: $(MAKE); $(unstage)
1690 @r=`${PWD_COMMAND}`; export r; \
1691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1692 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1693 install-pdf-target
1696 .PHONY: install-pdf-host
1698 install-pdf-host: maybe-install-pdf-ash
1699 install-pdf-host: maybe-install-pdf-autoconf
1700 install-pdf-host: maybe-install-pdf-automake
1701 install-pdf-host: maybe-install-pdf-bash
1702 install-pdf-host: maybe-install-pdf-bfd
1703 install-pdf-host: maybe-install-pdf-opcodes
1704 install-pdf-host: maybe-install-pdf-binutils
1705 install-pdf-host: maybe-install-pdf-bison
1706 install-pdf-host: maybe-install-pdf-byacc
1707 install-pdf-host: maybe-install-pdf-bzip2
1708 install-pdf-host: maybe-install-pdf-cgen
1709 install-pdf-host: maybe-install-pdf-dejagnu
1710 install-pdf-host: maybe-install-pdf-diff
1711 install-pdf-host: maybe-install-pdf-dosutils
1712 install-pdf-host: maybe-install-pdf-etc
1713 install-pdf-host: maybe-install-pdf-fastjar
1714 install-pdf-host: maybe-install-pdf-fileutils
1715 install-pdf-host: maybe-install-pdf-findutils
1716 install-pdf-host: maybe-install-pdf-find
1717 install-pdf-host: maybe-install-pdf-fixincludes
1718 install-pdf-host: maybe-install-pdf-flex
1719 install-pdf-host: maybe-install-pdf-gas
1720 install-pdf-host: maybe-install-pdf-gcc
1721 install-pdf-host: maybe-install-pdf-gawk
1722 install-pdf-host: maybe-install-pdf-gettext
1723 install-pdf-host: maybe-install-pdf-gmp
1724 install-pdf-host: maybe-install-pdf-mpfr
1725 install-pdf-host: maybe-install-pdf-ppl
1726 install-pdf-host: maybe-install-pdf-cloog
1727 install-pdf-host: maybe-install-pdf-gnuserv
1728 install-pdf-host: maybe-install-pdf-gold
1729 install-pdf-host: maybe-install-pdf-gprof
1730 install-pdf-host: maybe-install-pdf-gzip
1731 install-pdf-host: maybe-install-pdf-hello
1732 install-pdf-host: maybe-install-pdf-indent
1733 install-pdf-host: maybe-install-pdf-intl
1734 install-pdf-host: maybe-install-pdf-tcl
1735 install-pdf-host: maybe-install-pdf-itcl
1736 install-pdf-host: maybe-install-pdf-ld
1737 install-pdf-host: maybe-install-pdf-libcpp
1738 install-pdf-host: maybe-install-pdf-libdecnumber
1739 install-pdf-host: maybe-install-pdf-libgui
1740 install-pdf-host: maybe-install-pdf-libiberty
1741 install-pdf-host: maybe-install-pdf-libiconv
1742 install-pdf-host: maybe-install-pdf-libtool
1743 install-pdf-host: maybe-install-pdf-m4
1744 install-pdf-host: maybe-install-pdf-make
1745 install-pdf-host: maybe-install-pdf-mmalloc
1746 install-pdf-host: maybe-install-pdf-patch
1747 install-pdf-host: maybe-install-pdf-perl
1748 install-pdf-host: maybe-install-pdf-prms
1749 install-pdf-host: maybe-install-pdf-rcs
1750 install-pdf-host: maybe-install-pdf-readline
1751 install-pdf-host: maybe-install-pdf-release
1752 install-pdf-host: maybe-install-pdf-recode
1753 install-pdf-host: maybe-install-pdf-sed
1754 install-pdf-host: maybe-install-pdf-send-pr
1755 install-pdf-host: maybe-install-pdf-shellutils
1756 install-pdf-host: maybe-install-pdf-sid
1757 install-pdf-host: maybe-install-pdf-sim
1758 install-pdf-host: maybe-install-pdf-tar
1759 install-pdf-host: maybe-install-pdf-texinfo
1760 install-pdf-host: maybe-install-pdf-textutils
1761 install-pdf-host: maybe-install-pdf-time
1762 install-pdf-host: maybe-install-pdf-uudecode
1763 install-pdf-host: maybe-install-pdf-wdiff
1764 install-pdf-host: maybe-install-pdf-zip
1765 install-pdf-host: maybe-install-pdf-zlib
1766 install-pdf-host: maybe-install-pdf-gdb
1767 install-pdf-host: maybe-install-pdf-expect
1768 install-pdf-host: maybe-install-pdf-guile
1769 install-pdf-host: maybe-install-pdf-tk
1770 install-pdf-host: maybe-install-pdf-libtermcap
1771 install-pdf-host: maybe-install-pdf-utils
1772 install-pdf-host: maybe-install-pdf-gnattools
1774 .PHONY: install-pdf-target
1776 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1777 install-pdf-target: maybe-install-pdf-target-libmudflap
1778 install-pdf-target: maybe-install-pdf-target-libssp
1779 install-pdf-target: maybe-install-pdf-target-newlib
1780 install-pdf-target: maybe-install-pdf-target-libgcc
1781 install-pdf-target: maybe-install-pdf-target-libgfortran
1782 install-pdf-target: maybe-install-pdf-target-libobjc
1783 install-pdf-target: maybe-install-pdf-target-libtermcap
1784 install-pdf-target: maybe-install-pdf-target-winsup
1785 install-pdf-target: maybe-install-pdf-target-libgloss
1786 install-pdf-target: maybe-install-pdf-target-libiberty
1787 install-pdf-target: maybe-install-pdf-target-gperf
1788 install-pdf-target: maybe-install-pdf-target-examples
1789 install-pdf-target: maybe-install-pdf-target-libffi
1790 install-pdf-target: maybe-install-pdf-target-libjava
1791 install-pdf-target: maybe-install-pdf-target-zlib
1792 install-pdf-target: maybe-install-pdf-target-boehm-gc
1793 install-pdf-target: maybe-install-pdf-target-qthreads
1794 install-pdf-target: maybe-install-pdf-target-rda
1795 install-pdf-target: maybe-install-pdf-target-libada
1796 install-pdf-target: maybe-install-pdf-target-libgomp
1798 .PHONY: do-install-html
1799 do-install-html:
1800 @: $(MAKE); $(unstage)
1801 @r=`${PWD_COMMAND}`; export r; \
1802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1803 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1804 install-html-target
1807 .PHONY: install-html-host
1809 install-html-host: maybe-install-html-ash
1810 install-html-host: maybe-install-html-autoconf
1811 install-html-host: maybe-install-html-automake
1812 install-html-host: maybe-install-html-bash
1813 install-html-host: maybe-install-html-bfd
1814 install-html-host: maybe-install-html-opcodes
1815 install-html-host: maybe-install-html-binutils
1816 install-html-host: maybe-install-html-bison
1817 install-html-host: maybe-install-html-byacc
1818 install-html-host: maybe-install-html-bzip2
1819 install-html-host: maybe-install-html-cgen
1820 install-html-host: maybe-install-html-dejagnu
1821 install-html-host: maybe-install-html-diff
1822 install-html-host: maybe-install-html-dosutils
1823 install-html-host: maybe-install-html-etc
1824 install-html-host: maybe-install-html-fastjar
1825 install-html-host: maybe-install-html-fileutils
1826 install-html-host: maybe-install-html-findutils
1827 install-html-host: maybe-install-html-find
1828 install-html-host: maybe-install-html-fixincludes
1829 install-html-host: maybe-install-html-flex
1830 install-html-host: maybe-install-html-gas
1831 install-html-host: maybe-install-html-gcc
1832 install-html-host: maybe-install-html-gawk
1833 install-html-host: maybe-install-html-gettext
1834 install-html-host: maybe-install-html-gmp
1835 install-html-host: maybe-install-html-mpfr
1836 install-html-host: maybe-install-html-ppl
1837 install-html-host: maybe-install-html-cloog
1838 install-html-host: maybe-install-html-gnuserv
1839 install-html-host: maybe-install-html-gold
1840 install-html-host: maybe-install-html-gprof
1841 install-html-host: maybe-install-html-gzip
1842 install-html-host: maybe-install-html-hello
1843 install-html-host: maybe-install-html-indent
1844 install-html-host: maybe-install-html-intl
1845 install-html-host: maybe-install-html-tcl
1846 install-html-host: maybe-install-html-itcl
1847 install-html-host: maybe-install-html-ld
1848 install-html-host: maybe-install-html-libcpp
1849 install-html-host: maybe-install-html-libdecnumber
1850 install-html-host: maybe-install-html-libgui
1851 install-html-host: maybe-install-html-libiberty
1852 install-html-host: maybe-install-html-libiconv
1853 install-html-host: maybe-install-html-libtool
1854 install-html-host: maybe-install-html-m4
1855 install-html-host: maybe-install-html-make
1856 install-html-host: maybe-install-html-mmalloc
1857 install-html-host: maybe-install-html-patch
1858 install-html-host: maybe-install-html-perl
1859 install-html-host: maybe-install-html-prms
1860 install-html-host: maybe-install-html-rcs
1861 install-html-host: maybe-install-html-readline
1862 install-html-host: maybe-install-html-release
1863 install-html-host: maybe-install-html-recode
1864 install-html-host: maybe-install-html-sed
1865 install-html-host: maybe-install-html-send-pr
1866 install-html-host: maybe-install-html-shellutils
1867 install-html-host: maybe-install-html-sid
1868 install-html-host: maybe-install-html-sim
1869 install-html-host: maybe-install-html-tar
1870 install-html-host: maybe-install-html-texinfo
1871 install-html-host: maybe-install-html-textutils
1872 install-html-host: maybe-install-html-time
1873 install-html-host: maybe-install-html-uudecode
1874 install-html-host: maybe-install-html-wdiff
1875 install-html-host: maybe-install-html-zip
1876 install-html-host: maybe-install-html-zlib
1877 install-html-host: maybe-install-html-gdb
1878 install-html-host: maybe-install-html-expect
1879 install-html-host: maybe-install-html-guile
1880 install-html-host: maybe-install-html-tk
1881 install-html-host: maybe-install-html-libtermcap
1882 install-html-host: maybe-install-html-utils
1883 install-html-host: maybe-install-html-gnattools
1885 .PHONY: install-html-target
1887 install-html-target: maybe-install-html-target-libstdc++-v3
1888 install-html-target: maybe-install-html-target-libmudflap
1889 install-html-target: maybe-install-html-target-libssp
1890 install-html-target: maybe-install-html-target-newlib
1891 install-html-target: maybe-install-html-target-libgcc
1892 install-html-target: maybe-install-html-target-libgfortran
1893 install-html-target: maybe-install-html-target-libobjc
1894 install-html-target: maybe-install-html-target-libtermcap
1895 install-html-target: maybe-install-html-target-winsup
1896 install-html-target: maybe-install-html-target-libgloss
1897 install-html-target: maybe-install-html-target-libiberty
1898 install-html-target: maybe-install-html-target-gperf
1899 install-html-target: maybe-install-html-target-examples
1900 install-html-target: maybe-install-html-target-libffi
1901 install-html-target: maybe-install-html-target-libjava
1902 install-html-target: maybe-install-html-target-zlib
1903 install-html-target: maybe-install-html-target-boehm-gc
1904 install-html-target: maybe-install-html-target-qthreads
1905 install-html-target: maybe-install-html-target-rda
1906 install-html-target: maybe-install-html-target-libada
1907 install-html-target: maybe-install-html-target-libgomp
1909 .PHONY: do-installcheck
1910 do-installcheck:
1911 @: $(MAKE); $(unstage)
1912 @r=`${PWD_COMMAND}`; export r; \
1913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1914 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1915 installcheck-target
1918 .PHONY: installcheck-host
1920 installcheck-host: maybe-installcheck-ash
1921 installcheck-host: maybe-installcheck-autoconf
1922 installcheck-host: maybe-installcheck-automake
1923 installcheck-host: maybe-installcheck-bash
1924 installcheck-host: maybe-installcheck-bfd
1925 installcheck-host: maybe-installcheck-opcodes
1926 installcheck-host: maybe-installcheck-binutils
1927 installcheck-host: maybe-installcheck-bison
1928 installcheck-host: maybe-installcheck-byacc
1929 installcheck-host: maybe-installcheck-bzip2
1930 installcheck-host: maybe-installcheck-cgen
1931 installcheck-host: maybe-installcheck-dejagnu
1932 installcheck-host: maybe-installcheck-diff
1933 installcheck-host: maybe-installcheck-dosutils
1934 installcheck-host: maybe-installcheck-etc
1935 installcheck-host: maybe-installcheck-fastjar
1936 installcheck-host: maybe-installcheck-fileutils
1937 installcheck-host: maybe-installcheck-findutils
1938 installcheck-host: maybe-installcheck-find
1939 installcheck-host: maybe-installcheck-fixincludes
1940 installcheck-host: maybe-installcheck-flex
1941 installcheck-host: maybe-installcheck-gas
1942 installcheck-host: maybe-installcheck-gcc
1943 installcheck-host: maybe-installcheck-gawk
1944 installcheck-host: maybe-installcheck-gettext
1945 installcheck-host: maybe-installcheck-gmp
1946 installcheck-host: maybe-installcheck-mpfr
1947 installcheck-host: maybe-installcheck-ppl
1948 installcheck-host: maybe-installcheck-cloog
1949 installcheck-host: maybe-installcheck-gnuserv
1950 installcheck-host: maybe-installcheck-gold
1951 installcheck-host: maybe-installcheck-gprof
1952 installcheck-host: maybe-installcheck-gzip
1953 installcheck-host: maybe-installcheck-hello
1954 installcheck-host: maybe-installcheck-indent
1955 installcheck-host: maybe-installcheck-intl
1956 installcheck-host: maybe-installcheck-tcl
1957 installcheck-host: maybe-installcheck-itcl
1958 installcheck-host: maybe-installcheck-ld
1959 installcheck-host: maybe-installcheck-libcpp
1960 installcheck-host: maybe-installcheck-libdecnumber
1961 installcheck-host: maybe-installcheck-libgui
1962 installcheck-host: maybe-installcheck-libiberty
1963 installcheck-host: maybe-installcheck-libiconv
1964 installcheck-host: maybe-installcheck-libtool
1965 installcheck-host: maybe-installcheck-m4
1966 installcheck-host: maybe-installcheck-make
1967 installcheck-host: maybe-installcheck-mmalloc
1968 installcheck-host: maybe-installcheck-patch
1969 installcheck-host: maybe-installcheck-perl
1970 installcheck-host: maybe-installcheck-prms
1971 installcheck-host: maybe-installcheck-rcs
1972 installcheck-host: maybe-installcheck-readline
1973 installcheck-host: maybe-installcheck-release
1974 installcheck-host: maybe-installcheck-recode
1975 installcheck-host: maybe-installcheck-sed
1976 installcheck-host: maybe-installcheck-send-pr
1977 installcheck-host: maybe-installcheck-shellutils
1978 installcheck-host: maybe-installcheck-sid
1979 installcheck-host: maybe-installcheck-sim
1980 installcheck-host: maybe-installcheck-tar
1981 installcheck-host: maybe-installcheck-texinfo
1982 installcheck-host: maybe-installcheck-textutils
1983 installcheck-host: maybe-installcheck-time
1984 installcheck-host: maybe-installcheck-uudecode
1985 installcheck-host: maybe-installcheck-wdiff
1986 installcheck-host: maybe-installcheck-zip
1987 installcheck-host: maybe-installcheck-zlib
1988 installcheck-host: maybe-installcheck-gdb
1989 installcheck-host: maybe-installcheck-expect
1990 installcheck-host: maybe-installcheck-guile
1991 installcheck-host: maybe-installcheck-tk
1992 installcheck-host: maybe-installcheck-libtermcap
1993 installcheck-host: maybe-installcheck-utils
1994 installcheck-host: maybe-installcheck-gnattools
1996 .PHONY: installcheck-target
1998 installcheck-target: maybe-installcheck-target-libstdc++-v3
1999 installcheck-target: maybe-installcheck-target-libmudflap
2000 installcheck-target: maybe-installcheck-target-libssp
2001 installcheck-target: maybe-installcheck-target-newlib
2002 installcheck-target: maybe-installcheck-target-libgcc
2003 installcheck-target: maybe-installcheck-target-libgfortran
2004 installcheck-target: maybe-installcheck-target-libobjc
2005 installcheck-target: maybe-installcheck-target-libtermcap
2006 installcheck-target: maybe-installcheck-target-winsup
2007 installcheck-target: maybe-installcheck-target-libgloss
2008 installcheck-target: maybe-installcheck-target-libiberty
2009 installcheck-target: maybe-installcheck-target-gperf
2010 installcheck-target: maybe-installcheck-target-examples
2011 installcheck-target: maybe-installcheck-target-libffi
2012 installcheck-target: maybe-installcheck-target-libjava
2013 installcheck-target: maybe-installcheck-target-zlib
2014 installcheck-target: maybe-installcheck-target-boehm-gc
2015 installcheck-target: maybe-installcheck-target-qthreads
2016 installcheck-target: maybe-installcheck-target-rda
2017 installcheck-target: maybe-installcheck-target-libada
2018 installcheck-target: maybe-installcheck-target-libgomp
2020 .PHONY: do-mostlyclean
2021 do-mostlyclean:
2022 @: $(MAKE); $(unstage)
2023 @r=`${PWD_COMMAND}`; export r; \
2024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2025 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2026 mostlyclean-target
2029 .PHONY: mostlyclean-host
2031 mostlyclean-host: maybe-mostlyclean-ash
2032 mostlyclean-host: maybe-mostlyclean-autoconf
2033 mostlyclean-host: maybe-mostlyclean-automake
2034 mostlyclean-host: maybe-mostlyclean-bash
2035 mostlyclean-host: maybe-mostlyclean-bfd
2036 mostlyclean-host: maybe-mostlyclean-opcodes
2037 mostlyclean-host: maybe-mostlyclean-binutils
2038 mostlyclean-host: maybe-mostlyclean-bison
2039 mostlyclean-host: maybe-mostlyclean-byacc
2040 mostlyclean-host: maybe-mostlyclean-bzip2
2041 mostlyclean-host: maybe-mostlyclean-cgen
2042 mostlyclean-host: maybe-mostlyclean-dejagnu
2043 mostlyclean-host: maybe-mostlyclean-diff
2044 mostlyclean-host: maybe-mostlyclean-dosutils
2045 mostlyclean-host: maybe-mostlyclean-etc
2046 mostlyclean-host: maybe-mostlyclean-fastjar
2047 mostlyclean-host: maybe-mostlyclean-fileutils
2048 mostlyclean-host: maybe-mostlyclean-findutils
2049 mostlyclean-host: maybe-mostlyclean-find
2050 mostlyclean-host: maybe-mostlyclean-fixincludes
2051 mostlyclean-host: maybe-mostlyclean-flex
2052 mostlyclean-host: maybe-mostlyclean-gas
2053 mostlyclean-host: maybe-mostlyclean-gcc
2054 mostlyclean-host: maybe-mostlyclean-gawk
2055 mostlyclean-host: maybe-mostlyclean-gettext
2056 mostlyclean-host: maybe-mostlyclean-gmp
2057 mostlyclean-host: maybe-mostlyclean-mpfr
2058 mostlyclean-host: maybe-mostlyclean-ppl
2059 mostlyclean-host: maybe-mostlyclean-cloog
2060 mostlyclean-host: maybe-mostlyclean-gnuserv
2061 mostlyclean-host: maybe-mostlyclean-gold
2062 mostlyclean-host: maybe-mostlyclean-gprof
2063 mostlyclean-host: maybe-mostlyclean-gzip
2064 mostlyclean-host: maybe-mostlyclean-hello
2065 mostlyclean-host: maybe-mostlyclean-indent
2066 mostlyclean-host: maybe-mostlyclean-intl
2067 mostlyclean-host: maybe-mostlyclean-tcl
2068 mostlyclean-host: maybe-mostlyclean-itcl
2069 mostlyclean-host: maybe-mostlyclean-ld
2070 mostlyclean-host: maybe-mostlyclean-libcpp
2071 mostlyclean-host: maybe-mostlyclean-libdecnumber
2072 mostlyclean-host: maybe-mostlyclean-libgui
2073 mostlyclean-host: maybe-mostlyclean-libiberty
2074 mostlyclean-host: maybe-mostlyclean-libiconv
2075 mostlyclean-host: maybe-mostlyclean-libtool
2076 mostlyclean-host: maybe-mostlyclean-m4
2077 mostlyclean-host: maybe-mostlyclean-make
2078 mostlyclean-host: maybe-mostlyclean-mmalloc
2079 mostlyclean-host: maybe-mostlyclean-patch
2080 mostlyclean-host: maybe-mostlyclean-perl
2081 mostlyclean-host: maybe-mostlyclean-prms
2082 mostlyclean-host: maybe-mostlyclean-rcs
2083 mostlyclean-host: maybe-mostlyclean-readline
2084 mostlyclean-host: maybe-mostlyclean-release
2085 mostlyclean-host: maybe-mostlyclean-recode
2086 mostlyclean-host: maybe-mostlyclean-sed
2087 mostlyclean-host: maybe-mostlyclean-send-pr
2088 mostlyclean-host: maybe-mostlyclean-shellutils
2089 mostlyclean-host: maybe-mostlyclean-sid
2090 mostlyclean-host: maybe-mostlyclean-sim
2091 mostlyclean-host: maybe-mostlyclean-tar
2092 mostlyclean-host: maybe-mostlyclean-texinfo
2093 mostlyclean-host: maybe-mostlyclean-textutils
2094 mostlyclean-host: maybe-mostlyclean-time
2095 mostlyclean-host: maybe-mostlyclean-uudecode
2096 mostlyclean-host: maybe-mostlyclean-wdiff
2097 mostlyclean-host: maybe-mostlyclean-zip
2098 mostlyclean-host: maybe-mostlyclean-zlib
2099 mostlyclean-host: maybe-mostlyclean-gdb
2100 mostlyclean-host: maybe-mostlyclean-expect
2101 mostlyclean-host: maybe-mostlyclean-guile
2102 mostlyclean-host: maybe-mostlyclean-tk
2103 mostlyclean-host: maybe-mostlyclean-libtermcap
2104 mostlyclean-host: maybe-mostlyclean-utils
2105 mostlyclean-host: maybe-mostlyclean-gnattools
2107 .PHONY: mostlyclean-target
2109 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2110 mostlyclean-target: maybe-mostlyclean-target-libmudflap
2111 mostlyclean-target: maybe-mostlyclean-target-libssp
2112 mostlyclean-target: maybe-mostlyclean-target-newlib
2113 mostlyclean-target: maybe-mostlyclean-target-libgcc
2114 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2115 mostlyclean-target: maybe-mostlyclean-target-libobjc
2116 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2117 mostlyclean-target: maybe-mostlyclean-target-winsup
2118 mostlyclean-target: maybe-mostlyclean-target-libgloss
2119 mostlyclean-target: maybe-mostlyclean-target-libiberty
2120 mostlyclean-target: maybe-mostlyclean-target-gperf
2121 mostlyclean-target: maybe-mostlyclean-target-examples
2122 mostlyclean-target: maybe-mostlyclean-target-libffi
2123 mostlyclean-target: maybe-mostlyclean-target-libjava
2124 mostlyclean-target: maybe-mostlyclean-target-zlib
2125 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2126 mostlyclean-target: maybe-mostlyclean-target-qthreads
2127 mostlyclean-target: maybe-mostlyclean-target-rda
2128 mostlyclean-target: maybe-mostlyclean-target-libada
2129 mostlyclean-target: maybe-mostlyclean-target-libgomp
2131 .PHONY: do-clean
2132 do-clean:
2133 @: $(MAKE); $(unstage)
2134 @r=`${PWD_COMMAND}`; export r; \
2135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2136 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2137 clean-target
2140 .PHONY: clean-host
2142 clean-host: maybe-clean-ash
2143 clean-host: maybe-clean-autoconf
2144 clean-host: maybe-clean-automake
2145 clean-host: maybe-clean-bash
2146 clean-host: maybe-clean-bfd
2147 clean-host: maybe-clean-opcodes
2148 clean-host: maybe-clean-binutils
2149 clean-host: maybe-clean-bison
2150 clean-host: maybe-clean-byacc
2151 clean-host: maybe-clean-bzip2
2152 clean-host: maybe-clean-cgen
2153 clean-host: maybe-clean-dejagnu
2154 clean-host: maybe-clean-diff
2155 clean-host: maybe-clean-dosutils
2156 clean-host: maybe-clean-etc
2157 clean-host: maybe-clean-fastjar
2158 clean-host: maybe-clean-fileutils
2159 clean-host: maybe-clean-findutils
2160 clean-host: maybe-clean-find
2161 clean-host: maybe-clean-fixincludes
2162 clean-host: maybe-clean-flex
2163 clean-host: maybe-clean-gas
2164 clean-host: maybe-clean-gcc
2165 clean-host: maybe-clean-gawk
2166 clean-host: maybe-clean-gettext
2167 clean-host: maybe-clean-gmp
2168 clean-host: maybe-clean-mpfr
2169 clean-host: maybe-clean-ppl
2170 clean-host: maybe-clean-cloog
2171 clean-host: maybe-clean-gnuserv
2172 clean-host: maybe-clean-gold
2173 clean-host: maybe-clean-gprof
2174 clean-host: maybe-clean-gzip
2175 clean-host: maybe-clean-hello
2176 clean-host: maybe-clean-indent
2177 clean-host: maybe-clean-intl
2178 clean-host: maybe-clean-tcl
2179 clean-host: maybe-clean-itcl
2180 clean-host: maybe-clean-ld
2181 clean-host: maybe-clean-libcpp
2182 clean-host: maybe-clean-libdecnumber
2183 clean-host: maybe-clean-libgui
2184 clean-host: maybe-clean-libiberty
2185 clean-host: maybe-clean-libiconv
2186 clean-host: maybe-clean-libtool
2187 clean-host: maybe-clean-m4
2188 clean-host: maybe-clean-make
2189 clean-host: maybe-clean-mmalloc
2190 clean-host: maybe-clean-patch
2191 clean-host: maybe-clean-perl
2192 clean-host: maybe-clean-prms
2193 clean-host: maybe-clean-rcs
2194 clean-host: maybe-clean-readline
2195 clean-host: maybe-clean-release
2196 clean-host: maybe-clean-recode
2197 clean-host: maybe-clean-sed
2198 clean-host: maybe-clean-send-pr
2199 clean-host: maybe-clean-shellutils
2200 clean-host: maybe-clean-sid
2201 clean-host: maybe-clean-sim
2202 clean-host: maybe-clean-tar
2203 clean-host: maybe-clean-texinfo
2204 clean-host: maybe-clean-textutils
2205 clean-host: maybe-clean-time
2206 clean-host: maybe-clean-uudecode
2207 clean-host: maybe-clean-wdiff
2208 clean-host: maybe-clean-zip
2209 clean-host: maybe-clean-zlib
2210 clean-host: maybe-clean-gdb
2211 clean-host: maybe-clean-expect
2212 clean-host: maybe-clean-guile
2213 clean-host: maybe-clean-tk
2214 clean-host: maybe-clean-libtermcap
2215 clean-host: maybe-clean-utils
2216 clean-host: maybe-clean-gnattools
2218 .PHONY: clean-target
2220 clean-target: maybe-clean-target-libstdc++-v3
2221 clean-target: maybe-clean-target-libmudflap
2222 clean-target: maybe-clean-target-libssp
2223 clean-target: maybe-clean-target-newlib
2224 clean-target: maybe-clean-target-libgcc
2225 clean-target: maybe-clean-target-libgfortran
2226 clean-target: maybe-clean-target-libobjc
2227 clean-target: maybe-clean-target-libtermcap
2228 clean-target: maybe-clean-target-winsup
2229 clean-target: maybe-clean-target-libgloss
2230 clean-target: maybe-clean-target-libiberty
2231 clean-target: maybe-clean-target-gperf
2232 clean-target: maybe-clean-target-examples
2233 clean-target: maybe-clean-target-libffi
2234 clean-target: maybe-clean-target-libjava
2235 clean-target: maybe-clean-target-zlib
2236 clean-target: maybe-clean-target-boehm-gc
2237 clean-target: maybe-clean-target-qthreads
2238 clean-target: maybe-clean-target-rda
2239 clean-target: maybe-clean-target-libada
2240 clean-target: maybe-clean-target-libgomp
2242 .PHONY: do-distclean
2243 do-distclean:
2244 @: $(MAKE); $(unstage)
2245 @r=`${PWD_COMMAND}`; export r; \
2246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2247 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2248 distclean-target
2251 .PHONY: distclean-host
2253 distclean-host: maybe-distclean-ash
2254 distclean-host: maybe-distclean-autoconf
2255 distclean-host: maybe-distclean-automake
2256 distclean-host: maybe-distclean-bash
2257 distclean-host: maybe-distclean-bfd
2258 distclean-host: maybe-distclean-opcodes
2259 distclean-host: maybe-distclean-binutils
2260 distclean-host: maybe-distclean-bison
2261 distclean-host: maybe-distclean-byacc
2262 distclean-host: maybe-distclean-bzip2
2263 distclean-host: maybe-distclean-cgen
2264 distclean-host: maybe-distclean-dejagnu
2265 distclean-host: maybe-distclean-diff
2266 distclean-host: maybe-distclean-dosutils
2267 distclean-host: maybe-distclean-etc
2268 distclean-host: maybe-distclean-fastjar
2269 distclean-host: maybe-distclean-fileutils
2270 distclean-host: maybe-distclean-findutils
2271 distclean-host: maybe-distclean-find
2272 distclean-host: maybe-distclean-fixincludes
2273 distclean-host: maybe-distclean-flex
2274 distclean-host: maybe-distclean-gas
2275 distclean-host: maybe-distclean-gcc
2276 distclean-host: maybe-distclean-gawk
2277 distclean-host: maybe-distclean-gettext
2278 distclean-host: maybe-distclean-gmp
2279 distclean-host: maybe-distclean-mpfr
2280 distclean-host: maybe-distclean-ppl
2281 distclean-host: maybe-distclean-cloog
2282 distclean-host: maybe-distclean-gnuserv
2283 distclean-host: maybe-distclean-gold
2284 distclean-host: maybe-distclean-gprof
2285 distclean-host: maybe-distclean-gzip
2286 distclean-host: maybe-distclean-hello
2287 distclean-host: maybe-distclean-indent
2288 distclean-host: maybe-distclean-intl
2289 distclean-host: maybe-distclean-tcl
2290 distclean-host: maybe-distclean-itcl
2291 distclean-host: maybe-distclean-ld
2292 distclean-host: maybe-distclean-libcpp
2293 distclean-host: maybe-distclean-libdecnumber
2294 distclean-host: maybe-distclean-libgui
2295 distclean-host: maybe-distclean-libiberty
2296 distclean-host: maybe-distclean-libiconv
2297 distclean-host: maybe-distclean-libtool
2298 distclean-host: maybe-distclean-m4
2299 distclean-host: maybe-distclean-make
2300 distclean-host: maybe-distclean-mmalloc
2301 distclean-host: maybe-distclean-patch
2302 distclean-host: maybe-distclean-perl
2303 distclean-host: maybe-distclean-prms
2304 distclean-host: maybe-distclean-rcs
2305 distclean-host: maybe-distclean-readline
2306 distclean-host: maybe-distclean-release
2307 distclean-host: maybe-distclean-recode
2308 distclean-host: maybe-distclean-sed
2309 distclean-host: maybe-distclean-send-pr
2310 distclean-host: maybe-distclean-shellutils
2311 distclean-host: maybe-distclean-sid
2312 distclean-host: maybe-distclean-sim
2313 distclean-host: maybe-distclean-tar
2314 distclean-host: maybe-distclean-texinfo
2315 distclean-host: maybe-distclean-textutils
2316 distclean-host: maybe-distclean-time
2317 distclean-host: maybe-distclean-uudecode
2318 distclean-host: maybe-distclean-wdiff
2319 distclean-host: maybe-distclean-zip
2320 distclean-host: maybe-distclean-zlib
2321 distclean-host: maybe-distclean-gdb
2322 distclean-host: maybe-distclean-expect
2323 distclean-host: maybe-distclean-guile
2324 distclean-host: maybe-distclean-tk
2325 distclean-host: maybe-distclean-libtermcap
2326 distclean-host: maybe-distclean-utils
2327 distclean-host: maybe-distclean-gnattools
2329 .PHONY: distclean-target
2331 distclean-target: maybe-distclean-target-libstdc++-v3
2332 distclean-target: maybe-distclean-target-libmudflap
2333 distclean-target: maybe-distclean-target-libssp
2334 distclean-target: maybe-distclean-target-newlib
2335 distclean-target: maybe-distclean-target-libgcc
2336 distclean-target: maybe-distclean-target-libgfortran
2337 distclean-target: maybe-distclean-target-libobjc
2338 distclean-target: maybe-distclean-target-libtermcap
2339 distclean-target: maybe-distclean-target-winsup
2340 distclean-target: maybe-distclean-target-libgloss
2341 distclean-target: maybe-distclean-target-libiberty
2342 distclean-target: maybe-distclean-target-gperf
2343 distclean-target: maybe-distclean-target-examples
2344 distclean-target: maybe-distclean-target-libffi
2345 distclean-target: maybe-distclean-target-libjava
2346 distclean-target: maybe-distclean-target-zlib
2347 distclean-target: maybe-distclean-target-boehm-gc
2348 distclean-target: maybe-distclean-target-qthreads
2349 distclean-target: maybe-distclean-target-rda
2350 distclean-target: maybe-distclean-target-libada
2351 distclean-target: maybe-distclean-target-libgomp
2353 .PHONY: do-maintainer-clean
2354 do-maintainer-clean:
2355 @: $(MAKE); $(unstage)
2356 @r=`${PWD_COMMAND}`; export r; \
2357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2358 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2359 maintainer-clean-target
2362 .PHONY: maintainer-clean-host
2364 maintainer-clean-host: maybe-maintainer-clean-ash
2365 maintainer-clean-host: maybe-maintainer-clean-autoconf
2366 maintainer-clean-host: maybe-maintainer-clean-automake
2367 maintainer-clean-host: maybe-maintainer-clean-bash
2368 maintainer-clean-host: maybe-maintainer-clean-bfd
2369 maintainer-clean-host: maybe-maintainer-clean-opcodes
2370 maintainer-clean-host: maybe-maintainer-clean-binutils
2371 maintainer-clean-host: maybe-maintainer-clean-bison
2372 maintainer-clean-host: maybe-maintainer-clean-byacc
2373 maintainer-clean-host: maybe-maintainer-clean-bzip2
2374 maintainer-clean-host: maybe-maintainer-clean-cgen
2375 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2376 maintainer-clean-host: maybe-maintainer-clean-diff
2377 maintainer-clean-host: maybe-maintainer-clean-dosutils
2378 maintainer-clean-host: maybe-maintainer-clean-etc
2379 maintainer-clean-host: maybe-maintainer-clean-fastjar
2380 maintainer-clean-host: maybe-maintainer-clean-fileutils
2381 maintainer-clean-host: maybe-maintainer-clean-findutils
2382 maintainer-clean-host: maybe-maintainer-clean-find
2383 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2384 maintainer-clean-host: maybe-maintainer-clean-flex
2385 maintainer-clean-host: maybe-maintainer-clean-gas
2386 maintainer-clean-host: maybe-maintainer-clean-gcc
2387 maintainer-clean-host: maybe-maintainer-clean-gawk
2388 maintainer-clean-host: maybe-maintainer-clean-gettext
2389 maintainer-clean-host: maybe-maintainer-clean-gmp
2390 maintainer-clean-host: maybe-maintainer-clean-mpfr
2391 maintainer-clean-host: maybe-maintainer-clean-ppl
2392 maintainer-clean-host: maybe-maintainer-clean-cloog
2393 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2394 maintainer-clean-host: maybe-maintainer-clean-gold
2395 maintainer-clean-host: maybe-maintainer-clean-gprof
2396 maintainer-clean-host: maybe-maintainer-clean-gzip
2397 maintainer-clean-host: maybe-maintainer-clean-hello
2398 maintainer-clean-host: maybe-maintainer-clean-indent
2399 maintainer-clean-host: maybe-maintainer-clean-intl
2400 maintainer-clean-host: maybe-maintainer-clean-tcl
2401 maintainer-clean-host: maybe-maintainer-clean-itcl
2402 maintainer-clean-host: maybe-maintainer-clean-ld
2403 maintainer-clean-host: maybe-maintainer-clean-libcpp
2404 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2405 maintainer-clean-host: maybe-maintainer-clean-libgui
2406 maintainer-clean-host: maybe-maintainer-clean-libiberty
2407 maintainer-clean-host: maybe-maintainer-clean-libiconv
2408 maintainer-clean-host: maybe-maintainer-clean-libtool
2409 maintainer-clean-host: maybe-maintainer-clean-m4
2410 maintainer-clean-host: maybe-maintainer-clean-make
2411 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2412 maintainer-clean-host: maybe-maintainer-clean-patch
2413 maintainer-clean-host: maybe-maintainer-clean-perl
2414 maintainer-clean-host: maybe-maintainer-clean-prms
2415 maintainer-clean-host: maybe-maintainer-clean-rcs
2416 maintainer-clean-host: maybe-maintainer-clean-readline
2417 maintainer-clean-host: maybe-maintainer-clean-release
2418 maintainer-clean-host: maybe-maintainer-clean-recode
2419 maintainer-clean-host: maybe-maintainer-clean-sed
2420 maintainer-clean-host: maybe-maintainer-clean-send-pr
2421 maintainer-clean-host: maybe-maintainer-clean-shellutils
2422 maintainer-clean-host: maybe-maintainer-clean-sid
2423 maintainer-clean-host: maybe-maintainer-clean-sim
2424 maintainer-clean-host: maybe-maintainer-clean-tar
2425 maintainer-clean-host: maybe-maintainer-clean-texinfo
2426 maintainer-clean-host: maybe-maintainer-clean-textutils
2427 maintainer-clean-host: maybe-maintainer-clean-time
2428 maintainer-clean-host: maybe-maintainer-clean-uudecode
2429 maintainer-clean-host: maybe-maintainer-clean-wdiff
2430 maintainer-clean-host: maybe-maintainer-clean-zip
2431 maintainer-clean-host: maybe-maintainer-clean-zlib
2432 maintainer-clean-host: maybe-maintainer-clean-gdb
2433 maintainer-clean-host: maybe-maintainer-clean-expect
2434 maintainer-clean-host: maybe-maintainer-clean-guile
2435 maintainer-clean-host: maybe-maintainer-clean-tk
2436 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2437 maintainer-clean-host: maybe-maintainer-clean-utils
2438 maintainer-clean-host: maybe-maintainer-clean-gnattools
2440 .PHONY: maintainer-clean-target
2442 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2443 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2444 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2445 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2446 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2447 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2448 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2449 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2450 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2451 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2452 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2453 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2454 maintainer-clean-target: maybe-maintainer-clean-target-examples
2455 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2456 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2457 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2458 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2459 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2460 maintainer-clean-target: maybe-maintainer-clean-target-rda
2461 maintainer-clean-target: maybe-maintainer-clean-target-libada
2462 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2465 # Here are the targets which correspond to the do-X targets.
2467 .PHONY: info installcheck dvi pdf html
2468 .PHONY: install-info install-pdf install-html
2469 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2470 .PHONY: local-clean local-distclean local-maintainer-clean
2471 info: do-info
2472 installcheck: do-installcheck
2473 dvi: do-dvi
2474 pdf: do-pdf
2475 html: do-html
2477 # Make sure makeinfo is built before we do a `make info', if we're
2478 # in fact building texinfo.
2479 do-info: maybe-all-texinfo
2481 install-info: do-install-info dir.info
2482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2483 if [ -f dir.info ] ; then \
2484 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2485 else true ; fi
2487 install-pdf: do-install-pdf
2489 install-html: do-install-html
2491 local-clean:
2492 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2494 local-distclean:
2495 -rm -f Makefile config.status config.cache mh-frag mt-frag
2496 -rm -f maybedep.tmp serdep.tmp
2497 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2498 rm -rf $(TARGET_SUBDIR); \
2499 else true; fi
2500 -rm -rf $(BUILD_SUBDIR)
2501 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2502 rm -rf $(HOST_SUBDIR); \
2503 else true; fi
2504 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2505 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2506 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2507 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2508 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2510 local-maintainer-clean:
2511 @echo "This command is intended for maintainers to use;"
2512 @echo "it deletes files that may require special tools to rebuild."
2514 clean: do-clean local-clean
2515 mostlyclean: do-mostlyclean local-clean
2516 distclean: do-distclean local-clean local-distclean
2517 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2518 maintainer-clean: local-distclean
2519 realclean: maintainer-clean
2521 # Check target.
2523 .PHONY: check do-check
2524 check: do-check
2526 # Only include modules actually being configured and built.
2527 .PHONY: check-host
2528 check-host: \
2529 maybe-check-ash \
2530 maybe-check-autoconf \
2531 maybe-check-automake \
2532 maybe-check-bash \
2533 maybe-check-bfd \
2534 maybe-check-opcodes \
2535 maybe-check-binutils \
2536 maybe-check-bison \
2537 maybe-check-byacc \
2538 maybe-check-bzip2 \
2539 maybe-check-cgen \
2540 maybe-check-dejagnu \
2541 maybe-check-diff \
2542 maybe-check-dosutils \
2543 maybe-check-etc \
2544 maybe-check-fastjar \
2545 maybe-check-fileutils \
2546 maybe-check-findutils \
2547 maybe-check-find \
2548 maybe-check-fixincludes \
2549 maybe-check-flex \
2550 maybe-check-gas \
2551 maybe-check-gcc \
2552 maybe-check-gawk \
2553 maybe-check-gettext \
2554 maybe-check-gmp \
2555 maybe-check-mpfr \
2556 maybe-check-ppl \
2557 maybe-check-cloog \
2558 maybe-check-gnuserv \
2559 maybe-check-gold \
2560 maybe-check-gprof \
2561 maybe-check-gzip \
2562 maybe-check-hello \
2563 maybe-check-indent \
2564 maybe-check-intl \
2565 maybe-check-tcl \
2566 maybe-check-itcl \
2567 maybe-check-ld \
2568 maybe-check-libcpp \
2569 maybe-check-libdecnumber \
2570 maybe-check-libgui \
2571 maybe-check-libiberty \
2572 maybe-check-libiconv \
2573 maybe-check-libtool \
2574 maybe-check-m4 \
2575 maybe-check-make \
2576 maybe-check-mmalloc \
2577 maybe-check-patch \
2578 maybe-check-perl \
2579 maybe-check-prms \
2580 maybe-check-rcs \
2581 maybe-check-readline \
2582 maybe-check-release \
2583 maybe-check-recode \
2584 maybe-check-sed \
2585 maybe-check-send-pr \
2586 maybe-check-shellutils \
2587 maybe-check-sid \
2588 maybe-check-sim \
2589 maybe-check-tar \
2590 maybe-check-texinfo \
2591 maybe-check-textutils \
2592 maybe-check-time \
2593 maybe-check-uudecode \
2594 maybe-check-wdiff \
2595 maybe-check-zip \
2596 maybe-check-zlib \
2597 maybe-check-gdb \
2598 maybe-check-expect \
2599 maybe-check-guile \
2600 maybe-check-tk \
2601 maybe-check-libtermcap \
2602 maybe-check-utils \
2603 maybe-check-gnattools
2605 .PHONY: check-target
2606 check-target: \
2607 maybe-check-target-libstdc++-v3 \
2608 maybe-check-target-libmudflap \
2609 maybe-check-target-libssp \
2610 maybe-check-target-newlib \
2611 maybe-check-target-libgcc \
2612 maybe-check-target-libgfortran \
2613 maybe-check-target-libobjc \
2614 maybe-check-target-libtermcap \
2615 maybe-check-target-winsup \
2616 maybe-check-target-libgloss \
2617 maybe-check-target-libiberty \
2618 maybe-check-target-gperf \
2619 maybe-check-target-examples \
2620 maybe-check-target-libffi \
2621 maybe-check-target-libjava \
2622 maybe-check-target-zlib \
2623 maybe-check-target-boehm-gc \
2624 maybe-check-target-qthreads \
2625 maybe-check-target-rda \
2626 maybe-check-target-libada \
2627 maybe-check-target-libgomp
2629 do-check:
2630 @: $(MAKE); $(unstage)
2631 @r=`${PWD_COMMAND}`; export r; \
2632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2635 # Automated reporting of test results.
2637 warning.log: build.log
2638 $(srcdir)/contrib/warn_summary build.log > $@
2640 mail-report.log:
2641 if test x'$(BOOT_CFLAGS)' != x''; then \
2642 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2643 fi; \
2644 $(srcdir)/contrib/test_summary -t >$@
2645 chmod +x $@
2646 echo If you really want to send e-mail, run ./$@ now
2648 mail-report-with-warnings.log: warning.log
2649 if test x'$(BOOT_CFLAGS)' != x''; then \
2650 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2651 fi; \
2652 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2653 chmod +x $@
2654 echo If you really want to send e-mail, run ./$@ now
2656 # Installation targets.
2658 .PHONY: install uninstall
2659 install:
2660 @: $(MAKE); $(unstage)
2661 @r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2665 .PHONY: install-host-nogcc
2666 install-host-nogcc: \
2667 maybe-install-ash \
2668 maybe-install-autoconf \
2669 maybe-install-automake \
2670 maybe-install-bash \
2671 maybe-install-bfd \
2672 maybe-install-opcodes \
2673 maybe-install-binutils \
2674 maybe-install-bison \
2675 maybe-install-byacc \
2676 maybe-install-bzip2 \
2677 maybe-install-cgen \
2678 maybe-install-dejagnu \
2679 maybe-install-diff \
2680 maybe-install-dosutils \
2681 maybe-install-etc \
2682 maybe-install-fastjar \
2683 maybe-install-fileutils \
2684 maybe-install-findutils \
2685 maybe-install-find \
2686 maybe-install-fixincludes \
2687 maybe-install-flex \
2688 maybe-install-gas \
2689 maybe-install-gawk \
2690 maybe-install-gettext \
2691 maybe-install-gmp \
2692 maybe-install-mpfr \
2693 maybe-install-ppl \
2694 maybe-install-cloog \
2695 maybe-install-gnuserv \
2696 maybe-install-gold \
2697 maybe-install-gprof \
2698 maybe-install-gzip \
2699 maybe-install-hello \
2700 maybe-install-indent \
2701 maybe-install-intl \
2702 maybe-install-tcl \
2703 maybe-install-itcl \
2704 maybe-install-ld \
2705 maybe-install-libcpp \
2706 maybe-install-libdecnumber \
2707 maybe-install-libgui \
2708 maybe-install-libiberty \
2709 maybe-install-libiconv \
2710 maybe-install-libtool \
2711 maybe-install-m4 \
2712 maybe-install-make \
2713 maybe-install-mmalloc \
2714 maybe-install-patch \
2715 maybe-install-perl \
2716 maybe-install-prms \
2717 maybe-install-rcs \
2718 maybe-install-readline \
2719 maybe-install-release \
2720 maybe-install-recode \
2721 maybe-install-sed \
2722 maybe-install-send-pr \
2723 maybe-install-shellutils \
2724 maybe-install-sid \
2725 maybe-install-sim \
2726 maybe-install-tar \
2727 maybe-install-texinfo \
2728 maybe-install-textutils \
2729 maybe-install-time \
2730 maybe-install-uudecode \
2731 maybe-install-wdiff \
2732 maybe-install-zip \
2733 maybe-install-zlib \
2734 maybe-install-gdb \
2735 maybe-install-expect \
2736 maybe-install-guile \
2737 maybe-install-tk \
2738 maybe-install-libtermcap \
2739 maybe-install-utils \
2740 maybe-install-gnattools
2742 .PHONY: install-host
2743 install-host: \
2744 maybe-install-ash \
2745 maybe-install-autoconf \
2746 maybe-install-automake \
2747 maybe-install-bash \
2748 maybe-install-bfd \
2749 maybe-install-opcodes \
2750 maybe-install-binutils \
2751 maybe-install-bison \
2752 maybe-install-byacc \
2753 maybe-install-bzip2 \
2754 maybe-install-cgen \
2755 maybe-install-dejagnu \
2756 maybe-install-diff \
2757 maybe-install-dosutils \
2758 maybe-install-etc \
2759 maybe-install-fastjar \
2760 maybe-install-fileutils \
2761 maybe-install-findutils \
2762 maybe-install-find \
2763 maybe-install-fixincludes \
2764 maybe-install-flex \
2765 maybe-install-gas \
2766 maybe-install-gcc \
2767 maybe-install-gawk \
2768 maybe-install-gettext \
2769 maybe-install-gmp \
2770 maybe-install-mpfr \
2771 maybe-install-ppl \
2772 maybe-install-cloog \
2773 maybe-install-gnuserv \
2774 maybe-install-gold \
2775 maybe-install-gprof \
2776 maybe-install-gzip \
2777 maybe-install-hello \
2778 maybe-install-indent \
2779 maybe-install-intl \
2780 maybe-install-tcl \
2781 maybe-install-itcl \
2782 maybe-install-ld \
2783 maybe-install-libcpp \
2784 maybe-install-libdecnumber \
2785 maybe-install-libgui \
2786 maybe-install-libiberty \
2787 maybe-install-libiconv \
2788 maybe-install-libtool \
2789 maybe-install-m4 \
2790 maybe-install-make \
2791 maybe-install-mmalloc \
2792 maybe-install-patch \
2793 maybe-install-perl \
2794 maybe-install-prms \
2795 maybe-install-rcs \
2796 maybe-install-readline \
2797 maybe-install-release \
2798 maybe-install-recode \
2799 maybe-install-sed \
2800 maybe-install-send-pr \
2801 maybe-install-shellutils \
2802 maybe-install-sid \
2803 maybe-install-sim \
2804 maybe-install-tar \
2805 maybe-install-texinfo \
2806 maybe-install-textutils \
2807 maybe-install-time \
2808 maybe-install-uudecode \
2809 maybe-install-wdiff \
2810 maybe-install-zip \
2811 maybe-install-zlib \
2812 maybe-install-gdb \
2813 maybe-install-expect \
2814 maybe-install-guile \
2815 maybe-install-tk \
2816 maybe-install-libtermcap \
2817 maybe-install-utils \
2818 maybe-install-gnattools
2820 .PHONY: install-target
2821 install-target: \
2822 maybe-install-target-libstdc++-v3 \
2823 maybe-install-target-libmudflap \
2824 maybe-install-target-libssp \
2825 maybe-install-target-newlib \
2826 maybe-install-target-libgcc \
2827 maybe-install-target-libgfortran \
2828 maybe-install-target-libobjc \
2829 maybe-install-target-libtermcap \
2830 maybe-install-target-winsup \
2831 maybe-install-target-libgloss \
2832 maybe-install-target-libiberty \
2833 maybe-install-target-gperf \
2834 maybe-install-target-examples \
2835 maybe-install-target-libffi \
2836 maybe-install-target-libjava \
2837 maybe-install-target-zlib \
2838 maybe-install-target-boehm-gc \
2839 maybe-install-target-qthreads \
2840 maybe-install-target-rda \
2841 maybe-install-target-libada \
2842 maybe-install-target-libgomp
2844 uninstall:
2845 @echo "the uninstall target is not supported in this tree"
2847 .PHONY: install.all
2848 install.all: install-no-fixedincludes
2849 @if [ -f ./gcc/Makefile ] ; then \
2850 r=`${PWD_COMMAND}` ; export r ; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2852 $(HOST_EXPORTS) \
2853 (cd ./gcc && \
2854 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2855 else \
2856 true ; \
2859 # install-no-fixedincludes is used because Cygnus can not distribute
2860 # the fixed header files.
2861 .PHONY: install-no-fixedincludes
2862 install-no-fixedincludes: installdirs install-host-nogcc \
2863 install-target gcc-no-fixedincludes
2865 ### other supporting targets
2867 MAKEDIRS= \
2868 $(DESTDIR)$(prefix) \
2869 $(DESTDIR)$(exec_prefix)
2870 .PHONY: installdirs
2871 installdirs: mkinstalldirs
2872 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2874 dir.info: do-install-info
2875 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2876 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2877 mv -f dir.info.new dir.info ; \
2878 else true ; \
2881 dist:
2882 @echo "Building a full distribution of this tree isn't done"
2883 @echo "via 'make dist'. Check out the etc/ subdirectory"
2885 etags tags: TAGS
2887 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2888 # ability to use several tags files at once, so there is probably no need
2889 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2890 # (if we felt like it) have this Makefile write a piece of elisp which
2891 # the user could load to tell emacs19 where all the TAGS files we just
2892 # built are.
2893 TAGS: do-TAGS
2895 # ------------------------------------
2896 # Macros for configure and all targets
2897 # ------------------------------------
2903 # --------------------------------------
2904 # Modules which run on the build machine
2905 # --------------------------------------
2908 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2909 maybe-configure-build-libiberty:
2910 @if gcc-bootstrap
2911 configure-build-libiberty: stage_current
2912 @endif gcc-bootstrap
2913 @if build-libiberty
2914 maybe-configure-build-libiberty: configure-build-libiberty
2915 configure-build-libiberty:
2916 @: $(MAKE); $(unstage)
2917 @r=`${PWD_COMMAND}`; export r; \
2918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2919 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2920 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2921 $(BUILD_EXPORTS) \
2922 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2923 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2924 case $(srcdir) in \
2925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2926 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2928 esac; \
2929 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2930 libsrcdir="$$s/libiberty"; \
2931 rm -f no-such-file || : ; \
2932 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2933 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2934 --target=${target_alias} $${srcdiroption} \
2935 || exit 1
2936 @endif build-libiberty
2942 .PHONY: all-build-libiberty maybe-all-build-libiberty
2943 maybe-all-build-libiberty:
2944 @if gcc-bootstrap
2945 all-build-libiberty: stage_current
2946 @endif gcc-bootstrap
2947 @if build-libiberty
2948 TARGET-build-libiberty=all
2949 maybe-all-build-libiberty: all-build-libiberty
2950 all-build-libiberty: configure-build-libiberty
2951 @: $(MAKE); $(unstage)
2952 @r=`${PWD_COMMAND}`; export r; \
2953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2954 $(BUILD_EXPORTS) \
2955 (cd $(BUILD_SUBDIR)/libiberty && \
2956 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2957 $(TARGET-build-libiberty))
2958 @endif build-libiberty
2964 .PHONY: configure-build-bison maybe-configure-build-bison
2965 maybe-configure-build-bison:
2966 @if gcc-bootstrap
2967 configure-build-bison: stage_current
2968 @endif gcc-bootstrap
2969 @if build-bison
2970 maybe-configure-build-bison: configure-build-bison
2971 configure-build-bison:
2972 @: $(MAKE); $(unstage)
2973 @r=`${PWD_COMMAND}`; export r; \
2974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2975 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2976 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2977 $(BUILD_EXPORTS) \
2978 echo Configuring in $(BUILD_SUBDIR)/bison; \
2979 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2980 case $(srcdir) in \
2981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2982 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2984 esac; \
2985 srcdiroption="--srcdir=$${topdir}/bison"; \
2986 libsrcdir="$$s/bison"; \
2987 rm -f no-such-file || : ; \
2988 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2989 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2990 --target=${target_alias} $${srcdiroption} \
2991 || exit 1
2992 @endif build-bison
2998 .PHONY: all-build-bison maybe-all-build-bison
2999 maybe-all-build-bison:
3000 @if gcc-bootstrap
3001 all-build-bison: stage_current
3002 @endif gcc-bootstrap
3003 @if build-bison
3004 TARGET-build-bison=all
3005 maybe-all-build-bison: all-build-bison
3006 all-build-bison: configure-build-bison
3007 @: $(MAKE); $(unstage)
3008 @r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 $(BUILD_EXPORTS) \
3011 (cd $(BUILD_SUBDIR)/bison && \
3012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3013 $(TARGET-build-bison))
3014 @endif build-bison
3020 .PHONY: configure-build-byacc maybe-configure-build-byacc
3021 maybe-configure-build-byacc:
3022 @if gcc-bootstrap
3023 configure-build-byacc: stage_current
3024 @endif gcc-bootstrap
3025 @if build-byacc
3026 maybe-configure-build-byacc: configure-build-byacc
3027 configure-build-byacc:
3028 @: $(MAKE); $(unstage)
3029 @r=`${PWD_COMMAND}`; export r; \
3030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3031 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
3032 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
3033 $(BUILD_EXPORTS) \
3034 echo Configuring in $(BUILD_SUBDIR)/byacc; \
3035 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
3036 case $(srcdir) in \
3037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3038 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
3039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3040 esac; \
3041 srcdiroption="--srcdir=$${topdir}/byacc"; \
3042 libsrcdir="$$s/byacc"; \
3043 rm -f no-such-file || : ; \
3044 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3045 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3046 --target=${target_alias} $${srcdiroption} \
3047 || exit 1
3048 @endif build-byacc
3054 .PHONY: all-build-byacc maybe-all-build-byacc
3055 maybe-all-build-byacc:
3056 @if gcc-bootstrap
3057 all-build-byacc: stage_current
3058 @endif gcc-bootstrap
3059 @if build-byacc
3060 TARGET-build-byacc=all
3061 maybe-all-build-byacc: all-build-byacc
3062 all-build-byacc: configure-build-byacc
3063 @: $(MAKE); $(unstage)
3064 @r=`${PWD_COMMAND}`; export r; \
3065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3066 $(BUILD_EXPORTS) \
3067 (cd $(BUILD_SUBDIR)/byacc && \
3068 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3069 $(TARGET-build-byacc))
3070 @endif build-byacc
3076 .PHONY: configure-build-flex maybe-configure-build-flex
3077 maybe-configure-build-flex:
3078 @if gcc-bootstrap
3079 configure-build-flex: stage_current
3080 @endif gcc-bootstrap
3081 @if build-flex
3082 maybe-configure-build-flex: configure-build-flex
3083 configure-build-flex:
3084 @: $(MAKE); $(unstage)
3085 @r=`${PWD_COMMAND}`; export r; \
3086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3087 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3088 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
3089 $(BUILD_EXPORTS) \
3090 echo Configuring in $(BUILD_SUBDIR)/flex; \
3091 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3092 case $(srcdir) in \
3093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3094 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3096 esac; \
3097 srcdiroption="--srcdir=$${topdir}/flex"; \
3098 libsrcdir="$$s/flex"; \
3099 rm -f no-such-file || : ; \
3100 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3101 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3102 --target=${target_alias} $${srcdiroption} \
3103 || exit 1
3104 @endif build-flex
3110 .PHONY: all-build-flex maybe-all-build-flex
3111 maybe-all-build-flex:
3112 @if gcc-bootstrap
3113 all-build-flex: stage_current
3114 @endif gcc-bootstrap
3115 @if build-flex
3116 TARGET-build-flex=all
3117 maybe-all-build-flex: all-build-flex
3118 all-build-flex: configure-build-flex
3119 @: $(MAKE); $(unstage)
3120 @r=`${PWD_COMMAND}`; export r; \
3121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122 $(BUILD_EXPORTS) \
3123 (cd $(BUILD_SUBDIR)/flex && \
3124 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3125 $(TARGET-build-flex))
3126 @endif build-flex
3132 .PHONY: configure-build-m4 maybe-configure-build-m4
3133 maybe-configure-build-m4:
3134 @if gcc-bootstrap
3135 configure-build-m4: stage_current
3136 @endif gcc-bootstrap
3137 @if build-m4
3138 maybe-configure-build-m4: configure-build-m4
3139 configure-build-m4:
3140 @: $(MAKE); $(unstage)
3141 @r=`${PWD_COMMAND}`; export r; \
3142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3143 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3144 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
3145 $(BUILD_EXPORTS) \
3146 echo Configuring in $(BUILD_SUBDIR)/m4; \
3147 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3148 case $(srcdir) in \
3149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3150 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3152 esac; \
3153 srcdiroption="--srcdir=$${topdir}/m4"; \
3154 libsrcdir="$$s/m4"; \
3155 rm -f no-such-file || : ; \
3156 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3157 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3158 --target=${target_alias} $${srcdiroption} \
3159 || exit 1
3160 @endif build-m4
3166 .PHONY: all-build-m4 maybe-all-build-m4
3167 maybe-all-build-m4:
3168 @if gcc-bootstrap
3169 all-build-m4: stage_current
3170 @endif gcc-bootstrap
3171 @if build-m4
3172 TARGET-build-m4=all
3173 maybe-all-build-m4: all-build-m4
3174 all-build-m4: configure-build-m4
3175 @: $(MAKE); $(unstage)
3176 @r=`${PWD_COMMAND}`; export r; \
3177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 $(BUILD_EXPORTS) \
3179 (cd $(BUILD_SUBDIR)/m4 && \
3180 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3181 $(TARGET-build-m4))
3182 @endif build-m4
3188 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3189 maybe-configure-build-texinfo:
3190 @if gcc-bootstrap
3191 configure-build-texinfo: stage_current
3192 @endif gcc-bootstrap
3193 @if build-texinfo
3194 maybe-configure-build-texinfo: configure-build-texinfo
3195 configure-build-texinfo:
3196 @: $(MAKE); $(unstage)
3197 @r=`${PWD_COMMAND}`; export r; \
3198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3199 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3200 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3201 $(BUILD_EXPORTS) \
3202 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3203 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3204 case $(srcdir) in \
3205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3206 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3208 esac; \
3209 srcdiroption="--srcdir=$${topdir}/texinfo"; \
3210 libsrcdir="$$s/texinfo"; \
3211 rm -f no-such-file || : ; \
3212 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3213 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3214 --target=${target_alias} $${srcdiroption} \
3215 || exit 1
3216 @endif build-texinfo
3222 .PHONY: all-build-texinfo maybe-all-build-texinfo
3223 maybe-all-build-texinfo:
3224 @if gcc-bootstrap
3225 all-build-texinfo: stage_current
3226 @endif gcc-bootstrap
3227 @if build-texinfo
3228 TARGET-build-texinfo=all
3229 maybe-all-build-texinfo: all-build-texinfo
3230 all-build-texinfo: configure-build-texinfo
3231 @: $(MAKE); $(unstage)
3232 @r=`${PWD_COMMAND}`; export r; \
3233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3234 $(BUILD_EXPORTS) \
3235 (cd $(BUILD_SUBDIR)/texinfo && \
3236 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3237 $(TARGET-build-texinfo))
3238 @endif build-texinfo
3244 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3245 maybe-configure-build-fixincludes:
3246 @if gcc-bootstrap
3247 configure-build-fixincludes: stage_current
3248 @endif gcc-bootstrap
3249 @if build-fixincludes
3250 maybe-configure-build-fixincludes: configure-build-fixincludes
3251 configure-build-fixincludes:
3252 @: $(MAKE); $(unstage)
3253 @r=`${PWD_COMMAND}`; export r; \
3254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3255 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3256 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3257 $(BUILD_EXPORTS) \
3258 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3259 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3260 case $(srcdir) in \
3261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3262 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3264 esac; \
3265 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3266 libsrcdir="$$s/fixincludes"; \
3267 rm -f no-such-file || : ; \
3268 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3269 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3270 --target=${target_alias} $${srcdiroption} \
3271 || exit 1
3272 @endif build-fixincludes
3278 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3279 maybe-all-build-fixincludes:
3280 @if gcc-bootstrap
3281 all-build-fixincludes: stage_current
3282 @endif gcc-bootstrap
3283 @if build-fixincludes
3284 TARGET-build-fixincludes=all
3285 maybe-all-build-fixincludes: all-build-fixincludes
3286 all-build-fixincludes: configure-build-fixincludes
3287 @: $(MAKE); $(unstage)
3288 @r=`${PWD_COMMAND}`; export r; \
3289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3290 $(BUILD_EXPORTS) \
3291 (cd $(BUILD_SUBDIR)/fixincludes && \
3292 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3293 $(TARGET-build-fixincludes))
3294 @endif build-fixincludes
3300 # --------------------------------------
3301 # Modules which run on the host machine
3302 # --------------------------------------
3305 .PHONY: configure-ash maybe-configure-ash
3306 maybe-configure-ash:
3307 @if gcc-bootstrap
3308 configure-ash: stage_current
3309 @endif gcc-bootstrap
3310 @if ash
3311 maybe-configure-ash: configure-ash
3312 configure-ash:
3313 @: $(MAKE); $(unstage)
3314 @r=`${PWD_COMMAND}`; export r; \
3315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3316 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3318 $(HOST_EXPORTS) \
3319 echo Configuring in $(HOST_SUBDIR)/ash; \
3320 cd "$(HOST_SUBDIR)/ash" || exit 1; \
3321 case $(srcdir) in \
3322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3323 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3325 esac; \
3326 srcdiroption="--srcdir=$${topdir}/ash"; \
3327 libsrcdir="$$s/ash"; \
3328 $(SHELL) $${libsrcdir}/configure \
3329 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3330 --target=${target_alias} $${srcdiroption} \
3331 || exit 1
3332 @endif ash
3338 .PHONY: all-ash maybe-all-ash
3339 maybe-all-ash:
3340 @if gcc-bootstrap
3341 all-ash: stage_current
3342 @endif gcc-bootstrap
3343 @if ash
3344 TARGET-ash=all
3345 maybe-all-ash: all-ash
3346 all-ash: configure-ash
3347 @: $(MAKE); $(unstage)
3348 @r=`${PWD_COMMAND}`; export r; \
3349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 $(HOST_EXPORTS) \
3351 (cd $(HOST_SUBDIR)/ash && \
3352 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3353 $(TARGET-ash))
3354 @endif ash
3359 .PHONY: check-ash maybe-check-ash
3360 maybe-check-ash:
3361 @if ash
3362 maybe-check-ash: check-ash
3364 check-ash:
3365 @: $(MAKE); $(unstage)
3366 @r=`${PWD_COMMAND}`; export r; \
3367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3368 $(HOST_EXPORTS) \
3369 (cd $(HOST_SUBDIR)/ash && \
3370 $(MAKE) $(FLAGS_TO_PASS) check)
3372 @endif ash
3374 .PHONY: install-ash maybe-install-ash
3375 maybe-install-ash:
3376 @if ash
3377 maybe-install-ash: install-ash
3379 install-ash: installdirs
3380 @: $(MAKE); $(unstage)
3381 @r=`${PWD_COMMAND}`; export r; \
3382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3383 $(HOST_EXPORTS) \
3384 (cd $(HOST_SUBDIR)/ash && \
3385 $(MAKE) $(FLAGS_TO_PASS) install)
3387 @endif ash
3389 # Other targets (info, dvi, pdf, etc.)
3391 .PHONY: maybe-info-ash info-ash
3392 maybe-info-ash:
3393 @if ash
3394 maybe-info-ash: info-ash
3396 info-ash: \
3397 configure-ash
3398 @: $(MAKE); $(unstage)
3399 @[ -f ./ash/Makefile ] || exit 0; \
3400 r=`${PWD_COMMAND}`; export r; \
3401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3402 $(HOST_EXPORTS) \
3403 for flag in $(EXTRA_HOST_FLAGS) ; do \
3404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3405 done; \
3406 echo "Doing info in ash" ; \
3407 (cd $(HOST_SUBDIR)/ash && \
3408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3410 "RANLIB=$${RANLIB}" \
3411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3412 info) \
3413 || exit 1
3415 @endif ash
3417 .PHONY: maybe-dvi-ash dvi-ash
3418 maybe-dvi-ash:
3419 @if ash
3420 maybe-dvi-ash: dvi-ash
3422 dvi-ash: \
3423 configure-ash
3424 @: $(MAKE); $(unstage)
3425 @[ -f ./ash/Makefile ] || exit 0; \
3426 r=`${PWD_COMMAND}`; export r; \
3427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3428 $(HOST_EXPORTS) \
3429 for flag in $(EXTRA_HOST_FLAGS) ; do \
3430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3431 done; \
3432 echo "Doing dvi in ash" ; \
3433 (cd $(HOST_SUBDIR)/ash && \
3434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3436 "RANLIB=$${RANLIB}" \
3437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3438 dvi) \
3439 || exit 1
3441 @endif ash
3443 .PHONY: maybe-pdf-ash pdf-ash
3444 maybe-pdf-ash:
3445 @if ash
3446 maybe-pdf-ash: pdf-ash
3448 pdf-ash: \
3449 configure-ash
3450 @: $(MAKE); $(unstage)
3451 @[ -f ./ash/Makefile ] || exit 0; \
3452 r=`${PWD_COMMAND}`; export r; \
3453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3454 $(HOST_EXPORTS) \
3455 for flag in $(EXTRA_HOST_FLAGS) ; do \
3456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3457 done; \
3458 echo "Doing pdf in ash" ; \
3459 (cd $(HOST_SUBDIR)/ash && \
3460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3462 "RANLIB=$${RANLIB}" \
3463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3464 pdf) \
3465 || exit 1
3467 @endif ash
3469 .PHONY: maybe-html-ash html-ash
3470 maybe-html-ash:
3471 @if ash
3472 maybe-html-ash: html-ash
3474 html-ash: \
3475 configure-ash
3476 @: $(MAKE); $(unstage)
3477 @[ -f ./ash/Makefile ] || exit 0; \
3478 r=`${PWD_COMMAND}`; export r; \
3479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3480 $(HOST_EXPORTS) \
3481 for flag in $(EXTRA_HOST_FLAGS) ; do \
3482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3483 done; \
3484 echo "Doing html in ash" ; \
3485 (cd $(HOST_SUBDIR)/ash && \
3486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3488 "RANLIB=$${RANLIB}" \
3489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3490 html) \
3491 || exit 1
3493 @endif ash
3495 .PHONY: maybe-TAGS-ash TAGS-ash
3496 maybe-TAGS-ash:
3497 @if ash
3498 maybe-TAGS-ash: TAGS-ash
3500 TAGS-ash: \
3501 configure-ash
3502 @: $(MAKE); $(unstage)
3503 @[ -f ./ash/Makefile ] || exit 0; \
3504 r=`${PWD_COMMAND}`; export r; \
3505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3506 $(HOST_EXPORTS) \
3507 for flag in $(EXTRA_HOST_FLAGS) ; do \
3508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3509 done; \
3510 echo "Doing TAGS in ash" ; \
3511 (cd $(HOST_SUBDIR)/ash && \
3512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3514 "RANLIB=$${RANLIB}" \
3515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3516 TAGS) \
3517 || exit 1
3519 @endif ash
3521 .PHONY: maybe-install-info-ash install-info-ash
3522 maybe-install-info-ash:
3523 @if ash
3524 maybe-install-info-ash: install-info-ash
3526 install-info-ash: \
3527 configure-ash \
3528 info-ash
3529 @: $(MAKE); $(unstage)
3530 @[ -f ./ash/Makefile ] || exit 0; \
3531 r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 for flag in $(EXTRA_HOST_FLAGS) ; do \
3535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3536 done; \
3537 echo "Doing install-info in ash" ; \
3538 (cd $(HOST_SUBDIR)/ash && \
3539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3541 "RANLIB=$${RANLIB}" \
3542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3543 install-info) \
3544 || exit 1
3546 @endif ash
3548 .PHONY: maybe-install-pdf-ash install-pdf-ash
3549 maybe-install-pdf-ash:
3550 @if ash
3551 maybe-install-pdf-ash: install-pdf-ash
3553 install-pdf-ash: \
3554 configure-ash \
3555 pdf-ash
3556 @: $(MAKE); $(unstage)
3557 @[ -f ./ash/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 $(HOST_EXPORTS) \
3561 for flag in $(EXTRA_HOST_FLAGS) ; do \
3562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3563 done; \
3564 echo "Doing install-pdf in ash" ; \
3565 (cd $(HOST_SUBDIR)/ash && \
3566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3568 "RANLIB=$${RANLIB}" \
3569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3570 install-pdf) \
3571 || exit 1
3573 @endif ash
3575 .PHONY: maybe-install-html-ash install-html-ash
3576 maybe-install-html-ash:
3577 @if ash
3578 maybe-install-html-ash: install-html-ash
3580 install-html-ash: \
3581 configure-ash \
3582 html-ash
3583 @: $(MAKE); $(unstage)
3584 @[ -f ./ash/Makefile ] || exit 0; \
3585 r=`${PWD_COMMAND}`; export r; \
3586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3587 $(HOST_EXPORTS) \
3588 for flag in $(EXTRA_HOST_FLAGS) ; do \
3589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3590 done; \
3591 echo "Doing install-html in ash" ; \
3592 (cd $(HOST_SUBDIR)/ash && \
3593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3595 "RANLIB=$${RANLIB}" \
3596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3597 install-html) \
3598 || exit 1
3600 @endif ash
3602 .PHONY: maybe-installcheck-ash installcheck-ash
3603 maybe-installcheck-ash:
3604 @if ash
3605 maybe-installcheck-ash: installcheck-ash
3607 installcheck-ash: \
3608 configure-ash
3609 @: $(MAKE); $(unstage)
3610 @[ -f ./ash/Makefile ] || exit 0; \
3611 r=`${PWD_COMMAND}`; export r; \
3612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3613 $(HOST_EXPORTS) \
3614 for flag in $(EXTRA_HOST_FLAGS) ; do \
3615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3616 done; \
3617 echo "Doing installcheck in ash" ; \
3618 (cd $(HOST_SUBDIR)/ash && \
3619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3621 "RANLIB=$${RANLIB}" \
3622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3623 installcheck) \
3624 || exit 1
3626 @endif ash
3628 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3629 maybe-mostlyclean-ash:
3630 @if ash
3631 maybe-mostlyclean-ash: mostlyclean-ash
3633 mostlyclean-ash:
3634 @: $(MAKE); $(unstage)
3635 @[ -f ./ash/Makefile ] || exit 0; \
3636 r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3638 $(HOST_EXPORTS) \
3639 for flag in $(EXTRA_HOST_FLAGS) ; do \
3640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3641 done; \
3642 echo "Doing mostlyclean in ash" ; \
3643 (cd $(HOST_SUBDIR)/ash && \
3644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3646 "RANLIB=$${RANLIB}" \
3647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3648 mostlyclean) \
3649 || exit 1
3651 @endif ash
3653 .PHONY: maybe-clean-ash clean-ash
3654 maybe-clean-ash:
3655 @if ash
3656 maybe-clean-ash: clean-ash
3658 clean-ash:
3659 @: $(MAKE); $(unstage)
3660 @[ -f ./ash/Makefile ] || exit 0; \
3661 r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 $(HOST_EXPORTS) \
3664 for flag in $(EXTRA_HOST_FLAGS) ; do \
3665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3666 done; \
3667 echo "Doing clean in ash" ; \
3668 (cd $(HOST_SUBDIR)/ash && \
3669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3671 "RANLIB=$${RANLIB}" \
3672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3673 clean) \
3674 || exit 1
3676 @endif ash
3678 .PHONY: maybe-distclean-ash distclean-ash
3679 maybe-distclean-ash:
3680 @if ash
3681 maybe-distclean-ash: distclean-ash
3683 distclean-ash:
3684 @: $(MAKE); $(unstage)
3685 @[ -f ./ash/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691 done; \
3692 echo "Doing distclean in ash" ; \
3693 (cd $(HOST_SUBDIR)/ash && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3698 distclean) \
3699 || exit 1
3701 @endif ash
3703 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3704 maybe-maintainer-clean-ash:
3705 @if ash
3706 maybe-maintainer-clean-ash: maintainer-clean-ash
3708 maintainer-clean-ash:
3709 @: $(MAKE); $(unstage)
3710 @[ -f ./ash/Makefile ] || exit 0; \
3711 r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713 $(HOST_EXPORTS) \
3714 for flag in $(EXTRA_HOST_FLAGS) ; do \
3715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3716 done; \
3717 echo "Doing maintainer-clean in ash" ; \
3718 (cd $(HOST_SUBDIR)/ash && \
3719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721 "RANLIB=$${RANLIB}" \
3722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3723 maintainer-clean) \
3724 || exit 1
3726 @endif ash
3730 .PHONY: configure-autoconf maybe-configure-autoconf
3731 maybe-configure-autoconf:
3732 @if gcc-bootstrap
3733 configure-autoconf: stage_current
3734 @endif gcc-bootstrap
3735 @if autoconf
3736 maybe-configure-autoconf: configure-autoconf
3737 configure-autoconf:
3738 @: $(MAKE); $(unstage)
3739 @r=`${PWD_COMMAND}`; export r; \
3740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3741 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3743 $(HOST_EXPORTS) \
3744 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3745 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3746 case $(srcdir) in \
3747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3748 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3750 esac; \
3751 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3752 libsrcdir="$$s/autoconf"; \
3753 $(SHELL) $${libsrcdir}/configure \
3754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3755 --target=${target_alias} $${srcdiroption} \
3756 || exit 1
3757 @endif autoconf
3763 .PHONY: all-autoconf maybe-all-autoconf
3764 maybe-all-autoconf:
3765 @if gcc-bootstrap
3766 all-autoconf: stage_current
3767 @endif gcc-bootstrap
3768 @if autoconf
3769 TARGET-autoconf=all
3770 maybe-all-autoconf: all-autoconf
3771 all-autoconf: configure-autoconf
3772 @: $(MAKE); $(unstage)
3773 @r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(HOST_EXPORTS) \
3776 (cd $(HOST_SUBDIR)/autoconf && \
3777 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3778 $(TARGET-autoconf))
3779 @endif autoconf
3784 .PHONY: check-autoconf maybe-check-autoconf
3785 maybe-check-autoconf:
3786 @if autoconf
3787 maybe-check-autoconf: check-autoconf
3789 check-autoconf:
3790 @: $(MAKE); $(unstage)
3791 @r=`${PWD_COMMAND}`; export r; \
3792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3793 $(HOST_EXPORTS) \
3794 (cd $(HOST_SUBDIR)/autoconf && \
3795 $(MAKE) $(FLAGS_TO_PASS) check)
3797 @endif autoconf
3799 .PHONY: install-autoconf maybe-install-autoconf
3800 maybe-install-autoconf:
3801 @if autoconf
3802 maybe-install-autoconf: install-autoconf
3804 install-autoconf: installdirs
3805 @: $(MAKE); $(unstage)
3806 @r=`${PWD_COMMAND}`; export r; \
3807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3808 $(HOST_EXPORTS) \
3809 (cd $(HOST_SUBDIR)/autoconf && \
3810 $(MAKE) $(FLAGS_TO_PASS) install)
3812 @endif autoconf
3814 # Other targets (info, dvi, pdf, etc.)
3816 .PHONY: maybe-info-autoconf info-autoconf
3817 maybe-info-autoconf:
3818 @if autoconf
3819 maybe-info-autoconf: info-autoconf
3821 info-autoconf: \
3822 configure-autoconf
3823 @: $(MAKE); $(unstage)
3824 @[ -f ./autoconf/Makefile ] || exit 0; \
3825 r=`${PWD_COMMAND}`; export r; \
3826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3827 $(HOST_EXPORTS) \
3828 for flag in $(EXTRA_HOST_FLAGS) ; do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830 done; \
3831 echo "Doing info in autoconf" ; \
3832 (cd $(HOST_SUBDIR)/autoconf && \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3837 info) \
3838 || exit 1
3840 @endif autoconf
3842 .PHONY: maybe-dvi-autoconf dvi-autoconf
3843 maybe-dvi-autoconf:
3844 @if autoconf
3845 maybe-dvi-autoconf: dvi-autoconf
3847 dvi-autoconf: \
3848 configure-autoconf
3849 @: $(MAKE); $(unstage)
3850 @[ -f ./autoconf/Makefile ] || exit 0; \
3851 r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 $(HOST_EXPORTS) \
3854 for flag in $(EXTRA_HOST_FLAGS) ; do \
3855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3856 done; \
3857 echo "Doing dvi in autoconf" ; \
3858 (cd $(HOST_SUBDIR)/autoconf && \
3859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3861 "RANLIB=$${RANLIB}" \
3862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3863 dvi) \
3864 || exit 1
3866 @endif autoconf
3868 .PHONY: maybe-pdf-autoconf pdf-autoconf
3869 maybe-pdf-autoconf:
3870 @if autoconf
3871 maybe-pdf-autoconf: pdf-autoconf
3873 pdf-autoconf: \
3874 configure-autoconf
3875 @: $(MAKE); $(unstage)
3876 @[ -f ./autoconf/Makefile ] || exit 0; \
3877 r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879 $(HOST_EXPORTS) \
3880 for flag in $(EXTRA_HOST_FLAGS) ; do \
3881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3882 done; \
3883 echo "Doing pdf in autoconf" ; \
3884 (cd $(HOST_SUBDIR)/autoconf && \
3885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3887 "RANLIB=$${RANLIB}" \
3888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3889 pdf) \
3890 || exit 1
3892 @endif autoconf
3894 .PHONY: maybe-html-autoconf html-autoconf
3895 maybe-html-autoconf:
3896 @if autoconf
3897 maybe-html-autoconf: html-autoconf
3899 html-autoconf: \
3900 configure-autoconf
3901 @: $(MAKE); $(unstage)
3902 @[ -f ./autoconf/Makefile ] || exit 0; \
3903 r=`${PWD_COMMAND}`; export r; \
3904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 $(HOST_EXPORTS) \
3906 for flag in $(EXTRA_HOST_FLAGS) ; do \
3907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3908 done; \
3909 echo "Doing html in autoconf" ; \
3910 (cd $(HOST_SUBDIR)/autoconf && \
3911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3913 "RANLIB=$${RANLIB}" \
3914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3915 html) \
3916 || exit 1
3918 @endif autoconf
3920 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3921 maybe-TAGS-autoconf:
3922 @if autoconf
3923 maybe-TAGS-autoconf: TAGS-autoconf
3925 TAGS-autoconf: \
3926 configure-autoconf
3927 @: $(MAKE); $(unstage)
3928 @[ -f ./autoconf/Makefile ] || exit 0; \
3929 r=`${PWD_COMMAND}`; export r; \
3930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3931 $(HOST_EXPORTS) \
3932 for flag in $(EXTRA_HOST_FLAGS) ; do \
3933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3934 done; \
3935 echo "Doing TAGS in autoconf" ; \
3936 (cd $(HOST_SUBDIR)/autoconf && \
3937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939 "RANLIB=$${RANLIB}" \
3940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3941 TAGS) \
3942 || exit 1
3944 @endif autoconf
3946 .PHONY: maybe-install-info-autoconf install-info-autoconf
3947 maybe-install-info-autoconf:
3948 @if autoconf
3949 maybe-install-info-autoconf: install-info-autoconf
3951 install-info-autoconf: \
3952 configure-autoconf \
3953 info-autoconf
3954 @: $(MAKE); $(unstage)
3955 @[ -f ./autoconf/Makefile ] || exit 0; \
3956 r=`${PWD_COMMAND}`; export r; \
3957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3958 $(HOST_EXPORTS) \
3959 for flag in $(EXTRA_HOST_FLAGS) ; do \
3960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3961 done; \
3962 echo "Doing install-info in autoconf" ; \
3963 (cd $(HOST_SUBDIR)/autoconf && \
3964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3966 "RANLIB=$${RANLIB}" \
3967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3968 install-info) \
3969 || exit 1
3971 @endif autoconf
3973 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
3974 maybe-install-pdf-autoconf:
3975 @if autoconf
3976 maybe-install-pdf-autoconf: install-pdf-autoconf
3978 install-pdf-autoconf: \
3979 configure-autoconf \
3980 pdf-autoconf
3981 @: $(MAKE); $(unstage)
3982 @[ -f ./autoconf/Makefile ] || exit 0; \
3983 r=`${PWD_COMMAND}`; export r; \
3984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3985 $(HOST_EXPORTS) \
3986 for flag in $(EXTRA_HOST_FLAGS) ; do \
3987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3988 done; \
3989 echo "Doing install-pdf in autoconf" ; \
3990 (cd $(HOST_SUBDIR)/autoconf && \
3991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3993 "RANLIB=$${RANLIB}" \
3994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3995 install-pdf) \
3996 || exit 1
3998 @endif autoconf
4000 .PHONY: maybe-install-html-autoconf install-html-autoconf
4001 maybe-install-html-autoconf:
4002 @if autoconf
4003 maybe-install-html-autoconf: install-html-autoconf
4005 install-html-autoconf: \
4006 configure-autoconf \
4007 html-autoconf
4008 @: $(MAKE); $(unstage)
4009 @[ -f ./autoconf/Makefile ] || exit 0; \
4010 r=`${PWD_COMMAND}`; export r; \
4011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4012 $(HOST_EXPORTS) \
4013 for flag in $(EXTRA_HOST_FLAGS) ; do \
4014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4015 done; \
4016 echo "Doing install-html in autoconf" ; \
4017 (cd $(HOST_SUBDIR)/autoconf && \
4018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4020 "RANLIB=$${RANLIB}" \
4021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4022 install-html) \
4023 || exit 1
4025 @endif autoconf
4027 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
4028 maybe-installcheck-autoconf:
4029 @if autoconf
4030 maybe-installcheck-autoconf: installcheck-autoconf
4032 installcheck-autoconf: \
4033 configure-autoconf
4034 @: $(MAKE); $(unstage)
4035 @[ -f ./autoconf/Makefile ] || exit 0; \
4036 r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 $(HOST_EXPORTS) \
4039 for flag in $(EXTRA_HOST_FLAGS) ; do \
4040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4041 done; \
4042 echo "Doing installcheck in autoconf" ; \
4043 (cd $(HOST_SUBDIR)/autoconf && \
4044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4046 "RANLIB=$${RANLIB}" \
4047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4048 installcheck) \
4049 || exit 1
4051 @endif autoconf
4053 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
4054 maybe-mostlyclean-autoconf:
4055 @if autoconf
4056 maybe-mostlyclean-autoconf: mostlyclean-autoconf
4058 mostlyclean-autoconf:
4059 @: $(MAKE); $(unstage)
4060 @[ -f ./autoconf/Makefile ] || exit 0; \
4061 r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4063 $(HOST_EXPORTS) \
4064 for flag in $(EXTRA_HOST_FLAGS) ; do \
4065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4066 done; \
4067 echo "Doing mostlyclean in autoconf" ; \
4068 (cd $(HOST_SUBDIR)/autoconf && \
4069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4071 "RANLIB=$${RANLIB}" \
4072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4073 mostlyclean) \
4074 || exit 1
4076 @endif autoconf
4078 .PHONY: maybe-clean-autoconf clean-autoconf
4079 maybe-clean-autoconf:
4080 @if autoconf
4081 maybe-clean-autoconf: clean-autoconf
4083 clean-autoconf:
4084 @: $(MAKE); $(unstage)
4085 @[ -f ./autoconf/Makefile ] || exit 0; \
4086 r=`${PWD_COMMAND}`; export r; \
4087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4088 $(HOST_EXPORTS) \
4089 for flag in $(EXTRA_HOST_FLAGS) ; do \
4090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4091 done; \
4092 echo "Doing clean in autoconf" ; \
4093 (cd $(HOST_SUBDIR)/autoconf && \
4094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4096 "RANLIB=$${RANLIB}" \
4097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4098 clean) \
4099 || exit 1
4101 @endif autoconf
4103 .PHONY: maybe-distclean-autoconf distclean-autoconf
4104 maybe-distclean-autoconf:
4105 @if autoconf
4106 maybe-distclean-autoconf: distclean-autoconf
4108 distclean-autoconf:
4109 @: $(MAKE); $(unstage)
4110 @[ -f ./autoconf/Makefile ] || exit 0; \
4111 r=`${PWD_COMMAND}`; export r; \
4112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4113 $(HOST_EXPORTS) \
4114 for flag in $(EXTRA_HOST_FLAGS) ; do \
4115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4116 done; \
4117 echo "Doing distclean in autoconf" ; \
4118 (cd $(HOST_SUBDIR)/autoconf && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4121 "RANLIB=$${RANLIB}" \
4122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4123 distclean) \
4124 || exit 1
4126 @endif autoconf
4128 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
4129 maybe-maintainer-clean-autoconf:
4130 @if autoconf
4131 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
4133 maintainer-clean-autoconf:
4134 @: $(MAKE); $(unstage)
4135 @[ -f ./autoconf/Makefile ] || exit 0; \
4136 r=`${PWD_COMMAND}`; export r; \
4137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4138 $(HOST_EXPORTS) \
4139 for flag in $(EXTRA_HOST_FLAGS) ; do \
4140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4141 done; \
4142 echo "Doing maintainer-clean in autoconf" ; \
4143 (cd $(HOST_SUBDIR)/autoconf && \
4144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4146 "RANLIB=$${RANLIB}" \
4147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4148 maintainer-clean) \
4149 || exit 1
4151 @endif autoconf
4155 .PHONY: configure-automake maybe-configure-automake
4156 maybe-configure-automake:
4157 @if gcc-bootstrap
4158 configure-automake: stage_current
4159 @endif gcc-bootstrap
4160 @if automake
4161 maybe-configure-automake: configure-automake
4162 configure-automake:
4163 @: $(MAKE); $(unstage)
4164 @r=`${PWD_COMMAND}`; export r; \
4165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4166 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
4167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
4168 $(HOST_EXPORTS) \
4169 echo Configuring in $(HOST_SUBDIR)/automake; \
4170 cd "$(HOST_SUBDIR)/automake" || exit 1; \
4171 case $(srcdir) in \
4172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4173 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
4174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4175 esac; \
4176 srcdiroption="--srcdir=$${topdir}/automake"; \
4177 libsrcdir="$$s/automake"; \
4178 $(SHELL) $${libsrcdir}/configure \
4179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4180 --target=${target_alias} $${srcdiroption} \
4181 || exit 1
4182 @endif automake
4188 .PHONY: all-automake maybe-all-automake
4189 maybe-all-automake:
4190 @if gcc-bootstrap
4191 all-automake: stage_current
4192 @endif gcc-bootstrap
4193 @if automake
4194 TARGET-automake=all
4195 maybe-all-automake: all-automake
4196 all-automake: configure-automake
4197 @: $(MAKE); $(unstage)
4198 @r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200 $(HOST_EXPORTS) \
4201 (cd $(HOST_SUBDIR)/automake && \
4202 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4203 $(TARGET-automake))
4204 @endif automake
4209 .PHONY: check-automake maybe-check-automake
4210 maybe-check-automake:
4211 @if automake
4212 maybe-check-automake: check-automake
4214 check-automake:
4215 @: $(MAKE); $(unstage)
4216 @r=`${PWD_COMMAND}`; export r; \
4217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4218 $(HOST_EXPORTS) \
4219 (cd $(HOST_SUBDIR)/automake && \
4220 $(MAKE) $(FLAGS_TO_PASS) check)
4222 @endif automake
4224 .PHONY: install-automake maybe-install-automake
4225 maybe-install-automake:
4226 @if automake
4227 maybe-install-automake: install-automake
4229 install-automake: installdirs
4230 @: $(MAKE); $(unstage)
4231 @r=`${PWD_COMMAND}`; export r; \
4232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4233 $(HOST_EXPORTS) \
4234 (cd $(HOST_SUBDIR)/automake && \
4235 $(MAKE) $(FLAGS_TO_PASS) install)
4237 @endif automake
4239 # Other targets (info, dvi, pdf, etc.)
4241 .PHONY: maybe-info-automake info-automake
4242 maybe-info-automake:
4243 @if automake
4244 maybe-info-automake: info-automake
4246 info-automake: \
4247 configure-automake
4248 @: $(MAKE); $(unstage)
4249 @[ -f ./automake/Makefile ] || exit 0; \
4250 r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4252 $(HOST_EXPORTS) \
4253 for flag in $(EXTRA_HOST_FLAGS) ; do \
4254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4255 done; \
4256 echo "Doing info in automake" ; \
4257 (cd $(HOST_SUBDIR)/automake && \
4258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4260 "RANLIB=$${RANLIB}" \
4261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4262 info) \
4263 || exit 1
4265 @endif automake
4267 .PHONY: maybe-dvi-automake dvi-automake
4268 maybe-dvi-automake:
4269 @if automake
4270 maybe-dvi-automake: dvi-automake
4272 dvi-automake: \
4273 configure-automake
4274 @: $(MAKE); $(unstage)
4275 @[ -f ./automake/Makefile ] || exit 0; \
4276 r=`${PWD_COMMAND}`; export r; \
4277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4278 $(HOST_EXPORTS) \
4279 for flag in $(EXTRA_HOST_FLAGS) ; do \
4280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4281 done; \
4282 echo "Doing dvi in automake" ; \
4283 (cd $(HOST_SUBDIR)/automake && \
4284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4286 "RANLIB=$${RANLIB}" \
4287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4288 dvi) \
4289 || exit 1
4291 @endif automake
4293 .PHONY: maybe-pdf-automake pdf-automake
4294 maybe-pdf-automake:
4295 @if automake
4296 maybe-pdf-automake: pdf-automake
4298 pdf-automake: \
4299 configure-automake
4300 @: $(MAKE); $(unstage)
4301 @[ -f ./automake/Makefile ] || exit 0; \
4302 r=`${PWD_COMMAND}`; export r; \
4303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4304 $(HOST_EXPORTS) \
4305 for flag in $(EXTRA_HOST_FLAGS) ; do \
4306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4307 done; \
4308 echo "Doing pdf in automake" ; \
4309 (cd $(HOST_SUBDIR)/automake && \
4310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4312 "RANLIB=$${RANLIB}" \
4313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4314 pdf) \
4315 || exit 1
4317 @endif automake
4319 .PHONY: maybe-html-automake html-automake
4320 maybe-html-automake:
4321 @if automake
4322 maybe-html-automake: html-automake
4324 html-automake: \
4325 configure-automake
4326 @: $(MAKE); $(unstage)
4327 @[ -f ./automake/Makefile ] || exit 0; \
4328 r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 $(HOST_EXPORTS) \
4331 for flag in $(EXTRA_HOST_FLAGS) ; do \
4332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4333 done; \
4334 echo "Doing html in automake" ; \
4335 (cd $(HOST_SUBDIR)/automake && \
4336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4338 "RANLIB=$${RANLIB}" \
4339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4340 html) \
4341 || exit 1
4343 @endif automake
4345 .PHONY: maybe-TAGS-automake TAGS-automake
4346 maybe-TAGS-automake:
4347 @if automake
4348 maybe-TAGS-automake: TAGS-automake
4350 TAGS-automake: \
4351 configure-automake
4352 @: $(MAKE); $(unstage)
4353 @[ -f ./automake/Makefile ] || exit 0; \
4354 r=`${PWD_COMMAND}`; export r; \
4355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4356 $(HOST_EXPORTS) \
4357 for flag in $(EXTRA_HOST_FLAGS) ; do \
4358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4359 done; \
4360 echo "Doing TAGS in automake" ; \
4361 (cd $(HOST_SUBDIR)/automake && \
4362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4364 "RANLIB=$${RANLIB}" \
4365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4366 TAGS) \
4367 || exit 1
4369 @endif automake
4371 .PHONY: maybe-install-info-automake install-info-automake
4372 maybe-install-info-automake:
4373 @if automake
4374 maybe-install-info-automake: install-info-automake
4376 install-info-automake: \
4377 configure-automake \
4378 info-automake
4379 @: $(MAKE); $(unstage)
4380 @[ -f ./automake/Makefile ] || exit 0; \
4381 r=`${PWD_COMMAND}`; export r; \
4382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4383 $(HOST_EXPORTS) \
4384 for flag in $(EXTRA_HOST_FLAGS) ; do \
4385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4386 done; \
4387 echo "Doing install-info in automake" ; \
4388 (cd $(HOST_SUBDIR)/automake && \
4389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4391 "RANLIB=$${RANLIB}" \
4392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4393 install-info) \
4394 || exit 1
4396 @endif automake
4398 .PHONY: maybe-install-pdf-automake install-pdf-automake
4399 maybe-install-pdf-automake:
4400 @if automake
4401 maybe-install-pdf-automake: install-pdf-automake
4403 install-pdf-automake: \
4404 configure-automake \
4405 pdf-automake
4406 @: $(MAKE); $(unstage)
4407 @[ -f ./automake/Makefile ] || exit 0; \
4408 r=`${PWD_COMMAND}`; export r; \
4409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4410 $(HOST_EXPORTS) \
4411 for flag in $(EXTRA_HOST_FLAGS) ; do \
4412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4413 done; \
4414 echo "Doing install-pdf in automake" ; \
4415 (cd $(HOST_SUBDIR)/automake && \
4416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4418 "RANLIB=$${RANLIB}" \
4419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4420 install-pdf) \
4421 || exit 1
4423 @endif automake
4425 .PHONY: maybe-install-html-automake install-html-automake
4426 maybe-install-html-automake:
4427 @if automake
4428 maybe-install-html-automake: install-html-automake
4430 install-html-automake: \
4431 configure-automake \
4432 html-automake
4433 @: $(MAKE); $(unstage)
4434 @[ -f ./automake/Makefile ] || exit 0; \
4435 r=`${PWD_COMMAND}`; export r; \
4436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4437 $(HOST_EXPORTS) \
4438 for flag in $(EXTRA_HOST_FLAGS) ; do \
4439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4440 done; \
4441 echo "Doing install-html in automake" ; \
4442 (cd $(HOST_SUBDIR)/automake && \
4443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4445 "RANLIB=$${RANLIB}" \
4446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4447 install-html) \
4448 || exit 1
4450 @endif automake
4452 .PHONY: maybe-installcheck-automake installcheck-automake
4453 maybe-installcheck-automake:
4454 @if automake
4455 maybe-installcheck-automake: installcheck-automake
4457 installcheck-automake: \
4458 configure-automake
4459 @: $(MAKE); $(unstage)
4460 @[ -f ./automake/Makefile ] || exit 0; \
4461 r=`${PWD_COMMAND}`; export r; \
4462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4463 $(HOST_EXPORTS) \
4464 for flag in $(EXTRA_HOST_FLAGS) ; do \
4465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4466 done; \
4467 echo "Doing installcheck in automake" ; \
4468 (cd $(HOST_SUBDIR)/automake && \
4469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4471 "RANLIB=$${RANLIB}" \
4472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4473 installcheck) \
4474 || exit 1
4476 @endif automake
4478 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4479 maybe-mostlyclean-automake:
4480 @if automake
4481 maybe-mostlyclean-automake: mostlyclean-automake
4483 mostlyclean-automake:
4484 @: $(MAKE); $(unstage)
4485 @[ -f ./automake/Makefile ] || exit 0; \
4486 r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4488 $(HOST_EXPORTS) \
4489 for flag in $(EXTRA_HOST_FLAGS) ; do \
4490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4491 done; \
4492 echo "Doing mostlyclean in automake" ; \
4493 (cd $(HOST_SUBDIR)/automake && \
4494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4496 "RANLIB=$${RANLIB}" \
4497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4498 mostlyclean) \
4499 || exit 1
4501 @endif automake
4503 .PHONY: maybe-clean-automake clean-automake
4504 maybe-clean-automake:
4505 @if automake
4506 maybe-clean-automake: clean-automake
4508 clean-automake:
4509 @: $(MAKE); $(unstage)
4510 @[ -f ./automake/Makefile ] || exit 0; \
4511 r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 $(HOST_EXPORTS) \
4514 for flag in $(EXTRA_HOST_FLAGS) ; do \
4515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4516 done; \
4517 echo "Doing clean in automake" ; \
4518 (cd $(HOST_SUBDIR)/automake && \
4519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4521 "RANLIB=$${RANLIB}" \
4522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4523 clean) \
4524 || exit 1
4526 @endif automake
4528 .PHONY: maybe-distclean-automake distclean-automake
4529 maybe-distclean-automake:
4530 @if automake
4531 maybe-distclean-automake: distclean-automake
4533 distclean-automake:
4534 @: $(MAKE); $(unstage)
4535 @[ -f ./automake/Makefile ] || exit 0; \
4536 r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 $(HOST_EXPORTS) \
4539 for flag in $(EXTRA_HOST_FLAGS) ; do \
4540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4541 done; \
4542 echo "Doing distclean in automake" ; \
4543 (cd $(HOST_SUBDIR)/automake && \
4544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4546 "RANLIB=$${RANLIB}" \
4547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4548 distclean) \
4549 || exit 1
4551 @endif automake
4553 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4554 maybe-maintainer-clean-automake:
4555 @if automake
4556 maybe-maintainer-clean-automake: maintainer-clean-automake
4558 maintainer-clean-automake:
4559 @: $(MAKE); $(unstage)
4560 @[ -f ./automake/Makefile ] || exit 0; \
4561 r=`${PWD_COMMAND}`; export r; \
4562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563 $(HOST_EXPORTS) \
4564 for flag in $(EXTRA_HOST_FLAGS) ; do \
4565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4566 done; \
4567 echo "Doing maintainer-clean in automake" ; \
4568 (cd $(HOST_SUBDIR)/automake && \
4569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4571 "RANLIB=$${RANLIB}" \
4572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4573 maintainer-clean) \
4574 || exit 1
4576 @endif automake
4580 .PHONY: configure-bash maybe-configure-bash
4581 maybe-configure-bash:
4582 @if gcc-bootstrap
4583 configure-bash: stage_current
4584 @endif gcc-bootstrap
4585 @if bash
4586 maybe-configure-bash: configure-bash
4587 configure-bash:
4588 @: $(MAKE); $(unstage)
4589 @r=`${PWD_COMMAND}`; export r; \
4590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4591 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4593 $(HOST_EXPORTS) \
4594 echo Configuring in $(HOST_SUBDIR)/bash; \
4595 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4596 case $(srcdir) in \
4597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4598 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4600 esac; \
4601 srcdiroption="--srcdir=$${topdir}/bash"; \
4602 libsrcdir="$$s/bash"; \
4603 $(SHELL) $${libsrcdir}/configure \
4604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4605 --target=${target_alias} $${srcdiroption} \
4606 || exit 1
4607 @endif bash
4613 .PHONY: all-bash maybe-all-bash
4614 maybe-all-bash:
4615 @if gcc-bootstrap
4616 all-bash: stage_current
4617 @endif gcc-bootstrap
4618 @if bash
4619 TARGET-bash=all
4620 maybe-all-bash: all-bash
4621 all-bash: configure-bash
4622 @: $(MAKE); $(unstage)
4623 @r=`${PWD_COMMAND}`; export r; \
4624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4625 $(HOST_EXPORTS) \
4626 (cd $(HOST_SUBDIR)/bash && \
4627 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4628 $(TARGET-bash))
4629 @endif bash
4634 .PHONY: check-bash maybe-check-bash
4635 maybe-check-bash:
4636 @if bash
4637 maybe-check-bash: check-bash
4639 check-bash:
4640 @: $(MAKE); $(unstage)
4641 @r=`${PWD_COMMAND}`; export r; \
4642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4643 $(HOST_EXPORTS) \
4644 (cd $(HOST_SUBDIR)/bash && \
4645 $(MAKE) $(FLAGS_TO_PASS) check)
4647 @endif bash
4649 .PHONY: install-bash maybe-install-bash
4650 maybe-install-bash:
4651 @if bash
4652 maybe-install-bash: install-bash
4654 install-bash: installdirs
4655 @: $(MAKE); $(unstage)
4656 @r=`${PWD_COMMAND}`; export r; \
4657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4658 $(HOST_EXPORTS) \
4659 (cd $(HOST_SUBDIR)/bash && \
4660 $(MAKE) $(FLAGS_TO_PASS) install)
4662 @endif bash
4664 # Other targets (info, dvi, pdf, etc.)
4666 .PHONY: maybe-info-bash info-bash
4667 maybe-info-bash:
4668 @if bash
4669 maybe-info-bash: info-bash
4671 info-bash: \
4672 configure-bash
4673 @: $(MAKE); $(unstage)
4674 @[ -f ./bash/Makefile ] || exit 0; \
4675 r=`${PWD_COMMAND}`; export r; \
4676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4677 $(HOST_EXPORTS) \
4678 for flag in $(EXTRA_HOST_FLAGS) ; do \
4679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4680 done; \
4681 echo "Doing info in bash" ; \
4682 (cd $(HOST_SUBDIR)/bash && \
4683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4685 "RANLIB=$${RANLIB}" \
4686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4687 info) \
4688 || exit 1
4690 @endif bash
4692 .PHONY: maybe-dvi-bash dvi-bash
4693 maybe-dvi-bash:
4694 @if bash
4695 maybe-dvi-bash: dvi-bash
4697 dvi-bash: \
4698 configure-bash
4699 @: $(MAKE); $(unstage)
4700 @[ -f ./bash/Makefile ] || exit 0; \
4701 r=`${PWD_COMMAND}`; export r; \
4702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4703 $(HOST_EXPORTS) \
4704 for flag in $(EXTRA_HOST_FLAGS) ; do \
4705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4706 done; \
4707 echo "Doing dvi in bash" ; \
4708 (cd $(HOST_SUBDIR)/bash && \
4709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4711 "RANLIB=$${RANLIB}" \
4712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4713 dvi) \
4714 || exit 1
4716 @endif bash
4718 .PHONY: maybe-pdf-bash pdf-bash
4719 maybe-pdf-bash:
4720 @if bash
4721 maybe-pdf-bash: pdf-bash
4723 pdf-bash: \
4724 configure-bash
4725 @: $(MAKE); $(unstage)
4726 @[ -f ./bash/Makefile ] || exit 0; \
4727 r=`${PWD_COMMAND}`; export r; \
4728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4729 $(HOST_EXPORTS) \
4730 for flag in $(EXTRA_HOST_FLAGS) ; do \
4731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4732 done; \
4733 echo "Doing pdf in bash" ; \
4734 (cd $(HOST_SUBDIR)/bash && \
4735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4737 "RANLIB=$${RANLIB}" \
4738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4739 pdf) \
4740 || exit 1
4742 @endif bash
4744 .PHONY: maybe-html-bash html-bash
4745 maybe-html-bash:
4746 @if bash
4747 maybe-html-bash: html-bash
4749 html-bash: \
4750 configure-bash
4751 @: $(MAKE); $(unstage)
4752 @[ -f ./bash/Makefile ] || exit 0; \
4753 r=`${PWD_COMMAND}`; export r; \
4754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4755 $(HOST_EXPORTS) \
4756 for flag in $(EXTRA_HOST_FLAGS) ; do \
4757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4758 done; \
4759 echo "Doing html in bash" ; \
4760 (cd $(HOST_SUBDIR)/bash && \
4761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4763 "RANLIB=$${RANLIB}" \
4764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4765 html) \
4766 || exit 1
4768 @endif bash
4770 .PHONY: maybe-TAGS-bash TAGS-bash
4771 maybe-TAGS-bash:
4772 @if bash
4773 maybe-TAGS-bash: TAGS-bash
4775 TAGS-bash: \
4776 configure-bash
4777 @: $(MAKE); $(unstage)
4778 @[ -f ./bash/Makefile ] || exit 0; \
4779 r=`${PWD_COMMAND}`; export r; \
4780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4781 $(HOST_EXPORTS) \
4782 for flag in $(EXTRA_HOST_FLAGS) ; do \
4783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4784 done; \
4785 echo "Doing TAGS in bash" ; \
4786 (cd $(HOST_SUBDIR)/bash && \
4787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4789 "RANLIB=$${RANLIB}" \
4790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4791 TAGS) \
4792 || exit 1
4794 @endif bash
4796 .PHONY: maybe-install-info-bash install-info-bash
4797 maybe-install-info-bash:
4798 @if bash
4799 maybe-install-info-bash: install-info-bash
4801 install-info-bash: \
4802 configure-bash \
4803 info-bash
4804 @: $(MAKE); $(unstage)
4805 @[ -f ./bash/Makefile ] || exit 0; \
4806 r=`${PWD_COMMAND}`; export r; \
4807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4808 $(HOST_EXPORTS) \
4809 for flag in $(EXTRA_HOST_FLAGS) ; do \
4810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4811 done; \
4812 echo "Doing install-info in bash" ; \
4813 (cd $(HOST_SUBDIR)/bash && \
4814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4816 "RANLIB=$${RANLIB}" \
4817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4818 install-info) \
4819 || exit 1
4821 @endif bash
4823 .PHONY: maybe-install-pdf-bash install-pdf-bash
4824 maybe-install-pdf-bash:
4825 @if bash
4826 maybe-install-pdf-bash: install-pdf-bash
4828 install-pdf-bash: \
4829 configure-bash \
4830 pdf-bash
4831 @: $(MAKE); $(unstage)
4832 @[ -f ./bash/Makefile ] || exit 0; \
4833 r=`${PWD_COMMAND}`; export r; \
4834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4835 $(HOST_EXPORTS) \
4836 for flag in $(EXTRA_HOST_FLAGS) ; do \
4837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4838 done; \
4839 echo "Doing install-pdf in bash" ; \
4840 (cd $(HOST_SUBDIR)/bash && \
4841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4843 "RANLIB=$${RANLIB}" \
4844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4845 install-pdf) \
4846 || exit 1
4848 @endif bash
4850 .PHONY: maybe-install-html-bash install-html-bash
4851 maybe-install-html-bash:
4852 @if bash
4853 maybe-install-html-bash: install-html-bash
4855 install-html-bash: \
4856 configure-bash \
4857 html-bash
4858 @: $(MAKE); $(unstage)
4859 @[ -f ./bash/Makefile ] || exit 0; \
4860 r=`${PWD_COMMAND}`; export r; \
4861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4862 $(HOST_EXPORTS) \
4863 for flag in $(EXTRA_HOST_FLAGS) ; do \
4864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4865 done; \
4866 echo "Doing install-html in bash" ; \
4867 (cd $(HOST_SUBDIR)/bash && \
4868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4870 "RANLIB=$${RANLIB}" \
4871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4872 install-html) \
4873 || exit 1
4875 @endif bash
4877 .PHONY: maybe-installcheck-bash installcheck-bash
4878 maybe-installcheck-bash:
4879 @if bash
4880 maybe-installcheck-bash: installcheck-bash
4882 installcheck-bash: \
4883 configure-bash
4884 @: $(MAKE); $(unstage)
4885 @[ -f ./bash/Makefile ] || exit 0; \
4886 r=`${PWD_COMMAND}`; export r; \
4887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 $(HOST_EXPORTS) \
4889 for flag in $(EXTRA_HOST_FLAGS) ; do \
4890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4891 done; \
4892 echo "Doing installcheck in bash" ; \
4893 (cd $(HOST_SUBDIR)/bash && \
4894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4896 "RANLIB=$${RANLIB}" \
4897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4898 installcheck) \
4899 || exit 1
4901 @endif bash
4903 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4904 maybe-mostlyclean-bash:
4905 @if bash
4906 maybe-mostlyclean-bash: mostlyclean-bash
4908 mostlyclean-bash:
4909 @: $(MAKE); $(unstage)
4910 @[ -f ./bash/Makefile ] || exit 0; \
4911 r=`${PWD_COMMAND}`; export r; \
4912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4913 $(HOST_EXPORTS) \
4914 for flag in $(EXTRA_HOST_FLAGS) ; do \
4915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4916 done; \
4917 echo "Doing mostlyclean in bash" ; \
4918 (cd $(HOST_SUBDIR)/bash && \
4919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4921 "RANLIB=$${RANLIB}" \
4922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4923 mostlyclean) \
4924 || exit 1
4926 @endif bash
4928 .PHONY: maybe-clean-bash clean-bash
4929 maybe-clean-bash:
4930 @if bash
4931 maybe-clean-bash: clean-bash
4933 clean-bash:
4934 @: $(MAKE); $(unstage)
4935 @[ -f ./bash/Makefile ] || exit 0; \
4936 r=`${PWD_COMMAND}`; export r; \
4937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4938 $(HOST_EXPORTS) \
4939 for flag in $(EXTRA_HOST_FLAGS) ; do \
4940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4941 done; \
4942 echo "Doing clean in bash" ; \
4943 (cd $(HOST_SUBDIR)/bash && \
4944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4946 "RANLIB=$${RANLIB}" \
4947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4948 clean) \
4949 || exit 1
4951 @endif bash
4953 .PHONY: maybe-distclean-bash distclean-bash
4954 maybe-distclean-bash:
4955 @if bash
4956 maybe-distclean-bash: distclean-bash
4958 distclean-bash:
4959 @: $(MAKE); $(unstage)
4960 @[ -f ./bash/Makefile ] || exit 0; \
4961 r=`${PWD_COMMAND}`; export r; \
4962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4963 $(HOST_EXPORTS) \
4964 for flag in $(EXTRA_HOST_FLAGS) ; do \
4965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4966 done; \
4967 echo "Doing distclean in bash" ; \
4968 (cd $(HOST_SUBDIR)/bash && \
4969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4971 "RANLIB=$${RANLIB}" \
4972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4973 distclean) \
4974 || exit 1
4976 @endif bash
4978 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4979 maybe-maintainer-clean-bash:
4980 @if bash
4981 maybe-maintainer-clean-bash: maintainer-clean-bash
4983 maintainer-clean-bash:
4984 @: $(MAKE); $(unstage)
4985 @[ -f ./bash/Makefile ] || exit 0; \
4986 r=`${PWD_COMMAND}`; export r; \
4987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4988 $(HOST_EXPORTS) \
4989 for flag in $(EXTRA_HOST_FLAGS) ; do \
4990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4991 done; \
4992 echo "Doing maintainer-clean in bash" ; \
4993 (cd $(HOST_SUBDIR)/bash && \
4994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4996 "RANLIB=$${RANLIB}" \
4997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4998 maintainer-clean) \
4999 || exit 1
5001 @endif bash
5005 .PHONY: configure-bfd maybe-configure-bfd
5006 maybe-configure-bfd:
5007 @if gcc-bootstrap
5008 configure-bfd: stage_current
5009 @endif gcc-bootstrap
5010 @if bfd
5011 maybe-configure-bfd: configure-bfd
5012 configure-bfd:
5013 @r=`${PWD_COMMAND}`; export r; \
5014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5015 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5017 $(HOST_EXPORTS) \
5018 echo Configuring in $(HOST_SUBDIR)/bfd; \
5019 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
5020 case $(srcdir) in \
5021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5022 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5024 esac; \
5025 srcdiroption="--srcdir=$${topdir}/bfd"; \
5026 libsrcdir="$$s/bfd"; \
5027 $(SHELL) $${libsrcdir}/configure \
5028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5029 --target=${target_alias} $${srcdiroption} \
5030 || exit 1
5031 @endif bfd
5035 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
5036 maybe-configure-stage1-bfd:
5037 @if bfd-bootstrap
5038 maybe-configure-stage1-bfd: configure-stage1-bfd
5039 configure-stage1-bfd:
5040 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5042 @r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 TFLAGS="$(STAGE1_TFLAGS)"; \
5045 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5046 $(HOST_EXPORTS) \
5047 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5048 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
5049 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5050 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
5051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5052 cd $(HOST_SUBDIR)/bfd || exit 1; \
5053 case $(srcdir) in \
5054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5055 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5057 esac; \
5058 srcdiroption="--srcdir=$${topdir}/bfd"; \
5059 libsrcdir="$$s/bfd"; \
5060 $(SHELL) $${libsrcdir}/configure \
5061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5062 --target=${target_alias} $${srcdiroption} \
5063 $(STAGE1_CONFIGURE_FLAGS)
5064 @endif bfd-bootstrap
5066 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
5067 maybe-configure-stage2-bfd:
5068 @if bfd-bootstrap
5069 maybe-configure-stage2-bfd: configure-stage2-bfd
5070 configure-stage2-bfd:
5071 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5072 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5073 @r=`${PWD_COMMAND}`; export r; \
5074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5075 TFLAGS="$(STAGE2_TFLAGS)"; \
5076 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5077 $(HOST_EXPORTS) \
5078 $(POSTSTAGE1_HOST_EXPORTS) \
5079 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5080 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
5081 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5082 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
5083 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5084 cd $(HOST_SUBDIR)/bfd || exit 1; \
5085 case $(srcdir) in \
5086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5087 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5089 esac; \
5090 srcdiroption="--srcdir=$${topdir}/bfd"; \
5091 libsrcdir="$$s/bfd"; \
5092 $(SHELL) $${libsrcdir}/configure \
5093 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5094 --target=${target_alias} $${srcdiroption} \
5095 --with-build-libsubdir=$(HOST_SUBDIR) \
5096 $(STAGE2_CONFIGURE_FLAGS)
5097 @endif bfd-bootstrap
5099 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
5100 maybe-configure-stage3-bfd:
5101 @if bfd-bootstrap
5102 maybe-configure-stage3-bfd: configure-stage3-bfd
5103 configure-stage3-bfd:
5104 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5105 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5106 @r=`${PWD_COMMAND}`; export r; \
5107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5108 TFLAGS="$(STAGE3_TFLAGS)"; \
5109 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5110 $(HOST_EXPORTS) \
5111 $(POSTSTAGE1_HOST_EXPORTS) \
5112 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5113 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
5114 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5115 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
5116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5117 cd $(HOST_SUBDIR)/bfd || exit 1; \
5118 case $(srcdir) in \
5119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5120 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5122 esac; \
5123 srcdiroption="--srcdir=$${topdir}/bfd"; \
5124 libsrcdir="$$s/bfd"; \
5125 $(SHELL) $${libsrcdir}/configure \
5126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5127 --target=${target_alias} $${srcdiroption} \
5128 --with-build-libsubdir=$(HOST_SUBDIR) \
5129 $(STAGE3_CONFIGURE_FLAGS)
5130 @endif bfd-bootstrap
5132 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
5133 maybe-configure-stage4-bfd:
5134 @if bfd-bootstrap
5135 maybe-configure-stage4-bfd: configure-stage4-bfd
5136 configure-stage4-bfd:
5137 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5139 @r=`${PWD_COMMAND}`; export r; \
5140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5141 TFLAGS="$(STAGE4_TFLAGS)"; \
5142 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5143 $(HOST_EXPORTS) \
5144 $(POSTSTAGE1_HOST_EXPORTS) \
5145 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5146 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
5147 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5148 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
5149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5150 cd $(HOST_SUBDIR)/bfd || exit 1; \
5151 case $(srcdir) in \
5152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5153 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5155 esac; \
5156 srcdiroption="--srcdir=$${topdir}/bfd"; \
5157 libsrcdir="$$s/bfd"; \
5158 $(SHELL) $${libsrcdir}/configure \
5159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5160 --target=${target_alias} $${srcdiroption} \
5161 --with-build-libsubdir=$(HOST_SUBDIR) \
5162 $(STAGE4_CONFIGURE_FLAGS)
5163 @endif bfd-bootstrap
5165 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
5166 maybe-configure-stageprofile-bfd:
5167 @if bfd-bootstrap
5168 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
5169 configure-stageprofile-bfd:
5170 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5172 @r=`${PWD_COMMAND}`; export r; \
5173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5174 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5175 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5176 $(HOST_EXPORTS) \
5177 $(POSTSTAGE1_HOST_EXPORTS) \
5178 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5179 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
5180 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5181 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
5182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5183 cd $(HOST_SUBDIR)/bfd || exit 1; \
5184 case $(srcdir) in \
5185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5186 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5188 esac; \
5189 srcdiroption="--srcdir=$${topdir}/bfd"; \
5190 libsrcdir="$$s/bfd"; \
5191 $(SHELL) $${libsrcdir}/configure \
5192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5193 --target=${target_alias} $${srcdiroption} \
5194 --with-build-libsubdir=$(HOST_SUBDIR) \
5195 $(STAGEprofile_CONFIGURE_FLAGS)
5196 @endif bfd-bootstrap
5198 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
5199 maybe-configure-stagefeedback-bfd:
5200 @if bfd-bootstrap
5201 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
5202 configure-stagefeedback-bfd:
5203 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5205 @r=`${PWD_COMMAND}`; export r; \
5206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5207 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5208 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5209 $(HOST_EXPORTS) \
5210 $(POSTSTAGE1_HOST_EXPORTS) \
5211 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5212 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
5213 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5214 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
5215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5216 cd $(HOST_SUBDIR)/bfd || exit 1; \
5217 case $(srcdir) in \
5218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5219 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5221 esac; \
5222 srcdiroption="--srcdir=$${topdir}/bfd"; \
5223 libsrcdir="$$s/bfd"; \
5224 $(SHELL) $${libsrcdir}/configure \
5225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5226 --target=${target_alias} $${srcdiroption} \
5227 --with-build-libsubdir=$(HOST_SUBDIR) \
5228 $(STAGEfeedback_CONFIGURE_FLAGS)
5229 @endif bfd-bootstrap
5235 .PHONY: all-bfd maybe-all-bfd
5236 maybe-all-bfd:
5237 @if gcc-bootstrap
5238 all-bfd: stage_current
5239 @endif gcc-bootstrap
5240 @if bfd
5241 TARGET-bfd=all
5242 maybe-all-bfd: all-bfd
5243 all-bfd: configure-bfd
5244 @r=`${PWD_COMMAND}`; export r; \
5245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5246 $(HOST_EXPORTS) \
5247 (cd $(HOST_SUBDIR)/bfd && \
5248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5249 $(TARGET-bfd))
5250 @endif bfd
5254 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
5255 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
5256 maybe-all-stage1-bfd:
5257 maybe-clean-stage1-bfd:
5258 @if bfd-bootstrap
5259 maybe-all-stage1-bfd: all-stage1-bfd
5260 all-stage1: all-stage1-bfd
5261 TARGET-stage1-bfd = $(TARGET-bfd)
5262 all-stage1-bfd: configure-stage1-bfd
5263 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5264 @r=`${PWD_COMMAND}`; export r; \
5265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5266 TFLAGS="$(STAGE1_TFLAGS)"; \
5267 $(HOST_EXPORTS) \
5268 cd $(HOST_SUBDIR)/bfd && \
5269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5270 CFLAGS="$(STAGE1_CFLAGS)" \
5271 CXXFLAGS="$(STAGE1_CFLAGS)" \
5272 LIBCFLAGS="$(LIBCFLAGS)" \
5273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5276 $(EXTRA_HOST_FLAGS) \
5277 TFLAGS="$(STAGE1_TFLAGS)" \
5278 $(TARGET-stage1-bfd)
5280 maybe-clean-stage1-bfd: clean-stage1-bfd
5281 clean-stage1: clean-stage1-bfd
5282 clean-stage1-bfd:
5283 @if [ $(current_stage) = stage1 ]; then \
5284 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5285 else \
5286 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
5287 $(MAKE) stage1-start; \
5288 fi; \
5289 cd $(HOST_SUBDIR)/bfd && \
5290 $(MAKE) $(EXTRA_HOST_FLAGS) \
5291 clean
5292 @endif bfd-bootstrap
5295 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
5296 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
5297 maybe-all-stage2-bfd:
5298 maybe-clean-stage2-bfd:
5299 @if bfd-bootstrap
5300 maybe-all-stage2-bfd: all-stage2-bfd
5301 all-stage2: all-stage2-bfd
5302 TARGET-stage2-bfd = $(TARGET-bfd)
5303 all-stage2-bfd: configure-stage2-bfd
5304 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5305 @r=`${PWD_COMMAND}`; export r; \
5306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5307 TFLAGS="$(STAGE2_TFLAGS)"; \
5308 $(HOST_EXPORTS) \
5309 $(POSTSTAGE1_HOST_EXPORTS) \
5310 cd $(HOST_SUBDIR)/bfd && \
5311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5312 CFLAGS="$(STAGE2_CFLAGS)" \
5313 CXXFLAGS="$(STAGE2_CFLAGS)" \
5314 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5318 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5319 TFLAGS="$(STAGE2_TFLAGS)" \
5320 $(TARGET-stage2-bfd)
5322 maybe-clean-stage2-bfd: clean-stage2-bfd
5323 clean-stage2: clean-stage2-bfd
5324 clean-stage2-bfd:
5325 @if [ $(current_stage) = stage2 ]; then \
5326 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5327 else \
5328 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
5329 $(MAKE) stage2-start; \
5330 fi; \
5331 cd $(HOST_SUBDIR)/bfd && \
5332 $(MAKE) $(EXTRA_HOST_FLAGS) \
5333 $(POSTSTAGE1_FLAGS_TO_PASS) \
5334 clean
5335 @endif bfd-bootstrap
5338 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
5339 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
5340 maybe-all-stage3-bfd:
5341 maybe-clean-stage3-bfd:
5342 @if bfd-bootstrap
5343 maybe-all-stage3-bfd: all-stage3-bfd
5344 all-stage3: all-stage3-bfd
5345 TARGET-stage3-bfd = $(TARGET-bfd)
5346 all-stage3-bfd: configure-stage3-bfd
5347 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5348 @r=`${PWD_COMMAND}`; export r; \
5349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5350 TFLAGS="$(STAGE3_TFLAGS)"; \
5351 $(HOST_EXPORTS) \
5352 $(POSTSTAGE1_HOST_EXPORTS) \
5353 cd $(HOST_SUBDIR)/bfd && \
5354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5355 CFLAGS="$(STAGE3_CFLAGS)" \
5356 CXXFLAGS="$(STAGE3_CFLAGS)" \
5357 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5362 TFLAGS="$(STAGE3_TFLAGS)" \
5363 $(TARGET-stage3-bfd)
5365 maybe-clean-stage3-bfd: clean-stage3-bfd
5366 clean-stage3: clean-stage3-bfd
5367 clean-stage3-bfd:
5368 @if [ $(current_stage) = stage3 ]; then \
5369 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5370 else \
5371 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
5372 $(MAKE) stage3-start; \
5373 fi; \
5374 cd $(HOST_SUBDIR)/bfd && \
5375 $(MAKE) $(EXTRA_HOST_FLAGS) \
5376 $(POSTSTAGE1_FLAGS_TO_PASS) \
5377 clean
5378 @endif bfd-bootstrap
5381 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
5382 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
5383 maybe-all-stage4-bfd:
5384 maybe-clean-stage4-bfd:
5385 @if bfd-bootstrap
5386 maybe-all-stage4-bfd: all-stage4-bfd
5387 all-stage4: all-stage4-bfd
5388 TARGET-stage4-bfd = $(TARGET-bfd)
5389 all-stage4-bfd: configure-stage4-bfd
5390 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5391 @r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393 TFLAGS="$(STAGE4_TFLAGS)"; \
5394 $(HOST_EXPORTS) \
5395 $(POSTSTAGE1_HOST_EXPORTS) \
5396 cd $(HOST_SUBDIR)/bfd && \
5397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5398 CFLAGS="$(STAGE4_CFLAGS)" \
5399 CXXFLAGS="$(STAGE4_CFLAGS)" \
5400 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5401 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5402 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5403 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5404 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5405 TFLAGS="$(STAGE4_TFLAGS)" \
5406 $(TARGET-stage4-bfd)
5408 maybe-clean-stage4-bfd: clean-stage4-bfd
5409 clean-stage4: clean-stage4-bfd
5410 clean-stage4-bfd:
5411 @if [ $(current_stage) = stage4 ]; then \
5412 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5413 else \
5414 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
5415 $(MAKE) stage4-start; \
5416 fi; \
5417 cd $(HOST_SUBDIR)/bfd && \
5418 $(MAKE) $(EXTRA_HOST_FLAGS) \
5419 $(POSTSTAGE1_FLAGS_TO_PASS) \
5420 clean
5421 @endif bfd-bootstrap
5424 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
5425 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
5426 maybe-all-stageprofile-bfd:
5427 maybe-clean-stageprofile-bfd:
5428 @if bfd-bootstrap
5429 maybe-all-stageprofile-bfd: all-stageprofile-bfd
5430 all-stageprofile: all-stageprofile-bfd
5431 TARGET-stageprofile-bfd = $(TARGET-bfd)
5432 all-stageprofile-bfd: configure-stageprofile-bfd
5433 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5434 @r=`${PWD_COMMAND}`; export r; \
5435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5436 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5437 $(HOST_EXPORTS) \
5438 $(POSTSTAGE1_HOST_EXPORTS) \
5439 cd $(HOST_SUBDIR)/bfd && \
5440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5441 CFLAGS="$(STAGEprofile_CFLAGS)" \
5442 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
5443 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5447 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5448 TFLAGS="$(STAGEprofile_TFLAGS)" \
5449 $(TARGET-stageprofile-bfd)
5451 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
5452 clean-stageprofile: clean-stageprofile-bfd
5453 clean-stageprofile-bfd:
5454 @if [ $(current_stage) = stageprofile ]; then \
5455 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5456 else \
5457 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
5458 $(MAKE) stageprofile-start; \
5459 fi; \
5460 cd $(HOST_SUBDIR)/bfd && \
5461 $(MAKE) $(EXTRA_HOST_FLAGS) \
5462 $(POSTSTAGE1_FLAGS_TO_PASS) \
5463 clean
5464 @endif bfd-bootstrap
5467 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
5468 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
5469 maybe-all-stagefeedback-bfd:
5470 maybe-clean-stagefeedback-bfd:
5471 @if bfd-bootstrap
5472 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
5473 all-stagefeedback: all-stagefeedback-bfd
5474 TARGET-stagefeedback-bfd = $(TARGET-bfd)
5475 all-stagefeedback-bfd: configure-stagefeedback-bfd
5476 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5477 @r=`${PWD_COMMAND}`; export r; \
5478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5479 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5480 $(HOST_EXPORTS) \
5481 $(POSTSTAGE1_HOST_EXPORTS) \
5482 cd $(HOST_SUBDIR)/bfd && \
5483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5484 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5485 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
5486 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5487 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5488 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5489 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5490 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5491 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5492 $(TARGET-stagefeedback-bfd)
5494 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
5495 clean-stagefeedback: clean-stagefeedback-bfd
5496 clean-stagefeedback-bfd:
5497 @if [ $(current_stage) = stagefeedback ]; then \
5498 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5499 else \
5500 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
5501 $(MAKE) stagefeedback-start; \
5502 fi; \
5503 cd $(HOST_SUBDIR)/bfd && \
5504 $(MAKE) $(EXTRA_HOST_FLAGS) \
5505 $(POSTSTAGE1_FLAGS_TO_PASS) \
5506 clean
5507 @endif bfd-bootstrap
5513 .PHONY: check-bfd maybe-check-bfd
5514 maybe-check-bfd:
5515 @if bfd
5516 maybe-check-bfd: check-bfd
5518 check-bfd:
5519 @: $(MAKE); $(unstage)
5520 @r=`${PWD_COMMAND}`; export r; \
5521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5522 $(HOST_EXPORTS) \
5523 (cd $(HOST_SUBDIR)/bfd && \
5524 $(MAKE) $(FLAGS_TO_PASS) check)
5526 @endif bfd
5528 .PHONY: install-bfd maybe-install-bfd
5529 maybe-install-bfd:
5530 @if bfd
5531 maybe-install-bfd: install-bfd
5533 install-bfd: installdirs
5534 @: $(MAKE); $(unstage)
5535 @r=`${PWD_COMMAND}`; export r; \
5536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5537 $(HOST_EXPORTS) \
5538 (cd $(HOST_SUBDIR)/bfd && \
5539 $(MAKE) $(FLAGS_TO_PASS) install)
5541 @endif bfd
5543 # Other targets (info, dvi, pdf, etc.)
5545 .PHONY: maybe-info-bfd info-bfd
5546 maybe-info-bfd:
5547 @if bfd
5548 maybe-info-bfd: info-bfd
5550 info-bfd: \
5551 configure-bfd
5552 @[ -f ./bfd/Makefile ] || exit 0; \
5553 r=`${PWD_COMMAND}`; export r; \
5554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5555 $(HOST_EXPORTS) \
5556 for flag in $(EXTRA_HOST_FLAGS) ; do \
5557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5558 done; \
5559 echo "Doing info in bfd" ; \
5560 (cd $(HOST_SUBDIR)/bfd && \
5561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5563 "RANLIB=$${RANLIB}" \
5564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5565 info) \
5566 || exit 1
5568 @endif bfd
5570 .PHONY: maybe-dvi-bfd dvi-bfd
5571 maybe-dvi-bfd:
5572 @if bfd
5573 maybe-dvi-bfd: dvi-bfd
5575 dvi-bfd: \
5576 configure-bfd
5577 @[ -f ./bfd/Makefile ] || exit 0; \
5578 r=`${PWD_COMMAND}`; export r; \
5579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5580 $(HOST_EXPORTS) \
5581 for flag in $(EXTRA_HOST_FLAGS) ; do \
5582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5583 done; \
5584 echo "Doing dvi in bfd" ; \
5585 (cd $(HOST_SUBDIR)/bfd && \
5586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5588 "RANLIB=$${RANLIB}" \
5589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5590 dvi) \
5591 || exit 1
5593 @endif bfd
5595 .PHONY: maybe-pdf-bfd pdf-bfd
5596 maybe-pdf-bfd:
5597 @if bfd
5598 maybe-pdf-bfd: pdf-bfd
5600 pdf-bfd: \
5601 configure-bfd
5602 @[ -f ./bfd/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(HOST_EXPORTS) \
5606 for flag in $(EXTRA_HOST_FLAGS) ; do \
5607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5608 done; \
5609 echo "Doing pdf in bfd" ; \
5610 (cd $(HOST_SUBDIR)/bfd && \
5611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5613 "RANLIB=$${RANLIB}" \
5614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5615 pdf) \
5616 || exit 1
5618 @endif bfd
5620 .PHONY: maybe-html-bfd html-bfd
5621 maybe-html-bfd:
5622 @if bfd
5623 maybe-html-bfd: html-bfd
5625 html-bfd: \
5626 configure-bfd
5627 @[ -f ./bfd/Makefile ] || exit 0; \
5628 r=`${PWD_COMMAND}`; export r; \
5629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5630 $(HOST_EXPORTS) \
5631 for flag in $(EXTRA_HOST_FLAGS) ; do \
5632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5633 done; \
5634 echo "Doing html in bfd" ; \
5635 (cd $(HOST_SUBDIR)/bfd && \
5636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5638 "RANLIB=$${RANLIB}" \
5639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5640 html) \
5641 || exit 1
5643 @endif bfd
5645 .PHONY: maybe-TAGS-bfd TAGS-bfd
5646 maybe-TAGS-bfd:
5647 @if bfd
5648 maybe-TAGS-bfd: TAGS-bfd
5650 TAGS-bfd: \
5651 configure-bfd
5652 @[ -f ./bfd/Makefile ] || exit 0; \
5653 r=`${PWD_COMMAND}`; export r; \
5654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5655 $(HOST_EXPORTS) \
5656 for flag in $(EXTRA_HOST_FLAGS) ; do \
5657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5658 done; \
5659 echo "Doing TAGS in bfd" ; \
5660 (cd $(HOST_SUBDIR)/bfd && \
5661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5663 "RANLIB=$${RANLIB}" \
5664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5665 TAGS) \
5666 || exit 1
5668 @endif bfd
5670 .PHONY: maybe-install-info-bfd install-info-bfd
5671 maybe-install-info-bfd:
5672 @if bfd
5673 maybe-install-info-bfd: install-info-bfd
5675 install-info-bfd: \
5676 configure-bfd \
5677 info-bfd
5678 @[ -f ./bfd/Makefile ] || exit 0; \
5679 r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5681 $(HOST_EXPORTS) \
5682 for flag in $(EXTRA_HOST_FLAGS) ; do \
5683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5684 done; \
5685 echo "Doing install-info in bfd" ; \
5686 (cd $(HOST_SUBDIR)/bfd && \
5687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5689 "RANLIB=$${RANLIB}" \
5690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5691 install-info) \
5692 || exit 1
5694 @endif bfd
5696 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
5697 maybe-install-pdf-bfd:
5698 @if bfd
5699 maybe-install-pdf-bfd: install-pdf-bfd
5701 install-pdf-bfd: \
5702 configure-bfd \
5703 pdf-bfd
5704 @[ -f ./bfd/Makefile ] || exit 0; \
5705 r=`${PWD_COMMAND}`; export r; \
5706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5707 $(HOST_EXPORTS) \
5708 for flag in $(EXTRA_HOST_FLAGS) ; do \
5709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5710 done; \
5711 echo "Doing install-pdf in bfd" ; \
5712 (cd $(HOST_SUBDIR)/bfd && \
5713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5715 "RANLIB=$${RANLIB}" \
5716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5717 install-pdf) \
5718 || exit 1
5720 @endif bfd
5722 .PHONY: maybe-install-html-bfd install-html-bfd
5723 maybe-install-html-bfd:
5724 @if bfd
5725 maybe-install-html-bfd: install-html-bfd
5727 install-html-bfd: \
5728 configure-bfd \
5729 html-bfd
5730 @[ -f ./bfd/Makefile ] || exit 0; \
5731 r=`${PWD_COMMAND}`; export r; \
5732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5733 $(HOST_EXPORTS) \
5734 for flag in $(EXTRA_HOST_FLAGS) ; do \
5735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5736 done; \
5737 echo "Doing install-html in bfd" ; \
5738 (cd $(HOST_SUBDIR)/bfd && \
5739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5741 "RANLIB=$${RANLIB}" \
5742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5743 install-html) \
5744 || exit 1
5746 @endif bfd
5748 .PHONY: maybe-installcheck-bfd installcheck-bfd
5749 maybe-installcheck-bfd:
5750 @if bfd
5751 maybe-installcheck-bfd: installcheck-bfd
5753 installcheck-bfd: \
5754 configure-bfd
5755 @[ -f ./bfd/Makefile ] || exit 0; \
5756 r=`${PWD_COMMAND}`; export r; \
5757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5758 $(HOST_EXPORTS) \
5759 for flag in $(EXTRA_HOST_FLAGS) ; do \
5760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5761 done; \
5762 echo "Doing installcheck in bfd" ; \
5763 (cd $(HOST_SUBDIR)/bfd && \
5764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5766 "RANLIB=$${RANLIB}" \
5767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5768 installcheck) \
5769 || exit 1
5771 @endif bfd
5773 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5774 maybe-mostlyclean-bfd:
5775 @if bfd
5776 maybe-mostlyclean-bfd: mostlyclean-bfd
5778 mostlyclean-bfd:
5779 @[ -f ./bfd/Makefile ] || exit 0; \
5780 r=`${PWD_COMMAND}`; export r; \
5781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5782 $(HOST_EXPORTS) \
5783 for flag in $(EXTRA_HOST_FLAGS) ; do \
5784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5785 done; \
5786 echo "Doing mostlyclean in bfd" ; \
5787 (cd $(HOST_SUBDIR)/bfd && \
5788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5790 "RANLIB=$${RANLIB}" \
5791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5792 mostlyclean) \
5793 || exit 1
5795 @endif bfd
5797 .PHONY: maybe-clean-bfd clean-bfd
5798 maybe-clean-bfd:
5799 @if bfd
5800 maybe-clean-bfd: clean-bfd
5802 clean-bfd:
5803 @[ -f ./bfd/Makefile ] || exit 0; \
5804 r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 $(HOST_EXPORTS) \
5807 for flag in $(EXTRA_HOST_FLAGS) ; do \
5808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5809 done; \
5810 echo "Doing clean in bfd" ; \
5811 (cd $(HOST_SUBDIR)/bfd && \
5812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5814 "RANLIB=$${RANLIB}" \
5815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5816 clean) \
5817 || exit 1
5819 @endif bfd
5821 .PHONY: maybe-distclean-bfd distclean-bfd
5822 maybe-distclean-bfd:
5823 @if bfd
5824 maybe-distclean-bfd: distclean-bfd
5826 distclean-bfd:
5827 @[ -f ./bfd/Makefile ] || exit 0; \
5828 r=`${PWD_COMMAND}`; export r; \
5829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5830 $(HOST_EXPORTS) \
5831 for flag in $(EXTRA_HOST_FLAGS) ; do \
5832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5833 done; \
5834 echo "Doing distclean in bfd" ; \
5835 (cd $(HOST_SUBDIR)/bfd && \
5836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5838 "RANLIB=$${RANLIB}" \
5839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5840 distclean) \
5841 || exit 1
5843 @endif bfd
5845 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5846 maybe-maintainer-clean-bfd:
5847 @if bfd
5848 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5850 maintainer-clean-bfd:
5851 @[ -f ./bfd/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 $(HOST_EXPORTS) \
5855 for flag in $(EXTRA_HOST_FLAGS) ; do \
5856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5857 done; \
5858 echo "Doing maintainer-clean in bfd" ; \
5859 (cd $(HOST_SUBDIR)/bfd && \
5860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5862 "RANLIB=$${RANLIB}" \
5863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5864 maintainer-clean) \
5865 || exit 1
5867 @endif bfd
5871 .PHONY: configure-opcodes maybe-configure-opcodes
5872 maybe-configure-opcodes:
5873 @if gcc-bootstrap
5874 configure-opcodes: stage_current
5875 @endif gcc-bootstrap
5876 @if opcodes
5877 maybe-configure-opcodes: configure-opcodes
5878 configure-opcodes:
5879 @r=`${PWD_COMMAND}`; export r; \
5880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5881 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5883 $(HOST_EXPORTS) \
5884 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5885 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5886 case $(srcdir) in \
5887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5888 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5890 esac; \
5891 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5892 libsrcdir="$$s/opcodes"; \
5893 $(SHELL) $${libsrcdir}/configure \
5894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5895 --target=${target_alias} $${srcdiroption} \
5896 || exit 1
5897 @endif opcodes
5901 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5902 maybe-configure-stage1-opcodes:
5903 @if opcodes-bootstrap
5904 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5905 configure-stage1-opcodes:
5906 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5907 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5908 @r=`${PWD_COMMAND}`; export r; \
5909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5910 TFLAGS="$(STAGE1_TFLAGS)"; \
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 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5916 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5918 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5919 case $(srcdir) in \
5920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5921 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5923 esac; \
5924 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5925 libsrcdir="$$s/opcodes"; \
5926 $(SHELL) $${libsrcdir}/configure \
5927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5928 --target=${target_alias} $${srcdiroption} \
5929 $(STAGE1_CONFIGURE_FLAGS)
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 TFLAGS="$(STAGE2_TFLAGS)"; \
5942 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5943 $(HOST_EXPORTS) \
5944 $(POSTSTAGE1_HOST_EXPORTS) \
5945 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5946 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
5947 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5948 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5950 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5951 case $(srcdir) in \
5952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5953 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5955 esac; \
5956 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5957 libsrcdir="$$s/opcodes"; \
5958 $(SHELL) $${libsrcdir}/configure \
5959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5960 --target=${target_alias} $${srcdiroption} \
5961 --with-build-libsubdir=$(HOST_SUBDIR) \
5962 $(STAGE2_CONFIGURE_FLAGS)
5963 @endif opcodes-bootstrap
5965 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5966 maybe-configure-stage3-opcodes:
5967 @if opcodes-bootstrap
5968 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5969 configure-stage3-opcodes:
5970 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5972 @r=`${PWD_COMMAND}`; export r; \
5973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5974 TFLAGS="$(STAGE3_TFLAGS)"; \
5975 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5976 $(HOST_EXPORTS) \
5977 $(POSTSTAGE1_HOST_EXPORTS) \
5978 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5979 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
5980 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5981 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5983 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5984 case $(srcdir) in \
5985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5986 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5988 esac; \
5989 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5990 libsrcdir="$$s/opcodes"; \
5991 $(SHELL) $${libsrcdir}/configure \
5992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5993 --target=${target_alias} $${srcdiroption} \
5994 --with-build-libsubdir=$(HOST_SUBDIR) \
5995 $(STAGE3_CONFIGURE_FLAGS)
5996 @endif opcodes-bootstrap
5998 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5999 maybe-configure-stage4-opcodes:
6000 @if opcodes-bootstrap
6001 maybe-configure-stage4-opcodes: configure-stage4-opcodes
6002 configure-stage4-opcodes:
6003 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6005 @r=`${PWD_COMMAND}`; export r; \
6006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6007 TFLAGS="$(STAGE4_TFLAGS)"; \
6008 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6009 $(HOST_EXPORTS) \
6010 $(POSTSTAGE1_HOST_EXPORTS) \
6011 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
6012 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
6013 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
6014 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
6015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6016 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6017 case $(srcdir) in \
6018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6019 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6021 esac; \
6022 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6023 libsrcdir="$$s/opcodes"; \
6024 $(SHELL) $${libsrcdir}/configure \
6025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6026 --target=${target_alias} $${srcdiroption} \
6027 --with-build-libsubdir=$(HOST_SUBDIR) \
6028 $(STAGE4_CONFIGURE_FLAGS)
6029 @endif opcodes-bootstrap
6031 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
6032 maybe-configure-stageprofile-opcodes:
6033 @if opcodes-bootstrap
6034 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
6035 configure-stageprofile-opcodes:
6036 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6038 @r=`${PWD_COMMAND}`; export r; \
6039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6040 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6041 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6042 $(HOST_EXPORTS) \
6043 $(POSTSTAGE1_HOST_EXPORTS) \
6044 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
6045 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
6046 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
6047 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
6048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6049 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6050 case $(srcdir) in \
6051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6052 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6054 esac; \
6055 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6056 libsrcdir="$$s/opcodes"; \
6057 $(SHELL) $${libsrcdir}/configure \
6058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6059 --target=${target_alias} $${srcdiroption} \
6060 --with-build-libsubdir=$(HOST_SUBDIR) \
6061 $(STAGEprofile_CONFIGURE_FLAGS)
6062 @endif opcodes-bootstrap
6064 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
6065 maybe-configure-stagefeedback-opcodes:
6066 @if opcodes-bootstrap
6067 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
6068 configure-stagefeedback-opcodes:
6069 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6071 @r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6074 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6075 $(HOST_EXPORTS) \
6076 $(POSTSTAGE1_HOST_EXPORTS) \
6077 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
6078 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
6079 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
6080 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
6081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6082 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6083 case $(srcdir) in \
6084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6085 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6087 esac; \
6088 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6089 libsrcdir="$$s/opcodes"; \
6090 $(SHELL) $${libsrcdir}/configure \
6091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6092 --target=${target_alias} $${srcdiroption} \
6093 --with-build-libsubdir=$(HOST_SUBDIR) \
6094 $(STAGEfeedback_CONFIGURE_FLAGS)
6095 @endif opcodes-bootstrap
6101 .PHONY: all-opcodes maybe-all-opcodes
6102 maybe-all-opcodes:
6103 @if gcc-bootstrap
6104 all-opcodes: stage_current
6105 @endif gcc-bootstrap
6106 @if opcodes
6107 TARGET-opcodes=all
6108 maybe-all-opcodes: all-opcodes
6109 all-opcodes: configure-opcodes
6110 @r=`${PWD_COMMAND}`; export r; \
6111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6112 $(HOST_EXPORTS) \
6113 (cd $(HOST_SUBDIR)/opcodes && \
6114 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6115 $(TARGET-opcodes))
6116 @endif opcodes
6120 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
6121 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
6122 maybe-all-stage1-opcodes:
6123 maybe-clean-stage1-opcodes:
6124 @if opcodes-bootstrap
6125 maybe-all-stage1-opcodes: all-stage1-opcodes
6126 all-stage1: all-stage1-opcodes
6127 TARGET-stage1-opcodes = $(TARGET-opcodes)
6128 all-stage1-opcodes: configure-stage1-opcodes
6129 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6130 @r=`${PWD_COMMAND}`; export r; \
6131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6132 TFLAGS="$(STAGE1_TFLAGS)"; \
6133 $(HOST_EXPORTS) \
6134 cd $(HOST_SUBDIR)/opcodes && \
6135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6136 CFLAGS="$(STAGE1_CFLAGS)" \
6137 CXXFLAGS="$(STAGE1_CFLAGS)" \
6138 LIBCFLAGS="$(LIBCFLAGS)" \
6139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6142 $(EXTRA_HOST_FLAGS) \
6143 TFLAGS="$(STAGE1_TFLAGS)" \
6144 $(TARGET-stage1-opcodes)
6146 maybe-clean-stage1-opcodes: clean-stage1-opcodes
6147 clean-stage1: clean-stage1-opcodes
6148 clean-stage1-opcodes:
6149 @if [ $(current_stage) = stage1 ]; then \
6150 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6151 else \
6152 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
6153 $(MAKE) stage1-start; \
6154 fi; \
6155 cd $(HOST_SUBDIR)/opcodes && \
6156 $(MAKE) $(EXTRA_HOST_FLAGS) \
6157 clean
6158 @endif opcodes-bootstrap
6161 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
6162 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
6163 maybe-all-stage2-opcodes:
6164 maybe-clean-stage2-opcodes:
6165 @if opcodes-bootstrap
6166 maybe-all-stage2-opcodes: all-stage2-opcodes
6167 all-stage2: all-stage2-opcodes
6168 TARGET-stage2-opcodes = $(TARGET-opcodes)
6169 all-stage2-opcodes: configure-stage2-opcodes
6170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6171 @r=`${PWD_COMMAND}`; export r; \
6172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6173 TFLAGS="$(STAGE2_TFLAGS)"; \
6174 $(HOST_EXPORTS) \
6175 $(POSTSTAGE1_HOST_EXPORTS) \
6176 cd $(HOST_SUBDIR)/opcodes && \
6177 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6178 CFLAGS="$(STAGE2_CFLAGS)" \
6179 CXXFLAGS="$(STAGE2_CFLAGS)" \
6180 LIBCFLAGS="$(STAGE2_CFLAGS)" \
6181 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6182 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6183 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6184 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6185 TFLAGS="$(STAGE2_TFLAGS)" \
6186 $(TARGET-stage2-opcodes)
6188 maybe-clean-stage2-opcodes: clean-stage2-opcodes
6189 clean-stage2: clean-stage2-opcodes
6190 clean-stage2-opcodes:
6191 @if [ $(current_stage) = stage2 ]; then \
6192 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6193 else \
6194 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
6195 $(MAKE) stage2-start; \
6196 fi; \
6197 cd $(HOST_SUBDIR)/opcodes && \
6198 $(MAKE) $(EXTRA_HOST_FLAGS) \
6199 $(POSTSTAGE1_FLAGS_TO_PASS) \
6200 clean
6201 @endif opcodes-bootstrap
6204 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
6205 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
6206 maybe-all-stage3-opcodes:
6207 maybe-clean-stage3-opcodes:
6208 @if opcodes-bootstrap
6209 maybe-all-stage3-opcodes: all-stage3-opcodes
6210 all-stage3: all-stage3-opcodes
6211 TARGET-stage3-opcodes = $(TARGET-opcodes)
6212 all-stage3-opcodes: configure-stage3-opcodes
6213 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6214 @r=`${PWD_COMMAND}`; export r; \
6215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6216 TFLAGS="$(STAGE3_TFLAGS)"; \
6217 $(HOST_EXPORTS) \
6218 $(POSTSTAGE1_HOST_EXPORTS) \
6219 cd $(HOST_SUBDIR)/opcodes && \
6220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6221 CFLAGS="$(STAGE3_CFLAGS)" \
6222 CXXFLAGS="$(STAGE3_CFLAGS)" \
6223 LIBCFLAGS="$(STAGE3_CFLAGS)" \
6224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6227 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6228 TFLAGS="$(STAGE3_TFLAGS)" \
6229 $(TARGET-stage3-opcodes)
6231 maybe-clean-stage3-opcodes: clean-stage3-opcodes
6232 clean-stage3: clean-stage3-opcodes
6233 clean-stage3-opcodes:
6234 @if [ $(current_stage) = stage3 ]; then \
6235 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6236 else \
6237 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
6238 $(MAKE) stage3-start; \
6239 fi; \
6240 cd $(HOST_SUBDIR)/opcodes && \
6241 $(MAKE) $(EXTRA_HOST_FLAGS) \
6242 $(POSTSTAGE1_FLAGS_TO_PASS) \
6243 clean
6244 @endif opcodes-bootstrap
6247 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
6248 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
6249 maybe-all-stage4-opcodes:
6250 maybe-clean-stage4-opcodes:
6251 @if opcodes-bootstrap
6252 maybe-all-stage4-opcodes: all-stage4-opcodes
6253 all-stage4: all-stage4-opcodes
6254 TARGET-stage4-opcodes = $(TARGET-opcodes)
6255 all-stage4-opcodes: configure-stage4-opcodes
6256 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6257 @r=`${PWD_COMMAND}`; export r; \
6258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6259 TFLAGS="$(STAGE4_TFLAGS)"; \
6260 $(HOST_EXPORTS) \
6261 $(POSTSTAGE1_HOST_EXPORTS) \
6262 cd $(HOST_SUBDIR)/opcodes && \
6263 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6264 CFLAGS="$(STAGE4_CFLAGS)" \
6265 CXXFLAGS="$(STAGE4_CFLAGS)" \
6266 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6271 TFLAGS="$(STAGE4_TFLAGS)" \
6272 $(TARGET-stage4-opcodes)
6274 maybe-clean-stage4-opcodes: clean-stage4-opcodes
6275 clean-stage4: clean-stage4-opcodes
6276 clean-stage4-opcodes:
6277 @if [ $(current_stage) = stage4 ]; then \
6278 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6279 else \
6280 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
6281 $(MAKE) stage4-start; \
6282 fi; \
6283 cd $(HOST_SUBDIR)/opcodes && \
6284 $(MAKE) $(EXTRA_HOST_FLAGS) \
6285 $(POSTSTAGE1_FLAGS_TO_PASS) \
6286 clean
6287 @endif opcodes-bootstrap
6290 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
6291 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
6292 maybe-all-stageprofile-opcodes:
6293 maybe-clean-stageprofile-opcodes:
6294 @if opcodes-bootstrap
6295 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
6296 all-stageprofile: all-stageprofile-opcodes
6297 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
6298 all-stageprofile-opcodes: configure-stageprofile-opcodes
6299 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6300 @r=`${PWD_COMMAND}`; export r; \
6301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6302 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6303 $(HOST_EXPORTS) \
6304 $(POSTSTAGE1_HOST_EXPORTS) \
6305 cd $(HOST_SUBDIR)/opcodes && \
6306 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6307 CFLAGS="$(STAGEprofile_CFLAGS)" \
6308 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
6309 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6310 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6311 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6312 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6313 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6314 TFLAGS="$(STAGEprofile_TFLAGS)" \
6315 $(TARGET-stageprofile-opcodes)
6317 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
6318 clean-stageprofile: clean-stageprofile-opcodes
6319 clean-stageprofile-opcodes:
6320 @if [ $(current_stage) = stageprofile ]; then \
6321 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6322 else \
6323 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
6324 $(MAKE) stageprofile-start; \
6325 fi; \
6326 cd $(HOST_SUBDIR)/opcodes && \
6327 $(MAKE) $(EXTRA_HOST_FLAGS) \
6328 $(POSTSTAGE1_FLAGS_TO_PASS) \
6329 clean
6330 @endif opcodes-bootstrap
6333 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
6334 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
6335 maybe-all-stagefeedback-opcodes:
6336 maybe-clean-stagefeedback-opcodes:
6337 @if opcodes-bootstrap
6338 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
6339 all-stagefeedback: all-stagefeedback-opcodes
6340 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
6341 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
6342 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6343 @r=`${PWD_COMMAND}`; export r; \
6344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6345 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6346 $(HOST_EXPORTS) \
6347 $(POSTSTAGE1_HOST_EXPORTS) \
6348 cd $(HOST_SUBDIR)/opcodes && \
6349 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6350 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6351 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
6352 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6353 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6354 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6355 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6356 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6357 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6358 $(TARGET-stagefeedback-opcodes)
6360 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
6361 clean-stagefeedback: clean-stagefeedback-opcodes
6362 clean-stagefeedback-opcodes:
6363 @if [ $(current_stage) = stagefeedback ]; then \
6364 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6365 else \
6366 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
6367 $(MAKE) stagefeedback-start; \
6368 fi; \
6369 cd $(HOST_SUBDIR)/opcodes && \
6370 $(MAKE) $(EXTRA_HOST_FLAGS) \
6371 $(POSTSTAGE1_FLAGS_TO_PASS) \
6372 clean
6373 @endif opcodes-bootstrap
6379 .PHONY: check-opcodes maybe-check-opcodes
6380 maybe-check-opcodes:
6381 @if opcodes
6382 maybe-check-opcodes: check-opcodes
6384 check-opcodes:
6385 @: $(MAKE); $(unstage)
6386 @r=`${PWD_COMMAND}`; export r; \
6387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6388 $(HOST_EXPORTS) \
6389 (cd $(HOST_SUBDIR)/opcodes && \
6390 $(MAKE) $(FLAGS_TO_PASS) check)
6392 @endif opcodes
6394 .PHONY: install-opcodes maybe-install-opcodes
6395 maybe-install-opcodes:
6396 @if opcodes
6397 maybe-install-opcodes: install-opcodes
6399 install-opcodes: installdirs
6400 @: $(MAKE); $(unstage)
6401 @r=`${PWD_COMMAND}`; export r; \
6402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6403 $(HOST_EXPORTS) \
6404 (cd $(HOST_SUBDIR)/opcodes && \
6405 $(MAKE) $(FLAGS_TO_PASS) install)
6407 @endif opcodes
6409 # Other targets (info, dvi, pdf, etc.)
6411 .PHONY: maybe-info-opcodes info-opcodes
6412 maybe-info-opcodes:
6413 @if opcodes
6414 maybe-info-opcodes: info-opcodes
6416 info-opcodes: \
6417 configure-opcodes
6418 @[ -f ./opcodes/Makefile ] || exit 0; \
6419 r=`${PWD_COMMAND}`; export r; \
6420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6421 $(HOST_EXPORTS) \
6422 for flag in $(EXTRA_HOST_FLAGS) ; do \
6423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6424 done; \
6425 echo "Doing info in opcodes" ; \
6426 (cd $(HOST_SUBDIR)/opcodes && \
6427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6429 "RANLIB=$${RANLIB}" \
6430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6431 info) \
6432 || exit 1
6434 @endif opcodes
6436 .PHONY: maybe-dvi-opcodes dvi-opcodes
6437 maybe-dvi-opcodes:
6438 @if opcodes
6439 maybe-dvi-opcodes: dvi-opcodes
6441 dvi-opcodes: \
6442 configure-opcodes
6443 @[ -f ./opcodes/Makefile ] || exit 0; \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 $(HOST_EXPORTS) \
6447 for flag in $(EXTRA_HOST_FLAGS) ; do \
6448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6449 done; \
6450 echo "Doing dvi in opcodes" ; \
6451 (cd $(HOST_SUBDIR)/opcodes && \
6452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6454 "RANLIB=$${RANLIB}" \
6455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6456 dvi) \
6457 || exit 1
6459 @endif opcodes
6461 .PHONY: maybe-pdf-opcodes pdf-opcodes
6462 maybe-pdf-opcodes:
6463 @if opcodes
6464 maybe-pdf-opcodes: pdf-opcodes
6466 pdf-opcodes: \
6467 configure-opcodes
6468 @[ -f ./opcodes/Makefile ] || exit 0; \
6469 r=`${PWD_COMMAND}`; export r; \
6470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6471 $(HOST_EXPORTS) \
6472 for flag in $(EXTRA_HOST_FLAGS) ; do \
6473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6474 done; \
6475 echo "Doing pdf in opcodes" ; \
6476 (cd $(HOST_SUBDIR)/opcodes && \
6477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6479 "RANLIB=$${RANLIB}" \
6480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6481 pdf) \
6482 || exit 1
6484 @endif opcodes
6486 .PHONY: maybe-html-opcodes html-opcodes
6487 maybe-html-opcodes:
6488 @if opcodes
6489 maybe-html-opcodes: html-opcodes
6491 html-opcodes: \
6492 configure-opcodes
6493 @[ -f ./opcodes/Makefile ] || exit 0; \
6494 r=`${PWD_COMMAND}`; export r; \
6495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6496 $(HOST_EXPORTS) \
6497 for flag in $(EXTRA_HOST_FLAGS) ; do \
6498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6499 done; \
6500 echo "Doing html in opcodes" ; \
6501 (cd $(HOST_SUBDIR)/opcodes && \
6502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6504 "RANLIB=$${RANLIB}" \
6505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6506 html) \
6507 || exit 1
6509 @endif opcodes
6511 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
6512 maybe-TAGS-opcodes:
6513 @if opcodes
6514 maybe-TAGS-opcodes: TAGS-opcodes
6516 TAGS-opcodes: \
6517 configure-opcodes
6518 @[ -f ./opcodes/Makefile ] || exit 0; \
6519 r=`${PWD_COMMAND}`; export r; \
6520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6521 $(HOST_EXPORTS) \
6522 for flag in $(EXTRA_HOST_FLAGS) ; do \
6523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6524 done; \
6525 echo "Doing TAGS in opcodes" ; \
6526 (cd $(HOST_SUBDIR)/opcodes && \
6527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6529 "RANLIB=$${RANLIB}" \
6530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6531 TAGS) \
6532 || exit 1
6534 @endif opcodes
6536 .PHONY: maybe-install-info-opcodes install-info-opcodes
6537 maybe-install-info-opcodes:
6538 @if opcodes
6539 maybe-install-info-opcodes: install-info-opcodes
6541 install-info-opcodes: \
6542 configure-opcodes \
6543 info-opcodes
6544 @[ -f ./opcodes/Makefile ] || exit 0; \
6545 r=`${PWD_COMMAND}`; export r; \
6546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6547 $(HOST_EXPORTS) \
6548 for flag in $(EXTRA_HOST_FLAGS) ; do \
6549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6550 done; \
6551 echo "Doing install-info in opcodes" ; \
6552 (cd $(HOST_SUBDIR)/opcodes && \
6553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6555 "RANLIB=$${RANLIB}" \
6556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6557 install-info) \
6558 || exit 1
6560 @endif opcodes
6562 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
6563 maybe-install-pdf-opcodes:
6564 @if opcodes
6565 maybe-install-pdf-opcodes: install-pdf-opcodes
6567 install-pdf-opcodes: \
6568 configure-opcodes \
6569 pdf-opcodes
6570 @[ -f ./opcodes/Makefile ] || exit 0; \
6571 r=`${PWD_COMMAND}`; export r; \
6572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6573 $(HOST_EXPORTS) \
6574 for flag in $(EXTRA_HOST_FLAGS) ; do \
6575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6576 done; \
6577 echo "Doing install-pdf in opcodes" ; \
6578 (cd $(HOST_SUBDIR)/opcodes && \
6579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6581 "RANLIB=$${RANLIB}" \
6582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6583 install-pdf) \
6584 || exit 1
6586 @endif opcodes
6588 .PHONY: maybe-install-html-opcodes install-html-opcodes
6589 maybe-install-html-opcodes:
6590 @if opcodes
6591 maybe-install-html-opcodes: install-html-opcodes
6593 install-html-opcodes: \
6594 configure-opcodes \
6595 html-opcodes
6596 @[ -f ./opcodes/Makefile ] || exit 0; \
6597 r=`${PWD_COMMAND}`; export r; \
6598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599 $(HOST_EXPORTS) \
6600 for flag in $(EXTRA_HOST_FLAGS) ; do \
6601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6602 done; \
6603 echo "Doing install-html in opcodes" ; \
6604 (cd $(HOST_SUBDIR)/opcodes && \
6605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6607 "RANLIB=$${RANLIB}" \
6608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6609 install-html) \
6610 || exit 1
6612 @endif opcodes
6614 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
6615 maybe-installcheck-opcodes:
6616 @if opcodes
6617 maybe-installcheck-opcodes: installcheck-opcodes
6619 installcheck-opcodes: \
6620 configure-opcodes
6621 @[ -f ./opcodes/Makefile ] || exit 0; \
6622 r=`${PWD_COMMAND}`; export r; \
6623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6624 $(HOST_EXPORTS) \
6625 for flag in $(EXTRA_HOST_FLAGS) ; do \
6626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6627 done; \
6628 echo "Doing installcheck in opcodes" ; \
6629 (cd $(HOST_SUBDIR)/opcodes && \
6630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6632 "RANLIB=$${RANLIB}" \
6633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6634 installcheck) \
6635 || exit 1
6637 @endif opcodes
6639 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
6640 maybe-mostlyclean-opcodes:
6641 @if opcodes
6642 maybe-mostlyclean-opcodes: mostlyclean-opcodes
6644 mostlyclean-opcodes:
6645 @[ -f ./opcodes/Makefile ] || exit 0; \
6646 r=`${PWD_COMMAND}`; export r; \
6647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6648 $(HOST_EXPORTS) \
6649 for flag in $(EXTRA_HOST_FLAGS) ; do \
6650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6651 done; \
6652 echo "Doing mostlyclean in opcodes" ; \
6653 (cd $(HOST_SUBDIR)/opcodes && \
6654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6656 "RANLIB=$${RANLIB}" \
6657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6658 mostlyclean) \
6659 || exit 1
6661 @endif opcodes
6663 .PHONY: maybe-clean-opcodes clean-opcodes
6664 maybe-clean-opcodes:
6665 @if opcodes
6666 maybe-clean-opcodes: clean-opcodes
6668 clean-opcodes:
6669 @[ -f ./opcodes/Makefile ] || exit 0; \
6670 r=`${PWD_COMMAND}`; export r; \
6671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6672 $(HOST_EXPORTS) \
6673 for flag in $(EXTRA_HOST_FLAGS) ; do \
6674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6675 done; \
6676 echo "Doing clean in opcodes" ; \
6677 (cd $(HOST_SUBDIR)/opcodes && \
6678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6680 "RANLIB=$${RANLIB}" \
6681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6682 clean) \
6683 || exit 1
6685 @endif opcodes
6687 .PHONY: maybe-distclean-opcodes distclean-opcodes
6688 maybe-distclean-opcodes:
6689 @if opcodes
6690 maybe-distclean-opcodes: distclean-opcodes
6692 distclean-opcodes:
6693 @[ -f ./opcodes/Makefile ] || exit 0; \
6694 r=`${PWD_COMMAND}`; export r; \
6695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6696 $(HOST_EXPORTS) \
6697 for flag in $(EXTRA_HOST_FLAGS) ; do \
6698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6699 done; \
6700 echo "Doing distclean in opcodes" ; \
6701 (cd $(HOST_SUBDIR)/opcodes && \
6702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6704 "RANLIB=$${RANLIB}" \
6705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6706 distclean) \
6707 || exit 1
6709 @endif opcodes
6711 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6712 maybe-maintainer-clean-opcodes:
6713 @if opcodes
6714 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6716 maintainer-clean-opcodes:
6717 @[ -f ./opcodes/Makefile ] || exit 0; \
6718 r=`${PWD_COMMAND}`; export r; \
6719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6720 $(HOST_EXPORTS) \
6721 for flag in $(EXTRA_HOST_FLAGS) ; do \
6722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6723 done; \
6724 echo "Doing maintainer-clean in opcodes" ; \
6725 (cd $(HOST_SUBDIR)/opcodes && \
6726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6728 "RANLIB=$${RANLIB}" \
6729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6730 maintainer-clean) \
6731 || exit 1
6733 @endif opcodes
6737 .PHONY: configure-binutils maybe-configure-binutils
6738 maybe-configure-binutils:
6739 @if gcc-bootstrap
6740 configure-binutils: stage_current
6741 @endif gcc-bootstrap
6742 @if binutils
6743 maybe-configure-binutils: configure-binutils
6744 configure-binutils:
6745 @r=`${PWD_COMMAND}`; export r; \
6746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6747 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6749 $(HOST_EXPORTS) \
6750 echo Configuring in $(HOST_SUBDIR)/binutils; \
6751 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6752 case $(srcdir) in \
6753 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6754 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6755 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6756 esac; \
6757 srcdiroption="--srcdir=$${topdir}/binutils"; \
6758 libsrcdir="$$s/binutils"; \
6759 $(SHELL) $${libsrcdir}/configure \
6760 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6761 --target=${target_alias} $${srcdiroption} \
6762 || exit 1
6763 @endif binutils
6767 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6768 maybe-configure-stage1-binutils:
6769 @if binutils-bootstrap
6770 maybe-configure-stage1-binutils: configure-stage1-binutils
6771 configure-stage1-binutils:
6772 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6774 @r=`${PWD_COMMAND}`; export r; \
6775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6776 TFLAGS="$(STAGE1_TFLAGS)"; \
6777 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6778 $(HOST_EXPORTS) \
6779 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
6780 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
6781 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
6782 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6784 cd $(HOST_SUBDIR)/binutils || exit 1; \
6785 case $(srcdir) in \
6786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6787 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6789 esac; \
6790 srcdiroption="--srcdir=$${topdir}/binutils"; \
6791 libsrcdir="$$s/binutils"; \
6792 $(SHELL) $${libsrcdir}/configure \
6793 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6794 --target=${target_alias} $${srcdiroption} \
6795 $(STAGE1_CONFIGURE_FLAGS)
6796 @endif binutils-bootstrap
6798 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6799 maybe-configure-stage2-binutils:
6800 @if binutils-bootstrap
6801 maybe-configure-stage2-binutils: configure-stage2-binutils
6802 configure-stage2-binutils:
6803 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6805 @r=`${PWD_COMMAND}`; export r; \
6806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6807 TFLAGS="$(STAGE2_TFLAGS)"; \
6808 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6809 $(HOST_EXPORTS) \
6810 $(POSTSTAGE1_HOST_EXPORTS) \
6811 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
6812 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
6813 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
6814 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6816 cd $(HOST_SUBDIR)/binutils || exit 1; \
6817 case $(srcdir) in \
6818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6819 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6821 esac; \
6822 srcdiroption="--srcdir=$${topdir}/binutils"; \
6823 libsrcdir="$$s/binutils"; \
6824 $(SHELL) $${libsrcdir}/configure \
6825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6826 --target=${target_alias} $${srcdiroption} \
6827 --with-build-libsubdir=$(HOST_SUBDIR) \
6828 $(STAGE2_CONFIGURE_FLAGS)
6829 @endif binutils-bootstrap
6831 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6832 maybe-configure-stage3-binutils:
6833 @if binutils-bootstrap
6834 maybe-configure-stage3-binutils: configure-stage3-binutils
6835 configure-stage3-binutils:
6836 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6838 @r=`${PWD_COMMAND}`; export r; \
6839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6840 TFLAGS="$(STAGE3_TFLAGS)"; \
6841 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6842 $(HOST_EXPORTS) \
6843 $(POSTSTAGE1_HOST_EXPORTS) \
6844 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
6845 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
6846 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
6847 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6848 $(SHELL) $(srcdir)/mkinstalldirs $(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 --with-build-libsubdir=$(HOST_SUBDIR) \
6861 $(STAGE3_CONFIGURE_FLAGS)
6862 @endif binutils-bootstrap
6864 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6865 maybe-configure-stage4-binutils:
6866 @if binutils-bootstrap
6867 maybe-configure-stage4-binutils: configure-stage4-binutils
6868 configure-stage4-binutils:
6869 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6870 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6871 @r=`${PWD_COMMAND}`; export r; \
6872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6873 TFLAGS="$(STAGE4_TFLAGS)"; \
6874 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6875 $(HOST_EXPORTS) \
6876 $(POSTSTAGE1_HOST_EXPORTS) \
6877 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
6878 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
6879 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
6880 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6882 cd $(HOST_SUBDIR)/binutils || exit 1; \
6883 case $(srcdir) in \
6884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6885 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6887 esac; \
6888 srcdiroption="--srcdir=$${topdir}/binutils"; \
6889 libsrcdir="$$s/binutils"; \
6890 $(SHELL) $${libsrcdir}/configure \
6891 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6892 --target=${target_alias} $${srcdiroption} \
6893 --with-build-libsubdir=$(HOST_SUBDIR) \
6894 $(STAGE4_CONFIGURE_FLAGS)
6895 @endif binutils-bootstrap
6897 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6898 maybe-configure-stageprofile-binutils:
6899 @if binutils-bootstrap
6900 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6901 configure-stageprofile-binutils:
6902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6904 @r=`${PWD_COMMAND}`; export r; \
6905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6907 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6908 $(HOST_EXPORTS) \
6909 $(POSTSTAGE1_HOST_EXPORTS) \
6910 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
6911 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
6912 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
6913 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6915 cd $(HOST_SUBDIR)/binutils || exit 1; \
6916 case $(srcdir) in \
6917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6918 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6920 esac; \
6921 srcdiroption="--srcdir=$${topdir}/binutils"; \
6922 libsrcdir="$$s/binutils"; \
6923 $(SHELL) $${libsrcdir}/configure \
6924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6925 --target=${target_alias} $${srcdiroption} \
6926 --with-build-libsubdir=$(HOST_SUBDIR) \
6927 $(STAGEprofile_CONFIGURE_FLAGS)
6928 @endif binutils-bootstrap
6930 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6931 maybe-configure-stagefeedback-binutils:
6932 @if binutils-bootstrap
6933 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6934 configure-stagefeedback-binutils:
6935 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6937 @r=`${PWD_COMMAND}`; export r; \
6938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6939 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6940 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6941 $(HOST_EXPORTS) \
6942 $(POSTSTAGE1_HOST_EXPORTS) \
6943 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
6944 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
6945 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
6946 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6948 cd $(HOST_SUBDIR)/binutils || exit 1; \
6949 case $(srcdir) in \
6950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6951 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6953 esac; \
6954 srcdiroption="--srcdir=$${topdir}/binutils"; \
6955 libsrcdir="$$s/binutils"; \
6956 $(SHELL) $${libsrcdir}/configure \
6957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6958 --target=${target_alias} $${srcdiroption} \
6959 --with-build-libsubdir=$(HOST_SUBDIR) \
6960 $(STAGEfeedback_CONFIGURE_FLAGS)
6961 @endif binutils-bootstrap
6967 .PHONY: all-binutils maybe-all-binutils
6968 maybe-all-binutils:
6969 @if gcc-bootstrap
6970 all-binutils: stage_current
6971 @endif gcc-bootstrap
6972 @if binutils
6973 TARGET-binutils=all
6974 maybe-all-binutils: all-binutils
6975 all-binutils: configure-binutils
6976 @r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 $(HOST_EXPORTS) \
6979 (cd $(HOST_SUBDIR)/binutils && \
6980 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6981 $(TARGET-binutils))
6982 @endif binutils
6986 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6987 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6988 maybe-all-stage1-binutils:
6989 maybe-clean-stage1-binutils:
6990 @if binutils-bootstrap
6991 maybe-all-stage1-binutils: all-stage1-binutils
6992 all-stage1: all-stage1-binutils
6993 TARGET-stage1-binutils = $(TARGET-binutils)
6994 all-stage1-binutils: configure-stage1-binutils
6995 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6996 @r=`${PWD_COMMAND}`; export r; \
6997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6998 TFLAGS="$(STAGE1_TFLAGS)"; \
6999 $(HOST_EXPORTS) \
7000 cd $(HOST_SUBDIR)/binutils && \
7001 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7002 CFLAGS="$(STAGE1_CFLAGS)" \
7003 CXXFLAGS="$(STAGE1_CFLAGS)" \
7004 LIBCFLAGS="$(LIBCFLAGS)" \
7005 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7006 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7007 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7008 $(EXTRA_HOST_FLAGS) \
7009 TFLAGS="$(STAGE1_TFLAGS)" \
7010 $(TARGET-stage1-binutils)
7012 maybe-clean-stage1-binutils: clean-stage1-binutils
7013 clean-stage1: clean-stage1-binutils
7014 clean-stage1-binutils:
7015 @if [ $(current_stage) = stage1 ]; then \
7016 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7017 else \
7018 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
7019 $(MAKE) stage1-start; \
7020 fi; \
7021 cd $(HOST_SUBDIR)/binutils && \
7022 $(MAKE) $(EXTRA_HOST_FLAGS) \
7023 clean
7024 @endif binutils-bootstrap
7027 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
7028 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
7029 maybe-all-stage2-binutils:
7030 maybe-clean-stage2-binutils:
7031 @if binutils-bootstrap
7032 maybe-all-stage2-binutils: all-stage2-binutils
7033 all-stage2: all-stage2-binutils
7034 TARGET-stage2-binutils = $(TARGET-binutils)
7035 all-stage2-binutils: configure-stage2-binutils
7036 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7037 @r=`${PWD_COMMAND}`; export r; \
7038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7039 TFLAGS="$(STAGE2_TFLAGS)"; \
7040 $(HOST_EXPORTS) \
7041 $(POSTSTAGE1_HOST_EXPORTS) \
7042 cd $(HOST_SUBDIR)/binutils && \
7043 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7044 CFLAGS="$(STAGE2_CFLAGS)" \
7045 CXXFLAGS="$(STAGE2_CFLAGS)" \
7046 LIBCFLAGS="$(STAGE2_CFLAGS)" \
7047 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7048 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7049 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7050 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7051 TFLAGS="$(STAGE2_TFLAGS)" \
7052 $(TARGET-stage2-binutils)
7054 maybe-clean-stage2-binutils: clean-stage2-binutils
7055 clean-stage2: clean-stage2-binutils
7056 clean-stage2-binutils:
7057 @if [ $(current_stage) = stage2 ]; then \
7058 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7059 else \
7060 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
7061 $(MAKE) stage2-start; \
7062 fi; \
7063 cd $(HOST_SUBDIR)/binutils && \
7064 $(MAKE) $(EXTRA_HOST_FLAGS) \
7065 $(POSTSTAGE1_FLAGS_TO_PASS) \
7066 clean
7067 @endif binutils-bootstrap
7070 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
7071 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
7072 maybe-all-stage3-binutils:
7073 maybe-clean-stage3-binutils:
7074 @if binutils-bootstrap
7075 maybe-all-stage3-binutils: all-stage3-binutils
7076 all-stage3: all-stage3-binutils
7077 TARGET-stage3-binutils = $(TARGET-binutils)
7078 all-stage3-binutils: configure-stage3-binutils
7079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7080 @r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7082 TFLAGS="$(STAGE3_TFLAGS)"; \
7083 $(HOST_EXPORTS) \
7084 $(POSTSTAGE1_HOST_EXPORTS) \
7085 cd $(HOST_SUBDIR)/binutils && \
7086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7087 CFLAGS="$(STAGE3_CFLAGS)" \
7088 CXXFLAGS="$(STAGE3_CFLAGS)" \
7089 LIBCFLAGS="$(STAGE3_CFLAGS)" \
7090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7093 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7094 TFLAGS="$(STAGE3_TFLAGS)" \
7095 $(TARGET-stage3-binutils)
7097 maybe-clean-stage3-binutils: clean-stage3-binutils
7098 clean-stage3: clean-stage3-binutils
7099 clean-stage3-binutils:
7100 @if [ $(current_stage) = stage3 ]; then \
7101 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7102 else \
7103 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
7104 $(MAKE) stage3-start; \
7105 fi; \
7106 cd $(HOST_SUBDIR)/binutils && \
7107 $(MAKE) $(EXTRA_HOST_FLAGS) \
7108 $(POSTSTAGE1_FLAGS_TO_PASS) \
7109 clean
7110 @endif binutils-bootstrap
7113 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
7114 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
7115 maybe-all-stage4-binutils:
7116 maybe-clean-stage4-binutils:
7117 @if binutils-bootstrap
7118 maybe-all-stage4-binutils: all-stage4-binutils
7119 all-stage4: all-stage4-binutils
7120 TARGET-stage4-binutils = $(TARGET-binutils)
7121 all-stage4-binutils: configure-stage4-binutils
7122 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7123 @r=`${PWD_COMMAND}`; export r; \
7124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7125 TFLAGS="$(STAGE4_TFLAGS)"; \
7126 $(HOST_EXPORTS) \
7127 $(POSTSTAGE1_HOST_EXPORTS) \
7128 cd $(HOST_SUBDIR)/binutils && \
7129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7130 CFLAGS="$(STAGE4_CFLAGS)" \
7131 CXXFLAGS="$(STAGE4_CFLAGS)" \
7132 LIBCFLAGS="$(STAGE4_CFLAGS)" \
7133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7137 TFLAGS="$(STAGE4_TFLAGS)" \
7138 $(TARGET-stage4-binutils)
7140 maybe-clean-stage4-binutils: clean-stage4-binutils
7141 clean-stage4: clean-stage4-binutils
7142 clean-stage4-binutils:
7143 @if [ $(current_stage) = stage4 ]; then \
7144 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7145 else \
7146 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
7147 $(MAKE) stage4-start; \
7148 fi; \
7149 cd $(HOST_SUBDIR)/binutils && \
7150 $(MAKE) $(EXTRA_HOST_FLAGS) \
7151 $(POSTSTAGE1_FLAGS_TO_PASS) \
7152 clean
7153 @endif binutils-bootstrap
7156 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
7157 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
7158 maybe-all-stageprofile-binutils:
7159 maybe-clean-stageprofile-binutils:
7160 @if binutils-bootstrap
7161 maybe-all-stageprofile-binutils: all-stageprofile-binutils
7162 all-stageprofile: all-stageprofile-binutils
7163 TARGET-stageprofile-binutils = $(TARGET-binutils)
7164 all-stageprofile-binutils: configure-stageprofile-binutils
7165 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7166 @r=`${PWD_COMMAND}`; export r; \
7167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7168 TFLAGS="$(STAGEprofile_TFLAGS)"; \
7169 $(HOST_EXPORTS) \
7170 $(POSTSTAGE1_HOST_EXPORTS) \
7171 cd $(HOST_SUBDIR)/binutils && \
7172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7173 CFLAGS="$(STAGEprofile_CFLAGS)" \
7174 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
7175 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
7176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7179 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7180 TFLAGS="$(STAGEprofile_TFLAGS)" \
7181 $(TARGET-stageprofile-binutils)
7183 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
7184 clean-stageprofile: clean-stageprofile-binutils
7185 clean-stageprofile-binutils:
7186 @if [ $(current_stage) = stageprofile ]; then \
7187 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7188 else \
7189 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
7190 $(MAKE) stageprofile-start; \
7191 fi; \
7192 cd $(HOST_SUBDIR)/binutils && \
7193 $(MAKE) $(EXTRA_HOST_FLAGS) \
7194 $(POSTSTAGE1_FLAGS_TO_PASS) \
7195 clean
7196 @endif binutils-bootstrap
7199 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
7200 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
7201 maybe-all-stagefeedback-binutils:
7202 maybe-clean-stagefeedback-binutils:
7203 @if binutils-bootstrap
7204 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
7205 all-stagefeedback: all-stagefeedback-binutils
7206 TARGET-stagefeedback-binutils = $(TARGET-binutils)
7207 all-stagefeedback-binutils: configure-stagefeedback-binutils
7208 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7209 @r=`${PWD_COMMAND}`; export r; \
7210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
7212 $(HOST_EXPORTS) \
7213 $(POSTSTAGE1_HOST_EXPORTS) \
7214 cd $(HOST_SUBDIR)/binutils && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7216 CFLAGS="$(STAGEfeedback_CFLAGS)" \
7217 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
7218 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
7219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7222 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7223 TFLAGS="$(STAGEfeedback_TFLAGS)" \
7224 $(TARGET-stagefeedback-binutils)
7226 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
7227 clean-stagefeedback: clean-stagefeedback-binutils
7228 clean-stagefeedback-binutils:
7229 @if [ $(current_stage) = stagefeedback ]; then \
7230 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7231 else \
7232 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
7233 $(MAKE) stagefeedback-start; \
7234 fi; \
7235 cd $(HOST_SUBDIR)/binutils && \
7236 $(MAKE) $(EXTRA_HOST_FLAGS) \
7237 $(POSTSTAGE1_FLAGS_TO_PASS) \
7238 clean
7239 @endif binutils-bootstrap
7245 .PHONY: check-binutils maybe-check-binutils
7246 maybe-check-binutils:
7247 @if binutils
7248 maybe-check-binutils: check-binutils
7250 check-binutils:
7251 @: $(MAKE); $(unstage)
7252 @r=`${PWD_COMMAND}`; export r; \
7253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7254 $(HOST_EXPORTS) \
7255 (cd $(HOST_SUBDIR)/binutils && \
7256 $(MAKE) $(FLAGS_TO_PASS) check)
7258 @endif binutils
7260 .PHONY: install-binutils maybe-install-binutils
7261 maybe-install-binutils:
7262 @if binutils
7263 maybe-install-binutils: install-binutils
7265 install-binutils: installdirs
7266 @: $(MAKE); $(unstage)
7267 @r=`${PWD_COMMAND}`; export r; \
7268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7269 $(HOST_EXPORTS) \
7270 (cd $(HOST_SUBDIR)/binutils && \
7271 $(MAKE) $(FLAGS_TO_PASS) install)
7273 @endif binutils
7275 # Other targets (info, dvi, pdf, etc.)
7277 .PHONY: maybe-info-binutils info-binutils
7278 maybe-info-binutils:
7279 @if binutils
7280 maybe-info-binutils: info-binutils
7282 info-binutils: \
7283 configure-binutils
7284 @[ -f ./binutils/Makefile ] || exit 0; \
7285 r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(HOST_EXPORTS) \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 done; \
7291 echo "Doing info in binutils" ; \
7292 (cd $(HOST_SUBDIR)/binutils && \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7297 info) \
7298 || exit 1
7300 @endif binutils
7302 .PHONY: maybe-dvi-binutils dvi-binutils
7303 maybe-dvi-binutils:
7304 @if binutils
7305 maybe-dvi-binutils: dvi-binutils
7307 dvi-binutils: \
7308 configure-binutils
7309 @[ -f ./binutils/Makefile ] || exit 0; \
7310 r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing dvi in binutils" ; \
7317 (cd $(HOST_SUBDIR)/binutils && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7322 dvi) \
7323 || exit 1
7325 @endif binutils
7327 .PHONY: maybe-pdf-binutils pdf-binutils
7328 maybe-pdf-binutils:
7329 @if binutils
7330 maybe-pdf-binutils: pdf-binutils
7332 pdf-binutils: \
7333 configure-binutils
7334 @[ -f ./binutils/Makefile ] || exit 0; \
7335 r=`${PWD_COMMAND}`; export r; \
7336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing pdf in binutils" ; \
7342 (cd $(HOST_SUBDIR)/binutils && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7347 pdf) \
7348 || exit 1
7350 @endif binutils
7352 .PHONY: maybe-html-binutils html-binutils
7353 maybe-html-binutils:
7354 @if binutils
7355 maybe-html-binutils: html-binutils
7357 html-binutils: \
7358 configure-binutils
7359 @[ -f ./binutils/Makefile ] || exit 0; \
7360 r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 $(HOST_EXPORTS) \
7363 for flag in $(EXTRA_HOST_FLAGS) ; do \
7364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7365 done; \
7366 echo "Doing html in binutils" ; \
7367 (cd $(HOST_SUBDIR)/binutils && \
7368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7370 "RANLIB=$${RANLIB}" \
7371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7372 html) \
7373 || exit 1
7375 @endif binutils
7377 .PHONY: maybe-TAGS-binutils TAGS-binutils
7378 maybe-TAGS-binutils:
7379 @if binutils
7380 maybe-TAGS-binutils: TAGS-binutils
7382 TAGS-binutils: \
7383 configure-binutils
7384 @[ -f ./binutils/Makefile ] || exit 0; \
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(HOST_EXPORTS) \
7388 for flag in $(EXTRA_HOST_FLAGS) ; do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing TAGS in binutils" ; \
7392 (cd $(HOST_SUBDIR)/binutils && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7397 TAGS) \
7398 || exit 1
7400 @endif binutils
7402 .PHONY: maybe-install-info-binutils install-info-binutils
7403 maybe-install-info-binutils:
7404 @if binutils
7405 maybe-install-info-binutils: install-info-binutils
7407 install-info-binutils: \
7408 configure-binutils \
7409 info-binutils
7410 @[ -f ./binutils/Makefile ] || exit 0; \
7411 r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 $(HOST_EXPORTS) \
7414 for flag in $(EXTRA_HOST_FLAGS) ; do \
7415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7416 done; \
7417 echo "Doing install-info in binutils" ; \
7418 (cd $(HOST_SUBDIR)/binutils && \
7419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7421 "RANLIB=$${RANLIB}" \
7422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7423 install-info) \
7424 || exit 1
7426 @endif binutils
7428 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
7429 maybe-install-pdf-binutils:
7430 @if binutils
7431 maybe-install-pdf-binutils: install-pdf-binutils
7433 install-pdf-binutils: \
7434 configure-binutils \
7435 pdf-binutils
7436 @[ -f ./binutils/Makefile ] || exit 0; \
7437 r=`${PWD_COMMAND}`; export r; \
7438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7439 $(HOST_EXPORTS) \
7440 for flag in $(EXTRA_HOST_FLAGS) ; do \
7441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7442 done; \
7443 echo "Doing install-pdf in binutils" ; \
7444 (cd $(HOST_SUBDIR)/binutils && \
7445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7447 "RANLIB=$${RANLIB}" \
7448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7449 install-pdf) \
7450 || exit 1
7452 @endif binutils
7454 .PHONY: maybe-install-html-binutils install-html-binutils
7455 maybe-install-html-binutils:
7456 @if binutils
7457 maybe-install-html-binutils: install-html-binutils
7459 install-html-binutils: \
7460 configure-binutils \
7461 html-binutils
7462 @[ -f ./binutils/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(HOST_EXPORTS) \
7466 for flag in $(EXTRA_HOST_FLAGS) ; do \
7467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7468 done; \
7469 echo "Doing install-html in binutils" ; \
7470 (cd $(HOST_SUBDIR)/binutils && \
7471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7473 "RANLIB=$${RANLIB}" \
7474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7475 install-html) \
7476 || exit 1
7478 @endif binutils
7480 .PHONY: maybe-installcheck-binutils installcheck-binutils
7481 maybe-installcheck-binutils:
7482 @if binutils
7483 maybe-installcheck-binutils: installcheck-binutils
7485 installcheck-binutils: \
7486 configure-binutils
7487 @[ -f ./binutils/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing installcheck in binutils" ; \
7495 (cd $(HOST_SUBDIR)/binutils && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7500 installcheck) \
7501 || exit 1
7503 @endif binutils
7505 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
7506 maybe-mostlyclean-binutils:
7507 @if binutils
7508 maybe-mostlyclean-binutils: mostlyclean-binutils
7510 mostlyclean-binutils:
7511 @[ -f ./binutils/Makefile ] || exit 0; \
7512 r=`${PWD_COMMAND}`; export r; \
7513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7514 $(HOST_EXPORTS) \
7515 for flag in $(EXTRA_HOST_FLAGS) ; do \
7516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7517 done; \
7518 echo "Doing mostlyclean in binutils" ; \
7519 (cd $(HOST_SUBDIR)/binutils && \
7520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7522 "RANLIB=$${RANLIB}" \
7523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7524 mostlyclean) \
7525 || exit 1
7527 @endif binutils
7529 .PHONY: maybe-clean-binutils clean-binutils
7530 maybe-clean-binutils:
7531 @if binutils
7532 maybe-clean-binutils: clean-binutils
7534 clean-binutils:
7535 @[ -f ./binutils/Makefile ] || exit 0; \
7536 r=`${PWD_COMMAND}`; export r; \
7537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7538 $(HOST_EXPORTS) \
7539 for flag in $(EXTRA_HOST_FLAGS) ; do \
7540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7541 done; \
7542 echo "Doing clean in binutils" ; \
7543 (cd $(HOST_SUBDIR)/binutils && \
7544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7546 "RANLIB=$${RANLIB}" \
7547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7548 clean) \
7549 || exit 1
7551 @endif binutils
7553 .PHONY: maybe-distclean-binutils distclean-binutils
7554 maybe-distclean-binutils:
7555 @if binutils
7556 maybe-distclean-binutils: distclean-binutils
7558 distclean-binutils:
7559 @[ -f ./binutils/Makefile ] || exit 0; \
7560 r=`${PWD_COMMAND}`; export r; \
7561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7562 $(HOST_EXPORTS) \
7563 for flag in $(EXTRA_HOST_FLAGS) ; do \
7564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7565 done; \
7566 echo "Doing distclean in binutils" ; \
7567 (cd $(HOST_SUBDIR)/binutils && \
7568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7570 "RANLIB=$${RANLIB}" \
7571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7572 distclean) \
7573 || exit 1
7575 @endif binutils
7577 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
7578 maybe-maintainer-clean-binutils:
7579 @if binutils
7580 maybe-maintainer-clean-binutils: maintainer-clean-binutils
7582 maintainer-clean-binutils:
7583 @[ -f ./binutils/Makefile ] || exit 0; \
7584 r=`${PWD_COMMAND}`; export r; \
7585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7586 $(HOST_EXPORTS) \
7587 for flag in $(EXTRA_HOST_FLAGS) ; do \
7588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7589 done; \
7590 echo "Doing maintainer-clean in binutils" ; \
7591 (cd $(HOST_SUBDIR)/binutils && \
7592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7594 "RANLIB=$${RANLIB}" \
7595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7596 maintainer-clean) \
7597 || exit 1
7599 @endif binutils
7603 .PHONY: configure-bison maybe-configure-bison
7604 maybe-configure-bison:
7605 @if gcc-bootstrap
7606 configure-bison: stage_current
7607 @endif gcc-bootstrap
7608 @if bison
7609 maybe-configure-bison: configure-bison
7610 configure-bison:
7611 @: $(MAKE); $(unstage)
7612 @r=`${PWD_COMMAND}`; export r; \
7613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7614 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
7615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
7616 $(HOST_EXPORTS) \
7617 echo Configuring in $(HOST_SUBDIR)/bison; \
7618 cd "$(HOST_SUBDIR)/bison" || exit 1; \
7619 case $(srcdir) in \
7620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7621 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
7622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7623 esac; \
7624 srcdiroption="--srcdir=$${topdir}/bison"; \
7625 libsrcdir="$$s/bison"; \
7626 $(SHELL) $${libsrcdir}/configure \
7627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7628 --target=${target_alias} $${srcdiroption} \
7629 || exit 1
7630 @endif bison
7636 .PHONY: all-bison maybe-all-bison
7637 maybe-all-bison:
7638 @if gcc-bootstrap
7639 all-bison: stage_current
7640 @endif gcc-bootstrap
7641 @if bison
7642 TARGET-bison=all
7643 maybe-all-bison: all-bison
7644 all-bison: configure-bison
7645 @: $(MAKE); $(unstage)
7646 @r=`${PWD_COMMAND}`; export r; \
7647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7648 $(HOST_EXPORTS) \
7649 (cd $(HOST_SUBDIR)/bison && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7651 $(TARGET-bison))
7652 @endif bison
7657 .PHONY: check-bison maybe-check-bison
7658 maybe-check-bison:
7659 @if bison
7660 maybe-check-bison: check-bison
7662 # This module is only tested in a native toolchain.
7663 check-bison:
7664 @: $(MAKE); $(unstage)
7665 @if [ '$(host)' = '$(target)' ] ; then \
7666 r=`${PWD_COMMAND}`; export r; \
7667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7668 $(HOST_EXPORTS) \
7669 (cd $(HOST_SUBDIR)/bison && \
7670 $(MAKE) $(FLAGS_TO_PASS) check); \
7673 @endif bison
7675 .PHONY: install-bison maybe-install-bison
7676 maybe-install-bison:
7677 @if bison
7678 maybe-install-bison: install-bison
7680 install-bison: installdirs
7681 @: $(MAKE); $(unstage)
7682 @r=`${PWD_COMMAND}`; export r; \
7683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7684 $(HOST_EXPORTS) \
7685 (cd $(HOST_SUBDIR)/bison && \
7686 $(MAKE) $(FLAGS_TO_PASS) install)
7688 @endif bison
7690 # Other targets (info, dvi, pdf, etc.)
7692 .PHONY: maybe-info-bison info-bison
7693 maybe-info-bison:
7694 @if bison
7695 maybe-info-bison: info-bison
7697 info-bison: \
7698 configure-bison
7699 @: $(MAKE); $(unstage)
7700 @[ -f ./bison/Makefile ] || exit 0; \
7701 r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(HOST_EXPORTS) \
7704 for flag in $(EXTRA_HOST_FLAGS) ; do \
7705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7706 done; \
7707 echo "Doing info in bison" ; \
7708 (cd $(HOST_SUBDIR)/bison && \
7709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7711 "RANLIB=$${RANLIB}" \
7712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7713 info) \
7714 || exit 1
7716 @endif bison
7718 .PHONY: maybe-dvi-bison dvi-bison
7719 maybe-dvi-bison:
7720 @if bison
7721 maybe-dvi-bison: dvi-bison
7723 dvi-bison: \
7724 configure-bison
7725 @: $(MAKE); $(unstage)
7726 @[ -f ./bison/Makefile ] || exit 0; \
7727 r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729 $(HOST_EXPORTS) \
7730 for flag in $(EXTRA_HOST_FLAGS) ; do \
7731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7732 done; \
7733 echo "Doing dvi in bison" ; \
7734 (cd $(HOST_SUBDIR)/bison && \
7735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7737 "RANLIB=$${RANLIB}" \
7738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7739 dvi) \
7740 || exit 1
7742 @endif bison
7744 .PHONY: maybe-pdf-bison pdf-bison
7745 maybe-pdf-bison:
7746 @if bison
7747 maybe-pdf-bison: pdf-bison
7749 pdf-bison: \
7750 configure-bison
7751 @: $(MAKE); $(unstage)
7752 @[ -f ./bison/Makefile ] || exit 0; \
7753 r=`${PWD_COMMAND}`; export r; \
7754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7755 $(HOST_EXPORTS) \
7756 for flag in $(EXTRA_HOST_FLAGS) ; do \
7757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7758 done; \
7759 echo "Doing pdf in bison" ; \
7760 (cd $(HOST_SUBDIR)/bison && \
7761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7763 "RANLIB=$${RANLIB}" \
7764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7765 pdf) \
7766 || exit 1
7768 @endif bison
7770 .PHONY: maybe-html-bison html-bison
7771 maybe-html-bison:
7772 @if bison
7773 maybe-html-bison: html-bison
7775 html-bison: \
7776 configure-bison
7777 @: $(MAKE); $(unstage)
7778 @[ -f ./bison/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 html in bison" ; \
7786 (cd $(HOST_SUBDIR)/bison && \
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 html) \
7792 || exit 1
7794 @endif bison
7796 .PHONY: maybe-TAGS-bison TAGS-bison
7797 maybe-TAGS-bison:
7798 @if bison
7799 maybe-TAGS-bison: TAGS-bison
7801 TAGS-bison: \
7802 configure-bison
7803 @: $(MAKE); $(unstage)
7804 @[ -f ./bison/Makefile ] || exit 0; \
7805 r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7807 $(HOST_EXPORTS) \
7808 for flag in $(EXTRA_HOST_FLAGS) ; do \
7809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7810 done; \
7811 echo "Doing TAGS in bison" ; \
7812 (cd $(HOST_SUBDIR)/bison && \
7813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7815 "RANLIB=$${RANLIB}" \
7816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7817 TAGS) \
7818 || exit 1
7820 @endif bison
7822 .PHONY: maybe-install-info-bison install-info-bison
7823 maybe-install-info-bison:
7824 @if bison
7825 maybe-install-info-bison: install-info-bison
7827 install-info-bison: \
7828 configure-bison \
7829 info-bison
7830 @: $(MAKE); $(unstage)
7831 @[ -f ./bison/Makefile ] || exit 0; \
7832 r=`${PWD_COMMAND}`; export r; \
7833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7834 $(HOST_EXPORTS) \
7835 for flag in $(EXTRA_HOST_FLAGS) ; do \
7836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7837 done; \
7838 echo "Doing install-info in bison" ; \
7839 (cd $(HOST_SUBDIR)/bison && \
7840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7842 "RANLIB=$${RANLIB}" \
7843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7844 install-info) \
7845 || exit 1
7847 @endif bison
7849 .PHONY: maybe-install-pdf-bison install-pdf-bison
7850 maybe-install-pdf-bison:
7851 @if bison
7852 maybe-install-pdf-bison: install-pdf-bison
7854 install-pdf-bison: \
7855 configure-bison \
7856 pdf-bison
7857 @: $(MAKE); $(unstage)
7858 @[ -f ./bison/Makefile ] || exit 0; \
7859 r=`${PWD_COMMAND}`; export r; \
7860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7861 $(HOST_EXPORTS) \
7862 for flag in $(EXTRA_HOST_FLAGS) ; do \
7863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7864 done; \
7865 echo "Doing install-pdf in bison" ; \
7866 (cd $(HOST_SUBDIR)/bison && \
7867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7869 "RANLIB=$${RANLIB}" \
7870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7871 install-pdf) \
7872 || exit 1
7874 @endif bison
7876 .PHONY: maybe-install-html-bison install-html-bison
7877 maybe-install-html-bison:
7878 @if bison
7879 maybe-install-html-bison: install-html-bison
7881 install-html-bison: \
7882 configure-bison \
7883 html-bison
7884 @: $(MAKE); $(unstage)
7885 @[ -f ./bison/Makefile ] || exit 0; \
7886 r=`${PWD_COMMAND}`; export r; \
7887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7888 $(HOST_EXPORTS) \
7889 for flag in $(EXTRA_HOST_FLAGS) ; do \
7890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7891 done; \
7892 echo "Doing install-html in bison" ; \
7893 (cd $(HOST_SUBDIR)/bison && \
7894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7896 "RANLIB=$${RANLIB}" \
7897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7898 install-html) \
7899 || exit 1
7901 @endif bison
7903 .PHONY: maybe-installcheck-bison installcheck-bison
7904 maybe-installcheck-bison:
7905 @if bison
7906 maybe-installcheck-bison: installcheck-bison
7908 installcheck-bison: \
7909 configure-bison
7910 @: $(MAKE); $(unstage)
7911 @[ -f ./bison/Makefile ] || exit 0; \
7912 r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7914 $(HOST_EXPORTS) \
7915 for flag in $(EXTRA_HOST_FLAGS) ; do \
7916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7917 done; \
7918 echo "Doing installcheck in bison" ; \
7919 (cd $(HOST_SUBDIR)/bison && \
7920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7922 "RANLIB=$${RANLIB}" \
7923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7924 installcheck) \
7925 || exit 1
7927 @endif bison
7929 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7930 maybe-mostlyclean-bison:
7931 @if bison
7932 maybe-mostlyclean-bison: mostlyclean-bison
7934 mostlyclean-bison:
7935 @: $(MAKE); $(unstage)
7936 @[ -f ./bison/Makefile ] || exit 0; \
7937 r=`${PWD_COMMAND}`; export r; \
7938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7939 $(HOST_EXPORTS) \
7940 for flag in $(EXTRA_HOST_FLAGS) ; do \
7941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7942 done; \
7943 echo "Doing mostlyclean in bison" ; \
7944 (cd $(HOST_SUBDIR)/bison && \
7945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7947 "RANLIB=$${RANLIB}" \
7948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7949 mostlyclean) \
7950 || exit 1
7952 @endif bison
7954 .PHONY: maybe-clean-bison clean-bison
7955 maybe-clean-bison:
7956 @if bison
7957 maybe-clean-bison: clean-bison
7959 clean-bison:
7960 @: $(MAKE); $(unstage)
7961 @[ -f ./bison/Makefile ] || exit 0; \
7962 r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(HOST_EXPORTS) \
7965 for flag in $(EXTRA_HOST_FLAGS) ; do \
7966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7967 done; \
7968 echo "Doing clean in bison" ; \
7969 (cd $(HOST_SUBDIR)/bison && \
7970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7972 "RANLIB=$${RANLIB}" \
7973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7974 clean) \
7975 || exit 1
7977 @endif bison
7979 .PHONY: maybe-distclean-bison distclean-bison
7980 maybe-distclean-bison:
7981 @if bison
7982 maybe-distclean-bison: distclean-bison
7984 distclean-bison:
7985 @: $(MAKE); $(unstage)
7986 @[ -f ./bison/Makefile ] || exit 0; \
7987 r=`${PWD_COMMAND}`; export r; \
7988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7989 $(HOST_EXPORTS) \
7990 for flag in $(EXTRA_HOST_FLAGS) ; do \
7991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7992 done; \
7993 echo "Doing distclean in bison" ; \
7994 (cd $(HOST_SUBDIR)/bison && \
7995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7997 "RANLIB=$${RANLIB}" \
7998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7999 distclean) \
8000 || exit 1
8002 @endif bison
8004 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
8005 maybe-maintainer-clean-bison:
8006 @if bison
8007 maybe-maintainer-clean-bison: maintainer-clean-bison
8009 maintainer-clean-bison:
8010 @: $(MAKE); $(unstage)
8011 @[ -f ./bison/Makefile ] || exit 0; \
8012 r=`${PWD_COMMAND}`; export r; \
8013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8014 $(HOST_EXPORTS) \
8015 for flag in $(EXTRA_HOST_FLAGS) ; do \
8016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8017 done; \
8018 echo "Doing maintainer-clean in bison" ; \
8019 (cd $(HOST_SUBDIR)/bison && \
8020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8022 "RANLIB=$${RANLIB}" \
8023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8024 maintainer-clean) \
8025 || exit 1
8027 @endif bison
8031 .PHONY: configure-byacc maybe-configure-byacc
8032 maybe-configure-byacc:
8033 @if gcc-bootstrap
8034 configure-byacc: stage_current
8035 @endif gcc-bootstrap
8036 @if byacc
8037 maybe-configure-byacc: configure-byacc
8038 configure-byacc:
8039 @: $(MAKE); $(unstage)
8040 @r=`${PWD_COMMAND}`; export r; \
8041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8042 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
8043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
8044 $(HOST_EXPORTS) \
8045 echo Configuring in $(HOST_SUBDIR)/byacc; \
8046 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
8047 case $(srcdir) in \
8048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8049 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
8050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8051 esac; \
8052 srcdiroption="--srcdir=$${topdir}/byacc"; \
8053 libsrcdir="$$s/byacc"; \
8054 $(SHELL) $${libsrcdir}/configure \
8055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8056 --target=${target_alias} $${srcdiroption} \
8057 || exit 1
8058 @endif byacc
8064 .PHONY: all-byacc maybe-all-byacc
8065 maybe-all-byacc:
8066 @if gcc-bootstrap
8067 all-byacc: stage_current
8068 @endif gcc-bootstrap
8069 @if byacc
8070 TARGET-byacc=all
8071 maybe-all-byacc: all-byacc
8072 all-byacc: configure-byacc
8073 @: $(MAKE); $(unstage)
8074 @r=`${PWD_COMMAND}`; export r; \
8075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8076 $(HOST_EXPORTS) \
8077 (cd $(HOST_SUBDIR)/byacc && \
8078 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8079 $(TARGET-byacc))
8080 @endif byacc
8085 .PHONY: check-byacc maybe-check-byacc
8086 maybe-check-byacc:
8087 @if byacc
8088 maybe-check-byacc: check-byacc
8090 # This module is only tested in a native toolchain.
8091 check-byacc:
8092 @: $(MAKE); $(unstage)
8093 @if [ '$(host)' = '$(target)' ] ; then \
8094 r=`${PWD_COMMAND}`; export r; \
8095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8096 $(HOST_EXPORTS) \
8097 (cd $(HOST_SUBDIR)/byacc && \
8098 $(MAKE) $(FLAGS_TO_PASS) check); \
8101 @endif byacc
8103 .PHONY: install-byacc maybe-install-byacc
8104 maybe-install-byacc:
8105 @if byacc
8106 maybe-install-byacc: install-byacc
8108 install-byacc: installdirs
8109 @: $(MAKE); $(unstage)
8110 @r=`${PWD_COMMAND}`; export r; \
8111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8112 $(HOST_EXPORTS) \
8113 (cd $(HOST_SUBDIR)/byacc && \
8114 $(MAKE) $(FLAGS_TO_PASS) install)
8116 @endif byacc
8118 # Other targets (info, dvi, pdf, etc.)
8120 .PHONY: maybe-info-byacc info-byacc
8121 maybe-info-byacc:
8122 @if byacc
8123 maybe-info-byacc: info-byacc
8125 info-byacc: \
8126 configure-byacc
8127 @: $(MAKE); $(unstage)
8128 @[ -f ./byacc/Makefile ] || exit 0; \
8129 r=`${PWD_COMMAND}`; export r; \
8130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8131 $(HOST_EXPORTS) \
8132 for flag in $(EXTRA_HOST_FLAGS) ; do \
8133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8134 done; \
8135 echo "Doing info in byacc" ; \
8136 (cd $(HOST_SUBDIR)/byacc && \
8137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8139 "RANLIB=$${RANLIB}" \
8140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8141 info) \
8142 || exit 1
8144 @endif byacc
8146 .PHONY: maybe-dvi-byacc dvi-byacc
8147 maybe-dvi-byacc:
8148 @if byacc
8149 maybe-dvi-byacc: dvi-byacc
8151 dvi-byacc: \
8152 configure-byacc
8153 @: $(MAKE); $(unstage)
8154 @[ -f ./byacc/Makefile ] || exit 0; \
8155 r=`${PWD_COMMAND}`; export r; \
8156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8157 $(HOST_EXPORTS) \
8158 for flag in $(EXTRA_HOST_FLAGS) ; do \
8159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8160 done; \
8161 echo "Doing dvi in byacc" ; \
8162 (cd $(HOST_SUBDIR)/byacc && \
8163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8165 "RANLIB=$${RANLIB}" \
8166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8167 dvi) \
8168 || exit 1
8170 @endif byacc
8172 .PHONY: maybe-pdf-byacc pdf-byacc
8173 maybe-pdf-byacc:
8174 @if byacc
8175 maybe-pdf-byacc: pdf-byacc
8177 pdf-byacc: \
8178 configure-byacc
8179 @: $(MAKE); $(unstage)
8180 @[ -f ./byacc/Makefile ] || exit 0; \
8181 r=`${PWD_COMMAND}`; export r; \
8182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 $(HOST_EXPORTS) \
8184 for flag in $(EXTRA_HOST_FLAGS) ; do \
8185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8186 done; \
8187 echo "Doing pdf in byacc" ; \
8188 (cd $(HOST_SUBDIR)/byacc && \
8189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8191 "RANLIB=$${RANLIB}" \
8192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8193 pdf) \
8194 || exit 1
8196 @endif byacc
8198 .PHONY: maybe-html-byacc html-byacc
8199 maybe-html-byacc:
8200 @if byacc
8201 maybe-html-byacc: html-byacc
8203 html-byacc: \
8204 configure-byacc
8205 @: $(MAKE); $(unstage)
8206 @[ -f ./byacc/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 html in byacc" ; \
8214 (cd $(HOST_SUBDIR)/byacc && \
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 html) \
8220 || exit 1
8222 @endif byacc
8224 .PHONY: maybe-TAGS-byacc TAGS-byacc
8225 maybe-TAGS-byacc:
8226 @if byacc
8227 maybe-TAGS-byacc: TAGS-byacc
8229 TAGS-byacc: \
8230 configure-byacc
8231 @: $(MAKE); $(unstage)
8232 @[ -f ./byacc/Makefile ] || exit 0; \
8233 r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 $(HOST_EXPORTS) \
8236 for flag in $(EXTRA_HOST_FLAGS) ; do \
8237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8238 done; \
8239 echo "Doing TAGS in byacc" ; \
8240 (cd $(HOST_SUBDIR)/byacc && \
8241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8243 "RANLIB=$${RANLIB}" \
8244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8245 TAGS) \
8246 || exit 1
8248 @endif byacc
8250 .PHONY: maybe-install-info-byacc install-info-byacc
8251 maybe-install-info-byacc:
8252 @if byacc
8253 maybe-install-info-byacc: install-info-byacc
8255 install-info-byacc: \
8256 configure-byacc \
8257 info-byacc
8258 @: $(MAKE); $(unstage)
8259 @[ -f ./byacc/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(HOST_EXPORTS) \
8263 for flag in $(EXTRA_HOST_FLAGS) ; do \
8264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8265 done; \
8266 echo "Doing install-info in byacc" ; \
8267 (cd $(HOST_SUBDIR)/byacc && \
8268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8270 "RANLIB=$${RANLIB}" \
8271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8272 install-info) \
8273 || exit 1
8275 @endif byacc
8277 .PHONY: maybe-install-pdf-byacc install-pdf-byacc
8278 maybe-install-pdf-byacc:
8279 @if byacc
8280 maybe-install-pdf-byacc: install-pdf-byacc
8282 install-pdf-byacc: \
8283 configure-byacc \
8284 pdf-byacc
8285 @: $(MAKE); $(unstage)
8286 @[ -f ./byacc/Makefile ] || exit 0; \
8287 r=`${PWD_COMMAND}`; export r; \
8288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 $(HOST_EXPORTS) \
8290 for flag in $(EXTRA_HOST_FLAGS) ; do \
8291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8292 done; \
8293 echo "Doing install-pdf in byacc" ; \
8294 (cd $(HOST_SUBDIR)/byacc && \
8295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8297 "RANLIB=$${RANLIB}" \
8298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8299 install-pdf) \
8300 || exit 1
8302 @endif byacc
8304 .PHONY: maybe-install-html-byacc install-html-byacc
8305 maybe-install-html-byacc:
8306 @if byacc
8307 maybe-install-html-byacc: install-html-byacc
8309 install-html-byacc: \
8310 configure-byacc \
8311 html-byacc
8312 @: $(MAKE); $(unstage)
8313 @[ -f ./byacc/Makefile ] || exit 0; \
8314 r=`${PWD_COMMAND}`; export r; \
8315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 $(HOST_EXPORTS) \
8317 for flag in $(EXTRA_HOST_FLAGS) ; do \
8318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8319 done; \
8320 echo "Doing install-html in byacc" ; \
8321 (cd $(HOST_SUBDIR)/byacc && \
8322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8324 "RANLIB=$${RANLIB}" \
8325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8326 install-html) \
8327 || exit 1
8329 @endif byacc
8331 .PHONY: maybe-installcheck-byacc installcheck-byacc
8332 maybe-installcheck-byacc:
8333 @if byacc
8334 maybe-installcheck-byacc: installcheck-byacc
8336 installcheck-byacc: \
8337 configure-byacc
8338 @: $(MAKE); $(unstage)
8339 @[ -f ./byacc/Makefile ] || exit 0; \
8340 r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 $(HOST_EXPORTS) \
8343 for flag in $(EXTRA_HOST_FLAGS) ; do \
8344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8345 done; \
8346 echo "Doing installcheck in byacc" ; \
8347 (cd $(HOST_SUBDIR)/byacc && \
8348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8350 "RANLIB=$${RANLIB}" \
8351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8352 installcheck) \
8353 || exit 1
8355 @endif byacc
8357 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
8358 maybe-mostlyclean-byacc:
8359 @if byacc
8360 maybe-mostlyclean-byacc: mostlyclean-byacc
8362 mostlyclean-byacc:
8363 @: $(MAKE); $(unstage)
8364 @[ -f ./byacc/Makefile ] || exit 0; \
8365 r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8367 $(HOST_EXPORTS) \
8368 for flag in $(EXTRA_HOST_FLAGS) ; do \
8369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8370 done; \
8371 echo "Doing mostlyclean in byacc" ; \
8372 (cd $(HOST_SUBDIR)/byacc && \
8373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8375 "RANLIB=$${RANLIB}" \
8376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8377 mostlyclean) \
8378 || exit 1
8380 @endif byacc
8382 .PHONY: maybe-clean-byacc clean-byacc
8383 maybe-clean-byacc:
8384 @if byacc
8385 maybe-clean-byacc: clean-byacc
8387 clean-byacc:
8388 @: $(MAKE); $(unstage)
8389 @[ -f ./byacc/Makefile ] || exit 0; \
8390 r=`${PWD_COMMAND}`; export r; \
8391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8392 $(HOST_EXPORTS) \
8393 for flag in $(EXTRA_HOST_FLAGS) ; do \
8394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8395 done; \
8396 echo "Doing clean in byacc" ; \
8397 (cd $(HOST_SUBDIR)/byacc && \
8398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8400 "RANLIB=$${RANLIB}" \
8401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8402 clean) \
8403 || exit 1
8405 @endif byacc
8407 .PHONY: maybe-distclean-byacc distclean-byacc
8408 maybe-distclean-byacc:
8409 @if byacc
8410 maybe-distclean-byacc: distclean-byacc
8412 distclean-byacc:
8413 @: $(MAKE); $(unstage)
8414 @[ -f ./byacc/Makefile ] || exit 0; \
8415 r=`${PWD_COMMAND}`; export r; \
8416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417 $(HOST_EXPORTS) \
8418 for flag in $(EXTRA_HOST_FLAGS) ; do \
8419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8420 done; \
8421 echo "Doing distclean in byacc" ; \
8422 (cd $(HOST_SUBDIR)/byacc && \
8423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8425 "RANLIB=$${RANLIB}" \
8426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8427 distclean) \
8428 || exit 1
8430 @endif byacc
8432 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
8433 maybe-maintainer-clean-byacc:
8434 @if byacc
8435 maybe-maintainer-clean-byacc: maintainer-clean-byacc
8437 maintainer-clean-byacc:
8438 @: $(MAKE); $(unstage)
8439 @[ -f ./byacc/Makefile ] || exit 0; \
8440 r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 for flag in $(EXTRA_HOST_FLAGS) ; do \
8444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8445 done; \
8446 echo "Doing maintainer-clean in byacc" ; \
8447 (cd $(HOST_SUBDIR)/byacc && \
8448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8450 "RANLIB=$${RANLIB}" \
8451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8452 maintainer-clean) \
8453 || exit 1
8455 @endif byacc
8459 .PHONY: configure-bzip2 maybe-configure-bzip2
8460 maybe-configure-bzip2:
8461 @if gcc-bootstrap
8462 configure-bzip2: stage_current
8463 @endif gcc-bootstrap
8464 @if bzip2
8465 maybe-configure-bzip2: configure-bzip2
8466 configure-bzip2:
8467 @: $(MAKE); $(unstage)
8468 @r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
8471 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
8472 $(HOST_EXPORTS) \
8473 echo Configuring in $(HOST_SUBDIR)/bzip2; \
8474 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
8475 case $(srcdir) in \
8476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8477 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
8478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8479 esac; \
8480 srcdiroption="--srcdir=$${topdir}/bzip2"; \
8481 libsrcdir="$$s/bzip2"; \
8482 $(SHELL) $${libsrcdir}/configure \
8483 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8484 --target=${target_alias} $${srcdiroption} \
8485 || exit 1
8486 @endif bzip2
8492 .PHONY: all-bzip2 maybe-all-bzip2
8493 maybe-all-bzip2:
8494 @if gcc-bootstrap
8495 all-bzip2: stage_current
8496 @endif gcc-bootstrap
8497 @if bzip2
8498 TARGET-bzip2=all
8499 maybe-all-bzip2: all-bzip2
8500 all-bzip2: configure-bzip2
8501 @: $(MAKE); $(unstage)
8502 @r=`${PWD_COMMAND}`; export r; \
8503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8504 $(HOST_EXPORTS) \
8505 (cd $(HOST_SUBDIR)/bzip2 && \
8506 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8507 $(TARGET-bzip2))
8508 @endif bzip2
8513 .PHONY: check-bzip2 maybe-check-bzip2
8514 maybe-check-bzip2:
8515 @if bzip2
8516 maybe-check-bzip2: check-bzip2
8518 check-bzip2:
8519 @: $(MAKE); $(unstage)
8520 @r=`${PWD_COMMAND}`; export r; \
8521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8522 $(HOST_EXPORTS) \
8523 (cd $(HOST_SUBDIR)/bzip2 && \
8524 $(MAKE) $(FLAGS_TO_PASS) check)
8526 @endif bzip2
8528 .PHONY: install-bzip2 maybe-install-bzip2
8529 maybe-install-bzip2:
8530 @if bzip2
8531 maybe-install-bzip2: install-bzip2
8533 install-bzip2: installdirs
8534 @: $(MAKE); $(unstage)
8535 @r=`${PWD_COMMAND}`; export r; \
8536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8537 $(HOST_EXPORTS) \
8538 (cd $(HOST_SUBDIR)/bzip2 && \
8539 $(MAKE) $(FLAGS_TO_PASS) install)
8541 @endif bzip2
8543 # Other targets (info, dvi, pdf, etc.)
8545 .PHONY: maybe-info-bzip2 info-bzip2
8546 maybe-info-bzip2:
8547 @if bzip2
8548 maybe-info-bzip2: info-bzip2
8550 info-bzip2: \
8551 configure-bzip2
8552 @: $(MAKE); $(unstage)
8553 @[ -f ./bzip2/Makefile ] || exit 0; \
8554 r=`${PWD_COMMAND}`; export r; \
8555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8556 $(HOST_EXPORTS) \
8557 for flag in $(EXTRA_HOST_FLAGS) ; do \
8558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8559 done; \
8560 echo "Doing info in bzip2" ; \
8561 (cd $(HOST_SUBDIR)/bzip2 && \
8562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8564 "RANLIB=$${RANLIB}" \
8565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8566 info) \
8567 || exit 1
8569 @endif bzip2
8571 .PHONY: maybe-dvi-bzip2 dvi-bzip2
8572 maybe-dvi-bzip2:
8573 @if bzip2
8574 maybe-dvi-bzip2: dvi-bzip2
8576 dvi-bzip2: \
8577 configure-bzip2
8578 @: $(MAKE); $(unstage)
8579 @[ -f ./bzip2/Makefile ] || exit 0; \
8580 r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(HOST_EXPORTS) \
8583 for flag in $(EXTRA_HOST_FLAGS) ; do \
8584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8585 done; \
8586 echo "Doing dvi in bzip2" ; \
8587 (cd $(HOST_SUBDIR)/bzip2 && \
8588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8590 "RANLIB=$${RANLIB}" \
8591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8592 dvi) \
8593 || exit 1
8595 @endif bzip2
8597 .PHONY: maybe-pdf-bzip2 pdf-bzip2
8598 maybe-pdf-bzip2:
8599 @if bzip2
8600 maybe-pdf-bzip2: pdf-bzip2
8602 pdf-bzip2: \
8603 configure-bzip2
8604 @: $(MAKE); $(unstage)
8605 @[ -f ./bzip2/Makefile ] || exit 0; \
8606 r=`${PWD_COMMAND}`; export r; \
8607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8608 $(HOST_EXPORTS) \
8609 for flag in $(EXTRA_HOST_FLAGS) ; do \
8610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8611 done; \
8612 echo "Doing pdf in bzip2" ; \
8613 (cd $(HOST_SUBDIR)/bzip2 && \
8614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8616 "RANLIB=$${RANLIB}" \
8617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8618 pdf) \
8619 || exit 1
8621 @endif bzip2
8623 .PHONY: maybe-html-bzip2 html-bzip2
8624 maybe-html-bzip2:
8625 @if bzip2
8626 maybe-html-bzip2: html-bzip2
8628 html-bzip2: \
8629 configure-bzip2
8630 @: $(MAKE); $(unstage)
8631 @[ -f ./bzip2/Makefile ] || exit 0; \
8632 r=`${PWD_COMMAND}`; export r; \
8633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8634 $(HOST_EXPORTS) \
8635 for flag in $(EXTRA_HOST_FLAGS) ; do \
8636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8637 done; \
8638 echo "Doing html in bzip2" ; \
8639 (cd $(HOST_SUBDIR)/bzip2 && \
8640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8642 "RANLIB=$${RANLIB}" \
8643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8644 html) \
8645 || exit 1
8647 @endif bzip2
8649 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
8650 maybe-TAGS-bzip2:
8651 @if bzip2
8652 maybe-TAGS-bzip2: TAGS-bzip2
8654 TAGS-bzip2: \
8655 configure-bzip2
8656 @: $(MAKE); $(unstage)
8657 @[ -f ./bzip2/Makefile ] || exit 0; \
8658 r=`${PWD_COMMAND}`; export r; \
8659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8660 $(HOST_EXPORTS) \
8661 for flag in $(EXTRA_HOST_FLAGS) ; do \
8662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8663 done; \
8664 echo "Doing TAGS in bzip2" ; \
8665 (cd $(HOST_SUBDIR)/bzip2 && \
8666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8668 "RANLIB=$${RANLIB}" \
8669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8670 TAGS) \
8671 || exit 1
8673 @endif bzip2
8675 .PHONY: maybe-install-info-bzip2 install-info-bzip2
8676 maybe-install-info-bzip2:
8677 @if bzip2
8678 maybe-install-info-bzip2: install-info-bzip2
8680 install-info-bzip2: \
8681 configure-bzip2 \
8682 info-bzip2
8683 @: $(MAKE); $(unstage)
8684 @[ -f ./bzip2/Makefile ] || exit 0; \
8685 r=`${PWD_COMMAND}`; export r; \
8686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8687 $(HOST_EXPORTS) \
8688 for flag in $(EXTRA_HOST_FLAGS) ; do \
8689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8690 done; \
8691 echo "Doing install-info in bzip2" ; \
8692 (cd $(HOST_SUBDIR)/bzip2 && \
8693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8695 "RANLIB=$${RANLIB}" \
8696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8697 install-info) \
8698 || exit 1
8700 @endif bzip2
8702 .PHONY: maybe-install-pdf-bzip2 install-pdf-bzip2
8703 maybe-install-pdf-bzip2:
8704 @if bzip2
8705 maybe-install-pdf-bzip2: install-pdf-bzip2
8707 install-pdf-bzip2: \
8708 configure-bzip2 \
8709 pdf-bzip2
8710 @: $(MAKE); $(unstage)
8711 @[ -f ./bzip2/Makefile ] || exit 0; \
8712 r=`${PWD_COMMAND}`; export r; \
8713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8714 $(HOST_EXPORTS) \
8715 for flag in $(EXTRA_HOST_FLAGS) ; do \
8716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8717 done; \
8718 echo "Doing install-pdf in bzip2" ; \
8719 (cd $(HOST_SUBDIR)/bzip2 && \
8720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8722 "RANLIB=$${RANLIB}" \
8723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8724 install-pdf) \
8725 || exit 1
8727 @endif bzip2
8729 .PHONY: maybe-install-html-bzip2 install-html-bzip2
8730 maybe-install-html-bzip2:
8731 @if bzip2
8732 maybe-install-html-bzip2: install-html-bzip2
8734 install-html-bzip2: \
8735 configure-bzip2 \
8736 html-bzip2
8737 @: $(MAKE); $(unstage)
8738 @[ -f ./bzip2/Makefile ] || exit 0; \
8739 r=`${PWD_COMMAND}`; export r; \
8740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8741 $(HOST_EXPORTS) \
8742 for flag in $(EXTRA_HOST_FLAGS) ; do \
8743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8744 done; \
8745 echo "Doing install-html in bzip2" ; \
8746 (cd $(HOST_SUBDIR)/bzip2 && \
8747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8749 "RANLIB=$${RANLIB}" \
8750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8751 install-html) \
8752 || exit 1
8754 @endif bzip2
8756 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8757 maybe-installcheck-bzip2:
8758 @if bzip2
8759 maybe-installcheck-bzip2: installcheck-bzip2
8761 installcheck-bzip2: \
8762 configure-bzip2
8763 @: $(MAKE); $(unstage)
8764 @[ -f ./bzip2/Makefile ] || exit 0; \
8765 r=`${PWD_COMMAND}`; export r; \
8766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8767 $(HOST_EXPORTS) \
8768 for flag in $(EXTRA_HOST_FLAGS) ; do \
8769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8770 done; \
8771 echo "Doing installcheck in bzip2" ; \
8772 (cd $(HOST_SUBDIR)/bzip2 && \
8773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8775 "RANLIB=$${RANLIB}" \
8776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8777 installcheck) \
8778 || exit 1
8780 @endif bzip2
8782 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
8783 maybe-mostlyclean-bzip2:
8784 @if bzip2
8785 maybe-mostlyclean-bzip2: mostlyclean-bzip2
8787 mostlyclean-bzip2:
8788 @: $(MAKE); $(unstage)
8789 @[ -f ./bzip2/Makefile ] || exit 0; \
8790 r=`${PWD_COMMAND}`; export r; \
8791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8792 $(HOST_EXPORTS) \
8793 for flag in $(EXTRA_HOST_FLAGS) ; do \
8794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8795 done; \
8796 echo "Doing mostlyclean in bzip2" ; \
8797 (cd $(HOST_SUBDIR)/bzip2 && \
8798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8800 "RANLIB=$${RANLIB}" \
8801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8802 mostlyclean) \
8803 || exit 1
8805 @endif bzip2
8807 .PHONY: maybe-clean-bzip2 clean-bzip2
8808 maybe-clean-bzip2:
8809 @if bzip2
8810 maybe-clean-bzip2: clean-bzip2
8812 clean-bzip2:
8813 @: $(MAKE); $(unstage)
8814 @[ -f ./bzip2/Makefile ] || exit 0; \
8815 r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8817 $(HOST_EXPORTS) \
8818 for flag in $(EXTRA_HOST_FLAGS) ; do \
8819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8820 done; \
8821 echo "Doing clean in bzip2" ; \
8822 (cd $(HOST_SUBDIR)/bzip2 && \
8823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8825 "RANLIB=$${RANLIB}" \
8826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8827 clean) \
8828 || exit 1
8830 @endif bzip2
8832 .PHONY: maybe-distclean-bzip2 distclean-bzip2
8833 maybe-distclean-bzip2:
8834 @if bzip2
8835 maybe-distclean-bzip2: distclean-bzip2
8837 distclean-bzip2:
8838 @: $(MAKE); $(unstage)
8839 @[ -f ./bzip2/Makefile ] || exit 0; \
8840 r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842 $(HOST_EXPORTS) \
8843 for flag in $(EXTRA_HOST_FLAGS) ; do \
8844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8845 done; \
8846 echo "Doing distclean in bzip2" ; \
8847 (cd $(HOST_SUBDIR)/bzip2 && \
8848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8850 "RANLIB=$${RANLIB}" \
8851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8852 distclean) \
8853 || exit 1
8855 @endif bzip2
8857 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
8858 maybe-maintainer-clean-bzip2:
8859 @if bzip2
8860 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
8862 maintainer-clean-bzip2:
8863 @: $(MAKE); $(unstage)
8864 @[ -f ./bzip2/Makefile ] || exit 0; \
8865 r=`${PWD_COMMAND}`; export r; \
8866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8867 $(HOST_EXPORTS) \
8868 for flag in $(EXTRA_HOST_FLAGS) ; do \
8869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8870 done; \
8871 echo "Doing maintainer-clean in bzip2" ; \
8872 (cd $(HOST_SUBDIR)/bzip2 && \
8873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8875 "RANLIB=$${RANLIB}" \
8876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8877 maintainer-clean) \
8878 || exit 1
8880 @endif bzip2
8884 .PHONY: configure-cgen maybe-configure-cgen
8885 maybe-configure-cgen:
8886 @if gcc-bootstrap
8887 configure-cgen: stage_current
8888 @endif gcc-bootstrap
8889 @if cgen
8890 maybe-configure-cgen: configure-cgen
8891 configure-cgen:
8892 @: $(MAKE); $(unstage)
8893 @r=`${PWD_COMMAND}`; export r; \
8894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8895 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
8896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
8897 $(HOST_EXPORTS) \
8898 echo Configuring in $(HOST_SUBDIR)/cgen; \
8899 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
8900 case $(srcdir) in \
8901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8902 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
8903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8904 esac; \
8905 srcdiroption="--srcdir=$${topdir}/cgen"; \
8906 libsrcdir="$$s/cgen"; \
8907 $(SHELL) $${libsrcdir}/configure \
8908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8909 --target=${target_alias} $${srcdiroption} \
8910 || exit 1
8911 @endif cgen
8917 .PHONY: all-cgen maybe-all-cgen
8918 maybe-all-cgen:
8919 @if gcc-bootstrap
8920 all-cgen: stage_current
8921 @endif gcc-bootstrap
8922 @if cgen
8923 TARGET-cgen=all
8924 maybe-all-cgen: all-cgen
8925 all-cgen: configure-cgen
8926 @: $(MAKE); $(unstage)
8927 @r=`${PWD_COMMAND}`; export r; \
8928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8929 $(HOST_EXPORTS) \
8930 (cd $(HOST_SUBDIR)/cgen && \
8931 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8932 $(TARGET-cgen))
8933 @endif cgen
8938 .PHONY: check-cgen maybe-check-cgen
8939 maybe-check-cgen:
8940 @if cgen
8941 maybe-check-cgen: check-cgen
8943 check-cgen:
8944 @: $(MAKE); $(unstage)
8945 @r=`${PWD_COMMAND}`; export r; \
8946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8947 $(HOST_EXPORTS) \
8948 (cd $(HOST_SUBDIR)/cgen && \
8949 $(MAKE) $(FLAGS_TO_PASS) check)
8951 @endif cgen
8953 .PHONY: install-cgen maybe-install-cgen
8954 maybe-install-cgen:
8955 @if cgen
8956 maybe-install-cgen: install-cgen
8958 install-cgen: installdirs
8959 @: $(MAKE); $(unstage)
8960 @r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 $(HOST_EXPORTS) \
8963 (cd $(HOST_SUBDIR)/cgen && \
8964 $(MAKE) $(FLAGS_TO_PASS) install)
8966 @endif cgen
8968 # Other targets (info, dvi, pdf, etc.)
8970 .PHONY: maybe-info-cgen info-cgen
8971 maybe-info-cgen:
8972 @if cgen
8973 maybe-info-cgen: info-cgen
8975 info-cgen: \
8976 configure-cgen
8977 @: $(MAKE); $(unstage)
8978 @[ -f ./cgen/Makefile ] || exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(HOST_EXPORTS) \
8982 for flag in $(EXTRA_HOST_FLAGS) ; do \
8983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8984 done; \
8985 echo "Doing info in cgen" ; \
8986 (cd $(HOST_SUBDIR)/cgen && \
8987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8989 "RANLIB=$${RANLIB}" \
8990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8991 info) \
8992 || exit 1
8994 @endif cgen
8996 .PHONY: maybe-dvi-cgen dvi-cgen
8997 maybe-dvi-cgen:
8998 @if cgen
8999 maybe-dvi-cgen: dvi-cgen
9001 dvi-cgen: \
9002 configure-cgen
9003 @: $(MAKE); $(unstage)
9004 @[ -f ./cgen/Makefile ] || exit 0; \
9005 r=`${PWD_COMMAND}`; export r; \
9006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9007 $(HOST_EXPORTS) \
9008 for flag in $(EXTRA_HOST_FLAGS) ; do \
9009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9010 done; \
9011 echo "Doing dvi in cgen" ; \
9012 (cd $(HOST_SUBDIR)/cgen && \
9013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9015 "RANLIB=$${RANLIB}" \
9016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9017 dvi) \
9018 || exit 1
9020 @endif cgen
9022 .PHONY: maybe-pdf-cgen pdf-cgen
9023 maybe-pdf-cgen:
9024 @if cgen
9025 maybe-pdf-cgen: pdf-cgen
9027 pdf-cgen: \
9028 configure-cgen
9029 @: $(MAKE); $(unstage)
9030 @[ -f ./cgen/Makefile ] || exit 0; \
9031 r=`${PWD_COMMAND}`; export r; \
9032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9033 $(HOST_EXPORTS) \
9034 for flag in $(EXTRA_HOST_FLAGS) ; do \
9035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9036 done; \
9037 echo "Doing pdf in cgen" ; \
9038 (cd $(HOST_SUBDIR)/cgen && \
9039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9041 "RANLIB=$${RANLIB}" \
9042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9043 pdf) \
9044 || exit 1
9046 @endif cgen
9048 .PHONY: maybe-html-cgen html-cgen
9049 maybe-html-cgen:
9050 @if cgen
9051 maybe-html-cgen: html-cgen
9053 html-cgen: \
9054 configure-cgen
9055 @: $(MAKE); $(unstage)
9056 @[ -f ./cgen/Makefile ] || exit 0; \
9057 r=`${PWD_COMMAND}`; export r; \
9058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9059 $(HOST_EXPORTS) \
9060 for flag in $(EXTRA_HOST_FLAGS) ; do \
9061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9062 done; \
9063 echo "Doing html in cgen" ; \
9064 (cd $(HOST_SUBDIR)/cgen && \
9065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9067 "RANLIB=$${RANLIB}" \
9068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9069 html) \
9070 || exit 1
9072 @endif cgen
9074 .PHONY: maybe-TAGS-cgen TAGS-cgen
9075 maybe-TAGS-cgen:
9076 @if cgen
9077 maybe-TAGS-cgen: TAGS-cgen
9079 TAGS-cgen: \
9080 configure-cgen
9081 @: $(MAKE); $(unstage)
9082 @[ -f ./cgen/Makefile ] || exit 0; \
9083 r=`${PWD_COMMAND}`; export r; \
9084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9085 $(HOST_EXPORTS) \
9086 for flag in $(EXTRA_HOST_FLAGS) ; do \
9087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9088 done; \
9089 echo "Doing TAGS in cgen" ; \
9090 (cd $(HOST_SUBDIR)/cgen && \
9091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9093 "RANLIB=$${RANLIB}" \
9094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9095 TAGS) \
9096 || exit 1
9098 @endif cgen
9100 .PHONY: maybe-install-info-cgen install-info-cgen
9101 maybe-install-info-cgen:
9102 @if cgen
9103 maybe-install-info-cgen: install-info-cgen
9105 install-info-cgen: \
9106 configure-cgen \
9107 info-cgen
9108 @: $(MAKE); $(unstage)
9109 @[ -f ./cgen/Makefile ] || exit 0; \
9110 r=`${PWD_COMMAND}`; export r; \
9111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9112 $(HOST_EXPORTS) \
9113 for flag in $(EXTRA_HOST_FLAGS) ; do \
9114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9115 done; \
9116 echo "Doing install-info in cgen" ; \
9117 (cd $(HOST_SUBDIR)/cgen && \
9118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9120 "RANLIB=$${RANLIB}" \
9121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9122 install-info) \
9123 || exit 1
9125 @endif cgen
9127 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
9128 maybe-install-pdf-cgen:
9129 @if cgen
9130 maybe-install-pdf-cgen: install-pdf-cgen
9132 install-pdf-cgen: \
9133 configure-cgen \
9134 pdf-cgen
9135 @: $(MAKE); $(unstage)
9136 @[ -f ./cgen/Makefile ] || exit 0; \
9137 r=`${PWD_COMMAND}`; export r; \
9138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9139 $(HOST_EXPORTS) \
9140 for flag in $(EXTRA_HOST_FLAGS) ; do \
9141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9142 done; \
9143 echo "Doing install-pdf in cgen" ; \
9144 (cd $(HOST_SUBDIR)/cgen && \
9145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9147 "RANLIB=$${RANLIB}" \
9148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9149 install-pdf) \
9150 || exit 1
9152 @endif cgen
9154 .PHONY: maybe-install-html-cgen install-html-cgen
9155 maybe-install-html-cgen:
9156 @if cgen
9157 maybe-install-html-cgen: install-html-cgen
9159 install-html-cgen: \
9160 configure-cgen \
9161 html-cgen
9162 @: $(MAKE); $(unstage)
9163 @[ -f ./cgen/Makefile ] || exit 0; \
9164 r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 for flag in $(EXTRA_HOST_FLAGS) ; do \
9168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9169 done; \
9170 echo "Doing install-html in cgen" ; \
9171 (cd $(HOST_SUBDIR)/cgen && \
9172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9174 "RANLIB=$${RANLIB}" \
9175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9176 install-html) \
9177 || exit 1
9179 @endif cgen
9181 .PHONY: maybe-installcheck-cgen installcheck-cgen
9182 maybe-installcheck-cgen:
9183 @if cgen
9184 maybe-installcheck-cgen: installcheck-cgen
9186 installcheck-cgen: \
9187 configure-cgen
9188 @: $(MAKE); $(unstage)
9189 @[ -f ./cgen/Makefile ] || exit 0; \
9190 r=`${PWD_COMMAND}`; export r; \
9191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9192 $(HOST_EXPORTS) \
9193 for flag in $(EXTRA_HOST_FLAGS) ; do \
9194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9195 done; \
9196 echo "Doing installcheck in cgen" ; \
9197 (cd $(HOST_SUBDIR)/cgen && \
9198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9200 "RANLIB=$${RANLIB}" \
9201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9202 installcheck) \
9203 || exit 1
9205 @endif cgen
9207 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
9208 maybe-mostlyclean-cgen:
9209 @if cgen
9210 maybe-mostlyclean-cgen: mostlyclean-cgen
9212 mostlyclean-cgen:
9213 @: $(MAKE); $(unstage)
9214 @[ -f ./cgen/Makefile ] || exit 0; \
9215 r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217 $(HOST_EXPORTS) \
9218 for flag in $(EXTRA_HOST_FLAGS) ; do \
9219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9220 done; \
9221 echo "Doing mostlyclean in cgen" ; \
9222 (cd $(HOST_SUBDIR)/cgen && \
9223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9225 "RANLIB=$${RANLIB}" \
9226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9227 mostlyclean) \
9228 || exit 1
9230 @endif cgen
9232 .PHONY: maybe-clean-cgen clean-cgen
9233 maybe-clean-cgen:
9234 @if cgen
9235 maybe-clean-cgen: clean-cgen
9237 clean-cgen:
9238 @: $(MAKE); $(unstage)
9239 @[ -f ./cgen/Makefile ] || exit 0; \
9240 r=`${PWD_COMMAND}`; export r; \
9241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9242 $(HOST_EXPORTS) \
9243 for flag in $(EXTRA_HOST_FLAGS) ; do \
9244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9245 done; \
9246 echo "Doing clean in cgen" ; \
9247 (cd $(HOST_SUBDIR)/cgen && \
9248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9250 "RANLIB=$${RANLIB}" \
9251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9252 clean) \
9253 || exit 1
9255 @endif cgen
9257 .PHONY: maybe-distclean-cgen distclean-cgen
9258 maybe-distclean-cgen:
9259 @if cgen
9260 maybe-distclean-cgen: distclean-cgen
9262 distclean-cgen:
9263 @: $(MAKE); $(unstage)
9264 @[ -f ./cgen/Makefile ] || exit 0; \
9265 r=`${PWD_COMMAND}`; export r; \
9266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9267 $(HOST_EXPORTS) \
9268 for flag in $(EXTRA_HOST_FLAGS) ; do \
9269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9270 done; \
9271 echo "Doing distclean in cgen" ; \
9272 (cd $(HOST_SUBDIR)/cgen && \
9273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9275 "RANLIB=$${RANLIB}" \
9276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9277 distclean) \
9278 || exit 1
9280 @endif cgen
9282 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
9283 maybe-maintainer-clean-cgen:
9284 @if cgen
9285 maybe-maintainer-clean-cgen: maintainer-clean-cgen
9287 maintainer-clean-cgen:
9288 @: $(MAKE); $(unstage)
9289 @[ -f ./cgen/Makefile ] || exit 0; \
9290 r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9292 $(HOST_EXPORTS) \
9293 for flag in $(EXTRA_HOST_FLAGS) ; do \
9294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9295 done; \
9296 echo "Doing maintainer-clean in cgen" ; \
9297 (cd $(HOST_SUBDIR)/cgen && \
9298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9300 "RANLIB=$${RANLIB}" \
9301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9302 maintainer-clean) \
9303 || exit 1
9305 @endif cgen
9309 .PHONY: configure-dejagnu maybe-configure-dejagnu
9310 maybe-configure-dejagnu:
9311 @if gcc-bootstrap
9312 configure-dejagnu: stage_current
9313 @endif gcc-bootstrap
9314 @if dejagnu
9315 maybe-configure-dejagnu: configure-dejagnu
9316 configure-dejagnu:
9317 @: $(MAKE); $(unstage)
9318 @r=`${PWD_COMMAND}`; export r; \
9319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9320 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
9321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
9322 $(HOST_EXPORTS) \
9323 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
9324 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
9325 case $(srcdir) in \
9326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9327 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
9328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9329 esac; \
9330 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
9331 libsrcdir="$$s/dejagnu"; \
9332 $(SHELL) $${libsrcdir}/configure \
9333 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9334 --target=${target_alias} $${srcdiroption} \
9335 || exit 1
9336 @endif dejagnu
9342 .PHONY: all-dejagnu maybe-all-dejagnu
9343 maybe-all-dejagnu:
9344 @if gcc-bootstrap
9345 all-dejagnu: stage_current
9346 @endif gcc-bootstrap
9347 @if dejagnu
9348 TARGET-dejagnu=all
9349 maybe-all-dejagnu: all-dejagnu
9350 all-dejagnu: configure-dejagnu
9351 @: $(MAKE); $(unstage)
9352 @r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(HOST_EXPORTS) \
9355 (cd $(HOST_SUBDIR)/dejagnu && \
9356 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9357 $(TARGET-dejagnu))
9358 @endif dejagnu
9363 .PHONY: check-dejagnu maybe-check-dejagnu
9364 maybe-check-dejagnu:
9365 @if dejagnu
9366 maybe-check-dejagnu: check-dejagnu
9368 check-dejagnu:
9369 @: $(MAKE); $(unstage)
9370 @r=`${PWD_COMMAND}`; export r; \
9371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9372 $(HOST_EXPORTS) \
9373 (cd $(HOST_SUBDIR)/dejagnu && \
9374 $(MAKE) $(FLAGS_TO_PASS) check)
9376 @endif dejagnu
9378 .PHONY: install-dejagnu maybe-install-dejagnu
9379 maybe-install-dejagnu:
9380 @if dejagnu
9381 maybe-install-dejagnu: install-dejagnu
9383 install-dejagnu: installdirs
9384 @: $(MAKE); $(unstage)
9385 @r=`${PWD_COMMAND}`; export r; \
9386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 $(HOST_EXPORTS) \
9388 (cd $(HOST_SUBDIR)/dejagnu && \
9389 $(MAKE) $(FLAGS_TO_PASS) install)
9391 @endif dejagnu
9393 # Other targets (info, dvi, pdf, etc.)
9395 .PHONY: maybe-info-dejagnu info-dejagnu
9396 maybe-info-dejagnu:
9397 @if dejagnu
9398 maybe-info-dejagnu: info-dejagnu
9400 info-dejagnu: \
9401 configure-dejagnu
9402 @: $(MAKE); $(unstage)
9403 @[ -f ./dejagnu/Makefile ] || exit 0; \
9404 r=`${PWD_COMMAND}`; export r; \
9405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9406 $(HOST_EXPORTS) \
9407 for flag in $(EXTRA_HOST_FLAGS) ; do \
9408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9409 done; \
9410 echo "Doing info in dejagnu" ; \
9411 (cd $(HOST_SUBDIR)/dejagnu && \
9412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9414 "RANLIB=$${RANLIB}" \
9415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9416 info) \
9417 || exit 1
9419 @endif dejagnu
9421 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
9422 maybe-dvi-dejagnu:
9423 @if dejagnu
9424 maybe-dvi-dejagnu: dvi-dejagnu
9426 dvi-dejagnu: \
9427 configure-dejagnu
9428 @: $(MAKE); $(unstage)
9429 @[ -f ./dejagnu/Makefile ] || exit 0; \
9430 r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9432 $(HOST_EXPORTS) \
9433 for flag in $(EXTRA_HOST_FLAGS) ; do \
9434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9435 done; \
9436 echo "Doing dvi in dejagnu" ; \
9437 (cd $(HOST_SUBDIR)/dejagnu && \
9438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9440 "RANLIB=$${RANLIB}" \
9441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9442 dvi) \
9443 || exit 1
9445 @endif dejagnu
9447 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
9448 maybe-pdf-dejagnu:
9449 @if dejagnu
9450 maybe-pdf-dejagnu: pdf-dejagnu
9452 pdf-dejagnu: \
9453 configure-dejagnu
9454 @: $(MAKE); $(unstage)
9455 @[ -f ./dejagnu/Makefile ] || exit 0; \
9456 r=`${PWD_COMMAND}`; export r; \
9457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9458 $(HOST_EXPORTS) \
9459 for flag in $(EXTRA_HOST_FLAGS) ; do \
9460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9461 done; \
9462 echo "Doing pdf in dejagnu" ; \
9463 (cd $(HOST_SUBDIR)/dejagnu && \
9464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9466 "RANLIB=$${RANLIB}" \
9467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9468 pdf) \
9469 || exit 1
9471 @endif dejagnu
9473 .PHONY: maybe-html-dejagnu html-dejagnu
9474 maybe-html-dejagnu:
9475 @if dejagnu
9476 maybe-html-dejagnu: html-dejagnu
9478 html-dejagnu: \
9479 configure-dejagnu
9480 @: $(MAKE); $(unstage)
9481 @[ -f ./dejagnu/Makefile ] || exit 0; \
9482 r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(HOST_EXPORTS) \
9485 for flag in $(EXTRA_HOST_FLAGS) ; do \
9486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9487 done; \
9488 echo "Doing html in dejagnu" ; \
9489 (cd $(HOST_SUBDIR)/dejagnu && \
9490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9492 "RANLIB=$${RANLIB}" \
9493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9494 html) \
9495 || exit 1
9497 @endif dejagnu
9499 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
9500 maybe-TAGS-dejagnu:
9501 @if dejagnu
9502 maybe-TAGS-dejagnu: TAGS-dejagnu
9504 TAGS-dejagnu: \
9505 configure-dejagnu
9506 @: $(MAKE); $(unstage)
9507 @[ -f ./dejagnu/Makefile ] || exit 0; \
9508 r=`${PWD_COMMAND}`; export r; \
9509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9510 $(HOST_EXPORTS) \
9511 for flag in $(EXTRA_HOST_FLAGS) ; do \
9512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9513 done; \
9514 echo "Doing TAGS in dejagnu" ; \
9515 (cd $(HOST_SUBDIR)/dejagnu && \
9516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9518 "RANLIB=$${RANLIB}" \
9519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9520 TAGS) \
9521 || exit 1
9523 @endif dejagnu
9525 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
9526 maybe-install-info-dejagnu:
9527 @if dejagnu
9528 maybe-install-info-dejagnu: install-info-dejagnu
9530 install-info-dejagnu: \
9531 configure-dejagnu \
9532 info-dejagnu
9533 @: $(MAKE); $(unstage)
9534 @[ -f ./dejagnu/Makefile ] || exit 0; \
9535 r=`${PWD_COMMAND}`; export r; \
9536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9537 $(HOST_EXPORTS) \
9538 for flag in $(EXTRA_HOST_FLAGS) ; do \
9539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9540 done; \
9541 echo "Doing install-info in dejagnu" ; \
9542 (cd $(HOST_SUBDIR)/dejagnu && \
9543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9545 "RANLIB=$${RANLIB}" \
9546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9547 install-info) \
9548 || exit 1
9550 @endif dejagnu
9552 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
9553 maybe-install-pdf-dejagnu:
9554 @if dejagnu
9555 maybe-install-pdf-dejagnu: install-pdf-dejagnu
9557 install-pdf-dejagnu: \
9558 configure-dejagnu \
9559 pdf-dejagnu
9560 @: $(MAKE); $(unstage)
9561 @[ -f ./dejagnu/Makefile ] || exit 0; \
9562 r=`${PWD_COMMAND}`; export r; \
9563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9564 $(HOST_EXPORTS) \
9565 for flag in $(EXTRA_HOST_FLAGS) ; do \
9566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9567 done; \
9568 echo "Doing install-pdf in dejagnu" ; \
9569 (cd $(HOST_SUBDIR)/dejagnu && \
9570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9572 "RANLIB=$${RANLIB}" \
9573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9574 install-pdf) \
9575 || exit 1
9577 @endif dejagnu
9579 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
9580 maybe-install-html-dejagnu:
9581 @if dejagnu
9582 maybe-install-html-dejagnu: install-html-dejagnu
9584 install-html-dejagnu: \
9585 configure-dejagnu \
9586 html-dejagnu
9587 @: $(MAKE); $(unstage)
9588 @[ -f ./dejagnu/Makefile ] || exit 0; \
9589 r=`${PWD_COMMAND}`; export r; \
9590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9591 $(HOST_EXPORTS) \
9592 for flag in $(EXTRA_HOST_FLAGS) ; do \
9593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9594 done; \
9595 echo "Doing install-html in dejagnu" ; \
9596 (cd $(HOST_SUBDIR)/dejagnu && \
9597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9599 "RANLIB=$${RANLIB}" \
9600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9601 install-html) \
9602 || exit 1
9604 @endif dejagnu
9606 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
9607 maybe-installcheck-dejagnu:
9608 @if dejagnu
9609 maybe-installcheck-dejagnu: installcheck-dejagnu
9611 installcheck-dejagnu: \
9612 configure-dejagnu
9613 @: $(MAKE); $(unstage)
9614 @[ -f ./dejagnu/Makefile ] || exit 0; \
9615 r=`${PWD_COMMAND}`; export r; \
9616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 $(HOST_EXPORTS) \
9618 for flag in $(EXTRA_HOST_FLAGS) ; do \
9619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9620 done; \
9621 echo "Doing installcheck in dejagnu" ; \
9622 (cd $(HOST_SUBDIR)/dejagnu && \
9623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9625 "RANLIB=$${RANLIB}" \
9626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9627 installcheck) \
9628 || exit 1
9630 @endif dejagnu
9632 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
9633 maybe-mostlyclean-dejagnu:
9634 @if dejagnu
9635 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
9637 mostlyclean-dejagnu:
9638 @: $(MAKE); $(unstage)
9639 @[ -f ./dejagnu/Makefile ] || exit 0; \
9640 r=`${PWD_COMMAND}`; export r; \
9641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9642 $(HOST_EXPORTS) \
9643 for flag in $(EXTRA_HOST_FLAGS) ; do \
9644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9645 done; \
9646 echo "Doing mostlyclean in dejagnu" ; \
9647 (cd $(HOST_SUBDIR)/dejagnu && \
9648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9650 "RANLIB=$${RANLIB}" \
9651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9652 mostlyclean) \
9653 || exit 1
9655 @endif dejagnu
9657 .PHONY: maybe-clean-dejagnu clean-dejagnu
9658 maybe-clean-dejagnu:
9659 @if dejagnu
9660 maybe-clean-dejagnu: clean-dejagnu
9662 clean-dejagnu:
9663 @: $(MAKE); $(unstage)
9664 @[ -f ./dejagnu/Makefile ] || exit 0; \
9665 r=`${PWD_COMMAND}`; export r; \
9666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9667 $(HOST_EXPORTS) \
9668 for flag in $(EXTRA_HOST_FLAGS) ; do \
9669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9670 done; \
9671 echo "Doing clean in dejagnu" ; \
9672 (cd $(HOST_SUBDIR)/dejagnu && \
9673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9675 "RANLIB=$${RANLIB}" \
9676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9677 clean) \
9678 || exit 1
9680 @endif dejagnu
9682 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
9683 maybe-distclean-dejagnu:
9684 @if dejagnu
9685 maybe-distclean-dejagnu: distclean-dejagnu
9687 distclean-dejagnu:
9688 @: $(MAKE); $(unstage)
9689 @[ -f ./dejagnu/Makefile ] || exit 0; \
9690 r=`${PWD_COMMAND}`; export r; \
9691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9692 $(HOST_EXPORTS) \
9693 for flag in $(EXTRA_HOST_FLAGS) ; do \
9694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9695 done; \
9696 echo "Doing distclean in dejagnu" ; \
9697 (cd $(HOST_SUBDIR)/dejagnu && \
9698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9700 "RANLIB=$${RANLIB}" \
9701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9702 distclean) \
9703 || exit 1
9705 @endif dejagnu
9707 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
9708 maybe-maintainer-clean-dejagnu:
9709 @if dejagnu
9710 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
9712 maintainer-clean-dejagnu:
9713 @: $(MAKE); $(unstage)
9714 @[ -f ./dejagnu/Makefile ] || exit 0; \
9715 r=`${PWD_COMMAND}`; export r; \
9716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9717 $(HOST_EXPORTS) \
9718 for flag in $(EXTRA_HOST_FLAGS) ; do \
9719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9720 done; \
9721 echo "Doing maintainer-clean in dejagnu" ; \
9722 (cd $(HOST_SUBDIR)/dejagnu && \
9723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9725 "RANLIB=$${RANLIB}" \
9726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9727 maintainer-clean) \
9728 || exit 1
9730 @endif dejagnu
9734 .PHONY: configure-diff maybe-configure-diff
9735 maybe-configure-diff:
9736 @if gcc-bootstrap
9737 configure-diff: stage_current
9738 @endif gcc-bootstrap
9739 @if diff
9740 maybe-configure-diff: configure-diff
9741 configure-diff:
9742 @: $(MAKE); $(unstage)
9743 @r=`${PWD_COMMAND}`; export r; \
9744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9745 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
9746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
9747 $(HOST_EXPORTS) \
9748 echo Configuring in $(HOST_SUBDIR)/diff; \
9749 cd "$(HOST_SUBDIR)/diff" || exit 1; \
9750 case $(srcdir) in \
9751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9752 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
9753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9754 esac; \
9755 srcdiroption="--srcdir=$${topdir}/diff"; \
9756 libsrcdir="$$s/diff"; \
9757 $(SHELL) $${libsrcdir}/configure \
9758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9759 --target=${target_alias} $${srcdiroption} \
9760 || exit 1
9761 @endif diff
9767 .PHONY: all-diff maybe-all-diff
9768 maybe-all-diff:
9769 @if gcc-bootstrap
9770 all-diff: stage_current
9771 @endif gcc-bootstrap
9772 @if diff
9773 TARGET-diff=all
9774 maybe-all-diff: all-diff
9775 all-diff: configure-diff
9776 @: $(MAKE); $(unstage)
9777 @r=`${PWD_COMMAND}`; export r; \
9778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9779 $(HOST_EXPORTS) \
9780 (cd $(HOST_SUBDIR)/diff && \
9781 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9782 $(TARGET-diff))
9783 @endif diff
9788 .PHONY: check-diff maybe-check-diff
9789 maybe-check-diff:
9790 @if diff
9791 maybe-check-diff: check-diff
9793 check-diff:
9794 @: $(MAKE); $(unstage)
9795 @r=`${PWD_COMMAND}`; export r; \
9796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9797 $(HOST_EXPORTS) \
9798 (cd $(HOST_SUBDIR)/diff && \
9799 $(MAKE) $(FLAGS_TO_PASS) check)
9801 @endif diff
9803 .PHONY: install-diff maybe-install-diff
9804 maybe-install-diff:
9805 @if diff
9806 maybe-install-diff: install-diff
9808 install-diff: installdirs
9809 @: $(MAKE); $(unstage)
9810 @r=`${PWD_COMMAND}`; export r; \
9811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9812 $(HOST_EXPORTS) \
9813 (cd $(HOST_SUBDIR)/diff && \
9814 $(MAKE) $(FLAGS_TO_PASS) install)
9816 @endif diff
9818 # Other targets (info, dvi, pdf, etc.)
9820 .PHONY: maybe-info-diff info-diff
9821 maybe-info-diff:
9822 @if diff
9823 maybe-info-diff: info-diff
9825 info-diff: \
9826 configure-diff
9827 @: $(MAKE); $(unstage)
9828 @[ -f ./diff/Makefile ] || exit 0; \
9829 r=`${PWD_COMMAND}`; export r; \
9830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9831 $(HOST_EXPORTS) \
9832 for flag in $(EXTRA_HOST_FLAGS) ; do \
9833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9834 done; \
9835 echo "Doing info in diff" ; \
9836 (cd $(HOST_SUBDIR)/diff && \
9837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9839 "RANLIB=$${RANLIB}" \
9840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9841 info) \
9842 || exit 1
9844 @endif diff
9846 .PHONY: maybe-dvi-diff dvi-diff
9847 maybe-dvi-diff:
9848 @if diff
9849 maybe-dvi-diff: dvi-diff
9851 dvi-diff: \
9852 configure-diff
9853 @: $(MAKE); $(unstage)
9854 @[ -f ./diff/Makefile ] || exit 0; \
9855 r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 $(HOST_EXPORTS) \
9858 for flag in $(EXTRA_HOST_FLAGS) ; do \
9859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9860 done; \
9861 echo "Doing dvi in diff" ; \
9862 (cd $(HOST_SUBDIR)/diff && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9865 "RANLIB=$${RANLIB}" \
9866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9867 dvi) \
9868 || exit 1
9870 @endif diff
9872 .PHONY: maybe-pdf-diff pdf-diff
9873 maybe-pdf-diff:
9874 @if diff
9875 maybe-pdf-diff: pdf-diff
9877 pdf-diff: \
9878 configure-diff
9879 @: $(MAKE); $(unstage)
9880 @[ -f ./diff/Makefile ] || exit 0; \
9881 r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9883 $(HOST_EXPORTS) \
9884 for flag in $(EXTRA_HOST_FLAGS) ; do \
9885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9886 done; \
9887 echo "Doing pdf in diff" ; \
9888 (cd $(HOST_SUBDIR)/diff && \
9889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891 "RANLIB=$${RANLIB}" \
9892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9893 pdf) \
9894 || exit 1
9896 @endif diff
9898 .PHONY: maybe-html-diff html-diff
9899 maybe-html-diff:
9900 @if diff
9901 maybe-html-diff: html-diff
9903 html-diff: \
9904 configure-diff
9905 @: $(MAKE); $(unstage)
9906 @[ -f ./diff/Makefile ] || exit 0; \
9907 r=`${PWD_COMMAND}`; export r; \
9908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9909 $(HOST_EXPORTS) \
9910 for flag in $(EXTRA_HOST_FLAGS) ; do \
9911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9912 done; \
9913 echo "Doing html in diff" ; \
9914 (cd $(HOST_SUBDIR)/diff && \
9915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9917 "RANLIB=$${RANLIB}" \
9918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9919 html) \
9920 || exit 1
9922 @endif diff
9924 .PHONY: maybe-TAGS-diff TAGS-diff
9925 maybe-TAGS-diff:
9926 @if diff
9927 maybe-TAGS-diff: TAGS-diff
9929 TAGS-diff: \
9930 configure-diff
9931 @: $(MAKE); $(unstage)
9932 @[ -f ./diff/Makefile ] || exit 0; \
9933 r=`${PWD_COMMAND}`; export r; \
9934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9935 $(HOST_EXPORTS) \
9936 for flag in $(EXTRA_HOST_FLAGS) ; do \
9937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9938 done; \
9939 echo "Doing TAGS in diff" ; \
9940 (cd $(HOST_SUBDIR)/diff && \
9941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9943 "RANLIB=$${RANLIB}" \
9944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9945 TAGS) \
9946 || exit 1
9948 @endif diff
9950 .PHONY: maybe-install-info-diff install-info-diff
9951 maybe-install-info-diff:
9952 @if diff
9953 maybe-install-info-diff: install-info-diff
9955 install-info-diff: \
9956 configure-diff \
9957 info-diff
9958 @: $(MAKE); $(unstage)
9959 @[ -f ./diff/Makefile ] || exit 0; \
9960 r=`${PWD_COMMAND}`; export r; \
9961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9962 $(HOST_EXPORTS) \
9963 for flag in $(EXTRA_HOST_FLAGS) ; do \
9964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9965 done; \
9966 echo "Doing install-info in diff" ; \
9967 (cd $(HOST_SUBDIR)/diff && \
9968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9970 "RANLIB=$${RANLIB}" \
9971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9972 install-info) \
9973 || exit 1
9975 @endif diff
9977 .PHONY: maybe-install-pdf-diff install-pdf-diff
9978 maybe-install-pdf-diff:
9979 @if diff
9980 maybe-install-pdf-diff: install-pdf-diff
9982 install-pdf-diff: \
9983 configure-diff \
9984 pdf-diff
9985 @: $(MAKE); $(unstage)
9986 @[ -f ./diff/Makefile ] || exit 0; \
9987 r=`${PWD_COMMAND}`; export r; \
9988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9989 $(HOST_EXPORTS) \
9990 for flag in $(EXTRA_HOST_FLAGS) ; do \
9991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9992 done; \
9993 echo "Doing install-pdf in diff" ; \
9994 (cd $(HOST_SUBDIR)/diff && \
9995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9997 "RANLIB=$${RANLIB}" \
9998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9999 install-pdf) \
10000 || exit 1
10002 @endif diff
10004 .PHONY: maybe-install-html-diff install-html-diff
10005 maybe-install-html-diff:
10006 @if diff
10007 maybe-install-html-diff: install-html-diff
10009 install-html-diff: \
10010 configure-diff \
10011 html-diff
10012 @: $(MAKE); $(unstage)
10013 @[ -f ./diff/Makefile ] || exit 0; \
10014 r=`${PWD_COMMAND}`; export r; \
10015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10016 $(HOST_EXPORTS) \
10017 for flag in $(EXTRA_HOST_FLAGS) ; do \
10018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10019 done; \
10020 echo "Doing install-html in diff" ; \
10021 (cd $(HOST_SUBDIR)/diff && \
10022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10024 "RANLIB=$${RANLIB}" \
10025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10026 install-html) \
10027 || exit 1
10029 @endif diff
10031 .PHONY: maybe-installcheck-diff installcheck-diff
10032 maybe-installcheck-diff:
10033 @if diff
10034 maybe-installcheck-diff: installcheck-diff
10036 installcheck-diff: \
10037 configure-diff
10038 @: $(MAKE); $(unstage)
10039 @[ -f ./diff/Makefile ] || exit 0; \
10040 r=`${PWD_COMMAND}`; export r; \
10041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10042 $(HOST_EXPORTS) \
10043 for flag in $(EXTRA_HOST_FLAGS) ; do \
10044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10045 done; \
10046 echo "Doing installcheck in diff" ; \
10047 (cd $(HOST_SUBDIR)/diff && \
10048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10050 "RANLIB=$${RANLIB}" \
10051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10052 installcheck) \
10053 || exit 1
10055 @endif diff
10057 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
10058 maybe-mostlyclean-diff:
10059 @if diff
10060 maybe-mostlyclean-diff: mostlyclean-diff
10062 mostlyclean-diff:
10063 @: $(MAKE); $(unstage)
10064 @[ -f ./diff/Makefile ] || exit 0; \
10065 r=`${PWD_COMMAND}`; export r; \
10066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10067 $(HOST_EXPORTS) \
10068 for flag in $(EXTRA_HOST_FLAGS) ; do \
10069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10070 done; \
10071 echo "Doing mostlyclean in diff" ; \
10072 (cd $(HOST_SUBDIR)/diff && \
10073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10075 "RANLIB=$${RANLIB}" \
10076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10077 mostlyclean) \
10078 || exit 1
10080 @endif diff
10082 .PHONY: maybe-clean-diff clean-diff
10083 maybe-clean-diff:
10084 @if diff
10085 maybe-clean-diff: clean-diff
10087 clean-diff:
10088 @: $(MAKE); $(unstage)
10089 @[ -f ./diff/Makefile ] || exit 0; \
10090 r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(HOST_EXPORTS) \
10093 for flag in $(EXTRA_HOST_FLAGS) ; do \
10094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10095 done; \
10096 echo "Doing clean in diff" ; \
10097 (cd $(HOST_SUBDIR)/diff && \
10098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10100 "RANLIB=$${RANLIB}" \
10101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10102 clean) \
10103 || exit 1
10105 @endif diff
10107 .PHONY: maybe-distclean-diff distclean-diff
10108 maybe-distclean-diff:
10109 @if diff
10110 maybe-distclean-diff: distclean-diff
10112 distclean-diff:
10113 @: $(MAKE); $(unstage)
10114 @[ -f ./diff/Makefile ] || exit 0; \
10115 r=`${PWD_COMMAND}`; export r; \
10116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10117 $(HOST_EXPORTS) \
10118 for flag in $(EXTRA_HOST_FLAGS) ; do \
10119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10120 done; \
10121 echo "Doing distclean in diff" ; \
10122 (cd $(HOST_SUBDIR)/diff && \
10123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10125 "RANLIB=$${RANLIB}" \
10126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10127 distclean) \
10128 || exit 1
10130 @endif diff
10132 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
10133 maybe-maintainer-clean-diff:
10134 @if diff
10135 maybe-maintainer-clean-diff: maintainer-clean-diff
10137 maintainer-clean-diff:
10138 @: $(MAKE); $(unstage)
10139 @[ -f ./diff/Makefile ] || exit 0; \
10140 r=`${PWD_COMMAND}`; export r; \
10141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 $(HOST_EXPORTS) \
10143 for flag in $(EXTRA_HOST_FLAGS) ; do \
10144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10145 done; \
10146 echo "Doing maintainer-clean in diff" ; \
10147 (cd $(HOST_SUBDIR)/diff && \
10148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10150 "RANLIB=$${RANLIB}" \
10151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10152 maintainer-clean) \
10153 || exit 1
10155 @endif diff
10159 .PHONY: configure-dosutils maybe-configure-dosutils
10160 maybe-configure-dosutils:
10161 @if gcc-bootstrap
10162 configure-dosutils: stage_current
10163 @endif gcc-bootstrap
10164 @if dosutils
10165 maybe-configure-dosutils: configure-dosutils
10166 configure-dosutils:
10167 @: $(MAKE); $(unstage)
10168 @r=`${PWD_COMMAND}`; export r; \
10169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10170 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
10171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
10172 $(HOST_EXPORTS) \
10173 echo Configuring in $(HOST_SUBDIR)/dosutils; \
10174 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
10175 case $(srcdir) in \
10176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10177 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
10178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10179 esac; \
10180 srcdiroption="--srcdir=$${topdir}/dosutils"; \
10181 libsrcdir="$$s/dosutils"; \
10182 $(SHELL) $${libsrcdir}/configure \
10183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10184 --target=${target_alias} $${srcdiroption} \
10185 || exit 1
10186 @endif dosutils
10192 .PHONY: all-dosutils maybe-all-dosutils
10193 maybe-all-dosutils:
10194 @if gcc-bootstrap
10195 all-dosutils: stage_current
10196 @endif gcc-bootstrap
10197 @if dosutils
10198 TARGET-dosutils=all
10199 maybe-all-dosutils: all-dosutils
10200 all-dosutils: configure-dosutils
10201 @: $(MAKE); $(unstage)
10202 @r=`${PWD_COMMAND}`; export r; \
10203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10204 $(HOST_EXPORTS) \
10205 (cd $(HOST_SUBDIR)/dosutils && \
10206 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10207 $(TARGET-dosutils))
10208 @endif dosutils
10213 .PHONY: check-dosutils maybe-check-dosutils
10214 maybe-check-dosutils:
10215 @if dosutils
10216 maybe-check-dosutils: check-dosutils
10218 check-dosutils:
10220 @endif dosutils
10222 .PHONY: install-dosutils maybe-install-dosutils
10223 maybe-install-dosutils:
10224 @if dosutils
10225 maybe-install-dosutils: install-dosutils
10227 install-dosutils: installdirs
10228 @: $(MAKE); $(unstage)
10229 @r=`${PWD_COMMAND}`; export r; \
10230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10231 $(HOST_EXPORTS) \
10232 (cd $(HOST_SUBDIR)/dosutils && \
10233 $(MAKE) $(FLAGS_TO_PASS) install)
10235 @endif dosutils
10237 # Other targets (info, dvi, pdf, etc.)
10239 .PHONY: maybe-info-dosutils info-dosutils
10240 maybe-info-dosutils:
10241 @if dosutils
10242 maybe-info-dosutils: info-dosutils
10244 info-dosutils: \
10245 configure-dosutils
10246 @: $(MAKE); $(unstage)
10247 @[ -f ./dosutils/Makefile ] || exit 0; \
10248 r=`${PWD_COMMAND}`; export r; \
10249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10250 $(HOST_EXPORTS) \
10251 for flag in $(EXTRA_HOST_FLAGS) ; do \
10252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10253 done; \
10254 echo "Doing info in dosutils" ; \
10255 (cd $(HOST_SUBDIR)/dosutils && \
10256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10258 "RANLIB=$${RANLIB}" \
10259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10260 info) \
10261 || exit 1
10263 @endif dosutils
10265 .PHONY: maybe-dvi-dosutils dvi-dosutils
10266 maybe-dvi-dosutils:
10267 @if dosutils
10268 maybe-dvi-dosutils: dvi-dosutils
10270 dvi-dosutils: \
10271 configure-dosutils
10272 @: $(MAKE); $(unstage)
10273 @[ -f ./dosutils/Makefile ] || exit 0; \
10274 r=`${PWD_COMMAND}`; export r; \
10275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10276 $(HOST_EXPORTS) \
10277 for flag in $(EXTRA_HOST_FLAGS) ; do \
10278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10279 done; \
10280 echo "Doing dvi in dosutils" ; \
10281 (cd $(HOST_SUBDIR)/dosutils && \
10282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10284 "RANLIB=$${RANLIB}" \
10285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10286 dvi) \
10287 || exit 1
10289 @endif dosutils
10291 .PHONY: maybe-pdf-dosutils pdf-dosutils
10292 maybe-pdf-dosutils:
10293 @if dosutils
10294 maybe-pdf-dosutils: pdf-dosutils
10296 pdf-dosutils: \
10297 configure-dosutils
10298 @: $(MAKE); $(unstage)
10299 @[ -f ./dosutils/Makefile ] || exit 0; \
10300 r=`${PWD_COMMAND}`; export r; \
10301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10302 $(HOST_EXPORTS) \
10303 for flag in $(EXTRA_HOST_FLAGS) ; do \
10304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10305 done; \
10306 echo "Doing pdf in dosutils" ; \
10307 (cd $(HOST_SUBDIR)/dosutils && \
10308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10310 "RANLIB=$${RANLIB}" \
10311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10312 pdf) \
10313 || exit 1
10315 @endif dosutils
10317 .PHONY: maybe-html-dosutils html-dosutils
10318 maybe-html-dosutils:
10319 @if dosutils
10320 maybe-html-dosutils: html-dosutils
10322 html-dosutils: \
10323 configure-dosutils
10324 @: $(MAKE); $(unstage)
10325 @[ -f ./dosutils/Makefile ] || exit 0; \
10326 r=`${PWD_COMMAND}`; export r; \
10327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10328 $(HOST_EXPORTS) \
10329 for flag in $(EXTRA_HOST_FLAGS) ; do \
10330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10331 done; \
10332 echo "Doing html in dosutils" ; \
10333 (cd $(HOST_SUBDIR)/dosutils && \
10334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10336 "RANLIB=$${RANLIB}" \
10337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10338 html) \
10339 || exit 1
10341 @endif dosutils
10343 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
10344 maybe-TAGS-dosutils:
10345 @if dosutils
10346 maybe-TAGS-dosutils: TAGS-dosutils
10348 TAGS-dosutils: \
10349 configure-dosutils
10350 @: $(MAKE); $(unstage)
10351 @[ -f ./dosutils/Makefile ] || exit 0; \
10352 r=`${PWD_COMMAND}`; export r; \
10353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10354 $(HOST_EXPORTS) \
10355 for flag in $(EXTRA_HOST_FLAGS) ; do \
10356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10357 done; \
10358 echo "Doing TAGS in dosutils" ; \
10359 (cd $(HOST_SUBDIR)/dosutils && \
10360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10362 "RANLIB=$${RANLIB}" \
10363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10364 TAGS) \
10365 || exit 1
10367 @endif dosutils
10369 .PHONY: maybe-install-info-dosutils install-info-dosutils
10370 maybe-install-info-dosutils:
10371 @if dosutils
10372 maybe-install-info-dosutils: install-info-dosutils
10374 install-info-dosutils: \
10375 configure-dosutils \
10376 info-dosutils
10377 @: $(MAKE); $(unstage)
10378 @[ -f ./dosutils/Makefile ] || exit 0; \
10379 r=`${PWD_COMMAND}`; export r; \
10380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10381 $(HOST_EXPORTS) \
10382 for flag in $(EXTRA_HOST_FLAGS) ; do \
10383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10384 done; \
10385 echo "Doing install-info in dosutils" ; \
10386 (cd $(HOST_SUBDIR)/dosutils && \
10387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10389 "RANLIB=$${RANLIB}" \
10390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10391 install-info) \
10392 || exit 1
10394 @endif dosutils
10396 .PHONY: maybe-install-pdf-dosutils install-pdf-dosutils
10397 maybe-install-pdf-dosutils:
10398 @if dosutils
10399 maybe-install-pdf-dosutils: install-pdf-dosutils
10401 install-pdf-dosutils: \
10402 configure-dosutils \
10403 pdf-dosutils
10404 @: $(MAKE); $(unstage)
10405 @[ -f ./dosutils/Makefile ] || exit 0; \
10406 r=`${PWD_COMMAND}`; export r; \
10407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10408 $(HOST_EXPORTS) \
10409 for flag in $(EXTRA_HOST_FLAGS) ; do \
10410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10411 done; \
10412 echo "Doing install-pdf in dosutils" ; \
10413 (cd $(HOST_SUBDIR)/dosutils && \
10414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10416 "RANLIB=$${RANLIB}" \
10417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10418 install-pdf) \
10419 || exit 1
10421 @endif dosutils
10423 .PHONY: maybe-install-html-dosutils install-html-dosutils
10424 maybe-install-html-dosutils:
10425 @if dosutils
10426 maybe-install-html-dosutils: install-html-dosutils
10428 install-html-dosutils: \
10429 configure-dosutils \
10430 html-dosutils
10431 @: $(MAKE); $(unstage)
10432 @[ -f ./dosutils/Makefile ] || exit 0; \
10433 r=`${PWD_COMMAND}`; export r; \
10434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10435 $(HOST_EXPORTS) \
10436 for flag in $(EXTRA_HOST_FLAGS) ; do \
10437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10438 done; \
10439 echo "Doing install-html in dosutils" ; \
10440 (cd $(HOST_SUBDIR)/dosutils && \
10441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10443 "RANLIB=$${RANLIB}" \
10444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10445 install-html) \
10446 || exit 1
10448 @endif dosutils
10450 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
10451 maybe-installcheck-dosutils:
10452 @if dosutils
10453 maybe-installcheck-dosutils: installcheck-dosutils
10455 installcheck-dosutils: \
10456 configure-dosutils
10457 @: $(MAKE); $(unstage)
10458 @[ -f ./dosutils/Makefile ] || exit 0; \
10459 r=`${PWD_COMMAND}`; export r; \
10460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10461 $(HOST_EXPORTS) \
10462 for flag in $(EXTRA_HOST_FLAGS) ; do \
10463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10464 done; \
10465 echo "Doing installcheck in dosutils" ; \
10466 (cd $(HOST_SUBDIR)/dosutils && \
10467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10469 "RANLIB=$${RANLIB}" \
10470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10471 installcheck) \
10472 || exit 1
10474 @endif dosutils
10476 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10477 maybe-mostlyclean-dosutils:
10478 @if dosutils
10479 maybe-mostlyclean-dosutils: mostlyclean-dosutils
10481 mostlyclean-dosutils:
10482 @: $(MAKE); $(unstage)
10483 @[ -f ./dosutils/Makefile ] || exit 0; \
10484 r=`${PWD_COMMAND}`; export r; \
10485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10486 $(HOST_EXPORTS) \
10487 for flag in $(EXTRA_HOST_FLAGS) ; do \
10488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10489 done; \
10490 echo "Doing mostlyclean in dosutils" ; \
10491 (cd $(HOST_SUBDIR)/dosutils && \
10492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10494 "RANLIB=$${RANLIB}" \
10495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10496 mostlyclean) \
10497 || exit 1
10499 @endif dosutils
10501 .PHONY: maybe-clean-dosutils clean-dosutils
10502 maybe-clean-dosutils:
10503 @if dosutils
10504 maybe-clean-dosutils: clean-dosutils
10506 clean-dosutils:
10507 @: $(MAKE); $(unstage)
10508 @[ -f ./dosutils/Makefile ] || exit 0; \
10509 r=`${PWD_COMMAND}`; export r; \
10510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10511 $(HOST_EXPORTS) \
10512 for flag in $(EXTRA_HOST_FLAGS) ; do \
10513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10514 done; \
10515 echo "Doing clean in dosutils" ; \
10516 (cd $(HOST_SUBDIR)/dosutils && \
10517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10519 "RANLIB=$${RANLIB}" \
10520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10521 clean) \
10522 || exit 1
10524 @endif dosutils
10526 .PHONY: maybe-distclean-dosutils distclean-dosutils
10527 maybe-distclean-dosutils:
10528 @if dosutils
10529 maybe-distclean-dosutils: distclean-dosutils
10531 distclean-dosutils:
10532 @: $(MAKE); $(unstage)
10533 @[ -f ./dosutils/Makefile ] || exit 0; \
10534 r=`${PWD_COMMAND}`; export r; \
10535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10536 $(HOST_EXPORTS) \
10537 for flag in $(EXTRA_HOST_FLAGS) ; do \
10538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10539 done; \
10540 echo "Doing distclean in dosutils" ; \
10541 (cd $(HOST_SUBDIR)/dosutils && \
10542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10544 "RANLIB=$${RANLIB}" \
10545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10546 distclean) \
10547 || exit 1
10549 @endif dosutils
10551 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
10552 maybe-maintainer-clean-dosutils:
10553 @if dosutils
10554 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
10556 maintainer-clean-dosutils:
10557 @: $(MAKE); $(unstage)
10558 @[ -f ./dosutils/Makefile ] || exit 0; \
10559 r=`${PWD_COMMAND}`; export r; \
10560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10561 $(HOST_EXPORTS) \
10562 for flag in $(EXTRA_HOST_FLAGS) ; do \
10563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10564 done; \
10565 echo "Doing maintainer-clean in dosutils" ; \
10566 (cd $(HOST_SUBDIR)/dosutils && \
10567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10569 "RANLIB=$${RANLIB}" \
10570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10571 maintainer-clean) \
10572 || exit 1
10574 @endif dosutils
10578 .PHONY: configure-etc maybe-configure-etc
10579 maybe-configure-etc:
10580 @if gcc-bootstrap
10581 configure-etc: stage_current
10582 @endif gcc-bootstrap
10583 @if etc
10584 maybe-configure-etc: configure-etc
10585 configure-etc:
10586 @: $(MAKE); $(unstage)
10587 @r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10589 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
10590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
10591 $(HOST_EXPORTS) \
10592 echo Configuring in $(HOST_SUBDIR)/etc; \
10593 cd "$(HOST_SUBDIR)/etc" || exit 1; \
10594 case $(srcdir) in \
10595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10596 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
10597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10598 esac; \
10599 srcdiroption="--srcdir=$${topdir}/etc"; \
10600 libsrcdir="$$s/etc"; \
10601 $(SHELL) $${libsrcdir}/configure \
10602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10603 --target=${target_alias} $${srcdiroption} \
10604 || exit 1
10605 @endif etc
10611 .PHONY: all-etc maybe-all-etc
10612 maybe-all-etc:
10613 @if gcc-bootstrap
10614 all-etc: stage_current
10615 @endif gcc-bootstrap
10616 @if etc
10617 TARGET-etc=all
10618 maybe-all-etc: all-etc
10619 all-etc: configure-etc
10620 @: $(MAKE); $(unstage)
10621 @r=`${PWD_COMMAND}`; export r; \
10622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10623 $(HOST_EXPORTS) \
10624 (cd $(HOST_SUBDIR)/etc && \
10625 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10626 $(TARGET-etc))
10627 @endif etc
10632 .PHONY: check-etc maybe-check-etc
10633 maybe-check-etc:
10634 @if etc
10635 maybe-check-etc: check-etc
10637 check-etc:
10638 @: $(MAKE); $(unstage)
10639 @r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10641 $(HOST_EXPORTS) \
10642 (cd $(HOST_SUBDIR)/etc && \
10643 $(MAKE) $(FLAGS_TO_PASS) check)
10645 @endif etc
10647 .PHONY: install-etc maybe-install-etc
10648 maybe-install-etc:
10649 @if etc
10650 maybe-install-etc: install-etc
10652 install-etc: installdirs
10653 @: $(MAKE); $(unstage)
10654 @r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(HOST_EXPORTS) \
10657 (cd $(HOST_SUBDIR)/etc && \
10658 $(MAKE) $(FLAGS_TO_PASS) install)
10660 @endif etc
10662 # Other targets (info, dvi, pdf, etc.)
10664 .PHONY: maybe-info-etc info-etc
10665 maybe-info-etc:
10666 @if etc
10667 maybe-info-etc: info-etc
10669 info-etc: \
10670 configure-etc
10671 @: $(MAKE); $(unstage)
10672 @[ -f ./etc/Makefile ] || exit 0; \
10673 r=`${PWD_COMMAND}`; export r; \
10674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10675 $(HOST_EXPORTS) \
10676 for flag in $(EXTRA_HOST_FLAGS) ; do \
10677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10678 done; \
10679 echo "Doing info in etc" ; \
10680 (cd $(HOST_SUBDIR)/etc && \
10681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10683 "RANLIB=$${RANLIB}" \
10684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10685 info) \
10686 || exit 1
10688 @endif etc
10690 .PHONY: maybe-dvi-etc dvi-etc
10691 maybe-dvi-etc:
10692 @if etc
10693 maybe-dvi-etc: dvi-etc
10695 dvi-etc: \
10696 configure-etc
10697 @: $(MAKE); $(unstage)
10698 @[ -f ./etc/Makefile ] || exit 0; \
10699 r=`${PWD_COMMAND}`; export r; \
10700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10701 $(HOST_EXPORTS) \
10702 for flag in $(EXTRA_HOST_FLAGS) ; do \
10703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10704 done; \
10705 echo "Doing dvi in etc" ; \
10706 (cd $(HOST_SUBDIR)/etc && \
10707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10709 "RANLIB=$${RANLIB}" \
10710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10711 dvi) \
10712 || exit 1
10714 @endif etc
10716 .PHONY: maybe-pdf-etc pdf-etc
10717 maybe-pdf-etc:
10718 @if etc
10719 maybe-pdf-etc: pdf-etc
10721 pdf-etc: \
10722 configure-etc
10723 @: $(MAKE); $(unstage)
10724 @[ -f ./etc/Makefile ] || exit 0; \
10725 r=`${PWD_COMMAND}`; export r; \
10726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10727 $(HOST_EXPORTS) \
10728 for flag in $(EXTRA_HOST_FLAGS) ; do \
10729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10730 done; \
10731 echo "Doing pdf in etc" ; \
10732 (cd $(HOST_SUBDIR)/etc && \
10733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10735 "RANLIB=$${RANLIB}" \
10736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10737 pdf) \
10738 || exit 1
10740 @endif etc
10742 .PHONY: maybe-html-etc html-etc
10743 maybe-html-etc:
10744 @if etc
10745 maybe-html-etc: html-etc
10747 html-etc: \
10748 configure-etc
10749 @: $(MAKE); $(unstage)
10750 @[ -f ./etc/Makefile ] || exit 0; \
10751 r=`${PWD_COMMAND}`; export r; \
10752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10753 $(HOST_EXPORTS) \
10754 for flag in $(EXTRA_HOST_FLAGS) ; do \
10755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10756 done; \
10757 echo "Doing html in etc" ; \
10758 (cd $(HOST_SUBDIR)/etc && \
10759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10761 "RANLIB=$${RANLIB}" \
10762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10763 html) \
10764 || exit 1
10766 @endif etc
10768 .PHONY: maybe-TAGS-etc TAGS-etc
10769 maybe-TAGS-etc:
10770 @if etc
10771 maybe-TAGS-etc: TAGS-etc
10773 TAGS-etc: \
10774 configure-etc
10775 @: $(MAKE); $(unstage)
10776 @[ -f ./etc/Makefile ] || exit 0; \
10777 r=`${PWD_COMMAND}`; export r; \
10778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10779 $(HOST_EXPORTS) \
10780 for flag in $(EXTRA_HOST_FLAGS) ; do \
10781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10782 done; \
10783 echo "Doing TAGS in etc" ; \
10784 (cd $(HOST_SUBDIR)/etc && \
10785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10787 "RANLIB=$${RANLIB}" \
10788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10789 TAGS) \
10790 || exit 1
10792 @endif etc
10794 .PHONY: maybe-install-info-etc install-info-etc
10795 maybe-install-info-etc:
10796 @if etc
10797 maybe-install-info-etc: install-info-etc
10799 install-info-etc: \
10800 configure-etc \
10801 info-etc
10802 @: $(MAKE); $(unstage)
10803 @[ -f ./etc/Makefile ] || exit 0; \
10804 r=`${PWD_COMMAND}`; export r; \
10805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10806 $(HOST_EXPORTS) \
10807 for flag in $(EXTRA_HOST_FLAGS) ; do \
10808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10809 done; \
10810 echo "Doing install-info in etc" ; \
10811 (cd $(HOST_SUBDIR)/etc && \
10812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10814 "RANLIB=$${RANLIB}" \
10815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10816 install-info) \
10817 || exit 1
10819 @endif etc
10821 .PHONY: maybe-install-pdf-etc install-pdf-etc
10822 maybe-install-pdf-etc:
10823 @if etc
10824 maybe-install-pdf-etc: install-pdf-etc
10826 install-pdf-etc: \
10827 configure-etc \
10828 pdf-etc
10829 @: $(MAKE); $(unstage)
10830 @[ -f ./etc/Makefile ] || exit 0; \
10831 r=`${PWD_COMMAND}`; export r; \
10832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10833 $(HOST_EXPORTS) \
10834 for flag in $(EXTRA_HOST_FLAGS) ; do \
10835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10836 done; \
10837 echo "Doing install-pdf in etc" ; \
10838 (cd $(HOST_SUBDIR)/etc && \
10839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10841 "RANLIB=$${RANLIB}" \
10842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10843 install-pdf) \
10844 || exit 1
10846 @endif etc
10848 .PHONY: maybe-install-html-etc install-html-etc
10849 maybe-install-html-etc:
10850 @if etc
10851 maybe-install-html-etc: install-html-etc
10853 install-html-etc: \
10854 configure-etc \
10855 html-etc
10856 @: $(MAKE); $(unstage)
10857 @[ -f ./etc/Makefile ] || exit 0; \
10858 r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 $(HOST_EXPORTS) \
10861 for flag in $(EXTRA_HOST_FLAGS) ; do \
10862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10863 done; \
10864 echo "Doing install-html in etc" ; \
10865 (cd $(HOST_SUBDIR)/etc && \
10866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10868 "RANLIB=$${RANLIB}" \
10869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10870 install-html) \
10871 || exit 1
10873 @endif etc
10875 .PHONY: maybe-installcheck-etc installcheck-etc
10876 maybe-installcheck-etc:
10877 @if etc
10878 maybe-installcheck-etc: installcheck-etc
10880 installcheck-etc: \
10881 configure-etc
10882 @: $(MAKE); $(unstage)
10883 @[ -f ./etc/Makefile ] || exit 0; \
10884 r=`${PWD_COMMAND}`; export r; \
10885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10886 $(HOST_EXPORTS) \
10887 for flag in $(EXTRA_HOST_FLAGS) ; do \
10888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10889 done; \
10890 echo "Doing installcheck in etc" ; \
10891 (cd $(HOST_SUBDIR)/etc && \
10892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10894 "RANLIB=$${RANLIB}" \
10895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10896 installcheck) \
10897 || exit 1
10899 @endif etc
10901 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10902 maybe-mostlyclean-etc:
10903 @if etc
10904 maybe-mostlyclean-etc: mostlyclean-etc
10906 mostlyclean-etc:
10907 @: $(MAKE); $(unstage)
10908 @[ -f ./etc/Makefile ] || exit 0; \
10909 r=`${PWD_COMMAND}`; export r; \
10910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10911 $(HOST_EXPORTS) \
10912 for flag in $(EXTRA_HOST_FLAGS) ; do \
10913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10914 done; \
10915 echo "Doing mostlyclean in etc" ; \
10916 (cd $(HOST_SUBDIR)/etc && \
10917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10919 "RANLIB=$${RANLIB}" \
10920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10921 mostlyclean) \
10922 || exit 1
10924 @endif etc
10926 .PHONY: maybe-clean-etc clean-etc
10927 maybe-clean-etc:
10928 @if etc
10929 maybe-clean-etc: clean-etc
10931 clean-etc:
10932 @: $(MAKE); $(unstage)
10933 @[ -f ./etc/Makefile ] || exit 0; \
10934 r=`${PWD_COMMAND}`; export r; \
10935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10936 $(HOST_EXPORTS) \
10937 for flag in $(EXTRA_HOST_FLAGS) ; do \
10938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10939 done; \
10940 echo "Doing clean in etc" ; \
10941 (cd $(HOST_SUBDIR)/etc && \
10942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10944 "RANLIB=$${RANLIB}" \
10945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10946 clean) \
10947 || exit 1
10949 @endif etc
10951 .PHONY: maybe-distclean-etc distclean-etc
10952 maybe-distclean-etc:
10953 @if etc
10954 maybe-distclean-etc: distclean-etc
10956 distclean-etc:
10957 @: $(MAKE); $(unstage)
10958 @[ -f ./etc/Makefile ] || exit 0; \
10959 r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961 $(HOST_EXPORTS) \
10962 for flag in $(EXTRA_HOST_FLAGS) ; do \
10963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10964 done; \
10965 echo "Doing distclean in etc" ; \
10966 (cd $(HOST_SUBDIR)/etc && \
10967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969 "RANLIB=$${RANLIB}" \
10970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10971 distclean) \
10972 || exit 1
10974 @endif etc
10976 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
10977 maybe-maintainer-clean-etc:
10978 @if etc
10979 maybe-maintainer-clean-etc: maintainer-clean-etc
10981 maintainer-clean-etc:
10982 @: $(MAKE); $(unstage)
10983 @[ -f ./etc/Makefile ] || exit 0; \
10984 r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(HOST_EXPORTS) \
10987 for flag in $(EXTRA_HOST_FLAGS) ; do \
10988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10989 done; \
10990 echo "Doing maintainer-clean in etc" ; \
10991 (cd $(HOST_SUBDIR)/etc && \
10992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10994 "RANLIB=$${RANLIB}" \
10995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10996 maintainer-clean) \
10997 || exit 1
10999 @endif etc
11003 .PHONY: configure-fastjar maybe-configure-fastjar
11004 maybe-configure-fastjar:
11005 @if gcc-bootstrap
11006 configure-fastjar: stage_current
11007 @endif gcc-bootstrap
11008 @if fastjar
11009 maybe-configure-fastjar: configure-fastjar
11010 configure-fastjar:
11011 @: $(MAKE); $(unstage)
11012 @r=`${PWD_COMMAND}`; export r; \
11013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11014 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
11015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
11016 $(HOST_EXPORTS) \
11017 echo Configuring in $(HOST_SUBDIR)/fastjar; \
11018 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
11019 case $(srcdir) in \
11020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11021 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
11022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11023 esac; \
11024 srcdiroption="--srcdir=$${topdir}/fastjar"; \
11025 libsrcdir="$$s/fastjar"; \
11026 $(SHELL) $${libsrcdir}/configure \
11027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11028 --target=${target_alias} $${srcdiroption} \
11029 || exit 1
11030 @endif fastjar
11036 .PHONY: all-fastjar maybe-all-fastjar
11037 maybe-all-fastjar:
11038 @if gcc-bootstrap
11039 all-fastjar: stage_current
11040 @endif gcc-bootstrap
11041 @if fastjar
11042 TARGET-fastjar=all
11043 maybe-all-fastjar: all-fastjar
11044 all-fastjar: configure-fastjar
11045 @: $(MAKE); $(unstage)
11046 @r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 $(HOST_EXPORTS) \
11049 (cd $(HOST_SUBDIR)/fastjar && \
11050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11051 $(TARGET-fastjar))
11052 @endif fastjar
11057 .PHONY: check-fastjar maybe-check-fastjar
11058 maybe-check-fastjar:
11059 @if fastjar
11060 maybe-check-fastjar: check-fastjar
11062 # This module is only tested in a native toolchain.
11063 check-fastjar:
11064 @: $(MAKE); $(unstage)
11065 @if [ '$(host)' = '$(target)' ] ; then \
11066 r=`${PWD_COMMAND}`; export r; \
11067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11068 $(HOST_EXPORTS) \
11069 (cd $(HOST_SUBDIR)/fastjar && \
11070 $(MAKE) $(FLAGS_TO_PASS) check); \
11073 @endif fastjar
11075 .PHONY: install-fastjar maybe-install-fastjar
11076 maybe-install-fastjar:
11077 @if fastjar
11078 maybe-install-fastjar: install-fastjar
11080 install-fastjar: installdirs
11081 @: $(MAKE); $(unstage)
11082 @r=`${PWD_COMMAND}`; export r; \
11083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11084 $(HOST_EXPORTS) \
11085 (cd $(HOST_SUBDIR)/fastjar && \
11086 $(MAKE) $(FLAGS_TO_PASS) install)
11088 @endif fastjar
11090 # Other targets (info, dvi, pdf, etc.)
11092 .PHONY: maybe-info-fastjar info-fastjar
11093 maybe-info-fastjar:
11094 @if fastjar
11095 maybe-info-fastjar: info-fastjar
11097 info-fastjar: \
11098 configure-fastjar
11099 @: $(MAKE); $(unstage)
11100 @[ -f ./fastjar/Makefile ] || exit 0; \
11101 r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 $(HOST_EXPORTS) \
11104 for flag in $(EXTRA_HOST_FLAGS) ; do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106 done; \
11107 echo "Doing info in fastjar" ; \
11108 (cd $(HOST_SUBDIR)/fastjar && \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11113 info) \
11114 || exit 1
11116 @endif fastjar
11118 .PHONY: maybe-dvi-fastjar dvi-fastjar
11119 maybe-dvi-fastjar:
11120 @if fastjar
11121 maybe-dvi-fastjar: dvi-fastjar
11123 dvi-fastjar: \
11124 configure-fastjar
11125 @: $(MAKE); $(unstage)
11126 @[ -f ./fastjar/Makefile ] || exit 0; \
11127 r=`${PWD_COMMAND}`; export r; \
11128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11129 $(HOST_EXPORTS) \
11130 for flag in $(EXTRA_HOST_FLAGS) ; do \
11131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132 done; \
11133 echo "Doing dvi in fastjar" ; \
11134 (cd $(HOST_SUBDIR)/fastjar && \
11135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11137 "RANLIB=$${RANLIB}" \
11138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11139 dvi) \
11140 || exit 1
11142 @endif fastjar
11144 .PHONY: maybe-pdf-fastjar pdf-fastjar
11145 maybe-pdf-fastjar:
11146 @if fastjar
11147 maybe-pdf-fastjar: pdf-fastjar
11149 pdf-fastjar: \
11150 configure-fastjar
11151 @: $(MAKE); $(unstage)
11152 @[ -f ./fastjar/Makefile ] || exit 0; \
11153 r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11155 $(HOST_EXPORTS) \
11156 for flag in $(EXTRA_HOST_FLAGS) ; do \
11157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11158 done; \
11159 echo "Doing pdf in fastjar" ; \
11160 (cd $(HOST_SUBDIR)/fastjar && \
11161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11163 "RANLIB=$${RANLIB}" \
11164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11165 pdf) \
11166 || exit 1
11168 @endif fastjar
11170 .PHONY: maybe-html-fastjar html-fastjar
11171 maybe-html-fastjar:
11172 @if fastjar
11173 maybe-html-fastjar: html-fastjar
11175 html-fastjar: \
11176 configure-fastjar
11177 @: $(MAKE); $(unstage)
11178 @[ -f ./fastjar/Makefile ] || exit 0; \
11179 r=`${PWD_COMMAND}`; export r; \
11180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11181 $(HOST_EXPORTS) \
11182 for flag in $(EXTRA_HOST_FLAGS) ; do \
11183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11184 done; \
11185 echo "Doing html in fastjar" ; \
11186 (cd $(HOST_SUBDIR)/fastjar && \
11187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189 "RANLIB=$${RANLIB}" \
11190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11191 html) \
11192 || exit 1
11194 @endif fastjar
11196 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
11197 maybe-TAGS-fastjar:
11198 @if fastjar
11199 maybe-TAGS-fastjar: TAGS-fastjar
11201 TAGS-fastjar: \
11202 configure-fastjar
11203 @: $(MAKE); $(unstage)
11204 @[ -f ./fastjar/Makefile ] || exit 0; \
11205 r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 $(HOST_EXPORTS) \
11208 for flag in $(EXTRA_HOST_FLAGS) ; do \
11209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 done; \
11211 echo "Doing TAGS in fastjar" ; \
11212 (cd $(HOST_SUBDIR)/fastjar && \
11213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11215 "RANLIB=$${RANLIB}" \
11216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11217 TAGS) \
11218 || exit 1
11220 @endif fastjar
11222 .PHONY: maybe-install-info-fastjar install-info-fastjar
11223 maybe-install-info-fastjar:
11224 @if fastjar
11225 maybe-install-info-fastjar: install-info-fastjar
11227 install-info-fastjar: \
11228 configure-fastjar \
11229 info-fastjar
11230 @: $(MAKE); $(unstage)
11231 @[ -f ./fastjar/Makefile ] || exit 0; \
11232 r=`${PWD_COMMAND}`; export r; \
11233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11234 $(HOST_EXPORTS) \
11235 for flag in $(EXTRA_HOST_FLAGS) ; do \
11236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11237 done; \
11238 echo "Doing install-info in fastjar" ; \
11239 (cd $(HOST_SUBDIR)/fastjar && \
11240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11242 "RANLIB=$${RANLIB}" \
11243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11244 install-info) \
11245 || exit 1
11247 @endif fastjar
11249 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
11250 maybe-install-pdf-fastjar:
11251 @if fastjar
11252 maybe-install-pdf-fastjar: install-pdf-fastjar
11254 install-pdf-fastjar: \
11255 configure-fastjar \
11256 pdf-fastjar
11257 @: $(MAKE); $(unstage)
11258 @[ -f ./fastjar/Makefile ] || exit 0; \
11259 r=`${PWD_COMMAND}`; export r; \
11260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11261 $(HOST_EXPORTS) \
11262 for flag in $(EXTRA_HOST_FLAGS) ; do \
11263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11264 done; \
11265 echo "Doing install-pdf in fastjar" ; \
11266 (cd $(HOST_SUBDIR)/fastjar && \
11267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11269 "RANLIB=$${RANLIB}" \
11270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11271 install-pdf) \
11272 || exit 1
11274 @endif fastjar
11276 .PHONY: maybe-install-html-fastjar install-html-fastjar
11277 maybe-install-html-fastjar:
11278 @if fastjar
11279 maybe-install-html-fastjar: install-html-fastjar
11281 install-html-fastjar: \
11282 configure-fastjar \
11283 html-fastjar
11284 @: $(MAKE); $(unstage)
11285 @[ -f ./fastjar/Makefile ] || exit 0; \
11286 r=`${PWD_COMMAND}`; export r; \
11287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11288 $(HOST_EXPORTS) \
11289 for flag in $(EXTRA_HOST_FLAGS) ; do \
11290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11291 done; \
11292 echo "Doing install-html in fastjar" ; \
11293 (cd $(HOST_SUBDIR)/fastjar && \
11294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11296 "RANLIB=$${RANLIB}" \
11297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11298 install-html) \
11299 || exit 1
11301 @endif fastjar
11303 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
11304 maybe-installcheck-fastjar:
11305 @if fastjar
11306 maybe-installcheck-fastjar: installcheck-fastjar
11308 installcheck-fastjar: \
11309 configure-fastjar
11310 @: $(MAKE); $(unstage)
11311 @[ -f ./fastjar/Makefile ] || exit 0; \
11312 r=`${PWD_COMMAND}`; export r; \
11313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11314 $(HOST_EXPORTS) \
11315 for flag in $(EXTRA_HOST_FLAGS) ; do \
11316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11317 done; \
11318 echo "Doing installcheck in fastjar" ; \
11319 (cd $(HOST_SUBDIR)/fastjar && \
11320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11322 "RANLIB=$${RANLIB}" \
11323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11324 installcheck) \
11325 || exit 1
11327 @endif fastjar
11329 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
11330 maybe-mostlyclean-fastjar:
11331 @if fastjar
11332 maybe-mostlyclean-fastjar: mostlyclean-fastjar
11334 mostlyclean-fastjar:
11335 @: $(MAKE); $(unstage)
11336 @[ -f ./fastjar/Makefile ] || exit 0; \
11337 r=`${PWD_COMMAND}`; export r; \
11338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11339 $(HOST_EXPORTS) \
11340 for flag in $(EXTRA_HOST_FLAGS) ; do \
11341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11342 done; \
11343 echo "Doing mostlyclean in fastjar" ; \
11344 (cd $(HOST_SUBDIR)/fastjar && \
11345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11347 "RANLIB=$${RANLIB}" \
11348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11349 mostlyclean) \
11350 || exit 1
11352 @endif fastjar
11354 .PHONY: maybe-clean-fastjar clean-fastjar
11355 maybe-clean-fastjar:
11356 @if fastjar
11357 maybe-clean-fastjar: clean-fastjar
11359 clean-fastjar:
11360 @: $(MAKE); $(unstage)
11361 @[ -f ./fastjar/Makefile ] || exit 0; \
11362 r=`${PWD_COMMAND}`; export r; \
11363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11364 $(HOST_EXPORTS) \
11365 for flag in $(EXTRA_HOST_FLAGS) ; do \
11366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11367 done; \
11368 echo "Doing clean in fastjar" ; \
11369 (cd $(HOST_SUBDIR)/fastjar && \
11370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11372 "RANLIB=$${RANLIB}" \
11373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11374 clean) \
11375 || exit 1
11377 @endif fastjar
11379 .PHONY: maybe-distclean-fastjar distclean-fastjar
11380 maybe-distclean-fastjar:
11381 @if fastjar
11382 maybe-distclean-fastjar: distclean-fastjar
11384 distclean-fastjar:
11385 @: $(MAKE); $(unstage)
11386 @[ -f ./fastjar/Makefile ] || exit 0; \
11387 r=`${PWD_COMMAND}`; export r; \
11388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11389 $(HOST_EXPORTS) \
11390 for flag in $(EXTRA_HOST_FLAGS) ; do \
11391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11392 done; \
11393 echo "Doing distclean in fastjar" ; \
11394 (cd $(HOST_SUBDIR)/fastjar && \
11395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11397 "RANLIB=$${RANLIB}" \
11398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11399 distclean) \
11400 || exit 1
11402 @endif fastjar
11404 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
11405 maybe-maintainer-clean-fastjar:
11406 @if fastjar
11407 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
11409 maintainer-clean-fastjar:
11410 @: $(MAKE); $(unstage)
11411 @[ -f ./fastjar/Makefile ] || exit 0; \
11412 r=`${PWD_COMMAND}`; export r; \
11413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11414 $(HOST_EXPORTS) \
11415 for flag in $(EXTRA_HOST_FLAGS) ; do \
11416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11417 done; \
11418 echo "Doing maintainer-clean in fastjar" ; \
11419 (cd $(HOST_SUBDIR)/fastjar && \
11420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11422 "RANLIB=$${RANLIB}" \
11423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11424 maintainer-clean) \
11425 || exit 1
11427 @endif fastjar
11431 .PHONY: configure-fileutils maybe-configure-fileutils
11432 maybe-configure-fileutils:
11433 @if gcc-bootstrap
11434 configure-fileutils: stage_current
11435 @endif gcc-bootstrap
11436 @if fileutils
11437 maybe-configure-fileutils: configure-fileutils
11438 configure-fileutils:
11439 @: $(MAKE); $(unstage)
11440 @r=`${PWD_COMMAND}`; export r; \
11441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11442 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
11443 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
11444 $(HOST_EXPORTS) \
11445 echo Configuring in $(HOST_SUBDIR)/fileutils; \
11446 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
11447 case $(srcdir) in \
11448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11449 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
11450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11451 esac; \
11452 srcdiroption="--srcdir=$${topdir}/fileutils"; \
11453 libsrcdir="$$s/fileutils"; \
11454 $(SHELL) $${libsrcdir}/configure \
11455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11456 --target=${target_alias} $${srcdiroption} \
11457 || exit 1
11458 @endif fileutils
11464 .PHONY: all-fileutils maybe-all-fileutils
11465 maybe-all-fileutils:
11466 @if gcc-bootstrap
11467 all-fileutils: stage_current
11468 @endif gcc-bootstrap
11469 @if fileutils
11470 TARGET-fileutils=all
11471 maybe-all-fileutils: all-fileutils
11472 all-fileutils: configure-fileutils
11473 @: $(MAKE); $(unstage)
11474 @r=`${PWD_COMMAND}`; export r; \
11475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11476 $(HOST_EXPORTS) \
11477 (cd $(HOST_SUBDIR)/fileutils && \
11478 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11479 $(TARGET-fileutils))
11480 @endif fileutils
11485 .PHONY: check-fileutils maybe-check-fileutils
11486 maybe-check-fileutils:
11487 @if fileutils
11488 maybe-check-fileutils: check-fileutils
11490 check-fileutils:
11491 @: $(MAKE); $(unstage)
11492 @r=`${PWD_COMMAND}`; export r; \
11493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11494 $(HOST_EXPORTS) \
11495 (cd $(HOST_SUBDIR)/fileutils && \
11496 $(MAKE) $(FLAGS_TO_PASS) check)
11498 @endif fileutils
11500 .PHONY: install-fileutils maybe-install-fileutils
11501 maybe-install-fileutils:
11502 @if fileutils
11503 maybe-install-fileutils: install-fileutils
11505 install-fileutils: installdirs
11506 @: $(MAKE); $(unstage)
11507 @r=`${PWD_COMMAND}`; export r; \
11508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11509 $(HOST_EXPORTS) \
11510 (cd $(HOST_SUBDIR)/fileutils && \
11511 $(MAKE) $(FLAGS_TO_PASS) install)
11513 @endif fileutils
11515 # Other targets (info, dvi, pdf, etc.)
11517 .PHONY: maybe-info-fileutils info-fileutils
11518 maybe-info-fileutils:
11519 @if fileutils
11520 maybe-info-fileutils: info-fileutils
11522 info-fileutils: \
11523 configure-fileutils
11524 @: $(MAKE); $(unstage)
11525 @[ -f ./fileutils/Makefile ] || exit 0; \
11526 r=`${PWD_COMMAND}`; export r; \
11527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11528 $(HOST_EXPORTS) \
11529 for flag in $(EXTRA_HOST_FLAGS) ; do \
11530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11531 done; \
11532 echo "Doing info in fileutils" ; \
11533 (cd $(HOST_SUBDIR)/fileutils && \
11534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11536 "RANLIB=$${RANLIB}" \
11537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11538 info) \
11539 || exit 1
11541 @endif fileutils
11543 .PHONY: maybe-dvi-fileutils dvi-fileutils
11544 maybe-dvi-fileutils:
11545 @if fileutils
11546 maybe-dvi-fileutils: dvi-fileutils
11548 dvi-fileutils: \
11549 configure-fileutils
11550 @: $(MAKE); $(unstage)
11551 @[ -f ./fileutils/Makefile ] || exit 0; \
11552 r=`${PWD_COMMAND}`; export r; \
11553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11554 $(HOST_EXPORTS) \
11555 for flag in $(EXTRA_HOST_FLAGS) ; do \
11556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11557 done; \
11558 echo "Doing dvi in fileutils" ; \
11559 (cd $(HOST_SUBDIR)/fileutils && \
11560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11562 "RANLIB=$${RANLIB}" \
11563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11564 dvi) \
11565 || exit 1
11567 @endif fileutils
11569 .PHONY: maybe-pdf-fileutils pdf-fileutils
11570 maybe-pdf-fileutils:
11571 @if fileutils
11572 maybe-pdf-fileutils: pdf-fileutils
11574 pdf-fileutils: \
11575 configure-fileutils
11576 @: $(MAKE); $(unstage)
11577 @[ -f ./fileutils/Makefile ] || exit 0; \
11578 r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 $(HOST_EXPORTS) \
11581 for flag in $(EXTRA_HOST_FLAGS) ; do \
11582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11583 done; \
11584 echo "Doing pdf in fileutils" ; \
11585 (cd $(HOST_SUBDIR)/fileutils && \
11586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11588 "RANLIB=$${RANLIB}" \
11589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11590 pdf) \
11591 || exit 1
11593 @endif fileutils
11595 .PHONY: maybe-html-fileutils html-fileutils
11596 maybe-html-fileutils:
11597 @if fileutils
11598 maybe-html-fileutils: html-fileutils
11600 html-fileutils: \
11601 configure-fileutils
11602 @: $(MAKE); $(unstage)
11603 @[ -f ./fileutils/Makefile ] || exit 0; \
11604 r=`${PWD_COMMAND}`; export r; \
11605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11606 $(HOST_EXPORTS) \
11607 for flag in $(EXTRA_HOST_FLAGS) ; do \
11608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11609 done; \
11610 echo "Doing html in fileutils" ; \
11611 (cd $(HOST_SUBDIR)/fileutils && \
11612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11614 "RANLIB=$${RANLIB}" \
11615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11616 html) \
11617 || exit 1
11619 @endif fileutils
11621 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
11622 maybe-TAGS-fileutils:
11623 @if fileutils
11624 maybe-TAGS-fileutils: TAGS-fileutils
11626 TAGS-fileutils: \
11627 configure-fileutils
11628 @: $(MAKE); $(unstage)
11629 @[ -f ./fileutils/Makefile ] || exit 0; \
11630 r=`${PWD_COMMAND}`; export r; \
11631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 $(HOST_EXPORTS) \
11633 for flag in $(EXTRA_HOST_FLAGS) ; do \
11634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11635 done; \
11636 echo "Doing TAGS in fileutils" ; \
11637 (cd $(HOST_SUBDIR)/fileutils && \
11638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11640 "RANLIB=$${RANLIB}" \
11641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11642 TAGS) \
11643 || exit 1
11645 @endif fileutils
11647 .PHONY: maybe-install-info-fileutils install-info-fileutils
11648 maybe-install-info-fileutils:
11649 @if fileutils
11650 maybe-install-info-fileutils: install-info-fileutils
11652 install-info-fileutils: \
11653 configure-fileutils \
11654 info-fileutils
11655 @: $(MAKE); $(unstage)
11656 @[ -f ./fileutils/Makefile ] || exit 0; \
11657 r=`${PWD_COMMAND}`; export r; \
11658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11659 $(HOST_EXPORTS) \
11660 for flag in $(EXTRA_HOST_FLAGS) ; do \
11661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11662 done; \
11663 echo "Doing install-info in fileutils" ; \
11664 (cd $(HOST_SUBDIR)/fileutils && \
11665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11667 "RANLIB=$${RANLIB}" \
11668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11669 install-info) \
11670 || exit 1
11672 @endif fileutils
11674 .PHONY: maybe-install-pdf-fileutils install-pdf-fileutils
11675 maybe-install-pdf-fileutils:
11676 @if fileutils
11677 maybe-install-pdf-fileutils: install-pdf-fileutils
11679 install-pdf-fileutils: \
11680 configure-fileutils \
11681 pdf-fileutils
11682 @: $(MAKE); $(unstage)
11683 @[ -f ./fileutils/Makefile ] || exit 0; \
11684 r=`${PWD_COMMAND}`; export r; \
11685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11686 $(HOST_EXPORTS) \
11687 for flag in $(EXTRA_HOST_FLAGS) ; do \
11688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11689 done; \
11690 echo "Doing install-pdf in fileutils" ; \
11691 (cd $(HOST_SUBDIR)/fileutils && \
11692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11694 "RANLIB=$${RANLIB}" \
11695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11696 install-pdf) \
11697 || exit 1
11699 @endif fileutils
11701 .PHONY: maybe-install-html-fileutils install-html-fileutils
11702 maybe-install-html-fileutils:
11703 @if fileutils
11704 maybe-install-html-fileutils: install-html-fileutils
11706 install-html-fileutils: \
11707 configure-fileutils \
11708 html-fileutils
11709 @: $(MAKE); $(unstage)
11710 @[ -f ./fileutils/Makefile ] || exit 0; \
11711 r=`${PWD_COMMAND}`; export r; \
11712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11713 $(HOST_EXPORTS) \
11714 for flag in $(EXTRA_HOST_FLAGS) ; do \
11715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11716 done; \
11717 echo "Doing install-html in fileutils" ; \
11718 (cd $(HOST_SUBDIR)/fileutils && \
11719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11721 "RANLIB=$${RANLIB}" \
11722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11723 install-html) \
11724 || exit 1
11726 @endif fileutils
11728 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
11729 maybe-installcheck-fileutils:
11730 @if fileutils
11731 maybe-installcheck-fileutils: installcheck-fileutils
11733 installcheck-fileutils: \
11734 configure-fileutils
11735 @: $(MAKE); $(unstage)
11736 @[ -f ./fileutils/Makefile ] || exit 0; \
11737 r=`${PWD_COMMAND}`; export r; \
11738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11739 $(HOST_EXPORTS) \
11740 for flag in $(EXTRA_HOST_FLAGS) ; do \
11741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11742 done; \
11743 echo "Doing installcheck in fileutils" ; \
11744 (cd $(HOST_SUBDIR)/fileutils && \
11745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11747 "RANLIB=$${RANLIB}" \
11748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11749 installcheck) \
11750 || exit 1
11752 @endif fileutils
11754 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
11755 maybe-mostlyclean-fileutils:
11756 @if fileutils
11757 maybe-mostlyclean-fileutils: mostlyclean-fileutils
11759 mostlyclean-fileutils:
11760 @: $(MAKE); $(unstage)
11761 @[ -f ./fileutils/Makefile ] || exit 0; \
11762 r=`${PWD_COMMAND}`; export r; \
11763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11764 $(HOST_EXPORTS) \
11765 for flag in $(EXTRA_HOST_FLAGS) ; do \
11766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11767 done; \
11768 echo "Doing mostlyclean in fileutils" ; \
11769 (cd $(HOST_SUBDIR)/fileutils && \
11770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11772 "RANLIB=$${RANLIB}" \
11773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11774 mostlyclean) \
11775 || exit 1
11777 @endif fileutils
11779 .PHONY: maybe-clean-fileutils clean-fileutils
11780 maybe-clean-fileutils:
11781 @if fileutils
11782 maybe-clean-fileutils: clean-fileutils
11784 clean-fileutils:
11785 @: $(MAKE); $(unstage)
11786 @[ -f ./fileutils/Makefile ] || exit 0; \
11787 r=`${PWD_COMMAND}`; export r; \
11788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11789 $(HOST_EXPORTS) \
11790 for flag in $(EXTRA_HOST_FLAGS) ; do \
11791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11792 done; \
11793 echo "Doing clean in fileutils" ; \
11794 (cd $(HOST_SUBDIR)/fileutils && \
11795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11797 "RANLIB=$${RANLIB}" \
11798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11799 clean) \
11800 || exit 1
11802 @endif fileutils
11804 .PHONY: maybe-distclean-fileutils distclean-fileutils
11805 maybe-distclean-fileutils:
11806 @if fileutils
11807 maybe-distclean-fileutils: distclean-fileutils
11809 distclean-fileutils:
11810 @: $(MAKE); $(unstage)
11811 @[ -f ./fileutils/Makefile ] || exit 0; \
11812 r=`${PWD_COMMAND}`; export r; \
11813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11814 $(HOST_EXPORTS) \
11815 for flag in $(EXTRA_HOST_FLAGS) ; do \
11816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11817 done; \
11818 echo "Doing distclean in fileutils" ; \
11819 (cd $(HOST_SUBDIR)/fileutils && \
11820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11822 "RANLIB=$${RANLIB}" \
11823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11824 distclean) \
11825 || exit 1
11827 @endif fileutils
11829 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
11830 maybe-maintainer-clean-fileutils:
11831 @if fileutils
11832 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
11834 maintainer-clean-fileutils:
11835 @: $(MAKE); $(unstage)
11836 @[ -f ./fileutils/Makefile ] || exit 0; \
11837 r=`${PWD_COMMAND}`; export r; \
11838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 $(HOST_EXPORTS) \
11840 for flag in $(EXTRA_HOST_FLAGS) ; do \
11841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11842 done; \
11843 echo "Doing maintainer-clean in fileutils" ; \
11844 (cd $(HOST_SUBDIR)/fileutils && \
11845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11847 "RANLIB=$${RANLIB}" \
11848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11849 maintainer-clean) \
11850 || exit 1
11852 @endif fileutils
11856 .PHONY: configure-findutils maybe-configure-findutils
11857 maybe-configure-findutils:
11858 @if gcc-bootstrap
11859 configure-findutils: stage_current
11860 @endif gcc-bootstrap
11861 @if findutils
11862 maybe-configure-findutils: configure-findutils
11863 configure-findutils:
11864 @: $(MAKE); $(unstage)
11865 @r=`${PWD_COMMAND}`; export r; \
11866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11867 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
11868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
11869 $(HOST_EXPORTS) \
11870 echo Configuring in $(HOST_SUBDIR)/findutils; \
11871 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
11872 case $(srcdir) in \
11873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11874 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
11875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11876 esac; \
11877 srcdiroption="--srcdir=$${topdir}/findutils"; \
11878 libsrcdir="$$s/findutils"; \
11879 $(SHELL) $${libsrcdir}/configure \
11880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11881 --target=${target_alias} $${srcdiroption} \
11882 || exit 1
11883 @endif findutils
11889 .PHONY: all-findutils maybe-all-findutils
11890 maybe-all-findutils:
11891 @if gcc-bootstrap
11892 all-findutils: stage_current
11893 @endif gcc-bootstrap
11894 @if findutils
11895 TARGET-findutils=all
11896 maybe-all-findutils: all-findutils
11897 all-findutils: configure-findutils
11898 @: $(MAKE); $(unstage)
11899 @r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 $(HOST_EXPORTS) \
11902 (cd $(HOST_SUBDIR)/findutils && \
11903 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11904 $(TARGET-findutils))
11905 @endif findutils
11910 .PHONY: check-findutils maybe-check-findutils
11911 maybe-check-findutils:
11912 @if findutils
11913 maybe-check-findutils: check-findutils
11915 check-findutils:
11916 @: $(MAKE); $(unstage)
11917 @r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11919 $(HOST_EXPORTS) \
11920 (cd $(HOST_SUBDIR)/findutils && \
11921 $(MAKE) $(FLAGS_TO_PASS) check)
11923 @endif findutils
11925 .PHONY: install-findutils maybe-install-findutils
11926 maybe-install-findutils:
11927 @if findutils
11928 maybe-install-findutils: install-findutils
11930 install-findutils: installdirs
11931 @: $(MAKE); $(unstage)
11932 @r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934 $(HOST_EXPORTS) \
11935 (cd $(HOST_SUBDIR)/findutils && \
11936 $(MAKE) $(FLAGS_TO_PASS) install)
11938 @endif findutils
11940 # Other targets (info, dvi, pdf, etc.)
11942 .PHONY: maybe-info-findutils info-findutils
11943 maybe-info-findutils:
11944 @if findutils
11945 maybe-info-findutils: info-findutils
11947 info-findutils: \
11948 configure-findutils
11949 @: $(MAKE); $(unstage)
11950 @[ -f ./findutils/Makefile ] || exit 0; \
11951 r=`${PWD_COMMAND}`; export r; \
11952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953 $(HOST_EXPORTS) \
11954 for flag in $(EXTRA_HOST_FLAGS) ; do \
11955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11956 done; \
11957 echo "Doing info in findutils" ; \
11958 (cd $(HOST_SUBDIR)/findutils && \
11959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11961 "RANLIB=$${RANLIB}" \
11962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11963 info) \
11964 || exit 1
11966 @endif findutils
11968 .PHONY: maybe-dvi-findutils dvi-findutils
11969 maybe-dvi-findutils:
11970 @if findutils
11971 maybe-dvi-findutils: dvi-findutils
11973 dvi-findutils: \
11974 configure-findutils
11975 @: $(MAKE); $(unstage)
11976 @[ -f ./findutils/Makefile ] || exit 0; \
11977 r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979 $(HOST_EXPORTS) \
11980 for flag in $(EXTRA_HOST_FLAGS) ; do \
11981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11982 done; \
11983 echo "Doing dvi in findutils" ; \
11984 (cd $(HOST_SUBDIR)/findutils && \
11985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11987 "RANLIB=$${RANLIB}" \
11988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11989 dvi) \
11990 || exit 1
11992 @endif findutils
11994 .PHONY: maybe-pdf-findutils pdf-findutils
11995 maybe-pdf-findutils:
11996 @if findutils
11997 maybe-pdf-findutils: pdf-findutils
11999 pdf-findutils: \
12000 configure-findutils
12001 @: $(MAKE); $(unstage)
12002 @[ -f ./findutils/Makefile ] || exit 0; \
12003 r=`${PWD_COMMAND}`; export r; \
12004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12005 $(HOST_EXPORTS) \
12006 for flag in $(EXTRA_HOST_FLAGS) ; do \
12007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12008 done; \
12009 echo "Doing pdf in findutils" ; \
12010 (cd $(HOST_SUBDIR)/findutils && \
12011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12013 "RANLIB=$${RANLIB}" \
12014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12015 pdf) \
12016 || exit 1
12018 @endif findutils
12020 .PHONY: maybe-html-findutils html-findutils
12021 maybe-html-findutils:
12022 @if findutils
12023 maybe-html-findutils: html-findutils
12025 html-findutils: \
12026 configure-findutils
12027 @: $(MAKE); $(unstage)
12028 @[ -f ./findutils/Makefile ] || exit 0; \
12029 r=`${PWD_COMMAND}`; export r; \
12030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12031 $(HOST_EXPORTS) \
12032 for flag in $(EXTRA_HOST_FLAGS) ; do \
12033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12034 done; \
12035 echo "Doing html in findutils" ; \
12036 (cd $(HOST_SUBDIR)/findutils && \
12037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12039 "RANLIB=$${RANLIB}" \
12040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12041 html) \
12042 || exit 1
12044 @endif findutils
12046 .PHONY: maybe-TAGS-findutils TAGS-findutils
12047 maybe-TAGS-findutils:
12048 @if findutils
12049 maybe-TAGS-findutils: TAGS-findutils
12051 TAGS-findutils: \
12052 configure-findutils
12053 @: $(MAKE); $(unstage)
12054 @[ -f ./findutils/Makefile ] || exit 0; \
12055 r=`${PWD_COMMAND}`; export r; \
12056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12057 $(HOST_EXPORTS) \
12058 for flag in $(EXTRA_HOST_FLAGS) ; do \
12059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12060 done; \
12061 echo "Doing TAGS in findutils" ; \
12062 (cd $(HOST_SUBDIR)/findutils && \
12063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12065 "RANLIB=$${RANLIB}" \
12066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12067 TAGS) \
12068 || exit 1
12070 @endif findutils
12072 .PHONY: maybe-install-info-findutils install-info-findutils
12073 maybe-install-info-findutils:
12074 @if findutils
12075 maybe-install-info-findutils: install-info-findutils
12077 install-info-findutils: \
12078 configure-findutils \
12079 info-findutils
12080 @: $(MAKE); $(unstage)
12081 @[ -f ./findutils/Makefile ] || exit 0; \
12082 r=`${PWD_COMMAND}`; export r; \
12083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12084 $(HOST_EXPORTS) \
12085 for flag in $(EXTRA_HOST_FLAGS) ; do \
12086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12087 done; \
12088 echo "Doing install-info in findutils" ; \
12089 (cd $(HOST_SUBDIR)/findutils && \
12090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12092 "RANLIB=$${RANLIB}" \
12093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12094 install-info) \
12095 || exit 1
12097 @endif findutils
12099 .PHONY: maybe-install-pdf-findutils install-pdf-findutils
12100 maybe-install-pdf-findutils:
12101 @if findutils
12102 maybe-install-pdf-findutils: install-pdf-findutils
12104 install-pdf-findutils: \
12105 configure-findutils \
12106 pdf-findutils
12107 @: $(MAKE); $(unstage)
12108 @[ -f ./findutils/Makefile ] || exit 0; \
12109 r=`${PWD_COMMAND}`; export r; \
12110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12111 $(HOST_EXPORTS) \
12112 for flag in $(EXTRA_HOST_FLAGS) ; do \
12113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12114 done; \
12115 echo "Doing install-pdf in findutils" ; \
12116 (cd $(HOST_SUBDIR)/findutils && \
12117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12119 "RANLIB=$${RANLIB}" \
12120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12121 install-pdf) \
12122 || exit 1
12124 @endif findutils
12126 .PHONY: maybe-install-html-findutils install-html-findutils
12127 maybe-install-html-findutils:
12128 @if findutils
12129 maybe-install-html-findutils: install-html-findutils
12131 install-html-findutils: \
12132 configure-findutils \
12133 html-findutils
12134 @: $(MAKE); $(unstage)
12135 @[ -f ./findutils/Makefile ] || exit 0; \
12136 r=`${PWD_COMMAND}`; export r; \
12137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12138 $(HOST_EXPORTS) \
12139 for flag in $(EXTRA_HOST_FLAGS) ; do \
12140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12141 done; \
12142 echo "Doing install-html in findutils" ; \
12143 (cd $(HOST_SUBDIR)/findutils && \
12144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12146 "RANLIB=$${RANLIB}" \
12147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12148 install-html) \
12149 || exit 1
12151 @endif findutils
12153 .PHONY: maybe-installcheck-findutils installcheck-findutils
12154 maybe-installcheck-findutils:
12155 @if findutils
12156 maybe-installcheck-findutils: installcheck-findutils
12158 installcheck-findutils: \
12159 configure-findutils
12160 @: $(MAKE); $(unstage)
12161 @[ -f ./findutils/Makefile ] || exit 0; \
12162 r=`${PWD_COMMAND}`; export r; \
12163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12164 $(HOST_EXPORTS) \
12165 for flag in $(EXTRA_HOST_FLAGS) ; do \
12166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12167 done; \
12168 echo "Doing installcheck in findutils" ; \
12169 (cd $(HOST_SUBDIR)/findutils && \
12170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12172 "RANLIB=$${RANLIB}" \
12173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12174 installcheck) \
12175 || exit 1
12177 @endif findutils
12179 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
12180 maybe-mostlyclean-findutils:
12181 @if findutils
12182 maybe-mostlyclean-findutils: mostlyclean-findutils
12184 mostlyclean-findutils:
12185 @: $(MAKE); $(unstage)
12186 @[ -f ./findutils/Makefile ] || exit 0; \
12187 r=`${PWD_COMMAND}`; export r; \
12188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12189 $(HOST_EXPORTS) \
12190 for flag in $(EXTRA_HOST_FLAGS) ; do \
12191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12192 done; \
12193 echo "Doing mostlyclean in findutils" ; \
12194 (cd $(HOST_SUBDIR)/findutils && \
12195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12197 "RANLIB=$${RANLIB}" \
12198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12199 mostlyclean) \
12200 || exit 1
12202 @endif findutils
12204 .PHONY: maybe-clean-findutils clean-findutils
12205 maybe-clean-findutils:
12206 @if findutils
12207 maybe-clean-findutils: clean-findutils
12209 clean-findutils:
12210 @: $(MAKE); $(unstage)
12211 @[ -f ./findutils/Makefile ] || exit 0; \
12212 r=`${PWD_COMMAND}`; export r; \
12213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12214 $(HOST_EXPORTS) \
12215 for flag in $(EXTRA_HOST_FLAGS) ; do \
12216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12217 done; \
12218 echo "Doing clean in findutils" ; \
12219 (cd $(HOST_SUBDIR)/findutils && \
12220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12222 "RANLIB=$${RANLIB}" \
12223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12224 clean) \
12225 || exit 1
12227 @endif findutils
12229 .PHONY: maybe-distclean-findutils distclean-findutils
12230 maybe-distclean-findutils:
12231 @if findutils
12232 maybe-distclean-findutils: distclean-findutils
12234 distclean-findutils:
12235 @: $(MAKE); $(unstage)
12236 @[ -f ./findutils/Makefile ] || exit 0; \
12237 r=`${PWD_COMMAND}`; export r; \
12238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12239 $(HOST_EXPORTS) \
12240 for flag in $(EXTRA_HOST_FLAGS) ; do \
12241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12242 done; \
12243 echo "Doing distclean in findutils" ; \
12244 (cd $(HOST_SUBDIR)/findutils && \
12245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12247 "RANLIB=$${RANLIB}" \
12248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12249 distclean) \
12250 || exit 1
12252 @endif findutils
12254 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
12255 maybe-maintainer-clean-findutils:
12256 @if findutils
12257 maybe-maintainer-clean-findutils: maintainer-clean-findutils
12259 maintainer-clean-findutils:
12260 @: $(MAKE); $(unstage)
12261 @[ -f ./findutils/Makefile ] || exit 0; \
12262 r=`${PWD_COMMAND}`; export r; \
12263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12264 $(HOST_EXPORTS) \
12265 for flag in $(EXTRA_HOST_FLAGS) ; do \
12266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12267 done; \
12268 echo "Doing maintainer-clean in findutils" ; \
12269 (cd $(HOST_SUBDIR)/findutils && \
12270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12272 "RANLIB=$${RANLIB}" \
12273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12274 maintainer-clean) \
12275 || exit 1
12277 @endif findutils
12281 .PHONY: configure-find maybe-configure-find
12282 maybe-configure-find:
12283 @if gcc-bootstrap
12284 configure-find: stage_current
12285 @endif gcc-bootstrap
12286 @if find
12287 maybe-configure-find: configure-find
12288 configure-find:
12289 @: $(MAKE); $(unstage)
12290 @r=`${PWD_COMMAND}`; export r; \
12291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12292 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
12293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
12294 $(HOST_EXPORTS) \
12295 echo Configuring in $(HOST_SUBDIR)/find; \
12296 cd "$(HOST_SUBDIR)/find" || exit 1; \
12297 case $(srcdir) in \
12298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12299 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
12300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12301 esac; \
12302 srcdiroption="--srcdir=$${topdir}/find"; \
12303 libsrcdir="$$s/find"; \
12304 $(SHELL) $${libsrcdir}/configure \
12305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12306 --target=${target_alias} $${srcdiroption} \
12307 || exit 1
12308 @endif find
12314 .PHONY: all-find maybe-all-find
12315 maybe-all-find:
12316 @if gcc-bootstrap
12317 all-find: stage_current
12318 @endif gcc-bootstrap
12319 @if find
12320 TARGET-find=all
12321 maybe-all-find: all-find
12322 all-find: configure-find
12323 @: $(MAKE); $(unstage)
12324 @r=`${PWD_COMMAND}`; export r; \
12325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12326 $(HOST_EXPORTS) \
12327 (cd $(HOST_SUBDIR)/find && \
12328 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12329 $(TARGET-find))
12330 @endif find
12335 .PHONY: check-find maybe-check-find
12336 maybe-check-find:
12337 @if find
12338 maybe-check-find: check-find
12340 check-find:
12341 @: $(MAKE); $(unstage)
12342 @r=`${PWD_COMMAND}`; export r; \
12343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12344 $(HOST_EXPORTS) \
12345 (cd $(HOST_SUBDIR)/find && \
12346 $(MAKE) $(FLAGS_TO_PASS) check)
12348 @endif find
12350 .PHONY: install-find maybe-install-find
12351 maybe-install-find:
12352 @if find
12353 maybe-install-find: install-find
12355 install-find: installdirs
12356 @: $(MAKE); $(unstage)
12357 @r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 $(HOST_EXPORTS) \
12360 (cd $(HOST_SUBDIR)/find && \
12361 $(MAKE) $(FLAGS_TO_PASS) install)
12363 @endif find
12365 # Other targets (info, dvi, pdf, etc.)
12367 .PHONY: maybe-info-find info-find
12368 maybe-info-find:
12369 @if find
12370 maybe-info-find: info-find
12372 info-find: \
12373 configure-find
12374 @: $(MAKE); $(unstage)
12375 @[ -f ./find/Makefile ] || exit 0; \
12376 r=`${PWD_COMMAND}`; export r; \
12377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12378 $(HOST_EXPORTS) \
12379 for flag in $(EXTRA_HOST_FLAGS) ; do \
12380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12381 done; \
12382 echo "Doing info in find" ; \
12383 (cd $(HOST_SUBDIR)/find && \
12384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12386 "RANLIB=$${RANLIB}" \
12387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12388 info) \
12389 || exit 1
12391 @endif find
12393 .PHONY: maybe-dvi-find dvi-find
12394 maybe-dvi-find:
12395 @if find
12396 maybe-dvi-find: dvi-find
12398 dvi-find: \
12399 configure-find
12400 @: $(MAKE); $(unstage)
12401 @[ -f ./find/Makefile ] || exit 0; \
12402 r=`${PWD_COMMAND}`; export r; \
12403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12404 $(HOST_EXPORTS) \
12405 for flag in $(EXTRA_HOST_FLAGS) ; do \
12406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12407 done; \
12408 echo "Doing dvi in find" ; \
12409 (cd $(HOST_SUBDIR)/find && \
12410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12412 "RANLIB=$${RANLIB}" \
12413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12414 dvi) \
12415 || exit 1
12417 @endif find
12419 .PHONY: maybe-pdf-find pdf-find
12420 maybe-pdf-find:
12421 @if find
12422 maybe-pdf-find: pdf-find
12424 pdf-find: \
12425 configure-find
12426 @: $(MAKE); $(unstage)
12427 @[ -f ./find/Makefile ] || exit 0; \
12428 r=`${PWD_COMMAND}`; export r; \
12429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12430 $(HOST_EXPORTS) \
12431 for flag in $(EXTRA_HOST_FLAGS) ; do \
12432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12433 done; \
12434 echo "Doing pdf in find" ; \
12435 (cd $(HOST_SUBDIR)/find && \
12436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12438 "RANLIB=$${RANLIB}" \
12439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12440 pdf) \
12441 || exit 1
12443 @endif find
12445 .PHONY: maybe-html-find html-find
12446 maybe-html-find:
12447 @if find
12448 maybe-html-find: html-find
12450 html-find: \
12451 configure-find
12452 @: $(MAKE); $(unstage)
12453 @[ -f ./find/Makefile ] || exit 0; \
12454 r=`${PWD_COMMAND}`; export r; \
12455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12456 $(HOST_EXPORTS) \
12457 for flag in $(EXTRA_HOST_FLAGS) ; do \
12458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12459 done; \
12460 echo "Doing html in find" ; \
12461 (cd $(HOST_SUBDIR)/find && \
12462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12464 "RANLIB=$${RANLIB}" \
12465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12466 html) \
12467 || exit 1
12469 @endif find
12471 .PHONY: maybe-TAGS-find TAGS-find
12472 maybe-TAGS-find:
12473 @if find
12474 maybe-TAGS-find: TAGS-find
12476 TAGS-find: \
12477 configure-find
12478 @: $(MAKE); $(unstage)
12479 @[ -f ./find/Makefile ] || exit 0; \
12480 r=`${PWD_COMMAND}`; export r; \
12481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12482 $(HOST_EXPORTS) \
12483 for flag in $(EXTRA_HOST_FLAGS) ; do \
12484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12485 done; \
12486 echo "Doing TAGS in find" ; \
12487 (cd $(HOST_SUBDIR)/find && \
12488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12490 "RANLIB=$${RANLIB}" \
12491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12492 TAGS) \
12493 || exit 1
12495 @endif find
12497 .PHONY: maybe-install-info-find install-info-find
12498 maybe-install-info-find:
12499 @if find
12500 maybe-install-info-find: install-info-find
12502 install-info-find: \
12503 configure-find \
12504 info-find
12505 @: $(MAKE); $(unstage)
12506 @[ -f ./find/Makefile ] || exit 0; \
12507 r=`${PWD_COMMAND}`; export r; \
12508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12509 $(HOST_EXPORTS) \
12510 for flag in $(EXTRA_HOST_FLAGS) ; do \
12511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12512 done; \
12513 echo "Doing install-info in find" ; \
12514 (cd $(HOST_SUBDIR)/find && \
12515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12517 "RANLIB=$${RANLIB}" \
12518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12519 install-info) \
12520 || exit 1
12522 @endif find
12524 .PHONY: maybe-install-pdf-find install-pdf-find
12525 maybe-install-pdf-find:
12526 @if find
12527 maybe-install-pdf-find: install-pdf-find
12529 install-pdf-find: \
12530 configure-find \
12531 pdf-find
12532 @: $(MAKE); $(unstage)
12533 @[ -f ./find/Makefile ] || exit 0; \
12534 r=`${PWD_COMMAND}`; export r; \
12535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12536 $(HOST_EXPORTS) \
12537 for flag in $(EXTRA_HOST_FLAGS) ; do \
12538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12539 done; \
12540 echo "Doing install-pdf in find" ; \
12541 (cd $(HOST_SUBDIR)/find && \
12542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12544 "RANLIB=$${RANLIB}" \
12545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12546 install-pdf) \
12547 || exit 1
12549 @endif find
12551 .PHONY: maybe-install-html-find install-html-find
12552 maybe-install-html-find:
12553 @if find
12554 maybe-install-html-find: install-html-find
12556 install-html-find: \
12557 configure-find \
12558 html-find
12559 @: $(MAKE); $(unstage)
12560 @[ -f ./find/Makefile ] || exit 0; \
12561 r=`${PWD_COMMAND}`; export r; \
12562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12563 $(HOST_EXPORTS) \
12564 for flag in $(EXTRA_HOST_FLAGS) ; do \
12565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12566 done; \
12567 echo "Doing install-html in find" ; \
12568 (cd $(HOST_SUBDIR)/find && \
12569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12571 "RANLIB=$${RANLIB}" \
12572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12573 install-html) \
12574 || exit 1
12576 @endif find
12578 .PHONY: maybe-installcheck-find installcheck-find
12579 maybe-installcheck-find:
12580 @if find
12581 maybe-installcheck-find: installcheck-find
12583 installcheck-find: \
12584 configure-find
12585 @: $(MAKE); $(unstage)
12586 @[ -f ./find/Makefile ] || exit 0; \
12587 r=`${PWD_COMMAND}`; export r; \
12588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12589 $(HOST_EXPORTS) \
12590 for flag in $(EXTRA_HOST_FLAGS) ; do \
12591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12592 done; \
12593 echo "Doing installcheck in find" ; \
12594 (cd $(HOST_SUBDIR)/find && \
12595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12597 "RANLIB=$${RANLIB}" \
12598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12599 installcheck) \
12600 || exit 1
12602 @endif find
12604 .PHONY: maybe-mostlyclean-find mostlyclean-find
12605 maybe-mostlyclean-find:
12606 @if find
12607 maybe-mostlyclean-find: mostlyclean-find
12609 mostlyclean-find:
12610 @: $(MAKE); $(unstage)
12611 @[ -f ./find/Makefile ] || exit 0; \
12612 r=`${PWD_COMMAND}`; export r; \
12613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12614 $(HOST_EXPORTS) \
12615 for flag in $(EXTRA_HOST_FLAGS) ; do \
12616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12617 done; \
12618 echo "Doing mostlyclean in find" ; \
12619 (cd $(HOST_SUBDIR)/find && \
12620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12622 "RANLIB=$${RANLIB}" \
12623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12624 mostlyclean) \
12625 || exit 1
12627 @endif find
12629 .PHONY: maybe-clean-find clean-find
12630 maybe-clean-find:
12631 @if find
12632 maybe-clean-find: clean-find
12634 clean-find:
12635 @: $(MAKE); $(unstage)
12636 @[ -f ./find/Makefile ] || exit 0; \
12637 r=`${PWD_COMMAND}`; export r; \
12638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12639 $(HOST_EXPORTS) \
12640 for flag in $(EXTRA_HOST_FLAGS) ; do \
12641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12642 done; \
12643 echo "Doing clean in find" ; \
12644 (cd $(HOST_SUBDIR)/find && \
12645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12647 "RANLIB=$${RANLIB}" \
12648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12649 clean) \
12650 || exit 1
12652 @endif find
12654 .PHONY: maybe-distclean-find distclean-find
12655 maybe-distclean-find:
12656 @if find
12657 maybe-distclean-find: distclean-find
12659 distclean-find:
12660 @: $(MAKE); $(unstage)
12661 @[ -f ./find/Makefile ] || exit 0; \
12662 r=`${PWD_COMMAND}`; export r; \
12663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12664 $(HOST_EXPORTS) \
12665 for flag in $(EXTRA_HOST_FLAGS) ; do \
12666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12667 done; \
12668 echo "Doing distclean in find" ; \
12669 (cd $(HOST_SUBDIR)/find && \
12670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12672 "RANLIB=$${RANLIB}" \
12673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12674 distclean) \
12675 || exit 1
12677 @endif find
12679 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
12680 maybe-maintainer-clean-find:
12681 @if find
12682 maybe-maintainer-clean-find: maintainer-clean-find
12684 maintainer-clean-find:
12685 @: $(MAKE); $(unstage)
12686 @[ -f ./find/Makefile ] || exit 0; \
12687 r=`${PWD_COMMAND}`; export r; \
12688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12689 $(HOST_EXPORTS) \
12690 for flag in $(EXTRA_HOST_FLAGS) ; do \
12691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12692 done; \
12693 echo "Doing maintainer-clean in find" ; \
12694 (cd $(HOST_SUBDIR)/find && \
12695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12697 "RANLIB=$${RANLIB}" \
12698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12699 maintainer-clean) \
12700 || exit 1
12702 @endif find
12706 .PHONY: configure-fixincludes maybe-configure-fixincludes
12707 maybe-configure-fixincludes:
12708 @if gcc-bootstrap
12709 configure-fixincludes: stage_current
12710 @endif gcc-bootstrap
12711 @if fixincludes
12712 maybe-configure-fixincludes: configure-fixincludes
12713 configure-fixincludes:
12714 @: $(MAKE); $(unstage)
12715 @r=`${PWD_COMMAND}`; export r; \
12716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12717 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
12718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
12719 $(HOST_EXPORTS) \
12720 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
12721 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
12722 case $(srcdir) in \
12723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12724 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
12725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12726 esac; \
12727 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
12728 libsrcdir="$$s/fixincludes"; \
12729 $(SHELL) $${libsrcdir}/configure \
12730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12731 --target=${target_alias} $${srcdiroption} \
12732 || exit 1
12733 @endif fixincludes
12739 .PHONY: all-fixincludes maybe-all-fixincludes
12740 maybe-all-fixincludes:
12741 @if gcc-bootstrap
12742 all-fixincludes: stage_current
12743 @endif gcc-bootstrap
12744 @if fixincludes
12745 TARGET-fixincludes=all
12746 maybe-all-fixincludes: all-fixincludes
12747 all-fixincludes: configure-fixincludes
12748 @: $(MAKE); $(unstage)
12749 @r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(HOST_EXPORTS) \
12752 (cd $(HOST_SUBDIR)/fixincludes && \
12753 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12754 $(TARGET-fixincludes))
12755 @endif fixincludes
12760 .PHONY: check-fixincludes maybe-check-fixincludes
12761 maybe-check-fixincludes:
12762 @if fixincludes
12763 maybe-check-fixincludes: check-fixincludes
12765 check-fixincludes:
12766 @: $(MAKE); $(unstage)
12767 @r=`${PWD_COMMAND}`; export r; \
12768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12769 $(HOST_EXPORTS) \
12770 (cd $(HOST_SUBDIR)/fixincludes && \
12771 $(MAKE) $(FLAGS_TO_PASS) check)
12773 @endif fixincludes
12775 .PHONY: install-fixincludes maybe-install-fixincludes
12776 maybe-install-fixincludes:
12777 @if fixincludes
12778 maybe-install-fixincludes: install-fixincludes
12780 install-fixincludes: installdirs
12781 @: $(MAKE); $(unstage)
12782 @r=`${PWD_COMMAND}`; export r; \
12783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12784 $(HOST_EXPORTS) \
12785 (cd $(HOST_SUBDIR)/fixincludes && \
12786 $(MAKE) $(FLAGS_TO_PASS) install)
12788 @endif fixincludes
12790 # Other targets (info, dvi, pdf, etc.)
12792 .PHONY: maybe-info-fixincludes info-fixincludes
12793 maybe-info-fixincludes:
12794 @if fixincludes
12795 maybe-info-fixincludes: info-fixincludes
12797 info-fixincludes: \
12798 configure-fixincludes
12799 @: $(MAKE); $(unstage)
12800 @[ -f ./fixincludes/Makefile ] || exit 0; \
12801 r=`${PWD_COMMAND}`; export r; \
12802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12803 $(HOST_EXPORTS) \
12804 for flag in $(EXTRA_HOST_FLAGS) ; do \
12805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12806 done; \
12807 echo "Doing info in fixincludes" ; \
12808 (cd $(HOST_SUBDIR)/fixincludes && \
12809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12811 "RANLIB=$${RANLIB}" \
12812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12813 info) \
12814 || exit 1
12816 @endif fixincludes
12818 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
12819 maybe-dvi-fixincludes:
12820 @if fixincludes
12821 maybe-dvi-fixincludes: dvi-fixincludes
12823 dvi-fixincludes: \
12824 configure-fixincludes
12825 @: $(MAKE); $(unstage)
12826 @[ -f ./fixincludes/Makefile ] || exit 0; \
12827 r=`${PWD_COMMAND}`; export r; \
12828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 $(HOST_EXPORTS) \
12830 for flag in $(EXTRA_HOST_FLAGS) ; do \
12831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12832 done; \
12833 echo "Doing dvi in fixincludes" ; \
12834 (cd $(HOST_SUBDIR)/fixincludes && \
12835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12837 "RANLIB=$${RANLIB}" \
12838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12839 dvi) \
12840 || exit 1
12842 @endif fixincludes
12844 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
12845 maybe-pdf-fixincludes:
12846 @if fixincludes
12847 maybe-pdf-fixincludes: pdf-fixincludes
12849 pdf-fixincludes: \
12850 configure-fixincludes
12851 @: $(MAKE); $(unstage)
12852 @[ -f ./fixincludes/Makefile ] || exit 0; \
12853 r=`${PWD_COMMAND}`; export r; \
12854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12855 $(HOST_EXPORTS) \
12856 for flag in $(EXTRA_HOST_FLAGS) ; do \
12857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12858 done; \
12859 echo "Doing pdf in fixincludes" ; \
12860 (cd $(HOST_SUBDIR)/fixincludes && \
12861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12863 "RANLIB=$${RANLIB}" \
12864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12865 pdf) \
12866 || exit 1
12868 @endif fixincludes
12870 .PHONY: maybe-html-fixincludes html-fixincludes
12871 maybe-html-fixincludes:
12872 @if fixincludes
12873 maybe-html-fixincludes: html-fixincludes
12875 html-fixincludes: \
12876 configure-fixincludes
12877 @: $(MAKE); $(unstage)
12878 @[ -f ./fixincludes/Makefile ] || exit 0; \
12879 r=`${PWD_COMMAND}`; export r; \
12880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12881 $(HOST_EXPORTS) \
12882 for flag in $(EXTRA_HOST_FLAGS) ; do \
12883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12884 done; \
12885 echo "Doing html in fixincludes" ; \
12886 (cd $(HOST_SUBDIR)/fixincludes && \
12887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12889 "RANLIB=$${RANLIB}" \
12890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12891 html) \
12892 || exit 1
12894 @endif fixincludes
12896 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
12897 maybe-TAGS-fixincludes:
12898 @if fixincludes
12899 maybe-TAGS-fixincludes: TAGS-fixincludes
12901 # fixincludes doesn't support TAGS.
12902 TAGS-fixincludes:
12904 @endif fixincludes
12906 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
12907 maybe-install-info-fixincludes:
12908 @if fixincludes
12909 maybe-install-info-fixincludes: install-info-fixincludes
12911 install-info-fixincludes: \
12912 configure-fixincludes \
12913 info-fixincludes
12914 @: $(MAKE); $(unstage)
12915 @[ -f ./fixincludes/Makefile ] || exit 0; \
12916 r=`${PWD_COMMAND}`; export r; \
12917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12918 $(HOST_EXPORTS) \
12919 for flag in $(EXTRA_HOST_FLAGS) ; do \
12920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12921 done; \
12922 echo "Doing install-info in fixincludes" ; \
12923 (cd $(HOST_SUBDIR)/fixincludes && \
12924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12926 "RANLIB=$${RANLIB}" \
12927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12928 install-info) \
12929 || exit 1
12931 @endif fixincludes
12933 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
12934 maybe-install-pdf-fixincludes:
12935 @if fixincludes
12936 maybe-install-pdf-fixincludes: install-pdf-fixincludes
12938 install-pdf-fixincludes: \
12939 configure-fixincludes \
12940 pdf-fixincludes
12941 @: $(MAKE); $(unstage)
12942 @[ -f ./fixincludes/Makefile ] || exit 0; \
12943 r=`${PWD_COMMAND}`; export r; \
12944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12945 $(HOST_EXPORTS) \
12946 for flag in $(EXTRA_HOST_FLAGS) ; do \
12947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12948 done; \
12949 echo "Doing install-pdf in fixincludes" ; \
12950 (cd $(HOST_SUBDIR)/fixincludes && \
12951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12953 "RANLIB=$${RANLIB}" \
12954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12955 install-pdf) \
12956 || exit 1
12958 @endif fixincludes
12960 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
12961 maybe-install-html-fixincludes:
12962 @if fixincludes
12963 maybe-install-html-fixincludes: install-html-fixincludes
12965 install-html-fixincludes: \
12966 configure-fixincludes \
12967 html-fixincludes
12968 @: $(MAKE); $(unstage)
12969 @[ -f ./fixincludes/Makefile ] || exit 0; \
12970 r=`${PWD_COMMAND}`; export r; \
12971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12972 $(HOST_EXPORTS) \
12973 for flag in $(EXTRA_HOST_FLAGS) ; do \
12974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12975 done; \
12976 echo "Doing install-html in fixincludes" ; \
12977 (cd $(HOST_SUBDIR)/fixincludes && \
12978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12980 "RANLIB=$${RANLIB}" \
12981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12982 install-html) \
12983 || exit 1
12985 @endif fixincludes
12987 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
12988 maybe-installcheck-fixincludes:
12989 @if fixincludes
12990 maybe-installcheck-fixincludes: installcheck-fixincludes
12992 installcheck-fixincludes: \
12993 configure-fixincludes
12994 @: $(MAKE); $(unstage)
12995 @[ -f ./fixincludes/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 $(HOST_EXPORTS) \
12999 for flag in $(EXTRA_HOST_FLAGS) ; do \
13000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001 done; \
13002 echo "Doing installcheck in fixincludes" ; \
13003 (cd $(HOST_SUBDIR)/fixincludes && \
13004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006 "RANLIB=$${RANLIB}" \
13007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13008 installcheck) \
13009 || exit 1
13011 @endif fixincludes
13013 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
13014 maybe-mostlyclean-fixincludes:
13015 @if fixincludes
13016 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
13018 mostlyclean-fixincludes:
13019 @: $(MAKE); $(unstage)
13020 @[ -f ./fixincludes/Makefile ] || exit 0; \
13021 r=`${PWD_COMMAND}`; export r; \
13022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13023 $(HOST_EXPORTS) \
13024 for flag in $(EXTRA_HOST_FLAGS) ; do \
13025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13026 done; \
13027 echo "Doing mostlyclean in fixincludes" ; \
13028 (cd $(HOST_SUBDIR)/fixincludes && \
13029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13031 "RANLIB=$${RANLIB}" \
13032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13033 mostlyclean) \
13034 || exit 1
13036 @endif fixincludes
13038 .PHONY: maybe-clean-fixincludes clean-fixincludes
13039 maybe-clean-fixincludes:
13040 @if fixincludes
13041 maybe-clean-fixincludes: clean-fixincludes
13043 clean-fixincludes:
13044 @: $(MAKE); $(unstage)
13045 @[ -f ./fixincludes/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(HOST_EXPORTS) \
13049 for flag in $(EXTRA_HOST_FLAGS) ; do \
13050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13051 done; \
13052 echo "Doing clean in fixincludes" ; \
13053 (cd $(HOST_SUBDIR)/fixincludes && \
13054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13056 "RANLIB=$${RANLIB}" \
13057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13058 clean) \
13059 || exit 1
13061 @endif fixincludes
13063 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
13064 maybe-distclean-fixincludes:
13065 @if fixincludes
13066 maybe-distclean-fixincludes: distclean-fixincludes
13068 distclean-fixincludes:
13069 @: $(MAKE); $(unstage)
13070 @[ -f ./fixincludes/Makefile ] || exit 0; \
13071 r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13073 $(HOST_EXPORTS) \
13074 for flag in $(EXTRA_HOST_FLAGS) ; do \
13075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13076 done; \
13077 echo "Doing distclean in fixincludes" ; \
13078 (cd $(HOST_SUBDIR)/fixincludes && \
13079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13081 "RANLIB=$${RANLIB}" \
13082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13083 distclean) \
13084 || exit 1
13086 @endif fixincludes
13088 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
13089 maybe-maintainer-clean-fixincludes:
13090 @if fixincludes
13091 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
13093 maintainer-clean-fixincludes:
13094 @: $(MAKE); $(unstage)
13095 @[ -f ./fixincludes/Makefile ] || exit 0; \
13096 r=`${PWD_COMMAND}`; export r; \
13097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13098 $(HOST_EXPORTS) \
13099 for flag in $(EXTRA_HOST_FLAGS) ; do \
13100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13101 done; \
13102 echo "Doing maintainer-clean in fixincludes" ; \
13103 (cd $(HOST_SUBDIR)/fixincludes && \
13104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13106 "RANLIB=$${RANLIB}" \
13107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13108 maintainer-clean) \
13109 || exit 1
13111 @endif fixincludes
13115 .PHONY: configure-flex maybe-configure-flex
13116 maybe-configure-flex:
13117 @if gcc-bootstrap
13118 configure-flex: stage_current
13119 @endif gcc-bootstrap
13120 @if flex
13121 maybe-configure-flex: configure-flex
13122 configure-flex:
13123 @: $(MAKE); $(unstage)
13124 @r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
13127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
13128 $(HOST_EXPORTS) \
13129 echo Configuring in $(HOST_SUBDIR)/flex; \
13130 cd "$(HOST_SUBDIR)/flex" || exit 1; \
13131 case $(srcdir) in \
13132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13133 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
13134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13135 esac; \
13136 srcdiroption="--srcdir=$${topdir}/flex"; \
13137 libsrcdir="$$s/flex"; \
13138 $(SHELL) $${libsrcdir}/configure \
13139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13140 --target=${target_alias} $${srcdiroption} \
13141 || exit 1
13142 @endif flex
13148 .PHONY: all-flex maybe-all-flex
13149 maybe-all-flex:
13150 @if gcc-bootstrap
13151 all-flex: stage_current
13152 @endif gcc-bootstrap
13153 @if flex
13154 TARGET-flex=all
13155 maybe-all-flex: all-flex
13156 all-flex: configure-flex
13157 @: $(MAKE); $(unstage)
13158 @r=`${PWD_COMMAND}`; export r; \
13159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13160 $(HOST_EXPORTS) \
13161 (cd $(HOST_SUBDIR)/flex && \
13162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13163 $(TARGET-flex))
13164 @endif flex
13169 .PHONY: check-flex maybe-check-flex
13170 maybe-check-flex:
13171 @if flex
13172 maybe-check-flex: check-flex
13174 # This module is only tested in a native toolchain.
13175 check-flex:
13176 @: $(MAKE); $(unstage)
13177 @if [ '$(host)' = '$(target)' ] ; then \
13178 r=`${PWD_COMMAND}`; export r; \
13179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13180 $(HOST_EXPORTS) \
13181 (cd $(HOST_SUBDIR)/flex && \
13182 $(MAKE) $(FLAGS_TO_PASS) check); \
13185 @endif flex
13187 .PHONY: install-flex maybe-install-flex
13188 maybe-install-flex:
13189 @if flex
13190 maybe-install-flex: install-flex
13192 install-flex: installdirs
13193 @: $(MAKE); $(unstage)
13194 @r=`${PWD_COMMAND}`; export r; \
13195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13196 $(HOST_EXPORTS) \
13197 (cd $(HOST_SUBDIR)/flex && \
13198 $(MAKE) $(FLAGS_TO_PASS) install)
13200 @endif flex
13202 # Other targets (info, dvi, pdf, etc.)
13204 .PHONY: maybe-info-flex info-flex
13205 maybe-info-flex:
13206 @if flex
13207 maybe-info-flex: info-flex
13209 info-flex: \
13210 configure-flex
13211 @: $(MAKE); $(unstage)
13212 @[ -f ./flex/Makefile ] || exit 0; \
13213 r=`${PWD_COMMAND}`; export r; \
13214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13215 $(HOST_EXPORTS) \
13216 for flag in $(EXTRA_HOST_FLAGS) ; do \
13217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13218 done; \
13219 echo "Doing info in flex" ; \
13220 (cd $(HOST_SUBDIR)/flex && \
13221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13223 "RANLIB=$${RANLIB}" \
13224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13225 info) \
13226 || exit 1
13228 @endif flex
13230 .PHONY: maybe-dvi-flex dvi-flex
13231 maybe-dvi-flex:
13232 @if flex
13233 maybe-dvi-flex: dvi-flex
13235 dvi-flex: \
13236 configure-flex
13237 @: $(MAKE); $(unstage)
13238 @[ -f ./flex/Makefile ] || exit 0; \
13239 r=`${PWD_COMMAND}`; export r; \
13240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13241 $(HOST_EXPORTS) \
13242 for flag in $(EXTRA_HOST_FLAGS) ; do \
13243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13244 done; \
13245 echo "Doing dvi in flex" ; \
13246 (cd $(HOST_SUBDIR)/flex && \
13247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13249 "RANLIB=$${RANLIB}" \
13250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13251 dvi) \
13252 || exit 1
13254 @endif flex
13256 .PHONY: maybe-pdf-flex pdf-flex
13257 maybe-pdf-flex:
13258 @if flex
13259 maybe-pdf-flex: pdf-flex
13261 pdf-flex: \
13262 configure-flex
13263 @: $(MAKE); $(unstage)
13264 @[ -f ./flex/Makefile ] || exit 0; \
13265 r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13267 $(HOST_EXPORTS) \
13268 for flag in $(EXTRA_HOST_FLAGS) ; do \
13269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13270 done; \
13271 echo "Doing pdf in flex" ; \
13272 (cd $(HOST_SUBDIR)/flex && \
13273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13275 "RANLIB=$${RANLIB}" \
13276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13277 pdf) \
13278 || exit 1
13280 @endif flex
13282 .PHONY: maybe-html-flex html-flex
13283 maybe-html-flex:
13284 @if flex
13285 maybe-html-flex: html-flex
13287 html-flex: \
13288 configure-flex
13289 @: $(MAKE); $(unstage)
13290 @[ -f ./flex/Makefile ] || exit 0; \
13291 r=`${PWD_COMMAND}`; export r; \
13292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13293 $(HOST_EXPORTS) \
13294 for flag in $(EXTRA_HOST_FLAGS) ; do \
13295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13296 done; \
13297 echo "Doing html in flex" ; \
13298 (cd $(HOST_SUBDIR)/flex && \
13299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13301 "RANLIB=$${RANLIB}" \
13302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13303 html) \
13304 || exit 1
13306 @endif flex
13308 .PHONY: maybe-TAGS-flex TAGS-flex
13309 maybe-TAGS-flex:
13310 @if flex
13311 maybe-TAGS-flex: TAGS-flex
13313 TAGS-flex: \
13314 configure-flex
13315 @: $(MAKE); $(unstage)
13316 @[ -f ./flex/Makefile ] || exit 0; \
13317 r=`${PWD_COMMAND}`; export r; \
13318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13319 $(HOST_EXPORTS) \
13320 for flag in $(EXTRA_HOST_FLAGS) ; do \
13321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13322 done; \
13323 echo "Doing TAGS in flex" ; \
13324 (cd $(HOST_SUBDIR)/flex && \
13325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13327 "RANLIB=$${RANLIB}" \
13328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13329 TAGS) \
13330 || exit 1
13332 @endif flex
13334 .PHONY: maybe-install-info-flex install-info-flex
13335 maybe-install-info-flex:
13336 @if flex
13337 maybe-install-info-flex: install-info-flex
13339 install-info-flex: \
13340 configure-flex \
13341 info-flex
13342 @: $(MAKE); $(unstage)
13343 @[ -f ./flex/Makefile ] || exit 0; \
13344 r=`${PWD_COMMAND}`; export r; \
13345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13346 $(HOST_EXPORTS) \
13347 for flag in $(EXTRA_HOST_FLAGS) ; do \
13348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13349 done; \
13350 echo "Doing install-info in flex" ; \
13351 (cd $(HOST_SUBDIR)/flex && \
13352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13354 "RANLIB=$${RANLIB}" \
13355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13356 install-info) \
13357 || exit 1
13359 @endif flex
13361 .PHONY: maybe-install-pdf-flex install-pdf-flex
13362 maybe-install-pdf-flex:
13363 @if flex
13364 maybe-install-pdf-flex: install-pdf-flex
13366 install-pdf-flex: \
13367 configure-flex \
13368 pdf-flex
13369 @: $(MAKE); $(unstage)
13370 @[ -f ./flex/Makefile ] || exit 0; \
13371 r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13373 $(HOST_EXPORTS) \
13374 for flag in $(EXTRA_HOST_FLAGS) ; do \
13375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13376 done; \
13377 echo "Doing install-pdf in flex" ; \
13378 (cd $(HOST_SUBDIR)/flex && \
13379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13381 "RANLIB=$${RANLIB}" \
13382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13383 install-pdf) \
13384 || exit 1
13386 @endif flex
13388 .PHONY: maybe-install-html-flex install-html-flex
13389 maybe-install-html-flex:
13390 @if flex
13391 maybe-install-html-flex: install-html-flex
13393 install-html-flex: \
13394 configure-flex \
13395 html-flex
13396 @: $(MAKE); $(unstage)
13397 @[ -f ./flex/Makefile ] || exit 0; \
13398 r=`${PWD_COMMAND}`; export r; \
13399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13400 $(HOST_EXPORTS) \
13401 for flag in $(EXTRA_HOST_FLAGS) ; do \
13402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13403 done; \
13404 echo "Doing install-html in flex" ; \
13405 (cd $(HOST_SUBDIR)/flex && \
13406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13408 "RANLIB=$${RANLIB}" \
13409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13410 install-html) \
13411 || exit 1
13413 @endif flex
13415 .PHONY: maybe-installcheck-flex installcheck-flex
13416 maybe-installcheck-flex:
13417 @if flex
13418 maybe-installcheck-flex: installcheck-flex
13420 installcheck-flex: \
13421 configure-flex
13422 @: $(MAKE); $(unstage)
13423 @[ -f ./flex/Makefile ] || exit 0; \
13424 r=`${PWD_COMMAND}`; export r; \
13425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13426 $(HOST_EXPORTS) \
13427 for flag in $(EXTRA_HOST_FLAGS) ; do \
13428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13429 done; \
13430 echo "Doing installcheck in flex" ; \
13431 (cd $(HOST_SUBDIR)/flex && \
13432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13434 "RANLIB=$${RANLIB}" \
13435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13436 installcheck) \
13437 || exit 1
13439 @endif flex
13441 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
13442 maybe-mostlyclean-flex:
13443 @if flex
13444 maybe-mostlyclean-flex: mostlyclean-flex
13446 mostlyclean-flex:
13447 @: $(MAKE); $(unstage)
13448 @[ -f ./flex/Makefile ] || exit 0; \
13449 r=`${PWD_COMMAND}`; export r; \
13450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451 $(HOST_EXPORTS) \
13452 for flag in $(EXTRA_HOST_FLAGS) ; do \
13453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13454 done; \
13455 echo "Doing mostlyclean in flex" ; \
13456 (cd $(HOST_SUBDIR)/flex && \
13457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13459 "RANLIB=$${RANLIB}" \
13460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13461 mostlyclean) \
13462 || exit 1
13464 @endif flex
13466 .PHONY: maybe-clean-flex clean-flex
13467 maybe-clean-flex:
13468 @if flex
13469 maybe-clean-flex: clean-flex
13471 clean-flex:
13472 @: $(MAKE); $(unstage)
13473 @[ -f ./flex/Makefile ] || exit 0; \
13474 r=`${PWD_COMMAND}`; export r; \
13475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13476 $(HOST_EXPORTS) \
13477 for flag in $(EXTRA_HOST_FLAGS) ; do \
13478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13479 done; \
13480 echo "Doing clean in flex" ; \
13481 (cd $(HOST_SUBDIR)/flex && \
13482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13484 "RANLIB=$${RANLIB}" \
13485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13486 clean) \
13487 || exit 1
13489 @endif flex
13491 .PHONY: maybe-distclean-flex distclean-flex
13492 maybe-distclean-flex:
13493 @if flex
13494 maybe-distclean-flex: distclean-flex
13496 distclean-flex:
13497 @: $(MAKE); $(unstage)
13498 @[ -f ./flex/Makefile ] || exit 0; \
13499 r=`${PWD_COMMAND}`; export r; \
13500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13501 $(HOST_EXPORTS) \
13502 for flag in $(EXTRA_HOST_FLAGS) ; do \
13503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13504 done; \
13505 echo "Doing distclean in flex" ; \
13506 (cd $(HOST_SUBDIR)/flex && \
13507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13509 "RANLIB=$${RANLIB}" \
13510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13511 distclean) \
13512 || exit 1
13514 @endif flex
13516 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
13517 maybe-maintainer-clean-flex:
13518 @if flex
13519 maybe-maintainer-clean-flex: maintainer-clean-flex
13521 maintainer-clean-flex:
13522 @: $(MAKE); $(unstage)
13523 @[ -f ./flex/Makefile ] || exit 0; \
13524 r=`${PWD_COMMAND}`; export r; \
13525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13526 $(HOST_EXPORTS) \
13527 for flag in $(EXTRA_HOST_FLAGS) ; do \
13528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13529 done; \
13530 echo "Doing maintainer-clean in flex" ; \
13531 (cd $(HOST_SUBDIR)/flex && \
13532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13534 "RANLIB=$${RANLIB}" \
13535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13536 maintainer-clean) \
13537 || exit 1
13539 @endif flex
13543 .PHONY: configure-gas maybe-configure-gas
13544 maybe-configure-gas:
13545 @if gcc-bootstrap
13546 configure-gas: stage_current
13547 @endif gcc-bootstrap
13548 @if gas
13549 maybe-configure-gas: configure-gas
13550 configure-gas:
13551 @r=`${PWD_COMMAND}`; export r; \
13552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13553 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13555 $(HOST_EXPORTS) \
13556 echo Configuring in $(HOST_SUBDIR)/gas; \
13557 cd "$(HOST_SUBDIR)/gas" || exit 1; \
13558 case $(srcdir) in \
13559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13560 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13562 esac; \
13563 srcdiroption="--srcdir=$${topdir}/gas"; \
13564 libsrcdir="$$s/gas"; \
13565 $(SHELL) $${libsrcdir}/configure \
13566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13567 --target=${target_alias} $${srcdiroption} \
13568 || exit 1
13569 @endif gas
13573 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
13574 maybe-configure-stage1-gas:
13575 @if gas-bootstrap
13576 maybe-configure-stage1-gas: configure-stage1-gas
13577 configure-stage1-gas:
13578 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13579 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13580 @r=`${PWD_COMMAND}`; export r; \
13581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13582 TFLAGS="$(STAGE1_TFLAGS)"; \
13583 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13584 $(HOST_EXPORTS) \
13585 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13586 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
13587 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13588 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
13589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13590 cd $(HOST_SUBDIR)/gas || exit 1; \
13591 case $(srcdir) in \
13592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13593 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13595 esac; \
13596 srcdiroption="--srcdir=$${topdir}/gas"; \
13597 libsrcdir="$$s/gas"; \
13598 $(SHELL) $${libsrcdir}/configure \
13599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13600 --target=${target_alias} $${srcdiroption} \
13601 $(STAGE1_CONFIGURE_FLAGS)
13602 @endif gas-bootstrap
13604 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
13605 maybe-configure-stage2-gas:
13606 @if gas-bootstrap
13607 maybe-configure-stage2-gas: configure-stage2-gas
13608 configure-stage2-gas:
13609 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13610 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13611 @r=`${PWD_COMMAND}`; export r; \
13612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13613 TFLAGS="$(STAGE2_TFLAGS)"; \
13614 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13615 $(HOST_EXPORTS) \
13616 $(POSTSTAGE1_HOST_EXPORTS) \
13617 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13618 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
13619 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13620 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
13621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13622 cd $(HOST_SUBDIR)/gas || exit 1; \
13623 case $(srcdir) in \
13624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13625 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13627 esac; \
13628 srcdiroption="--srcdir=$${topdir}/gas"; \
13629 libsrcdir="$$s/gas"; \
13630 $(SHELL) $${libsrcdir}/configure \
13631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13632 --target=${target_alias} $${srcdiroption} \
13633 --with-build-libsubdir=$(HOST_SUBDIR) \
13634 $(STAGE2_CONFIGURE_FLAGS)
13635 @endif gas-bootstrap
13637 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
13638 maybe-configure-stage3-gas:
13639 @if gas-bootstrap
13640 maybe-configure-stage3-gas: configure-stage3-gas
13641 configure-stage3-gas:
13642 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13644 @r=`${PWD_COMMAND}`; export r; \
13645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13646 TFLAGS="$(STAGE3_TFLAGS)"; \
13647 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13648 $(HOST_EXPORTS) \
13649 $(POSTSTAGE1_HOST_EXPORTS) \
13650 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13651 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
13652 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13653 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
13654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13655 cd $(HOST_SUBDIR)/gas || exit 1; \
13656 case $(srcdir) in \
13657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13658 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13660 esac; \
13661 srcdiroption="--srcdir=$${topdir}/gas"; \
13662 libsrcdir="$$s/gas"; \
13663 $(SHELL) $${libsrcdir}/configure \
13664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13665 --target=${target_alias} $${srcdiroption} \
13666 --with-build-libsubdir=$(HOST_SUBDIR) \
13667 $(STAGE3_CONFIGURE_FLAGS)
13668 @endif gas-bootstrap
13670 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
13671 maybe-configure-stage4-gas:
13672 @if gas-bootstrap
13673 maybe-configure-stage4-gas: configure-stage4-gas
13674 configure-stage4-gas:
13675 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13676 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13677 @r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13679 TFLAGS="$(STAGE4_TFLAGS)"; \
13680 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13681 $(HOST_EXPORTS) \
13682 $(POSTSTAGE1_HOST_EXPORTS) \
13683 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13684 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
13685 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13686 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
13687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13688 cd $(HOST_SUBDIR)/gas || exit 1; \
13689 case $(srcdir) in \
13690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13691 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13693 esac; \
13694 srcdiroption="--srcdir=$${topdir}/gas"; \
13695 libsrcdir="$$s/gas"; \
13696 $(SHELL) $${libsrcdir}/configure \
13697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13698 --target=${target_alias} $${srcdiroption} \
13699 --with-build-libsubdir=$(HOST_SUBDIR) \
13700 $(STAGE4_CONFIGURE_FLAGS)
13701 @endif gas-bootstrap
13703 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
13704 maybe-configure-stageprofile-gas:
13705 @if gas-bootstrap
13706 maybe-configure-stageprofile-gas: configure-stageprofile-gas
13707 configure-stageprofile-gas:
13708 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13709 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13710 @r=`${PWD_COMMAND}`; export r; \
13711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13712 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13713 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13714 $(HOST_EXPORTS) \
13715 $(POSTSTAGE1_HOST_EXPORTS) \
13716 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13717 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
13718 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13719 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
13720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13721 cd $(HOST_SUBDIR)/gas || exit 1; \
13722 case $(srcdir) in \
13723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13724 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13726 esac; \
13727 srcdiroption="--srcdir=$${topdir}/gas"; \
13728 libsrcdir="$$s/gas"; \
13729 $(SHELL) $${libsrcdir}/configure \
13730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13731 --target=${target_alias} $${srcdiroption} \
13732 --with-build-libsubdir=$(HOST_SUBDIR) \
13733 $(STAGEprofile_CONFIGURE_FLAGS)
13734 @endif gas-bootstrap
13736 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
13737 maybe-configure-stagefeedback-gas:
13738 @if gas-bootstrap
13739 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
13740 configure-stagefeedback-gas:
13741 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13742 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13743 @r=`${PWD_COMMAND}`; export r; \
13744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13745 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13746 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13747 $(HOST_EXPORTS) \
13748 $(POSTSTAGE1_HOST_EXPORTS) \
13749 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13750 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
13751 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13752 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
13753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13754 cd $(HOST_SUBDIR)/gas || exit 1; \
13755 case $(srcdir) in \
13756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13757 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13759 esac; \
13760 srcdiroption="--srcdir=$${topdir}/gas"; \
13761 libsrcdir="$$s/gas"; \
13762 $(SHELL) $${libsrcdir}/configure \
13763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13764 --target=${target_alias} $${srcdiroption} \
13765 --with-build-libsubdir=$(HOST_SUBDIR) \
13766 $(STAGEfeedback_CONFIGURE_FLAGS)
13767 @endif gas-bootstrap
13773 .PHONY: all-gas maybe-all-gas
13774 maybe-all-gas:
13775 @if gcc-bootstrap
13776 all-gas: stage_current
13777 @endif gcc-bootstrap
13778 @if gas
13779 TARGET-gas=all
13780 maybe-all-gas: all-gas
13781 all-gas: configure-gas
13782 @r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(HOST_EXPORTS) \
13785 (cd $(HOST_SUBDIR)/gas && \
13786 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13787 $(TARGET-gas))
13788 @endif gas
13792 .PHONY: all-stage1-gas maybe-all-stage1-gas
13793 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
13794 maybe-all-stage1-gas:
13795 maybe-clean-stage1-gas:
13796 @if gas-bootstrap
13797 maybe-all-stage1-gas: all-stage1-gas
13798 all-stage1: all-stage1-gas
13799 TARGET-stage1-gas = $(TARGET-gas)
13800 all-stage1-gas: configure-stage1-gas
13801 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13802 @r=`${PWD_COMMAND}`; export r; \
13803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13804 TFLAGS="$(STAGE1_TFLAGS)"; \
13805 $(HOST_EXPORTS) \
13806 cd $(HOST_SUBDIR)/gas && \
13807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13808 CFLAGS="$(STAGE1_CFLAGS)" \
13809 CXXFLAGS="$(STAGE1_CFLAGS)" \
13810 LIBCFLAGS="$(LIBCFLAGS)" \
13811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13814 $(EXTRA_HOST_FLAGS) \
13815 TFLAGS="$(STAGE1_TFLAGS)" \
13816 $(TARGET-stage1-gas)
13818 maybe-clean-stage1-gas: clean-stage1-gas
13819 clean-stage1: clean-stage1-gas
13820 clean-stage1-gas:
13821 @if [ $(current_stage) = stage1 ]; then \
13822 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13823 else \
13824 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
13825 $(MAKE) stage1-start; \
13826 fi; \
13827 cd $(HOST_SUBDIR)/gas && \
13828 $(MAKE) $(EXTRA_HOST_FLAGS) \
13829 clean
13830 @endif gas-bootstrap
13833 .PHONY: all-stage2-gas maybe-all-stage2-gas
13834 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
13835 maybe-all-stage2-gas:
13836 maybe-clean-stage2-gas:
13837 @if gas-bootstrap
13838 maybe-all-stage2-gas: all-stage2-gas
13839 all-stage2: all-stage2-gas
13840 TARGET-stage2-gas = $(TARGET-gas)
13841 all-stage2-gas: configure-stage2-gas
13842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13843 @r=`${PWD_COMMAND}`; export r; \
13844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13845 TFLAGS="$(STAGE2_TFLAGS)"; \
13846 $(HOST_EXPORTS) \
13847 $(POSTSTAGE1_HOST_EXPORTS) \
13848 cd $(HOST_SUBDIR)/gas && \
13849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13850 CFLAGS="$(STAGE2_CFLAGS)" \
13851 CXXFLAGS="$(STAGE2_CFLAGS)" \
13852 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13857 TFLAGS="$(STAGE2_TFLAGS)" \
13858 $(TARGET-stage2-gas)
13860 maybe-clean-stage2-gas: clean-stage2-gas
13861 clean-stage2: clean-stage2-gas
13862 clean-stage2-gas:
13863 @if [ $(current_stage) = stage2 ]; then \
13864 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13865 else \
13866 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
13867 $(MAKE) stage2-start; \
13868 fi; \
13869 cd $(HOST_SUBDIR)/gas && \
13870 $(MAKE) $(EXTRA_HOST_FLAGS) \
13871 $(POSTSTAGE1_FLAGS_TO_PASS) \
13872 clean
13873 @endif gas-bootstrap
13876 .PHONY: all-stage3-gas maybe-all-stage3-gas
13877 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
13878 maybe-all-stage3-gas:
13879 maybe-clean-stage3-gas:
13880 @if gas-bootstrap
13881 maybe-all-stage3-gas: all-stage3-gas
13882 all-stage3: all-stage3-gas
13883 TARGET-stage3-gas = $(TARGET-gas)
13884 all-stage3-gas: configure-stage3-gas
13885 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13886 @r=`${PWD_COMMAND}`; export r; \
13887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13888 TFLAGS="$(STAGE3_TFLAGS)"; \
13889 $(HOST_EXPORTS) \
13890 $(POSTSTAGE1_HOST_EXPORTS) \
13891 cd $(HOST_SUBDIR)/gas && \
13892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13893 CFLAGS="$(STAGE3_CFLAGS)" \
13894 CXXFLAGS="$(STAGE3_CFLAGS)" \
13895 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13896 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13897 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13898 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13899 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13900 TFLAGS="$(STAGE3_TFLAGS)" \
13901 $(TARGET-stage3-gas)
13903 maybe-clean-stage3-gas: clean-stage3-gas
13904 clean-stage3: clean-stage3-gas
13905 clean-stage3-gas:
13906 @if [ $(current_stage) = stage3 ]; then \
13907 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13908 else \
13909 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
13910 $(MAKE) stage3-start; \
13911 fi; \
13912 cd $(HOST_SUBDIR)/gas && \
13913 $(MAKE) $(EXTRA_HOST_FLAGS) \
13914 $(POSTSTAGE1_FLAGS_TO_PASS) \
13915 clean
13916 @endif gas-bootstrap
13919 .PHONY: all-stage4-gas maybe-all-stage4-gas
13920 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
13921 maybe-all-stage4-gas:
13922 maybe-clean-stage4-gas:
13923 @if gas-bootstrap
13924 maybe-all-stage4-gas: all-stage4-gas
13925 all-stage4: all-stage4-gas
13926 TARGET-stage4-gas = $(TARGET-gas)
13927 all-stage4-gas: configure-stage4-gas
13928 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13929 @r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13931 TFLAGS="$(STAGE4_TFLAGS)"; \
13932 $(HOST_EXPORTS) \
13933 $(POSTSTAGE1_HOST_EXPORTS) \
13934 cd $(HOST_SUBDIR)/gas && \
13935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13936 CFLAGS="$(STAGE4_CFLAGS)" \
13937 CXXFLAGS="$(STAGE4_CFLAGS)" \
13938 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13939 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13940 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13941 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13942 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13943 TFLAGS="$(STAGE4_TFLAGS)" \
13944 $(TARGET-stage4-gas)
13946 maybe-clean-stage4-gas: clean-stage4-gas
13947 clean-stage4: clean-stage4-gas
13948 clean-stage4-gas:
13949 @if [ $(current_stage) = stage4 ]; then \
13950 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13951 else \
13952 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
13953 $(MAKE) stage4-start; \
13954 fi; \
13955 cd $(HOST_SUBDIR)/gas && \
13956 $(MAKE) $(EXTRA_HOST_FLAGS) \
13957 $(POSTSTAGE1_FLAGS_TO_PASS) \
13958 clean
13959 @endif gas-bootstrap
13962 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
13963 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
13964 maybe-all-stageprofile-gas:
13965 maybe-clean-stageprofile-gas:
13966 @if gas-bootstrap
13967 maybe-all-stageprofile-gas: all-stageprofile-gas
13968 all-stageprofile: all-stageprofile-gas
13969 TARGET-stageprofile-gas = $(TARGET-gas)
13970 all-stageprofile-gas: configure-stageprofile-gas
13971 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13972 @r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13975 $(HOST_EXPORTS) \
13976 $(POSTSTAGE1_HOST_EXPORTS) \
13977 cd $(HOST_SUBDIR)/gas && \
13978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13979 CFLAGS="$(STAGEprofile_CFLAGS)" \
13980 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
13981 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13985 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13986 TFLAGS="$(STAGEprofile_TFLAGS)" \
13987 $(TARGET-stageprofile-gas)
13989 maybe-clean-stageprofile-gas: clean-stageprofile-gas
13990 clean-stageprofile: clean-stageprofile-gas
13991 clean-stageprofile-gas:
13992 @if [ $(current_stage) = stageprofile ]; then \
13993 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13994 else \
13995 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
13996 $(MAKE) stageprofile-start; \
13997 fi; \
13998 cd $(HOST_SUBDIR)/gas && \
13999 $(MAKE) $(EXTRA_HOST_FLAGS) \
14000 $(POSTSTAGE1_FLAGS_TO_PASS) \
14001 clean
14002 @endif gas-bootstrap
14005 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
14006 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
14007 maybe-all-stagefeedback-gas:
14008 maybe-clean-stagefeedback-gas:
14009 @if gas-bootstrap
14010 maybe-all-stagefeedback-gas: all-stagefeedback-gas
14011 all-stagefeedback: all-stagefeedback-gas
14012 TARGET-stagefeedback-gas = $(TARGET-gas)
14013 all-stagefeedback-gas: configure-stagefeedback-gas
14014 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14015 @r=`${PWD_COMMAND}`; export r; \
14016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14017 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14018 $(HOST_EXPORTS) \
14019 $(POSTSTAGE1_HOST_EXPORTS) \
14020 cd $(HOST_SUBDIR)/gas && \
14021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14022 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14023 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
14024 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14029 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14030 $(TARGET-stagefeedback-gas)
14032 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
14033 clean-stagefeedback: clean-stagefeedback-gas
14034 clean-stagefeedback-gas:
14035 @if [ $(current_stage) = stagefeedback ]; then \
14036 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14037 else \
14038 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
14039 $(MAKE) stagefeedback-start; \
14040 fi; \
14041 cd $(HOST_SUBDIR)/gas && \
14042 $(MAKE) $(EXTRA_HOST_FLAGS) \
14043 $(POSTSTAGE1_FLAGS_TO_PASS) \
14044 clean
14045 @endif gas-bootstrap
14051 .PHONY: check-gas maybe-check-gas
14052 maybe-check-gas:
14053 @if gas
14054 maybe-check-gas: check-gas
14056 check-gas:
14057 @: $(MAKE); $(unstage)
14058 @r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(HOST_EXPORTS) \
14061 (cd $(HOST_SUBDIR)/gas && \
14062 $(MAKE) $(FLAGS_TO_PASS) check)
14064 @endif gas
14066 .PHONY: install-gas maybe-install-gas
14067 maybe-install-gas:
14068 @if gas
14069 maybe-install-gas: install-gas
14071 install-gas: installdirs
14072 @: $(MAKE); $(unstage)
14073 @r=`${PWD_COMMAND}`; export r; \
14074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14075 $(HOST_EXPORTS) \
14076 (cd $(HOST_SUBDIR)/gas && \
14077 $(MAKE) $(FLAGS_TO_PASS) install)
14079 @endif gas
14081 # Other targets (info, dvi, pdf, etc.)
14083 .PHONY: maybe-info-gas info-gas
14084 maybe-info-gas:
14085 @if gas
14086 maybe-info-gas: info-gas
14088 info-gas: \
14089 configure-gas
14090 @[ -f ./gas/Makefile ] || exit 0; \
14091 r=`${PWD_COMMAND}`; export r; \
14092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14093 $(HOST_EXPORTS) \
14094 for flag in $(EXTRA_HOST_FLAGS) ; do \
14095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14096 done; \
14097 echo "Doing info in gas" ; \
14098 (cd $(HOST_SUBDIR)/gas && \
14099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14101 "RANLIB=$${RANLIB}" \
14102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14103 info) \
14104 || exit 1
14106 @endif gas
14108 .PHONY: maybe-dvi-gas dvi-gas
14109 maybe-dvi-gas:
14110 @if gas
14111 maybe-dvi-gas: dvi-gas
14113 dvi-gas: \
14114 configure-gas
14115 @[ -f ./gas/Makefile ] || exit 0; \
14116 r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 $(HOST_EXPORTS) \
14119 for flag in $(EXTRA_HOST_FLAGS) ; do \
14120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14121 done; \
14122 echo "Doing dvi in gas" ; \
14123 (cd $(HOST_SUBDIR)/gas && \
14124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14126 "RANLIB=$${RANLIB}" \
14127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14128 dvi) \
14129 || exit 1
14131 @endif gas
14133 .PHONY: maybe-pdf-gas pdf-gas
14134 maybe-pdf-gas:
14135 @if gas
14136 maybe-pdf-gas: pdf-gas
14138 pdf-gas: \
14139 configure-gas
14140 @[ -f ./gas/Makefile ] || exit 0; \
14141 r=`${PWD_COMMAND}`; export r; \
14142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14143 $(HOST_EXPORTS) \
14144 for flag in $(EXTRA_HOST_FLAGS) ; do \
14145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14146 done; \
14147 echo "Doing pdf in gas" ; \
14148 (cd $(HOST_SUBDIR)/gas && \
14149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14151 "RANLIB=$${RANLIB}" \
14152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14153 pdf) \
14154 || exit 1
14156 @endif gas
14158 .PHONY: maybe-html-gas html-gas
14159 maybe-html-gas:
14160 @if gas
14161 maybe-html-gas: html-gas
14163 html-gas: \
14164 configure-gas
14165 @[ -f ./gas/Makefile ] || exit 0; \
14166 r=`${PWD_COMMAND}`; export r; \
14167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14168 $(HOST_EXPORTS) \
14169 for flag in $(EXTRA_HOST_FLAGS) ; do \
14170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14171 done; \
14172 echo "Doing html in gas" ; \
14173 (cd $(HOST_SUBDIR)/gas && \
14174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14176 "RANLIB=$${RANLIB}" \
14177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14178 html) \
14179 || exit 1
14181 @endif gas
14183 .PHONY: maybe-TAGS-gas TAGS-gas
14184 maybe-TAGS-gas:
14185 @if gas
14186 maybe-TAGS-gas: TAGS-gas
14188 TAGS-gas: \
14189 configure-gas
14190 @[ -f ./gas/Makefile ] || exit 0; \
14191 r=`${PWD_COMMAND}`; export r; \
14192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14193 $(HOST_EXPORTS) \
14194 for flag in $(EXTRA_HOST_FLAGS) ; do \
14195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14196 done; \
14197 echo "Doing TAGS in gas" ; \
14198 (cd $(HOST_SUBDIR)/gas && \
14199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14201 "RANLIB=$${RANLIB}" \
14202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14203 TAGS) \
14204 || exit 1
14206 @endif gas
14208 .PHONY: maybe-install-info-gas install-info-gas
14209 maybe-install-info-gas:
14210 @if gas
14211 maybe-install-info-gas: install-info-gas
14213 install-info-gas: \
14214 configure-gas \
14215 info-gas
14216 @[ -f ./gas/Makefile ] || exit 0; \
14217 r=`${PWD_COMMAND}`; export r; \
14218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14219 $(HOST_EXPORTS) \
14220 for flag in $(EXTRA_HOST_FLAGS) ; do \
14221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14222 done; \
14223 echo "Doing install-info in gas" ; \
14224 (cd $(HOST_SUBDIR)/gas && \
14225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14227 "RANLIB=$${RANLIB}" \
14228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14229 install-info) \
14230 || exit 1
14232 @endif gas
14234 .PHONY: maybe-install-pdf-gas install-pdf-gas
14235 maybe-install-pdf-gas:
14236 @if gas
14237 maybe-install-pdf-gas: install-pdf-gas
14239 install-pdf-gas: \
14240 configure-gas \
14241 pdf-gas
14242 @[ -f ./gas/Makefile ] || exit 0; \
14243 r=`${PWD_COMMAND}`; export r; \
14244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14245 $(HOST_EXPORTS) \
14246 for flag in $(EXTRA_HOST_FLAGS) ; do \
14247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14248 done; \
14249 echo "Doing install-pdf in gas" ; \
14250 (cd $(HOST_SUBDIR)/gas && \
14251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14253 "RANLIB=$${RANLIB}" \
14254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14255 install-pdf) \
14256 || exit 1
14258 @endif gas
14260 .PHONY: maybe-install-html-gas install-html-gas
14261 maybe-install-html-gas:
14262 @if gas
14263 maybe-install-html-gas: install-html-gas
14265 install-html-gas: \
14266 configure-gas \
14267 html-gas
14268 @[ -f ./gas/Makefile ] || exit 0; \
14269 r=`${PWD_COMMAND}`; export r; \
14270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14271 $(HOST_EXPORTS) \
14272 for flag in $(EXTRA_HOST_FLAGS) ; do \
14273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14274 done; \
14275 echo "Doing install-html in gas" ; \
14276 (cd $(HOST_SUBDIR)/gas && \
14277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14279 "RANLIB=$${RANLIB}" \
14280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14281 install-html) \
14282 || exit 1
14284 @endif gas
14286 .PHONY: maybe-installcheck-gas installcheck-gas
14287 maybe-installcheck-gas:
14288 @if gas
14289 maybe-installcheck-gas: installcheck-gas
14291 installcheck-gas: \
14292 configure-gas
14293 @[ -f ./gas/Makefile ] || exit 0; \
14294 r=`${PWD_COMMAND}`; export r; \
14295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14296 $(HOST_EXPORTS) \
14297 for flag in $(EXTRA_HOST_FLAGS) ; do \
14298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14299 done; \
14300 echo "Doing installcheck in gas" ; \
14301 (cd $(HOST_SUBDIR)/gas && \
14302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14304 "RANLIB=$${RANLIB}" \
14305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14306 installcheck) \
14307 || exit 1
14309 @endif gas
14311 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
14312 maybe-mostlyclean-gas:
14313 @if gas
14314 maybe-mostlyclean-gas: mostlyclean-gas
14316 mostlyclean-gas:
14317 @[ -f ./gas/Makefile ] || exit 0; \
14318 r=`${PWD_COMMAND}`; export r; \
14319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14320 $(HOST_EXPORTS) \
14321 for flag in $(EXTRA_HOST_FLAGS) ; do \
14322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14323 done; \
14324 echo "Doing mostlyclean in gas" ; \
14325 (cd $(HOST_SUBDIR)/gas && \
14326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14328 "RANLIB=$${RANLIB}" \
14329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14330 mostlyclean) \
14331 || exit 1
14333 @endif gas
14335 .PHONY: maybe-clean-gas clean-gas
14336 maybe-clean-gas:
14337 @if gas
14338 maybe-clean-gas: clean-gas
14340 clean-gas:
14341 @[ -f ./gas/Makefile ] || exit 0; \
14342 r=`${PWD_COMMAND}`; export r; \
14343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 $(HOST_EXPORTS) \
14345 for flag in $(EXTRA_HOST_FLAGS) ; do \
14346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14347 done; \
14348 echo "Doing clean in gas" ; \
14349 (cd $(HOST_SUBDIR)/gas && \
14350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14352 "RANLIB=$${RANLIB}" \
14353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14354 clean) \
14355 || exit 1
14357 @endif gas
14359 .PHONY: maybe-distclean-gas distclean-gas
14360 maybe-distclean-gas:
14361 @if gas
14362 maybe-distclean-gas: distclean-gas
14364 distclean-gas:
14365 @[ -f ./gas/Makefile ] || exit 0; \
14366 r=`${PWD_COMMAND}`; export r; \
14367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14368 $(HOST_EXPORTS) \
14369 for flag in $(EXTRA_HOST_FLAGS) ; do \
14370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14371 done; \
14372 echo "Doing distclean in gas" ; \
14373 (cd $(HOST_SUBDIR)/gas && \
14374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14376 "RANLIB=$${RANLIB}" \
14377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14378 distclean) \
14379 || exit 1
14381 @endif gas
14383 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
14384 maybe-maintainer-clean-gas:
14385 @if gas
14386 maybe-maintainer-clean-gas: maintainer-clean-gas
14388 maintainer-clean-gas:
14389 @[ -f ./gas/Makefile ] || exit 0; \
14390 r=`${PWD_COMMAND}`; export r; \
14391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14392 $(HOST_EXPORTS) \
14393 for flag in $(EXTRA_HOST_FLAGS) ; do \
14394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14395 done; \
14396 echo "Doing maintainer-clean in gas" ; \
14397 (cd $(HOST_SUBDIR)/gas && \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14400 "RANLIB=$${RANLIB}" \
14401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14402 maintainer-clean) \
14403 || exit 1
14405 @endif gas
14409 .PHONY: configure-gcc maybe-configure-gcc
14410 maybe-configure-gcc:
14411 @if gcc-bootstrap
14412 configure-gcc: stage_current
14413 @endif gcc-bootstrap
14414 @if gcc
14415 maybe-configure-gcc: configure-gcc
14416 configure-gcc:
14417 @r=`${PWD_COMMAND}`; export r; \
14418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14419 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14421 $(HOST_EXPORTS) \
14422 echo Configuring in $(HOST_SUBDIR)/gcc; \
14423 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
14424 case $(srcdir) in \
14425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14426 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14428 esac; \
14429 srcdiroption="--srcdir=$${topdir}/gcc"; \
14430 libsrcdir="$$s/gcc"; \
14431 $(SHELL) $${libsrcdir}/configure \
14432 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14433 --target=${target_alias} $${srcdiroption} \
14434 || exit 1
14435 @endif gcc
14439 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
14440 maybe-configure-stage1-gcc:
14441 @if gcc-bootstrap
14442 maybe-configure-stage1-gcc: configure-stage1-gcc
14443 configure-stage1-gcc:
14444 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14445 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14446 @r=`${PWD_COMMAND}`; export r; \
14447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14448 TFLAGS="$(STAGE1_TFLAGS)"; \
14449 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14450 $(HOST_EXPORTS) \
14451 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14452 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
14453 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14454 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
14455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14456 cd $(HOST_SUBDIR)/gcc || exit 1; \
14457 case $(srcdir) in \
14458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14459 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14461 esac; \
14462 srcdiroption="--srcdir=$${topdir}/gcc"; \
14463 libsrcdir="$$s/gcc"; \
14464 $(SHELL) $${libsrcdir}/configure \
14465 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14466 --target=${target_alias} $${srcdiroption} \
14467 $(STAGE1_CONFIGURE_FLAGS)
14468 @endif gcc-bootstrap
14470 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
14471 maybe-configure-stage2-gcc:
14472 @if gcc-bootstrap
14473 maybe-configure-stage2-gcc: configure-stage2-gcc
14474 configure-stage2-gcc:
14475 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14477 @r=`${PWD_COMMAND}`; export r; \
14478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14479 TFLAGS="$(STAGE2_TFLAGS)"; \
14480 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14481 $(HOST_EXPORTS) \
14482 $(POSTSTAGE1_HOST_EXPORTS) \
14483 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14484 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
14485 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14486 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
14487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14488 cd $(HOST_SUBDIR)/gcc || exit 1; \
14489 case $(srcdir) in \
14490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14491 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14493 esac; \
14494 srcdiroption="--srcdir=$${topdir}/gcc"; \
14495 libsrcdir="$$s/gcc"; \
14496 $(SHELL) $${libsrcdir}/configure \
14497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14498 --target=${target_alias} $${srcdiroption} \
14499 --with-build-libsubdir=$(HOST_SUBDIR) \
14500 $(STAGE2_CONFIGURE_FLAGS)
14501 @endif gcc-bootstrap
14503 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
14504 maybe-configure-stage3-gcc:
14505 @if gcc-bootstrap
14506 maybe-configure-stage3-gcc: configure-stage3-gcc
14507 configure-stage3-gcc:
14508 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14510 @r=`${PWD_COMMAND}`; export r; \
14511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14512 TFLAGS="$(STAGE3_TFLAGS)"; \
14513 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14514 $(HOST_EXPORTS) \
14515 $(POSTSTAGE1_HOST_EXPORTS) \
14516 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14517 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
14518 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14519 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
14520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14521 cd $(HOST_SUBDIR)/gcc || exit 1; \
14522 case $(srcdir) in \
14523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14524 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14526 esac; \
14527 srcdiroption="--srcdir=$${topdir}/gcc"; \
14528 libsrcdir="$$s/gcc"; \
14529 $(SHELL) $${libsrcdir}/configure \
14530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14531 --target=${target_alias} $${srcdiroption} \
14532 --with-build-libsubdir=$(HOST_SUBDIR) \
14533 $(STAGE3_CONFIGURE_FLAGS)
14534 @endif gcc-bootstrap
14536 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
14537 maybe-configure-stage4-gcc:
14538 @if gcc-bootstrap
14539 maybe-configure-stage4-gcc: configure-stage4-gcc
14540 configure-stage4-gcc:
14541 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14543 @r=`${PWD_COMMAND}`; export r; \
14544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14545 TFLAGS="$(STAGE4_TFLAGS)"; \
14546 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14547 $(HOST_EXPORTS) \
14548 $(POSTSTAGE1_HOST_EXPORTS) \
14549 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14550 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
14551 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14552 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
14553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14554 cd $(HOST_SUBDIR)/gcc || exit 1; \
14555 case $(srcdir) in \
14556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14557 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14559 esac; \
14560 srcdiroption="--srcdir=$${topdir}/gcc"; \
14561 libsrcdir="$$s/gcc"; \
14562 $(SHELL) $${libsrcdir}/configure \
14563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14564 --target=${target_alias} $${srcdiroption} \
14565 --with-build-libsubdir=$(HOST_SUBDIR) \
14566 $(STAGE4_CONFIGURE_FLAGS)
14567 @endif gcc-bootstrap
14569 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
14570 maybe-configure-stageprofile-gcc:
14571 @if gcc-bootstrap
14572 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
14573 configure-stageprofile-gcc:
14574 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14576 @r=`${PWD_COMMAND}`; export r; \
14577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14578 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14579 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14580 $(HOST_EXPORTS) \
14581 $(POSTSTAGE1_HOST_EXPORTS) \
14582 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14583 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
14584 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14585 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
14586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14587 cd $(HOST_SUBDIR)/gcc || exit 1; \
14588 case $(srcdir) in \
14589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14590 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14592 esac; \
14593 srcdiroption="--srcdir=$${topdir}/gcc"; \
14594 libsrcdir="$$s/gcc"; \
14595 $(SHELL) $${libsrcdir}/configure \
14596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14597 --target=${target_alias} $${srcdiroption} \
14598 --with-build-libsubdir=$(HOST_SUBDIR) \
14599 $(STAGEprofile_CONFIGURE_FLAGS)
14600 @endif gcc-bootstrap
14602 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
14603 maybe-configure-stagefeedback-gcc:
14604 @if gcc-bootstrap
14605 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
14606 configure-stagefeedback-gcc:
14607 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14609 @r=`${PWD_COMMAND}`; export r; \
14610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14611 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14612 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14613 $(HOST_EXPORTS) \
14614 $(POSTSTAGE1_HOST_EXPORTS) \
14615 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14616 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
14617 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14618 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
14619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14620 cd $(HOST_SUBDIR)/gcc || exit 1; \
14621 case $(srcdir) in \
14622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14623 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14625 esac; \
14626 srcdiroption="--srcdir=$${topdir}/gcc"; \
14627 libsrcdir="$$s/gcc"; \
14628 $(SHELL) $${libsrcdir}/configure \
14629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14630 --target=${target_alias} $${srcdiroption} \
14631 --with-build-libsubdir=$(HOST_SUBDIR) \
14632 $(STAGEfeedback_CONFIGURE_FLAGS)
14633 @endif gcc-bootstrap
14639 .PHONY: all-gcc maybe-all-gcc
14640 maybe-all-gcc:
14641 @if gcc-bootstrap
14642 all-gcc: stage_current
14643 @endif gcc-bootstrap
14644 @if gcc
14645 TARGET-gcc=all
14646 maybe-all-gcc: all-gcc
14647 all-gcc: configure-gcc
14648 @r=`${PWD_COMMAND}`; export r; \
14649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14650 $(HOST_EXPORTS) \
14651 (cd $(HOST_SUBDIR)/gcc && \
14652 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14653 $(TARGET-gcc))
14654 @endif gcc
14658 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
14659 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
14660 maybe-all-stage1-gcc:
14661 maybe-clean-stage1-gcc:
14662 @if gcc-bootstrap
14663 maybe-all-stage1-gcc: all-stage1-gcc
14664 all-stage1: all-stage1-gcc
14665 TARGET-stage1-gcc = $(TARGET-gcc)
14666 all-stage1-gcc: configure-stage1-gcc
14667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14668 @r=`${PWD_COMMAND}`; export r; \
14669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14670 TFLAGS="$(STAGE1_TFLAGS)"; \
14671 $(HOST_EXPORTS) \
14672 cd $(HOST_SUBDIR)/gcc && \
14673 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14674 CFLAGS="$(STAGE1_CFLAGS)" \
14675 CXXFLAGS="$(STAGE1_CFLAGS)" \
14676 LIBCFLAGS="$(LIBCFLAGS)" \
14677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14680 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14681 TFLAGS="$(STAGE1_TFLAGS)" \
14682 $(TARGET-stage1-gcc)
14684 maybe-clean-stage1-gcc: clean-stage1-gcc
14685 clean-stage1: clean-stage1-gcc
14686 clean-stage1-gcc:
14687 @if [ $(current_stage) = stage1 ]; then \
14688 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14689 else \
14690 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
14691 $(MAKE) stage1-start; \
14692 fi; \
14693 cd $(HOST_SUBDIR)/gcc && \
14694 $(MAKE) $(EXTRA_HOST_FLAGS) \
14695 $(EXTRA_GCC_FLAGS) clean
14696 @endif gcc-bootstrap
14699 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
14700 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
14701 maybe-all-stage2-gcc:
14702 maybe-clean-stage2-gcc:
14703 @if gcc-bootstrap
14704 maybe-all-stage2-gcc: all-stage2-gcc
14705 all-stage2: all-stage2-gcc
14706 TARGET-stage2-gcc = $(TARGET-gcc)
14707 all-stage2-gcc: configure-stage2-gcc
14708 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14709 @r=`${PWD_COMMAND}`; export r; \
14710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14711 TFLAGS="$(STAGE2_TFLAGS)"; \
14712 $(HOST_EXPORTS) \
14713 $(POSTSTAGE1_HOST_EXPORTS) \
14714 cd $(HOST_SUBDIR)/gcc && \
14715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14716 CFLAGS="$(STAGE2_CFLAGS)" \
14717 CXXFLAGS="$(STAGE2_CFLAGS)" \
14718 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14719 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14720 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14721 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14722 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14723 TFLAGS="$(STAGE2_TFLAGS)" \
14724 $(TARGET-stage2-gcc)
14726 maybe-clean-stage2-gcc: clean-stage2-gcc
14727 clean-stage2: clean-stage2-gcc
14728 clean-stage2-gcc:
14729 @if [ $(current_stage) = stage2 ]; then \
14730 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14731 else \
14732 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
14733 $(MAKE) stage2-start; \
14734 fi; \
14735 cd $(HOST_SUBDIR)/gcc && \
14736 $(MAKE) $(EXTRA_HOST_FLAGS) \
14737 $(POSTSTAGE1_FLAGS_TO_PASS) \
14738 $(EXTRA_GCC_FLAGS) clean
14739 @endif gcc-bootstrap
14742 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
14743 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
14744 maybe-all-stage3-gcc:
14745 maybe-clean-stage3-gcc:
14746 @if gcc-bootstrap
14747 maybe-all-stage3-gcc: all-stage3-gcc
14748 all-stage3: all-stage3-gcc
14749 TARGET-stage3-gcc = $(TARGET-gcc)
14750 all-stage3-gcc: configure-stage3-gcc
14751 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14752 @r=`${PWD_COMMAND}`; export r; \
14753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14754 TFLAGS="$(STAGE3_TFLAGS)"; \
14755 $(HOST_EXPORTS) \
14756 $(POSTSTAGE1_HOST_EXPORTS) \
14757 cd $(HOST_SUBDIR)/gcc && \
14758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14759 CFLAGS="$(STAGE3_CFLAGS)" \
14760 CXXFLAGS="$(STAGE3_CFLAGS)" \
14761 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14762 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14763 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14764 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14765 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14766 TFLAGS="$(STAGE3_TFLAGS)" \
14767 $(TARGET-stage3-gcc)
14769 maybe-clean-stage3-gcc: clean-stage3-gcc
14770 clean-stage3: clean-stage3-gcc
14771 clean-stage3-gcc:
14772 @if [ $(current_stage) = stage3 ]; then \
14773 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14774 else \
14775 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
14776 $(MAKE) stage3-start; \
14777 fi; \
14778 cd $(HOST_SUBDIR)/gcc && \
14779 $(MAKE) $(EXTRA_HOST_FLAGS) \
14780 $(POSTSTAGE1_FLAGS_TO_PASS) \
14781 $(EXTRA_GCC_FLAGS) clean
14782 @endif gcc-bootstrap
14785 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
14786 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
14787 maybe-all-stage4-gcc:
14788 maybe-clean-stage4-gcc:
14789 @if gcc-bootstrap
14790 maybe-all-stage4-gcc: all-stage4-gcc
14791 all-stage4: all-stage4-gcc
14792 TARGET-stage4-gcc = $(TARGET-gcc)
14793 all-stage4-gcc: configure-stage4-gcc
14794 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14795 @r=`${PWD_COMMAND}`; export r; \
14796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14797 TFLAGS="$(STAGE4_TFLAGS)"; \
14798 $(HOST_EXPORTS) \
14799 $(POSTSTAGE1_HOST_EXPORTS) \
14800 cd $(HOST_SUBDIR)/gcc && \
14801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14802 CFLAGS="$(STAGE4_CFLAGS)" \
14803 CXXFLAGS="$(STAGE4_CFLAGS)" \
14804 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14808 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14809 TFLAGS="$(STAGE4_TFLAGS)" \
14810 $(TARGET-stage4-gcc)
14812 maybe-clean-stage4-gcc: clean-stage4-gcc
14813 clean-stage4: clean-stage4-gcc
14814 clean-stage4-gcc:
14815 @if [ $(current_stage) = stage4 ]; then \
14816 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14817 else \
14818 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
14819 $(MAKE) stage4-start; \
14820 fi; \
14821 cd $(HOST_SUBDIR)/gcc && \
14822 $(MAKE) $(EXTRA_HOST_FLAGS) \
14823 $(POSTSTAGE1_FLAGS_TO_PASS) \
14824 $(EXTRA_GCC_FLAGS) clean
14825 @endif gcc-bootstrap
14828 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
14829 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
14830 maybe-all-stageprofile-gcc:
14831 maybe-clean-stageprofile-gcc:
14832 @if gcc-bootstrap
14833 maybe-all-stageprofile-gcc: all-stageprofile-gcc
14834 all-stageprofile: all-stageprofile-gcc
14835 TARGET-stageprofile-gcc = $(TARGET-gcc)
14836 all-stageprofile-gcc: configure-stageprofile-gcc
14837 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14838 @r=`${PWD_COMMAND}`; export r; \
14839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14840 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14841 $(HOST_EXPORTS) \
14842 $(POSTSTAGE1_HOST_EXPORTS) \
14843 cd $(HOST_SUBDIR)/gcc && \
14844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14845 CFLAGS="$(STAGEprofile_CFLAGS)" \
14846 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
14847 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14851 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14852 TFLAGS="$(STAGEprofile_TFLAGS)" \
14853 $(TARGET-stageprofile-gcc)
14855 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
14856 clean-stageprofile: clean-stageprofile-gcc
14857 clean-stageprofile-gcc:
14858 @if [ $(current_stage) = stageprofile ]; then \
14859 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14860 else \
14861 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
14862 $(MAKE) stageprofile-start; \
14863 fi; \
14864 cd $(HOST_SUBDIR)/gcc && \
14865 $(MAKE) $(EXTRA_HOST_FLAGS) \
14866 $(POSTSTAGE1_FLAGS_TO_PASS) \
14867 $(EXTRA_GCC_FLAGS) clean
14868 @endif gcc-bootstrap
14871 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
14872 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
14873 maybe-all-stagefeedback-gcc:
14874 maybe-clean-stagefeedback-gcc:
14875 @if gcc-bootstrap
14876 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
14877 all-stagefeedback: all-stagefeedback-gcc
14878 TARGET-stagefeedback-gcc = $(TARGET-gcc)
14879 all-stagefeedback-gcc: configure-stagefeedback-gcc
14880 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14881 @r=`${PWD_COMMAND}`; export r; \
14882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14883 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14884 $(HOST_EXPORTS) \
14885 $(POSTSTAGE1_HOST_EXPORTS) \
14886 cd $(HOST_SUBDIR)/gcc && \
14887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14888 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14889 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
14890 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14894 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14895 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14896 $(TARGET-stagefeedback-gcc)
14898 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
14899 clean-stagefeedback: clean-stagefeedback-gcc
14900 clean-stagefeedback-gcc:
14901 @if [ $(current_stage) = stagefeedback ]; then \
14902 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14903 else \
14904 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
14905 $(MAKE) stagefeedback-start; \
14906 fi; \
14907 cd $(HOST_SUBDIR)/gcc && \
14908 $(MAKE) $(EXTRA_HOST_FLAGS) \
14909 $(POSTSTAGE1_FLAGS_TO_PASS) \
14910 $(EXTRA_GCC_FLAGS) clean
14911 @endif gcc-bootstrap
14917 .PHONY: check-gcc maybe-check-gcc
14918 maybe-check-gcc:
14919 @if gcc
14920 maybe-check-gcc: check-gcc
14922 check-gcc:
14923 @: $(MAKE); $(unstage)
14924 @r=`${PWD_COMMAND}`; export r; \
14925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14926 $(HOST_EXPORTS) \
14927 (cd $(HOST_SUBDIR)/gcc && \
14928 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
14930 @endif gcc
14932 .PHONY: install-gcc maybe-install-gcc
14933 maybe-install-gcc:
14934 @if gcc
14935 maybe-install-gcc: install-gcc
14937 install-gcc: installdirs
14938 @: $(MAKE); $(unstage)
14939 @r=`${PWD_COMMAND}`; export r; \
14940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14941 $(HOST_EXPORTS) \
14942 (cd $(HOST_SUBDIR)/gcc && \
14943 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
14945 @endif gcc
14947 # Other targets (info, dvi, pdf, etc.)
14949 .PHONY: maybe-info-gcc info-gcc
14950 maybe-info-gcc:
14951 @if gcc
14952 maybe-info-gcc: info-gcc
14954 info-gcc: \
14955 configure-gcc
14956 @[ -f ./gcc/Makefile ] || exit 0; \
14957 r=`${PWD_COMMAND}`; export r; \
14958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14959 $(HOST_EXPORTS) \
14960 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14962 done; \
14963 echo "Doing info in gcc" ; \
14964 (cd $(HOST_SUBDIR)/gcc && \
14965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14967 "RANLIB=$${RANLIB}" \
14968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14969 info) \
14970 || exit 1
14972 @endif gcc
14974 .PHONY: maybe-dvi-gcc dvi-gcc
14975 maybe-dvi-gcc:
14976 @if gcc
14977 maybe-dvi-gcc: dvi-gcc
14979 dvi-gcc: \
14980 configure-gcc
14981 @[ -f ./gcc/Makefile ] || exit 0; \
14982 r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984 $(HOST_EXPORTS) \
14985 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14987 done; \
14988 echo "Doing dvi in gcc" ; \
14989 (cd $(HOST_SUBDIR)/gcc && \
14990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14992 "RANLIB=$${RANLIB}" \
14993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14994 dvi) \
14995 || exit 1
14997 @endif gcc
14999 .PHONY: maybe-pdf-gcc pdf-gcc
15000 maybe-pdf-gcc:
15001 @if gcc
15002 maybe-pdf-gcc: pdf-gcc
15004 pdf-gcc: \
15005 configure-gcc
15006 @[ -f ./gcc/Makefile ] || exit 0; \
15007 r=`${PWD_COMMAND}`; export r; \
15008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15009 $(HOST_EXPORTS) \
15010 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15012 done; \
15013 echo "Doing pdf in gcc" ; \
15014 (cd $(HOST_SUBDIR)/gcc && \
15015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15017 "RANLIB=$${RANLIB}" \
15018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15019 pdf) \
15020 || exit 1
15022 @endif gcc
15024 .PHONY: maybe-html-gcc html-gcc
15025 maybe-html-gcc:
15026 @if gcc
15027 maybe-html-gcc: html-gcc
15029 html-gcc: \
15030 configure-gcc
15031 @[ -f ./gcc/Makefile ] || exit 0; \
15032 r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15034 $(HOST_EXPORTS) \
15035 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15037 done; \
15038 echo "Doing html in gcc" ; \
15039 (cd $(HOST_SUBDIR)/gcc && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15044 html) \
15045 || exit 1
15047 @endif gcc
15049 .PHONY: maybe-TAGS-gcc TAGS-gcc
15050 maybe-TAGS-gcc:
15051 @if gcc
15052 maybe-TAGS-gcc: TAGS-gcc
15054 TAGS-gcc: \
15055 configure-gcc
15056 @[ -f ./gcc/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059 $(HOST_EXPORTS) \
15060 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15062 done; \
15063 echo "Doing TAGS in gcc" ; \
15064 (cd $(HOST_SUBDIR)/gcc && \
15065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15067 "RANLIB=$${RANLIB}" \
15068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15069 TAGS) \
15070 || exit 1
15072 @endif gcc
15074 .PHONY: maybe-install-info-gcc install-info-gcc
15075 maybe-install-info-gcc:
15076 @if gcc
15077 maybe-install-info-gcc: install-info-gcc
15079 install-info-gcc: \
15080 configure-gcc \
15081 info-gcc
15082 @[ -f ./gcc/Makefile ] || exit 0; \
15083 r=`${PWD_COMMAND}`; export r; \
15084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085 $(HOST_EXPORTS) \
15086 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15088 done; \
15089 echo "Doing install-info in gcc" ; \
15090 (cd $(HOST_SUBDIR)/gcc && \
15091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093 "RANLIB=$${RANLIB}" \
15094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15095 install-info) \
15096 || exit 1
15098 @endif gcc
15100 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
15101 maybe-install-pdf-gcc:
15102 @if gcc
15103 maybe-install-pdf-gcc: install-pdf-gcc
15105 install-pdf-gcc: \
15106 configure-gcc \
15107 pdf-gcc
15108 @[ -f ./gcc/Makefile ] || exit 0; \
15109 r=`${PWD_COMMAND}`; export r; \
15110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15111 $(HOST_EXPORTS) \
15112 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15114 done; \
15115 echo "Doing install-pdf in gcc" ; \
15116 (cd $(HOST_SUBDIR)/gcc && \
15117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15119 "RANLIB=$${RANLIB}" \
15120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15121 install-pdf) \
15122 || exit 1
15124 @endif gcc
15126 .PHONY: maybe-install-html-gcc install-html-gcc
15127 maybe-install-html-gcc:
15128 @if gcc
15129 maybe-install-html-gcc: install-html-gcc
15131 install-html-gcc: \
15132 configure-gcc \
15133 html-gcc
15134 @[ -f ./gcc/Makefile ] || exit 0; \
15135 r=`${PWD_COMMAND}`; export r; \
15136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15137 $(HOST_EXPORTS) \
15138 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15140 done; \
15141 echo "Doing install-html in gcc" ; \
15142 (cd $(HOST_SUBDIR)/gcc && \
15143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15145 "RANLIB=$${RANLIB}" \
15146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15147 install-html) \
15148 || exit 1
15150 @endif gcc
15152 .PHONY: maybe-installcheck-gcc installcheck-gcc
15153 maybe-installcheck-gcc:
15154 @if gcc
15155 maybe-installcheck-gcc: installcheck-gcc
15157 installcheck-gcc: \
15158 configure-gcc
15159 @[ -f ./gcc/Makefile ] || exit 0; \
15160 r=`${PWD_COMMAND}`; export r; \
15161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15162 $(HOST_EXPORTS) \
15163 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15165 done; \
15166 echo "Doing installcheck in gcc" ; \
15167 (cd $(HOST_SUBDIR)/gcc && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15170 "RANLIB=$${RANLIB}" \
15171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15172 installcheck) \
15173 || exit 1
15175 @endif gcc
15177 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
15178 maybe-mostlyclean-gcc:
15179 @if gcc
15180 maybe-mostlyclean-gcc: mostlyclean-gcc
15182 mostlyclean-gcc:
15183 @[ -f ./gcc/Makefile ] || exit 0; \
15184 r=`${PWD_COMMAND}`; export r; \
15185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15186 $(HOST_EXPORTS) \
15187 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15189 done; \
15190 echo "Doing mostlyclean in gcc" ; \
15191 (cd $(HOST_SUBDIR)/gcc && \
15192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15194 "RANLIB=$${RANLIB}" \
15195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15196 mostlyclean) \
15197 || exit 1
15199 @endif gcc
15201 .PHONY: maybe-clean-gcc clean-gcc
15202 maybe-clean-gcc:
15203 @if gcc
15204 maybe-clean-gcc: clean-gcc
15206 clean-gcc:
15207 @[ -f ./gcc/Makefile ] || exit 0; \
15208 r=`${PWD_COMMAND}`; export r; \
15209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15210 $(HOST_EXPORTS) \
15211 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15213 done; \
15214 echo "Doing clean in gcc" ; \
15215 (cd $(HOST_SUBDIR)/gcc && \
15216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15218 "RANLIB=$${RANLIB}" \
15219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15220 clean) \
15221 || exit 1
15223 @endif gcc
15225 .PHONY: maybe-distclean-gcc distclean-gcc
15226 maybe-distclean-gcc:
15227 @if gcc
15228 maybe-distclean-gcc: distclean-gcc
15230 distclean-gcc:
15231 @[ -f ./gcc/Makefile ] || exit 0; \
15232 r=`${PWD_COMMAND}`; export r; \
15233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15234 $(HOST_EXPORTS) \
15235 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15237 done; \
15238 echo "Doing distclean in gcc" ; \
15239 (cd $(HOST_SUBDIR)/gcc && \
15240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15242 "RANLIB=$${RANLIB}" \
15243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15244 distclean) \
15245 || exit 1
15247 @endif gcc
15249 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15250 maybe-maintainer-clean-gcc:
15251 @if gcc
15252 maybe-maintainer-clean-gcc: maintainer-clean-gcc
15254 maintainer-clean-gcc:
15255 @[ -f ./gcc/Makefile ] || exit 0; \
15256 r=`${PWD_COMMAND}`; export r; \
15257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15258 $(HOST_EXPORTS) \
15259 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15261 done; \
15262 echo "Doing maintainer-clean in gcc" ; \
15263 (cd $(HOST_SUBDIR)/gcc && \
15264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15266 "RANLIB=$${RANLIB}" \
15267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15268 maintainer-clean) \
15269 || exit 1
15271 @endif gcc
15275 .PHONY: configure-gawk maybe-configure-gawk
15276 maybe-configure-gawk:
15277 @if gcc-bootstrap
15278 configure-gawk: stage_current
15279 @endif gcc-bootstrap
15280 @if gawk
15281 maybe-configure-gawk: configure-gawk
15282 configure-gawk:
15283 @: $(MAKE); $(unstage)
15284 @r=`${PWD_COMMAND}`; export r; \
15285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15286 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
15287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
15288 $(HOST_EXPORTS) \
15289 echo Configuring in $(HOST_SUBDIR)/gawk; \
15290 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
15291 case $(srcdir) in \
15292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15293 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
15294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15295 esac; \
15296 srcdiroption="--srcdir=$${topdir}/gawk"; \
15297 libsrcdir="$$s/gawk"; \
15298 $(SHELL) $${libsrcdir}/configure \
15299 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15300 --target=${target_alias} $${srcdiroption} \
15301 || exit 1
15302 @endif gawk
15308 .PHONY: all-gawk maybe-all-gawk
15309 maybe-all-gawk:
15310 @if gcc-bootstrap
15311 all-gawk: stage_current
15312 @endif gcc-bootstrap
15313 @if gawk
15314 TARGET-gawk=all
15315 maybe-all-gawk: all-gawk
15316 all-gawk: configure-gawk
15317 @: $(MAKE); $(unstage)
15318 @r=`${PWD_COMMAND}`; export r; \
15319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15320 $(HOST_EXPORTS) \
15321 (cd $(HOST_SUBDIR)/gawk && \
15322 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15323 $(TARGET-gawk))
15324 @endif gawk
15329 .PHONY: check-gawk maybe-check-gawk
15330 maybe-check-gawk:
15331 @if gawk
15332 maybe-check-gawk: check-gawk
15334 check-gawk:
15335 @: $(MAKE); $(unstage)
15336 @r=`${PWD_COMMAND}`; export r; \
15337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15338 $(HOST_EXPORTS) \
15339 (cd $(HOST_SUBDIR)/gawk && \
15340 $(MAKE) $(FLAGS_TO_PASS) check)
15342 @endif gawk
15344 .PHONY: install-gawk maybe-install-gawk
15345 maybe-install-gawk:
15346 @if gawk
15347 maybe-install-gawk: install-gawk
15349 install-gawk: installdirs
15350 @: $(MAKE); $(unstage)
15351 @r=`${PWD_COMMAND}`; export r; \
15352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15353 $(HOST_EXPORTS) \
15354 (cd $(HOST_SUBDIR)/gawk && \
15355 $(MAKE) $(FLAGS_TO_PASS) install)
15357 @endif gawk
15359 # Other targets (info, dvi, pdf, etc.)
15361 .PHONY: maybe-info-gawk info-gawk
15362 maybe-info-gawk:
15363 @if gawk
15364 maybe-info-gawk: info-gawk
15366 info-gawk: \
15367 configure-gawk
15368 @: $(MAKE); $(unstage)
15369 @[ -f ./gawk/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 $(HOST_EXPORTS) \
15373 for flag in $(EXTRA_HOST_FLAGS) ; do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing info in gawk" ; \
15377 (cd $(HOST_SUBDIR)/gawk && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15380 "RANLIB=$${RANLIB}" \
15381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15382 info) \
15383 || exit 1
15385 @endif gawk
15387 .PHONY: maybe-dvi-gawk dvi-gawk
15388 maybe-dvi-gawk:
15389 @if gawk
15390 maybe-dvi-gawk: dvi-gawk
15392 dvi-gawk: \
15393 configure-gawk
15394 @: $(MAKE); $(unstage)
15395 @[ -f ./gawk/Makefile ] || exit 0; \
15396 r=`${PWD_COMMAND}`; export r; \
15397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15398 $(HOST_EXPORTS) \
15399 for flag in $(EXTRA_HOST_FLAGS) ; do \
15400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15401 done; \
15402 echo "Doing dvi in gawk" ; \
15403 (cd $(HOST_SUBDIR)/gawk && \
15404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15406 "RANLIB=$${RANLIB}" \
15407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15408 dvi) \
15409 || exit 1
15411 @endif gawk
15413 .PHONY: maybe-pdf-gawk pdf-gawk
15414 maybe-pdf-gawk:
15415 @if gawk
15416 maybe-pdf-gawk: pdf-gawk
15418 pdf-gawk: \
15419 configure-gawk
15420 @: $(MAKE); $(unstage)
15421 @[ -f ./gawk/Makefile ] || exit 0; \
15422 r=`${PWD_COMMAND}`; export r; \
15423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15424 $(HOST_EXPORTS) \
15425 for flag in $(EXTRA_HOST_FLAGS) ; do \
15426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15427 done; \
15428 echo "Doing pdf in gawk" ; \
15429 (cd $(HOST_SUBDIR)/gawk && \
15430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15432 "RANLIB=$${RANLIB}" \
15433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15434 pdf) \
15435 || exit 1
15437 @endif gawk
15439 .PHONY: maybe-html-gawk html-gawk
15440 maybe-html-gawk:
15441 @if gawk
15442 maybe-html-gawk: html-gawk
15444 html-gawk: \
15445 configure-gawk
15446 @: $(MAKE); $(unstage)
15447 @[ -f ./gawk/Makefile ] || exit 0; \
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 $(HOST_EXPORTS) \
15451 for flag in $(EXTRA_HOST_FLAGS) ; do \
15452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15453 done; \
15454 echo "Doing html in gawk" ; \
15455 (cd $(HOST_SUBDIR)/gawk && \
15456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15458 "RANLIB=$${RANLIB}" \
15459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15460 html) \
15461 || exit 1
15463 @endif gawk
15465 .PHONY: maybe-TAGS-gawk TAGS-gawk
15466 maybe-TAGS-gawk:
15467 @if gawk
15468 maybe-TAGS-gawk: TAGS-gawk
15470 TAGS-gawk: \
15471 configure-gawk
15472 @: $(MAKE); $(unstage)
15473 @[ -f ./gawk/Makefile ] || exit 0; \
15474 r=`${PWD_COMMAND}`; export r; \
15475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15476 $(HOST_EXPORTS) \
15477 for flag in $(EXTRA_HOST_FLAGS) ; do \
15478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15479 done; \
15480 echo "Doing TAGS in gawk" ; \
15481 (cd $(HOST_SUBDIR)/gawk && \
15482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15484 "RANLIB=$${RANLIB}" \
15485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15486 TAGS) \
15487 || exit 1
15489 @endif gawk
15491 .PHONY: maybe-install-info-gawk install-info-gawk
15492 maybe-install-info-gawk:
15493 @if gawk
15494 maybe-install-info-gawk: install-info-gawk
15496 install-info-gawk: \
15497 configure-gawk \
15498 info-gawk
15499 @: $(MAKE); $(unstage)
15500 @[ -f ./gawk/Makefile ] || exit 0; \
15501 r=`${PWD_COMMAND}`; export r; \
15502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503 $(HOST_EXPORTS) \
15504 for flag in $(EXTRA_HOST_FLAGS) ; do \
15505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15506 done; \
15507 echo "Doing install-info in gawk" ; \
15508 (cd $(HOST_SUBDIR)/gawk && \
15509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15511 "RANLIB=$${RANLIB}" \
15512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15513 install-info) \
15514 || exit 1
15516 @endif gawk
15518 .PHONY: maybe-install-pdf-gawk install-pdf-gawk
15519 maybe-install-pdf-gawk:
15520 @if gawk
15521 maybe-install-pdf-gawk: install-pdf-gawk
15523 install-pdf-gawk: \
15524 configure-gawk \
15525 pdf-gawk
15526 @: $(MAKE); $(unstage)
15527 @[ -f ./gawk/Makefile ] || exit 0; \
15528 r=`${PWD_COMMAND}`; export r; \
15529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15530 $(HOST_EXPORTS) \
15531 for flag in $(EXTRA_HOST_FLAGS) ; do \
15532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15533 done; \
15534 echo "Doing install-pdf in gawk" ; \
15535 (cd $(HOST_SUBDIR)/gawk && \
15536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15538 "RANLIB=$${RANLIB}" \
15539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15540 install-pdf) \
15541 || exit 1
15543 @endif gawk
15545 .PHONY: maybe-install-html-gawk install-html-gawk
15546 maybe-install-html-gawk:
15547 @if gawk
15548 maybe-install-html-gawk: install-html-gawk
15550 install-html-gawk: \
15551 configure-gawk \
15552 html-gawk
15553 @: $(MAKE); $(unstage)
15554 @[ -f ./gawk/Makefile ] || exit 0; \
15555 r=`${PWD_COMMAND}`; export r; \
15556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15557 $(HOST_EXPORTS) \
15558 for flag in $(EXTRA_HOST_FLAGS) ; do \
15559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15560 done; \
15561 echo "Doing install-html in gawk" ; \
15562 (cd $(HOST_SUBDIR)/gawk && \
15563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15565 "RANLIB=$${RANLIB}" \
15566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15567 install-html) \
15568 || exit 1
15570 @endif gawk
15572 .PHONY: maybe-installcheck-gawk installcheck-gawk
15573 maybe-installcheck-gawk:
15574 @if gawk
15575 maybe-installcheck-gawk: installcheck-gawk
15577 installcheck-gawk: \
15578 configure-gawk
15579 @: $(MAKE); $(unstage)
15580 @[ -f ./gawk/Makefile ] || exit 0; \
15581 r=`${PWD_COMMAND}`; export r; \
15582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15583 $(HOST_EXPORTS) \
15584 for flag in $(EXTRA_HOST_FLAGS) ; do \
15585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15586 done; \
15587 echo "Doing installcheck in gawk" ; \
15588 (cd $(HOST_SUBDIR)/gawk && \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15591 "RANLIB=$${RANLIB}" \
15592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15593 installcheck) \
15594 || exit 1
15596 @endif gawk
15598 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
15599 maybe-mostlyclean-gawk:
15600 @if gawk
15601 maybe-mostlyclean-gawk: mostlyclean-gawk
15603 mostlyclean-gawk:
15604 @: $(MAKE); $(unstage)
15605 @[ -f ./gawk/Makefile ] || exit 0; \
15606 r=`${PWD_COMMAND}`; export r; \
15607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15608 $(HOST_EXPORTS) \
15609 for flag in $(EXTRA_HOST_FLAGS) ; do \
15610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15611 done; \
15612 echo "Doing mostlyclean in gawk" ; \
15613 (cd $(HOST_SUBDIR)/gawk && \
15614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15616 "RANLIB=$${RANLIB}" \
15617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15618 mostlyclean) \
15619 || exit 1
15621 @endif gawk
15623 .PHONY: maybe-clean-gawk clean-gawk
15624 maybe-clean-gawk:
15625 @if gawk
15626 maybe-clean-gawk: clean-gawk
15628 clean-gawk:
15629 @: $(MAKE); $(unstage)
15630 @[ -f ./gawk/Makefile ] || exit 0; \
15631 r=`${PWD_COMMAND}`; export r; \
15632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 $(HOST_EXPORTS) \
15634 for flag in $(EXTRA_HOST_FLAGS) ; do \
15635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15636 done; \
15637 echo "Doing clean in gawk" ; \
15638 (cd $(HOST_SUBDIR)/gawk && \
15639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15641 "RANLIB=$${RANLIB}" \
15642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15643 clean) \
15644 || exit 1
15646 @endif gawk
15648 .PHONY: maybe-distclean-gawk distclean-gawk
15649 maybe-distclean-gawk:
15650 @if gawk
15651 maybe-distclean-gawk: distclean-gawk
15653 distclean-gawk:
15654 @: $(MAKE); $(unstage)
15655 @[ -f ./gawk/Makefile ] || exit 0; \
15656 r=`${PWD_COMMAND}`; export r; \
15657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 $(HOST_EXPORTS) \
15659 for flag in $(EXTRA_HOST_FLAGS) ; do \
15660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15661 done; \
15662 echo "Doing distclean in gawk" ; \
15663 (cd $(HOST_SUBDIR)/gawk && \
15664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15666 "RANLIB=$${RANLIB}" \
15667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15668 distclean) \
15669 || exit 1
15671 @endif gawk
15673 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
15674 maybe-maintainer-clean-gawk:
15675 @if gawk
15676 maybe-maintainer-clean-gawk: maintainer-clean-gawk
15678 maintainer-clean-gawk:
15679 @: $(MAKE); $(unstage)
15680 @[ -f ./gawk/Makefile ] || exit 0; \
15681 r=`${PWD_COMMAND}`; export r; \
15682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 $(HOST_EXPORTS) \
15684 for flag in $(EXTRA_HOST_FLAGS) ; do \
15685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15686 done; \
15687 echo "Doing maintainer-clean in gawk" ; \
15688 (cd $(HOST_SUBDIR)/gawk && \
15689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15691 "RANLIB=$${RANLIB}" \
15692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15693 maintainer-clean) \
15694 || exit 1
15696 @endif gawk
15700 .PHONY: configure-gettext maybe-configure-gettext
15701 maybe-configure-gettext:
15702 @if gcc-bootstrap
15703 configure-gettext: stage_current
15704 @endif gcc-bootstrap
15705 @if gettext
15706 maybe-configure-gettext: configure-gettext
15707 configure-gettext:
15708 @: $(MAKE); $(unstage)
15709 @r=`${PWD_COMMAND}`; export r; \
15710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
15712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
15713 $(HOST_EXPORTS) \
15714 echo Configuring in $(HOST_SUBDIR)/gettext; \
15715 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
15716 case $(srcdir) in \
15717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15718 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
15719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15720 esac; \
15721 srcdiroption="--srcdir=$${topdir}/gettext"; \
15722 libsrcdir="$$s/gettext"; \
15723 $(SHELL) $${libsrcdir}/configure \
15724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15725 --target=${target_alias} $${srcdiroption} \
15726 || exit 1
15727 @endif gettext
15733 .PHONY: all-gettext maybe-all-gettext
15734 maybe-all-gettext:
15735 @if gcc-bootstrap
15736 all-gettext: stage_current
15737 @endif gcc-bootstrap
15738 @if gettext
15739 TARGET-gettext=all
15740 maybe-all-gettext: all-gettext
15741 all-gettext: configure-gettext
15742 @: $(MAKE); $(unstage)
15743 @r=`${PWD_COMMAND}`; export r; \
15744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15745 $(HOST_EXPORTS) \
15746 (cd $(HOST_SUBDIR)/gettext && \
15747 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15748 $(TARGET-gettext))
15749 @endif gettext
15754 .PHONY: check-gettext maybe-check-gettext
15755 maybe-check-gettext:
15756 @if gettext
15757 maybe-check-gettext: check-gettext
15759 check-gettext:
15760 @: $(MAKE); $(unstage)
15761 @r=`${PWD_COMMAND}`; export r; \
15762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15763 $(HOST_EXPORTS) \
15764 (cd $(HOST_SUBDIR)/gettext && \
15765 $(MAKE) $(FLAGS_TO_PASS) check)
15767 @endif gettext
15769 .PHONY: install-gettext maybe-install-gettext
15770 maybe-install-gettext:
15771 @if gettext
15772 maybe-install-gettext: install-gettext
15774 install-gettext: installdirs
15775 @: $(MAKE); $(unstage)
15776 @r=`${PWD_COMMAND}`; export r; \
15777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15778 $(HOST_EXPORTS) \
15779 (cd $(HOST_SUBDIR)/gettext && \
15780 $(MAKE) $(FLAGS_TO_PASS) install)
15782 @endif gettext
15784 # Other targets (info, dvi, pdf, etc.)
15786 .PHONY: maybe-info-gettext info-gettext
15787 maybe-info-gettext:
15788 @if gettext
15789 maybe-info-gettext: info-gettext
15791 info-gettext: \
15792 configure-gettext
15793 @: $(MAKE); $(unstage)
15794 @[ -f ./gettext/Makefile ] || exit 0; \
15795 r=`${PWD_COMMAND}`; export r; \
15796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797 $(HOST_EXPORTS) \
15798 for flag in $(EXTRA_HOST_FLAGS) ; do \
15799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15800 done; \
15801 echo "Doing info in gettext" ; \
15802 (cd $(HOST_SUBDIR)/gettext && \
15803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15805 "RANLIB=$${RANLIB}" \
15806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15807 info) \
15808 || exit 1
15810 @endif gettext
15812 .PHONY: maybe-dvi-gettext dvi-gettext
15813 maybe-dvi-gettext:
15814 @if gettext
15815 maybe-dvi-gettext: dvi-gettext
15817 dvi-gettext: \
15818 configure-gettext
15819 @: $(MAKE); $(unstage)
15820 @[ -f ./gettext/Makefile ] || exit 0; \
15821 r=`${PWD_COMMAND}`; export r; \
15822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15823 $(HOST_EXPORTS) \
15824 for flag in $(EXTRA_HOST_FLAGS) ; do \
15825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15826 done; \
15827 echo "Doing dvi in gettext" ; \
15828 (cd $(HOST_SUBDIR)/gettext && \
15829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15831 "RANLIB=$${RANLIB}" \
15832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15833 dvi) \
15834 || exit 1
15836 @endif gettext
15838 .PHONY: maybe-pdf-gettext pdf-gettext
15839 maybe-pdf-gettext:
15840 @if gettext
15841 maybe-pdf-gettext: pdf-gettext
15843 pdf-gettext: \
15844 configure-gettext
15845 @: $(MAKE); $(unstage)
15846 @[ -f ./gettext/Makefile ] || exit 0; \
15847 r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(HOST_EXPORTS) \
15850 for flag in $(EXTRA_HOST_FLAGS) ; do \
15851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15852 done; \
15853 echo "Doing pdf in gettext" ; \
15854 (cd $(HOST_SUBDIR)/gettext && \
15855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15857 "RANLIB=$${RANLIB}" \
15858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15859 pdf) \
15860 || exit 1
15862 @endif gettext
15864 .PHONY: maybe-html-gettext html-gettext
15865 maybe-html-gettext:
15866 @if gettext
15867 maybe-html-gettext: html-gettext
15869 html-gettext: \
15870 configure-gettext
15871 @: $(MAKE); $(unstage)
15872 @[ -f ./gettext/Makefile ] || exit 0; \
15873 r=`${PWD_COMMAND}`; export r; \
15874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875 $(HOST_EXPORTS) \
15876 for flag in $(EXTRA_HOST_FLAGS) ; do \
15877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15878 done; \
15879 echo "Doing html in gettext" ; \
15880 (cd $(HOST_SUBDIR)/gettext && \
15881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883 "RANLIB=$${RANLIB}" \
15884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15885 html) \
15886 || exit 1
15888 @endif gettext
15890 .PHONY: maybe-TAGS-gettext TAGS-gettext
15891 maybe-TAGS-gettext:
15892 @if gettext
15893 maybe-TAGS-gettext: TAGS-gettext
15895 TAGS-gettext: \
15896 configure-gettext
15897 @: $(MAKE); $(unstage)
15898 @[ -f ./gettext/Makefile ] || exit 0; \
15899 r=`${PWD_COMMAND}`; export r; \
15900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15901 $(HOST_EXPORTS) \
15902 for flag in $(EXTRA_HOST_FLAGS) ; do \
15903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15904 done; \
15905 echo "Doing TAGS in gettext" ; \
15906 (cd $(HOST_SUBDIR)/gettext && \
15907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15909 "RANLIB=$${RANLIB}" \
15910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15911 TAGS) \
15912 || exit 1
15914 @endif gettext
15916 .PHONY: maybe-install-info-gettext install-info-gettext
15917 maybe-install-info-gettext:
15918 @if gettext
15919 maybe-install-info-gettext: install-info-gettext
15921 install-info-gettext: \
15922 configure-gettext \
15923 info-gettext
15924 @: $(MAKE); $(unstage)
15925 @[ -f ./gettext/Makefile ] || exit 0; \
15926 r=`${PWD_COMMAND}`; export r; \
15927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15928 $(HOST_EXPORTS) \
15929 for flag in $(EXTRA_HOST_FLAGS) ; do \
15930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15931 done; \
15932 echo "Doing install-info in gettext" ; \
15933 (cd $(HOST_SUBDIR)/gettext && \
15934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15936 "RANLIB=$${RANLIB}" \
15937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15938 install-info) \
15939 || exit 1
15941 @endif gettext
15943 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
15944 maybe-install-pdf-gettext:
15945 @if gettext
15946 maybe-install-pdf-gettext: install-pdf-gettext
15948 install-pdf-gettext: \
15949 configure-gettext \
15950 pdf-gettext
15951 @: $(MAKE); $(unstage)
15952 @[ -f ./gettext/Makefile ] || exit 0; \
15953 r=`${PWD_COMMAND}`; export r; \
15954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15955 $(HOST_EXPORTS) \
15956 for flag in $(EXTRA_HOST_FLAGS) ; do \
15957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15958 done; \
15959 echo "Doing install-pdf in gettext" ; \
15960 (cd $(HOST_SUBDIR)/gettext && \
15961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15963 "RANLIB=$${RANLIB}" \
15964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15965 install-pdf) \
15966 || exit 1
15968 @endif gettext
15970 .PHONY: maybe-install-html-gettext install-html-gettext
15971 maybe-install-html-gettext:
15972 @if gettext
15973 maybe-install-html-gettext: install-html-gettext
15975 install-html-gettext: \
15976 configure-gettext \
15977 html-gettext
15978 @: $(MAKE); $(unstage)
15979 @[ -f ./gettext/Makefile ] || exit 0; \
15980 r=`${PWD_COMMAND}`; export r; \
15981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15982 $(HOST_EXPORTS) \
15983 for flag in $(EXTRA_HOST_FLAGS) ; do \
15984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15985 done; \
15986 echo "Doing install-html in gettext" ; \
15987 (cd $(HOST_SUBDIR)/gettext && \
15988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15990 "RANLIB=$${RANLIB}" \
15991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15992 install-html) \
15993 || exit 1
15995 @endif gettext
15997 .PHONY: maybe-installcheck-gettext installcheck-gettext
15998 maybe-installcheck-gettext:
15999 @if gettext
16000 maybe-installcheck-gettext: installcheck-gettext
16002 installcheck-gettext: \
16003 configure-gettext
16004 @: $(MAKE); $(unstage)
16005 @[ -f ./gettext/Makefile ] || exit 0; \
16006 r=`${PWD_COMMAND}`; export r; \
16007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16008 $(HOST_EXPORTS) \
16009 for flag in $(EXTRA_HOST_FLAGS) ; do \
16010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16011 done; \
16012 echo "Doing installcheck in gettext" ; \
16013 (cd $(HOST_SUBDIR)/gettext && \
16014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16016 "RANLIB=$${RANLIB}" \
16017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16018 installcheck) \
16019 || exit 1
16021 @endif gettext
16023 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
16024 maybe-mostlyclean-gettext:
16025 @if gettext
16026 maybe-mostlyclean-gettext: mostlyclean-gettext
16028 mostlyclean-gettext:
16029 @: $(MAKE); $(unstage)
16030 @[ -f ./gettext/Makefile ] || exit 0; \
16031 r=`${PWD_COMMAND}`; export r; \
16032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16033 $(HOST_EXPORTS) \
16034 for flag in $(EXTRA_HOST_FLAGS) ; do \
16035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16036 done; \
16037 echo "Doing mostlyclean in gettext" ; \
16038 (cd $(HOST_SUBDIR)/gettext && \
16039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16041 "RANLIB=$${RANLIB}" \
16042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16043 mostlyclean) \
16044 || exit 1
16046 @endif gettext
16048 .PHONY: maybe-clean-gettext clean-gettext
16049 maybe-clean-gettext:
16050 @if gettext
16051 maybe-clean-gettext: clean-gettext
16053 clean-gettext:
16054 @: $(MAKE); $(unstage)
16055 @[ -f ./gettext/Makefile ] || exit 0; \
16056 r=`${PWD_COMMAND}`; export r; \
16057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16058 $(HOST_EXPORTS) \
16059 for flag in $(EXTRA_HOST_FLAGS) ; do \
16060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16061 done; \
16062 echo "Doing clean in gettext" ; \
16063 (cd $(HOST_SUBDIR)/gettext && \
16064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16066 "RANLIB=$${RANLIB}" \
16067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16068 clean) \
16069 || exit 1
16071 @endif gettext
16073 .PHONY: maybe-distclean-gettext distclean-gettext
16074 maybe-distclean-gettext:
16075 @if gettext
16076 maybe-distclean-gettext: distclean-gettext
16078 distclean-gettext:
16079 @: $(MAKE); $(unstage)
16080 @[ -f ./gettext/Makefile ] || exit 0; \
16081 r=`${PWD_COMMAND}`; export r; \
16082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16083 $(HOST_EXPORTS) \
16084 for flag in $(EXTRA_HOST_FLAGS) ; do \
16085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16086 done; \
16087 echo "Doing distclean in gettext" ; \
16088 (cd $(HOST_SUBDIR)/gettext && \
16089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16091 "RANLIB=$${RANLIB}" \
16092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16093 distclean) \
16094 || exit 1
16096 @endif gettext
16098 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16099 maybe-maintainer-clean-gettext:
16100 @if gettext
16101 maybe-maintainer-clean-gettext: maintainer-clean-gettext
16103 maintainer-clean-gettext:
16104 @: $(MAKE); $(unstage)
16105 @[ -f ./gettext/Makefile ] || exit 0; \
16106 r=`${PWD_COMMAND}`; export r; \
16107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16108 $(HOST_EXPORTS) \
16109 for flag in $(EXTRA_HOST_FLAGS) ; do \
16110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16111 done; \
16112 echo "Doing maintainer-clean in gettext" ; \
16113 (cd $(HOST_SUBDIR)/gettext && \
16114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16116 "RANLIB=$${RANLIB}" \
16117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16118 maintainer-clean) \
16119 || exit 1
16121 @endif gettext
16125 .PHONY: configure-gmp maybe-configure-gmp
16126 maybe-configure-gmp:
16127 @if gcc-bootstrap
16128 configure-gmp: stage_current
16129 @endif gcc-bootstrap
16130 @if gmp
16131 maybe-configure-gmp: configure-gmp
16132 configure-gmp:
16133 @r=`${PWD_COMMAND}`; export r; \
16134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16135 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16137 $(HOST_EXPORTS) \
16138 echo Configuring in $(HOST_SUBDIR)/gmp; \
16139 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
16140 case $(srcdir) in \
16141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16142 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16144 esac; \
16145 srcdiroption="--srcdir=$${topdir}/gmp"; \
16146 libsrcdir="$$s/gmp"; \
16147 $(SHELL) $${libsrcdir}/configure \
16148 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16149 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
16150 || exit 1
16151 @endif gmp
16155 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
16156 maybe-configure-stage1-gmp:
16157 @if gmp-bootstrap
16158 maybe-configure-stage1-gmp: configure-stage1-gmp
16159 configure-stage1-gmp:
16160 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16161 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16162 @r=`${PWD_COMMAND}`; export r; \
16163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16164 TFLAGS="$(STAGE1_TFLAGS)"; \
16165 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16166 $(HOST_EXPORTS) \
16167 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16168 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
16169 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16170 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
16171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16172 cd $(HOST_SUBDIR)/gmp || exit 1; \
16173 case $(srcdir) in \
16174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16175 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16177 esac; \
16178 srcdiroption="--srcdir=$${topdir}/gmp"; \
16179 libsrcdir="$$s/gmp"; \
16180 $(SHELL) $${libsrcdir}/configure \
16181 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16182 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16183 $(STAGE1_CONFIGURE_FLAGS) \
16184 --disable-shared
16185 @endif gmp-bootstrap
16187 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
16188 maybe-configure-stage2-gmp:
16189 @if gmp-bootstrap
16190 maybe-configure-stage2-gmp: configure-stage2-gmp
16191 configure-stage2-gmp:
16192 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16194 @r=`${PWD_COMMAND}`; export r; \
16195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16196 TFLAGS="$(STAGE2_TFLAGS)"; \
16197 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16198 $(HOST_EXPORTS) \
16199 $(POSTSTAGE1_HOST_EXPORTS) \
16200 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16201 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
16202 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16203 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
16204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16205 cd $(HOST_SUBDIR)/gmp || exit 1; \
16206 case $(srcdir) in \
16207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16208 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16210 esac; \
16211 srcdiroption="--srcdir=$${topdir}/gmp"; \
16212 libsrcdir="$$s/gmp"; \
16213 $(SHELL) $${libsrcdir}/configure \
16214 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16215 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16216 --with-build-libsubdir=$(HOST_SUBDIR) \
16217 $(STAGE2_CONFIGURE_FLAGS) \
16218 --disable-shared
16219 @endif gmp-bootstrap
16221 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
16222 maybe-configure-stage3-gmp:
16223 @if gmp-bootstrap
16224 maybe-configure-stage3-gmp: configure-stage3-gmp
16225 configure-stage3-gmp:
16226 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16228 @r=`${PWD_COMMAND}`; export r; \
16229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16230 TFLAGS="$(STAGE3_TFLAGS)"; \
16231 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16232 $(HOST_EXPORTS) \
16233 $(POSTSTAGE1_HOST_EXPORTS) \
16234 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16235 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
16236 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16237 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
16238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16239 cd $(HOST_SUBDIR)/gmp || exit 1; \
16240 case $(srcdir) in \
16241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16242 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16244 esac; \
16245 srcdiroption="--srcdir=$${topdir}/gmp"; \
16246 libsrcdir="$$s/gmp"; \
16247 $(SHELL) $${libsrcdir}/configure \
16248 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16249 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16250 --with-build-libsubdir=$(HOST_SUBDIR) \
16251 $(STAGE3_CONFIGURE_FLAGS) \
16252 --disable-shared
16253 @endif gmp-bootstrap
16255 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
16256 maybe-configure-stage4-gmp:
16257 @if gmp-bootstrap
16258 maybe-configure-stage4-gmp: configure-stage4-gmp
16259 configure-stage4-gmp:
16260 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16262 @r=`${PWD_COMMAND}`; export r; \
16263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16264 TFLAGS="$(STAGE4_TFLAGS)"; \
16265 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16266 $(HOST_EXPORTS) \
16267 $(POSTSTAGE1_HOST_EXPORTS) \
16268 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16269 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
16270 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16271 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
16272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16273 cd $(HOST_SUBDIR)/gmp || exit 1; \
16274 case $(srcdir) in \
16275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16276 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16278 esac; \
16279 srcdiroption="--srcdir=$${topdir}/gmp"; \
16280 libsrcdir="$$s/gmp"; \
16281 $(SHELL) $${libsrcdir}/configure \
16282 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16283 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16284 --with-build-libsubdir=$(HOST_SUBDIR) \
16285 $(STAGE4_CONFIGURE_FLAGS) \
16286 --disable-shared
16287 @endif gmp-bootstrap
16289 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
16290 maybe-configure-stageprofile-gmp:
16291 @if gmp-bootstrap
16292 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
16293 configure-stageprofile-gmp:
16294 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16295 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16296 @r=`${PWD_COMMAND}`; export r; \
16297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16298 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16299 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16300 $(HOST_EXPORTS) \
16301 $(POSTSTAGE1_HOST_EXPORTS) \
16302 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16303 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
16304 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16305 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
16306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16307 cd $(HOST_SUBDIR)/gmp || exit 1; \
16308 case $(srcdir) in \
16309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16310 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16312 esac; \
16313 srcdiroption="--srcdir=$${topdir}/gmp"; \
16314 libsrcdir="$$s/gmp"; \
16315 $(SHELL) $${libsrcdir}/configure \
16316 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16317 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16318 --with-build-libsubdir=$(HOST_SUBDIR) \
16319 $(STAGEprofile_CONFIGURE_FLAGS) \
16320 --disable-shared
16321 @endif gmp-bootstrap
16323 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
16324 maybe-configure-stagefeedback-gmp:
16325 @if gmp-bootstrap
16326 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
16327 configure-stagefeedback-gmp:
16328 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16330 @r=`${PWD_COMMAND}`; export r; \
16331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16332 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16333 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16334 $(HOST_EXPORTS) \
16335 $(POSTSTAGE1_HOST_EXPORTS) \
16336 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16337 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
16338 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16339 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
16340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16341 cd $(HOST_SUBDIR)/gmp || exit 1; \
16342 case $(srcdir) in \
16343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16344 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16346 esac; \
16347 srcdiroption="--srcdir=$${topdir}/gmp"; \
16348 libsrcdir="$$s/gmp"; \
16349 $(SHELL) $${libsrcdir}/configure \
16350 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16351 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16352 --with-build-libsubdir=$(HOST_SUBDIR) \
16353 $(STAGEfeedback_CONFIGURE_FLAGS) \
16354 --disable-shared
16355 @endif gmp-bootstrap
16361 .PHONY: all-gmp maybe-all-gmp
16362 maybe-all-gmp:
16363 @if gcc-bootstrap
16364 all-gmp: stage_current
16365 @endif gcc-bootstrap
16366 @if gmp
16367 TARGET-gmp=all
16368 maybe-all-gmp: all-gmp
16369 all-gmp: configure-gmp
16370 @r=`${PWD_COMMAND}`; export r; \
16371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16372 $(HOST_EXPORTS) \
16373 (cd $(HOST_SUBDIR)/gmp && \
16374 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16375 $(TARGET-gmp))
16376 @endif gmp
16380 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
16381 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
16382 maybe-all-stage1-gmp:
16383 maybe-clean-stage1-gmp:
16384 @if gmp-bootstrap
16385 maybe-all-stage1-gmp: all-stage1-gmp
16386 all-stage1: all-stage1-gmp
16387 TARGET-stage1-gmp = $(TARGET-gmp)
16388 all-stage1-gmp: configure-stage1-gmp
16389 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16390 @r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 TFLAGS="$(STAGE1_TFLAGS)"; \
16393 $(HOST_EXPORTS) \
16394 cd $(HOST_SUBDIR)/gmp && \
16395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16396 CFLAGS="$(STAGE1_CFLAGS)" \
16397 CXXFLAGS="$(STAGE1_CFLAGS)" \
16398 LIBCFLAGS="$(LIBCFLAGS)" \
16399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16402 $(EXTRA_HOST_FLAGS) \
16403 TFLAGS="$(STAGE1_TFLAGS)" \
16404 $(TARGET-stage1-gmp)
16406 maybe-clean-stage1-gmp: clean-stage1-gmp
16407 clean-stage1: clean-stage1-gmp
16408 clean-stage1-gmp:
16409 @if [ $(current_stage) = stage1 ]; then \
16410 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16411 else \
16412 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
16413 $(MAKE) stage1-start; \
16414 fi; \
16415 cd $(HOST_SUBDIR)/gmp && \
16416 $(MAKE) $(EXTRA_HOST_FLAGS) \
16417 clean
16418 @endif gmp-bootstrap
16421 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
16422 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
16423 maybe-all-stage2-gmp:
16424 maybe-clean-stage2-gmp:
16425 @if gmp-bootstrap
16426 maybe-all-stage2-gmp: all-stage2-gmp
16427 all-stage2: all-stage2-gmp
16428 TARGET-stage2-gmp = $(TARGET-gmp)
16429 all-stage2-gmp: configure-stage2-gmp
16430 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16431 @r=`${PWD_COMMAND}`; export r; \
16432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16433 TFLAGS="$(STAGE2_TFLAGS)"; \
16434 $(HOST_EXPORTS) \
16435 $(POSTSTAGE1_HOST_EXPORTS) \
16436 cd $(HOST_SUBDIR)/gmp && \
16437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16438 CFLAGS="$(STAGE2_CFLAGS)" \
16439 CXXFLAGS="$(STAGE2_CFLAGS)" \
16440 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16444 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16445 TFLAGS="$(STAGE2_TFLAGS)" \
16446 $(TARGET-stage2-gmp)
16448 maybe-clean-stage2-gmp: clean-stage2-gmp
16449 clean-stage2: clean-stage2-gmp
16450 clean-stage2-gmp:
16451 @if [ $(current_stage) = stage2 ]; then \
16452 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16453 else \
16454 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
16455 $(MAKE) stage2-start; \
16456 fi; \
16457 cd $(HOST_SUBDIR)/gmp && \
16458 $(MAKE) $(EXTRA_HOST_FLAGS) \
16459 $(POSTSTAGE1_FLAGS_TO_PASS) \
16460 clean
16461 @endif gmp-bootstrap
16464 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
16465 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
16466 maybe-all-stage3-gmp:
16467 maybe-clean-stage3-gmp:
16468 @if gmp-bootstrap
16469 maybe-all-stage3-gmp: all-stage3-gmp
16470 all-stage3: all-stage3-gmp
16471 TARGET-stage3-gmp = $(TARGET-gmp)
16472 all-stage3-gmp: configure-stage3-gmp
16473 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16474 @r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16476 TFLAGS="$(STAGE3_TFLAGS)"; \
16477 $(HOST_EXPORTS) \
16478 $(POSTSTAGE1_HOST_EXPORTS) \
16479 cd $(HOST_SUBDIR)/gmp && \
16480 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16481 CFLAGS="$(STAGE3_CFLAGS)" \
16482 CXXFLAGS="$(STAGE3_CFLAGS)" \
16483 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16487 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16488 TFLAGS="$(STAGE3_TFLAGS)" \
16489 $(TARGET-stage3-gmp)
16491 maybe-clean-stage3-gmp: clean-stage3-gmp
16492 clean-stage3: clean-stage3-gmp
16493 clean-stage3-gmp:
16494 @if [ $(current_stage) = stage3 ]; then \
16495 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16496 else \
16497 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
16498 $(MAKE) stage3-start; \
16499 fi; \
16500 cd $(HOST_SUBDIR)/gmp && \
16501 $(MAKE) $(EXTRA_HOST_FLAGS) \
16502 $(POSTSTAGE1_FLAGS_TO_PASS) \
16503 clean
16504 @endif gmp-bootstrap
16507 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
16508 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
16509 maybe-all-stage4-gmp:
16510 maybe-clean-stage4-gmp:
16511 @if gmp-bootstrap
16512 maybe-all-stage4-gmp: all-stage4-gmp
16513 all-stage4: all-stage4-gmp
16514 TARGET-stage4-gmp = $(TARGET-gmp)
16515 all-stage4-gmp: configure-stage4-gmp
16516 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16517 @r=`${PWD_COMMAND}`; export r; \
16518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16519 TFLAGS="$(STAGE4_TFLAGS)"; \
16520 $(HOST_EXPORTS) \
16521 $(POSTSTAGE1_HOST_EXPORTS) \
16522 cd $(HOST_SUBDIR)/gmp && \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16524 CFLAGS="$(STAGE4_CFLAGS)" \
16525 CXXFLAGS="$(STAGE4_CFLAGS)" \
16526 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16530 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16531 TFLAGS="$(STAGE4_TFLAGS)" \
16532 $(TARGET-stage4-gmp)
16534 maybe-clean-stage4-gmp: clean-stage4-gmp
16535 clean-stage4: clean-stage4-gmp
16536 clean-stage4-gmp:
16537 @if [ $(current_stage) = stage4 ]; then \
16538 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16539 else \
16540 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
16541 $(MAKE) stage4-start; \
16542 fi; \
16543 cd $(HOST_SUBDIR)/gmp && \
16544 $(MAKE) $(EXTRA_HOST_FLAGS) \
16545 $(POSTSTAGE1_FLAGS_TO_PASS) \
16546 clean
16547 @endif gmp-bootstrap
16550 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
16551 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
16552 maybe-all-stageprofile-gmp:
16553 maybe-clean-stageprofile-gmp:
16554 @if gmp-bootstrap
16555 maybe-all-stageprofile-gmp: all-stageprofile-gmp
16556 all-stageprofile: all-stageprofile-gmp
16557 TARGET-stageprofile-gmp = $(TARGET-gmp)
16558 all-stageprofile-gmp: configure-stageprofile-gmp
16559 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16560 @r=`${PWD_COMMAND}`; export r; \
16561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16562 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16563 $(HOST_EXPORTS) \
16564 $(POSTSTAGE1_HOST_EXPORTS) \
16565 cd $(HOST_SUBDIR)/gmp && \
16566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16567 CFLAGS="$(STAGEprofile_CFLAGS)" \
16568 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
16569 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16573 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16574 TFLAGS="$(STAGEprofile_TFLAGS)" \
16575 $(TARGET-stageprofile-gmp)
16577 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
16578 clean-stageprofile: clean-stageprofile-gmp
16579 clean-stageprofile-gmp:
16580 @if [ $(current_stage) = stageprofile ]; then \
16581 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16582 else \
16583 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
16584 $(MAKE) stageprofile-start; \
16585 fi; \
16586 cd $(HOST_SUBDIR)/gmp && \
16587 $(MAKE) $(EXTRA_HOST_FLAGS) \
16588 $(POSTSTAGE1_FLAGS_TO_PASS) \
16589 clean
16590 @endif gmp-bootstrap
16593 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
16594 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
16595 maybe-all-stagefeedback-gmp:
16596 maybe-clean-stagefeedback-gmp:
16597 @if gmp-bootstrap
16598 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
16599 all-stagefeedback: all-stagefeedback-gmp
16600 TARGET-stagefeedback-gmp = $(TARGET-gmp)
16601 all-stagefeedback-gmp: configure-stagefeedback-gmp
16602 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16603 @r=`${PWD_COMMAND}`; export r; \
16604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16605 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16606 $(HOST_EXPORTS) \
16607 $(POSTSTAGE1_HOST_EXPORTS) \
16608 cd $(HOST_SUBDIR)/gmp && \
16609 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16610 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16611 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
16612 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16616 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16617 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16618 $(TARGET-stagefeedback-gmp)
16620 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
16621 clean-stagefeedback: clean-stagefeedback-gmp
16622 clean-stagefeedback-gmp:
16623 @if [ $(current_stage) = stagefeedback ]; then \
16624 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16625 else \
16626 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
16627 $(MAKE) stagefeedback-start; \
16628 fi; \
16629 cd $(HOST_SUBDIR)/gmp && \
16630 $(MAKE) $(EXTRA_HOST_FLAGS) \
16631 $(POSTSTAGE1_FLAGS_TO_PASS) \
16632 clean
16633 @endif gmp-bootstrap
16639 .PHONY: check-gmp maybe-check-gmp
16640 maybe-check-gmp:
16641 @if gmp
16642 maybe-check-gmp: check-gmp
16644 check-gmp:
16645 @: $(MAKE); $(unstage)
16646 @r=`${PWD_COMMAND}`; export r; \
16647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16648 $(HOST_EXPORTS) \
16649 (cd $(HOST_SUBDIR)/gmp && \
16650 $(MAKE) $(FLAGS_TO_PASS) check)
16652 @endif gmp
16654 .PHONY: install-gmp maybe-install-gmp
16655 maybe-install-gmp:
16656 @if gmp
16657 maybe-install-gmp: install-gmp
16659 install-gmp:
16661 @endif gmp
16663 # Other targets (info, dvi, pdf, etc.)
16665 .PHONY: maybe-info-gmp info-gmp
16666 maybe-info-gmp:
16667 @if gmp
16668 maybe-info-gmp: info-gmp
16670 info-gmp: \
16671 configure-gmp
16672 @[ -f ./gmp/Makefile ] || exit 0; \
16673 r=`${PWD_COMMAND}`; export r; \
16674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16675 $(HOST_EXPORTS) \
16676 for flag in $(EXTRA_HOST_FLAGS) ; do \
16677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16678 done; \
16679 echo "Doing info in gmp" ; \
16680 (cd $(HOST_SUBDIR)/gmp && \
16681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16683 "RANLIB=$${RANLIB}" \
16684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16685 info) \
16686 || exit 1
16688 @endif gmp
16690 .PHONY: maybe-dvi-gmp dvi-gmp
16691 maybe-dvi-gmp:
16692 @if gmp
16693 maybe-dvi-gmp: dvi-gmp
16695 dvi-gmp: \
16696 configure-gmp
16697 @[ -f ./gmp/Makefile ] || exit 0; \
16698 r=`${PWD_COMMAND}`; export r; \
16699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16700 $(HOST_EXPORTS) \
16701 for flag in $(EXTRA_HOST_FLAGS) ; do \
16702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16703 done; \
16704 echo "Doing dvi in gmp" ; \
16705 (cd $(HOST_SUBDIR)/gmp && \
16706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16708 "RANLIB=$${RANLIB}" \
16709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16710 dvi) \
16711 || exit 1
16713 @endif gmp
16715 .PHONY: maybe-pdf-gmp pdf-gmp
16716 maybe-pdf-gmp:
16717 @if gmp
16718 maybe-pdf-gmp: pdf-gmp
16720 pdf-gmp: \
16721 configure-gmp
16722 @[ -f ./gmp/Makefile ] || exit 0; \
16723 r=`${PWD_COMMAND}`; export r; \
16724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16725 $(HOST_EXPORTS) \
16726 for flag in $(EXTRA_HOST_FLAGS) ; do \
16727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16728 done; \
16729 echo "Doing pdf in gmp" ; \
16730 (cd $(HOST_SUBDIR)/gmp && \
16731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16733 "RANLIB=$${RANLIB}" \
16734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16735 pdf) \
16736 || exit 1
16738 @endif gmp
16740 .PHONY: maybe-html-gmp html-gmp
16741 maybe-html-gmp:
16742 @if gmp
16743 maybe-html-gmp: html-gmp
16745 html-gmp: \
16746 configure-gmp
16747 @[ -f ./gmp/Makefile ] || exit 0; \
16748 r=`${PWD_COMMAND}`; export r; \
16749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16750 $(HOST_EXPORTS) \
16751 for flag in $(EXTRA_HOST_FLAGS) ; do \
16752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16753 done; \
16754 echo "Doing html in gmp" ; \
16755 (cd $(HOST_SUBDIR)/gmp && \
16756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16758 "RANLIB=$${RANLIB}" \
16759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16760 html) \
16761 || exit 1
16763 @endif gmp
16765 .PHONY: maybe-TAGS-gmp TAGS-gmp
16766 maybe-TAGS-gmp:
16767 @if gmp
16768 maybe-TAGS-gmp: TAGS-gmp
16770 TAGS-gmp: \
16771 configure-gmp
16772 @[ -f ./gmp/Makefile ] || exit 0; \
16773 r=`${PWD_COMMAND}`; export r; \
16774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16775 $(HOST_EXPORTS) \
16776 for flag in $(EXTRA_HOST_FLAGS) ; do \
16777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16778 done; \
16779 echo "Doing TAGS in gmp" ; \
16780 (cd $(HOST_SUBDIR)/gmp && \
16781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16783 "RANLIB=$${RANLIB}" \
16784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16785 TAGS) \
16786 || exit 1
16788 @endif gmp
16790 .PHONY: maybe-install-info-gmp install-info-gmp
16791 maybe-install-info-gmp:
16792 @if gmp
16793 maybe-install-info-gmp: install-info-gmp
16795 install-info-gmp: \
16796 configure-gmp \
16797 info-gmp
16798 @[ -f ./gmp/Makefile ] || exit 0; \
16799 r=`${PWD_COMMAND}`; export r; \
16800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16801 $(HOST_EXPORTS) \
16802 for flag in $(EXTRA_HOST_FLAGS) ; do \
16803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16804 done; \
16805 echo "Doing install-info in gmp" ; \
16806 (cd $(HOST_SUBDIR)/gmp && \
16807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16809 "RANLIB=$${RANLIB}" \
16810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16811 install-info) \
16812 || exit 1
16814 @endif gmp
16816 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
16817 maybe-install-pdf-gmp:
16818 @if gmp
16819 maybe-install-pdf-gmp: install-pdf-gmp
16821 install-pdf-gmp: \
16822 configure-gmp \
16823 pdf-gmp
16824 @[ -f ./gmp/Makefile ] || exit 0; \
16825 r=`${PWD_COMMAND}`; export r; \
16826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16827 $(HOST_EXPORTS) \
16828 for flag in $(EXTRA_HOST_FLAGS) ; do \
16829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16830 done; \
16831 echo "Doing install-pdf in gmp" ; \
16832 (cd $(HOST_SUBDIR)/gmp && \
16833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16835 "RANLIB=$${RANLIB}" \
16836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16837 install-pdf) \
16838 || exit 1
16840 @endif gmp
16842 .PHONY: maybe-install-html-gmp install-html-gmp
16843 maybe-install-html-gmp:
16844 @if gmp
16845 maybe-install-html-gmp: install-html-gmp
16847 install-html-gmp: \
16848 configure-gmp \
16849 html-gmp
16850 @[ -f ./gmp/Makefile ] || exit 0; \
16851 r=`${PWD_COMMAND}`; export r; \
16852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16853 $(HOST_EXPORTS) \
16854 for flag in $(EXTRA_HOST_FLAGS) ; do \
16855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16856 done; \
16857 echo "Doing install-html in gmp" ; \
16858 (cd $(HOST_SUBDIR)/gmp && \
16859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16861 "RANLIB=$${RANLIB}" \
16862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16863 install-html) \
16864 || exit 1
16866 @endif gmp
16868 .PHONY: maybe-installcheck-gmp installcheck-gmp
16869 maybe-installcheck-gmp:
16870 @if gmp
16871 maybe-installcheck-gmp: installcheck-gmp
16873 installcheck-gmp: \
16874 configure-gmp
16875 @[ -f ./gmp/Makefile ] || exit 0; \
16876 r=`${PWD_COMMAND}`; export r; \
16877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16878 $(HOST_EXPORTS) \
16879 for flag in $(EXTRA_HOST_FLAGS) ; do \
16880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16881 done; \
16882 echo "Doing installcheck in gmp" ; \
16883 (cd $(HOST_SUBDIR)/gmp && \
16884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16886 "RANLIB=$${RANLIB}" \
16887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16888 installcheck) \
16889 || exit 1
16891 @endif gmp
16893 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
16894 maybe-mostlyclean-gmp:
16895 @if gmp
16896 maybe-mostlyclean-gmp: mostlyclean-gmp
16898 mostlyclean-gmp:
16899 @[ -f ./gmp/Makefile ] || exit 0; \
16900 r=`${PWD_COMMAND}`; export r; \
16901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16902 $(HOST_EXPORTS) \
16903 for flag in $(EXTRA_HOST_FLAGS) ; do \
16904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16905 done; \
16906 echo "Doing mostlyclean in gmp" ; \
16907 (cd $(HOST_SUBDIR)/gmp && \
16908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16910 "RANLIB=$${RANLIB}" \
16911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16912 mostlyclean) \
16913 || exit 1
16915 @endif gmp
16917 .PHONY: maybe-clean-gmp clean-gmp
16918 maybe-clean-gmp:
16919 @if gmp
16920 maybe-clean-gmp: clean-gmp
16922 clean-gmp:
16923 @[ -f ./gmp/Makefile ] || exit 0; \
16924 r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 $(HOST_EXPORTS) \
16927 for flag in $(EXTRA_HOST_FLAGS) ; do \
16928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16929 done; \
16930 echo "Doing clean in gmp" ; \
16931 (cd $(HOST_SUBDIR)/gmp && \
16932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16934 "RANLIB=$${RANLIB}" \
16935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16936 clean) \
16937 || exit 1
16939 @endif gmp
16941 .PHONY: maybe-distclean-gmp distclean-gmp
16942 maybe-distclean-gmp:
16943 @if gmp
16944 maybe-distclean-gmp: distclean-gmp
16946 distclean-gmp:
16947 @[ -f ./gmp/Makefile ] || exit 0; \
16948 r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(HOST_EXPORTS) \
16951 for flag in $(EXTRA_HOST_FLAGS) ; do \
16952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16953 done; \
16954 echo "Doing distclean in gmp" ; \
16955 (cd $(HOST_SUBDIR)/gmp && \
16956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16958 "RANLIB=$${RANLIB}" \
16959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16960 distclean) \
16961 || exit 1
16963 @endif gmp
16965 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
16966 maybe-maintainer-clean-gmp:
16967 @if gmp
16968 maybe-maintainer-clean-gmp: maintainer-clean-gmp
16970 maintainer-clean-gmp:
16971 @[ -f ./gmp/Makefile ] || exit 0; \
16972 r=`${PWD_COMMAND}`; export r; \
16973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16974 $(HOST_EXPORTS) \
16975 for flag in $(EXTRA_HOST_FLAGS) ; do \
16976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16977 done; \
16978 echo "Doing maintainer-clean in gmp" ; \
16979 (cd $(HOST_SUBDIR)/gmp && \
16980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16982 "RANLIB=$${RANLIB}" \
16983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16984 maintainer-clean) \
16985 || exit 1
16987 @endif gmp
16991 .PHONY: configure-mpfr maybe-configure-mpfr
16992 maybe-configure-mpfr:
16993 @if gcc-bootstrap
16994 configure-mpfr: stage_current
16995 @endif gcc-bootstrap
16996 @if mpfr
16997 maybe-configure-mpfr: configure-mpfr
16998 configure-mpfr:
16999 @r=`${PWD_COMMAND}`; export r; \
17000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17001 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17003 $(HOST_EXPORTS) \
17004 echo Configuring in $(HOST_SUBDIR)/mpfr; \
17005 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
17006 case $(srcdir) in \
17007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17008 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17010 esac; \
17011 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17012 libsrcdir="$$s/mpfr"; \
17013 $(SHELL) $${libsrcdir}/configure \
17014 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17015 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
17016 || exit 1
17017 @endif mpfr
17021 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
17022 maybe-configure-stage1-mpfr:
17023 @if mpfr-bootstrap
17024 maybe-configure-stage1-mpfr: configure-stage1-mpfr
17025 configure-stage1-mpfr:
17026 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17028 @r=`${PWD_COMMAND}`; export r; \
17029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17030 TFLAGS="$(STAGE1_TFLAGS)"; \
17031 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17032 $(HOST_EXPORTS) \
17033 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17034 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
17035 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17036 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
17037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17038 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17039 case $(srcdir) in \
17040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17041 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17043 esac; \
17044 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17045 libsrcdir="$$s/mpfr"; \
17046 $(SHELL) $${libsrcdir}/configure \
17047 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17048 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17049 $(STAGE1_CONFIGURE_FLAGS) \
17050 --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17051 @endif mpfr-bootstrap
17053 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
17054 maybe-configure-stage2-mpfr:
17055 @if mpfr-bootstrap
17056 maybe-configure-stage2-mpfr: configure-stage2-mpfr
17057 configure-stage2-mpfr:
17058 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17060 @r=`${PWD_COMMAND}`; export r; \
17061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17062 TFLAGS="$(STAGE2_TFLAGS)"; \
17063 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17064 $(HOST_EXPORTS) \
17065 $(POSTSTAGE1_HOST_EXPORTS) \
17066 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17067 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
17068 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17069 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
17070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17071 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17072 case $(srcdir) in \
17073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17074 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17076 esac; \
17077 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17078 libsrcdir="$$s/mpfr"; \
17079 $(SHELL) $${libsrcdir}/configure \
17080 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17081 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17082 --with-build-libsubdir=$(HOST_SUBDIR) \
17083 $(STAGE2_CONFIGURE_FLAGS) \
17084 --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17085 @endif mpfr-bootstrap
17087 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
17088 maybe-configure-stage3-mpfr:
17089 @if mpfr-bootstrap
17090 maybe-configure-stage3-mpfr: configure-stage3-mpfr
17091 configure-stage3-mpfr:
17092 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17093 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17094 @r=`${PWD_COMMAND}`; export r; \
17095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17096 TFLAGS="$(STAGE3_TFLAGS)"; \
17097 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17098 $(HOST_EXPORTS) \
17099 $(POSTSTAGE1_HOST_EXPORTS) \
17100 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17101 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
17102 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17103 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
17104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17105 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17106 case $(srcdir) in \
17107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17108 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17110 esac; \
17111 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17112 libsrcdir="$$s/mpfr"; \
17113 $(SHELL) $${libsrcdir}/configure \
17114 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17115 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17116 --with-build-libsubdir=$(HOST_SUBDIR) \
17117 $(STAGE3_CONFIGURE_FLAGS) \
17118 --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17119 @endif mpfr-bootstrap
17121 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
17122 maybe-configure-stage4-mpfr:
17123 @if mpfr-bootstrap
17124 maybe-configure-stage4-mpfr: configure-stage4-mpfr
17125 configure-stage4-mpfr:
17126 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17128 @r=`${PWD_COMMAND}`; export r; \
17129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17130 TFLAGS="$(STAGE4_TFLAGS)"; \
17131 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17132 $(HOST_EXPORTS) \
17133 $(POSTSTAGE1_HOST_EXPORTS) \
17134 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17135 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
17136 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17137 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
17138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17139 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17140 case $(srcdir) in \
17141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17142 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17144 esac; \
17145 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17146 libsrcdir="$$s/mpfr"; \
17147 $(SHELL) $${libsrcdir}/configure \
17148 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17149 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17150 --with-build-libsubdir=$(HOST_SUBDIR) \
17151 $(STAGE4_CONFIGURE_FLAGS) \
17152 --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17153 @endif mpfr-bootstrap
17155 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
17156 maybe-configure-stageprofile-mpfr:
17157 @if mpfr-bootstrap
17158 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
17159 configure-stageprofile-mpfr:
17160 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17161 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17162 @r=`${PWD_COMMAND}`; export r; \
17163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17164 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17165 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17166 $(HOST_EXPORTS) \
17167 $(POSTSTAGE1_HOST_EXPORTS) \
17168 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17169 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
17170 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17171 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
17172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17173 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17174 case $(srcdir) in \
17175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17176 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17178 esac; \
17179 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17180 libsrcdir="$$s/mpfr"; \
17181 $(SHELL) $${libsrcdir}/configure \
17182 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17183 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17184 --with-build-libsubdir=$(HOST_SUBDIR) \
17185 $(STAGEprofile_CONFIGURE_FLAGS) \
17186 --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17187 @endif mpfr-bootstrap
17189 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
17190 maybe-configure-stagefeedback-mpfr:
17191 @if mpfr-bootstrap
17192 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
17193 configure-stagefeedback-mpfr:
17194 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17196 @r=`${PWD_COMMAND}`; export r; \
17197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17198 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17199 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17200 $(HOST_EXPORTS) \
17201 $(POSTSTAGE1_HOST_EXPORTS) \
17202 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17203 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
17204 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17205 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
17206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17207 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17208 case $(srcdir) in \
17209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17210 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17212 esac; \
17213 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17214 libsrcdir="$$s/mpfr"; \
17215 $(SHELL) $${libsrcdir}/configure \
17216 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17217 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17218 --with-build-libsubdir=$(HOST_SUBDIR) \
17219 $(STAGEfeedback_CONFIGURE_FLAGS) \
17220 --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17221 @endif mpfr-bootstrap
17227 .PHONY: all-mpfr maybe-all-mpfr
17228 maybe-all-mpfr:
17229 @if gcc-bootstrap
17230 all-mpfr: stage_current
17231 @endif gcc-bootstrap
17232 @if mpfr
17233 TARGET-mpfr=all
17234 maybe-all-mpfr: all-mpfr
17235 all-mpfr: configure-mpfr
17236 @r=`${PWD_COMMAND}`; export r; \
17237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17238 $(HOST_EXPORTS) \
17239 (cd $(HOST_SUBDIR)/mpfr && \
17240 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17241 $(TARGET-mpfr))
17242 @endif mpfr
17246 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
17247 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
17248 maybe-all-stage1-mpfr:
17249 maybe-clean-stage1-mpfr:
17250 @if mpfr-bootstrap
17251 maybe-all-stage1-mpfr: all-stage1-mpfr
17252 all-stage1: all-stage1-mpfr
17253 TARGET-stage1-mpfr = $(TARGET-mpfr)
17254 all-stage1-mpfr: configure-stage1-mpfr
17255 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17256 @r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 TFLAGS="$(STAGE1_TFLAGS)"; \
17259 $(HOST_EXPORTS) \
17260 cd $(HOST_SUBDIR)/mpfr && \
17261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17262 CFLAGS="$(STAGE1_CFLAGS)" \
17263 CXXFLAGS="$(STAGE1_CFLAGS)" \
17264 LIBCFLAGS="$(LIBCFLAGS)" \
17265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17268 $(EXTRA_HOST_FLAGS) \
17269 TFLAGS="$(STAGE1_TFLAGS)" \
17270 $(TARGET-stage1-mpfr)
17272 maybe-clean-stage1-mpfr: clean-stage1-mpfr
17273 clean-stage1: clean-stage1-mpfr
17274 clean-stage1-mpfr:
17275 @if [ $(current_stage) = stage1 ]; then \
17276 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17277 else \
17278 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
17279 $(MAKE) stage1-start; \
17280 fi; \
17281 cd $(HOST_SUBDIR)/mpfr && \
17282 $(MAKE) $(EXTRA_HOST_FLAGS) \
17283 clean
17284 @endif mpfr-bootstrap
17287 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
17288 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
17289 maybe-all-stage2-mpfr:
17290 maybe-clean-stage2-mpfr:
17291 @if mpfr-bootstrap
17292 maybe-all-stage2-mpfr: all-stage2-mpfr
17293 all-stage2: all-stage2-mpfr
17294 TARGET-stage2-mpfr = $(TARGET-mpfr)
17295 all-stage2-mpfr: configure-stage2-mpfr
17296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17297 @r=`${PWD_COMMAND}`; export r; \
17298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17299 TFLAGS="$(STAGE2_TFLAGS)"; \
17300 $(HOST_EXPORTS) \
17301 $(POSTSTAGE1_HOST_EXPORTS) \
17302 cd $(HOST_SUBDIR)/mpfr && \
17303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17304 CFLAGS="$(STAGE2_CFLAGS)" \
17305 CXXFLAGS="$(STAGE2_CFLAGS)" \
17306 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17311 TFLAGS="$(STAGE2_TFLAGS)" \
17312 $(TARGET-stage2-mpfr)
17314 maybe-clean-stage2-mpfr: clean-stage2-mpfr
17315 clean-stage2: clean-stage2-mpfr
17316 clean-stage2-mpfr:
17317 @if [ $(current_stage) = stage2 ]; then \
17318 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17319 else \
17320 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
17321 $(MAKE) stage2-start; \
17322 fi; \
17323 cd $(HOST_SUBDIR)/mpfr && \
17324 $(MAKE) $(EXTRA_HOST_FLAGS) \
17325 $(POSTSTAGE1_FLAGS_TO_PASS) \
17326 clean
17327 @endif mpfr-bootstrap
17330 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
17331 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
17332 maybe-all-stage3-mpfr:
17333 maybe-clean-stage3-mpfr:
17334 @if mpfr-bootstrap
17335 maybe-all-stage3-mpfr: all-stage3-mpfr
17336 all-stage3: all-stage3-mpfr
17337 TARGET-stage3-mpfr = $(TARGET-mpfr)
17338 all-stage3-mpfr: configure-stage3-mpfr
17339 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17340 @r=`${PWD_COMMAND}`; export r; \
17341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17342 TFLAGS="$(STAGE3_TFLAGS)"; \
17343 $(HOST_EXPORTS) \
17344 $(POSTSTAGE1_HOST_EXPORTS) \
17345 cd $(HOST_SUBDIR)/mpfr && \
17346 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17347 CFLAGS="$(STAGE3_CFLAGS)" \
17348 CXXFLAGS="$(STAGE3_CFLAGS)" \
17349 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17353 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17354 TFLAGS="$(STAGE3_TFLAGS)" \
17355 $(TARGET-stage3-mpfr)
17357 maybe-clean-stage3-mpfr: clean-stage3-mpfr
17358 clean-stage3: clean-stage3-mpfr
17359 clean-stage3-mpfr:
17360 @if [ $(current_stage) = stage3 ]; then \
17361 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17362 else \
17363 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
17364 $(MAKE) stage3-start; \
17365 fi; \
17366 cd $(HOST_SUBDIR)/mpfr && \
17367 $(MAKE) $(EXTRA_HOST_FLAGS) \
17368 $(POSTSTAGE1_FLAGS_TO_PASS) \
17369 clean
17370 @endif mpfr-bootstrap
17373 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
17374 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
17375 maybe-all-stage4-mpfr:
17376 maybe-clean-stage4-mpfr:
17377 @if mpfr-bootstrap
17378 maybe-all-stage4-mpfr: all-stage4-mpfr
17379 all-stage4: all-stage4-mpfr
17380 TARGET-stage4-mpfr = $(TARGET-mpfr)
17381 all-stage4-mpfr: configure-stage4-mpfr
17382 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17383 @r=`${PWD_COMMAND}`; export r; \
17384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17385 TFLAGS="$(STAGE4_TFLAGS)"; \
17386 $(HOST_EXPORTS) \
17387 $(POSTSTAGE1_HOST_EXPORTS) \
17388 cd $(HOST_SUBDIR)/mpfr && \
17389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17390 CFLAGS="$(STAGE4_CFLAGS)" \
17391 CXXFLAGS="$(STAGE4_CFLAGS)" \
17392 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17397 TFLAGS="$(STAGE4_TFLAGS)" \
17398 $(TARGET-stage4-mpfr)
17400 maybe-clean-stage4-mpfr: clean-stage4-mpfr
17401 clean-stage4: clean-stage4-mpfr
17402 clean-stage4-mpfr:
17403 @if [ $(current_stage) = stage4 ]; then \
17404 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17405 else \
17406 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
17407 $(MAKE) stage4-start; \
17408 fi; \
17409 cd $(HOST_SUBDIR)/mpfr && \
17410 $(MAKE) $(EXTRA_HOST_FLAGS) \
17411 $(POSTSTAGE1_FLAGS_TO_PASS) \
17412 clean
17413 @endif mpfr-bootstrap
17416 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
17417 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
17418 maybe-all-stageprofile-mpfr:
17419 maybe-clean-stageprofile-mpfr:
17420 @if mpfr-bootstrap
17421 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
17422 all-stageprofile: all-stageprofile-mpfr
17423 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
17424 all-stageprofile-mpfr: configure-stageprofile-mpfr
17425 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17426 @r=`${PWD_COMMAND}`; export r; \
17427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17428 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17429 $(HOST_EXPORTS) \
17430 $(POSTSTAGE1_HOST_EXPORTS) \
17431 cd $(HOST_SUBDIR)/mpfr && \
17432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17433 CFLAGS="$(STAGEprofile_CFLAGS)" \
17434 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
17435 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17440 TFLAGS="$(STAGEprofile_TFLAGS)" \
17441 $(TARGET-stageprofile-mpfr)
17443 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
17444 clean-stageprofile: clean-stageprofile-mpfr
17445 clean-stageprofile-mpfr:
17446 @if [ $(current_stage) = stageprofile ]; then \
17447 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17448 else \
17449 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
17450 $(MAKE) stageprofile-start; \
17451 fi; \
17452 cd $(HOST_SUBDIR)/mpfr && \
17453 $(MAKE) $(EXTRA_HOST_FLAGS) \
17454 $(POSTSTAGE1_FLAGS_TO_PASS) \
17455 clean
17456 @endif mpfr-bootstrap
17459 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
17460 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
17461 maybe-all-stagefeedback-mpfr:
17462 maybe-clean-stagefeedback-mpfr:
17463 @if mpfr-bootstrap
17464 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
17465 all-stagefeedback: all-stagefeedback-mpfr
17466 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
17467 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
17468 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17469 @r=`${PWD_COMMAND}`; export r; \
17470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17471 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17472 $(HOST_EXPORTS) \
17473 $(POSTSTAGE1_HOST_EXPORTS) \
17474 cd $(HOST_SUBDIR)/mpfr && \
17475 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17476 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17477 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
17478 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17479 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17480 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17481 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17482 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17483 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17484 $(TARGET-stagefeedback-mpfr)
17486 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
17487 clean-stagefeedback: clean-stagefeedback-mpfr
17488 clean-stagefeedback-mpfr:
17489 @if [ $(current_stage) = stagefeedback ]; then \
17490 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17491 else \
17492 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
17493 $(MAKE) stagefeedback-start; \
17494 fi; \
17495 cd $(HOST_SUBDIR)/mpfr && \
17496 $(MAKE) $(EXTRA_HOST_FLAGS) \
17497 $(POSTSTAGE1_FLAGS_TO_PASS) \
17498 clean
17499 @endif mpfr-bootstrap
17505 .PHONY: check-mpfr maybe-check-mpfr
17506 maybe-check-mpfr:
17507 @if mpfr
17508 maybe-check-mpfr: check-mpfr
17510 check-mpfr:
17511 @: $(MAKE); $(unstage)
17512 @r=`${PWD_COMMAND}`; export r; \
17513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17514 $(HOST_EXPORTS) \
17515 (cd $(HOST_SUBDIR)/mpfr && \
17516 $(MAKE) $(FLAGS_TO_PASS) check)
17518 @endif mpfr
17520 .PHONY: install-mpfr maybe-install-mpfr
17521 maybe-install-mpfr:
17522 @if mpfr
17523 maybe-install-mpfr: install-mpfr
17525 install-mpfr:
17527 @endif mpfr
17529 # Other targets (info, dvi, pdf, etc.)
17531 .PHONY: maybe-info-mpfr info-mpfr
17532 maybe-info-mpfr:
17533 @if mpfr
17534 maybe-info-mpfr: info-mpfr
17536 info-mpfr: \
17537 configure-mpfr
17538 @[ -f ./mpfr/Makefile ] || exit 0; \
17539 r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 $(HOST_EXPORTS) \
17542 for flag in $(EXTRA_HOST_FLAGS) ; do \
17543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17544 done; \
17545 echo "Doing info in mpfr" ; \
17546 (cd $(HOST_SUBDIR)/mpfr && \
17547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549 "RANLIB=$${RANLIB}" \
17550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17551 info) \
17552 || exit 1
17554 @endif mpfr
17556 .PHONY: maybe-dvi-mpfr dvi-mpfr
17557 maybe-dvi-mpfr:
17558 @if mpfr
17559 maybe-dvi-mpfr: dvi-mpfr
17561 dvi-mpfr: \
17562 configure-mpfr
17563 @[ -f ./mpfr/Makefile ] || exit 0; \
17564 r=`${PWD_COMMAND}`; export r; \
17565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17566 $(HOST_EXPORTS) \
17567 for flag in $(EXTRA_HOST_FLAGS) ; do \
17568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17569 done; \
17570 echo "Doing dvi in mpfr" ; \
17571 (cd $(HOST_SUBDIR)/mpfr && \
17572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17574 "RANLIB=$${RANLIB}" \
17575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17576 dvi) \
17577 || exit 1
17579 @endif mpfr
17581 .PHONY: maybe-pdf-mpfr pdf-mpfr
17582 maybe-pdf-mpfr:
17583 @if mpfr
17584 maybe-pdf-mpfr: pdf-mpfr
17586 pdf-mpfr: \
17587 configure-mpfr
17588 @[ -f ./mpfr/Makefile ] || exit 0; \
17589 r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 $(HOST_EXPORTS) \
17592 for flag in $(EXTRA_HOST_FLAGS) ; do \
17593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17594 done; \
17595 echo "Doing pdf in mpfr" ; \
17596 (cd $(HOST_SUBDIR)/mpfr && \
17597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17599 "RANLIB=$${RANLIB}" \
17600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17601 pdf) \
17602 || exit 1
17604 @endif mpfr
17606 .PHONY: maybe-html-mpfr html-mpfr
17607 maybe-html-mpfr:
17608 @if mpfr
17609 maybe-html-mpfr: html-mpfr
17611 html-mpfr: \
17612 configure-mpfr
17613 @[ -f ./mpfr/Makefile ] || exit 0; \
17614 r=`${PWD_COMMAND}`; export r; \
17615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17616 $(HOST_EXPORTS) \
17617 for flag in $(EXTRA_HOST_FLAGS) ; do \
17618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17619 done; \
17620 echo "Doing html in mpfr" ; \
17621 (cd $(HOST_SUBDIR)/mpfr && \
17622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17624 "RANLIB=$${RANLIB}" \
17625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17626 html) \
17627 || exit 1
17629 @endif mpfr
17631 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
17632 maybe-TAGS-mpfr:
17633 @if mpfr
17634 maybe-TAGS-mpfr: TAGS-mpfr
17636 TAGS-mpfr: \
17637 configure-mpfr
17638 @[ -f ./mpfr/Makefile ] || exit 0; \
17639 r=`${PWD_COMMAND}`; export r; \
17640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17641 $(HOST_EXPORTS) \
17642 for flag in $(EXTRA_HOST_FLAGS) ; do \
17643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17644 done; \
17645 echo "Doing TAGS in mpfr" ; \
17646 (cd $(HOST_SUBDIR)/mpfr && \
17647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17649 "RANLIB=$${RANLIB}" \
17650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17651 TAGS) \
17652 || exit 1
17654 @endif mpfr
17656 .PHONY: maybe-install-info-mpfr install-info-mpfr
17657 maybe-install-info-mpfr:
17658 @if mpfr
17659 maybe-install-info-mpfr: install-info-mpfr
17661 install-info-mpfr: \
17662 configure-mpfr \
17663 info-mpfr
17664 @[ -f ./mpfr/Makefile ] || exit 0; \
17665 r=`${PWD_COMMAND}`; export r; \
17666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17667 $(HOST_EXPORTS) \
17668 for flag in $(EXTRA_HOST_FLAGS) ; do \
17669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17670 done; \
17671 echo "Doing install-info in mpfr" ; \
17672 (cd $(HOST_SUBDIR)/mpfr && \
17673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17675 "RANLIB=$${RANLIB}" \
17676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17677 install-info) \
17678 || exit 1
17680 @endif mpfr
17682 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
17683 maybe-install-pdf-mpfr:
17684 @if mpfr
17685 maybe-install-pdf-mpfr: install-pdf-mpfr
17687 install-pdf-mpfr: \
17688 configure-mpfr \
17689 pdf-mpfr
17690 @[ -f ./mpfr/Makefile ] || exit 0; \
17691 r=`${PWD_COMMAND}`; export r; \
17692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693 $(HOST_EXPORTS) \
17694 for flag in $(EXTRA_HOST_FLAGS) ; do \
17695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17696 done; \
17697 echo "Doing install-pdf in mpfr" ; \
17698 (cd $(HOST_SUBDIR)/mpfr && \
17699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17701 "RANLIB=$${RANLIB}" \
17702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17703 install-pdf) \
17704 || exit 1
17706 @endif mpfr
17708 .PHONY: maybe-install-html-mpfr install-html-mpfr
17709 maybe-install-html-mpfr:
17710 @if mpfr
17711 maybe-install-html-mpfr: install-html-mpfr
17713 install-html-mpfr: \
17714 configure-mpfr \
17715 html-mpfr
17716 @[ -f ./mpfr/Makefile ] || exit 0; \
17717 r=`${PWD_COMMAND}`; export r; \
17718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17719 $(HOST_EXPORTS) \
17720 for flag in $(EXTRA_HOST_FLAGS) ; do \
17721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17722 done; \
17723 echo "Doing install-html in mpfr" ; \
17724 (cd $(HOST_SUBDIR)/mpfr && \
17725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17727 "RANLIB=$${RANLIB}" \
17728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17729 install-html) \
17730 || exit 1
17732 @endif mpfr
17734 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
17735 maybe-installcheck-mpfr:
17736 @if mpfr
17737 maybe-installcheck-mpfr: installcheck-mpfr
17739 installcheck-mpfr: \
17740 configure-mpfr
17741 @[ -f ./mpfr/Makefile ] || exit 0; \
17742 r=`${PWD_COMMAND}`; export r; \
17743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17744 $(HOST_EXPORTS) \
17745 for flag in $(EXTRA_HOST_FLAGS) ; do \
17746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17747 done; \
17748 echo "Doing installcheck in mpfr" ; \
17749 (cd $(HOST_SUBDIR)/mpfr && \
17750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17752 "RANLIB=$${RANLIB}" \
17753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17754 installcheck) \
17755 || exit 1
17757 @endif mpfr
17759 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
17760 maybe-mostlyclean-mpfr:
17761 @if mpfr
17762 maybe-mostlyclean-mpfr: mostlyclean-mpfr
17764 mostlyclean-mpfr:
17765 @[ -f ./mpfr/Makefile ] || exit 0; \
17766 r=`${PWD_COMMAND}`; export r; \
17767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17768 $(HOST_EXPORTS) \
17769 for flag in $(EXTRA_HOST_FLAGS) ; do \
17770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17771 done; \
17772 echo "Doing mostlyclean in mpfr" ; \
17773 (cd $(HOST_SUBDIR)/mpfr && \
17774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17776 "RANLIB=$${RANLIB}" \
17777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17778 mostlyclean) \
17779 || exit 1
17781 @endif mpfr
17783 .PHONY: maybe-clean-mpfr clean-mpfr
17784 maybe-clean-mpfr:
17785 @if mpfr
17786 maybe-clean-mpfr: clean-mpfr
17788 clean-mpfr:
17789 @[ -f ./mpfr/Makefile ] || exit 0; \
17790 r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792 $(HOST_EXPORTS) \
17793 for flag in $(EXTRA_HOST_FLAGS) ; do \
17794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17795 done; \
17796 echo "Doing clean in mpfr" ; \
17797 (cd $(HOST_SUBDIR)/mpfr && \
17798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17800 "RANLIB=$${RANLIB}" \
17801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17802 clean) \
17803 || exit 1
17805 @endif mpfr
17807 .PHONY: maybe-distclean-mpfr distclean-mpfr
17808 maybe-distclean-mpfr:
17809 @if mpfr
17810 maybe-distclean-mpfr: distclean-mpfr
17812 distclean-mpfr:
17813 @[ -f ./mpfr/Makefile ] || exit 0; \
17814 r=`${PWD_COMMAND}`; export r; \
17815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17816 $(HOST_EXPORTS) \
17817 for flag in $(EXTRA_HOST_FLAGS) ; do \
17818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17819 done; \
17820 echo "Doing distclean in mpfr" ; \
17821 (cd $(HOST_SUBDIR)/mpfr && \
17822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17824 "RANLIB=$${RANLIB}" \
17825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17826 distclean) \
17827 || exit 1
17829 @endif mpfr
17831 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
17832 maybe-maintainer-clean-mpfr:
17833 @if mpfr
17834 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
17836 maintainer-clean-mpfr:
17837 @[ -f ./mpfr/Makefile ] || exit 0; \
17838 r=`${PWD_COMMAND}`; export r; \
17839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17840 $(HOST_EXPORTS) \
17841 for flag in $(EXTRA_HOST_FLAGS) ; do \
17842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17843 done; \
17844 echo "Doing maintainer-clean in mpfr" ; \
17845 (cd $(HOST_SUBDIR)/mpfr && \
17846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17848 "RANLIB=$${RANLIB}" \
17849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17850 maintainer-clean) \
17851 || exit 1
17853 @endif mpfr
17857 .PHONY: configure-ppl maybe-configure-ppl
17858 maybe-configure-ppl:
17859 @if gcc-bootstrap
17860 configure-ppl: stage_current
17861 @endif gcc-bootstrap
17862 @if ppl
17863 maybe-configure-ppl: configure-ppl
17864 configure-ppl:
17865 @r=`${PWD_COMMAND}`; export r; \
17866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17867 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
17868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
17869 $(HOST_EXPORTS) \
17870 echo Configuring in $(HOST_SUBDIR)/ppl; \
17871 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
17872 case $(srcdir) in \
17873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17874 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
17875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17876 esac; \
17877 srcdiroption="--srcdir=$${topdir}/ppl"; \
17878 libsrcdir="$$s/ppl"; \
17879 $(SHELL) $${libsrcdir}/configure \
17880 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17881 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
17882 || exit 1
17883 @endif ppl
17887 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
17888 maybe-configure-stage1-ppl:
17889 @if ppl-bootstrap
17890 maybe-configure-stage1-ppl: configure-stage1-ppl
17891 configure-stage1-ppl:
17892 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
17894 @r=`${PWD_COMMAND}`; export r; \
17895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17896 TFLAGS="$(STAGE1_TFLAGS)"; \
17897 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
17898 $(HOST_EXPORTS) \
17899 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17900 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
17901 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17902 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
17903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
17904 cd $(HOST_SUBDIR)/ppl || exit 1; \
17905 case $(srcdir) in \
17906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17907 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
17908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17909 esac; \
17910 srcdiroption="--srcdir=$${topdir}/ppl"; \
17911 libsrcdir="$$s/ppl"; \
17912 $(SHELL) $${libsrcdir}/configure \
17913 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17914 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17915 $(STAGE1_CONFIGURE_FLAGS) \
17916 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
17917 @endif ppl-bootstrap
17919 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
17920 maybe-configure-stage2-ppl:
17921 @if ppl-bootstrap
17922 maybe-configure-stage2-ppl: configure-stage2-ppl
17923 configure-stage2-ppl:
17924 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
17926 @r=`${PWD_COMMAND}`; export r; \
17927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17928 TFLAGS="$(STAGE2_TFLAGS)"; \
17929 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
17930 $(HOST_EXPORTS) \
17931 $(POSTSTAGE1_HOST_EXPORTS) \
17932 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17933 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
17934 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17935 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
17936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
17937 cd $(HOST_SUBDIR)/ppl || exit 1; \
17938 case $(srcdir) in \
17939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17940 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
17941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17942 esac; \
17943 srcdiroption="--srcdir=$${topdir}/ppl"; \
17944 libsrcdir="$$s/ppl"; \
17945 $(SHELL) $${libsrcdir}/configure \
17946 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17947 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17948 --with-build-libsubdir=$(HOST_SUBDIR) \
17949 $(STAGE2_CONFIGURE_FLAGS) \
17950 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
17951 @endif ppl-bootstrap
17953 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
17954 maybe-configure-stage3-ppl:
17955 @if ppl-bootstrap
17956 maybe-configure-stage3-ppl: configure-stage3-ppl
17957 configure-stage3-ppl:
17958 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
17960 @r=`${PWD_COMMAND}`; export r; \
17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17962 TFLAGS="$(STAGE3_TFLAGS)"; \
17963 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
17964 $(HOST_EXPORTS) \
17965 $(POSTSTAGE1_HOST_EXPORTS) \
17966 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17967 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
17968 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17969 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
17970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
17971 cd $(HOST_SUBDIR)/ppl || exit 1; \
17972 case $(srcdir) in \
17973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17974 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
17975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17976 esac; \
17977 srcdiroption="--srcdir=$${topdir}/ppl"; \
17978 libsrcdir="$$s/ppl"; \
17979 $(SHELL) $${libsrcdir}/configure \
17980 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17981 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17982 --with-build-libsubdir=$(HOST_SUBDIR) \
17983 $(STAGE3_CONFIGURE_FLAGS) \
17984 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
17985 @endif ppl-bootstrap
17987 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
17988 maybe-configure-stage4-ppl:
17989 @if ppl-bootstrap
17990 maybe-configure-stage4-ppl: configure-stage4-ppl
17991 configure-stage4-ppl:
17992 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
17994 @r=`${PWD_COMMAND}`; export r; \
17995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17996 TFLAGS="$(STAGE4_TFLAGS)"; \
17997 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
17998 $(HOST_EXPORTS) \
17999 $(POSTSTAGE1_HOST_EXPORTS) \
18000 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18001 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
18002 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18003 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
18004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18005 cd $(HOST_SUBDIR)/ppl || exit 1; \
18006 case $(srcdir) in \
18007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18008 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18010 esac; \
18011 srcdiroption="--srcdir=$${topdir}/ppl"; \
18012 libsrcdir="$$s/ppl"; \
18013 $(SHELL) $${libsrcdir}/configure \
18014 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18015 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18016 --with-build-libsubdir=$(HOST_SUBDIR) \
18017 $(STAGE4_CONFIGURE_FLAGS) \
18018 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18019 @endif ppl-bootstrap
18021 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
18022 maybe-configure-stageprofile-ppl:
18023 @if ppl-bootstrap
18024 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
18025 configure-stageprofile-ppl:
18026 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18028 @r=`${PWD_COMMAND}`; export r; \
18029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18030 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18031 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18032 $(HOST_EXPORTS) \
18033 $(POSTSTAGE1_HOST_EXPORTS) \
18034 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18035 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
18036 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18037 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
18038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18039 cd $(HOST_SUBDIR)/ppl || exit 1; \
18040 case $(srcdir) in \
18041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18042 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18044 esac; \
18045 srcdiroption="--srcdir=$${topdir}/ppl"; \
18046 libsrcdir="$$s/ppl"; \
18047 $(SHELL) $${libsrcdir}/configure \
18048 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18049 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18050 --with-build-libsubdir=$(HOST_SUBDIR) \
18051 $(STAGEprofile_CONFIGURE_FLAGS) \
18052 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18053 @endif ppl-bootstrap
18055 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
18056 maybe-configure-stagefeedback-ppl:
18057 @if ppl-bootstrap
18058 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
18059 configure-stagefeedback-ppl:
18060 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18062 @r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18064 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18065 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18066 $(HOST_EXPORTS) \
18067 $(POSTSTAGE1_HOST_EXPORTS) \
18068 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18069 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
18070 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18071 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
18072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18073 cd $(HOST_SUBDIR)/ppl || exit 1; \
18074 case $(srcdir) in \
18075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18076 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18078 esac; \
18079 srcdiroption="--srcdir=$${topdir}/ppl"; \
18080 libsrcdir="$$s/ppl"; \
18081 $(SHELL) $${libsrcdir}/configure \
18082 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18083 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18084 --with-build-libsubdir=$(HOST_SUBDIR) \
18085 $(STAGEfeedback_CONFIGURE_FLAGS) \
18086 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18087 @endif ppl-bootstrap
18093 .PHONY: all-ppl maybe-all-ppl
18094 maybe-all-ppl:
18095 @if gcc-bootstrap
18096 all-ppl: stage_current
18097 @endif gcc-bootstrap
18098 @if ppl
18099 TARGET-ppl=all
18100 maybe-all-ppl: all-ppl
18101 all-ppl: configure-ppl
18102 @r=`${PWD_COMMAND}`; export r; \
18103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18104 $(HOST_EXPORTS) \
18105 (cd $(HOST_SUBDIR)/ppl && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18107 $(TARGET-ppl))
18108 @endif ppl
18112 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
18113 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
18114 maybe-all-stage1-ppl:
18115 maybe-clean-stage1-ppl:
18116 @if ppl-bootstrap
18117 maybe-all-stage1-ppl: all-stage1-ppl
18118 all-stage1: all-stage1-ppl
18119 TARGET-stage1-ppl = $(TARGET-ppl)
18120 all-stage1-ppl: configure-stage1-ppl
18121 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18122 @r=`${PWD_COMMAND}`; export r; \
18123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 TFLAGS="$(STAGE1_TFLAGS)"; \
18125 $(HOST_EXPORTS) \
18126 cd $(HOST_SUBDIR)/ppl && \
18127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18128 CFLAGS="$(STAGE1_CFLAGS)" \
18129 CXXFLAGS="$(STAGE1_CFLAGS)" \
18130 LIBCFLAGS="$(LIBCFLAGS)" \
18131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18134 $(EXTRA_HOST_FLAGS) \
18135 TFLAGS="$(STAGE1_TFLAGS)" \
18136 $(TARGET-stage1-ppl)
18138 maybe-clean-stage1-ppl: clean-stage1-ppl
18139 clean-stage1: clean-stage1-ppl
18140 clean-stage1-ppl:
18141 @if [ $(current_stage) = stage1 ]; then \
18142 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18143 else \
18144 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
18145 $(MAKE) stage1-start; \
18146 fi; \
18147 cd $(HOST_SUBDIR)/ppl && \
18148 $(MAKE) $(EXTRA_HOST_FLAGS) \
18149 clean
18150 @endif ppl-bootstrap
18153 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
18154 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
18155 maybe-all-stage2-ppl:
18156 maybe-clean-stage2-ppl:
18157 @if ppl-bootstrap
18158 maybe-all-stage2-ppl: all-stage2-ppl
18159 all-stage2: all-stage2-ppl
18160 TARGET-stage2-ppl = $(TARGET-ppl)
18161 all-stage2-ppl: configure-stage2-ppl
18162 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18163 @r=`${PWD_COMMAND}`; export r; \
18164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18165 TFLAGS="$(STAGE2_TFLAGS)"; \
18166 $(HOST_EXPORTS) \
18167 $(POSTSTAGE1_HOST_EXPORTS) \
18168 cd $(HOST_SUBDIR)/ppl && \
18169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18170 CFLAGS="$(STAGE2_CFLAGS)" \
18171 CXXFLAGS="$(STAGE2_CFLAGS)" \
18172 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18177 TFLAGS="$(STAGE2_TFLAGS)" \
18178 $(TARGET-stage2-ppl)
18180 maybe-clean-stage2-ppl: clean-stage2-ppl
18181 clean-stage2: clean-stage2-ppl
18182 clean-stage2-ppl:
18183 @if [ $(current_stage) = stage2 ]; then \
18184 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18185 else \
18186 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
18187 $(MAKE) stage2-start; \
18188 fi; \
18189 cd $(HOST_SUBDIR)/ppl && \
18190 $(MAKE) $(EXTRA_HOST_FLAGS) \
18191 $(POSTSTAGE1_FLAGS_TO_PASS) \
18192 clean
18193 @endif ppl-bootstrap
18196 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
18197 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
18198 maybe-all-stage3-ppl:
18199 maybe-clean-stage3-ppl:
18200 @if ppl-bootstrap
18201 maybe-all-stage3-ppl: all-stage3-ppl
18202 all-stage3: all-stage3-ppl
18203 TARGET-stage3-ppl = $(TARGET-ppl)
18204 all-stage3-ppl: configure-stage3-ppl
18205 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18206 @r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18208 TFLAGS="$(STAGE3_TFLAGS)"; \
18209 $(HOST_EXPORTS) \
18210 $(POSTSTAGE1_HOST_EXPORTS) \
18211 cd $(HOST_SUBDIR)/ppl && \
18212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18213 CFLAGS="$(STAGE3_CFLAGS)" \
18214 CXXFLAGS="$(STAGE3_CFLAGS)" \
18215 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18220 TFLAGS="$(STAGE3_TFLAGS)" \
18221 $(TARGET-stage3-ppl)
18223 maybe-clean-stage3-ppl: clean-stage3-ppl
18224 clean-stage3: clean-stage3-ppl
18225 clean-stage3-ppl:
18226 @if [ $(current_stage) = stage3 ]; then \
18227 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18228 else \
18229 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
18230 $(MAKE) stage3-start; \
18231 fi; \
18232 cd $(HOST_SUBDIR)/ppl && \
18233 $(MAKE) $(EXTRA_HOST_FLAGS) \
18234 $(POSTSTAGE1_FLAGS_TO_PASS) \
18235 clean
18236 @endif ppl-bootstrap
18239 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
18240 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
18241 maybe-all-stage4-ppl:
18242 maybe-clean-stage4-ppl:
18243 @if ppl-bootstrap
18244 maybe-all-stage4-ppl: all-stage4-ppl
18245 all-stage4: all-stage4-ppl
18246 TARGET-stage4-ppl = $(TARGET-ppl)
18247 all-stage4-ppl: configure-stage4-ppl
18248 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18249 @r=`${PWD_COMMAND}`; export r; \
18250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18251 TFLAGS="$(STAGE4_TFLAGS)"; \
18252 $(HOST_EXPORTS) \
18253 $(POSTSTAGE1_HOST_EXPORTS) \
18254 cd $(HOST_SUBDIR)/ppl && \
18255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18256 CFLAGS="$(STAGE4_CFLAGS)" \
18257 CXXFLAGS="$(STAGE4_CFLAGS)" \
18258 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18263 TFLAGS="$(STAGE4_TFLAGS)" \
18264 $(TARGET-stage4-ppl)
18266 maybe-clean-stage4-ppl: clean-stage4-ppl
18267 clean-stage4: clean-stage4-ppl
18268 clean-stage4-ppl:
18269 @if [ $(current_stage) = stage4 ]; then \
18270 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18271 else \
18272 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
18273 $(MAKE) stage4-start; \
18274 fi; \
18275 cd $(HOST_SUBDIR)/ppl && \
18276 $(MAKE) $(EXTRA_HOST_FLAGS) \
18277 $(POSTSTAGE1_FLAGS_TO_PASS) \
18278 clean
18279 @endif ppl-bootstrap
18282 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
18283 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
18284 maybe-all-stageprofile-ppl:
18285 maybe-clean-stageprofile-ppl:
18286 @if ppl-bootstrap
18287 maybe-all-stageprofile-ppl: all-stageprofile-ppl
18288 all-stageprofile: all-stageprofile-ppl
18289 TARGET-stageprofile-ppl = $(TARGET-ppl)
18290 all-stageprofile-ppl: configure-stageprofile-ppl
18291 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18292 @r=`${PWD_COMMAND}`; export r; \
18293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18294 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18295 $(HOST_EXPORTS) \
18296 $(POSTSTAGE1_HOST_EXPORTS) \
18297 cd $(HOST_SUBDIR)/ppl && \
18298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18299 CFLAGS="$(STAGEprofile_CFLAGS)" \
18300 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
18301 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18306 TFLAGS="$(STAGEprofile_TFLAGS)" \
18307 $(TARGET-stageprofile-ppl)
18309 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
18310 clean-stageprofile: clean-stageprofile-ppl
18311 clean-stageprofile-ppl:
18312 @if [ $(current_stage) = stageprofile ]; then \
18313 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18314 else \
18315 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
18316 $(MAKE) stageprofile-start; \
18317 fi; \
18318 cd $(HOST_SUBDIR)/ppl && \
18319 $(MAKE) $(EXTRA_HOST_FLAGS) \
18320 $(POSTSTAGE1_FLAGS_TO_PASS) \
18321 clean
18322 @endif ppl-bootstrap
18325 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
18326 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
18327 maybe-all-stagefeedback-ppl:
18328 maybe-clean-stagefeedback-ppl:
18329 @if ppl-bootstrap
18330 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
18331 all-stagefeedback: all-stagefeedback-ppl
18332 TARGET-stagefeedback-ppl = $(TARGET-ppl)
18333 all-stagefeedback-ppl: configure-stagefeedback-ppl
18334 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18335 @r=`${PWD_COMMAND}`; export r; \
18336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18337 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18338 $(HOST_EXPORTS) \
18339 $(POSTSTAGE1_HOST_EXPORTS) \
18340 cd $(HOST_SUBDIR)/ppl && \
18341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18342 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18343 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
18344 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18349 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18350 $(TARGET-stagefeedback-ppl)
18352 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
18353 clean-stagefeedback: clean-stagefeedback-ppl
18354 clean-stagefeedback-ppl:
18355 @if [ $(current_stage) = stagefeedback ]; then \
18356 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18357 else \
18358 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
18359 $(MAKE) stagefeedback-start; \
18360 fi; \
18361 cd $(HOST_SUBDIR)/ppl && \
18362 $(MAKE) $(EXTRA_HOST_FLAGS) \
18363 $(POSTSTAGE1_FLAGS_TO_PASS) \
18364 clean
18365 @endif ppl-bootstrap
18371 .PHONY: check-ppl maybe-check-ppl
18372 maybe-check-ppl:
18373 @if ppl
18374 maybe-check-ppl: check-ppl
18376 check-ppl:
18377 @: $(MAKE); $(unstage)
18378 @r=`${PWD_COMMAND}`; export r; \
18379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18380 $(HOST_EXPORTS) \
18381 (cd $(HOST_SUBDIR)/ppl && \
18382 $(MAKE) $(FLAGS_TO_PASS) check)
18384 @endif ppl
18386 .PHONY: install-ppl maybe-install-ppl
18387 maybe-install-ppl:
18388 @if ppl
18389 maybe-install-ppl: install-ppl
18391 install-ppl:
18393 @endif ppl
18395 # Other targets (info, dvi, pdf, etc.)
18397 .PHONY: maybe-info-ppl info-ppl
18398 maybe-info-ppl:
18399 @if ppl
18400 maybe-info-ppl: info-ppl
18402 info-ppl: \
18403 configure-ppl
18404 @[ -f ./ppl/Makefile ] || exit 0; \
18405 r=`${PWD_COMMAND}`; export r; \
18406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18407 $(HOST_EXPORTS) \
18408 for flag in $(EXTRA_HOST_FLAGS) ; do \
18409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18410 done; \
18411 echo "Doing info in ppl" ; \
18412 (cd $(HOST_SUBDIR)/ppl && \
18413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18415 "RANLIB=$${RANLIB}" \
18416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18417 info) \
18418 || exit 1
18420 @endif ppl
18422 .PHONY: maybe-dvi-ppl dvi-ppl
18423 maybe-dvi-ppl:
18424 @if ppl
18425 maybe-dvi-ppl: dvi-ppl
18427 dvi-ppl: \
18428 configure-ppl
18429 @[ -f ./ppl/Makefile ] || exit 0; \
18430 r=`${PWD_COMMAND}`; export r; \
18431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18432 $(HOST_EXPORTS) \
18433 for flag in $(EXTRA_HOST_FLAGS) ; do \
18434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18435 done; \
18436 echo "Doing dvi in ppl" ; \
18437 (cd $(HOST_SUBDIR)/ppl && \
18438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18440 "RANLIB=$${RANLIB}" \
18441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18442 dvi) \
18443 || exit 1
18445 @endif ppl
18447 .PHONY: maybe-pdf-ppl pdf-ppl
18448 maybe-pdf-ppl:
18449 @if ppl
18450 maybe-pdf-ppl: pdf-ppl
18452 pdf-ppl: \
18453 configure-ppl
18454 @[ -f ./ppl/Makefile ] || exit 0; \
18455 r=`${PWD_COMMAND}`; export r; \
18456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18457 $(HOST_EXPORTS) \
18458 for flag in $(EXTRA_HOST_FLAGS) ; do \
18459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18460 done; \
18461 echo "Doing pdf in ppl" ; \
18462 (cd $(HOST_SUBDIR)/ppl && \
18463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18465 "RANLIB=$${RANLIB}" \
18466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18467 pdf) \
18468 || exit 1
18470 @endif ppl
18472 .PHONY: maybe-html-ppl html-ppl
18473 maybe-html-ppl:
18474 @if ppl
18475 maybe-html-ppl: html-ppl
18477 html-ppl: \
18478 configure-ppl
18479 @[ -f ./ppl/Makefile ] || exit 0; \
18480 r=`${PWD_COMMAND}`; export r; \
18481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18482 $(HOST_EXPORTS) \
18483 for flag in $(EXTRA_HOST_FLAGS) ; do \
18484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18485 done; \
18486 echo "Doing html in ppl" ; \
18487 (cd $(HOST_SUBDIR)/ppl && \
18488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18490 "RANLIB=$${RANLIB}" \
18491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18492 html) \
18493 || exit 1
18495 @endif ppl
18497 .PHONY: maybe-TAGS-ppl TAGS-ppl
18498 maybe-TAGS-ppl:
18499 @if ppl
18500 maybe-TAGS-ppl: TAGS-ppl
18502 TAGS-ppl: \
18503 configure-ppl
18504 @[ -f ./ppl/Makefile ] || exit 0; \
18505 r=`${PWD_COMMAND}`; export r; \
18506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18507 $(HOST_EXPORTS) \
18508 for flag in $(EXTRA_HOST_FLAGS) ; do \
18509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18510 done; \
18511 echo "Doing TAGS in ppl" ; \
18512 (cd $(HOST_SUBDIR)/ppl && \
18513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18515 "RANLIB=$${RANLIB}" \
18516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18517 TAGS) \
18518 || exit 1
18520 @endif ppl
18522 .PHONY: maybe-install-info-ppl install-info-ppl
18523 maybe-install-info-ppl:
18524 @if ppl
18525 maybe-install-info-ppl: install-info-ppl
18527 install-info-ppl: \
18528 configure-ppl \
18529 info-ppl
18530 @[ -f ./ppl/Makefile ] || exit 0; \
18531 r=`${PWD_COMMAND}`; export r; \
18532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18533 $(HOST_EXPORTS) \
18534 for flag in $(EXTRA_HOST_FLAGS) ; do \
18535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18536 done; \
18537 echo "Doing install-info in ppl" ; \
18538 (cd $(HOST_SUBDIR)/ppl && \
18539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18541 "RANLIB=$${RANLIB}" \
18542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18543 install-info) \
18544 || exit 1
18546 @endif ppl
18548 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
18549 maybe-install-pdf-ppl:
18550 @if ppl
18551 maybe-install-pdf-ppl: install-pdf-ppl
18553 install-pdf-ppl: \
18554 configure-ppl \
18555 pdf-ppl
18556 @[ -f ./ppl/Makefile ] || exit 0; \
18557 r=`${PWD_COMMAND}`; export r; \
18558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18559 $(HOST_EXPORTS) \
18560 for flag in $(EXTRA_HOST_FLAGS) ; do \
18561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18562 done; \
18563 echo "Doing install-pdf in ppl" ; \
18564 (cd $(HOST_SUBDIR)/ppl && \
18565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18567 "RANLIB=$${RANLIB}" \
18568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18569 install-pdf) \
18570 || exit 1
18572 @endif ppl
18574 .PHONY: maybe-install-html-ppl install-html-ppl
18575 maybe-install-html-ppl:
18576 @if ppl
18577 maybe-install-html-ppl: install-html-ppl
18579 install-html-ppl: \
18580 configure-ppl \
18581 html-ppl
18582 @[ -f ./ppl/Makefile ] || exit 0; \
18583 r=`${PWD_COMMAND}`; export r; \
18584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18585 $(HOST_EXPORTS) \
18586 for flag in $(EXTRA_HOST_FLAGS) ; do \
18587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18588 done; \
18589 echo "Doing install-html in ppl" ; \
18590 (cd $(HOST_SUBDIR)/ppl && \
18591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18593 "RANLIB=$${RANLIB}" \
18594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18595 install-html) \
18596 || exit 1
18598 @endif ppl
18600 .PHONY: maybe-installcheck-ppl installcheck-ppl
18601 maybe-installcheck-ppl:
18602 @if ppl
18603 maybe-installcheck-ppl: installcheck-ppl
18605 installcheck-ppl: \
18606 configure-ppl
18607 @[ -f ./ppl/Makefile ] || exit 0; \
18608 r=`${PWD_COMMAND}`; export r; \
18609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18610 $(HOST_EXPORTS) \
18611 for flag in $(EXTRA_HOST_FLAGS) ; do \
18612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18613 done; \
18614 echo "Doing installcheck in ppl" ; \
18615 (cd $(HOST_SUBDIR)/ppl && \
18616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18618 "RANLIB=$${RANLIB}" \
18619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18620 installcheck) \
18621 || exit 1
18623 @endif ppl
18625 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
18626 maybe-mostlyclean-ppl:
18627 @if ppl
18628 maybe-mostlyclean-ppl: mostlyclean-ppl
18630 mostlyclean-ppl:
18631 @[ -f ./ppl/Makefile ] || exit 0; \
18632 r=`${PWD_COMMAND}`; export r; \
18633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18634 $(HOST_EXPORTS) \
18635 for flag in $(EXTRA_HOST_FLAGS) ; do \
18636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18637 done; \
18638 echo "Doing mostlyclean in ppl" ; \
18639 (cd $(HOST_SUBDIR)/ppl && \
18640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18642 "RANLIB=$${RANLIB}" \
18643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18644 mostlyclean) \
18645 || exit 1
18647 @endif ppl
18649 .PHONY: maybe-clean-ppl clean-ppl
18650 maybe-clean-ppl:
18651 @if ppl
18652 maybe-clean-ppl: clean-ppl
18654 clean-ppl:
18655 @[ -f ./ppl/Makefile ] || exit 0; \
18656 r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 $(HOST_EXPORTS) \
18659 for flag in $(EXTRA_HOST_FLAGS) ; do \
18660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18661 done; \
18662 echo "Doing clean in ppl" ; \
18663 (cd $(HOST_SUBDIR)/ppl && \
18664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18666 "RANLIB=$${RANLIB}" \
18667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18668 clean) \
18669 || exit 1
18671 @endif ppl
18673 .PHONY: maybe-distclean-ppl distclean-ppl
18674 maybe-distclean-ppl:
18675 @if ppl
18676 maybe-distclean-ppl: distclean-ppl
18678 distclean-ppl:
18679 @[ -f ./ppl/Makefile ] || exit 0; \
18680 r=`${PWD_COMMAND}`; export r; \
18681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18682 $(HOST_EXPORTS) \
18683 for flag in $(EXTRA_HOST_FLAGS) ; do \
18684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18685 done; \
18686 echo "Doing distclean in ppl" ; \
18687 (cd $(HOST_SUBDIR)/ppl && \
18688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18690 "RANLIB=$${RANLIB}" \
18691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18692 distclean) \
18693 || exit 1
18695 @endif ppl
18697 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
18698 maybe-maintainer-clean-ppl:
18699 @if ppl
18700 maybe-maintainer-clean-ppl: maintainer-clean-ppl
18702 maintainer-clean-ppl:
18703 @[ -f ./ppl/Makefile ] || exit 0; \
18704 r=`${PWD_COMMAND}`; export r; \
18705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18706 $(HOST_EXPORTS) \
18707 for flag in $(EXTRA_HOST_FLAGS) ; do \
18708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18709 done; \
18710 echo "Doing maintainer-clean in ppl" ; \
18711 (cd $(HOST_SUBDIR)/ppl && \
18712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18714 "RANLIB=$${RANLIB}" \
18715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18716 maintainer-clean) \
18717 || exit 1
18719 @endif ppl
18723 .PHONY: configure-cloog maybe-configure-cloog
18724 maybe-configure-cloog:
18725 @if gcc-bootstrap
18726 configure-cloog: stage_current
18727 @endif gcc-bootstrap
18728 @if cloog
18729 maybe-configure-cloog: configure-cloog
18730 configure-cloog:
18731 @r=`${PWD_COMMAND}`; export r; \
18732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18733 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18735 $(HOST_EXPORTS) \
18736 echo Configuring in $(HOST_SUBDIR)/cloog; \
18737 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
18738 case $(srcdir) in \
18739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18740 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18742 esac; \
18743 srcdiroption="--srcdir=$${topdir}/cloog"; \
18744 libsrcdir="$$s/cloog"; \
18745 $(SHELL) $${libsrcdir}/configure \
18746 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18747 --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 \
18748 || exit 1
18749 @endif cloog
18753 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
18754 maybe-configure-stage1-cloog:
18755 @if cloog-bootstrap
18756 maybe-configure-stage1-cloog: configure-stage1-cloog
18757 configure-stage1-cloog:
18758 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18759 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18760 @r=`${PWD_COMMAND}`; export r; \
18761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18762 TFLAGS="$(STAGE1_TFLAGS)"; \
18763 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18764 $(HOST_EXPORTS) \
18765 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18766 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
18767 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18768 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
18769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18770 cd $(HOST_SUBDIR)/cloog || exit 1; \
18771 case $(srcdir) in \
18772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18773 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18775 esac; \
18776 srcdiroption="--srcdir=$${topdir}/cloog"; \
18777 libsrcdir="$$s/cloog"; \
18778 $(SHELL) $${libsrcdir}/configure \
18779 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18780 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18781 $(STAGE1_CONFIGURE_FLAGS) \
18782 --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
18783 @endif cloog-bootstrap
18785 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
18786 maybe-configure-stage2-cloog:
18787 @if cloog-bootstrap
18788 maybe-configure-stage2-cloog: configure-stage2-cloog
18789 configure-stage2-cloog:
18790 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18792 @r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 TFLAGS="$(STAGE2_TFLAGS)"; \
18795 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18796 $(HOST_EXPORTS) \
18797 $(POSTSTAGE1_HOST_EXPORTS) \
18798 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18799 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
18800 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18801 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
18802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18803 cd $(HOST_SUBDIR)/cloog || exit 1; \
18804 case $(srcdir) in \
18805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18806 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18808 esac; \
18809 srcdiroption="--srcdir=$${topdir}/cloog"; \
18810 libsrcdir="$$s/cloog"; \
18811 $(SHELL) $${libsrcdir}/configure \
18812 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18813 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18814 --with-build-libsubdir=$(HOST_SUBDIR) \
18815 $(STAGE2_CONFIGURE_FLAGS) \
18816 --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
18817 @endif cloog-bootstrap
18819 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
18820 maybe-configure-stage3-cloog:
18821 @if cloog-bootstrap
18822 maybe-configure-stage3-cloog: configure-stage3-cloog
18823 configure-stage3-cloog:
18824 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18826 @r=`${PWD_COMMAND}`; export r; \
18827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18828 TFLAGS="$(STAGE3_TFLAGS)"; \
18829 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18830 $(HOST_EXPORTS) \
18831 $(POSTSTAGE1_HOST_EXPORTS) \
18832 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18833 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
18834 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18835 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
18836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18837 cd $(HOST_SUBDIR)/cloog || exit 1; \
18838 case $(srcdir) in \
18839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18840 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18842 esac; \
18843 srcdiroption="--srcdir=$${topdir}/cloog"; \
18844 libsrcdir="$$s/cloog"; \
18845 $(SHELL) $${libsrcdir}/configure \
18846 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18847 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18848 --with-build-libsubdir=$(HOST_SUBDIR) \
18849 $(STAGE3_CONFIGURE_FLAGS) \
18850 --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
18851 @endif cloog-bootstrap
18853 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
18854 maybe-configure-stage4-cloog:
18855 @if cloog-bootstrap
18856 maybe-configure-stage4-cloog: configure-stage4-cloog
18857 configure-stage4-cloog:
18858 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18860 @r=`${PWD_COMMAND}`; export r; \
18861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18862 TFLAGS="$(STAGE4_TFLAGS)"; \
18863 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18864 $(HOST_EXPORTS) \
18865 $(POSTSTAGE1_HOST_EXPORTS) \
18866 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18867 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
18868 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18869 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
18870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18871 cd $(HOST_SUBDIR)/cloog || exit 1; \
18872 case $(srcdir) in \
18873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18874 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18876 esac; \
18877 srcdiroption="--srcdir=$${topdir}/cloog"; \
18878 libsrcdir="$$s/cloog"; \
18879 $(SHELL) $${libsrcdir}/configure \
18880 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18881 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18882 --with-build-libsubdir=$(HOST_SUBDIR) \
18883 $(STAGE4_CONFIGURE_FLAGS) \
18884 --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
18885 @endif cloog-bootstrap
18887 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
18888 maybe-configure-stageprofile-cloog:
18889 @if cloog-bootstrap
18890 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
18891 configure-stageprofile-cloog:
18892 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18894 @r=`${PWD_COMMAND}`; export r; \
18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18897 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18898 $(HOST_EXPORTS) \
18899 $(POSTSTAGE1_HOST_EXPORTS) \
18900 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18901 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
18902 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18903 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
18904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18905 cd $(HOST_SUBDIR)/cloog || exit 1; \
18906 case $(srcdir) in \
18907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18908 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18910 esac; \
18911 srcdiroption="--srcdir=$${topdir}/cloog"; \
18912 libsrcdir="$$s/cloog"; \
18913 $(SHELL) $${libsrcdir}/configure \
18914 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18915 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18916 --with-build-libsubdir=$(HOST_SUBDIR) \
18917 $(STAGEprofile_CONFIGURE_FLAGS) \
18918 --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
18919 @endif cloog-bootstrap
18921 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
18922 maybe-configure-stagefeedback-cloog:
18923 @if cloog-bootstrap
18924 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
18925 configure-stagefeedback-cloog:
18926 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18928 @r=`${PWD_COMMAND}`; export r; \
18929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18930 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18931 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18932 $(HOST_EXPORTS) \
18933 $(POSTSTAGE1_HOST_EXPORTS) \
18934 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18935 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
18936 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18937 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
18938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18939 cd $(HOST_SUBDIR)/cloog || exit 1; \
18940 case $(srcdir) in \
18941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18942 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18944 esac; \
18945 srcdiroption="--srcdir=$${topdir}/cloog"; \
18946 libsrcdir="$$s/cloog"; \
18947 $(SHELL) $${libsrcdir}/configure \
18948 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18949 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18950 --with-build-libsubdir=$(HOST_SUBDIR) \
18951 $(STAGEfeedback_CONFIGURE_FLAGS) \
18952 --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
18953 @endif cloog-bootstrap
18959 .PHONY: all-cloog maybe-all-cloog
18960 maybe-all-cloog:
18961 @if gcc-bootstrap
18962 all-cloog: stage_current
18963 @endif gcc-bootstrap
18964 @if cloog
18965 TARGET-cloog=all
18966 maybe-all-cloog: all-cloog
18967 all-cloog: configure-cloog
18968 @r=`${PWD_COMMAND}`; export r; \
18969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18970 $(HOST_EXPORTS) \
18971 (cd $(HOST_SUBDIR)/cloog && \
18972 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18973 $(TARGET-cloog))
18974 @endif cloog
18978 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
18979 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
18980 maybe-all-stage1-cloog:
18981 maybe-clean-stage1-cloog:
18982 @if cloog-bootstrap
18983 maybe-all-stage1-cloog: all-stage1-cloog
18984 all-stage1: all-stage1-cloog
18985 TARGET-stage1-cloog = $(TARGET-cloog)
18986 all-stage1-cloog: configure-stage1-cloog
18987 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18988 @r=`${PWD_COMMAND}`; export r; \
18989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 TFLAGS="$(STAGE1_TFLAGS)"; \
18991 $(HOST_EXPORTS) \
18992 cd $(HOST_SUBDIR)/cloog && \
18993 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18994 CFLAGS="$(STAGE1_CFLAGS)" \
18995 CXXFLAGS="$(STAGE1_CFLAGS)" \
18996 LIBCFLAGS="$(LIBCFLAGS)" \
18997 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18998 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18999 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19000 $(EXTRA_HOST_FLAGS) \
19001 TFLAGS="$(STAGE1_TFLAGS)" \
19002 $(TARGET-stage1-cloog)
19004 maybe-clean-stage1-cloog: clean-stage1-cloog
19005 clean-stage1: clean-stage1-cloog
19006 clean-stage1-cloog:
19007 @if [ $(current_stage) = stage1 ]; then \
19008 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19009 else \
19010 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
19011 $(MAKE) stage1-start; \
19012 fi; \
19013 cd $(HOST_SUBDIR)/cloog && \
19014 $(MAKE) $(EXTRA_HOST_FLAGS) \
19015 clean
19016 @endif cloog-bootstrap
19019 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
19020 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
19021 maybe-all-stage2-cloog:
19022 maybe-clean-stage2-cloog:
19023 @if cloog-bootstrap
19024 maybe-all-stage2-cloog: all-stage2-cloog
19025 all-stage2: all-stage2-cloog
19026 TARGET-stage2-cloog = $(TARGET-cloog)
19027 all-stage2-cloog: configure-stage2-cloog
19028 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19029 @r=`${PWD_COMMAND}`; export r; \
19030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19031 TFLAGS="$(STAGE2_TFLAGS)"; \
19032 $(HOST_EXPORTS) \
19033 $(POSTSTAGE1_HOST_EXPORTS) \
19034 cd $(HOST_SUBDIR)/cloog && \
19035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19036 CFLAGS="$(STAGE2_CFLAGS)" \
19037 CXXFLAGS="$(STAGE2_CFLAGS)" \
19038 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19042 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19043 TFLAGS="$(STAGE2_TFLAGS)" \
19044 $(TARGET-stage2-cloog)
19046 maybe-clean-stage2-cloog: clean-stage2-cloog
19047 clean-stage2: clean-stage2-cloog
19048 clean-stage2-cloog:
19049 @if [ $(current_stage) = stage2 ]; then \
19050 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19051 else \
19052 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
19053 $(MAKE) stage2-start; \
19054 fi; \
19055 cd $(HOST_SUBDIR)/cloog && \
19056 $(MAKE) $(EXTRA_HOST_FLAGS) \
19057 $(POSTSTAGE1_FLAGS_TO_PASS) \
19058 clean
19059 @endif cloog-bootstrap
19062 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
19063 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
19064 maybe-all-stage3-cloog:
19065 maybe-clean-stage3-cloog:
19066 @if cloog-bootstrap
19067 maybe-all-stage3-cloog: all-stage3-cloog
19068 all-stage3: all-stage3-cloog
19069 TARGET-stage3-cloog = $(TARGET-cloog)
19070 all-stage3-cloog: configure-stage3-cloog
19071 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19072 @r=`${PWD_COMMAND}`; export r; \
19073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19074 TFLAGS="$(STAGE3_TFLAGS)"; \
19075 $(HOST_EXPORTS) \
19076 $(POSTSTAGE1_HOST_EXPORTS) \
19077 cd $(HOST_SUBDIR)/cloog && \
19078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19079 CFLAGS="$(STAGE3_CFLAGS)" \
19080 CXXFLAGS="$(STAGE3_CFLAGS)" \
19081 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19085 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19086 TFLAGS="$(STAGE3_TFLAGS)" \
19087 $(TARGET-stage3-cloog)
19089 maybe-clean-stage3-cloog: clean-stage3-cloog
19090 clean-stage3: clean-stage3-cloog
19091 clean-stage3-cloog:
19092 @if [ $(current_stage) = stage3 ]; then \
19093 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19094 else \
19095 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
19096 $(MAKE) stage3-start; \
19097 fi; \
19098 cd $(HOST_SUBDIR)/cloog && \
19099 $(MAKE) $(EXTRA_HOST_FLAGS) \
19100 $(POSTSTAGE1_FLAGS_TO_PASS) \
19101 clean
19102 @endif cloog-bootstrap
19105 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
19106 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
19107 maybe-all-stage4-cloog:
19108 maybe-clean-stage4-cloog:
19109 @if cloog-bootstrap
19110 maybe-all-stage4-cloog: all-stage4-cloog
19111 all-stage4: all-stage4-cloog
19112 TARGET-stage4-cloog = $(TARGET-cloog)
19113 all-stage4-cloog: configure-stage4-cloog
19114 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19115 @r=`${PWD_COMMAND}`; export r; \
19116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19117 TFLAGS="$(STAGE4_TFLAGS)"; \
19118 $(HOST_EXPORTS) \
19119 $(POSTSTAGE1_HOST_EXPORTS) \
19120 cd $(HOST_SUBDIR)/cloog && \
19121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19122 CFLAGS="$(STAGE4_CFLAGS)" \
19123 CXXFLAGS="$(STAGE4_CFLAGS)" \
19124 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19125 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19126 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19127 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19128 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19129 TFLAGS="$(STAGE4_TFLAGS)" \
19130 $(TARGET-stage4-cloog)
19132 maybe-clean-stage4-cloog: clean-stage4-cloog
19133 clean-stage4: clean-stage4-cloog
19134 clean-stage4-cloog:
19135 @if [ $(current_stage) = stage4 ]; then \
19136 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19137 else \
19138 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
19139 $(MAKE) stage4-start; \
19140 fi; \
19141 cd $(HOST_SUBDIR)/cloog && \
19142 $(MAKE) $(EXTRA_HOST_FLAGS) \
19143 $(POSTSTAGE1_FLAGS_TO_PASS) \
19144 clean
19145 @endif cloog-bootstrap
19148 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
19149 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
19150 maybe-all-stageprofile-cloog:
19151 maybe-clean-stageprofile-cloog:
19152 @if cloog-bootstrap
19153 maybe-all-stageprofile-cloog: all-stageprofile-cloog
19154 all-stageprofile: all-stageprofile-cloog
19155 TARGET-stageprofile-cloog = $(TARGET-cloog)
19156 all-stageprofile-cloog: configure-stageprofile-cloog
19157 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19158 @r=`${PWD_COMMAND}`; export r; \
19159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19160 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19161 $(HOST_EXPORTS) \
19162 $(POSTSTAGE1_HOST_EXPORTS) \
19163 cd $(HOST_SUBDIR)/cloog && \
19164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19165 CFLAGS="$(STAGEprofile_CFLAGS)" \
19166 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
19167 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19168 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19169 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19170 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19171 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19172 TFLAGS="$(STAGEprofile_TFLAGS)" \
19173 $(TARGET-stageprofile-cloog)
19175 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
19176 clean-stageprofile: clean-stageprofile-cloog
19177 clean-stageprofile-cloog:
19178 @if [ $(current_stage) = stageprofile ]; then \
19179 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19180 else \
19181 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
19182 $(MAKE) stageprofile-start; \
19183 fi; \
19184 cd $(HOST_SUBDIR)/cloog && \
19185 $(MAKE) $(EXTRA_HOST_FLAGS) \
19186 $(POSTSTAGE1_FLAGS_TO_PASS) \
19187 clean
19188 @endif cloog-bootstrap
19191 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
19192 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
19193 maybe-all-stagefeedback-cloog:
19194 maybe-clean-stagefeedback-cloog:
19195 @if cloog-bootstrap
19196 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
19197 all-stagefeedback: all-stagefeedback-cloog
19198 TARGET-stagefeedback-cloog = $(TARGET-cloog)
19199 all-stagefeedback-cloog: configure-stagefeedback-cloog
19200 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19201 @r=`${PWD_COMMAND}`; export r; \
19202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19203 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19204 $(HOST_EXPORTS) \
19205 $(POSTSTAGE1_HOST_EXPORTS) \
19206 cd $(HOST_SUBDIR)/cloog && \
19207 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19208 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19209 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
19210 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19211 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19212 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19213 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19214 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19215 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19216 $(TARGET-stagefeedback-cloog)
19218 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
19219 clean-stagefeedback: clean-stagefeedback-cloog
19220 clean-stagefeedback-cloog:
19221 @if [ $(current_stage) = stagefeedback ]; then \
19222 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19223 else \
19224 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
19225 $(MAKE) stagefeedback-start; \
19226 fi; \
19227 cd $(HOST_SUBDIR)/cloog && \
19228 $(MAKE) $(EXTRA_HOST_FLAGS) \
19229 $(POSTSTAGE1_FLAGS_TO_PASS) \
19230 clean
19231 @endif cloog-bootstrap
19237 .PHONY: check-cloog maybe-check-cloog
19238 maybe-check-cloog:
19239 @if cloog
19240 maybe-check-cloog: check-cloog
19242 check-cloog:
19243 @: $(MAKE); $(unstage)
19244 @r=`${PWD_COMMAND}`; export r; \
19245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 $(HOST_EXPORTS) \
19247 (cd $(HOST_SUBDIR)/cloog && \
19248 $(MAKE) $(FLAGS_TO_PASS) check)
19250 @endif cloog
19252 .PHONY: install-cloog maybe-install-cloog
19253 maybe-install-cloog:
19254 @if cloog
19255 maybe-install-cloog: install-cloog
19257 install-cloog:
19259 @endif cloog
19261 # Other targets (info, dvi, pdf, etc.)
19263 .PHONY: maybe-info-cloog info-cloog
19264 maybe-info-cloog:
19265 @if cloog
19266 maybe-info-cloog: info-cloog
19268 info-cloog: \
19269 configure-cloog
19270 @[ -f ./cloog/Makefile ] || exit 0; \
19271 r=`${PWD_COMMAND}`; export r; \
19272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19273 $(HOST_EXPORTS) \
19274 for flag in $(EXTRA_HOST_FLAGS) ; do \
19275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19276 done; \
19277 echo "Doing info in cloog" ; \
19278 (cd $(HOST_SUBDIR)/cloog && \
19279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19281 "RANLIB=$${RANLIB}" \
19282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19283 info) \
19284 || exit 1
19286 @endif cloog
19288 .PHONY: maybe-dvi-cloog dvi-cloog
19289 maybe-dvi-cloog:
19290 @if cloog
19291 maybe-dvi-cloog: dvi-cloog
19293 dvi-cloog: \
19294 configure-cloog
19295 @[ -f ./cloog/Makefile ] || exit 0; \
19296 r=`${PWD_COMMAND}`; export r; \
19297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19298 $(HOST_EXPORTS) \
19299 for flag in $(EXTRA_HOST_FLAGS) ; do \
19300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19301 done; \
19302 echo "Doing dvi in cloog" ; \
19303 (cd $(HOST_SUBDIR)/cloog && \
19304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19306 "RANLIB=$${RANLIB}" \
19307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19308 dvi) \
19309 || exit 1
19311 @endif cloog
19313 .PHONY: maybe-pdf-cloog pdf-cloog
19314 maybe-pdf-cloog:
19315 @if cloog
19316 maybe-pdf-cloog: pdf-cloog
19318 pdf-cloog: \
19319 configure-cloog
19320 @[ -f ./cloog/Makefile ] || exit 0; \
19321 r=`${PWD_COMMAND}`; export r; \
19322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19323 $(HOST_EXPORTS) \
19324 for flag in $(EXTRA_HOST_FLAGS) ; do \
19325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19326 done; \
19327 echo "Doing pdf in cloog" ; \
19328 (cd $(HOST_SUBDIR)/cloog && \
19329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19331 "RANLIB=$${RANLIB}" \
19332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19333 pdf) \
19334 || exit 1
19336 @endif cloog
19338 .PHONY: maybe-html-cloog html-cloog
19339 maybe-html-cloog:
19340 @if cloog
19341 maybe-html-cloog: html-cloog
19343 html-cloog: \
19344 configure-cloog
19345 @[ -f ./cloog/Makefile ] || exit 0; \
19346 r=`${PWD_COMMAND}`; export r; \
19347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19348 $(HOST_EXPORTS) \
19349 for flag in $(EXTRA_HOST_FLAGS) ; do \
19350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19351 done; \
19352 echo "Doing html in cloog" ; \
19353 (cd $(HOST_SUBDIR)/cloog && \
19354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19356 "RANLIB=$${RANLIB}" \
19357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19358 html) \
19359 || exit 1
19361 @endif cloog
19363 .PHONY: maybe-TAGS-cloog TAGS-cloog
19364 maybe-TAGS-cloog:
19365 @if cloog
19366 maybe-TAGS-cloog: TAGS-cloog
19368 TAGS-cloog: \
19369 configure-cloog
19370 @[ -f ./cloog/Makefile ] || exit 0; \
19371 r=`${PWD_COMMAND}`; export r; \
19372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19373 $(HOST_EXPORTS) \
19374 for flag in $(EXTRA_HOST_FLAGS) ; do \
19375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19376 done; \
19377 echo "Doing TAGS in cloog" ; \
19378 (cd $(HOST_SUBDIR)/cloog && \
19379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19381 "RANLIB=$${RANLIB}" \
19382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19383 TAGS) \
19384 || exit 1
19386 @endif cloog
19388 .PHONY: maybe-install-info-cloog install-info-cloog
19389 maybe-install-info-cloog:
19390 @if cloog
19391 maybe-install-info-cloog: install-info-cloog
19393 install-info-cloog: \
19394 configure-cloog \
19395 info-cloog
19396 @[ -f ./cloog/Makefile ] || exit 0; \
19397 r=`${PWD_COMMAND}`; export r; \
19398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19399 $(HOST_EXPORTS) \
19400 for flag in $(EXTRA_HOST_FLAGS) ; do \
19401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19402 done; \
19403 echo "Doing install-info in cloog" ; \
19404 (cd $(HOST_SUBDIR)/cloog && \
19405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19407 "RANLIB=$${RANLIB}" \
19408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19409 install-info) \
19410 || exit 1
19412 @endif cloog
19414 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
19415 maybe-install-pdf-cloog:
19416 @if cloog
19417 maybe-install-pdf-cloog: install-pdf-cloog
19419 install-pdf-cloog: \
19420 configure-cloog \
19421 pdf-cloog
19422 @[ -f ./cloog/Makefile ] || exit 0; \
19423 r=`${PWD_COMMAND}`; export r; \
19424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19425 $(HOST_EXPORTS) \
19426 for flag in $(EXTRA_HOST_FLAGS) ; do \
19427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19428 done; \
19429 echo "Doing install-pdf in cloog" ; \
19430 (cd $(HOST_SUBDIR)/cloog && \
19431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19433 "RANLIB=$${RANLIB}" \
19434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19435 install-pdf) \
19436 || exit 1
19438 @endif cloog
19440 .PHONY: maybe-install-html-cloog install-html-cloog
19441 maybe-install-html-cloog:
19442 @if cloog
19443 maybe-install-html-cloog: install-html-cloog
19445 install-html-cloog: \
19446 configure-cloog \
19447 html-cloog
19448 @[ -f ./cloog/Makefile ] || exit 0; \
19449 r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19451 $(HOST_EXPORTS) \
19452 for flag in $(EXTRA_HOST_FLAGS) ; do \
19453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19454 done; \
19455 echo "Doing install-html in cloog" ; \
19456 (cd $(HOST_SUBDIR)/cloog && \
19457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19459 "RANLIB=$${RANLIB}" \
19460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19461 install-html) \
19462 || exit 1
19464 @endif cloog
19466 .PHONY: maybe-installcheck-cloog installcheck-cloog
19467 maybe-installcheck-cloog:
19468 @if cloog
19469 maybe-installcheck-cloog: installcheck-cloog
19471 installcheck-cloog: \
19472 configure-cloog
19473 @[ -f ./cloog/Makefile ] || exit 0; \
19474 r=`${PWD_COMMAND}`; export r; \
19475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19476 $(HOST_EXPORTS) \
19477 for flag in $(EXTRA_HOST_FLAGS) ; do \
19478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19479 done; \
19480 echo "Doing installcheck in cloog" ; \
19481 (cd $(HOST_SUBDIR)/cloog && \
19482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19484 "RANLIB=$${RANLIB}" \
19485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19486 installcheck) \
19487 || exit 1
19489 @endif cloog
19491 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
19492 maybe-mostlyclean-cloog:
19493 @if cloog
19494 maybe-mostlyclean-cloog: mostlyclean-cloog
19496 mostlyclean-cloog:
19497 @[ -f ./cloog/Makefile ] || exit 0; \
19498 r=`${PWD_COMMAND}`; export r; \
19499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19500 $(HOST_EXPORTS) \
19501 for flag in $(EXTRA_HOST_FLAGS) ; do \
19502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19503 done; \
19504 echo "Doing mostlyclean in cloog" ; \
19505 (cd $(HOST_SUBDIR)/cloog && \
19506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19508 "RANLIB=$${RANLIB}" \
19509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19510 mostlyclean) \
19511 || exit 1
19513 @endif cloog
19515 .PHONY: maybe-clean-cloog clean-cloog
19516 maybe-clean-cloog:
19517 @if cloog
19518 maybe-clean-cloog: clean-cloog
19520 clean-cloog:
19521 @[ -f ./cloog/Makefile ] || exit 0; \
19522 r=`${PWD_COMMAND}`; export r; \
19523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19524 $(HOST_EXPORTS) \
19525 for flag in $(EXTRA_HOST_FLAGS) ; do \
19526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19527 done; \
19528 echo "Doing clean in cloog" ; \
19529 (cd $(HOST_SUBDIR)/cloog && \
19530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19532 "RANLIB=$${RANLIB}" \
19533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19534 clean) \
19535 || exit 1
19537 @endif cloog
19539 .PHONY: maybe-distclean-cloog distclean-cloog
19540 maybe-distclean-cloog:
19541 @if cloog
19542 maybe-distclean-cloog: distclean-cloog
19544 distclean-cloog:
19545 @[ -f ./cloog/Makefile ] || exit 0; \
19546 r=`${PWD_COMMAND}`; export r; \
19547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19548 $(HOST_EXPORTS) \
19549 for flag in $(EXTRA_HOST_FLAGS) ; do \
19550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19551 done; \
19552 echo "Doing distclean in cloog" ; \
19553 (cd $(HOST_SUBDIR)/cloog && \
19554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19556 "RANLIB=$${RANLIB}" \
19557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19558 distclean) \
19559 || exit 1
19561 @endif cloog
19563 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
19564 maybe-maintainer-clean-cloog:
19565 @if cloog
19566 maybe-maintainer-clean-cloog: maintainer-clean-cloog
19568 maintainer-clean-cloog:
19569 @[ -f ./cloog/Makefile ] || exit 0; \
19570 r=`${PWD_COMMAND}`; export r; \
19571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19572 $(HOST_EXPORTS) \
19573 for flag in $(EXTRA_HOST_FLAGS) ; do \
19574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19575 done; \
19576 echo "Doing maintainer-clean in cloog" ; \
19577 (cd $(HOST_SUBDIR)/cloog && \
19578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19580 "RANLIB=$${RANLIB}" \
19581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19582 maintainer-clean) \
19583 || exit 1
19585 @endif cloog
19589 .PHONY: configure-gnuserv maybe-configure-gnuserv
19590 maybe-configure-gnuserv:
19591 @if gcc-bootstrap
19592 configure-gnuserv: stage_current
19593 @endif gcc-bootstrap
19594 @if gnuserv
19595 maybe-configure-gnuserv: configure-gnuserv
19596 configure-gnuserv:
19597 @: $(MAKE); $(unstage)
19598 @r=`${PWD_COMMAND}`; export r; \
19599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
19601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
19602 $(HOST_EXPORTS) \
19603 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
19604 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
19605 case $(srcdir) in \
19606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19607 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
19608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19609 esac; \
19610 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
19611 libsrcdir="$$s/gnuserv"; \
19612 $(SHELL) $${libsrcdir}/configure \
19613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19614 --target=${target_alias} $${srcdiroption} \
19615 || exit 1
19616 @endif gnuserv
19622 .PHONY: all-gnuserv maybe-all-gnuserv
19623 maybe-all-gnuserv:
19624 @if gcc-bootstrap
19625 all-gnuserv: stage_current
19626 @endif gcc-bootstrap
19627 @if gnuserv
19628 TARGET-gnuserv=all
19629 maybe-all-gnuserv: all-gnuserv
19630 all-gnuserv: configure-gnuserv
19631 @: $(MAKE); $(unstage)
19632 @r=`${PWD_COMMAND}`; export r; \
19633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19634 $(HOST_EXPORTS) \
19635 (cd $(HOST_SUBDIR)/gnuserv && \
19636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19637 $(TARGET-gnuserv))
19638 @endif gnuserv
19643 .PHONY: check-gnuserv maybe-check-gnuserv
19644 maybe-check-gnuserv:
19645 @if gnuserv
19646 maybe-check-gnuserv: check-gnuserv
19648 check-gnuserv:
19649 @: $(MAKE); $(unstage)
19650 @r=`${PWD_COMMAND}`; export r; \
19651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19652 $(HOST_EXPORTS) \
19653 (cd $(HOST_SUBDIR)/gnuserv && \
19654 $(MAKE) $(FLAGS_TO_PASS) check)
19656 @endif gnuserv
19658 .PHONY: install-gnuserv maybe-install-gnuserv
19659 maybe-install-gnuserv:
19660 @if gnuserv
19661 maybe-install-gnuserv: install-gnuserv
19663 install-gnuserv: installdirs
19664 @: $(MAKE); $(unstage)
19665 @r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667 $(HOST_EXPORTS) \
19668 (cd $(HOST_SUBDIR)/gnuserv && \
19669 $(MAKE) $(FLAGS_TO_PASS) install)
19671 @endif gnuserv
19673 # Other targets (info, dvi, pdf, etc.)
19675 .PHONY: maybe-info-gnuserv info-gnuserv
19676 maybe-info-gnuserv:
19677 @if gnuserv
19678 maybe-info-gnuserv: info-gnuserv
19680 info-gnuserv: \
19681 configure-gnuserv
19682 @: $(MAKE); $(unstage)
19683 @[ -f ./gnuserv/Makefile ] || exit 0; \
19684 r=`${PWD_COMMAND}`; export r; \
19685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19686 $(HOST_EXPORTS) \
19687 for flag in $(EXTRA_HOST_FLAGS) ; do \
19688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19689 done; \
19690 echo "Doing info in gnuserv" ; \
19691 (cd $(HOST_SUBDIR)/gnuserv && \
19692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19694 "RANLIB=$${RANLIB}" \
19695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19696 info) \
19697 || exit 1
19699 @endif gnuserv
19701 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
19702 maybe-dvi-gnuserv:
19703 @if gnuserv
19704 maybe-dvi-gnuserv: dvi-gnuserv
19706 dvi-gnuserv: \
19707 configure-gnuserv
19708 @: $(MAKE); $(unstage)
19709 @[ -f ./gnuserv/Makefile ] || exit 0; \
19710 r=`${PWD_COMMAND}`; export r; \
19711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19712 $(HOST_EXPORTS) \
19713 for flag in $(EXTRA_HOST_FLAGS) ; do \
19714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19715 done; \
19716 echo "Doing dvi in gnuserv" ; \
19717 (cd $(HOST_SUBDIR)/gnuserv && \
19718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19720 "RANLIB=$${RANLIB}" \
19721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19722 dvi) \
19723 || exit 1
19725 @endif gnuserv
19727 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
19728 maybe-pdf-gnuserv:
19729 @if gnuserv
19730 maybe-pdf-gnuserv: pdf-gnuserv
19732 pdf-gnuserv: \
19733 configure-gnuserv
19734 @: $(MAKE); $(unstage)
19735 @[ -f ./gnuserv/Makefile ] || exit 0; \
19736 r=`${PWD_COMMAND}`; export r; \
19737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19738 $(HOST_EXPORTS) \
19739 for flag in $(EXTRA_HOST_FLAGS) ; do \
19740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19741 done; \
19742 echo "Doing pdf in gnuserv" ; \
19743 (cd $(HOST_SUBDIR)/gnuserv && \
19744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19746 "RANLIB=$${RANLIB}" \
19747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19748 pdf) \
19749 || exit 1
19751 @endif gnuserv
19753 .PHONY: maybe-html-gnuserv html-gnuserv
19754 maybe-html-gnuserv:
19755 @if gnuserv
19756 maybe-html-gnuserv: html-gnuserv
19758 html-gnuserv: \
19759 configure-gnuserv
19760 @: $(MAKE); $(unstage)
19761 @[ -f ./gnuserv/Makefile ] || exit 0; \
19762 r=`${PWD_COMMAND}`; export r; \
19763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764 $(HOST_EXPORTS) \
19765 for flag in $(EXTRA_HOST_FLAGS) ; do \
19766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19767 done; \
19768 echo "Doing html in gnuserv" ; \
19769 (cd $(HOST_SUBDIR)/gnuserv && \
19770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19772 "RANLIB=$${RANLIB}" \
19773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19774 html) \
19775 || exit 1
19777 @endif gnuserv
19779 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
19780 maybe-TAGS-gnuserv:
19781 @if gnuserv
19782 maybe-TAGS-gnuserv: TAGS-gnuserv
19784 TAGS-gnuserv: \
19785 configure-gnuserv
19786 @: $(MAKE); $(unstage)
19787 @[ -f ./gnuserv/Makefile ] || exit 0; \
19788 r=`${PWD_COMMAND}`; export r; \
19789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19790 $(HOST_EXPORTS) \
19791 for flag in $(EXTRA_HOST_FLAGS) ; do \
19792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19793 done; \
19794 echo "Doing TAGS in gnuserv" ; \
19795 (cd $(HOST_SUBDIR)/gnuserv && \
19796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19798 "RANLIB=$${RANLIB}" \
19799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19800 TAGS) \
19801 || exit 1
19803 @endif gnuserv
19805 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
19806 maybe-install-info-gnuserv:
19807 @if gnuserv
19808 maybe-install-info-gnuserv: install-info-gnuserv
19810 install-info-gnuserv: \
19811 configure-gnuserv \
19812 info-gnuserv
19813 @: $(MAKE); $(unstage)
19814 @[ -f ./gnuserv/Makefile ] || exit 0; \
19815 r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817 $(HOST_EXPORTS) \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820 done; \
19821 echo "Doing install-info in gnuserv" ; \
19822 (cd $(HOST_SUBDIR)/gnuserv && \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19827 install-info) \
19828 || exit 1
19830 @endif gnuserv
19832 .PHONY: maybe-install-pdf-gnuserv install-pdf-gnuserv
19833 maybe-install-pdf-gnuserv:
19834 @if gnuserv
19835 maybe-install-pdf-gnuserv: install-pdf-gnuserv
19837 install-pdf-gnuserv: \
19838 configure-gnuserv \
19839 pdf-gnuserv
19840 @: $(MAKE); $(unstage)
19841 @[ -f ./gnuserv/Makefile ] || exit 0; \
19842 r=`${PWD_COMMAND}`; export r; \
19843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19844 $(HOST_EXPORTS) \
19845 for flag in $(EXTRA_HOST_FLAGS) ; do \
19846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19847 done; \
19848 echo "Doing install-pdf in gnuserv" ; \
19849 (cd $(HOST_SUBDIR)/gnuserv && \
19850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19852 "RANLIB=$${RANLIB}" \
19853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19854 install-pdf) \
19855 || exit 1
19857 @endif gnuserv
19859 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
19860 maybe-install-html-gnuserv:
19861 @if gnuserv
19862 maybe-install-html-gnuserv: install-html-gnuserv
19864 install-html-gnuserv: \
19865 configure-gnuserv \
19866 html-gnuserv
19867 @: $(MAKE); $(unstage)
19868 @[ -f ./gnuserv/Makefile ] || exit 0; \
19869 r=`${PWD_COMMAND}`; export r; \
19870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19871 $(HOST_EXPORTS) \
19872 for flag in $(EXTRA_HOST_FLAGS) ; do \
19873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19874 done; \
19875 echo "Doing install-html in gnuserv" ; \
19876 (cd $(HOST_SUBDIR)/gnuserv && \
19877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19879 "RANLIB=$${RANLIB}" \
19880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19881 install-html) \
19882 || exit 1
19884 @endif gnuserv
19886 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
19887 maybe-installcheck-gnuserv:
19888 @if gnuserv
19889 maybe-installcheck-gnuserv: installcheck-gnuserv
19891 installcheck-gnuserv: \
19892 configure-gnuserv
19893 @: $(MAKE); $(unstage)
19894 @[ -f ./gnuserv/Makefile ] || exit 0; \
19895 r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897 $(HOST_EXPORTS) \
19898 for flag in $(EXTRA_HOST_FLAGS) ; do \
19899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19900 done; \
19901 echo "Doing installcheck in gnuserv" ; \
19902 (cd $(HOST_SUBDIR)/gnuserv && \
19903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19905 "RANLIB=$${RANLIB}" \
19906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19907 installcheck) \
19908 || exit 1
19910 @endif gnuserv
19912 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
19913 maybe-mostlyclean-gnuserv:
19914 @if gnuserv
19915 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
19917 mostlyclean-gnuserv:
19918 @: $(MAKE); $(unstage)
19919 @[ -f ./gnuserv/Makefile ] || exit 0; \
19920 r=`${PWD_COMMAND}`; export r; \
19921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19922 $(HOST_EXPORTS) \
19923 for flag in $(EXTRA_HOST_FLAGS) ; do \
19924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19925 done; \
19926 echo "Doing mostlyclean in gnuserv" ; \
19927 (cd $(HOST_SUBDIR)/gnuserv && \
19928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19930 "RANLIB=$${RANLIB}" \
19931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19932 mostlyclean) \
19933 || exit 1
19935 @endif gnuserv
19937 .PHONY: maybe-clean-gnuserv clean-gnuserv
19938 maybe-clean-gnuserv:
19939 @if gnuserv
19940 maybe-clean-gnuserv: clean-gnuserv
19942 clean-gnuserv:
19943 @: $(MAKE); $(unstage)
19944 @[ -f ./gnuserv/Makefile ] || exit 0; \
19945 r=`${PWD_COMMAND}`; export r; \
19946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19947 $(HOST_EXPORTS) \
19948 for flag in $(EXTRA_HOST_FLAGS) ; do \
19949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19950 done; \
19951 echo "Doing clean in gnuserv" ; \
19952 (cd $(HOST_SUBDIR)/gnuserv && \
19953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19955 "RANLIB=$${RANLIB}" \
19956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19957 clean) \
19958 || exit 1
19960 @endif gnuserv
19962 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
19963 maybe-distclean-gnuserv:
19964 @if gnuserv
19965 maybe-distclean-gnuserv: distclean-gnuserv
19967 distclean-gnuserv:
19968 @: $(MAKE); $(unstage)
19969 @[ -f ./gnuserv/Makefile ] || exit 0; \
19970 r=`${PWD_COMMAND}`; export r; \
19971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19972 $(HOST_EXPORTS) \
19973 for flag in $(EXTRA_HOST_FLAGS) ; do \
19974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19975 done; \
19976 echo "Doing distclean in gnuserv" ; \
19977 (cd $(HOST_SUBDIR)/gnuserv && \
19978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19980 "RANLIB=$${RANLIB}" \
19981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19982 distclean) \
19983 || exit 1
19985 @endif gnuserv
19987 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
19988 maybe-maintainer-clean-gnuserv:
19989 @if gnuserv
19990 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
19992 maintainer-clean-gnuserv:
19993 @: $(MAKE); $(unstage)
19994 @[ -f ./gnuserv/Makefile ] || exit 0; \
19995 r=`${PWD_COMMAND}`; export r; \
19996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19997 $(HOST_EXPORTS) \
19998 for flag in $(EXTRA_HOST_FLAGS) ; do \
19999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20000 done; \
20001 echo "Doing maintainer-clean in gnuserv" ; \
20002 (cd $(HOST_SUBDIR)/gnuserv && \
20003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20005 "RANLIB=$${RANLIB}" \
20006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20007 maintainer-clean) \
20008 || exit 1
20010 @endif gnuserv
20014 .PHONY: configure-gold maybe-configure-gold
20015 maybe-configure-gold:
20016 @if gcc-bootstrap
20017 configure-gold: stage_current
20018 @endif gcc-bootstrap
20019 @if gold
20020 maybe-configure-gold: configure-gold
20021 configure-gold:
20022 @r=`${PWD_COMMAND}`; export r; \
20023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20024 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20026 $(HOST_EXPORTS) \
20027 echo Configuring in $(HOST_SUBDIR)/gold; \
20028 cd "$(HOST_SUBDIR)/gold" || exit 1; \
20029 case $(srcdir) in \
20030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20031 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20033 esac; \
20034 srcdiroption="--srcdir=$${topdir}/gold"; \
20035 libsrcdir="$$s/gold"; \
20036 $(SHELL) $${libsrcdir}/configure \
20037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20038 --target=${target_alias} $${srcdiroption} \
20039 || exit 1
20040 @endif gold
20044 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
20045 maybe-configure-stage1-gold:
20046 @if gold-bootstrap
20047 maybe-configure-stage1-gold: configure-stage1-gold
20048 configure-stage1-gold:
20049 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20051 @r=`${PWD_COMMAND}`; export r; \
20052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20053 TFLAGS="$(STAGE1_TFLAGS)"; \
20054 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20055 $(HOST_EXPORTS) \
20056 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20057 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
20058 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20059 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
20060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20061 cd $(HOST_SUBDIR)/gold || exit 1; \
20062 case $(srcdir) in \
20063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20064 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20066 esac; \
20067 srcdiroption="--srcdir=$${topdir}/gold"; \
20068 libsrcdir="$$s/gold"; \
20069 $(SHELL) $${libsrcdir}/configure \
20070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20071 --target=${target_alias} $${srcdiroption} \
20072 $(STAGE1_CONFIGURE_FLAGS)
20073 @endif gold-bootstrap
20075 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
20076 maybe-configure-stage2-gold:
20077 @if gold-bootstrap
20078 maybe-configure-stage2-gold: configure-stage2-gold
20079 configure-stage2-gold:
20080 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20081 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20082 @r=`${PWD_COMMAND}`; export r; \
20083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20084 TFLAGS="$(STAGE2_TFLAGS)"; \
20085 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20086 $(HOST_EXPORTS) \
20087 $(POSTSTAGE1_HOST_EXPORTS) \
20088 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20089 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
20090 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20091 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
20092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20093 cd $(HOST_SUBDIR)/gold || exit 1; \
20094 case $(srcdir) in \
20095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20096 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20098 esac; \
20099 srcdiroption="--srcdir=$${topdir}/gold"; \
20100 libsrcdir="$$s/gold"; \
20101 $(SHELL) $${libsrcdir}/configure \
20102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20103 --target=${target_alias} $${srcdiroption} \
20104 --with-build-libsubdir=$(HOST_SUBDIR) \
20105 $(STAGE2_CONFIGURE_FLAGS)
20106 @endif gold-bootstrap
20108 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
20109 maybe-configure-stage3-gold:
20110 @if gold-bootstrap
20111 maybe-configure-stage3-gold: configure-stage3-gold
20112 configure-stage3-gold:
20113 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20115 @r=`${PWD_COMMAND}`; export r; \
20116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20117 TFLAGS="$(STAGE3_TFLAGS)"; \
20118 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20119 $(HOST_EXPORTS) \
20120 $(POSTSTAGE1_HOST_EXPORTS) \
20121 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20122 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
20123 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20124 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
20125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20126 cd $(HOST_SUBDIR)/gold || exit 1; \
20127 case $(srcdir) in \
20128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20129 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20131 esac; \
20132 srcdiroption="--srcdir=$${topdir}/gold"; \
20133 libsrcdir="$$s/gold"; \
20134 $(SHELL) $${libsrcdir}/configure \
20135 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20136 --target=${target_alias} $${srcdiroption} \
20137 --with-build-libsubdir=$(HOST_SUBDIR) \
20138 $(STAGE3_CONFIGURE_FLAGS)
20139 @endif gold-bootstrap
20141 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
20142 maybe-configure-stage4-gold:
20143 @if gold-bootstrap
20144 maybe-configure-stage4-gold: configure-stage4-gold
20145 configure-stage4-gold:
20146 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20147 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20148 @r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150 TFLAGS="$(STAGE4_TFLAGS)"; \
20151 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20152 $(HOST_EXPORTS) \
20153 $(POSTSTAGE1_HOST_EXPORTS) \
20154 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20155 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
20156 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20157 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
20158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20159 cd $(HOST_SUBDIR)/gold || exit 1; \
20160 case $(srcdir) in \
20161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20162 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20164 esac; \
20165 srcdiroption="--srcdir=$${topdir}/gold"; \
20166 libsrcdir="$$s/gold"; \
20167 $(SHELL) $${libsrcdir}/configure \
20168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20169 --target=${target_alias} $${srcdiroption} \
20170 --with-build-libsubdir=$(HOST_SUBDIR) \
20171 $(STAGE4_CONFIGURE_FLAGS)
20172 @endif gold-bootstrap
20174 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
20175 maybe-configure-stageprofile-gold:
20176 @if gold-bootstrap
20177 maybe-configure-stageprofile-gold: configure-stageprofile-gold
20178 configure-stageprofile-gold:
20179 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20181 @r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20184 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20185 $(HOST_EXPORTS) \
20186 $(POSTSTAGE1_HOST_EXPORTS) \
20187 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20188 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
20189 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20190 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
20191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20192 cd $(HOST_SUBDIR)/gold || exit 1; \
20193 case $(srcdir) in \
20194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20195 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20197 esac; \
20198 srcdiroption="--srcdir=$${topdir}/gold"; \
20199 libsrcdir="$$s/gold"; \
20200 $(SHELL) $${libsrcdir}/configure \
20201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20202 --target=${target_alias} $${srcdiroption} \
20203 --with-build-libsubdir=$(HOST_SUBDIR) \
20204 $(STAGEprofile_CONFIGURE_FLAGS)
20205 @endif gold-bootstrap
20207 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
20208 maybe-configure-stagefeedback-gold:
20209 @if gold-bootstrap
20210 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
20211 configure-stagefeedback-gold:
20212 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20214 @r=`${PWD_COMMAND}`; export r; \
20215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20216 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20217 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20218 $(HOST_EXPORTS) \
20219 $(POSTSTAGE1_HOST_EXPORTS) \
20220 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20221 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
20222 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20223 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
20224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20225 cd $(HOST_SUBDIR)/gold || exit 1; \
20226 case $(srcdir) in \
20227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20228 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20230 esac; \
20231 srcdiroption="--srcdir=$${topdir}/gold"; \
20232 libsrcdir="$$s/gold"; \
20233 $(SHELL) $${libsrcdir}/configure \
20234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20235 --target=${target_alias} $${srcdiroption} \
20236 --with-build-libsubdir=$(HOST_SUBDIR) \
20237 $(STAGEfeedback_CONFIGURE_FLAGS)
20238 @endif gold-bootstrap
20244 .PHONY: all-gold maybe-all-gold
20245 maybe-all-gold:
20246 @if gcc-bootstrap
20247 all-gold: stage_current
20248 @endif gcc-bootstrap
20249 @if gold
20250 TARGET-gold=all
20251 maybe-all-gold: all-gold
20252 all-gold: configure-gold
20253 @r=`${PWD_COMMAND}`; export r; \
20254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20255 $(HOST_EXPORTS) \
20256 (cd $(HOST_SUBDIR)/gold && \
20257 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20258 $(TARGET-gold))
20259 @endif gold
20263 .PHONY: all-stage1-gold maybe-all-stage1-gold
20264 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
20265 maybe-all-stage1-gold:
20266 maybe-clean-stage1-gold:
20267 @if gold-bootstrap
20268 maybe-all-stage1-gold: all-stage1-gold
20269 all-stage1: all-stage1-gold
20270 TARGET-stage1-gold = $(TARGET-gold)
20271 all-stage1-gold: configure-stage1-gold
20272 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20273 @r=`${PWD_COMMAND}`; export r; \
20274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20275 TFLAGS="$(STAGE1_TFLAGS)"; \
20276 $(HOST_EXPORTS) \
20277 cd $(HOST_SUBDIR)/gold && \
20278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20279 CFLAGS="$(STAGE1_CFLAGS)" \
20280 CXXFLAGS="$(STAGE1_CFLAGS)" \
20281 LIBCFLAGS="$(LIBCFLAGS)" \
20282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20285 $(EXTRA_HOST_FLAGS) \
20286 TFLAGS="$(STAGE1_TFLAGS)" \
20287 $(TARGET-stage1-gold)
20289 maybe-clean-stage1-gold: clean-stage1-gold
20290 clean-stage1: clean-stage1-gold
20291 clean-stage1-gold:
20292 @if [ $(current_stage) = stage1 ]; then \
20293 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20294 else \
20295 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
20296 $(MAKE) stage1-start; \
20297 fi; \
20298 cd $(HOST_SUBDIR)/gold && \
20299 $(MAKE) $(EXTRA_HOST_FLAGS) \
20300 clean
20301 @endif gold-bootstrap
20304 .PHONY: all-stage2-gold maybe-all-stage2-gold
20305 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
20306 maybe-all-stage2-gold:
20307 maybe-clean-stage2-gold:
20308 @if gold-bootstrap
20309 maybe-all-stage2-gold: all-stage2-gold
20310 all-stage2: all-stage2-gold
20311 TARGET-stage2-gold = $(TARGET-gold)
20312 all-stage2-gold: configure-stage2-gold
20313 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20314 @r=`${PWD_COMMAND}`; export r; \
20315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20316 TFLAGS="$(STAGE2_TFLAGS)"; \
20317 $(HOST_EXPORTS) \
20318 $(POSTSTAGE1_HOST_EXPORTS) \
20319 cd $(HOST_SUBDIR)/gold && \
20320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20321 CFLAGS="$(STAGE2_CFLAGS)" \
20322 CXXFLAGS="$(STAGE2_CFLAGS)" \
20323 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20327 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20328 TFLAGS="$(STAGE2_TFLAGS)" \
20329 $(TARGET-stage2-gold)
20331 maybe-clean-stage2-gold: clean-stage2-gold
20332 clean-stage2: clean-stage2-gold
20333 clean-stage2-gold:
20334 @if [ $(current_stage) = stage2 ]; then \
20335 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20336 else \
20337 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
20338 $(MAKE) stage2-start; \
20339 fi; \
20340 cd $(HOST_SUBDIR)/gold && \
20341 $(MAKE) $(EXTRA_HOST_FLAGS) \
20342 $(POSTSTAGE1_FLAGS_TO_PASS) \
20343 clean
20344 @endif gold-bootstrap
20347 .PHONY: all-stage3-gold maybe-all-stage3-gold
20348 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
20349 maybe-all-stage3-gold:
20350 maybe-clean-stage3-gold:
20351 @if gold-bootstrap
20352 maybe-all-stage3-gold: all-stage3-gold
20353 all-stage3: all-stage3-gold
20354 TARGET-stage3-gold = $(TARGET-gold)
20355 all-stage3-gold: configure-stage3-gold
20356 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20357 @r=`${PWD_COMMAND}`; export r; \
20358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20359 TFLAGS="$(STAGE3_TFLAGS)"; \
20360 $(HOST_EXPORTS) \
20361 $(POSTSTAGE1_HOST_EXPORTS) \
20362 cd $(HOST_SUBDIR)/gold && \
20363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20364 CFLAGS="$(STAGE3_CFLAGS)" \
20365 CXXFLAGS="$(STAGE3_CFLAGS)" \
20366 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20370 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20371 TFLAGS="$(STAGE3_TFLAGS)" \
20372 $(TARGET-stage3-gold)
20374 maybe-clean-stage3-gold: clean-stage3-gold
20375 clean-stage3: clean-stage3-gold
20376 clean-stage3-gold:
20377 @if [ $(current_stage) = stage3 ]; then \
20378 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20379 else \
20380 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
20381 $(MAKE) stage3-start; \
20382 fi; \
20383 cd $(HOST_SUBDIR)/gold && \
20384 $(MAKE) $(EXTRA_HOST_FLAGS) \
20385 $(POSTSTAGE1_FLAGS_TO_PASS) \
20386 clean
20387 @endif gold-bootstrap
20390 .PHONY: all-stage4-gold maybe-all-stage4-gold
20391 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
20392 maybe-all-stage4-gold:
20393 maybe-clean-stage4-gold:
20394 @if gold-bootstrap
20395 maybe-all-stage4-gold: all-stage4-gold
20396 all-stage4: all-stage4-gold
20397 TARGET-stage4-gold = $(TARGET-gold)
20398 all-stage4-gold: configure-stage4-gold
20399 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20400 @r=`${PWD_COMMAND}`; export r; \
20401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20402 TFLAGS="$(STAGE4_TFLAGS)"; \
20403 $(HOST_EXPORTS) \
20404 $(POSTSTAGE1_HOST_EXPORTS) \
20405 cd $(HOST_SUBDIR)/gold && \
20406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20407 CFLAGS="$(STAGE4_CFLAGS)" \
20408 CXXFLAGS="$(STAGE4_CFLAGS)" \
20409 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20414 TFLAGS="$(STAGE4_TFLAGS)" \
20415 $(TARGET-stage4-gold)
20417 maybe-clean-stage4-gold: clean-stage4-gold
20418 clean-stage4: clean-stage4-gold
20419 clean-stage4-gold:
20420 @if [ $(current_stage) = stage4 ]; then \
20421 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20422 else \
20423 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
20424 $(MAKE) stage4-start; \
20425 fi; \
20426 cd $(HOST_SUBDIR)/gold && \
20427 $(MAKE) $(EXTRA_HOST_FLAGS) \
20428 $(POSTSTAGE1_FLAGS_TO_PASS) \
20429 clean
20430 @endif gold-bootstrap
20433 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
20434 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
20435 maybe-all-stageprofile-gold:
20436 maybe-clean-stageprofile-gold:
20437 @if gold-bootstrap
20438 maybe-all-stageprofile-gold: all-stageprofile-gold
20439 all-stageprofile: all-stageprofile-gold
20440 TARGET-stageprofile-gold = $(TARGET-gold)
20441 all-stageprofile-gold: configure-stageprofile-gold
20442 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20443 @r=`${PWD_COMMAND}`; export r; \
20444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20445 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20446 $(HOST_EXPORTS) \
20447 $(POSTSTAGE1_HOST_EXPORTS) \
20448 cd $(HOST_SUBDIR)/gold && \
20449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20450 CFLAGS="$(STAGEprofile_CFLAGS)" \
20451 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
20452 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20457 TFLAGS="$(STAGEprofile_TFLAGS)" \
20458 $(TARGET-stageprofile-gold)
20460 maybe-clean-stageprofile-gold: clean-stageprofile-gold
20461 clean-stageprofile: clean-stageprofile-gold
20462 clean-stageprofile-gold:
20463 @if [ $(current_stage) = stageprofile ]; then \
20464 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20465 else \
20466 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
20467 $(MAKE) stageprofile-start; \
20468 fi; \
20469 cd $(HOST_SUBDIR)/gold && \
20470 $(MAKE) $(EXTRA_HOST_FLAGS) \
20471 $(POSTSTAGE1_FLAGS_TO_PASS) \
20472 clean
20473 @endif gold-bootstrap
20476 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
20477 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
20478 maybe-all-stagefeedback-gold:
20479 maybe-clean-stagefeedback-gold:
20480 @if gold-bootstrap
20481 maybe-all-stagefeedback-gold: all-stagefeedback-gold
20482 all-stagefeedback: all-stagefeedback-gold
20483 TARGET-stagefeedback-gold = $(TARGET-gold)
20484 all-stagefeedback-gold: configure-stagefeedback-gold
20485 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20486 @r=`${PWD_COMMAND}`; export r; \
20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20488 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20489 $(HOST_EXPORTS) \
20490 $(POSTSTAGE1_HOST_EXPORTS) \
20491 cd $(HOST_SUBDIR)/gold && \
20492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20493 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20494 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
20495 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20499 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20500 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20501 $(TARGET-stagefeedback-gold)
20503 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
20504 clean-stagefeedback: clean-stagefeedback-gold
20505 clean-stagefeedback-gold:
20506 @if [ $(current_stage) = stagefeedback ]; then \
20507 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20508 else \
20509 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
20510 $(MAKE) stagefeedback-start; \
20511 fi; \
20512 cd $(HOST_SUBDIR)/gold && \
20513 $(MAKE) $(EXTRA_HOST_FLAGS) \
20514 $(POSTSTAGE1_FLAGS_TO_PASS) \
20515 clean
20516 @endif gold-bootstrap
20522 .PHONY: check-gold maybe-check-gold
20523 maybe-check-gold:
20524 @if gold
20525 maybe-check-gold: check-gold
20527 check-gold:
20528 @: $(MAKE); $(unstage)
20529 @r=`${PWD_COMMAND}`; export r; \
20530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20531 $(HOST_EXPORTS) \
20532 (cd $(HOST_SUBDIR)/gold && \
20533 $(MAKE) $(FLAGS_TO_PASS) check)
20535 @endif gold
20537 .PHONY: install-gold maybe-install-gold
20538 maybe-install-gold:
20539 @if gold
20540 maybe-install-gold: install-gold
20542 install-gold: installdirs
20543 @: $(MAKE); $(unstage)
20544 @r=`${PWD_COMMAND}`; export r; \
20545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20546 $(HOST_EXPORTS) \
20547 (cd $(HOST_SUBDIR)/gold && \
20548 $(MAKE) $(FLAGS_TO_PASS) install)
20550 @endif gold
20552 # Other targets (info, dvi, pdf, etc.)
20554 .PHONY: maybe-info-gold info-gold
20555 maybe-info-gold:
20556 @if gold
20557 maybe-info-gold: info-gold
20559 info-gold: \
20560 configure-gold
20561 @[ -f ./gold/Makefile ] || exit 0; \
20562 r=`${PWD_COMMAND}`; export r; \
20563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20564 $(HOST_EXPORTS) \
20565 for flag in $(EXTRA_HOST_FLAGS) ; do \
20566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20567 done; \
20568 echo "Doing info in gold" ; \
20569 (cd $(HOST_SUBDIR)/gold && \
20570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20572 "RANLIB=$${RANLIB}" \
20573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20574 info) \
20575 || exit 1
20577 @endif gold
20579 .PHONY: maybe-dvi-gold dvi-gold
20580 maybe-dvi-gold:
20581 @if gold
20582 maybe-dvi-gold: dvi-gold
20584 dvi-gold: \
20585 configure-gold
20586 @[ -f ./gold/Makefile ] || exit 0; \
20587 r=`${PWD_COMMAND}`; export r; \
20588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20589 $(HOST_EXPORTS) \
20590 for flag in $(EXTRA_HOST_FLAGS) ; do \
20591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20592 done; \
20593 echo "Doing dvi in gold" ; \
20594 (cd $(HOST_SUBDIR)/gold && \
20595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20597 "RANLIB=$${RANLIB}" \
20598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20599 dvi) \
20600 || exit 1
20602 @endif gold
20604 .PHONY: maybe-pdf-gold pdf-gold
20605 maybe-pdf-gold:
20606 @if gold
20607 maybe-pdf-gold: pdf-gold
20609 pdf-gold: \
20610 configure-gold
20611 @[ -f ./gold/Makefile ] || exit 0; \
20612 r=`${PWD_COMMAND}`; export r; \
20613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20614 $(HOST_EXPORTS) \
20615 for flag in $(EXTRA_HOST_FLAGS) ; do \
20616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20617 done; \
20618 echo "Doing pdf in gold" ; \
20619 (cd $(HOST_SUBDIR)/gold && \
20620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20622 "RANLIB=$${RANLIB}" \
20623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20624 pdf) \
20625 || exit 1
20627 @endif gold
20629 .PHONY: maybe-html-gold html-gold
20630 maybe-html-gold:
20631 @if gold
20632 maybe-html-gold: html-gold
20634 html-gold: \
20635 configure-gold
20636 @[ -f ./gold/Makefile ] || exit 0; \
20637 r=`${PWD_COMMAND}`; export r; \
20638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639 $(HOST_EXPORTS) \
20640 for flag in $(EXTRA_HOST_FLAGS) ; do \
20641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20642 done; \
20643 echo "Doing html in gold" ; \
20644 (cd $(HOST_SUBDIR)/gold && \
20645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20647 "RANLIB=$${RANLIB}" \
20648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20649 html) \
20650 || exit 1
20652 @endif gold
20654 .PHONY: maybe-TAGS-gold TAGS-gold
20655 maybe-TAGS-gold:
20656 @if gold
20657 maybe-TAGS-gold: TAGS-gold
20659 TAGS-gold: \
20660 configure-gold
20661 @[ -f ./gold/Makefile ] || exit 0; \
20662 r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664 $(HOST_EXPORTS) \
20665 for flag in $(EXTRA_HOST_FLAGS) ; do \
20666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20667 done; \
20668 echo "Doing TAGS in gold" ; \
20669 (cd $(HOST_SUBDIR)/gold && \
20670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20672 "RANLIB=$${RANLIB}" \
20673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20674 TAGS) \
20675 || exit 1
20677 @endif gold
20679 .PHONY: maybe-install-info-gold install-info-gold
20680 maybe-install-info-gold:
20681 @if gold
20682 maybe-install-info-gold: install-info-gold
20684 install-info-gold: \
20685 configure-gold \
20686 info-gold
20687 @[ -f ./gold/Makefile ] || exit 0; \
20688 r=`${PWD_COMMAND}`; export r; \
20689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20690 $(HOST_EXPORTS) \
20691 for flag in $(EXTRA_HOST_FLAGS) ; do \
20692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20693 done; \
20694 echo "Doing install-info in gold" ; \
20695 (cd $(HOST_SUBDIR)/gold && \
20696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20698 "RANLIB=$${RANLIB}" \
20699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20700 install-info) \
20701 || exit 1
20703 @endif gold
20705 .PHONY: maybe-install-pdf-gold install-pdf-gold
20706 maybe-install-pdf-gold:
20707 @if gold
20708 maybe-install-pdf-gold: install-pdf-gold
20710 install-pdf-gold: \
20711 configure-gold \
20712 pdf-gold
20713 @[ -f ./gold/Makefile ] || exit 0; \
20714 r=`${PWD_COMMAND}`; export r; \
20715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20716 $(HOST_EXPORTS) \
20717 for flag in $(EXTRA_HOST_FLAGS) ; do \
20718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20719 done; \
20720 echo "Doing install-pdf in gold" ; \
20721 (cd $(HOST_SUBDIR)/gold && \
20722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20724 "RANLIB=$${RANLIB}" \
20725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20726 install-pdf) \
20727 || exit 1
20729 @endif gold
20731 .PHONY: maybe-install-html-gold install-html-gold
20732 maybe-install-html-gold:
20733 @if gold
20734 maybe-install-html-gold: install-html-gold
20736 install-html-gold: \
20737 configure-gold \
20738 html-gold
20739 @[ -f ./gold/Makefile ] || exit 0; \
20740 r=`${PWD_COMMAND}`; export r; \
20741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20742 $(HOST_EXPORTS) \
20743 for flag in $(EXTRA_HOST_FLAGS) ; do \
20744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20745 done; \
20746 echo "Doing install-html in gold" ; \
20747 (cd $(HOST_SUBDIR)/gold && \
20748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20750 "RANLIB=$${RANLIB}" \
20751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20752 install-html) \
20753 || exit 1
20755 @endif gold
20757 .PHONY: maybe-installcheck-gold installcheck-gold
20758 maybe-installcheck-gold:
20759 @if gold
20760 maybe-installcheck-gold: installcheck-gold
20762 installcheck-gold: \
20763 configure-gold
20764 @[ -f ./gold/Makefile ] || exit 0; \
20765 r=`${PWD_COMMAND}`; export r; \
20766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20767 $(HOST_EXPORTS) \
20768 for flag in $(EXTRA_HOST_FLAGS) ; do \
20769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20770 done; \
20771 echo "Doing installcheck in gold" ; \
20772 (cd $(HOST_SUBDIR)/gold && \
20773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20775 "RANLIB=$${RANLIB}" \
20776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20777 installcheck) \
20778 || exit 1
20780 @endif gold
20782 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
20783 maybe-mostlyclean-gold:
20784 @if gold
20785 maybe-mostlyclean-gold: mostlyclean-gold
20787 mostlyclean-gold:
20788 @[ -f ./gold/Makefile ] || exit 0; \
20789 r=`${PWD_COMMAND}`; export r; \
20790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20791 $(HOST_EXPORTS) \
20792 for flag in $(EXTRA_HOST_FLAGS) ; do \
20793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20794 done; \
20795 echo "Doing mostlyclean in gold" ; \
20796 (cd $(HOST_SUBDIR)/gold && \
20797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20799 "RANLIB=$${RANLIB}" \
20800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20801 mostlyclean) \
20802 || exit 1
20804 @endif gold
20806 .PHONY: maybe-clean-gold clean-gold
20807 maybe-clean-gold:
20808 @if gold
20809 maybe-clean-gold: clean-gold
20811 clean-gold:
20812 @[ -f ./gold/Makefile ] || exit 0; \
20813 r=`${PWD_COMMAND}`; export r; \
20814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20815 $(HOST_EXPORTS) \
20816 for flag in $(EXTRA_HOST_FLAGS) ; do \
20817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20818 done; \
20819 echo "Doing clean in gold" ; \
20820 (cd $(HOST_SUBDIR)/gold && \
20821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20823 "RANLIB=$${RANLIB}" \
20824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20825 clean) \
20826 || exit 1
20828 @endif gold
20830 .PHONY: maybe-distclean-gold distclean-gold
20831 maybe-distclean-gold:
20832 @if gold
20833 maybe-distclean-gold: distclean-gold
20835 distclean-gold:
20836 @[ -f ./gold/Makefile ] || exit 0; \
20837 r=`${PWD_COMMAND}`; export r; \
20838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20839 $(HOST_EXPORTS) \
20840 for flag in $(EXTRA_HOST_FLAGS) ; do \
20841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20842 done; \
20843 echo "Doing distclean in gold" ; \
20844 (cd $(HOST_SUBDIR)/gold && \
20845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20847 "RANLIB=$${RANLIB}" \
20848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20849 distclean) \
20850 || exit 1
20852 @endif gold
20854 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
20855 maybe-maintainer-clean-gold:
20856 @if gold
20857 maybe-maintainer-clean-gold: maintainer-clean-gold
20859 maintainer-clean-gold:
20860 @[ -f ./gold/Makefile ] || exit 0; \
20861 r=`${PWD_COMMAND}`; export r; \
20862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20863 $(HOST_EXPORTS) \
20864 for flag in $(EXTRA_HOST_FLAGS) ; do \
20865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20866 done; \
20867 echo "Doing maintainer-clean in gold" ; \
20868 (cd $(HOST_SUBDIR)/gold && \
20869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20871 "RANLIB=$${RANLIB}" \
20872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20873 maintainer-clean) \
20874 || exit 1
20876 @endif gold
20880 .PHONY: configure-gprof maybe-configure-gprof
20881 maybe-configure-gprof:
20882 @if gcc-bootstrap
20883 configure-gprof: stage_current
20884 @endif gcc-bootstrap
20885 @if gprof
20886 maybe-configure-gprof: configure-gprof
20887 configure-gprof:
20888 @: $(MAKE); $(unstage)
20889 @r=`${PWD_COMMAND}`; export r; \
20890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20891 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
20892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
20893 $(HOST_EXPORTS) \
20894 echo Configuring in $(HOST_SUBDIR)/gprof; \
20895 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
20896 case $(srcdir) in \
20897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20898 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
20899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20900 esac; \
20901 srcdiroption="--srcdir=$${topdir}/gprof"; \
20902 libsrcdir="$$s/gprof"; \
20903 $(SHELL) $${libsrcdir}/configure \
20904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20905 --target=${target_alias} $${srcdiroption} \
20906 || exit 1
20907 @endif gprof
20913 .PHONY: all-gprof maybe-all-gprof
20914 maybe-all-gprof:
20915 @if gcc-bootstrap
20916 all-gprof: stage_current
20917 @endif gcc-bootstrap
20918 @if gprof
20919 TARGET-gprof=all
20920 maybe-all-gprof: all-gprof
20921 all-gprof: configure-gprof
20922 @: $(MAKE); $(unstage)
20923 @r=`${PWD_COMMAND}`; export r; \
20924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20925 $(HOST_EXPORTS) \
20926 (cd $(HOST_SUBDIR)/gprof && \
20927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20928 $(TARGET-gprof))
20929 @endif gprof
20934 .PHONY: check-gprof maybe-check-gprof
20935 maybe-check-gprof:
20936 @if gprof
20937 maybe-check-gprof: check-gprof
20939 check-gprof:
20940 @: $(MAKE); $(unstage)
20941 @r=`${PWD_COMMAND}`; export r; \
20942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 $(HOST_EXPORTS) \
20944 (cd $(HOST_SUBDIR)/gprof && \
20945 $(MAKE) $(FLAGS_TO_PASS) check)
20947 @endif gprof
20949 .PHONY: install-gprof maybe-install-gprof
20950 maybe-install-gprof:
20951 @if gprof
20952 maybe-install-gprof: install-gprof
20954 install-gprof: installdirs
20955 @: $(MAKE); $(unstage)
20956 @r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(HOST_EXPORTS) \
20959 (cd $(HOST_SUBDIR)/gprof && \
20960 $(MAKE) $(FLAGS_TO_PASS) install)
20962 @endif gprof
20964 # Other targets (info, dvi, pdf, etc.)
20966 .PHONY: maybe-info-gprof info-gprof
20967 maybe-info-gprof:
20968 @if gprof
20969 maybe-info-gprof: info-gprof
20971 info-gprof: \
20972 configure-gprof
20973 @: $(MAKE); $(unstage)
20974 @[ -f ./gprof/Makefile ] || exit 0; \
20975 r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 $(HOST_EXPORTS) \
20978 for flag in $(EXTRA_HOST_FLAGS) ; do \
20979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20980 done; \
20981 echo "Doing info in gprof" ; \
20982 (cd $(HOST_SUBDIR)/gprof && \
20983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20985 "RANLIB=$${RANLIB}" \
20986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20987 info) \
20988 || exit 1
20990 @endif gprof
20992 .PHONY: maybe-dvi-gprof dvi-gprof
20993 maybe-dvi-gprof:
20994 @if gprof
20995 maybe-dvi-gprof: dvi-gprof
20997 dvi-gprof: \
20998 configure-gprof
20999 @: $(MAKE); $(unstage)
21000 @[ -f ./gprof/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(HOST_EXPORTS) \
21004 for flag in $(EXTRA_HOST_FLAGS) ; do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006 done; \
21007 echo "Doing dvi in gprof" ; \
21008 (cd $(HOST_SUBDIR)/gprof && \
21009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21011 "RANLIB=$${RANLIB}" \
21012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21013 dvi) \
21014 || exit 1
21016 @endif gprof
21018 .PHONY: maybe-pdf-gprof pdf-gprof
21019 maybe-pdf-gprof:
21020 @if gprof
21021 maybe-pdf-gprof: pdf-gprof
21023 pdf-gprof: \
21024 configure-gprof
21025 @: $(MAKE); $(unstage)
21026 @[ -f ./gprof/Makefile ] || exit 0; \
21027 r=`${PWD_COMMAND}`; export r; \
21028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21029 $(HOST_EXPORTS) \
21030 for flag in $(EXTRA_HOST_FLAGS) ; do \
21031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21032 done; \
21033 echo "Doing pdf in gprof" ; \
21034 (cd $(HOST_SUBDIR)/gprof && \
21035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21037 "RANLIB=$${RANLIB}" \
21038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21039 pdf) \
21040 || exit 1
21042 @endif gprof
21044 .PHONY: maybe-html-gprof html-gprof
21045 maybe-html-gprof:
21046 @if gprof
21047 maybe-html-gprof: html-gprof
21049 html-gprof: \
21050 configure-gprof
21051 @: $(MAKE); $(unstage)
21052 @[ -f ./gprof/Makefile ] || exit 0; \
21053 r=`${PWD_COMMAND}`; export r; \
21054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21055 $(HOST_EXPORTS) \
21056 for flag in $(EXTRA_HOST_FLAGS) ; do \
21057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21058 done; \
21059 echo "Doing html in gprof" ; \
21060 (cd $(HOST_SUBDIR)/gprof && \
21061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21063 "RANLIB=$${RANLIB}" \
21064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21065 html) \
21066 || exit 1
21068 @endif gprof
21070 .PHONY: maybe-TAGS-gprof TAGS-gprof
21071 maybe-TAGS-gprof:
21072 @if gprof
21073 maybe-TAGS-gprof: TAGS-gprof
21075 TAGS-gprof: \
21076 configure-gprof
21077 @: $(MAKE); $(unstage)
21078 @[ -f ./gprof/Makefile ] || exit 0; \
21079 r=`${PWD_COMMAND}`; export r; \
21080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21081 $(HOST_EXPORTS) \
21082 for flag in $(EXTRA_HOST_FLAGS) ; do \
21083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21084 done; \
21085 echo "Doing TAGS in gprof" ; \
21086 (cd $(HOST_SUBDIR)/gprof && \
21087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21089 "RANLIB=$${RANLIB}" \
21090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21091 TAGS) \
21092 || exit 1
21094 @endif gprof
21096 .PHONY: maybe-install-info-gprof install-info-gprof
21097 maybe-install-info-gprof:
21098 @if gprof
21099 maybe-install-info-gprof: install-info-gprof
21101 install-info-gprof: \
21102 configure-gprof \
21103 info-gprof
21104 @: $(MAKE); $(unstage)
21105 @[ -f ./gprof/Makefile ] || exit 0; \
21106 r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108 $(HOST_EXPORTS) \
21109 for flag in $(EXTRA_HOST_FLAGS) ; do \
21110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21111 done; \
21112 echo "Doing install-info in gprof" ; \
21113 (cd $(HOST_SUBDIR)/gprof && \
21114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21116 "RANLIB=$${RANLIB}" \
21117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21118 install-info) \
21119 || exit 1
21121 @endif gprof
21123 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
21124 maybe-install-pdf-gprof:
21125 @if gprof
21126 maybe-install-pdf-gprof: install-pdf-gprof
21128 install-pdf-gprof: \
21129 configure-gprof \
21130 pdf-gprof
21131 @: $(MAKE); $(unstage)
21132 @[ -f ./gprof/Makefile ] || exit 0; \
21133 r=`${PWD_COMMAND}`; export r; \
21134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21135 $(HOST_EXPORTS) \
21136 for flag in $(EXTRA_HOST_FLAGS) ; do \
21137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21138 done; \
21139 echo "Doing install-pdf in gprof" ; \
21140 (cd $(HOST_SUBDIR)/gprof && \
21141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21143 "RANLIB=$${RANLIB}" \
21144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21145 install-pdf) \
21146 || exit 1
21148 @endif gprof
21150 .PHONY: maybe-install-html-gprof install-html-gprof
21151 maybe-install-html-gprof:
21152 @if gprof
21153 maybe-install-html-gprof: install-html-gprof
21155 install-html-gprof: \
21156 configure-gprof \
21157 html-gprof
21158 @: $(MAKE); $(unstage)
21159 @[ -f ./gprof/Makefile ] || exit 0; \
21160 r=`${PWD_COMMAND}`; export r; \
21161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21162 $(HOST_EXPORTS) \
21163 for flag in $(EXTRA_HOST_FLAGS) ; do \
21164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21165 done; \
21166 echo "Doing install-html in gprof" ; \
21167 (cd $(HOST_SUBDIR)/gprof && \
21168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21170 "RANLIB=$${RANLIB}" \
21171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21172 install-html) \
21173 || exit 1
21175 @endif gprof
21177 .PHONY: maybe-installcheck-gprof installcheck-gprof
21178 maybe-installcheck-gprof:
21179 @if gprof
21180 maybe-installcheck-gprof: installcheck-gprof
21182 installcheck-gprof: \
21183 configure-gprof
21184 @: $(MAKE); $(unstage)
21185 @[ -f ./gprof/Makefile ] || exit 0; \
21186 r=`${PWD_COMMAND}`; export r; \
21187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21188 $(HOST_EXPORTS) \
21189 for flag in $(EXTRA_HOST_FLAGS) ; do \
21190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21191 done; \
21192 echo "Doing installcheck in gprof" ; \
21193 (cd $(HOST_SUBDIR)/gprof && \
21194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21196 "RANLIB=$${RANLIB}" \
21197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21198 installcheck) \
21199 || exit 1
21201 @endif gprof
21203 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
21204 maybe-mostlyclean-gprof:
21205 @if gprof
21206 maybe-mostlyclean-gprof: mostlyclean-gprof
21208 mostlyclean-gprof:
21209 @: $(MAKE); $(unstage)
21210 @[ -f ./gprof/Makefile ] || exit 0; \
21211 r=`${PWD_COMMAND}`; export r; \
21212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21213 $(HOST_EXPORTS) \
21214 for flag in $(EXTRA_HOST_FLAGS) ; do \
21215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21216 done; \
21217 echo "Doing mostlyclean in gprof" ; \
21218 (cd $(HOST_SUBDIR)/gprof && \
21219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21221 "RANLIB=$${RANLIB}" \
21222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21223 mostlyclean) \
21224 || exit 1
21226 @endif gprof
21228 .PHONY: maybe-clean-gprof clean-gprof
21229 maybe-clean-gprof:
21230 @if gprof
21231 maybe-clean-gprof: clean-gprof
21233 clean-gprof:
21234 @: $(MAKE); $(unstage)
21235 @[ -f ./gprof/Makefile ] || exit 0; \
21236 r=`${PWD_COMMAND}`; export r; \
21237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21238 $(HOST_EXPORTS) \
21239 for flag in $(EXTRA_HOST_FLAGS) ; do \
21240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21241 done; \
21242 echo "Doing clean in gprof" ; \
21243 (cd $(HOST_SUBDIR)/gprof && \
21244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21246 "RANLIB=$${RANLIB}" \
21247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21248 clean) \
21249 || exit 1
21251 @endif gprof
21253 .PHONY: maybe-distclean-gprof distclean-gprof
21254 maybe-distclean-gprof:
21255 @if gprof
21256 maybe-distclean-gprof: distclean-gprof
21258 distclean-gprof:
21259 @: $(MAKE); $(unstage)
21260 @[ -f ./gprof/Makefile ] || exit 0; \
21261 r=`${PWD_COMMAND}`; export r; \
21262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21263 $(HOST_EXPORTS) \
21264 for flag in $(EXTRA_HOST_FLAGS) ; do \
21265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21266 done; \
21267 echo "Doing distclean in gprof" ; \
21268 (cd $(HOST_SUBDIR)/gprof && \
21269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21271 "RANLIB=$${RANLIB}" \
21272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21273 distclean) \
21274 || exit 1
21276 @endif gprof
21278 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
21279 maybe-maintainer-clean-gprof:
21280 @if gprof
21281 maybe-maintainer-clean-gprof: maintainer-clean-gprof
21283 maintainer-clean-gprof:
21284 @: $(MAKE); $(unstage)
21285 @[ -f ./gprof/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 gprof" ; \
21293 (cd $(HOST_SUBDIR)/gprof && \
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 gprof
21305 .PHONY: configure-gzip maybe-configure-gzip
21306 maybe-configure-gzip:
21307 @if gcc-bootstrap
21308 configure-gzip: stage_current
21309 @endif gcc-bootstrap
21310 @if gzip
21311 maybe-configure-gzip: configure-gzip
21312 configure-gzip:
21313 @: $(MAKE); $(unstage)
21314 @r=`${PWD_COMMAND}`; export r; \
21315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
21317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
21318 $(HOST_EXPORTS) \
21319 echo Configuring in $(HOST_SUBDIR)/gzip; \
21320 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
21321 case $(srcdir) in \
21322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21323 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
21324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21325 esac; \
21326 srcdiroption="--srcdir=$${topdir}/gzip"; \
21327 libsrcdir="$$s/gzip"; \
21328 $(SHELL) $${libsrcdir}/configure \
21329 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21330 --target=${target_alias} $${srcdiroption} \
21331 || exit 1
21332 @endif gzip
21338 .PHONY: all-gzip maybe-all-gzip
21339 maybe-all-gzip:
21340 @if gcc-bootstrap
21341 all-gzip: stage_current
21342 @endif gcc-bootstrap
21343 @if gzip
21344 TARGET-gzip=all
21345 maybe-all-gzip: all-gzip
21346 all-gzip: configure-gzip
21347 @: $(MAKE); $(unstage)
21348 @r=`${PWD_COMMAND}`; export r; \
21349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21350 $(HOST_EXPORTS) \
21351 (cd $(HOST_SUBDIR)/gzip && \
21352 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21353 $(TARGET-gzip))
21354 @endif gzip
21359 .PHONY: check-gzip maybe-check-gzip
21360 maybe-check-gzip:
21361 @if gzip
21362 maybe-check-gzip: check-gzip
21364 check-gzip:
21365 @: $(MAKE); $(unstage)
21366 @r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368 $(HOST_EXPORTS) \
21369 (cd $(HOST_SUBDIR)/gzip && \
21370 $(MAKE) $(FLAGS_TO_PASS) check)
21372 @endif gzip
21374 .PHONY: install-gzip maybe-install-gzip
21375 maybe-install-gzip:
21376 @if gzip
21377 maybe-install-gzip: install-gzip
21379 install-gzip: 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)/gzip && \
21385 $(MAKE) $(FLAGS_TO_PASS) install)
21387 @endif gzip
21389 # Other targets (info, dvi, pdf, etc.)
21391 .PHONY: maybe-info-gzip info-gzip
21392 maybe-info-gzip:
21393 @if gzip
21394 maybe-info-gzip: info-gzip
21396 info-gzip: \
21397 configure-gzip
21398 @: $(MAKE); $(unstage)
21399 @[ -f ./gzip/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 gzip" ; \
21407 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21417 .PHONY: maybe-dvi-gzip dvi-gzip
21418 maybe-dvi-gzip:
21419 @if gzip
21420 maybe-dvi-gzip: dvi-gzip
21422 dvi-gzip: \
21423 configure-gzip
21424 @: $(MAKE); $(unstage)
21425 @[ -f ./gzip/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 gzip" ; \
21433 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21443 .PHONY: maybe-pdf-gzip pdf-gzip
21444 maybe-pdf-gzip:
21445 @if gzip
21446 maybe-pdf-gzip: pdf-gzip
21448 pdf-gzip: \
21449 configure-gzip
21450 @: $(MAKE); $(unstage)
21451 @[ -f ./gzip/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 gzip" ; \
21459 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21469 .PHONY: maybe-html-gzip html-gzip
21470 maybe-html-gzip:
21471 @if gzip
21472 maybe-html-gzip: html-gzip
21474 html-gzip: \
21475 configure-gzip
21476 @: $(MAKE); $(unstage)
21477 @[ -f ./gzip/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 gzip" ; \
21485 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21495 .PHONY: maybe-TAGS-gzip TAGS-gzip
21496 maybe-TAGS-gzip:
21497 @if gzip
21498 maybe-TAGS-gzip: TAGS-gzip
21500 TAGS-gzip: \
21501 configure-gzip
21502 @: $(MAKE); $(unstage)
21503 @[ -f ./gzip/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 gzip" ; \
21511 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21521 .PHONY: maybe-install-info-gzip install-info-gzip
21522 maybe-install-info-gzip:
21523 @if gzip
21524 maybe-install-info-gzip: install-info-gzip
21526 install-info-gzip: \
21527 configure-gzip \
21528 info-gzip
21529 @: $(MAKE); $(unstage)
21530 @[ -f ./gzip/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 gzip" ; \
21538 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21548 .PHONY: maybe-install-pdf-gzip install-pdf-gzip
21549 maybe-install-pdf-gzip:
21550 @if gzip
21551 maybe-install-pdf-gzip: install-pdf-gzip
21553 install-pdf-gzip: \
21554 configure-gzip \
21555 pdf-gzip
21556 @: $(MAKE); $(unstage)
21557 @[ -f ./gzip/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 gzip" ; \
21565 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21575 .PHONY: maybe-install-html-gzip install-html-gzip
21576 maybe-install-html-gzip:
21577 @if gzip
21578 maybe-install-html-gzip: install-html-gzip
21580 install-html-gzip: \
21581 configure-gzip \
21582 html-gzip
21583 @: $(MAKE); $(unstage)
21584 @[ -f ./gzip/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 gzip" ; \
21592 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21602 .PHONY: maybe-installcheck-gzip installcheck-gzip
21603 maybe-installcheck-gzip:
21604 @if gzip
21605 maybe-installcheck-gzip: installcheck-gzip
21607 installcheck-gzip: \
21608 configure-gzip
21609 @: $(MAKE); $(unstage)
21610 @[ -f ./gzip/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 gzip" ; \
21618 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21628 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
21629 maybe-mostlyclean-gzip:
21630 @if gzip
21631 maybe-mostlyclean-gzip: mostlyclean-gzip
21633 mostlyclean-gzip:
21634 @: $(MAKE); $(unstage)
21635 @[ -f ./gzip/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 gzip" ; \
21643 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21653 .PHONY: maybe-clean-gzip clean-gzip
21654 maybe-clean-gzip:
21655 @if gzip
21656 maybe-clean-gzip: clean-gzip
21658 clean-gzip:
21659 @: $(MAKE); $(unstage)
21660 @[ -f ./gzip/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 gzip" ; \
21668 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21678 .PHONY: maybe-distclean-gzip distclean-gzip
21679 maybe-distclean-gzip:
21680 @if gzip
21681 maybe-distclean-gzip: distclean-gzip
21683 distclean-gzip:
21684 @: $(MAKE); $(unstage)
21685 @[ -f ./gzip/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 gzip" ; \
21693 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21703 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
21704 maybe-maintainer-clean-gzip:
21705 @if gzip
21706 maybe-maintainer-clean-gzip: maintainer-clean-gzip
21708 maintainer-clean-gzip:
21709 @: $(MAKE); $(unstage)
21710 @[ -f ./gzip/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 gzip" ; \
21718 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
21730 .PHONY: configure-hello maybe-configure-hello
21731 maybe-configure-hello:
21732 @if gcc-bootstrap
21733 configure-hello: stage_current
21734 @endif gcc-bootstrap
21735 @if hello
21736 maybe-configure-hello: configure-hello
21737 configure-hello:
21738 @: $(MAKE); $(unstage)
21739 @r=`${PWD_COMMAND}`; export r; \
21740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21741 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
21742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
21743 $(HOST_EXPORTS) \
21744 echo Configuring in $(HOST_SUBDIR)/hello; \
21745 cd "$(HOST_SUBDIR)/hello" || exit 1; \
21746 case $(srcdir) in \
21747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21748 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
21749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21750 esac; \
21751 srcdiroption="--srcdir=$${topdir}/hello"; \
21752 libsrcdir="$$s/hello"; \
21753 $(SHELL) $${libsrcdir}/configure \
21754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21755 --target=${target_alias} $${srcdiroption} \
21756 || exit 1
21757 @endif hello
21763 .PHONY: all-hello maybe-all-hello
21764 maybe-all-hello:
21765 @if gcc-bootstrap
21766 all-hello: stage_current
21767 @endif gcc-bootstrap
21768 @if hello
21769 TARGET-hello=all
21770 maybe-all-hello: all-hello
21771 all-hello: configure-hello
21772 @: $(MAKE); $(unstage)
21773 @r=`${PWD_COMMAND}`; export r; \
21774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21775 $(HOST_EXPORTS) \
21776 (cd $(HOST_SUBDIR)/hello && \
21777 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21778 $(TARGET-hello))
21779 @endif hello
21784 .PHONY: check-hello maybe-check-hello
21785 maybe-check-hello:
21786 @if hello
21787 maybe-check-hello: check-hello
21789 check-hello:
21790 @: $(MAKE); $(unstage)
21791 @r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 $(HOST_EXPORTS) \
21794 (cd $(HOST_SUBDIR)/hello && \
21795 $(MAKE) $(FLAGS_TO_PASS) check)
21797 @endif hello
21799 .PHONY: install-hello maybe-install-hello
21800 maybe-install-hello:
21801 @if hello
21802 maybe-install-hello: install-hello
21804 install-hello: 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)/hello && \
21810 $(MAKE) $(FLAGS_TO_PASS) install)
21812 @endif hello
21814 # Other targets (info, dvi, pdf, etc.)
21816 .PHONY: maybe-info-hello info-hello
21817 maybe-info-hello:
21818 @if hello
21819 maybe-info-hello: info-hello
21821 info-hello: \
21822 configure-hello
21823 @: $(MAKE); $(unstage)
21824 @[ -f ./hello/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 hello" ; \
21832 (cd $(HOST_SUBDIR)/hello && \
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 hello
21842 .PHONY: maybe-dvi-hello dvi-hello
21843 maybe-dvi-hello:
21844 @if hello
21845 maybe-dvi-hello: dvi-hello
21847 dvi-hello: \
21848 configure-hello
21849 @: $(MAKE); $(unstage)
21850 @[ -f ./hello/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 hello" ; \
21858 (cd $(HOST_SUBDIR)/hello && \
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 hello
21868 .PHONY: maybe-pdf-hello pdf-hello
21869 maybe-pdf-hello:
21870 @if hello
21871 maybe-pdf-hello: pdf-hello
21873 pdf-hello: \
21874 configure-hello
21875 @: $(MAKE); $(unstage)
21876 @[ -f ./hello/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 hello" ; \
21884 (cd $(HOST_SUBDIR)/hello && \
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 hello
21894 .PHONY: maybe-html-hello html-hello
21895 maybe-html-hello:
21896 @if hello
21897 maybe-html-hello: html-hello
21899 html-hello: \
21900 configure-hello
21901 @: $(MAKE); $(unstage)
21902 @[ -f ./hello/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 hello" ; \
21910 (cd $(HOST_SUBDIR)/hello && \
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 hello
21920 .PHONY: maybe-TAGS-hello TAGS-hello
21921 maybe-TAGS-hello:
21922 @if hello
21923 maybe-TAGS-hello: TAGS-hello
21925 TAGS-hello: \
21926 configure-hello
21927 @: $(MAKE); $(unstage)
21928 @[ -f ./hello/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 hello" ; \
21936 (cd $(HOST_SUBDIR)/hello && \
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 hello
21946 .PHONY: maybe-install-info-hello install-info-hello
21947 maybe-install-info-hello:
21948 @if hello
21949 maybe-install-info-hello: install-info-hello
21951 install-info-hello: \
21952 configure-hello \
21953 info-hello
21954 @: $(MAKE); $(unstage)
21955 @[ -f ./hello/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 hello" ; \
21963 (cd $(HOST_SUBDIR)/hello && \
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 hello
21973 .PHONY: maybe-install-pdf-hello install-pdf-hello
21974 maybe-install-pdf-hello:
21975 @if hello
21976 maybe-install-pdf-hello: install-pdf-hello
21978 install-pdf-hello: \
21979 configure-hello \
21980 pdf-hello
21981 @: $(MAKE); $(unstage)
21982 @[ -f ./hello/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 hello" ; \
21990 (cd $(HOST_SUBDIR)/hello && \
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 hello
22000 .PHONY: maybe-install-html-hello install-html-hello
22001 maybe-install-html-hello:
22002 @if hello
22003 maybe-install-html-hello: install-html-hello
22005 install-html-hello: \
22006 configure-hello \
22007 html-hello
22008 @: $(MAKE); $(unstage)
22009 @[ -f ./hello/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 hello" ; \
22017 (cd $(HOST_SUBDIR)/hello && \
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 hello
22027 .PHONY: maybe-installcheck-hello installcheck-hello
22028 maybe-installcheck-hello:
22029 @if hello
22030 maybe-installcheck-hello: installcheck-hello
22032 installcheck-hello: \
22033 configure-hello
22034 @: $(MAKE); $(unstage)
22035 @[ -f ./hello/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 hello" ; \
22043 (cd $(HOST_SUBDIR)/hello && \
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 hello
22053 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
22054 maybe-mostlyclean-hello:
22055 @if hello
22056 maybe-mostlyclean-hello: mostlyclean-hello
22058 mostlyclean-hello:
22059 @: $(MAKE); $(unstage)
22060 @[ -f ./hello/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 hello" ; \
22068 (cd $(HOST_SUBDIR)/hello && \
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 hello
22078 .PHONY: maybe-clean-hello clean-hello
22079 maybe-clean-hello:
22080 @if hello
22081 maybe-clean-hello: clean-hello
22083 clean-hello:
22084 @: $(MAKE); $(unstage)
22085 @[ -f ./hello/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 hello" ; \
22093 (cd $(HOST_SUBDIR)/hello && \
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 hello
22103 .PHONY: maybe-distclean-hello distclean-hello
22104 maybe-distclean-hello:
22105 @if hello
22106 maybe-distclean-hello: distclean-hello
22108 distclean-hello:
22109 @: $(MAKE); $(unstage)
22110 @[ -f ./hello/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 hello" ; \
22118 (cd $(HOST_SUBDIR)/hello && \
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 hello
22128 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
22129 maybe-maintainer-clean-hello:
22130 @if hello
22131 maybe-maintainer-clean-hello: maintainer-clean-hello
22133 maintainer-clean-hello:
22134 @: $(MAKE); $(unstage)
22135 @[ -f ./hello/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 hello" ; \
22143 (cd $(HOST_SUBDIR)/hello && \
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 hello
22155 .PHONY: configure-indent maybe-configure-indent
22156 maybe-configure-indent:
22157 @if gcc-bootstrap
22158 configure-indent: stage_current
22159 @endif gcc-bootstrap
22160 @if indent
22161 maybe-configure-indent: configure-indent
22162 configure-indent:
22163 @: $(MAKE); $(unstage)
22164 @r=`${PWD_COMMAND}`; export r; \
22165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
22167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
22168 $(HOST_EXPORTS) \
22169 echo Configuring in $(HOST_SUBDIR)/indent; \
22170 cd "$(HOST_SUBDIR)/indent" || exit 1; \
22171 case $(srcdir) in \
22172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22173 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
22174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22175 esac; \
22176 srcdiroption="--srcdir=$${topdir}/indent"; \
22177 libsrcdir="$$s/indent"; \
22178 $(SHELL) $${libsrcdir}/configure \
22179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22180 --target=${target_alias} $${srcdiroption} \
22181 || exit 1
22182 @endif indent
22188 .PHONY: all-indent maybe-all-indent
22189 maybe-all-indent:
22190 @if gcc-bootstrap
22191 all-indent: stage_current
22192 @endif gcc-bootstrap
22193 @if indent
22194 TARGET-indent=all
22195 maybe-all-indent: all-indent
22196 all-indent: configure-indent
22197 @: $(MAKE); $(unstage)
22198 @r=`${PWD_COMMAND}`; export r; \
22199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22200 $(HOST_EXPORTS) \
22201 (cd $(HOST_SUBDIR)/indent && \
22202 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22203 $(TARGET-indent))
22204 @endif indent
22209 .PHONY: check-indent maybe-check-indent
22210 maybe-check-indent:
22211 @if indent
22212 maybe-check-indent: check-indent
22214 check-indent:
22215 @: $(MAKE); $(unstage)
22216 @r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22218 $(HOST_EXPORTS) \
22219 (cd $(HOST_SUBDIR)/indent && \
22220 $(MAKE) $(FLAGS_TO_PASS) check)
22222 @endif indent
22224 .PHONY: install-indent maybe-install-indent
22225 maybe-install-indent:
22226 @if indent
22227 maybe-install-indent: install-indent
22229 install-indent: 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)/indent && \
22235 $(MAKE) $(FLAGS_TO_PASS) install)
22237 @endif indent
22239 # Other targets (info, dvi, pdf, etc.)
22241 .PHONY: maybe-info-indent info-indent
22242 maybe-info-indent:
22243 @if indent
22244 maybe-info-indent: info-indent
22246 info-indent: \
22247 configure-indent
22248 @: $(MAKE); $(unstage)
22249 @[ -f ./indent/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 indent" ; \
22257 (cd $(HOST_SUBDIR)/indent && \
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 indent
22267 .PHONY: maybe-dvi-indent dvi-indent
22268 maybe-dvi-indent:
22269 @if indent
22270 maybe-dvi-indent: dvi-indent
22272 dvi-indent: \
22273 configure-indent
22274 @: $(MAKE); $(unstage)
22275 @[ -f ./indent/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 indent" ; \
22283 (cd $(HOST_SUBDIR)/indent && \
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 indent
22293 .PHONY: maybe-pdf-indent pdf-indent
22294 maybe-pdf-indent:
22295 @if indent
22296 maybe-pdf-indent: pdf-indent
22298 pdf-indent: \
22299 configure-indent
22300 @: $(MAKE); $(unstage)
22301 @[ -f ./indent/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 indent" ; \
22309 (cd $(HOST_SUBDIR)/indent && \
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 indent
22319 .PHONY: maybe-html-indent html-indent
22320 maybe-html-indent:
22321 @if indent
22322 maybe-html-indent: html-indent
22324 html-indent: \
22325 configure-indent
22326 @: $(MAKE); $(unstage)
22327 @[ -f ./indent/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 indent" ; \
22335 (cd $(HOST_SUBDIR)/indent && \
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 indent
22345 .PHONY: maybe-TAGS-indent TAGS-indent
22346 maybe-TAGS-indent:
22347 @if indent
22348 maybe-TAGS-indent: TAGS-indent
22350 TAGS-indent: \
22351 configure-indent
22352 @: $(MAKE); $(unstage)
22353 @[ -f ./indent/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 indent" ; \
22361 (cd $(HOST_SUBDIR)/indent && \
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 indent
22371 .PHONY: maybe-install-info-indent install-info-indent
22372 maybe-install-info-indent:
22373 @if indent
22374 maybe-install-info-indent: install-info-indent
22376 install-info-indent: \
22377 configure-indent \
22378 info-indent
22379 @: $(MAKE); $(unstage)
22380 @[ -f ./indent/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 indent" ; \
22388 (cd $(HOST_SUBDIR)/indent && \
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 indent
22398 .PHONY: maybe-install-pdf-indent install-pdf-indent
22399 maybe-install-pdf-indent:
22400 @if indent
22401 maybe-install-pdf-indent: install-pdf-indent
22403 install-pdf-indent: \
22404 configure-indent \
22405 pdf-indent
22406 @: $(MAKE); $(unstage)
22407 @[ -f ./indent/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 indent" ; \
22415 (cd $(HOST_SUBDIR)/indent && \
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 indent
22425 .PHONY: maybe-install-html-indent install-html-indent
22426 maybe-install-html-indent:
22427 @if indent
22428 maybe-install-html-indent: install-html-indent
22430 install-html-indent: \
22431 configure-indent \
22432 html-indent
22433 @: $(MAKE); $(unstage)
22434 @[ -f ./indent/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 indent" ; \
22442 (cd $(HOST_SUBDIR)/indent && \
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 indent
22452 .PHONY: maybe-installcheck-indent installcheck-indent
22453 maybe-installcheck-indent:
22454 @if indent
22455 maybe-installcheck-indent: installcheck-indent
22457 installcheck-indent: \
22458 configure-indent
22459 @: $(MAKE); $(unstage)
22460 @[ -f ./indent/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 indent" ; \
22468 (cd $(HOST_SUBDIR)/indent && \
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 indent
22478 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
22479 maybe-mostlyclean-indent:
22480 @if indent
22481 maybe-mostlyclean-indent: mostlyclean-indent
22483 mostlyclean-indent:
22484 @: $(MAKE); $(unstage)
22485 @[ -f ./indent/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 indent" ; \
22493 (cd $(HOST_SUBDIR)/indent && \
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 indent
22503 .PHONY: maybe-clean-indent clean-indent
22504 maybe-clean-indent:
22505 @if indent
22506 maybe-clean-indent: clean-indent
22508 clean-indent:
22509 @: $(MAKE); $(unstage)
22510 @[ -f ./indent/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 indent" ; \
22518 (cd $(HOST_SUBDIR)/indent && \
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 indent
22528 .PHONY: maybe-distclean-indent distclean-indent
22529 maybe-distclean-indent:
22530 @if indent
22531 maybe-distclean-indent: distclean-indent
22533 distclean-indent:
22534 @: $(MAKE); $(unstage)
22535 @[ -f ./indent/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 indent" ; \
22543 (cd $(HOST_SUBDIR)/indent && \
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 indent
22553 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
22554 maybe-maintainer-clean-indent:
22555 @if indent
22556 maybe-maintainer-clean-indent: maintainer-clean-indent
22558 maintainer-clean-indent:
22559 @: $(MAKE); $(unstage)
22560 @[ -f ./indent/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 indent" ; \
22568 (cd $(HOST_SUBDIR)/indent && \
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 indent
22580 .PHONY: configure-intl maybe-configure-intl
22581 maybe-configure-intl:
22582 @if gcc-bootstrap
22583 configure-intl: stage_current
22584 @endif gcc-bootstrap
22585 @if intl
22586 maybe-configure-intl: configure-intl
22587 configure-intl:
22588 @r=`${PWD_COMMAND}`; export r; \
22589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22590 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
22591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
22592 $(HOST_EXPORTS) \
22593 echo Configuring in $(HOST_SUBDIR)/intl; \
22594 cd "$(HOST_SUBDIR)/intl" || exit 1; \
22595 case $(srcdir) in \
22596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22597 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
22598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22599 esac; \
22600 srcdiroption="--srcdir=$${topdir}/intl"; \
22601 libsrcdir="$$s/intl"; \
22602 $(SHELL) $${libsrcdir}/configure \
22603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22604 --target=${target_alias} $${srcdiroption} \
22605 || exit 1
22606 @endif intl
22610 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
22611 maybe-configure-stage1-intl:
22612 @if intl-bootstrap
22613 maybe-configure-stage1-intl: configure-stage1-intl
22614 configure-stage1-intl:
22615 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
22617 @r=`${PWD_COMMAND}`; export r; \
22618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22619 TFLAGS="$(STAGE1_TFLAGS)"; \
22620 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
22621 $(HOST_EXPORTS) \
22622 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22623 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
22624 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22625 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
22626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
22627 cd $(HOST_SUBDIR)/intl || exit 1; \
22628 case $(srcdir) in \
22629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22630 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
22631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22632 esac; \
22633 srcdiroption="--srcdir=$${topdir}/intl"; \
22634 libsrcdir="$$s/intl"; \
22635 $(SHELL) $${libsrcdir}/configure \
22636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22637 --target=${target_alias} $${srcdiroption} \
22638 $(STAGE1_CONFIGURE_FLAGS)
22639 @endif intl-bootstrap
22641 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
22642 maybe-configure-stage2-intl:
22643 @if intl-bootstrap
22644 maybe-configure-stage2-intl: configure-stage2-intl
22645 configure-stage2-intl:
22646 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22647 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
22648 @r=`${PWD_COMMAND}`; export r; \
22649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22650 TFLAGS="$(STAGE2_TFLAGS)"; \
22651 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
22652 $(HOST_EXPORTS) \
22653 $(POSTSTAGE1_HOST_EXPORTS) \
22654 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22655 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
22656 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22657 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
22658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
22659 cd $(HOST_SUBDIR)/intl || exit 1; \
22660 case $(srcdir) in \
22661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22662 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
22663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22664 esac; \
22665 srcdiroption="--srcdir=$${topdir}/intl"; \
22666 libsrcdir="$$s/intl"; \
22667 $(SHELL) $${libsrcdir}/configure \
22668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22669 --target=${target_alias} $${srcdiroption} \
22670 --with-build-libsubdir=$(HOST_SUBDIR) \
22671 $(STAGE2_CONFIGURE_FLAGS)
22672 @endif intl-bootstrap
22674 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
22675 maybe-configure-stage3-intl:
22676 @if intl-bootstrap
22677 maybe-configure-stage3-intl: configure-stage3-intl
22678 configure-stage3-intl:
22679 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
22681 @r=`${PWD_COMMAND}`; export r; \
22682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22683 TFLAGS="$(STAGE3_TFLAGS)"; \
22684 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
22685 $(HOST_EXPORTS) \
22686 $(POSTSTAGE1_HOST_EXPORTS) \
22687 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22688 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
22689 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22690 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
22691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
22692 cd $(HOST_SUBDIR)/intl || exit 1; \
22693 case $(srcdir) in \
22694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22695 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
22696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22697 esac; \
22698 srcdiroption="--srcdir=$${topdir}/intl"; \
22699 libsrcdir="$$s/intl"; \
22700 $(SHELL) $${libsrcdir}/configure \
22701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22702 --target=${target_alias} $${srcdiroption} \
22703 --with-build-libsubdir=$(HOST_SUBDIR) \
22704 $(STAGE3_CONFIGURE_FLAGS)
22705 @endif intl-bootstrap
22707 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
22708 maybe-configure-stage4-intl:
22709 @if intl-bootstrap
22710 maybe-configure-stage4-intl: configure-stage4-intl
22711 configure-stage4-intl:
22712 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
22714 @r=`${PWD_COMMAND}`; export r; \
22715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22716 TFLAGS="$(STAGE4_TFLAGS)"; \
22717 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
22718 $(HOST_EXPORTS) \
22719 $(POSTSTAGE1_HOST_EXPORTS) \
22720 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22721 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
22722 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22723 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
22724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
22725 cd $(HOST_SUBDIR)/intl || exit 1; \
22726 case $(srcdir) in \
22727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22728 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
22729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22730 esac; \
22731 srcdiroption="--srcdir=$${topdir}/intl"; \
22732 libsrcdir="$$s/intl"; \
22733 $(SHELL) $${libsrcdir}/configure \
22734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22735 --target=${target_alias} $${srcdiroption} \
22736 --with-build-libsubdir=$(HOST_SUBDIR) \
22737 $(STAGE4_CONFIGURE_FLAGS)
22738 @endif intl-bootstrap
22740 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
22741 maybe-configure-stageprofile-intl:
22742 @if intl-bootstrap
22743 maybe-configure-stageprofile-intl: configure-stageprofile-intl
22744 configure-stageprofile-intl:
22745 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
22747 @r=`${PWD_COMMAND}`; export r; \
22748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22750 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
22751 $(HOST_EXPORTS) \
22752 $(POSTSTAGE1_HOST_EXPORTS) \
22753 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22754 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
22755 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22756 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
22757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
22758 cd $(HOST_SUBDIR)/intl || exit 1; \
22759 case $(srcdir) in \
22760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22761 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
22762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22763 esac; \
22764 srcdiroption="--srcdir=$${topdir}/intl"; \
22765 libsrcdir="$$s/intl"; \
22766 $(SHELL) $${libsrcdir}/configure \
22767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22768 --target=${target_alias} $${srcdiroption} \
22769 --with-build-libsubdir=$(HOST_SUBDIR) \
22770 $(STAGEprofile_CONFIGURE_FLAGS)
22771 @endif intl-bootstrap
22773 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
22774 maybe-configure-stagefeedback-intl:
22775 @if intl-bootstrap
22776 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
22777 configure-stagefeedback-intl:
22778 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
22780 @r=`${PWD_COMMAND}`; export r; \
22781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22782 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22783 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
22784 $(HOST_EXPORTS) \
22785 $(POSTSTAGE1_HOST_EXPORTS) \
22786 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22787 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
22788 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22789 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
22790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
22791 cd $(HOST_SUBDIR)/intl || exit 1; \
22792 case $(srcdir) in \
22793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22794 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
22795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22796 esac; \
22797 srcdiroption="--srcdir=$${topdir}/intl"; \
22798 libsrcdir="$$s/intl"; \
22799 $(SHELL) $${libsrcdir}/configure \
22800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22801 --target=${target_alias} $${srcdiroption} \
22802 --with-build-libsubdir=$(HOST_SUBDIR) \
22803 $(STAGEfeedback_CONFIGURE_FLAGS)
22804 @endif intl-bootstrap
22810 .PHONY: all-intl maybe-all-intl
22811 maybe-all-intl:
22812 @if gcc-bootstrap
22813 all-intl: stage_current
22814 @endif gcc-bootstrap
22815 @if intl
22816 TARGET-intl=all
22817 maybe-all-intl: all-intl
22818 all-intl: configure-intl
22819 @r=`${PWD_COMMAND}`; export r; \
22820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22821 $(HOST_EXPORTS) \
22822 (cd $(HOST_SUBDIR)/intl && \
22823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22824 $(TARGET-intl))
22825 @endif intl
22829 .PHONY: all-stage1-intl maybe-all-stage1-intl
22830 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
22831 maybe-all-stage1-intl:
22832 maybe-clean-stage1-intl:
22833 @if intl-bootstrap
22834 maybe-all-stage1-intl: all-stage1-intl
22835 all-stage1: all-stage1-intl
22836 TARGET-stage1-intl = $(TARGET-intl)
22837 all-stage1-intl: configure-stage1-intl
22838 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22839 @r=`${PWD_COMMAND}`; export r; \
22840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22841 TFLAGS="$(STAGE1_TFLAGS)"; \
22842 $(HOST_EXPORTS) \
22843 cd $(HOST_SUBDIR)/intl && \
22844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22845 CFLAGS="$(STAGE1_CFLAGS)" \
22846 CXXFLAGS="$(STAGE1_CFLAGS)" \
22847 LIBCFLAGS="$(LIBCFLAGS)" \
22848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22851 $(EXTRA_HOST_FLAGS) \
22852 TFLAGS="$(STAGE1_TFLAGS)" \
22853 $(TARGET-stage1-intl)
22855 maybe-clean-stage1-intl: clean-stage1-intl
22856 clean-stage1: clean-stage1-intl
22857 clean-stage1-intl:
22858 @if [ $(current_stage) = stage1 ]; then \
22859 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
22860 else \
22861 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
22862 $(MAKE) stage1-start; \
22863 fi; \
22864 cd $(HOST_SUBDIR)/intl && \
22865 $(MAKE) $(EXTRA_HOST_FLAGS) \
22866 clean
22867 @endif intl-bootstrap
22870 .PHONY: all-stage2-intl maybe-all-stage2-intl
22871 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
22872 maybe-all-stage2-intl:
22873 maybe-clean-stage2-intl:
22874 @if intl-bootstrap
22875 maybe-all-stage2-intl: all-stage2-intl
22876 all-stage2: all-stage2-intl
22877 TARGET-stage2-intl = $(TARGET-intl)
22878 all-stage2-intl: configure-stage2-intl
22879 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22880 @r=`${PWD_COMMAND}`; export r; \
22881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22882 TFLAGS="$(STAGE2_TFLAGS)"; \
22883 $(HOST_EXPORTS) \
22884 $(POSTSTAGE1_HOST_EXPORTS) \
22885 cd $(HOST_SUBDIR)/intl && \
22886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22887 CFLAGS="$(STAGE2_CFLAGS)" \
22888 CXXFLAGS="$(STAGE2_CFLAGS)" \
22889 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22893 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22894 TFLAGS="$(STAGE2_TFLAGS)" \
22895 $(TARGET-stage2-intl)
22897 maybe-clean-stage2-intl: clean-stage2-intl
22898 clean-stage2: clean-stage2-intl
22899 clean-stage2-intl:
22900 @if [ $(current_stage) = stage2 ]; then \
22901 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
22902 else \
22903 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
22904 $(MAKE) stage2-start; \
22905 fi; \
22906 cd $(HOST_SUBDIR)/intl && \
22907 $(MAKE) $(EXTRA_HOST_FLAGS) \
22908 $(POSTSTAGE1_FLAGS_TO_PASS) \
22909 clean
22910 @endif intl-bootstrap
22913 .PHONY: all-stage3-intl maybe-all-stage3-intl
22914 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
22915 maybe-all-stage3-intl:
22916 maybe-clean-stage3-intl:
22917 @if intl-bootstrap
22918 maybe-all-stage3-intl: all-stage3-intl
22919 all-stage3: all-stage3-intl
22920 TARGET-stage3-intl = $(TARGET-intl)
22921 all-stage3-intl: configure-stage3-intl
22922 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22923 @r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 TFLAGS="$(STAGE3_TFLAGS)"; \
22926 $(HOST_EXPORTS) \
22927 $(POSTSTAGE1_HOST_EXPORTS) \
22928 cd $(HOST_SUBDIR)/intl && \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22930 CFLAGS="$(STAGE3_CFLAGS)" \
22931 CXXFLAGS="$(STAGE3_CFLAGS)" \
22932 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22936 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22937 TFLAGS="$(STAGE3_TFLAGS)" \
22938 $(TARGET-stage3-intl)
22940 maybe-clean-stage3-intl: clean-stage3-intl
22941 clean-stage3: clean-stage3-intl
22942 clean-stage3-intl:
22943 @if [ $(current_stage) = stage3 ]; then \
22944 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
22945 else \
22946 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
22947 $(MAKE) stage3-start; \
22948 fi; \
22949 cd $(HOST_SUBDIR)/intl && \
22950 $(MAKE) $(EXTRA_HOST_FLAGS) \
22951 $(POSTSTAGE1_FLAGS_TO_PASS) \
22952 clean
22953 @endif intl-bootstrap
22956 .PHONY: all-stage4-intl maybe-all-stage4-intl
22957 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
22958 maybe-all-stage4-intl:
22959 maybe-clean-stage4-intl:
22960 @if intl-bootstrap
22961 maybe-all-stage4-intl: all-stage4-intl
22962 all-stage4: all-stage4-intl
22963 TARGET-stage4-intl = $(TARGET-intl)
22964 all-stage4-intl: configure-stage4-intl
22965 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22966 @r=`${PWD_COMMAND}`; export r; \
22967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22968 TFLAGS="$(STAGE4_TFLAGS)"; \
22969 $(HOST_EXPORTS) \
22970 $(POSTSTAGE1_HOST_EXPORTS) \
22971 cd $(HOST_SUBDIR)/intl && \
22972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22973 CFLAGS="$(STAGE4_CFLAGS)" \
22974 CXXFLAGS="$(STAGE4_CFLAGS)" \
22975 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22980 TFLAGS="$(STAGE4_TFLAGS)" \
22981 $(TARGET-stage4-intl)
22983 maybe-clean-stage4-intl: clean-stage4-intl
22984 clean-stage4: clean-stage4-intl
22985 clean-stage4-intl:
22986 @if [ $(current_stage) = stage4 ]; then \
22987 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
22988 else \
22989 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
22990 $(MAKE) stage4-start; \
22991 fi; \
22992 cd $(HOST_SUBDIR)/intl && \
22993 $(MAKE) $(EXTRA_HOST_FLAGS) \
22994 $(POSTSTAGE1_FLAGS_TO_PASS) \
22995 clean
22996 @endif intl-bootstrap
22999 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
23000 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
23001 maybe-all-stageprofile-intl:
23002 maybe-clean-stageprofile-intl:
23003 @if intl-bootstrap
23004 maybe-all-stageprofile-intl: all-stageprofile-intl
23005 all-stageprofile: all-stageprofile-intl
23006 TARGET-stageprofile-intl = $(TARGET-intl)
23007 all-stageprofile-intl: configure-stageprofile-intl
23008 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23009 @r=`${PWD_COMMAND}`; export r; \
23010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23011 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23012 $(HOST_EXPORTS) \
23013 $(POSTSTAGE1_HOST_EXPORTS) \
23014 cd $(HOST_SUBDIR)/intl && \
23015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23016 CFLAGS="$(STAGEprofile_CFLAGS)" \
23017 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
23018 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23023 TFLAGS="$(STAGEprofile_TFLAGS)" \
23024 $(TARGET-stageprofile-intl)
23026 maybe-clean-stageprofile-intl: clean-stageprofile-intl
23027 clean-stageprofile: clean-stageprofile-intl
23028 clean-stageprofile-intl:
23029 @if [ $(current_stage) = stageprofile ]; then \
23030 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23031 else \
23032 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
23033 $(MAKE) stageprofile-start; \
23034 fi; \
23035 cd $(HOST_SUBDIR)/intl && \
23036 $(MAKE) $(EXTRA_HOST_FLAGS) \
23037 $(POSTSTAGE1_FLAGS_TO_PASS) \
23038 clean
23039 @endif intl-bootstrap
23042 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
23043 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
23044 maybe-all-stagefeedback-intl:
23045 maybe-clean-stagefeedback-intl:
23046 @if intl-bootstrap
23047 maybe-all-stagefeedback-intl: all-stagefeedback-intl
23048 all-stagefeedback: all-stagefeedback-intl
23049 TARGET-stagefeedback-intl = $(TARGET-intl)
23050 all-stagefeedback-intl: configure-stagefeedback-intl
23051 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23052 @r=`${PWD_COMMAND}`; export r; \
23053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23054 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23055 $(HOST_EXPORTS) \
23056 $(POSTSTAGE1_HOST_EXPORTS) \
23057 cd $(HOST_SUBDIR)/intl && \
23058 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23059 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23060 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
23061 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23062 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23063 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23064 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23065 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23066 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23067 $(TARGET-stagefeedback-intl)
23069 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
23070 clean-stagefeedback: clean-stagefeedback-intl
23071 clean-stagefeedback-intl:
23072 @if [ $(current_stage) = stagefeedback ]; then \
23073 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23074 else \
23075 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
23076 $(MAKE) stagefeedback-start; \
23077 fi; \
23078 cd $(HOST_SUBDIR)/intl && \
23079 $(MAKE) $(EXTRA_HOST_FLAGS) \
23080 $(POSTSTAGE1_FLAGS_TO_PASS) \
23081 clean
23082 @endif intl-bootstrap
23088 .PHONY: check-intl maybe-check-intl
23089 maybe-check-intl:
23090 @if intl
23091 maybe-check-intl: check-intl
23093 check-intl:
23094 @: $(MAKE); $(unstage)
23095 @r=`${PWD_COMMAND}`; export r; \
23096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23097 $(HOST_EXPORTS) \
23098 (cd $(HOST_SUBDIR)/intl && \
23099 $(MAKE) $(FLAGS_TO_PASS) check)
23101 @endif intl
23103 .PHONY: install-intl maybe-install-intl
23104 maybe-install-intl:
23105 @if intl
23106 maybe-install-intl: install-intl
23108 install-intl: installdirs
23109 @: $(MAKE); $(unstage)
23110 @r=`${PWD_COMMAND}`; export r; \
23111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23112 $(HOST_EXPORTS) \
23113 (cd $(HOST_SUBDIR)/intl && \
23114 $(MAKE) $(FLAGS_TO_PASS) install)
23116 @endif intl
23118 # Other targets (info, dvi, pdf, etc.)
23120 .PHONY: maybe-info-intl info-intl
23121 maybe-info-intl:
23122 @if intl
23123 maybe-info-intl: info-intl
23125 info-intl: \
23126 configure-intl
23127 @[ -f ./intl/Makefile ] || exit 0; \
23128 r=`${PWD_COMMAND}`; export r; \
23129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23130 $(HOST_EXPORTS) \
23131 for flag in $(EXTRA_HOST_FLAGS) ; do \
23132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23133 done; \
23134 echo "Doing info in intl" ; \
23135 (cd $(HOST_SUBDIR)/intl && \
23136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23138 "RANLIB=$${RANLIB}" \
23139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23140 info) \
23141 || exit 1
23143 @endif intl
23145 .PHONY: maybe-dvi-intl dvi-intl
23146 maybe-dvi-intl:
23147 @if intl
23148 maybe-dvi-intl: dvi-intl
23150 dvi-intl: \
23151 configure-intl
23152 @[ -f ./intl/Makefile ] || exit 0; \
23153 r=`${PWD_COMMAND}`; export r; \
23154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23155 $(HOST_EXPORTS) \
23156 for flag in $(EXTRA_HOST_FLAGS) ; do \
23157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23158 done; \
23159 echo "Doing dvi in intl" ; \
23160 (cd $(HOST_SUBDIR)/intl && \
23161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23163 "RANLIB=$${RANLIB}" \
23164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23165 dvi) \
23166 || exit 1
23168 @endif intl
23170 .PHONY: maybe-pdf-intl pdf-intl
23171 maybe-pdf-intl:
23172 @if intl
23173 maybe-pdf-intl: pdf-intl
23175 pdf-intl: \
23176 configure-intl
23177 @[ -f ./intl/Makefile ] || exit 0; \
23178 r=`${PWD_COMMAND}`; export r; \
23179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23180 $(HOST_EXPORTS) \
23181 for flag in $(EXTRA_HOST_FLAGS) ; do \
23182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23183 done; \
23184 echo "Doing pdf in intl" ; \
23185 (cd $(HOST_SUBDIR)/intl && \
23186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23188 "RANLIB=$${RANLIB}" \
23189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23190 pdf) \
23191 || exit 1
23193 @endif intl
23195 .PHONY: maybe-html-intl html-intl
23196 maybe-html-intl:
23197 @if intl
23198 maybe-html-intl: html-intl
23200 html-intl: \
23201 configure-intl
23202 @[ -f ./intl/Makefile ] || exit 0; \
23203 r=`${PWD_COMMAND}`; export r; \
23204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23205 $(HOST_EXPORTS) \
23206 for flag in $(EXTRA_HOST_FLAGS) ; do \
23207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23208 done; \
23209 echo "Doing html in intl" ; \
23210 (cd $(HOST_SUBDIR)/intl && \
23211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23213 "RANLIB=$${RANLIB}" \
23214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23215 html) \
23216 || exit 1
23218 @endif intl
23220 .PHONY: maybe-TAGS-intl TAGS-intl
23221 maybe-TAGS-intl:
23222 @if intl
23223 maybe-TAGS-intl: TAGS-intl
23225 TAGS-intl: \
23226 configure-intl
23227 @[ -f ./intl/Makefile ] || exit 0; \
23228 r=`${PWD_COMMAND}`; export r; \
23229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23230 $(HOST_EXPORTS) \
23231 for flag in $(EXTRA_HOST_FLAGS) ; do \
23232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23233 done; \
23234 echo "Doing TAGS in intl" ; \
23235 (cd $(HOST_SUBDIR)/intl && \
23236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23238 "RANLIB=$${RANLIB}" \
23239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23240 TAGS) \
23241 || exit 1
23243 @endif intl
23245 .PHONY: maybe-install-info-intl install-info-intl
23246 maybe-install-info-intl:
23247 @if intl
23248 maybe-install-info-intl: install-info-intl
23250 install-info-intl: \
23251 configure-intl \
23252 info-intl
23253 @[ -f ./intl/Makefile ] || exit 0; \
23254 r=`${PWD_COMMAND}`; export r; \
23255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23256 $(HOST_EXPORTS) \
23257 for flag in $(EXTRA_HOST_FLAGS) ; do \
23258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23259 done; \
23260 echo "Doing install-info in intl" ; \
23261 (cd $(HOST_SUBDIR)/intl && \
23262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23264 "RANLIB=$${RANLIB}" \
23265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23266 install-info) \
23267 || exit 1
23269 @endif intl
23271 .PHONY: maybe-install-pdf-intl install-pdf-intl
23272 maybe-install-pdf-intl:
23273 @if intl
23274 maybe-install-pdf-intl: install-pdf-intl
23276 install-pdf-intl: \
23277 configure-intl \
23278 pdf-intl
23279 @[ -f ./intl/Makefile ] || exit 0; \
23280 r=`${PWD_COMMAND}`; export r; \
23281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23282 $(HOST_EXPORTS) \
23283 for flag in $(EXTRA_HOST_FLAGS) ; do \
23284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23285 done; \
23286 echo "Doing install-pdf in intl" ; \
23287 (cd $(HOST_SUBDIR)/intl && \
23288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23290 "RANLIB=$${RANLIB}" \
23291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23292 install-pdf) \
23293 || exit 1
23295 @endif intl
23297 .PHONY: maybe-install-html-intl install-html-intl
23298 maybe-install-html-intl:
23299 @if intl
23300 maybe-install-html-intl: install-html-intl
23302 install-html-intl: \
23303 configure-intl \
23304 html-intl
23305 @[ -f ./intl/Makefile ] || exit 0; \
23306 r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 $(HOST_EXPORTS) \
23309 for flag in $(EXTRA_HOST_FLAGS) ; do \
23310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23311 done; \
23312 echo "Doing install-html in intl" ; \
23313 (cd $(HOST_SUBDIR)/intl && \
23314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23316 "RANLIB=$${RANLIB}" \
23317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23318 install-html) \
23319 || exit 1
23321 @endif intl
23323 .PHONY: maybe-installcheck-intl installcheck-intl
23324 maybe-installcheck-intl:
23325 @if intl
23326 maybe-installcheck-intl: installcheck-intl
23328 installcheck-intl: \
23329 configure-intl
23330 @[ -f ./intl/Makefile ] || exit 0; \
23331 r=`${PWD_COMMAND}`; export r; \
23332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23333 $(HOST_EXPORTS) \
23334 for flag in $(EXTRA_HOST_FLAGS) ; do \
23335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23336 done; \
23337 echo "Doing installcheck in intl" ; \
23338 (cd $(HOST_SUBDIR)/intl && \
23339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23341 "RANLIB=$${RANLIB}" \
23342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23343 installcheck) \
23344 || exit 1
23346 @endif intl
23348 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
23349 maybe-mostlyclean-intl:
23350 @if intl
23351 maybe-mostlyclean-intl: mostlyclean-intl
23353 mostlyclean-intl:
23354 @[ -f ./intl/Makefile ] || exit 0; \
23355 r=`${PWD_COMMAND}`; export r; \
23356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 $(HOST_EXPORTS) \
23358 for flag in $(EXTRA_HOST_FLAGS) ; do \
23359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23360 done; \
23361 echo "Doing mostlyclean in intl" ; \
23362 (cd $(HOST_SUBDIR)/intl && \
23363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23365 "RANLIB=$${RANLIB}" \
23366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23367 mostlyclean) \
23368 || exit 1
23370 @endif intl
23372 .PHONY: maybe-clean-intl clean-intl
23373 maybe-clean-intl:
23374 @if intl
23375 maybe-clean-intl: clean-intl
23377 clean-intl:
23378 @[ -f ./intl/Makefile ] || exit 0; \
23379 r=`${PWD_COMMAND}`; export r; \
23380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23381 $(HOST_EXPORTS) \
23382 for flag in $(EXTRA_HOST_FLAGS) ; do \
23383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23384 done; \
23385 echo "Doing clean in intl" ; \
23386 (cd $(HOST_SUBDIR)/intl && \
23387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23389 "RANLIB=$${RANLIB}" \
23390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23391 clean) \
23392 || exit 1
23394 @endif intl
23396 .PHONY: maybe-distclean-intl distclean-intl
23397 maybe-distclean-intl:
23398 @if intl
23399 maybe-distclean-intl: distclean-intl
23401 distclean-intl:
23402 @[ -f ./intl/Makefile ] || exit 0; \
23403 r=`${PWD_COMMAND}`; export r; \
23404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23405 $(HOST_EXPORTS) \
23406 for flag in $(EXTRA_HOST_FLAGS) ; do \
23407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23408 done; \
23409 echo "Doing distclean in intl" ; \
23410 (cd $(HOST_SUBDIR)/intl && \
23411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23413 "RANLIB=$${RANLIB}" \
23414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23415 distclean) \
23416 || exit 1
23418 @endif intl
23420 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
23421 maybe-maintainer-clean-intl:
23422 @if intl
23423 maybe-maintainer-clean-intl: maintainer-clean-intl
23425 maintainer-clean-intl:
23426 @[ -f ./intl/Makefile ] || exit 0; \
23427 r=`${PWD_COMMAND}`; export r; \
23428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23429 $(HOST_EXPORTS) \
23430 for flag in $(EXTRA_HOST_FLAGS) ; do \
23431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23432 done; \
23433 echo "Doing maintainer-clean in intl" ; \
23434 (cd $(HOST_SUBDIR)/intl && \
23435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23437 "RANLIB=$${RANLIB}" \
23438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23439 maintainer-clean) \
23440 || exit 1
23442 @endif intl
23446 .PHONY: configure-tcl maybe-configure-tcl
23447 maybe-configure-tcl:
23448 @if gcc-bootstrap
23449 configure-tcl: stage_current
23450 @endif gcc-bootstrap
23451 @if tcl
23452 maybe-configure-tcl: configure-tcl
23453 configure-tcl:
23454 @: $(MAKE); $(unstage)
23455 @r=`${PWD_COMMAND}`; export r; \
23456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23457 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
23458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
23459 $(HOST_EXPORTS) \
23460 echo Configuring in $(HOST_SUBDIR)/tcl; \
23461 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
23462 case $(srcdir) in \
23463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23464 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
23465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23466 esac; \
23467 srcdiroption="--srcdir=$${topdir}/tcl"; \
23468 libsrcdir="$$s/tcl"; \
23469 $(SHELL) $${libsrcdir}/configure \
23470 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23471 --target=${target_alias} $${srcdiroption} \
23472 || exit 1
23473 @endif tcl
23479 .PHONY: all-tcl maybe-all-tcl
23480 maybe-all-tcl:
23481 @if gcc-bootstrap
23482 all-tcl: stage_current
23483 @endif gcc-bootstrap
23484 @if tcl
23485 TARGET-tcl=all
23486 maybe-all-tcl: all-tcl
23487 all-tcl: configure-tcl
23488 @: $(MAKE); $(unstage)
23489 @r=`${PWD_COMMAND}`; export r; \
23490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23491 $(HOST_EXPORTS) \
23492 (cd $(HOST_SUBDIR)/tcl && \
23493 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23494 $(TARGET-tcl))
23495 @endif tcl
23500 .PHONY: check-tcl maybe-check-tcl
23501 maybe-check-tcl:
23502 @if tcl
23503 maybe-check-tcl: check-tcl
23505 check-tcl:
23506 @: $(MAKE); $(unstage)
23507 @r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 $(HOST_EXPORTS) \
23510 (cd $(HOST_SUBDIR)/tcl && \
23511 $(MAKE) $(FLAGS_TO_PASS) check)
23513 @endif tcl
23515 .PHONY: install-tcl maybe-install-tcl
23516 maybe-install-tcl:
23517 @if tcl
23518 maybe-install-tcl: install-tcl
23520 install-tcl: installdirs
23521 @: $(MAKE); $(unstage)
23522 @r=`${PWD_COMMAND}`; export r; \
23523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23524 $(HOST_EXPORTS) \
23525 (cd $(HOST_SUBDIR)/tcl && \
23526 $(MAKE) $(FLAGS_TO_PASS) install)
23528 @endif tcl
23530 # Other targets (info, dvi, pdf, etc.)
23532 .PHONY: maybe-info-tcl info-tcl
23533 maybe-info-tcl:
23534 @if tcl
23535 maybe-info-tcl: info-tcl
23537 info-tcl: \
23538 configure-tcl
23539 @: $(MAKE); $(unstage)
23540 @[ -f ./tcl/Makefile ] || exit 0; \
23541 r=`${PWD_COMMAND}`; export r; \
23542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23543 $(HOST_EXPORTS) \
23544 for flag in $(EXTRA_HOST_FLAGS) ; do \
23545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23546 done; \
23547 echo "Doing info in tcl" ; \
23548 (cd $(HOST_SUBDIR)/tcl && \
23549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23551 "RANLIB=$${RANLIB}" \
23552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23553 info) \
23554 || exit 1
23556 @endif tcl
23558 .PHONY: maybe-dvi-tcl dvi-tcl
23559 maybe-dvi-tcl:
23560 @if tcl
23561 maybe-dvi-tcl: dvi-tcl
23563 dvi-tcl: \
23564 configure-tcl
23565 @: $(MAKE); $(unstage)
23566 @[ -f ./tcl/Makefile ] || exit 0; \
23567 r=`${PWD_COMMAND}`; export r; \
23568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23569 $(HOST_EXPORTS) \
23570 for flag in $(EXTRA_HOST_FLAGS) ; do \
23571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23572 done; \
23573 echo "Doing dvi in tcl" ; \
23574 (cd $(HOST_SUBDIR)/tcl && \
23575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23577 "RANLIB=$${RANLIB}" \
23578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23579 dvi) \
23580 || exit 1
23582 @endif tcl
23584 .PHONY: maybe-pdf-tcl pdf-tcl
23585 maybe-pdf-tcl:
23586 @if tcl
23587 maybe-pdf-tcl: pdf-tcl
23589 pdf-tcl: \
23590 configure-tcl
23591 @: $(MAKE); $(unstage)
23592 @[ -f ./tcl/Makefile ] || exit 0; \
23593 r=`${PWD_COMMAND}`; export r; \
23594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23595 $(HOST_EXPORTS) \
23596 for flag in $(EXTRA_HOST_FLAGS) ; do \
23597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23598 done; \
23599 echo "Doing pdf in tcl" ; \
23600 (cd $(HOST_SUBDIR)/tcl && \
23601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23603 "RANLIB=$${RANLIB}" \
23604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23605 pdf) \
23606 || exit 1
23608 @endif tcl
23610 .PHONY: maybe-html-tcl html-tcl
23611 maybe-html-tcl:
23612 @if tcl
23613 maybe-html-tcl: html-tcl
23615 html-tcl: \
23616 configure-tcl
23617 @: $(MAKE); $(unstage)
23618 @[ -f ./tcl/Makefile ] || exit 0; \
23619 r=`${PWD_COMMAND}`; export r; \
23620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23621 $(HOST_EXPORTS) \
23622 for flag in $(EXTRA_HOST_FLAGS) ; do \
23623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23624 done; \
23625 echo "Doing html in tcl" ; \
23626 (cd $(HOST_SUBDIR)/tcl && \
23627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23629 "RANLIB=$${RANLIB}" \
23630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23631 html) \
23632 || exit 1
23634 @endif tcl
23636 .PHONY: maybe-TAGS-tcl TAGS-tcl
23637 maybe-TAGS-tcl:
23638 @if tcl
23639 maybe-TAGS-tcl: TAGS-tcl
23641 TAGS-tcl: \
23642 configure-tcl
23643 @: $(MAKE); $(unstage)
23644 @[ -f ./tcl/Makefile ] || exit 0; \
23645 r=`${PWD_COMMAND}`; export r; \
23646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23647 $(HOST_EXPORTS) \
23648 for flag in $(EXTRA_HOST_FLAGS) ; do \
23649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23650 done; \
23651 echo "Doing TAGS in tcl" ; \
23652 (cd $(HOST_SUBDIR)/tcl && \
23653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23655 "RANLIB=$${RANLIB}" \
23656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23657 TAGS) \
23658 || exit 1
23660 @endif tcl
23662 .PHONY: maybe-install-info-tcl install-info-tcl
23663 maybe-install-info-tcl:
23664 @if tcl
23665 maybe-install-info-tcl: install-info-tcl
23667 install-info-tcl: \
23668 configure-tcl \
23669 info-tcl
23670 @: $(MAKE); $(unstage)
23671 @[ -f ./tcl/Makefile ] || exit 0; \
23672 r=`${PWD_COMMAND}`; export r; \
23673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23674 $(HOST_EXPORTS) \
23675 for flag in $(EXTRA_HOST_FLAGS) ; do \
23676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23677 done; \
23678 echo "Doing install-info in tcl" ; \
23679 (cd $(HOST_SUBDIR)/tcl && \
23680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23682 "RANLIB=$${RANLIB}" \
23683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23684 install-info) \
23685 || exit 1
23687 @endif tcl
23689 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
23690 maybe-install-pdf-tcl:
23691 @if tcl
23692 maybe-install-pdf-tcl: install-pdf-tcl
23694 install-pdf-tcl: \
23695 configure-tcl \
23696 pdf-tcl
23697 @: $(MAKE); $(unstage)
23698 @[ -f ./tcl/Makefile ] || exit 0; \
23699 r=`${PWD_COMMAND}`; export r; \
23700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23701 $(HOST_EXPORTS) \
23702 for flag in $(EXTRA_HOST_FLAGS) ; do \
23703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23704 done; \
23705 echo "Doing install-pdf in tcl" ; \
23706 (cd $(HOST_SUBDIR)/tcl && \
23707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23709 "RANLIB=$${RANLIB}" \
23710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23711 install-pdf) \
23712 || exit 1
23714 @endif tcl
23716 .PHONY: maybe-install-html-tcl install-html-tcl
23717 maybe-install-html-tcl:
23718 @if tcl
23719 maybe-install-html-tcl: install-html-tcl
23721 install-html-tcl: \
23722 configure-tcl \
23723 html-tcl
23724 @: $(MAKE); $(unstage)
23725 @[ -f ./tcl/Makefile ] || exit 0; \
23726 r=`${PWD_COMMAND}`; export r; \
23727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23728 $(HOST_EXPORTS) \
23729 for flag in $(EXTRA_HOST_FLAGS) ; do \
23730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23731 done; \
23732 echo "Doing install-html in tcl" ; \
23733 (cd $(HOST_SUBDIR)/tcl && \
23734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23736 "RANLIB=$${RANLIB}" \
23737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23738 install-html) \
23739 || exit 1
23741 @endif tcl
23743 .PHONY: maybe-installcheck-tcl installcheck-tcl
23744 maybe-installcheck-tcl:
23745 @if tcl
23746 maybe-installcheck-tcl: installcheck-tcl
23748 installcheck-tcl: \
23749 configure-tcl
23750 @: $(MAKE); $(unstage)
23751 @[ -f ./tcl/Makefile ] || exit 0; \
23752 r=`${PWD_COMMAND}`; export r; \
23753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23754 $(HOST_EXPORTS) \
23755 for flag in $(EXTRA_HOST_FLAGS) ; do \
23756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23757 done; \
23758 echo "Doing installcheck in tcl" ; \
23759 (cd $(HOST_SUBDIR)/tcl && \
23760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23762 "RANLIB=$${RANLIB}" \
23763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23764 installcheck) \
23765 || exit 1
23767 @endif tcl
23769 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
23770 maybe-mostlyclean-tcl:
23771 @if tcl
23772 maybe-mostlyclean-tcl: mostlyclean-tcl
23774 # tcl doesn't support mostlyclean.
23775 mostlyclean-tcl:
23777 @endif tcl
23779 .PHONY: maybe-clean-tcl clean-tcl
23780 maybe-clean-tcl:
23781 @if tcl
23782 maybe-clean-tcl: clean-tcl
23784 clean-tcl:
23785 @: $(MAKE); $(unstage)
23786 @[ -f ./tcl/Makefile ] || exit 0; \
23787 r=`${PWD_COMMAND}`; export r; \
23788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23789 $(HOST_EXPORTS) \
23790 for flag in $(EXTRA_HOST_FLAGS) ; do \
23791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23792 done; \
23793 echo "Doing clean in tcl" ; \
23794 (cd $(HOST_SUBDIR)/tcl && \
23795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23797 "RANLIB=$${RANLIB}" \
23798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23799 clean) \
23800 || exit 1
23802 @endif tcl
23804 .PHONY: maybe-distclean-tcl distclean-tcl
23805 maybe-distclean-tcl:
23806 @if tcl
23807 maybe-distclean-tcl: distclean-tcl
23809 distclean-tcl:
23810 @: $(MAKE); $(unstage)
23811 @[ -f ./tcl/Makefile ] || exit 0; \
23812 r=`${PWD_COMMAND}`; export r; \
23813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 $(HOST_EXPORTS) \
23815 for flag in $(EXTRA_HOST_FLAGS) ; do \
23816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23817 done; \
23818 echo "Doing distclean in tcl" ; \
23819 (cd $(HOST_SUBDIR)/tcl && \
23820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23822 "RANLIB=$${RANLIB}" \
23823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23824 distclean) \
23825 || exit 1
23827 @endif tcl
23829 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
23830 maybe-maintainer-clean-tcl:
23831 @if tcl
23832 maybe-maintainer-clean-tcl: maintainer-clean-tcl
23834 maintainer-clean-tcl:
23835 @: $(MAKE); $(unstage)
23836 @[ -f ./tcl/Makefile ] || exit 0; \
23837 r=`${PWD_COMMAND}`; export r; \
23838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23839 $(HOST_EXPORTS) \
23840 for flag in $(EXTRA_HOST_FLAGS) ; do \
23841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23842 done; \
23843 echo "Doing maintainer-clean in tcl" ; \
23844 (cd $(HOST_SUBDIR)/tcl && \
23845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23847 "RANLIB=$${RANLIB}" \
23848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23849 maintainer-clean) \
23850 || exit 1
23852 @endif tcl
23856 .PHONY: configure-itcl maybe-configure-itcl
23857 maybe-configure-itcl:
23858 @if gcc-bootstrap
23859 configure-itcl: stage_current
23860 @endif gcc-bootstrap
23861 @if itcl
23862 maybe-configure-itcl: configure-itcl
23863 configure-itcl:
23864 @: $(MAKE); $(unstage)
23865 @r=`${PWD_COMMAND}`; export r; \
23866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23867 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
23868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
23869 $(HOST_EXPORTS) \
23870 echo Configuring in $(HOST_SUBDIR)/itcl; \
23871 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
23872 case $(srcdir) in \
23873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23874 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
23875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23876 esac; \
23877 srcdiroption="--srcdir=$${topdir}/itcl"; \
23878 libsrcdir="$$s/itcl"; \
23879 $(SHELL) $${libsrcdir}/configure \
23880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23881 --target=${target_alias} $${srcdiroption} \
23882 || exit 1
23883 @endif itcl
23889 .PHONY: all-itcl maybe-all-itcl
23890 maybe-all-itcl:
23891 @if gcc-bootstrap
23892 all-itcl: stage_current
23893 @endif gcc-bootstrap
23894 @if itcl
23895 TARGET-itcl=all
23896 maybe-all-itcl: all-itcl
23897 all-itcl: configure-itcl
23898 @: $(MAKE); $(unstage)
23899 @r=`${PWD_COMMAND}`; export r; \
23900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23901 $(HOST_EXPORTS) \
23902 (cd $(HOST_SUBDIR)/itcl && \
23903 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23904 $(TARGET-itcl))
23905 @endif itcl
23910 .PHONY: check-itcl maybe-check-itcl
23911 maybe-check-itcl:
23912 @if itcl
23913 maybe-check-itcl: check-itcl
23915 check-itcl:
23916 @: $(MAKE); $(unstage)
23917 @r=`${PWD_COMMAND}`; export r; \
23918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23919 $(HOST_EXPORTS) \
23920 (cd $(HOST_SUBDIR)/itcl && \
23921 $(MAKE) $(FLAGS_TO_PASS) check)
23923 @endif itcl
23925 .PHONY: install-itcl maybe-install-itcl
23926 maybe-install-itcl:
23927 @if itcl
23928 maybe-install-itcl: install-itcl
23930 install-itcl: installdirs
23931 @: $(MAKE); $(unstage)
23932 @r=`${PWD_COMMAND}`; export r; \
23933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23934 $(HOST_EXPORTS) \
23935 (cd $(HOST_SUBDIR)/itcl && \
23936 $(MAKE) $(FLAGS_TO_PASS) install)
23938 @endif itcl
23940 # Other targets (info, dvi, pdf, etc.)
23942 .PHONY: maybe-info-itcl info-itcl
23943 maybe-info-itcl:
23944 @if itcl
23945 maybe-info-itcl: info-itcl
23947 info-itcl: \
23948 configure-itcl
23949 @: $(MAKE); $(unstage)
23950 @[ -f ./itcl/Makefile ] || exit 0; \
23951 r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 $(HOST_EXPORTS) \
23954 for flag in $(EXTRA_HOST_FLAGS) ; do \
23955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23956 done; \
23957 echo "Doing info in itcl" ; \
23958 (cd $(HOST_SUBDIR)/itcl && \
23959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23961 "RANLIB=$${RANLIB}" \
23962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23963 info) \
23964 || exit 1
23966 @endif itcl
23968 .PHONY: maybe-dvi-itcl dvi-itcl
23969 maybe-dvi-itcl:
23970 @if itcl
23971 maybe-dvi-itcl: dvi-itcl
23973 dvi-itcl: \
23974 configure-itcl
23975 @: $(MAKE); $(unstage)
23976 @[ -f ./itcl/Makefile ] || exit 0; \
23977 r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(HOST_EXPORTS) \
23980 for flag in $(EXTRA_HOST_FLAGS) ; do \
23981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23982 done; \
23983 echo "Doing dvi in itcl" ; \
23984 (cd $(HOST_SUBDIR)/itcl && \
23985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23987 "RANLIB=$${RANLIB}" \
23988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23989 dvi) \
23990 || exit 1
23992 @endif itcl
23994 .PHONY: maybe-pdf-itcl pdf-itcl
23995 maybe-pdf-itcl:
23996 @if itcl
23997 maybe-pdf-itcl: pdf-itcl
23999 pdf-itcl: \
24000 configure-itcl
24001 @: $(MAKE); $(unstage)
24002 @[ -f ./itcl/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 $(HOST_EXPORTS) \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008 done; \
24009 echo "Doing pdf in itcl" ; \
24010 (cd $(HOST_SUBDIR)/itcl && \
24011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24013 "RANLIB=$${RANLIB}" \
24014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24015 pdf) \
24016 || exit 1
24018 @endif itcl
24020 .PHONY: maybe-html-itcl html-itcl
24021 maybe-html-itcl:
24022 @if itcl
24023 maybe-html-itcl: html-itcl
24025 html-itcl: \
24026 configure-itcl
24027 @: $(MAKE); $(unstage)
24028 @[ -f ./itcl/Makefile ] || exit 0; \
24029 r=`${PWD_COMMAND}`; export r; \
24030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24031 $(HOST_EXPORTS) \
24032 for flag in $(EXTRA_HOST_FLAGS) ; do \
24033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24034 done; \
24035 echo "Doing html in itcl" ; \
24036 (cd $(HOST_SUBDIR)/itcl && \
24037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24039 "RANLIB=$${RANLIB}" \
24040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24041 html) \
24042 || exit 1
24044 @endif itcl
24046 .PHONY: maybe-TAGS-itcl TAGS-itcl
24047 maybe-TAGS-itcl:
24048 @if itcl
24049 maybe-TAGS-itcl: TAGS-itcl
24051 TAGS-itcl: \
24052 configure-itcl
24053 @: $(MAKE); $(unstage)
24054 @[ -f ./itcl/Makefile ] || exit 0; \
24055 r=`${PWD_COMMAND}`; export r; \
24056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24057 $(HOST_EXPORTS) \
24058 for flag in $(EXTRA_HOST_FLAGS) ; do \
24059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24060 done; \
24061 echo "Doing TAGS in itcl" ; \
24062 (cd $(HOST_SUBDIR)/itcl && \
24063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24065 "RANLIB=$${RANLIB}" \
24066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24067 TAGS) \
24068 || exit 1
24070 @endif itcl
24072 .PHONY: maybe-install-info-itcl install-info-itcl
24073 maybe-install-info-itcl:
24074 @if itcl
24075 maybe-install-info-itcl: install-info-itcl
24077 install-info-itcl: \
24078 configure-itcl \
24079 info-itcl
24080 @: $(MAKE); $(unstage)
24081 @[ -f ./itcl/Makefile ] || exit 0; \
24082 r=`${PWD_COMMAND}`; export r; \
24083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24084 $(HOST_EXPORTS) \
24085 for flag in $(EXTRA_HOST_FLAGS) ; do \
24086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24087 done; \
24088 echo "Doing install-info in itcl" ; \
24089 (cd $(HOST_SUBDIR)/itcl && \
24090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24092 "RANLIB=$${RANLIB}" \
24093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24094 install-info) \
24095 || exit 1
24097 @endif itcl
24099 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
24100 maybe-install-pdf-itcl:
24101 @if itcl
24102 maybe-install-pdf-itcl: install-pdf-itcl
24104 install-pdf-itcl: \
24105 configure-itcl \
24106 pdf-itcl
24107 @: $(MAKE); $(unstage)
24108 @[ -f ./itcl/Makefile ] || exit 0; \
24109 r=`${PWD_COMMAND}`; export r; \
24110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24111 $(HOST_EXPORTS) \
24112 for flag in $(EXTRA_HOST_FLAGS) ; do \
24113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24114 done; \
24115 echo "Doing install-pdf in itcl" ; \
24116 (cd $(HOST_SUBDIR)/itcl && \
24117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24119 "RANLIB=$${RANLIB}" \
24120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24121 install-pdf) \
24122 || exit 1
24124 @endif itcl
24126 .PHONY: maybe-install-html-itcl install-html-itcl
24127 maybe-install-html-itcl:
24128 @if itcl
24129 maybe-install-html-itcl: install-html-itcl
24131 install-html-itcl: \
24132 configure-itcl \
24133 html-itcl
24134 @: $(MAKE); $(unstage)
24135 @[ -f ./itcl/Makefile ] || exit 0; \
24136 r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138 $(HOST_EXPORTS) \
24139 for flag in $(EXTRA_HOST_FLAGS) ; do \
24140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24141 done; \
24142 echo "Doing install-html in itcl" ; \
24143 (cd $(HOST_SUBDIR)/itcl && \
24144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24146 "RANLIB=$${RANLIB}" \
24147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24148 install-html) \
24149 || exit 1
24151 @endif itcl
24153 .PHONY: maybe-installcheck-itcl installcheck-itcl
24154 maybe-installcheck-itcl:
24155 @if itcl
24156 maybe-installcheck-itcl: installcheck-itcl
24158 installcheck-itcl: \
24159 configure-itcl
24160 @: $(MAKE); $(unstage)
24161 @[ -f ./itcl/Makefile ] || exit 0; \
24162 r=`${PWD_COMMAND}`; export r; \
24163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24164 $(HOST_EXPORTS) \
24165 for flag in $(EXTRA_HOST_FLAGS) ; do \
24166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24167 done; \
24168 echo "Doing installcheck in itcl" ; \
24169 (cd $(HOST_SUBDIR)/itcl && \
24170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24172 "RANLIB=$${RANLIB}" \
24173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24174 installcheck) \
24175 || exit 1
24177 @endif itcl
24179 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
24180 maybe-mostlyclean-itcl:
24181 @if itcl
24182 maybe-mostlyclean-itcl: mostlyclean-itcl
24184 mostlyclean-itcl:
24185 @: $(MAKE); $(unstage)
24186 @[ -f ./itcl/Makefile ] || exit 0; \
24187 r=`${PWD_COMMAND}`; export r; \
24188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24189 $(HOST_EXPORTS) \
24190 for flag in $(EXTRA_HOST_FLAGS) ; do \
24191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24192 done; \
24193 echo "Doing mostlyclean in itcl" ; \
24194 (cd $(HOST_SUBDIR)/itcl && \
24195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24197 "RANLIB=$${RANLIB}" \
24198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24199 mostlyclean) \
24200 || exit 1
24202 @endif itcl
24204 .PHONY: maybe-clean-itcl clean-itcl
24205 maybe-clean-itcl:
24206 @if itcl
24207 maybe-clean-itcl: clean-itcl
24209 clean-itcl:
24210 @: $(MAKE); $(unstage)
24211 @[ -f ./itcl/Makefile ] || exit 0; \
24212 r=`${PWD_COMMAND}`; export r; \
24213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 $(HOST_EXPORTS) \
24215 for flag in $(EXTRA_HOST_FLAGS) ; do \
24216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24217 done; \
24218 echo "Doing clean in itcl" ; \
24219 (cd $(HOST_SUBDIR)/itcl && \
24220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222 "RANLIB=$${RANLIB}" \
24223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24224 clean) \
24225 || exit 1
24227 @endif itcl
24229 .PHONY: maybe-distclean-itcl distclean-itcl
24230 maybe-distclean-itcl:
24231 @if itcl
24232 maybe-distclean-itcl: distclean-itcl
24234 distclean-itcl:
24235 @: $(MAKE); $(unstage)
24236 @[ -f ./itcl/Makefile ] || exit 0; \
24237 r=`${PWD_COMMAND}`; export r; \
24238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24239 $(HOST_EXPORTS) \
24240 for flag in $(EXTRA_HOST_FLAGS) ; do \
24241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24242 done; \
24243 echo "Doing distclean in itcl" ; \
24244 (cd $(HOST_SUBDIR)/itcl && \
24245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24247 "RANLIB=$${RANLIB}" \
24248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24249 distclean) \
24250 || exit 1
24252 @endif itcl
24254 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
24255 maybe-maintainer-clean-itcl:
24256 @if itcl
24257 maybe-maintainer-clean-itcl: maintainer-clean-itcl
24259 maintainer-clean-itcl:
24260 @: $(MAKE); $(unstage)
24261 @[ -f ./itcl/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing maintainer-clean in itcl" ; \
24269 (cd $(HOST_SUBDIR)/itcl && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24274 maintainer-clean) \
24275 || exit 1
24277 @endif itcl
24281 .PHONY: configure-ld maybe-configure-ld
24282 maybe-configure-ld:
24283 @if gcc-bootstrap
24284 configure-ld: stage_current
24285 @endif gcc-bootstrap
24286 @if ld
24287 maybe-configure-ld: configure-ld
24288 configure-ld:
24289 @r=`${PWD_COMMAND}`; export r; \
24290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24291 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24293 $(HOST_EXPORTS) \
24294 echo Configuring in $(HOST_SUBDIR)/ld; \
24295 cd "$(HOST_SUBDIR)/ld" || exit 1; \
24296 case $(srcdir) in \
24297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24298 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24300 esac; \
24301 srcdiroption="--srcdir=$${topdir}/ld"; \
24302 libsrcdir="$$s/ld"; \
24303 $(SHELL) $${libsrcdir}/configure \
24304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24305 --target=${target_alias} $${srcdiroption} \
24306 || exit 1
24307 @endif ld
24311 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
24312 maybe-configure-stage1-ld:
24313 @if ld-bootstrap
24314 maybe-configure-stage1-ld: configure-stage1-ld
24315 configure-stage1-ld:
24316 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24318 @r=`${PWD_COMMAND}`; export r; \
24319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24320 TFLAGS="$(STAGE1_TFLAGS)"; \
24321 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24322 $(HOST_EXPORTS) \
24323 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24324 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
24325 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24326 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
24327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24328 cd $(HOST_SUBDIR)/ld || exit 1; \
24329 case $(srcdir) in \
24330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24331 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24333 esac; \
24334 srcdiroption="--srcdir=$${topdir}/ld"; \
24335 libsrcdir="$$s/ld"; \
24336 $(SHELL) $${libsrcdir}/configure \
24337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24338 --target=${target_alias} $${srcdiroption} \
24339 $(STAGE1_CONFIGURE_FLAGS)
24340 @endif ld-bootstrap
24342 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
24343 maybe-configure-stage2-ld:
24344 @if ld-bootstrap
24345 maybe-configure-stage2-ld: configure-stage2-ld
24346 configure-stage2-ld:
24347 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24349 @r=`${PWD_COMMAND}`; export r; \
24350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24351 TFLAGS="$(STAGE2_TFLAGS)"; \
24352 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24353 $(HOST_EXPORTS) \
24354 $(POSTSTAGE1_HOST_EXPORTS) \
24355 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24356 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
24357 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24358 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
24359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24360 cd $(HOST_SUBDIR)/ld || exit 1; \
24361 case $(srcdir) in \
24362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24363 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24365 esac; \
24366 srcdiroption="--srcdir=$${topdir}/ld"; \
24367 libsrcdir="$$s/ld"; \
24368 $(SHELL) $${libsrcdir}/configure \
24369 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24370 --target=${target_alias} $${srcdiroption} \
24371 --with-build-libsubdir=$(HOST_SUBDIR) \
24372 $(STAGE2_CONFIGURE_FLAGS)
24373 @endif ld-bootstrap
24375 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
24376 maybe-configure-stage3-ld:
24377 @if ld-bootstrap
24378 maybe-configure-stage3-ld: configure-stage3-ld
24379 configure-stage3-ld:
24380 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24382 @r=`${PWD_COMMAND}`; export r; \
24383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24384 TFLAGS="$(STAGE3_TFLAGS)"; \
24385 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24386 $(HOST_EXPORTS) \
24387 $(POSTSTAGE1_HOST_EXPORTS) \
24388 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24389 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
24390 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24391 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
24392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24393 cd $(HOST_SUBDIR)/ld || exit 1; \
24394 case $(srcdir) in \
24395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24396 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24398 esac; \
24399 srcdiroption="--srcdir=$${topdir}/ld"; \
24400 libsrcdir="$$s/ld"; \
24401 $(SHELL) $${libsrcdir}/configure \
24402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24403 --target=${target_alias} $${srcdiroption} \
24404 --with-build-libsubdir=$(HOST_SUBDIR) \
24405 $(STAGE3_CONFIGURE_FLAGS)
24406 @endif ld-bootstrap
24408 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
24409 maybe-configure-stage4-ld:
24410 @if ld-bootstrap
24411 maybe-configure-stage4-ld: configure-stage4-ld
24412 configure-stage4-ld:
24413 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24415 @r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 TFLAGS="$(STAGE4_TFLAGS)"; \
24418 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24419 $(HOST_EXPORTS) \
24420 $(POSTSTAGE1_HOST_EXPORTS) \
24421 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24422 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
24423 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24424 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
24425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24426 cd $(HOST_SUBDIR)/ld || exit 1; \
24427 case $(srcdir) in \
24428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24429 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24431 esac; \
24432 srcdiroption="--srcdir=$${topdir}/ld"; \
24433 libsrcdir="$$s/ld"; \
24434 $(SHELL) $${libsrcdir}/configure \
24435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24436 --target=${target_alias} $${srcdiroption} \
24437 --with-build-libsubdir=$(HOST_SUBDIR) \
24438 $(STAGE4_CONFIGURE_FLAGS)
24439 @endif ld-bootstrap
24441 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
24442 maybe-configure-stageprofile-ld:
24443 @if ld-bootstrap
24444 maybe-configure-stageprofile-ld: configure-stageprofile-ld
24445 configure-stageprofile-ld:
24446 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24448 @r=`${PWD_COMMAND}`; export r; \
24449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24450 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24451 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24452 $(HOST_EXPORTS) \
24453 $(POSTSTAGE1_HOST_EXPORTS) \
24454 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24455 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
24456 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24457 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
24458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24459 cd $(HOST_SUBDIR)/ld || exit 1; \
24460 case $(srcdir) in \
24461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24462 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24464 esac; \
24465 srcdiroption="--srcdir=$${topdir}/ld"; \
24466 libsrcdir="$$s/ld"; \
24467 $(SHELL) $${libsrcdir}/configure \
24468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24469 --target=${target_alias} $${srcdiroption} \
24470 --with-build-libsubdir=$(HOST_SUBDIR) \
24471 $(STAGEprofile_CONFIGURE_FLAGS)
24472 @endif ld-bootstrap
24474 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
24475 maybe-configure-stagefeedback-ld:
24476 @if ld-bootstrap
24477 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
24478 configure-stagefeedback-ld:
24479 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24480 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24481 @r=`${PWD_COMMAND}`; export r; \
24482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24483 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24484 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24485 $(HOST_EXPORTS) \
24486 $(POSTSTAGE1_HOST_EXPORTS) \
24487 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24488 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
24489 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24490 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
24491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24492 cd $(HOST_SUBDIR)/ld || exit 1; \
24493 case $(srcdir) in \
24494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24495 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24497 esac; \
24498 srcdiroption="--srcdir=$${topdir}/ld"; \
24499 libsrcdir="$$s/ld"; \
24500 $(SHELL) $${libsrcdir}/configure \
24501 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24502 --target=${target_alias} $${srcdiroption} \
24503 --with-build-libsubdir=$(HOST_SUBDIR) \
24504 $(STAGEfeedback_CONFIGURE_FLAGS)
24505 @endif ld-bootstrap
24511 .PHONY: all-ld maybe-all-ld
24512 maybe-all-ld:
24513 @if gcc-bootstrap
24514 all-ld: stage_current
24515 @endif gcc-bootstrap
24516 @if ld
24517 TARGET-ld=all
24518 maybe-all-ld: all-ld
24519 all-ld: configure-ld
24520 @r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 $(HOST_EXPORTS) \
24523 (cd $(HOST_SUBDIR)/ld && \
24524 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24525 $(TARGET-ld))
24526 @endif ld
24530 .PHONY: all-stage1-ld maybe-all-stage1-ld
24531 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
24532 maybe-all-stage1-ld:
24533 maybe-clean-stage1-ld:
24534 @if ld-bootstrap
24535 maybe-all-stage1-ld: all-stage1-ld
24536 all-stage1: all-stage1-ld
24537 TARGET-stage1-ld = $(TARGET-ld)
24538 all-stage1-ld: configure-stage1-ld
24539 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24540 @r=`${PWD_COMMAND}`; export r; \
24541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24542 TFLAGS="$(STAGE1_TFLAGS)"; \
24543 $(HOST_EXPORTS) \
24544 cd $(HOST_SUBDIR)/ld && \
24545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24546 CFLAGS="$(STAGE1_CFLAGS)" \
24547 CXXFLAGS="$(STAGE1_CFLAGS)" \
24548 LIBCFLAGS="$(LIBCFLAGS)" \
24549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24552 $(EXTRA_HOST_FLAGS) \
24553 TFLAGS="$(STAGE1_TFLAGS)" \
24554 $(TARGET-stage1-ld)
24556 maybe-clean-stage1-ld: clean-stage1-ld
24557 clean-stage1: clean-stage1-ld
24558 clean-stage1-ld:
24559 @if [ $(current_stage) = stage1 ]; then \
24560 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
24561 else \
24562 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
24563 $(MAKE) stage1-start; \
24564 fi; \
24565 cd $(HOST_SUBDIR)/ld && \
24566 $(MAKE) $(EXTRA_HOST_FLAGS) \
24567 clean
24568 @endif ld-bootstrap
24571 .PHONY: all-stage2-ld maybe-all-stage2-ld
24572 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
24573 maybe-all-stage2-ld:
24574 maybe-clean-stage2-ld:
24575 @if ld-bootstrap
24576 maybe-all-stage2-ld: all-stage2-ld
24577 all-stage2: all-stage2-ld
24578 TARGET-stage2-ld = $(TARGET-ld)
24579 all-stage2-ld: configure-stage2-ld
24580 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24581 @r=`${PWD_COMMAND}`; export r; \
24582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24583 TFLAGS="$(STAGE2_TFLAGS)"; \
24584 $(HOST_EXPORTS) \
24585 $(POSTSTAGE1_HOST_EXPORTS) \
24586 cd $(HOST_SUBDIR)/ld && \
24587 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24588 CFLAGS="$(STAGE2_CFLAGS)" \
24589 CXXFLAGS="$(STAGE2_CFLAGS)" \
24590 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24591 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24592 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24593 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24594 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24595 TFLAGS="$(STAGE2_TFLAGS)" \
24596 $(TARGET-stage2-ld)
24598 maybe-clean-stage2-ld: clean-stage2-ld
24599 clean-stage2: clean-stage2-ld
24600 clean-stage2-ld:
24601 @if [ $(current_stage) = stage2 ]; then \
24602 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
24603 else \
24604 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
24605 $(MAKE) stage2-start; \
24606 fi; \
24607 cd $(HOST_SUBDIR)/ld && \
24608 $(MAKE) $(EXTRA_HOST_FLAGS) \
24609 $(POSTSTAGE1_FLAGS_TO_PASS) \
24610 clean
24611 @endif ld-bootstrap
24614 .PHONY: all-stage3-ld maybe-all-stage3-ld
24615 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
24616 maybe-all-stage3-ld:
24617 maybe-clean-stage3-ld:
24618 @if ld-bootstrap
24619 maybe-all-stage3-ld: all-stage3-ld
24620 all-stage3: all-stage3-ld
24621 TARGET-stage3-ld = $(TARGET-ld)
24622 all-stage3-ld: configure-stage3-ld
24623 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24624 @r=`${PWD_COMMAND}`; export r; \
24625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24626 TFLAGS="$(STAGE3_TFLAGS)"; \
24627 $(HOST_EXPORTS) \
24628 $(POSTSTAGE1_HOST_EXPORTS) \
24629 cd $(HOST_SUBDIR)/ld && \
24630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24631 CFLAGS="$(STAGE3_CFLAGS)" \
24632 CXXFLAGS="$(STAGE3_CFLAGS)" \
24633 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24637 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24638 TFLAGS="$(STAGE3_TFLAGS)" \
24639 $(TARGET-stage3-ld)
24641 maybe-clean-stage3-ld: clean-stage3-ld
24642 clean-stage3: clean-stage3-ld
24643 clean-stage3-ld:
24644 @if [ $(current_stage) = stage3 ]; then \
24645 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
24646 else \
24647 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
24648 $(MAKE) stage3-start; \
24649 fi; \
24650 cd $(HOST_SUBDIR)/ld && \
24651 $(MAKE) $(EXTRA_HOST_FLAGS) \
24652 $(POSTSTAGE1_FLAGS_TO_PASS) \
24653 clean
24654 @endif ld-bootstrap
24657 .PHONY: all-stage4-ld maybe-all-stage4-ld
24658 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
24659 maybe-all-stage4-ld:
24660 maybe-clean-stage4-ld:
24661 @if ld-bootstrap
24662 maybe-all-stage4-ld: all-stage4-ld
24663 all-stage4: all-stage4-ld
24664 TARGET-stage4-ld = $(TARGET-ld)
24665 all-stage4-ld: configure-stage4-ld
24666 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24667 @r=`${PWD_COMMAND}`; export r; \
24668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24669 TFLAGS="$(STAGE4_TFLAGS)"; \
24670 $(HOST_EXPORTS) \
24671 $(POSTSTAGE1_HOST_EXPORTS) \
24672 cd $(HOST_SUBDIR)/ld && \
24673 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24674 CFLAGS="$(STAGE4_CFLAGS)" \
24675 CXXFLAGS="$(STAGE4_CFLAGS)" \
24676 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24680 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24681 TFLAGS="$(STAGE4_TFLAGS)" \
24682 $(TARGET-stage4-ld)
24684 maybe-clean-stage4-ld: clean-stage4-ld
24685 clean-stage4: clean-stage4-ld
24686 clean-stage4-ld:
24687 @if [ $(current_stage) = stage4 ]; then \
24688 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
24689 else \
24690 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
24691 $(MAKE) stage4-start; \
24692 fi; \
24693 cd $(HOST_SUBDIR)/ld && \
24694 $(MAKE) $(EXTRA_HOST_FLAGS) \
24695 $(POSTSTAGE1_FLAGS_TO_PASS) \
24696 clean
24697 @endif ld-bootstrap
24700 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
24701 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
24702 maybe-all-stageprofile-ld:
24703 maybe-clean-stageprofile-ld:
24704 @if ld-bootstrap
24705 maybe-all-stageprofile-ld: all-stageprofile-ld
24706 all-stageprofile: all-stageprofile-ld
24707 TARGET-stageprofile-ld = $(TARGET-ld)
24708 all-stageprofile-ld: configure-stageprofile-ld
24709 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24710 @r=`${PWD_COMMAND}`; export r; \
24711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24712 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24713 $(HOST_EXPORTS) \
24714 $(POSTSTAGE1_HOST_EXPORTS) \
24715 cd $(HOST_SUBDIR)/ld && \
24716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24717 CFLAGS="$(STAGEprofile_CFLAGS)" \
24718 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
24719 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24723 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24724 TFLAGS="$(STAGEprofile_TFLAGS)" \
24725 $(TARGET-stageprofile-ld)
24727 maybe-clean-stageprofile-ld: clean-stageprofile-ld
24728 clean-stageprofile: clean-stageprofile-ld
24729 clean-stageprofile-ld:
24730 @if [ $(current_stage) = stageprofile ]; then \
24731 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
24732 else \
24733 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
24734 $(MAKE) stageprofile-start; \
24735 fi; \
24736 cd $(HOST_SUBDIR)/ld && \
24737 $(MAKE) $(EXTRA_HOST_FLAGS) \
24738 $(POSTSTAGE1_FLAGS_TO_PASS) \
24739 clean
24740 @endif ld-bootstrap
24743 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
24744 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
24745 maybe-all-stagefeedback-ld:
24746 maybe-clean-stagefeedback-ld:
24747 @if ld-bootstrap
24748 maybe-all-stagefeedback-ld: all-stagefeedback-ld
24749 all-stagefeedback: all-stagefeedback-ld
24750 TARGET-stagefeedback-ld = $(TARGET-ld)
24751 all-stagefeedback-ld: configure-stagefeedback-ld
24752 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24753 @r=`${PWD_COMMAND}`; export r; \
24754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24755 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24756 $(HOST_EXPORTS) \
24757 $(POSTSTAGE1_HOST_EXPORTS) \
24758 cd $(HOST_SUBDIR)/ld && \
24759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24760 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24761 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
24762 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24767 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24768 $(TARGET-stagefeedback-ld)
24770 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
24771 clean-stagefeedback: clean-stagefeedback-ld
24772 clean-stagefeedback-ld:
24773 @if [ $(current_stage) = stagefeedback ]; then \
24774 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
24775 else \
24776 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
24777 $(MAKE) stagefeedback-start; \
24778 fi; \
24779 cd $(HOST_SUBDIR)/ld && \
24780 $(MAKE) $(EXTRA_HOST_FLAGS) \
24781 $(POSTSTAGE1_FLAGS_TO_PASS) \
24782 clean
24783 @endif ld-bootstrap
24789 .PHONY: check-ld maybe-check-ld
24790 maybe-check-ld:
24791 @if ld
24792 maybe-check-ld: check-ld
24794 check-ld:
24795 @: $(MAKE); $(unstage)
24796 @r=`${PWD_COMMAND}`; export r; \
24797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24798 $(HOST_EXPORTS) \
24799 (cd $(HOST_SUBDIR)/ld && \
24800 $(MAKE) $(FLAGS_TO_PASS) check)
24802 @endif ld
24804 .PHONY: install-ld maybe-install-ld
24805 maybe-install-ld:
24806 @if ld
24807 maybe-install-ld: install-ld
24809 install-ld: installdirs
24810 @: $(MAKE); $(unstage)
24811 @r=`${PWD_COMMAND}`; export r; \
24812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24813 $(HOST_EXPORTS) \
24814 (cd $(HOST_SUBDIR)/ld && \
24815 $(MAKE) $(FLAGS_TO_PASS) install)
24817 @endif ld
24819 # Other targets (info, dvi, pdf, etc.)
24821 .PHONY: maybe-info-ld info-ld
24822 maybe-info-ld:
24823 @if ld
24824 maybe-info-ld: info-ld
24826 info-ld: \
24827 configure-ld
24828 @[ -f ./ld/Makefile ] || exit 0; \
24829 r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 $(HOST_EXPORTS) \
24832 for flag in $(EXTRA_HOST_FLAGS) ; do \
24833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24834 done; \
24835 echo "Doing info in ld" ; \
24836 (cd $(HOST_SUBDIR)/ld && \
24837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24839 "RANLIB=$${RANLIB}" \
24840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24841 info) \
24842 || exit 1
24844 @endif ld
24846 .PHONY: maybe-dvi-ld dvi-ld
24847 maybe-dvi-ld:
24848 @if ld
24849 maybe-dvi-ld: dvi-ld
24851 dvi-ld: \
24852 configure-ld
24853 @[ -f ./ld/Makefile ] || exit 0; \
24854 r=`${PWD_COMMAND}`; export r; \
24855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24856 $(HOST_EXPORTS) \
24857 for flag in $(EXTRA_HOST_FLAGS) ; do \
24858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24859 done; \
24860 echo "Doing dvi in ld" ; \
24861 (cd $(HOST_SUBDIR)/ld && \
24862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24864 "RANLIB=$${RANLIB}" \
24865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24866 dvi) \
24867 || exit 1
24869 @endif ld
24871 .PHONY: maybe-pdf-ld pdf-ld
24872 maybe-pdf-ld:
24873 @if ld
24874 maybe-pdf-ld: pdf-ld
24876 pdf-ld: \
24877 configure-ld
24878 @[ -f ./ld/Makefile ] || exit 0; \
24879 r=`${PWD_COMMAND}`; export r; \
24880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24881 $(HOST_EXPORTS) \
24882 for flag in $(EXTRA_HOST_FLAGS) ; do \
24883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24884 done; \
24885 echo "Doing pdf in ld" ; \
24886 (cd $(HOST_SUBDIR)/ld && \
24887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24889 "RANLIB=$${RANLIB}" \
24890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24891 pdf) \
24892 || exit 1
24894 @endif ld
24896 .PHONY: maybe-html-ld html-ld
24897 maybe-html-ld:
24898 @if ld
24899 maybe-html-ld: html-ld
24901 html-ld: \
24902 configure-ld
24903 @[ -f ./ld/Makefile ] || exit 0; \
24904 r=`${PWD_COMMAND}`; export r; \
24905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24906 $(HOST_EXPORTS) \
24907 for flag in $(EXTRA_HOST_FLAGS) ; do \
24908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24909 done; \
24910 echo "Doing html in ld" ; \
24911 (cd $(HOST_SUBDIR)/ld && \
24912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24914 "RANLIB=$${RANLIB}" \
24915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24916 html) \
24917 || exit 1
24919 @endif ld
24921 .PHONY: maybe-TAGS-ld TAGS-ld
24922 maybe-TAGS-ld:
24923 @if ld
24924 maybe-TAGS-ld: TAGS-ld
24926 TAGS-ld: \
24927 configure-ld
24928 @[ -f ./ld/Makefile ] || exit 0; \
24929 r=`${PWD_COMMAND}`; export r; \
24930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24931 $(HOST_EXPORTS) \
24932 for flag in $(EXTRA_HOST_FLAGS) ; do \
24933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24934 done; \
24935 echo "Doing TAGS in ld" ; \
24936 (cd $(HOST_SUBDIR)/ld && \
24937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24939 "RANLIB=$${RANLIB}" \
24940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24941 TAGS) \
24942 || exit 1
24944 @endif ld
24946 .PHONY: maybe-install-info-ld install-info-ld
24947 maybe-install-info-ld:
24948 @if ld
24949 maybe-install-info-ld: install-info-ld
24951 install-info-ld: \
24952 configure-ld \
24953 info-ld
24954 @[ -f ./ld/Makefile ] || exit 0; \
24955 r=`${PWD_COMMAND}`; export r; \
24956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24957 $(HOST_EXPORTS) \
24958 for flag in $(EXTRA_HOST_FLAGS) ; do \
24959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24960 done; \
24961 echo "Doing install-info in ld" ; \
24962 (cd $(HOST_SUBDIR)/ld && \
24963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24965 "RANLIB=$${RANLIB}" \
24966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24967 install-info) \
24968 || exit 1
24970 @endif ld
24972 .PHONY: maybe-install-pdf-ld install-pdf-ld
24973 maybe-install-pdf-ld:
24974 @if ld
24975 maybe-install-pdf-ld: install-pdf-ld
24977 install-pdf-ld: \
24978 configure-ld \
24979 pdf-ld
24980 @[ -f ./ld/Makefile ] || exit 0; \
24981 r=`${PWD_COMMAND}`; export r; \
24982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24983 $(HOST_EXPORTS) \
24984 for flag in $(EXTRA_HOST_FLAGS) ; do \
24985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24986 done; \
24987 echo "Doing install-pdf in ld" ; \
24988 (cd $(HOST_SUBDIR)/ld && \
24989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24991 "RANLIB=$${RANLIB}" \
24992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24993 install-pdf) \
24994 || exit 1
24996 @endif ld
24998 .PHONY: maybe-install-html-ld install-html-ld
24999 maybe-install-html-ld:
25000 @if ld
25001 maybe-install-html-ld: install-html-ld
25003 install-html-ld: \
25004 configure-ld \
25005 html-ld
25006 @[ -f ./ld/Makefile ] || exit 0; \
25007 r=`${PWD_COMMAND}`; export r; \
25008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25009 $(HOST_EXPORTS) \
25010 for flag in $(EXTRA_HOST_FLAGS) ; do \
25011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25012 done; \
25013 echo "Doing install-html in ld" ; \
25014 (cd $(HOST_SUBDIR)/ld && \
25015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25017 "RANLIB=$${RANLIB}" \
25018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25019 install-html) \
25020 || exit 1
25022 @endif ld
25024 .PHONY: maybe-installcheck-ld installcheck-ld
25025 maybe-installcheck-ld:
25026 @if ld
25027 maybe-installcheck-ld: installcheck-ld
25029 installcheck-ld: \
25030 configure-ld
25031 @[ -f ./ld/Makefile ] || exit 0; \
25032 r=`${PWD_COMMAND}`; export r; \
25033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25034 $(HOST_EXPORTS) \
25035 for flag in $(EXTRA_HOST_FLAGS) ; do \
25036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25037 done; \
25038 echo "Doing installcheck in ld" ; \
25039 (cd $(HOST_SUBDIR)/ld && \
25040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25042 "RANLIB=$${RANLIB}" \
25043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25044 installcheck) \
25045 || exit 1
25047 @endif ld
25049 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
25050 maybe-mostlyclean-ld:
25051 @if ld
25052 maybe-mostlyclean-ld: mostlyclean-ld
25054 mostlyclean-ld:
25055 @[ -f ./ld/Makefile ] || exit 0; \
25056 r=`${PWD_COMMAND}`; export r; \
25057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 $(HOST_EXPORTS) \
25059 for flag in $(EXTRA_HOST_FLAGS) ; do \
25060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25061 done; \
25062 echo "Doing mostlyclean in ld" ; \
25063 (cd $(HOST_SUBDIR)/ld && \
25064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25066 "RANLIB=$${RANLIB}" \
25067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25068 mostlyclean) \
25069 || exit 1
25071 @endif ld
25073 .PHONY: maybe-clean-ld clean-ld
25074 maybe-clean-ld:
25075 @if ld
25076 maybe-clean-ld: clean-ld
25078 clean-ld:
25079 @[ -f ./ld/Makefile ] || exit 0; \
25080 r=`${PWD_COMMAND}`; export r; \
25081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25082 $(HOST_EXPORTS) \
25083 for flag in $(EXTRA_HOST_FLAGS) ; do \
25084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25085 done; \
25086 echo "Doing clean in ld" ; \
25087 (cd $(HOST_SUBDIR)/ld && \
25088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25090 "RANLIB=$${RANLIB}" \
25091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25092 clean) \
25093 || exit 1
25095 @endif ld
25097 .PHONY: maybe-distclean-ld distclean-ld
25098 maybe-distclean-ld:
25099 @if ld
25100 maybe-distclean-ld: distclean-ld
25102 distclean-ld:
25103 @[ -f ./ld/Makefile ] || exit 0; \
25104 r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106 $(HOST_EXPORTS) \
25107 for flag in $(EXTRA_HOST_FLAGS) ; do \
25108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25109 done; \
25110 echo "Doing distclean in ld" ; \
25111 (cd $(HOST_SUBDIR)/ld && \
25112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25114 "RANLIB=$${RANLIB}" \
25115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25116 distclean) \
25117 || exit 1
25119 @endif ld
25121 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
25122 maybe-maintainer-clean-ld:
25123 @if ld
25124 maybe-maintainer-clean-ld: maintainer-clean-ld
25126 maintainer-clean-ld:
25127 @[ -f ./ld/Makefile ] || exit 0; \
25128 r=`${PWD_COMMAND}`; export r; \
25129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25130 $(HOST_EXPORTS) \
25131 for flag in $(EXTRA_HOST_FLAGS) ; do \
25132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25133 done; \
25134 echo "Doing maintainer-clean in ld" ; \
25135 (cd $(HOST_SUBDIR)/ld && \
25136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25138 "RANLIB=$${RANLIB}" \
25139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25140 maintainer-clean) \
25141 || exit 1
25143 @endif ld
25147 .PHONY: configure-libcpp maybe-configure-libcpp
25148 maybe-configure-libcpp:
25149 @if gcc-bootstrap
25150 configure-libcpp: stage_current
25151 @endif gcc-bootstrap
25152 @if libcpp
25153 maybe-configure-libcpp: configure-libcpp
25154 configure-libcpp:
25155 @r=`${PWD_COMMAND}`; export r; \
25156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25159 $(HOST_EXPORTS) \
25160 echo Configuring in $(HOST_SUBDIR)/libcpp; \
25161 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
25162 case $(srcdir) in \
25163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25164 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25166 esac; \
25167 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25168 libsrcdir="$$s/libcpp"; \
25169 $(SHELL) $${libsrcdir}/configure \
25170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25171 --target=${target_alias} $${srcdiroption} \
25172 || exit 1
25173 @endif libcpp
25177 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
25178 maybe-configure-stage1-libcpp:
25179 @if libcpp-bootstrap
25180 maybe-configure-stage1-libcpp: configure-stage1-libcpp
25181 configure-stage1-libcpp:
25182 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25183 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25184 @r=`${PWD_COMMAND}`; export r; \
25185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25186 TFLAGS="$(STAGE1_TFLAGS)"; \
25187 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25188 $(HOST_EXPORTS) \
25189 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25190 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
25191 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25192 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
25193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25194 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25195 case $(srcdir) in \
25196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25197 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25199 esac; \
25200 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25201 libsrcdir="$$s/libcpp"; \
25202 $(SHELL) $${libsrcdir}/configure \
25203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25204 --target=${target_alias} $${srcdiroption} \
25205 $(STAGE1_CONFIGURE_FLAGS)
25206 @endif libcpp-bootstrap
25208 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
25209 maybe-configure-stage2-libcpp:
25210 @if libcpp-bootstrap
25211 maybe-configure-stage2-libcpp: configure-stage2-libcpp
25212 configure-stage2-libcpp:
25213 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25215 @r=`${PWD_COMMAND}`; export r; \
25216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25217 TFLAGS="$(STAGE2_TFLAGS)"; \
25218 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25219 $(HOST_EXPORTS) \
25220 $(POSTSTAGE1_HOST_EXPORTS) \
25221 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25222 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
25223 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25224 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
25225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25226 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25227 case $(srcdir) in \
25228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25229 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25231 esac; \
25232 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25233 libsrcdir="$$s/libcpp"; \
25234 $(SHELL) $${libsrcdir}/configure \
25235 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25236 --target=${target_alias} $${srcdiroption} \
25237 --with-build-libsubdir=$(HOST_SUBDIR) \
25238 $(STAGE2_CONFIGURE_FLAGS)
25239 @endif libcpp-bootstrap
25241 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
25242 maybe-configure-stage3-libcpp:
25243 @if libcpp-bootstrap
25244 maybe-configure-stage3-libcpp: configure-stage3-libcpp
25245 configure-stage3-libcpp:
25246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25248 @r=`${PWD_COMMAND}`; export r; \
25249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25250 TFLAGS="$(STAGE3_TFLAGS)"; \
25251 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25252 $(HOST_EXPORTS) \
25253 $(POSTSTAGE1_HOST_EXPORTS) \
25254 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25255 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
25256 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25257 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
25258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25259 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25260 case $(srcdir) in \
25261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25262 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25264 esac; \
25265 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25266 libsrcdir="$$s/libcpp"; \
25267 $(SHELL) $${libsrcdir}/configure \
25268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25269 --target=${target_alias} $${srcdiroption} \
25270 --with-build-libsubdir=$(HOST_SUBDIR) \
25271 $(STAGE3_CONFIGURE_FLAGS)
25272 @endif libcpp-bootstrap
25274 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
25275 maybe-configure-stage4-libcpp:
25276 @if libcpp-bootstrap
25277 maybe-configure-stage4-libcpp: configure-stage4-libcpp
25278 configure-stage4-libcpp:
25279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25280 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25281 @r=`${PWD_COMMAND}`; export r; \
25282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25283 TFLAGS="$(STAGE4_TFLAGS)"; \
25284 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25285 $(HOST_EXPORTS) \
25286 $(POSTSTAGE1_HOST_EXPORTS) \
25287 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25288 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
25289 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25290 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
25291 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25292 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25293 case $(srcdir) in \
25294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25295 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25297 esac; \
25298 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25299 libsrcdir="$$s/libcpp"; \
25300 $(SHELL) $${libsrcdir}/configure \
25301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25302 --target=${target_alias} $${srcdiroption} \
25303 --with-build-libsubdir=$(HOST_SUBDIR) \
25304 $(STAGE4_CONFIGURE_FLAGS)
25305 @endif libcpp-bootstrap
25307 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
25308 maybe-configure-stageprofile-libcpp:
25309 @if libcpp-bootstrap
25310 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
25311 configure-stageprofile-libcpp:
25312 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25313 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25314 @r=`${PWD_COMMAND}`; export r; \
25315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25316 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25317 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25318 $(HOST_EXPORTS) \
25319 $(POSTSTAGE1_HOST_EXPORTS) \
25320 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25321 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
25322 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25323 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
25324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25325 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25326 case $(srcdir) in \
25327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25328 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25330 esac; \
25331 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25332 libsrcdir="$$s/libcpp"; \
25333 $(SHELL) $${libsrcdir}/configure \
25334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25335 --target=${target_alias} $${srcdiroption} \
25336 --with-build-libsubdir=$(HOST_SUBDIR) \
25337 $(STAGEprofile_CONFIGURE_FLAGS)
25338 @endif libcpp-bootstrap
25340 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
25341 maybe-configure-stagefeedback-libcpp:
25342 @if libcpp-bootstrap
25343 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
25344 configure-stagefeedback-libcpp:
25345 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25347 @r=`${PWD_COMMAND}`; export r; \
25348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25350 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25351 $(HOST_EXPORTS) \
25352 $(POSTSTAGE1_HOST_EXPORTS) \
25353 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25354 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
25355 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25356 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
25357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25358 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25359 case $(srcdir) in \
25360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25361 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25363 esac; \
25364 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25365 libsrcdir="$$s/libcpp"; \
25366 $(SHELL) $${libsrcdir}/configure \
25367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25368 --target=${target_alias} $${srcdiroption} \
25369 --with-build-libsubdir=$(HOST_SUBDIR) \
25370 $(STAGEfeedback_CONFIGURE_FLAGS)
25371 @endif libcpp-bootstrap
25377 .PHONY: all-libcpp maybe-all-libcpp
25378 maybe-all-libcpp:
25379 @if gcc-bootstrap
25380 all-libcpp: stage_current
25381 @endif gcc-bootstrap
25382 @if libcpp
25383 TARGET-libcpp=all
25384 maybe-all-libcpp: all-libcpp
25385 all-libcpp: configure-libcpp
25386 @r=`${PWD_COMMAND}`; export r; \
25387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25388 $(HOST_EXPORTS) \
25389 (cd $(HOST_SUBDIR)/libcpp && \
25390 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25391 $(TARGET-libcpp))
25392 @endif libcpp
25396 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
25397 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
25398 maybe-all-stage1-libcpp:
25399 maybe-clean-stage1-libcpp:
25400 @if libcpp-bootstrap
25401 maybe-all-stage1-libcpp: all-stage1-libcpp
25402 all-stage1: all-stage1-libcpp
25403 TARGET-stage1-libcpp = $(TARGET-libcpp)
25404 all-stage1-libcpp: configure-stage1-libcpp
25405 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25406 @r=`${PWD_COMMAND}`; export r; \
25407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25408 TFLAGS="$(STAGE1_TFLAGS)"; \
25409 $(HOST_EXPORTS) \
25410 cd $(HOST_SUBDIR)/libcpp && \
25411 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25412 CFLAGS="$(STAGE1_CFLAGS)" \
25413 CXXFLAGS="$(STAGE1_CFLAGS)" \
25414 LIBCFLAGS="$(LIBCFLAGS)" \
25415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25418 $(EXTRA_HOST_FLAGS) \
25419 TFLAGS="$(STAGE1_TFLAGS)" \
25420 $(TARGET-stage1-libcpp)
25422 maybe-clean-stage1-libcpp: clean-stage1-libcpp
25423 clean-stage1: clean-stage1-libcpp
25424 clean-stage1-libcpp:
25425 @if [ $(current_stage) = stage1 ]; then \
25426 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25427 else \
25428 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
25429 $(MAKE) stage1-start; \
25430 fi; \
25431 cd $(HOST_SUBDIR)/libcpp && \
25432 $(MAKE) $(EXTRA_HOST_FLAGS) \
25433 clean
25434 @endif libcpp-bootstrap
25437 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
25438 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
25439 maybe-all-stage2-libcpp:
25440 maybe-clean-stage2-libcpp:
25441 @if libcpp-bootstrap
25442 maybe-all-stage2-libcpp: all-stage2-libcpp
25443 all-stage2: all-stage2-libcpp
25444 TARGET-stage2-libcpp = $(TARGET-libcpp)
25445 all-stage2-libcpp: configure-stage2-libcpp
25446 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25447 @r=`${PWD_COMMAND}`; export r; \
25448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25449 TFLAGS="$(STAGE2_TFLAGS)"; \
25450 $(HOST_EXPORTS) \
25451 $(POSTSTAGE1_HOST_EXPORTS) \
25452 cd $(HOST_SUBDIR)/libcpp && \
25453 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25454 CFLAGS="$(STAGE2_CFLAGS)" \
25455 CXXFLAGS="$(STAGE2_CFLAGS)" \
25456 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25461 TFLAGS="$(STAGE2_TFLAGS)" \
25462 $(TARGET-stage2-libcpp)
25464 maybe-clean-stage2-libcpp: clean-stage2-libcpp
25465 clean-stage2: clean-stage2-libcpp
25466 clean-stage2-libcpp:
25467 @if [ $(current_stage) = stage2 ]; then \
25468 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25469 else \
25470 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
25471 $(MAKE) stage2-start; \
25472 fi; \
25473 cd $(HOST_SUBDIR)/libcpp && \
25474 $(MAKE) $(EXTRA_HOST_FLAGS) \
25475 $(POSTSTAGE1_FLAGS_TO_PASS) \
25476 clean
25477 @endif libcpp-bootstrap
25480 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
25481 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
25482 maybe-all-stage3-libcpp:
25483 maybe-clean-stage3-libcpp:
25484 @if libcpp-bootstrap
25485 maybe-all-stage3-libcpp: all-stage3-libcpp
25486 all-stage3: all-stage3-libcpp
25487 TARGET-stage3-libcpp = $(TARGET-libcpp)
25488 all-stage3-libcpp: configure-stage3-libcpp
25489 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25490 @r=`${PWD_COMMAND}`; export r; \
25491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25492 TFLAGS="$(STAGE3_TFLAGS)"; \
25493 $(HOST_EXPORTS) \
25494 $(POSTSTAGE1_HOST_EXPORTS) \
25495 cd $(HOST_SUBDIR)/libcpp && \
25496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25497 CFLAGS="$(STAGE3_CFLAGS)" \
25498 CXXFLAGS="$(STAGE3_CFLAGS)" \
25499 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25500 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25501 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25502 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25503 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25504 TFLAGS="$(STAGE3_TFLAGS)" \
25505 $(TARGET-stage3-libcpp)
25507 maybe-clean-stage3-libcpp: clean-stage3-libcpp
25508 clean-stage3: clean-stage3-libcpp
25509 clean-stage3-libcpp:
25510 @if [ $(current_stage) = stage3 ]; then \
25511 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25512 else \
25513 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
25514 $(MAKE) stage3-start; \
25515 fi; \
25516 cd $(HOST_SUBDIR)/libcpp && \
25517 $(MAKE) $(EXTRA_HOST_FLAGS) \
25518 $(POSTSTAGE1_FLAGS_TO_PASS) \
25519 clean
25520 @endif libcpp-bootstrap
25523 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
25524 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
25525 maybe-all-stage4-libcpp:
25526 maybe-clean-stage4-libcpp:
25527 @if libcpp-bootstrap
25528 maybe-all-stage4-libcpp: all-stage4-libcpp
25529 all-stage4: all-stage4-libcpp
25530 TARGET-stage4-libcpp = $(TARGET-libcpp)
25531 all-stage4-libcpp: configure-stage4-libcpp
25532 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25533 @r=`${PWD_COMMAND}`; export r; \
25534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25535 TFLAGS="$(STAGE4_TFLAGS)"; \
25536 $(HOST_EXPORTS) \
25537 $(POSTSTAGE1_HOST_EXPORTS) \
25538 cd $(HOST_SUBDIR)/libcpp && \
25539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25540 CFLAGS="$(STAGE4_CFLAGS)" \
25541 CXXFLAGS="$(STAGE4_CFLAGS)" \
25542 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25543 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25544 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25545 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25546 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25547 TFLAGS="$(STAGE4_TFLAGS)" \
25548 $(TARGET-stage4-libcpp)
25550 maybe-clean-stage4-libcpp: clean-stage4-libcpp
25551 clean-stage4: clean-stage4-libcpp
25552 clean-stage4-libcpp:
25553 @if [ $(current_stage) = stage4 ]; then \
25554 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25555 else \
25556 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
25557 $(MAKE) stage4-start; \
25558 fi; \
25559 cd $(HOST_SUBDIR)/libcpp && \
25560 $(MAKE) $(EXTRA_HOST_FLAGS) \
25561 $(POSTSTAGE1_FLAGS_TO_PASS) \
25562 clean
25563 @endif libcpp-bootstrap
25566 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
25567 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
25568 maybe-all-stageprofile-libcpp:
25569 maybe-clean-stageprofile-libcpp:
25570 @if libcpp-bootstrap
25571 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
25572 all-stageprofile: all-stageprofile-libcpp
25573 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
25574 all-stageprofile-libcpp: configure-stageprofile-libcpp
25575 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25576 @r=`${PWD_COMMAND}`; export r; \
25577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25578 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25579 $(HOST_EXPORTS) \
25580 $(POSTSTAGE1_HOST_EXPORTS) \
25581 cd $(HOST_SUBDIR)/libcpp && \
25582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25583 CFLAGS="$(STAGEprofile_CFLAGS)" \
25584 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
25585 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25590 TFLAGS="$(STAGEprofile_TFLAGS)" \
25591 $(TARGET-stageprofile-libcpp)
25593 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
25594 clean-stageprofile: clean-stageprofile-libcpp
25595 clean-stageprofile-libcpp:
25596 @if [ $(current_stage) = stageprofile ]; then \
25597 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25598 else \
25599 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
25600 $(MAKE) stageprofile-start; \
25601 fi; \
25602 cd $(HOST_SUBDIR)/libcpp && \
25603 $(MAKE) $(EXTRA_HOST_FLAGS) \
25604 $(POSTSTAGE1_FLAGS_TO_PASS) \
25605 clean
25606 @endif libcpp-bootstrap
25609 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
25610 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
25611 maybe-all-stagefeedback-libcpp:
25612 maybe-clean-stagefeedback-libcpp:
25613 @if libcpp-bootstrap
25614 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
25615 all-stagefeedback: all-stagefeedback-libcpp
25616 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
25617 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
25618 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25619 @r=`${PWD_COMMAND}`; export r; \
25620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25621 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25622 $(HOST_EXPORTS) \
25623 $(POSTSTAGE1_HOST_EXPORTS) \
25624 cd $(HOST_SUBDIR)/libcpp && \
25625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25626 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25627 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
25628 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25633 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25634 $(TARGET-stagefeedback-libcpp)
25636 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
25637 clean-stagefeedback: clean-stagefeedback-libcpp
25638 clean-stagefeedback-libcpp:
25639 @if [ $(current_stage) = stagefeedback ]; then \
25640 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25641 else \
25642 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
25643 $(MAKE) stagefeedback-start; \
25644 fi; \
25645 cd $(HOST_SUBDIR)/libcpp && \
25646 $(MAKE) $(EXTRA_HOST_FLAGS) \
25647 $(POSTSTAGE1_FLAGS_TO_PASS) \
25648 clean
25649 @endif libcpp-bootstrap
25655 .PHONY: check-libcpp maybe-check-libcpp
25656 maybe-check-libcpp:
25657 @if libcpp
25658 maybe-check-libcpp: check-libcpp
25660 check-libcpp:
25661 @: $(MAKE); $(unstage)
25662 @r=`${PWD_COMMAND}`; export r; \
25663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25664 $(HOST_EXPORTS) \
25665 (cd $(HOST_SUBDIR)/libcpp && \
25666 $(MAKE) $(FLAGS_TO_PASS) check)
25668 @endif libcpp
25670 .PHONY: install-libcpp maybe-install-libcpp
25671 maybe-install-libcpp:
25672 @if libcpp
25673 maybe-install-libcpp: install-libcpp
25675 install-libcpp: installdirs
25676 @: $(MAKE); $(unstage)
25677 @r=`${PWD_COMMAND}`; export r; \
25678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25679 $(HOST_EXPORTS) \
25680 (cd $(HOST_SUBDIR)/libcpp && \
25681 $(MAKE) $(FLAGS_TO_PASS) install)
25683 @endif libcpp
25685 # Other targets (info, dvi, pdf, etc.)
25687 .PHONY: maybe-info-libcpp info-libcpp
25688 maybe-info-libcpp:
25689 @if libcpp
25690 maybe-info-libcpp: info-libcpp
25692 info-libcpp: \
25693 configure-libcpp
25694 @[ -f ./libcpp/Makefile ] || exit 0; \
25695 r=`${PWD_COMMAND}`; export r; \
25696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25697 $(HOST_EXPORTS) \
25698 for flag in $(EXTRA_HOST_FLAGS) ; do \
25699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25700 done; \
25701 echo "Doing info in libcpp" ; \
25702 (cd $(HOST_SUBDIR)/libcpp && \
25703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25705 "RANLIB=$${RANLIB}" \
25706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25707 info) \
25708 || exit 1
25710 @endif libcpp
25712 .PHONY: maybe-dvi-libcpp dvi-libcpp
25713 maybe-dvi-libcpp:
25714 @if libcpp
25715 maybe-dvi-libcpp: dvi-libcpp
25717 dvi-libcpp: \
25718 configure-libcpp
25719 @[ -f ./libcpp/Makefile ] || exit 0; \
25720 r=`${PWD_COMMAND}`; export r; \
25721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25722 $(HOST_EXPORTS) \
25723 for flag in $(EXTRA_HOST_FLAGS) ; do \
25724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25725 done; \
25726 echo "Doing dvi in libcpp" ; \
25727 (cd $(HOST_SUBDIR)/libcpp && \
25728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25730 "RANLIB=$${RANLIB}" \
25731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25732 dvi) \
25733 || exit 1
25735 @endif libcpp
25737 .PHONY: maybe-pdf-libcpp pdf-libcpp
25738 maybe-pdf-libcpp:
25739 @if libcpp
25740 maybe-pdf-libcpp: pdf-libcpp
25742 pdf-libcpp: \
25743 configure-libcpp
25744 @[ -f ./libcpp/Makefile ] || exit 0; \
25745 r=`${PWD_COMMAND}`; export r; \
25746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25747 $(HOST_EXPORTS) \
25748 for flag in $(EXTRA_HOST_FLAGS) ; do \
25749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25750 done; \
25751 echo "Doing pdf in libcpp" ; \
25752 (cd $(HOST_SUBDIR)/libcpp && \
25753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25755 "RANLIB=$${RANLIB}" \
25756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25757 pdf) \
25758 || exit 1
25760 @endif libcpp
25762 .PHONY: maybe-html-libcpp html-libcpp
25763 maybe-html-libcpp:
25764 @if libcpp
25765 maybe-html-libcpp: html-libcpp
25767 html-libcpp: \
25768 configure-libcpp
25769 @[ -f ./libcpp/Makefile ] || exit 0; \
25770 r=`${PWD_COMMAND}`; export r; \
25771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25772 $(HOST_EXPORTS) \
25773 for flag in $(EXTRA_HOST_FLAGS) ; do \
25774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25775 done; \
25776 echo "Doing html in libcpp" ; \
25777 (cd $(HOST_SUBDIR)/libcpp && \
25778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25780 "RANLIB=$${RANLIB}" \
25781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25782 html) \
25783 || exit 1
25785 @endif libcpp
25787 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
25788 maybe-TAGS-libcpp:
25789 @if libcpp
25790 maybe-TAGS-libcpp: TAGS-libcpp
25792 TAGS-libcpp: \
25793 configure-libcpp
25794 @[ -f ./libcpp/Makefile ] || exit 0; \
25795 r=`${PWD_COMMAND}`; export r; \
25796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25797 $(HOST_EXPORTS) \
25798 for flag in $(EXTRA_HOST_FLAGS) ; do \
25799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25800 done; \
25801 echo "Doing TAGS in libcpp" ; \
25802 (cd $(HOST_SUBDIR)/libcpp && \
25803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25805 "RANLIB=$${RANLIB}" \
25806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25807 TAGS) \
25808 || exit 1
25810 @endif libcpp
25812 .PHONY: maybe-install-info-libcpp install-info-libcpp
25813 maybe-install-info-libcpp:
25814 @if libcpp
25815 maybe-install-info-libcpp: install-info-libcpp
25817 install-info-libcpp: \
25818 configure-libcpp \
25819 info-libcpp
25820 @[ -f ./libcpp/Makefile ] || exit 0; \
25821 r=`${PWD_COMMAND}`; export r; \
25822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25823 $(HOST_EXPORTS) \
25824 for flag in $(EXTRA_HOST_FLAGS) ; do \
25825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25826 done; \
25827 echo "Doing install-info in libcpp" ; \
25828 (cd $(HOST_SUBDIR)/libcpp && \
25829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25831 "RANLIB=$${RANLIB}" \
25832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25833 install-info) \
25834 || exit 1
25836 @endif libcpp
25838 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
25839 maybe-install-pdf-libcpp:
25840 @if libcpp
25841 maybe-install-pdf-libcpp: install-pdf-libcpp
25843 install-pdf-libcpp: \
25844 configure-libcpp \
25845 pdf-libcpp
25846 @[ -f ./libcpp/Makefile ] || exit 0; \
25847 r=`${PWD_COMMAND}`; export r; \
25848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25849 $(HOST_EXPORTS) \
25850 for flag in $(EXTRA_HOST_FLAGS) ; do \
25851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25852 done; \
25853 echo "Doing install-pdf in libcpp" ; \
25854 (cd $(HOST_SUBDIR)/libcpp && \
25855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25857 "RANLIB=$${RANLIB}" \
25858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25859 install-pdf) \
25860 || exit 1
25862 @endif libcpp
25864 .PHONY: maybe-install-html-libcpp install-html-libcpp
25865 maybe-install-html-libcpp:
25866 @if libcpp
25867 maybe-install-html-libcpp: install-html-libcpp
25869 install-html-libcpp: \
25870 configure-libcpp \
25871 html-libcpp
25872 @[ -f ./libcpp/Makefile ] || exit 0; \
25873 r=`${PWD_COMMAND}`; export r; \
25874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25875 $(HOST_EXPORTS) \
25876 for flag in $(EXTRA_HOST_FLAGS) ; do \
25877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25878 done; \
25879 echo "Doing install-html in libcpp" ; \
25880 (cd $(HOST_SUBDIR)/libcpp && \
25881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25883 "RANLIB=$${RANLIB}" \
25884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25885 install-html) \
25886 || exit 1
25888 @endif libcpp
25890 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
25891 maybe-installcheck-libcpp:
25892 @if libcpp
25893 maybe-installcheck-libcpp: installcheck-libcpp
25895 installcheck-libcpp: \
25896 configure-libcpp
25897 @[ -f ./libcpp/Makefile ] || exit 0; \
25898 r=`${PWD_COMMAND}`; export r; \
25899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25900 $(HOST_EXPORTS) \
25901 for flag in $(EXTRA_HOST_FLAGS) ; do \
25902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25903 done; \
25904 echo "Doing installcheck in libcpp" ; \
25905 (cd $(HOST_SUBDIR)/libcpp && \
25906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25908 "RANLIB=$${RANLIB}" \
25909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25910 installcheck) \
25911 || exit 1
25913 @endif libcpp
25915 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
25916 maybe-mostlyclean-libcpp:
25917 @if libcpp
25918 maybe-mostlyclean-libcpp: mostlyclean-libcpp
25920 mostlyclean-libcpp:
25921 @[ -f ./libcpp/Makefile ] || exit 0; \
25922 r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(HOST_EXPORTS) \
25925 for flag in $(EXTRA_HOST_FLAGS) ; do \
25926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25927 done; \
25928 echo "Doing mostlyclean in libcpp" ; \
25929 (cd $(HOST_SUBDIR)/libcpp && \
25930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25932 "RANLIB=$${RANLIB}" \
25933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25934 mostlyclean) \
25935 || exit 1
25937 @endif libcpp
25939 .PHONY: maybe-clean-libcpp clean-libcpp
25940 maybe-clean-libcpp:
25941 @if libcpp
25942 maybe-clean-libcpp: clean-libcpp
25944 clean-libcpp:
25945 @[ -f ./libcpp/Makefile ] || exit 0; \
25946 r=`${PWD_COMMAND}`; export r; \
25947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25948 $(HOST_EXPORTS) \
25949 for flag in $(EXTRA_HOST_FLAGS) ; do \
25950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25951 done; \
25952 echo "Doing clean in libcpp" ; \
25953 (cd $(HOST_SUBDIR)/libcpp && \
25954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25956 "RANLIB=$${RANLIB}" \
25957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25958 clean) \
25959 || exit 1
25961 @endif libcpp
25963 .PHONY: maybe-distclean-libcpp distclean-libcpp
25964 maybe-distclean-libcpp:
25965 @if libcpp
25966 maybe-distclean-libcpp: distclean-libcpp
25968 distclean-libcpp:
25969 @[ -f ./libcpp/Makefile ] || exit 0; \
25970 r=`${PWD_COMMAND}`; export r; \
25971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25972 $(HOST_EXPORTS) \
25973 for flag in $(EXTRA_HOST_FLAGS) ; do \
25974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25975 done; \
25976 echo "Doing distclean in libcpp" ; \
25977 (cd $(HOST_SUBDIR)/libcpp && \
25978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25980 "RANLIB=$${RANLIB}" \
25981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25982 distclean) \
25983 || exit 1
25985 @endif libcpp
25987 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
25988 maybe-maintainer-clean-libcpp:
25989 @if libcpp
25990 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
25992 maintainer-clean-libcpp:
25993 @[ -f ./libcpp/Makefile ] || exit 0; \
25994 r=`${PWD_COMMAND}`; export r; \
25995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25996 $(HOST_EXPORTS) \
25997 for flag in $(EXTRA_HOST_FLAGS) ; do \
25998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25999 done; \
26000 echo "Doing maintainer-clean in libcpp" ; \
26001 (cd $(HOST_SUBDIR)/libcpp && \
26002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26004 "RANLIB=$${RANLIB}" \
26005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26006 maintainer-clean) \
26007 || exit 1
26009 @endif libcpp
26013 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
26014 maybe-configure-libdecnumber:
26015 @if gcc-bootstrap
26016 configure-libdecnumber: stage_current
26017 @endif gcc-bootstrap
26018 @if libdecnumber
26019 maybe-configure-libdecnumber: configure-libdecnumber
26020 configure-libdecnumber:
26021 @r=`${PWD_COMMAND}`; export r; \
26022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26025 $(HOST_EXPORTS) \
26026 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
26027 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
26028 case $(srcdir) in \
26029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26030 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26032 esac; \
26033 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26034 libsrcdir="$$s/libdecnumber"; \
26035 $(SHELL) $${libsrcdir}/configure \
26036 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26037 --target=${target_alias} $${srcdiroption} \
26038 || exit 1
26039 @endif libdecnumber
26043 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
26044 maybe-configure-stage1-libdecnumber:
26045 @if libdecnumber-bootstrap
26046 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
26047 configure-stage1-libdecnumber:
26048 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26050 @r=`${PWD_COMMAND}`; export r; \
26051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26052 TFLAGS="$(STAGE1_TFLAGS)"; \
26053 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26054 $(HOST_EXPORTS) \
26055 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26056 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
26057 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26058 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
26059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26060 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26061 case $(srcdir) in \
26062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26063 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26065 esac; \
26066 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26067 libsrcdir="$$s/libdecnumber"; \
26068 $(SHELL) $${libsrcdir}/configure \
26069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26070 --target=${target_alias} $${srcdiroption} \
26071 $(STAGE1_CONFIGURE_FLAGS)
26072 @endif libdecnumber-bootstrap
26074 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
26075 maybe-configure-stage2-libdecnumber:
26076 @if libdecnumber-bootstrap
26077 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
26078 configure-stage2-libdecnumber:
26079 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26081 @r=`${PWD_COMMAND}`; export r; \
26082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26083 TFLAGS="$(STAGE2_TFLAGS)"; \
26084 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26085 $(HOST_EXPORTS) \
26086 $(POSTSTAGE1_HOST_EXPORTS) \
26087 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26088 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
26089 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26090 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
26091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26092 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26093 case $(srcdir) in \
26094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26095 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26097 esac; \
26098 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26099 libsrcdir="$$s/libdecnumber"; \
26100 $(SHELL) $${libsrcdir}/configure \
26101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26102 --target=${target_alias} $${srcdiroption} \
26103 --with-build-libsubdir=$(HOST_SUBDIR) \
26104 $(STAGE2_CONFIGURE_FLAGS)
26105 @endif libdecnumber-bootstrap
26107 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
26108 maybe-configure-stage3-libdecnumber:
26109 @if libdecnumber-bootstrap
26110 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
26111 configure-stage3-libdecnumber:
26112 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26114 @r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 TFLAGS="$(STAGE3_TFLAGS)"; \
26117 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26118 $(HOST_EXPORTS) \
26119 $(POSTSTAGE1_HOST_EXPORTS) \
26120 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26121 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
26122 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26123 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
26124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26125 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26126 case $(srcdir) in \
26127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26128 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26130 esac; \
26131 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26132 libsrcdir="$$s/libdecnumber"; \
26133 $(SHELL) $${libsrcdir}/configure \
26134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26135 --target=${target_alias} $${srcdiroption} \
26136 --with-build-libsubdir=$(HOST_SUBDIR) \
26137 $(STAGE3_CONFIGURE_FLAGS)
26138 @endif libdecnumber-bootstrap
26140 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
26141 maybe-configure-stage4-libdecnumber:
26142 @if libdecnumber-bootstrap
26143 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
26144 configure-stage4-libdecnumber:
26145 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26147 @r=`${PWD_COMMAND}`; export r; \
26148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26149 TFLAGS="$(STAGE4_TFLAGS)"; \
26150 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26151 $(HOST_EXPORTS) \
26152 $(POSTSTAGE1_HOST_EXPORTS) \
26153 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26154 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
26155 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26156 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
26157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26158 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26159 case $(srcdir) in \
26160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26161 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26163 esac; \
26164 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26165 libsrcdir="$$s/libdecnumber"; \
26166 $(SHELL) $${libsrcdir}/configure \
26167 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26168 --target=${target_alias} $${srcdiroption} \
26169 --with-build-libsubdir=$(HOST_SUBDIR) \
26170 $(STAGE4_CONFIGURE_FLAGS)
26171 @endif libdecnumber-bootstrap
26173 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
26174 maybe-configure-stageprofile-libdecnumber:
26175 @if libdecnumber-bootstrap
26176 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
26177 configure-stageprofile-libdecnumber:
26178 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26180 @r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26183 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26184 $(HOST_EXPORTS) \
26185 $(POSTSTAGE1_HOST_EXPORTS) \
26186 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26187 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
26188 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26189 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
26190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26191 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26192 case $(srcdir) in \
26193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26194 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26196 esac; \
26197 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26198 libsrcdir="$$s/libdecnumber"; \
26199 $(SHELL) $${libsrcdir}/configure \
26200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26201 --target=${target_alias} $${srcdiroption} \
26202 --with-build-libsubdir=$(HOST_SUBDIR) \
26203 $(STAGEprofile_CONFIGURE_FLAGS)
26204 @endif libdecnumber-bootstrap
26206 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
26207 maybe-configure-stagefeedback-libdecnumber:
26208 @if libdecnumber-bootstrap
26209 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
26210 configure-stagefeedback-libdecnumber:
26211 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26213 @r=`${PWD_COMMAND}`; export r; \
26214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26215 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26216 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26217 $(HOST_EXPORTS) \
26218 $(POSTSTAGE1_HOST_EXPORTS) \
26219 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26220 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
26221 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26222 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
26223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26224 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26225 case $(srcdir) in \
26226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26227 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26229 esac; \
26230 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26231 libsrcdir="$$s/libdecnumber"; \
26232 $(SHELL) $${libsrcdir}/configure \
26233 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26234 --target=${target_alias} $${srcdiroption} \
26235 --with-build-libsubdir=$(HOST_SUBDIR) \
26236 $(STAGEfeedback_CONFIGURE_FLAGS)
26237 @endif libdecnumber-bootstrap
26243 .PHONY: all-libdecnumber maybe-all-libdecnumber
26244 maybe-all-libdecnumber:
26245 @if gcc-bootstrap
26246 all-libdecnumber: stage_current
26247 @endif gcc-bootstrap
26248 @if libdecnumber
26249 TARGET-libdecnumber=all
26250 maybe-all-libdecnumber: all-libdecnumber
26251 all-libdecnumber: configure-libdecnumber
26252 @r=`${PWD_COMMAND}`; export r; \
26253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26254 $(HOST_EXPORTS) \
26255 (cd $(HOST_SUBDIR)/libdecnumber && \
26256 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26257 $(TARGET-libdecnumber))
26258 @endif libdecnumber
26262 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
26263 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
26264 maybe-all-stage1-libdecnumber:
26265 maybe-clean-stage1-libdecnumber:
26266 @if libdecnumber-bootstrap
26267 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
26268 all-stage1: all-stage1-libdecnumber
26269 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
26270 all-stage1-libdecnumber: configure-stage1-libdecnumber
26271 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26272 @r=`${PWD_COMMAND}`; export r; \
26273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26274 TFLAGS="$(STAGE1_TFLAGS)"; \
26275 $(HOST_EXPORTS) \
26276 cd $(HOST_SUBDIR)/libdecnumber && \
26277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26278 CFLAGS="$(STAGE1_CFLAGS)" \
26279 CXXFLAGS="$(STAGE1_CFLAGS)" \
26280 LIBCFLAGS="$(LIBCFLAGS)" \
26281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26284 $(EXTRA_HOST_FLAGS) \
26285 TFLAGS="$(STAGE1_TFLAGS)" \
26286 $(TARGET-stage1-libdecnumber)
26288 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
26289 clean-stage1: clean-stage1-libdecnumber
26290 clean-stage1-libdecnumber:
26291 @if [ $(current_stage) = stage1 ]; then \
26292 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26293 else \
26294 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
26295 $(MAKE) stage1-start; \
26296 fi; \
26297 cd $(HOST_SUBDIR)/libdecnumber && \
26298 $(MAKE) $(EXTRA_HOST_FLAGS) \
26299 clean
26300 @endif libdecnumber-bootstrap
26303 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
26304 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
26305 maybe-all-stage2-libdecnumber:
26306 maybe-clean-stage2-libdecnumber:
26307 @if libdecnumber-bootstrap
26308 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
26309 all-stage2: all-stage2-libdecnumber
26310 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
26311 all-stage2-libdecnumber: configure-stage2-libdecnumber
26312 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26313 @r=`${PWD_COMMAND}`; export r; \
26314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26315 TFLAGS="$(STAGE2_TFLAGS)"; \
26316 $(HOST_EXPORTS) \
26317 $(POSTSTAGE1_HOST_EXPORTS) \
26318 cd $(HOST_SUBDIR)/libdecnumber && \
26319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26320 CFLAGS="$(STAGE2_CFLAGS)" \
26321 CXXFLAGS="$(STAGE2_CFLAGS)" \
26322 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26327 TFLAGS="$(STAGE2_TFLAGS)" \
26328 $(TARGET-stage2-libdecnumber)
26330 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
26331 clean-stage2: clean-stage2-libdecnumber
26332 clean-stage2-libdecnumber:
26333 @if [ $(current_stage) = stage2 ]; then \
26334 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26335 else \
26336 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
26337 $(MAKE) stage2-start; \
26338 fi; \
26339 cd $(HOST_SUBDIR)/libdecnumber && \
26340 $(MAKE) $(EXTRA_HOST_FLAGS) \
26341 $(POSTSTAGE1_FLAGS_TO_PASS) \
26342 clean
26343 @endif libdecnumber-bootstrap
26346 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
26347 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
26348 maybe-all-stage3-libdecnumber:
26349 maybe-clean-stage3-libdecnumber:
26350 @if libdecnumber-bootstrap
26351 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
26352 all-stage3: all-stage3-libdecnumber
26353 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
26354 all-stage3-libdecnumber: configure-stage3-libdecnumber
26355 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26356 @r=`${PWD_COMMAND}`; export r; \
26357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 TFLAGS="$(STAGE3_TFLAGS)"; \
26359 $(HOST_EXPORTS) \
26360 $(POSTSTAGE1_HOST_EXPORTS) \
26361 cd $(HOST_SUBDIR)/libdecnumber && \
26362 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26363 CFLAGS="$(STAGE3_CFLAGS)" \
26364 CXXFLAGS="$(STAGE3_CFLAGS)" \
26365 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26369 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26370 TFLAGS="$(STAGE3_TFLAGS)" \
26371 $(TARGET-stage3-libdecnumber)
26373 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
26374 clean-stage3: clean-stage3-libdecnumber
26375 clean-stage3-libdecnumber:
26376 @if [ $(current_stage) = stage3 ]; then \
26377 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26378 else \
26379 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
26380 $(MAKE) stage3-start; \
26381 fi; \
26382 cd $(HOST_SUBDIR)/libdecnumber && \
26383 $(MAKE) $(EXTRA_HOST_FLAGS) \
26384 $(POSTSTAGE1_FLAGS_TO_PASS) \
26385 clean
26386 @endif libdecnumber-bootstrap
26389 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
26390 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
26391 maybe-all-stage4-libdecnumber:
26392 maybe-clean-stage4-libdecnumber:
26393 @if libdecnumber-bootstrap
26394 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
26395 all-stage4: all-stage4-libdecnumber
26396 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
26397 all-stage4-libdecnumber: configure-stage4-libdecnumber
26398 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26399 @r=`${PWD_COMMAND}`; export r; \
26400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26401 TFLAGS="$(STAGE4_TFLAGS)"; \
26402 $(HOST_EXPORTS) \
26403 $(POSTSTAGE1_HOST_EXPORTS) \
26404 cd $(HOST_SUBDIR)/libdecnumber && \
26405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26406 CFLAGS="$(STAGE4_CFLAGS)" \
26407 CXXFLAGS="$(STAGE4_CFLAGS)" \
26408 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26412 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26413 TFLAGS="$(STAGE4_TFLAGS)" \
26414 $(TARGET-stage4-libdecnumber)
26416 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
26417 clean-stage4: clean-stage4-libdecnumber
26418 clean-stage4-libdecnumber:
26419 @if [ $(current_stage) = stage4 ]; then \
26420 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26421 else \
26422 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
26423 $(MAKE) stage4-start; \
26424 fi; \
26425 cd $(HOST_SUBDIR)/libdecnumber && \
26426 $(MAKE) $(EXTRA_HOST_FLAGS) \
26427 $(POSTSTAGE1_FLAGS_TO_PASS) \
26428 clean
26429 @endif libdecnumber-bootstrap
26432 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
26433 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
26434 maybe-all-stageprofile-libdecnumber:
26435 maybe-clean-stageprofile-libdecnumber:
26436 @if libdecnumber-bootstrap
26437 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
26438 all-stageprofile: all-stageprofile-libdecnumber
26439 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
26440 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
26441 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26442 @r=`${PWD_COMMAND}`; export r; \
26443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26444 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26445 $(HOST_EXPORTS) \
26446 $(POSTSTAGE1_HOST_EXPORTS) \
26447 cd $(HOST_SUBDIR)/libdecnumber && \
26448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26449 CFLAGS="$(STAGEprofile_CFLAGS)" \
26450 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
26451 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26456 TFLAGS="$(STAGEprofile_TFLAGS)" \
26457 $(TARGET-stageprofile-libdecnumber)
26459 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
26460 clean-stageprofile: clean-stageprofile-libdecnumber
26461 clean-stageprofile-libdecnumber:
26462 @if [ $(current_stage) = stageprofile ]; then \
26463 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26464 else \
26465 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
26466 $(MAKE) stageprofile-start; \
26467 fi; \
26468 cd $(HOST_SUBDIR)/libdecnumber && \
26469 $(MAKE) $(EXTRA_HOST_FLAGS) \
26470 $(POSTSTAGE1_FLAGS_TO_PASS) \
26471 clean
26472 @endif libdecnumber-bootstrap
26475 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
26476 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
26477 maybe-all-stagefeedback-libdecnumber:
26478 maybe-clean-stagefeedback-libdecnumber:
26479 @if libdecnumber-bootstrap
26480 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
26481 all-stagefeedback: all-stagefeedback-libdecnumber
26482 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
26483 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
26484 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26485 @r=`${PWD_COMMAND}`; export r; \
26486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26487 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26488 $(HOST_EXPORTS) \
26489 $(POSTSTAGE1_HOST_EXPORTS) \
26490 cd $(HOST_SUBDIR)/libdecnumber && \
26491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26492 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26493 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
26494 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26499 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26500 $(TARGET-stagefeedback-libdecnumber)
26502 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
26503 clean-stagefeedback: clean-stagefeedback-libdecnumber
26504 clean-stagefeedback-libdecnumber:
26505 @if [ $(current_stage) = stagefeedback ]; then \
26506 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26507 else \
26508 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
26509 $(MAKE) stagefeedback-start; \
26510 fi; \
26511 cd $(HOST_SUBDIR)/libdecnumber && \
26512 $(MAKE) $(EXTRA_HOST_FLAGS) \
26513 $(POSTSTAGE1_FLAGS_TO_PASS) \
26514 clean
26515 @endif libdecnumber-bootstrap
26521 .PHONY: check-libdecnumber maybe-check-libdecnumber
26522 maybe-check-libdecnumber:
26523 @if libdecnumber
26524 maybe-check-libdecnumber: check-libdecnumber
26526 check-libdecnumber:
26527 @: $(MAKE); $(unstage)
26528 @r=`${PWD_COMMAND}`; export r; \
26529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26530 $(HOST_EXPORTS) \
26531 (cd $(HOST_SUBDIR)/libdecnumber && \
26532 $(MAKE) $(FLAGS_TO_PASS) check)
26534 @endif libdecnumber
26536 .PHONY: install-libdecnumber maybe-install-libdecnumber
26537 maybe-install-libdecnumber:
26538 @if libdecnumber
26539 maybe-install-libdecnumber: install-libdecnumber
26541 install-libdecnumber: installdirs
26542 @: $(MAKE); $(unstage)
26543 @r=`${PWD_COMMAND}`; export r; \
26544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26545 $(HOST_EXPORTS) \
26546 (cd $(HOST_SUBDIR)/libdecnumber && \
26547 $(MAKE) $(FLAGS_TO_PASS) install)
26549 @endif libdecnumber
26551 # Other targets (info, dvi, pdf, etc.)
26553 .PHONY: maybe-info-libdecnumber info-libdecnumber
26554 maybe-info-libdecnumber:
26555 @if libdecnumber
26556 maybe-info-libdecnumber: info-libdecnumber
26558 info-libdecnumber: \
26559 configure-libdecnumber
26560 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26561 r=`${PWD_COMMAND}`; export r; \
26562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26563 $(HOST_EXPORTS) \
26564 for flag in $(EXTRA_HOST_FLAGS) ; do \
26565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26566 done; \
26567 echo "Doing info in libdecnumber" ; \
26568 (cd $(HOST_SUBDIR)/libdecnumber && \
26569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26571 "RANLIB=$${RANLIB}" \
26572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26573 info) \
26574 || exit 1
26576 @endif libdecnumber
26578 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
26579 maybe-dvi-libdecnumber:
26580 @if libdecnumber
26581 maybe-dvi-libdecnumber: dvi-libdecnumber
26583 dvi-libdecnumber: \
26584 configure-libdecnumber
26585 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26586 r=`${PWD_COMMAND}`; export r; \
26587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26588 $(HOST_EXPORTS) \
26589 for flag in $(EXTRA_HOST_FLAGS) ; do \
26590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26591 done; \
26592 echo "Doing dvi in libdecnumber" ; \
26593 (cd $(HOST_SUBDIR)/libdecnumber && \
26594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26596 "RANLIB=$${RANLIB}" \
26597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26598 dvi) \
26599 || exit 1
26601 @endif libdecnumber
26603 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
26604 maybe-pdf-libdecnumber:
26605 @if libdecnumber
26606 maybe-pdf-libdecnumber: pdf-libdecnumber
26608 pdf-libdecnumber: \
26609 configure-libdecnumber
26610 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26611 r=`${PWD_COMMAND}`; export r; \
26612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26613 $(HOST_EXPORTS) \
26614 for flag in $(EXTRA_HOST_FLAGS) ; do \
26615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26616 done; \
26617 echo "Doing pdf in libdecnumber" ; \
26618 (cd $(HOST_SUBDIR)/libdecnumber && \
26619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26621 "RANLIB=$${RANLIB}" \
26622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26623 pdf) \
26624 || exit 1
26626 @endif libdecnumber
26628 .PHONY: maybe-html-libdecnumber html-libdecnumber
26629 maybe-html-libdecnumber:
26630 @if libdecnumber
26631 maybe-html-libdecnumber: html-libdecnumber
26633 html-libdecnumber: \
26634 configure-libdecnumber
26635 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26636 r=`${PWD_COMMAND}`; export r; \
26637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26638 $(HOST_EXPORTS) \
26639 for flag in $(EXTRA_HOST_FLAGS) ; do \
26640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26641 done; \
26642 echo "Doing html in libdecnumber" ; \
26643 (cd $(HOST_SUBDIR)/libdecnumber && \
26644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26646 "RANLIB=$${RANLIB}" \
26647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26648 html) \
26649 || exit 1
26651 @endif libdecnumber
26653 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
26654 maybe-TAGS-libdecnumber:
26655 @if libdecnumber
26656 maybe-TAGS-libdecnumber: TAGS-libdecnumber
26658 TAGS-libdecnumber: \
26659 configure-libdecnumber
26660 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26661 r=`${PWD_COMMAND}`; export r; \
26662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26663 $(HOST_EXPORTS) \
26664 for flag in $(EXTRA_HOST_FLAGS) ; do \
26665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26666 done; \
26667 echo "Doing TAGS in libdecnumber" ; \
26668 (cd $(HOST_SUBDIR)/libdecnumber && \
26669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26671 "RANLIB=$${RANLIB}" \
26672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26673 TAGS) \
26674 || exit 1
26676 @endif libdecnumber
26678 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
26679 maybe-install-info-libdecnumber:
26680 @if libdecnumber
26681 maybe-install-info-libdecnumber: install-info-libdecnumber
26683 install-info-libdecnumber: \
26684 configure-libdecnumber \
26685 info-libdecnumber
26686 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26687 r=`${PWD_COMMAND}`; export r; \
26688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26689 $(HOST_EXPORTS) \
26690 for flag in $(EXTRA_HOST_FLAGS) ; do \
26691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26692 done; \
26693 echo "Doing install-info in libdecnumber" ; \
26694 (cd $(HOST_SUBDIR)/libdecnumber && \
26695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26697 "RANLIB=$${RANLIB}" \
26698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26699 install-info) \
26700 || exit 1
26702 @endif libdecnumber
26704 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
26705 maybe-install-pdf-libdecnumber:
26706 @if libdecnumber
26707 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
26709 install-pdf-libdecnumber: \
26710 configure-libdecnumber \
26711 pdf-libdecnumber
26712 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26713 r=`${PWD_COMMAND}`; export r; \
26714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26715 $(HOST_EXPORTS) \
26716 for flag in $(EXTRA_HOST_FLAGS) ; do \
26717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26718 done; \
26719 echo "Doing install-pdf in libdecnumber" ; \
26720 (cd $(HOST_SUBDIR)/libdecnumber && \
26721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26723 "RANLIB=$${RANLIB}" \
26724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26725 install-pdf) \
26726 || exit 1
26728 @endif libdecnumber
26730 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
26731 maybe-install-html-libdecnumber:
26732 @if libdecnumber
26733 maybe-install-html-libdecnumber: install-html-libdecnumber
26735 install-html-libdecnumber: \
26736 configure-libdecnumber \
26737 html-libdecnumber
26738 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26739 r=`${PWD_COMMAND}`; export r; \
26740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26741 $(HOST_EXPORTS) \
26742 for flag in $(EXTRA_HOST_FLAGS) ; do \
26743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26744 done; \
26745 echo "Doing install-html in libdecnumber" ; \
26746 (cd $(HOST_SUBDIR)/libdecnumber && \
26747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26749 "RANLIB=$${RANLIB}" \
26750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26751 install-html) \
26752 || exit 1
26754 @endif libdecnumber
26756 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
26757 maybe-installcheck-libdecnumber:
26758 @if libdecnumber
26759 maybe-installcheck-libdecnumber: installcheck-libdecnumber
26761 installcheck-libdecnumber: \
26762 configure-libdecnumber
26763 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26764 r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 $(HOST_EXPORTS) \
26767 for flag in $(EXTRA_HOST_FLAGS) ; do \
26768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26769 done; \
26770 echo "Doing installcheck in libdecnumber" ; \
26771 (cd $(HOST_SUBDIR)/libdecnumber && \
26772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26774 "RANLIB=$${RANLIB}" \
26775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26776 installcheck) \
26777 || exit 1
26779 @endif libdecnumber
26781 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
26782 maybe-mostlyclean-libdecnumber:
26783 @if libdecnumber
26784 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
26786 mostlyclean-libdecnumber:
26787 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26788 r=`${PWD_COMMAND}`; export r; \
26789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26790 $(HOST_EXPORTS) \
26791 for flag in $(EXTRA_HOST_FLAGS) ; do \
26792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26793 done; \
26794 echo "Doing mostlyclean in libdecnumber" ; \
26795 (cd $(HOST_SUBDIR)/libdecnumber && \
26796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26798 "RANLIB=$${RANLIB}" \
26799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26800 mostlyclean) \
26801 || exit 1
26803 @endif libdecnumber
26805 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
26806 maybe-clean-libdecnumber:
26807 @if libdecnumber
26808 maybe-clean-libdecnumber: clean-libdecnumber
26810 clean-libdecnumber:
26811 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26814 $(HOST_EXPORTS) \
26815 for flag in $(EXTRA_HOST_FLAGS) ; do \
26816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26817 done; \
26818 echo "Doing clean in libdecnumber" ; \
26819 (cd $(HOST_SUBDIR)/libdecnumber && \
26820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26822 "RANLIB=$${RANLIB}" \
26823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26824 clean) \
26825 || exit 1
26827 @endif libdecnumber
26829 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
26830 maybe-distclean-libdecnumber:
26831 @if libdecnumber
26832 maybe-distclean-libdecnumber: distclean-libdecnumber
26834 distclean-libdecnumber:
26835 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26836 r=`${PWD_COMMAND}`; export r; \
26837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26838 $(HOST_EXPORTS) \
26839 for flag in $(EXTRA_HOST_FLAGS) ; do \
26840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26841 done; \
26842 echo "Doing distclean in libdecnumber" ; \
26843 (cd $(HOST_SUBDIR)/libdecnumber && \
26844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26846 "RANLIB=$${RANLIB}" \
26847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26848 distclean) \
26849 || exit 1
26851 @endif libdecnumber
26853 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
26854 maybe-maintainer-clean-libdecnumber:
26855 @if libdecnumber
26856 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
26858 maintainer-clean-libdecnumber:
26859 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26860 r=`${PWD_COMMAND}`; export r; \
26861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26862 $(HOST_EXPORTS) \
26863 for flag in $(EXTRA_HOST_FLAGS) ; do \
26864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26865 done; \
26866 echo "Doing maintainer-clean in libdecnumber" ; \
26867 (cd $(HOST_SUBDIR)/libdecnumber && \
26868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26870 "RANLIB=$${RANLIB}" \
26871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26872 maintainer-clean) \
26873 || exit 1
26875 @endif libdecnumber
26879 .PHONY: configure-libgui maybe-configure-libgui
26880 maybe-configure-libgui:
26881 @if gcc-bootstrap
26882 configure-libgui: stage_current
26883 @endif gcc-bootstrap
26884 @if libgui
26885 maybe-configure-libgui: configure-libgui
26886 configure-libgui:
26887 @: $(MAKE); $(unstage)
26888 @r=`${PWD_COMMAND}`; export r; \
26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
26891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
26892 $(HOST_EXPORTS) \
26893 echo Configuring in $(HOST_SUBDIR)/libgui; \
26894 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
26895 case $(srcdir) in \
26896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26897 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
26898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26899 esac; \
26900 srcdiroption="--srcdir=$${topdir}/libgui"; \
26901 libsrcdir="$$s/libgui"; \
26902 $(SHELL) $${libsrcdir}/configure \
26903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26904 --target=${target_alias} $${srcdiroption} \
26905 || exit 1
26906 @endif libgui
26912 .PHONY: all-libgui maybe-all-libgui
26913 maybe-all-libgui:
26914 @if gcc-bootstrap
26915 all-libgui: stage_current
26916 @endif gcc-bootstrap
26917 @if libgui
26918 TARGET-libgui=all
26919 maybe-all-libgui: all-libgui
26920 all-libgui: configure-libgui
26921 @: $(MAKE); $(unstage)
26922 @r=`${PWD_COMMAND}`; export r; \
26923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26924 $(HOST_EXPORTS) \
26925 (cd $(HOST_SUBDIR)/libgui && \
26926 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26927 $(TARGET-libgui))
26928 @endif libgui
26933 .PHONY: check-libgui maybe-check-libgui
26934 maybe-check-libgui:
26935 @if libgui
26936 maybe-check-libgui: check-libgui
26938 check-libgui:
26939 @: $(MAKE); $(unstage)
26940 @r=`${PWD_COMMAND}`; export r; \
26941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26942 $(HOST_EXPORTS) \
26943 (cd $(HOST_SUBDIR)/libgui && \
26944 $(MAKE) $(FLAGS_TO_PASS) check)
26946 @endif libgui
26948 .PHONY: install-libgui maybe-install-libgui
26949 maybe-install-libgui:
26950 @if libgui
26951 maybe-install-libgui: install-libgui
26953 install-libgui: installdirs
26954 @: $(MAKE); $(unstage)
26955 @r=`${PWD_COMMAND}`; export r; \
26956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26957 $(HOST_EXPORTS) \
26958 (cd $(HOST_SUBDIR)/libgui && \
26959 $(MAKE) $(FLAGS_TO_PASS) install)
26961 @endif libgui
26963 # Other targets (info, dvi, pdf, etc.)
26965 .PHONY: maybe-info-libgui info-libgui
26966 maybe-info-libgui:
26967 @if libgui
26968 maybe-info-libgui: info-libgui
26970 info-libgui: \
26971 configure-libgui
26972 @: $(MAKE); $(unstage)
26973 @[ -f ./libgui/Makefile ] || exit 0; \
26974 r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 for flag in $(EXTRA_HOST_FLAGS) ; do \
26978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26979 done; \
26980 echo "Doing info in libgui" ; \
26981 (cd $(HOST_SUBDIR)/libgui && \
26982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26984 "RANLIB=$${RANLIB}" \
26985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26986 info) \
26987 || exit 1
26989 @endif libgui
26991 .PHONY: maybe-dvi-libgui dvi-libgui
26992 maybe-dvi-libgui:
26993 @if libgui
26994 maybe-dvi-libgui: dvi-libgui
26996 dvi-libgui: \
26997 configure-libgui
26998 @: $(MAKE); $(unstage)
26999 @[ -f ./libgui/Makefile ] || exit 0; \
27000 r=`${PWD_COMMAND}`; export r; \
27001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27002 $(HOST_EXPORTS) \
27003 for flag in $(EXTRA_HOST_FLAGS) ; do \
27004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27005 done; \
27006 echo "Doing dvi in libgui" ; \
27007 (cd $(HOST_SUBDIR)/libgui && \
27008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27010 "RANLIB=$${RANLIB}" \
27011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27012 dvi) \
27013 || exit 1
27015 @endif libgui
27017 .PHONY: maybe-pdf-libgui pdf-libgui
27018 maybe-pdf-libgui:
27019 @if libgui
27020 maybe-pdf-libgui: pdf-libgui
27022 pdf-libgui: \
27023 configure-libgui
27024 @: $(MAKE); $(unstage)
27025 @[ -f ./libgui/Makefile ] || exit 0; \
27026 r=`${PWD_COMMAND}`; export r; \
27027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27028 $(HOST_EXPORTS) \
27029 for flag in $(EXTRA_HOST_FLAGS) ; do \
27030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27031 done; \
27032 echo "Doing pdf in libgui" ; \
27033 (cd $(HOST_SUBDIR)/libgui && \
27034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27036 "RANLIB=$${RANLIB}" \
27037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27038 pdf) \
27039 || exit 1
27041 @endif libgui
27043 .PHONY: maybe-html-libgui html-libgui
27044 maybe-html-libgui:
27045 @if libgui
27046 maybe-html-libgui: html-libgui
27048 html-libgui: \
27049 configure-libgui
27050 @: $(MAKE); $(unstage)
27051 @[ -f ./libgui/Makefile ] || exit 0; \
27052 r=`${PWD_COMMAND}`; export r; \
27053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27054 $(HOST_EXPORTS) \
27055 for flag in $(EXTRA_HOST_FLAGS) ; do \
27056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 done; \
27058 echo "Doing html in libgui" ; \
27059 (cd $(HOST_SUBDIR)/libgui && \
27060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27062 "RANLIB=$${RANLIB}" \
27063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27064 html) \
27065 || exit 1
27067 @endif libgui
27069 .PHONY: maybe-TAGS-libgui TAGS-libgui
27070 maybe-TAGS-libgui:
27071 @if libgui
27072 maybe-TAGS-libgui: TAGS-libgui
27074 TAGS-libgui: \
27075 configure-libgui
27076 @: $(MAKE); $(unstage)
27077 @[ -f ./libgui/Makefile ] || exit 0; \
27078 r=`${PWD_COMMAND}`; export r; \
27079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27080 $(HOST_EXPORTS) \
27081 for flag in $(EXTRA_HOST_FLAGS) ; do \
27082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27083 done; \
27084 echo "Doing TAGS in libgui" ; \
27085 (cd $(HOST_SUBDIR)/libgui && \
27086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27088 "RANLIB=$${RANLIB}" \
27089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27090 TAGS) \
27091 || exit 1
27093 @endif libgui
27095 .PHONY: maybe-install-info-libgui install-info-libgui
27096 maybe-install-info-libgui:
27097 @if libgui
27098 maybe-install-info-libgui: install-info-libgui
27100 install-info-libgui: \
27101 configure-libgui \
27102 info-libgui
27103 @: $(MAKE); $(unstage)
27104 @[ -f ./libgui/Makefile ] || exit 0; \
27105 r=`${PWD_COMMAND}`; export r; \
27106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27107 $(HOST_EXPORTS) \
27108 for flag in $(EXTRA_HOST_FLAGS) ; do \
27109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27110 done; \
27111 echo "Doing install-info in libgui" ; \
27112 (cd $(HOST_SUBDIR)/libgui && \
27113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27115 "RANLIB=$${RANLIB}" \
27116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27117 install-info) \
27118 || exit 1
27120 @endif libgui
27122 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
27123 maybe-install-pdf-libgui:
27124 @if libgui
27125 maybe-install-pdf-libgui: install-pdf-libgui
27127 install-pdf-libgui: \
27128 configure-libgui \
27129 pdf-libgui
27130 @: $(MAKE); $(unstage)
27131 @[ -f ./libgui/Makefile ] || exit 0; \
27132 r=`${PWD_COMMAND}`; export r; \
27133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27134 $(HOST_EXPORTS) \
27135 for flag in $(EXTRA_HOST_FLAGS) ; do \
27136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27137 done; \
27138 echo "Doing install-pdf in libgui" ; \
27139 (cd $(HOST_SUBDIR)/libgui && \
27140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27142 "RANLIB=$${RANLIB}" \
27143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27144 install-pdf) \
27145 || exit 1
27147 @endif libgui
27149 .PHONY: maybe-install-html-libgui install-html-libgui
27150 maybe-install-html-libgui:
27151 @if libgui
27152 maybe-install-html-libgui: install-html-libgui
27154 install-html-libgui: \
27155 configure-libgui \
27156 html-libgui
27157 @: $(MAKE); $(unstage)
27158 @[ -f ./libgui/Makefile ] || exit 0; \
27159 r=`${PWD_COMMAND}`; export r; \
27160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27161 $(HOST_EXPORTS) \
27162 for flag in $(EXTRA_HOST_FLAGS) ; do \
27163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27164 done; \
27165 echo "Doing install-html in libgui" ; \
27166 (cd $(HOST_SUBDIR)/libgui && \
27167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27169 "RANLIB=$${RANLIB}" \
27170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27171 install-html) \
27172 || exit 1
27174 @endif libgui
27176 .PHONY: maybe-installcheck-libgui installcheck-libgui
27177 maybe-installcheck-libgui:
27178 @if libgui
27179 maybe-installcheck-libgui: installcheck-libgui
27181 installcheck-libgui: \
27182 configure-libgui
27183 @: $(MAKE); $(unstage)
27184 @[ -f ./libgui/Makefile ] || exit 0; \
27185 r=`${PWD_COMMAND}`; export r; \
27186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27187 $(HOST_EXPORTS) \
27188 for flag in $(EXTRA_HOST_FLAGS) ; do \
27189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27190 done; \
27191 echo "Doing installcheck in libgui" ; \
27192 (cd $(HOST_SUBDIR)/libgui && \
27193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27195 "RANLIB=$${RANLIB}" \
27196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27197 installcheck) \
27198 || exit 1
27200 @endif libgui
27202 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
27203 maybe-mostlyclean-libgui:
27204 @if libgui
27205 maybe-mostlyclean-libgui: mostlyclean-libgui
27207 mostlyclean-libgui:
27208 @: $(MAKE); $(unstage)
27209 @[ -f ./libgui/Makefile ] || exit 0; \
27210 r=`${PWD_COMMAND}`; export r; \
27211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27212 $(HOST_EXPORTS) \
27213 for flag in $(EXTRA_HOST_FLAGS) ; do \
27214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27215 done; \
27216 echo "Doing mostlyclean in libgui" ; \
27217 (cd $(HOST_SUBDIR)/libgui && \
27218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27220 "RANLIB=$${RANLIB}" \
27221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27222 mostlyclean) \
27223 || exit 1
27225 @endif libgui
27227 .PHONY: maybe-clean-libgui clean-libgui
27228 maybe-clean-libgui:
27229 @if libgui
27230 maybe-clean-libgui: clean-libgui
27232 clean-libgui:
27233 @: $(MAKE); $(unstage)
27234 @[ -f ./libgui/Makefile ] || exit 0; \
27235 r=`${PWD_COMMAND}`; export r; \
27236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27237 $(HOST_EXPORTS) \
27238 for flag in $(EXTRA_HOST_FLAGS) ; do \
27239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27240 done; \
27241 echo "Doing clean in libgui" ; \
27242 (cd $(HOST_SUBDIR)/libgui && \
27243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27245 "RANLIB=$${RANLIB}" \
27246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27247 clean) \
27248 || exit 1
27250 @endif libgui
27252 .PHONY: maybe-distclean-libgui distclean-libgui
27253 maybe-distclean-libgui:
27254 @if libgui
27255 maybe-distclean-libgui: distclean-libgui
27257 distclean-libgui:
27258 @: $(MAKE); $(unstage)
27259 @[ -f ./libgui/Makefile ] || exit 0; \
27260 r=`${PWD_COMMAND}`; export r; \
27261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27262 $(HOST_EXPORTS) \
27263 for flag in $(EXTRA_HOST_FLAGS) ; do \
27264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27265 done; \
27266 echo "Doing distclean in libgui" ; \
27267 (cd $(HOST_SUBDIR)/libgui && \
27268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27270 "RANLIB=$${RANLIB}" \
27271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27272 distclean) \
27273 || exit 1
27275 @endif libgui
27277 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
27278 maybe-maintainer-clean-libgui:
27279 @if libgui
27280 maybe-maintainer-clean-libgui: maintainer-clean-libgui
27282 maintainer-clean-libgui:
27283 @: $(MAKE); $(unstage)
27284 @[ -f ./libgui/Makefile ] || exit 0; \
27285 r=`${PWD_COMMAND}`; export r; \
27286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27287 $(HOST_EXPORTS) \
27288 for flag in $(EXTRA_HOST_FLAGS) ; do \
27289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27290 done; \
27291 echo "Doing maintainer-clean in libgui" ; \
27292 (cd $(HOST_SUBDIR)/libgui && \
27293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27295 "RANLIB=$${RANLIB}" \
27296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27297 maintainer-clean) \
27298 || exit 1
27300 @endif libgui
27304 .PHONY: configure-libiberty maybe-configure-libiberty
27305 maybe-configure-libiberty:
27306 @if gcc-bootstrap
27307 configure-libiberty: stage_current
27308 @endif gcc-bootstrap
27309 @if libiberty
27310 maybe-configure-libiberty: configure-libiberty
27311 configure-libiberty:
27312 @r=`${PWD_COMMAND}`; export r; \
27313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27314 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
27316 $(HOST_EXPORTS) \
27317 echo Configuring in $(HOST_SUBDIR)/libiberty; \
27318 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
27319 case $(srcdir) in \
27320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27321 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27323 esac; \
27324 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27325 libsrcdir="$$s/libiberty"; \
27326 $(SHELL) $${libsrcdir}/configure \
27327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27328 --target=${target_alias} $${srcdiroption} \
27329 || exit 1
27330 @endif libiberty
27334 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
27335 maybe-configure-stage1-libiberty:
27336 @if libiberty-bootstrap
27337 maybe-configure-stage1-libiberty: configure-stage1-libiberty
27338 configure-stage1-libiberty:
27339 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27341 @r=`${PWD_COMMAND}`; export r; \
27342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27343 TFLAGS="$(STAGE1_TFLAGS)"; \
27344 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27345 $(HOST_EXPORTS) \
27346 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27347 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
27348 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27349 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
27350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
27351 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27352 case $(srcdir) in \
27353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27354 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27356 esac; \
27357 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27358 libsrcdir="$$s/libiberty"; \
27359 $(SHELL) $${libsrcdir}/configure \
27360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27361 --target=${target_alias} $${srcdiroption} \
27362 $(STAGE1_CONFIGURE_FLAGS)
27363 @endif libiberty-bootstrap
27365 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
27366 maybe-configure-stage2-libiberty:
27367 @if libiberty-bootstrap
27368 maybe-configure-stage2-libiberty: configure-stage2-libiberty
27369 configure-stage2-libiberty:
27370 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27372 @r=`${PWD_COMMAND}`; export r; \
27373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27374 TFLAGS="$(STAGE2_TFLAGS)"; \
27375 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27376 $(HOST_EXPORTS) \
27377 $(POSTSTAGE1_HOST_EXPORTS) \
27378 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27379 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
27380 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27381 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
27382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
27383 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27384 case $(srcdir) in \
27385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27386 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27388 esac; \
27389 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27390 libsrcdir="$$s/libiberty"; \
27391 $(SHELL) $${libsrcdir}/configure \
27392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27393 --target=${target_alias} $${srcdiroption} \
27394 --with-build-libsubdir=$(HOST_SUBDIR) \
27395 $(STAGE2_CONFIGURE_FLAGS)
27396 @endif libiberty-bootstrap
27398 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
27399 maybe-configure-stage3-libiberty:
27400 @if libiberty-bootstrap
27401 maybe-configure-stage3-libiberty: configure-stage3-libiberty
27402 configure-stage3-libiberty:
27403 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27405 @r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 TFLAGS="$(STAGE3_TFLAGS)"; \
27408 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27409 $(HOST_EXPORTS) \
27410 $(POSTSTAGE1_HOST_EXPORTS) \
27411 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27412 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
27413 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27414 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
27415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
27416 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27417 case $(srcdir) in \
27418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27419 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27421 esac; \
27422 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27423 libsrcdir="$$s/libiberty"; \
27424 $(SHELL) $${libsrcdir}/configure \
27425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27426 --target=${target_alias} $${srcdiroption} \
27427 --with-build-libsubdir=$(HOST_SUBDIR) \
27428 $(STAGE3_CONFIGURE_FLAGS)
27429 @endif libiberty-bootstrap
27431 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
27432 maybe-configure-stage4-libiberty:
27433 @if libiberty-bootstrap
27434 maybe-configure-stage4-libiberty: configure-stage4-libiberty
27435 configure-stage4-libiberty:
27436 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27438 @r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 TFLAGS="$(STAGE4_TFLAGS)"; \
27441 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27442 $(HOST_EXPORTS) \
27443 $(POSTSTAGE1_HOST_EXPORTS) \
27444 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27445 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
27446 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27447 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
27448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
27449 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27450 case $(srcdir) in \
27451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27452 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27454 esac; \
27455 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27456 libsrcdir="$$s/libiberty"; \
27457 $(SHELL) $${libsrcdir}/configure \
27458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27459 --target=${target_alias} $${srcdiroption} \
27460 --with-build-libsubdir=$(HOST_SUBDIR) \
27461 $(STAGE4_CONFIGURE_FLAGS)
27462 @endif libiberty-bootstrap
27464 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
27465 maybe-configure-stageprofile-libiberty:
27466 @if libiberty-bootstrap
27467 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
27468 configure-stageprofile-libiberty:
27469 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27471 @r=`${PWD_COMMAND}`; export r; \
27472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27473 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27474 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27475 $(HOST_EXPORTS) \
27476 $(POSTSTAGE1_HOST_EXPORTS) \
27477 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27478 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
27479 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27480 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
27481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
27482 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27483 case $(srcdir) in \
27484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27485 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27487 esac; \
27488 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27489 libsrcdir="$$s/libiberty"; \
27490 $(SHELL) $${libsrcdir}/configure \
27491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27492 --target=${target_alias} $${srcdiroption} \
27493 --with-build-libsubdir=$(HOST_SUBDIR) \
27494 $(STAGEprofile_CONFIGURE_FLAGS)
27495 @endif libiberty-bootstrap
27497 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
27498 maybe-configure-stagefeedback-libiberty:
27499 @if libiberty-bootstrap
27500 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
27501 configure-stagefeedback-libiberty:
27502 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27504 @r=`${PWD_COMMAND}`; export r; \
27505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27506 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27507 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27508 $(HOST_EXPORTS) \
27509 $(POSTSTAGE1_HOST_EXPORTS) \
27510 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27511 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
27512 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27513 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
27514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
27515 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27516 case $(srcdir) in \
27517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27518 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27520 esac; \
27521 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27522 libsrcdir="$$s/libiberty"; \
27523 $(SHELL) $${libsrcdir}/configure \
27524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27525 --target=${target_alias} $${srcdiroption} \
27526 --with-build-libsubdir=$(HOST_SUBDIR) \
27527 $(STAGEfeedback_CONFIGURE_FLAGS)
27528 @endif libiberty-bootstrap
27534 .PHONY: all-libiberty maybe-all-libiberty
27535 maybe-all-libiberty:
27536 @if gcc-bootstrap
27537 all-libiberty: stage_current
27538 @endif gcc-bootstrap
27539 @if libiberty
27540 TARGET-libiberty=all
27541 maybe-all-libiberty: all-libiberty
27542 all-libiberty: configure-libiberty
27543 @r=`${PWD_COMMAND}`; export r; \
27544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27545 $(HOST_EXPORTS) \
27546 (cd $(HOST_SUBDIR)/libiberty && \
27547 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27548 $(TARGET-libiberty))
27549 @endif libiberty
27553 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
27554 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
27555 maybe-all-stage1-libiberty:
27556 maybe-clean-stage1-libiberty:
27557 @if libiberty-bootstrap
27558 maybe-all-stage1-libiberty: all-stage1-libiberty
27559 all-stage1: all-stage1-libiberty
27560 TARGET-stage1-libiberty = $(TARGET-libiberty)
27561 all-stage1-libiberty: configure-stage1-libiberty
27562 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27563 @r=`${PWD_COMMAND}`; export r; \
27564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27565 TFLAGS="$(STAGE1_TFLAGS)"; \
27566 $(HOST_EXPORTS) \
27567 cd $(HOST_SUBDIR)/libiberty && \
27568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27569 CFLAGS="$(STAGE1_CFLAGS)" \
27570 CXXFLAGS="$(STAGE1_CFLAGS)" \
27571 LIBCFLAGS="$(LIBCFLAGS)" \
27572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27575 $(EXTRA_HOST_FLAGS) \
27576 TFLAGS="$(STAGE1_TFLAGS)" \
27577 $(TARGET-stage1-libiberty)
27579 maybe-clean-stage1-libiberty: clean-stage1-libiberty
27580 clean-stage1: clean-stage1-libiberty
27581 clean-stage1-libiberty:
27582 @if [ $(current_stage) = stage1 ]; then \
27583 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27584 else \
27585 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
27586 $(MAKE) stage1-start; \
27587 fi; \
27588 cd $(HOST_SUBDIR)/libiberty && \
27589 $(MAKE) $(EXTRA_HOST_FLAGS) \
27590 clean
27591 @endif libiberty-bootstrap
27594 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
27595 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
27596 maybe-all-stage2-libiberty:
27597 maybe-clean-stage2-libiberty:
27598 @if libiberty-bootstrap
27599 maybe-all-stage2-libiberty: all-stage2-libiberty
27600 all-stage2: all-stage2-libiberty
27601 TARGET-stage2-libiberty = $(TARGET-libiberty)
27602 all-stage2-libiberty: configure-stage2-libiberty
27603 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27604 @r=`${PWD_COMMAND}`; export r; \
27605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27606 TFLAGS="$(STAGE2_TFLAGS)"; \
27607 $(HOST_EXPORTS) \
27608 $(POSTSTAGE1_HOST_EXPORTS) \
27609 cd $(HOST_SUBDIR)/libiberty && \
27610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27611 CFLAGS="$(STAGE2_CFLAGS)" \
27612 CXXFLAGS="$(STAGE2_CFLAGS)" \
27613 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27614 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27617 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27618 TFLAGS="$(STAGE2_TFLAGS)" \
27619 $(TARGET-stage2-libiberty)
27621 maybe-clean-stage2-libiberty: clean-stage2-libiberty
27622 clean-stage2: clean-stage2-libiberty
27623 clean-stage2-libiberty:
27624 @if [ $(current_stage) = stage2 ]; then \
27625 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27626 else \
27627 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
27628 $(MAKE) stage2-start; \
27629 fi; \
27630 cd $(HOST_SUBDIR)/libiberty && \
27631 $(MAKE) $(EXTRA_HOST_FLAGS) \
27632 $(POSTSTAGE1_FLAGS_TO_PASS) \
27633 clean
27634 @endif libiberty-bootstrap
27637 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
27638 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
27639 maybe-all-stage3-libiberty:
27640 maybe-clean-stage3-libiberty:
27641 @if libiberty-bootstrap
27642 maybe-all-stage3-libiberty: all-stage3-libiberty
27643 all-stage3: all-stage3-libiberty
27644 TARGET-stage3-libiberty = $(TARGET-libiberty)
27645 all-stage3-libiberty: configure-stage3-libiberty
27646 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27647 @r=`${PWD_COMMAND}`; export r; \
27648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27649 TFLAGS="$(STAGE3_TFLAGS)"; \
27650 $(HOST_EXPORTS) \
27651 $(POSTSTAGE1_HOST_EXPORTS) \
27652 cd $(HOST_SUBDIR)/libiberty && \
27653 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27654 CFLAGS="$(STAGE3_CFLAGS)" \
27655 CXXFLAGS="$(STAGE3_CFLAGS)" \
27656 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27657 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27658 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27659 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27660 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27661 TFLAGS="$(STAGE3_TFLAGS)" \
27662 $(TARGET-stage3-libiberty)
27664 maybe-clean-stage3-libiberty: clean-stage3-libiberty
27665 clean-stage3: clean-stage3-libiberty
27666 clean-stage3-libiberty:
27667 @if [ $(current_stage) = stage3 ]; then \
27668 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27669 else \
27670 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
27671 $(MAKE) stage3-start; \
27672 fi; \
27673 cd $(HOST_SUBDIR)/libiberty && \
27674 $(MAKE) $(EXTRA_HOST_FLAGS) \
27675 $(POSTSTAGE1_FLAGS_TO_PASS) \
27676 clean
27677 @endif libiberty-bootstrap
27680 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
27681 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
27682 maybe-all-stage4-libiberty:
27683 maybe-clean-stage4-libiberty:
27684 @if libiberty-bootstrap
27685 maybe-all-stage4-libiberty: all-stage4-libiberty
27686 all-stage4: all-stage4-libiberty
27687 TARGET-stage4-libiberty = $(TARGET-libiberty)
27688 all-stage4-libiberty: configure-stage4-libiberty
27689 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27690 @r=`${PWD_COMMAND}`; export r; \
27691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27692 TFLAGS="$(STAGE4_TFLAGS)"; \
27693 $(HOST_EXPORTS) \
27694 $(POSTSTAGE1_HOST_EXPORTS) \
27695 cd $(HOST_SUBDIR)/libiberty && \
27696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27697 CFLAGS="$(STAGE4_CFLAGS)" \
27698 CXXFLAGS="$(STAGE4_CFLAGS)" \
27699 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27703 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27704 TFLAGS="$(STAGE4_TFLAGS)" \
27705 $(TARGET-stage4-libiberty)
27707 maybe-clean-stage4-libiberty: clean-stage4-libiberty
27708 clean-stage4: clean-stage4-libiberty
27709 clean-stage4-libiberty:
27710 @if [ $(current_stage) = stage4 ]; then \
27711 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27712 else \
27713 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
27714 $(MAKE) stage4-start; \
27715 fi; \
27716 cd $(HOST_SUBDIR)/libiberty && \
27717 $(MAKE) $(EXTRA_HOST_FLAGS) \
27718 $(POSTSTAGE1_FLAGS_TO_PASS) \
27719 clean
27720 @endif libiberty-bootstrap
27723 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
27724 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
27725 maybe-all-stageprofile-libiberty:
27726 maybe-clean-stageprofile-libiberty:
27727 @if libiberty-bootstrap
27728 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
27729 all-stageprofile: all-stageprofile-libiberty
27730 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
27731 all-stageprofile-libiberty: configure-stageprofile-libiberty
27732 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27733 @r=`${PWD_COMMAND}`; export r; \
27734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27735 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27736 $(HOST_EXPORTS) \
27737 $(POSTSTAGE1_HOST_EXPORTS) \
27738 cd $(HOST_SUBDIR)/libiberty && \
27739 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27740 CFLAGS="$(STAGEprofile_CFLAGS)" \
27741 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
27742 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27743 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27744 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27745 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27746 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27747 TFLAGS="$(STAGEprofile_TFLAGS)" \
27748 $(TARGET-stageprofile-libiberty)
27750 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
27751 clean-stageprofile: clean-stageprofile-libiberty
27752 clean-stageprofile-libiberty:
27753 @if [ $(current_stage) = stageprofile ]; then \
27754 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27755 else \
27756 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
27757 $(MAKE) stageprofile-start; \
27758 fi; \
27759 cd $(HOST_SUBDIR)/libiberty && \
27760 $(MAKE) $(EXTRA_HOST_FLAGS) \
27761 $(POSTSTAGE1_FLAGS_TO_PASS) \
27762 clean
27763 @endif libiberty-bootstrap
27766 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
27767 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
27768 maybe-all-stagefeedback-libiberty:
27769 maybe-clean-stagefeedback-libiberty:
27770 @if libiberty-bootstrap
27771 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
27772 all-stagefeedback: all-stagefeedback-libiberty
27773 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
27774 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
27775 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27776 @r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27779 $(HOST_EXPORTS) \
27780 $(POSTSTAGE1_HOST_EXPORTS) \
27781 cd $(HOST_SUBDIR)/libiberty && \
27782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27783 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27784 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
27785 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27789 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27790 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27791 $(TARGET-stagefeedback-libiberty)
27793 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
27794 clean-stagefeedback: clean-stagefeedback-libiberty
27795 clean-stagefeedback-libiberty:
27796 @if [ $(current_stage) = stagefeedback ]; then \
27797 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27798 else \
27799 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
27800 $(MAKE) stagefeedback-start; \
27801 fi; \
27802 cd $(HOST_SUBDIR)/libiberty && \
27803 $(MAKE) $(EXTRA_HOST_FLAGS) \
27804 $(POSTSTAGE1_FLAGS_TO_PASS) \
27805 clean
27806 @endif libiberty-bootstrap
27812 .PHONY: check-libiberty maybe-check-libiberty
27813 maybe-check-libiberty:
27814 @if libiberty
27815 maybe-check-libiberty: check-libiberty
27817 check-libiberty:
27818 @: $(MAKE); $(unstage)
27819 @r=`${PWD_COMMAND}`; export r; \
27820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27821 $(HOST_EXPORTS) \
27822 (cd $(HOST_SUBDIR)/libiberty && \
27823 $(MAKE) $(FLAGS_TO_PASS) check)
27825 @endif libiberty
27827 .PHONY: install-libiberty maybe-install-libiberty
27828 maybe-install-libiberty:
27829 @if libiberty
27830 maybe-install-libiberty: install-libiberty
27832 install-libiberty: installdirs
27833 @: $(MAKE); $(unstage)
27834 @r=`${PWD_COMMAND}`; export r; \
27835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27836 $(HOST_EXPORTS) \
27837 (cd $(HOST_SUBDIR)/libiberty && \
27838 $(MAKE) $(FLAGS_TO_PASS) install)
27840 @endif libiberty
27842 # Other targets (info, dvi, pdf, etc.)
27844 .PHONY: maybe-info-libiberty info-libiberty
27845 maybe-info-libiberty:
27846 @if libiberty
27847 maybe-info-libiberty: info-libiberty
27849 info-libiberty: \
27850 configure-libiberty
27851 @[ -f ./libiberty/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(HOST_EXPORTS) \
27855 for flag in $(EXTRA_HOST_FLAGS) ; do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27857 done; \
27858 echo "Doing info in libiberty" ; \
27859 (cd $(HOST_SUBDIR)/libiberty && \
27860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27862 "RANLIB=$${RANLIB}" \
27863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27864 info) \
27865 || exit 1
27867 @endif libiberty
27869 .PHONY: maybe-dvi-libiberty dvi-libiberty
27870 maybe-dvi-libiberty:
27871 @if libiberty
27872 maybe-dvi-libiberty: dvi-libiberty
27874 dvi-libiberty: \
27875 configure-libiberty
27876 @[ -f ./libiberty/Makefile ] || exit 0; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(HOST_EXPORTS) \
27880 for flag in $(EXTRA_HOST_FLAGS) ; do \
27881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27882 done; \
27883 echo "Doing dvi in libiberty" ; \
27884 (cd $(HOST_SUBDIR)/libiberty && \
27885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27887 "RANLIB=$${RANLIB}" \
27888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27889 dvi) \
27890 || exit 1
27892 @endif libiberty
27894 .PHONY: maybe-pdf-libiberty pdf-libiberty
27895 maybe-pdf-libiberty:
27896 @if libiberty
27897 maybe-pdf-libiberty: pdf-libiberty
27899 pdf-libiberty: \
27900 configure-libiberty
27901 @[ -f ./libiberty/Makefile ] || exit 0; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(HOST_EXPORTS) \
27905 for flag in $(EXTRA_HOST_FLAGS) ; do \
27906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27907 done; \
27908 echo "Doing pdf in libiberty" ; \
27909 (cd $(HOST_SUBDIR)/libiberty && \
27910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27912 "RANLIB=$${RANLIB}" \
27913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27914 pdf) \
27915 || exit 1
27917 @endif libiberty
27919 .PHONY: maybe-html-libiberty html-libiberty
27920 maybe-html-libiberty:
27921 @if libiberty
27922 maybe-html-libiberty: html-libiberty
27924 html-libiberty: \
27925 configure-libiberty
27926 @[ -f ./libiberty/Makefile ] || exit 0; \
27927 r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929 $(HOST_EXPORTS) \
27930 for flag in $(EXTRA_HOST_FLAGS) ; do \
27931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27932 done; \
27933 echo "Doing html in libiberty" ; \
27934 (cd $(HOST_SUBDIR)/libiberty && \
27935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27937 "RANLIB=$${RANLIB}" \
27938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27939 html) \
27940 || exit 1
27942 @endif libiberty
27944 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27945 maybe-TAGS-libiberty:
27946 @if libiberty
27947 maybe-TAGS-libiberty: TAGS-libiberty
27949 TAGS-libiberty: \
27950 configure-libiberty
27951 @[ -f ./libiberty/Makefile ] || exit 0; \
27952 r=`${PWD_COMMAND}`; export r; \
27953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27954 $(HOST_EXPORTS) \
27955 for flag in $(EXTRA_HOST_FLAGS) ; do \
27956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27957 done; \
27958 echo "Doing TAGS in libiberty" ; \
27959 (cd $(HOST_SUBDIR)/libiberty && \
27960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27962 "RANLIB=$${RANLIB}" \
27963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27964 TAGS) \
27965 || exit 1
27967 @endif libiberty
27969 .PHONY: maybe-install-info-libiberty install-info-libiberty
27970 maybe-install-info-libiberty:
27971 @if libiberty
27972 maybe-install-info-libiberty: install-info-libiberty
27974 install-info-libiberty: \
27975 configure-libiberty \
27976 info-libiberty
27977 @[ -f ./libiberty/Makefile ] || exit 0; \
27978 r=`${PWD_COMMAND}`; export r; \
27979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27980 $(HOST_EXPORTS) \
27981 for flag in $(EXTRA_HOST_FLAGS) ; do \
27982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27983 done; \
27984 echo "Doing install-info in libiberty" ; \
27985 (cd $(HOST_SUBDIR)/libiberty && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27990 install-info) \
27991 || exit 1
27993 @endif libiberty
27995 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27996 maybe-install-pdf-libiberty:
27997 @if libiberty
27998 maybe-install-pdf-libiberty: install-pdf-libiberty
28000 install-pdf-libiberty: \
28001 configure-libiberty \
28002 pdf-libiberty
28003 @[ -f ./libiberty/Makefile ] || exit 0; \
28004 r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(HOST_EXPORTS) \
28007 for flag in $(EXTRA_HOST_FLAGS) ; do \
28008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28009 done; \
28010 echo "Doing install-pdf in libiberty" ; \
28011 (cd $(HOST_SUBDIR)/libiberty && \
28012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28014 "RANLIB=$${RANLIB}" \
28015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28016 install-pdf) \
28017 || exit 1
28019 @endif libiberty
28021 .PHONY: maybe-install-html-libiberty install-html-libiberty
28022 maybe-install-html-libiberty:
28023 @if libiberty
28024 maybe-install-html-libiberty: install-html-libiberty
28026 install-html-libiberty: \
28027 configure-libiberty \
28028 html-libiberty
28029 @[ -f ./libiberty/Makefile ] || exit 0; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(HOST_EXPORTS) \
28033 for flag in $(EXTRA_HOST_FLAGS) ; do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 echo "Doing install-html in libiberty" ; \
28037 (cd $(HOST_SUBDIR)/libiberty && \
28038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28040 "RANLIB=$${RANLIB}" \
28041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28042 install-html) \
28043 || exit 1
28045 @endif libiberty
28047 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
28048 maybe-installcheck-libiberty:
28049 @if libiberty
28050 maybe-installcheck-libiberty: installcheck-libiberty
28052 installcheck-libiberty: \
28053 configure-libiberty
28054 @[ -f ./libiberty/Makefile ] || exit 0; \
28055 r=`${PWD_COMMAND}`; export r; \
28056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28057 $(HOST_EXPORTS) \
28058 for flag in $(EXTRA_HOST_FLAGS) ; do \
28059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28060 done; \
28061 echo "Doing installcheck in libiberty" ; \
28062 (cd $(HOST_SUBDIR)/libiberty && \
28063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28065 "RANLIB=$${RANLIB}" \
28066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28067 installcheck) \
28068 || exit 1
28070 @endif libiberty
28072 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
28073 maybe-mostlyclean-libiberty:
28074 @if libiberty
28075 maybe-mostlyclean-libiberty: mostlyclean-libiberty
28077 mostlyclean-libiberty:
28078 @[ -f ./libiberty/Makefile ] || exit 0; \
28079 r=`${PWD_COMMAND}`; export r; \
28080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28081 $(HOST_EXPORTS) \
28082 for flag in $(EXTRA_HOST_FLAGS) ; do \
28083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28084 done; \
28085 echo "Doing mostlyclean in libiberty" ; \
28086 (cd $(HOST_SUBDIR)/libiberty && \
28087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28089 "RANLIB=$${RANLIB}" \
28090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28091 mostlyclean) \
28092 || exit 1
28094 @endif libiberty
28096 .PHONY: maybe-clean-libiberty clean-libiberty
28097 maybe-clean-libiberty:
28098 @if libiberty
28099 maybe-clean-libiberty: clean-libiberty
28101 clean-libiberty:
28102 @[ -f ./libiberty/Makefile ] || exit 0; \
28103 r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 $(HOST_EXPORTS) \
28106 for flag in $(EXTRA_HOST_FLAGS) ; do \
28107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28108 done; \
28109 echo "Doing clean in libiberty" ; \
28110 (cd $(HOST_SUBDIR)/libiberty && \
28111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28113 "RANLIB=$${RANLIB}" \
28114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28115 clean) \
28116 || exit 1
28118 @endif libiberty
28120 .PHONY: maybe-distclean-libiberty distclean-libiberty
28121 maybe-distclean-libiberty:
28122 @if libiberty
28123 maybe-distclean-libiberty: distclean-libiberty
28125 distclean-libiberty:
28126 @[ -f ./libiberty/Makefile ] || exit 0; \
28127 r=`${PWD_COMMAND}`; export r; \
28128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28129 $(HOST_EXPORTS) \
28130 for flag in $(EXTRA_HOST_FLAGS) ; do \
28131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28132 done; \
28133 echo "Doing distclean in libiberty" ; \
28134 (cd $(HOST_SUBDIR)/libiberty && \
28135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28137 "RANLIB=$${RANLIB}" \
28138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28139 distclean) \
28140 || exit 1
28142 @endif libiberty
28144 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
28145 maybe-maintainer-clean-libiberty:
28146 @if libiberty
28147 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
28149 maintainer-clean-libiberty:
28150 @[ -f ./libiberty/Makefile ] || exit 0; \
28151 r=`${PWD_COMMAND}`; export r; \
28152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28153 $(HOST_EXPORTS) \
28154 for flag in $(EXTRA_HOST_FLAGS) ; do \
28155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28156 done; \
28157 echo "Doing maintainer-clean in libiberty" ; \
28158 (cd $(HOST_SUBDIR)/libiberty && \
28159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28161 "RANLIB=$${RANLIB}" \
28162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28163 maintainer-clean) \
28164 || exit 1
28166 @endif libiberty
28170 .PHONY: configure-libiconv maybe-configure-libiconv
28171 maybe-configure-libiconv:
28172 @if gcc-bootstrap
28173 configure-libiconv: stage_current
28174 @endif gcc-bootstrap
28175 @if libiconv
28176 maybe-configure-libiconv: configure-libiconv
28177 configure-libiconv:
28178 @: $(MAKE); $(unstage)
28179 @r=`${PWD_COMMAND}`; export r; \
28180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28181 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
28183 $(HOST_EXPORTS) \
28184 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28185 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28186 case $(srcdir) in \
28187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28188 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28190 esac; \
28191 srcdiroption="--srcdir=$${topdir}/libiconv"; \
28192 libsrcdir="$$s/libiconv"; \
28193 $(SHELL) $${libsrcdir}/configure \
28194 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28195 --target=${target_alias} $${srcdiroption} --disable-shared \
28196 || exit 1
28197 @endif libiconv
28203 .PHONY: all-libiconv maybe-all-libiconv
28204 maybe-all-libiconv:
28205 @if gcc-bootstrap
28206 all-libiconv: stage_current
28207 @endif gcc-bootstrap
28208 @if libiconv
28209 TARGET-libiconv=all
28210 maybe-all-libiconv: all-libiconv
28211 all-libiconv: configure-libiconv
28212 @: $(MAKE); $(unstage)
28213 @r=`${PWD_COMMAND}`; export r; \
28214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28215 $(HOST_EXPORTS) \
28216 (cd $(HOST_SUBDIR)/libiconv && \
28217 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28218 $(TARGET-libiconv))
28219 @endif libiconv
28224 .PHONY: check-libiconv maybe-check-libiconv
28225 maybe-check-libiconv:
28226 @if libiconv
28227 maybe-check-libiconv: check-libiconv
28229 check-libiconv:
28230 @: $(MAKE); $(unstage)
28231 @r=`${PWD_COMMAND}`; export r; \
28232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28233 $(HOST_EXPORTS) \
28234 (cd $(HOST_SUBDIR)/libiconv && \
28235 $(MAKE) $(FLAGS_TO_PASS) check)
28237 @endif libiconv
28239 .PHONY: install-libiconv maybe-install-libiconv
28240 maybe-install-libiconv:
28241 @if libiconv
28242 maybe-install-libiconv: install-libiconv
28244 install-libiconv:
28246 @endif libiconv
28248 # Other targets (info, dvi, pdf, etc.)
28250 .PHONY: maybe-info-libiconv info-libiconv
28251 maybe-info-libiconv:
28252 @if libiconv
28253 maybe-info-libiconv: info-libiconv
28255 info-libiconv: \
28256 configure-libiconv
28257 @: $(MAKE); $(unstage)
28258 @[ -f ./libiconv/Makefile ] || exit 0; \
28259 r=`${PWD_COMMAND}`; export r; \
28260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28261 $(HOST_EXPORTS) \
28262 for flag in $(EXTRA_HOST_FLAGS) ; do \
28263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28264 done; \
28265 echo "Doing info in libiconv" ; \
28266 (cd $(HOST_SUBDIR)/libiconv && \
28267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28269 "RANLIB=$${RANLIB}" \
28270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28271 info) \
28272 || exit 1
28274 @endif libiconv
28276 .PHONY: maybe-dvi-libiconv dvi-libiconv
28277 maybe-dvi-libiconv:
28278 @if libiconv
28279 maybe-dvi-libiconv: dvi-libiconv
28281 dvi-libiconv: \
28282 configure-libiconv
28283 @: $(MAKE); $(unstage)
28284 @[ -f ./libiconv/Makefile ] || exit 0; \
28285 r=`${PWD_COMMAND}`; export r; \
28286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28287 $(HOST_EXPORTS) \
28288 for flag in $(EXTRA_HOST_FLAGS) ; do \
28289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28290 done; \
28291 echo "Doing dvi in libiconv" ; \
28292 (cd $(HOST_SUBDIR)/libiconv && \
28293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28295 "RANLIB=$${RANLIB}" \
28296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28297 dvi) \
28298 || exit 1
28300 @endif libiconv
28302 .PHONY: maybe-pdf-libiconv pdf-libiconv
28303 maybe-pdf-libiconv:
28304 @if libiconv
28305 maybe-pdf-libiconv: pdf-libiconv
28307 pdf-libiconv: \
28308 configure-libiconv
28309 @: $(MAKE); $(unstage)
28310 @[ -f ./libiconv/Makefile ] || exit 0; \
28311 r=`${PWD_COMMAND}`; export r; \
28312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28313 $(HOST_EXPORTS) \
28314 for flag in $(EXTRA_HOST_FLAGS) ; do \
28315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28316 done; \
28317 echo "Doing pdf in libiconv" ; \
28318 (cd $(HOST_SUBDIR)/libiconv && \
28319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28321 "RANLIB=$${RANLIB}" \
28322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28323 pdf) \
28324 || exit 1
28326 @endif libiconv
28328 .PHONY: maybe-html-libiconv html-libiconv
28329 maybe-html-libiconv:
28330 @if libiconv
28331 maybe-html-libiconv: html-libiconv
28333 html-libiconv: \
28334 configure-libiconv
28335 @: $(MAKE); $(unstage)
28336 @[ -f ./libiconv/Makefile ] || exit 0; \
28337 r=`${PWD_COMMAND}`; export r; \
28338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28339 $(HOST_EXPORTS) \
28340 for flag in $(EXTRA_HOST_FLAGS) ; do \
28341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28342 done; \
28343 echo "Doing html in libiconv" ; \
28344 (cd $(HOST_SUBDIR)/libiconv && \
28345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28347 "RANLIB=$${RANLIB}" \
28348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28349 html) \
28350 || exit 1
28352 @endif libiconv
28354 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
28355 maybe-TAGS-libiconv:
28356 @if libiconv
28357 maybe-TAGS-libiconv: TAGS-libiconv
28359 TAGS-libiconv: \
28360 configure-libiconv
28361 @: $(MAKE); $(unstage)
28362 @[ -f ./libiconv/Makefile ] || exit 0; \
28363 r=`${PWD_COMMAND}`; export r; \
28364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 $(HOST_EXPORTS) \
28366 for flag in $(EXTRA_HOST_FLAGS) ; do \
28367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28368 done; \
28369 echo "Doing TAGS in libiconv" ; \
28370 (cd $(HOST_SUBDIR)/libiconv && \
28371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28373 "RANLIB=$${RANLIB}" \
28374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28375 TAGS) \
28376 || exit 1
28378 @endif libiconv
28380 .PHONY: maybe-install-info-libiconv install-info-libiconv
28381 maybe-install-info-libiconv:
28382 @if libiconv
28383 maybe-install-info-libiconv: install-info-libiconv
28385 # libiconv doesn't support install-info.
28386 install-info-libiconv:
28388 @endif libiconv
28390 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
28391 maybe-install-pdf-libiconv:
28392 @if libiconv
28393 maybe-install-pdf-libiconv: install-pdf-libiconv
28395 # libiconv doesn't support install-pdf.
28396 install-pdf-libiconv:
28398 @endif libiconv
28400 .PHONY: maybe-install-html-libiconv install-html-libiconv
28401 maybe-install-html-libiconv:
28402 @if libiconv
28403 maybe-install-html-libiconv: install-html-libiconv
28405 # libiconv doesn't support install-html.
28406 install-html-libiconv:
28408 @endif libiconv
28410 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
28411 maybe-installcheck-libiconv:
28412 @if libiconv
28413 maybe-installcheck-libiconv: installcheck-libiconv
28415 installcheck-libiconv: \
28416 configure-libiconv
28417 @: $(MAKE); $(unstage)
28418 @[ -f ./libiconv/Makefile ] || exit 0; \
28419 r=`${PWD_COMMAND}`; export r; \
28420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28421 $(HOST_EXPORTS) \
28422 for flag in $(EXTRA_HOST_FLAGS) ; do \
28423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28424 done; \
28425 echo "Doing installcheck in libiconv" ; \
28426 (cd $(HOST_SUBDIR)/libiconv && \
28427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28429 "RANLIB=$${RANLIB}" \
28430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28431 installcheck) \
28432 || exit 1
28434 @endif libiconv
28436 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
28437 maybe-mostlyclean-libiconv:
28438 @if libiconv
28439 maybe-mostlyclean-libiconv: mostlyclean-libiconv
28441 mostlyclean-libiconv:
28442 @: $(MAKE); $(unstage)
28443 @[ -f ./libiconv/Makefile ] || exit 0; \
28444 r=`${PWD_COMMAND}`; export r; \
28445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28446 $(HOST_EXPORTS) \
28447 for flag in $(EXTRA_HOST_FLAGS) ; do \
28448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28449 done; \
28450 echo "Doing mostlyclean in libiconv" ; \
28451 (cd $(HOST_SUBDIR)/libiconv && \
28452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28454 "RANLIB=$${RANLIB}" \
28455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28456 mostlyclean) \
28457 || exit 1
28459 @endif libiconv
28461 .PHONY: maybe-clean-libiconv clean-libiconv
28462 maybe-clean-libiconv:
28463 @if libiconv
28464 maybe-clean-libiconv: clean-libiconv
28466 clean-libiconv:
28467 @: $(MAKE); $(unstage)
28468 @[ -f ./libiconv/Makefile ] || exit 0; \
28469 r=`${PWD_COMMAND}`; export r; \
28470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28471 $(HOST_EXPORTS) \
28472 for flag in $(EXTRA_HOST_FLAGS) ; do \
28473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28474 done; \
28475 echo "Doing clean in libiconv" ; \
28476 (cd $(HOST_SUBDIR)/libiconv && \
28477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28479 "RANLIB=$${RANLIB}" \
28480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28481 clean) \
28482 || exit 1
28484 @endif libiconv
28486 .PHONY: maybe-distclean-libiconv distclean-libiconv
28487 maybe-distclean-libiconv:
28488 @if libiconv
28489 maybe-distclean-libiconv: distclean-libiconv
28491 distclean-libiconv:
28492 @: $(MAKE); $(unstage)
28493 @[ -f ./libiconv/Makefile ] || exit 0; \
28494 r=`${PWD_COMMAND}`; export r; \
28495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28496 $(HOST_EXPORTS) \
28497 for flag in $(EXTRA_HOST_FLAGS) ; do \
28498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28499 done; \
28500 echo "Doing distclean in libiconv" ; \
28501 (cd $(HOST_SUBDIR)/libiconv && \
28502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28504 "RANLIB=$${RANLIB}" \
28505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28506 distclean) \
28507 || exit 1
28509 @endif libiconv
28511 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
28512 maybe-maintainer-clean-libiconv:
28513 @if libiconv
28514 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
28516 maintainer-clean-libiconv:
28517 @: $(MAKE); $(unstage)
28518 @[ -f ./libiconv/Makefile ] || exit 0; \
28519 r=`${PWD_COMMAND}`; export r; \
28520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28521 $(HOST_EXPORTS) \
28522 for flag in $(EXTRA_HOST_FLAGS) ; do \
28523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28524 done; \
28525 echo "Doing maintainer-clean in libiconv" ; \
28526 (cd $(HOST_SUBDIR)/libiconv && \
28527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28529 "RANLIB=$${RANLIB}" \
28530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28531 maintainer-clean) \
28532 || exit 1
28534 @endif libiconv
28538 .PHONY: configure-libtool maybe-configure-libtool
28539 maybe-configure-libtool:
28540 @if gcc-bootstrap
28541 configure-libtool: stage_current
28542 @endif gcc-bootstrap
28543 @if libtool
28544 maybe-configure-libtool: configure-libtool
28545 configure-libtool:
28546 @: $(MAKE); $(unstage)
28547 @r=`${PWD_COMMAND}`; export r; \
28548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28549 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
28550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
28551 $(HOST_EXPORTS) \
28552 echo Configuring in $(HOST_SUBDIR)/libtool; \
28553 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
28554 case $(srcdir) in \
28555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28556 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
28557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28558 esac; \
28559 srcdiroption="--srcdir=$${topdir}/libtool"; \
28560 libsrcdir="$$s/libtool"; \
28561 $(SHELL) $${libsrcdir}/configure \
28562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28563 --target=${target_alias} $${srcdiroption} \
28564 || exit 1
28565 @endif libtool
28571 .PHONY: all-libtool maybe-all-libtool
28572 maybe-all-libtool:
28573 @if gcc-bootstrap
28574 all-libtool: stage_current
28575 @endif gcc-bootstrap
28576 @if libtool
28577 TARGET-libtool=all
28578 maybe-all-libtool: all-libtool
28579 all-libtool: configure-libtool
28580 @: $(MAKE); $(unstage)
28581 @r=`${PWD_COMMAND}`; export r; \
28582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28583 $(HOST_EXPORTS) \
28584 (cd $(HOST_SUBDIR)/libtool && \
28585 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28586 $(TARGET-libtool))
28587 @endif libtool
28592 .PHONY: check-libtool maybe-check-libtool
28593 maybe-check-libtool:
28594 @if libtool
28595 maybe-check-libtool: check-libtool
28597 check-libtool:
28598 @: $(MAKE); $(unstage)
28599 @r=`${PWD_COMMAND}`; export r; \
28600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28601 $(HOST_EXPORTS) \
28602 (cd $(HOST_SUBDIR)/libtool && \
28603 $(MAKE) $(FLAGS_TO_PASS) check)
28605 @endif libtool
28607 .PHONY: install-libtool maybe-install-libtool
28608 maybe-install-libtool:
28609 @if libtool
28610 maybe-install-libtool: install-libtool
28612 install-libtool: installdirs
28613 @: $(MAKE); $(unstage)
28614 @r=`${PWD_COMMAND}`; export r; \
28615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28616 $(HOST_EXPORTS) \
28617 (cd $(HOST_SUBDIR)/libtool && \
28618 $(MAKE) $(FLAGS_TO_PASS) install)
28620 @endif libtool
28622 # Other targets (info, dvi, pdf, etc.)
28624 .PHONY: maybe-info-libtool info-libtool
28625 maybe-info-libtool:
28626 @if libtool
28627 maybe-info-libtool: info-libtool
28629 info-libtool: \
28630 configure-libtool
28631 @: $(MAKE); $(unstage)
28632 @[ -f ./libtool/Makefile ] || exit 0; \
28633 r=`${PWD_COMMAND}`; export r; \
28634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28635 $(HOST_EXPORTS) \
28636 for flag in $(EXTRA_HOST_FLAGS) ; do \
28637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28638 done; \
28639 echo "Doing info in libtool" ; \
28640 (cd $(HOST_SUBDIR)/libtool && \
28641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28643 "RANLIB=$${RANLIB}" \
28644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28645 info) \
28646 || exit 1
28648 @endif libtool
28650 .PHONY: maybe-dvi-libtool dvi-libtool
28651 maybe-dvi-libtool:
28652 @if libtool
28653 maybe-dvi-libtool: dvi-libtool
28655 dvi-libtool: \
28656 configure-libtool
28657 @: $(MAKE); $(unstage)
28658 @[ -f ./libtool/Makefile ] || exit 0; \
28659 r=`${PWD_COMMAND}`; export r; \
28660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28661 $(HOST_EXPORTS) \
28662 for flag in $(EXTRA_HOST_FLAGS) ; do \
28663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28664 done; \
28665 echo "Doing dvi in libtool" ; \
28666 (cd $(HOST_SUBDIR)/libtool && \
28667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28669 "RANLIB=$${RANLIB}" \
28670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28671 dvi) \
28672 || exit 1
28674 @endif libtool
28676 .PHONY: maybe-pdf-libtool pdf-libtool
28677 maybe-pdf-libtool:
28678 @if libtool
28679 maybe-pdf-libtool: pdf-libtool
28681 pdf-libtool: \
28682 configure-libtool
28683 @: $(MAKE); $(unstage)
28684 @[ -f ./libtool/Makefile ] || exit 0; \
28685 r=`${PWD_COMMAND}`; export r; \
28686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28687 $(HOST_EXPORTS) \
28688 for flag in $(EXTRA_HOST_FLAGS) ; do \
28689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28690 done; \
28691 echo "Doing pdf in libtool" ; \
28692 (cd $(HOST_SUBDIR)/libtool && \
28693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28695 "RANLIB=$${RANLIB}" \
28696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28697 pdf) \
28698 || exit 1
28700 @endif libtool
28702 .PHONY: maybe-html-libtool html-libtool
28703 maybe-html-libtool:
28704 @if libtool
28705 maybe-html-libtool: html-libtool
28707 html-libtool: \
28708 configure-libtool
28709 @: $(MAKE); $(unstage)
28710 @[ -f ./libtool/Makefile ] || exit 0; \
28711 r=`${PWD_COMMAND}`; export r; \
28712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28713 $(HOST_EXPORTS) \
28714 for flag in $(EXTRA_HOST_FLAGS) ; do \
28715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28716 done; \
28717 echo "Doing html in libtool" ; \
28718 (cd $(HOST_SUBDIR)/libtool && \
28719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28721 "RANLIB=$${RANLIB}" \
28722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28723 html) \
28724 || exit 1
28726 @endif libtool
28728 .PHONY: maybe-TAGS-libtool TAGS-libtool
28729 maybe-TAGS-libtool:
28730 @if libtool
28731 maybe-TAGS-libtool: TAGS-libtool
28733 TAGS-libtool: \
28734 configure-libtool
28735 @: $(MAKE); $(unstage)
28736 @[ -f ./libtool/Makefile ] || exit 0; \
28737 r=`${PWD_COMMAND}`; export r; \
28738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28739 $(HOST_EXPORTS) \
28740 for flag in $(EXTRA_HOST_FLAGS) ; do \
28741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28742 done; \
28743 echo "Doing TAGS in libtool" ; \
28744 (cd $(HOST_SUBDIR)/libtool && \
28745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28747 "RANLIB=$${RANLIB}" \
28748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28749 TAGS) \
28750 || exit 1
28752 @endif libtool
28754 .PHONY: maybe-install-info-libtool install-info-libtool
28755 maybe-install-info-libtool:
28756 @if libtool
28757 maybe-install-info-libtool: install-info-libtool
28759 install-info-libtool: \
28760 configure-libtool \
28761 info-libtool
28762 @: $(MAKE); $(unstage)
28763 @[ -f ./libtool/Makefile ] || exit 0; \
28764 r=`${PWD_COMMAND}`; export r; \
28765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28766 $(HOST_EXPORTS) \
28767 for flag in $(EXTRA_HOST_FLAGS) ; do \
28768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28769 done; \
28770 echo "Doing install-info in libtool" ; \
28771 (cd $(HOST_SUBDIR)/libtool && \
28772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28774 "RANLIB=$${RANLIB}" \
28775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28776 install-info) \
28777 || exit 1
28779 @endif libtool
28781 .PHONY: maybe-install-pdf-libtool install-pdf-libtool
28782 maybe-install-pdf-libtool:
28783 @if libtool
28784 maybe-install-pdf-libtool: install-pdf-libtool
28786 install-pdf-libtool: \
28787 configure-libtool \
28788 pdf-libtool
28789 @: $(MAKE); $(unstage)
28790 @[ -f ./libtool/Makefile ] || exit 0; \
28791 r=`${PWD_COMMAND}`; export r; \
28792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28793 $(HOST_EXPORTS) \
28794 for flag in $(EXTRA_HOST_FLAGS) ; do \
28795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28796 done; \
28797 echo "Doing install-pdf in libtool" ; \
28798 (cd $(HOST_SUBDIR)/libtool && \
28799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28801 "RANLIB=$${RANLIB}" \
28802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28803 install-pdf) \
28804 || exit 1
28806 @endif libtool
28808 .PHONY: maybe-install-html-libtool install-html-libtool
28809 maybe-install-html-libtool:
28810 @if libtool
28811 maybe-install-html-libtool: install-html-libtool
28813 install-html-libtool: \
28814 configure-libtool \
28815 html-libtool
28816 @: $(MAKE); $(unstage)
28817 @[ -f ./libtool/Makefile ] || exit 0; \
28818 r=`${PWD_COMMAND}`; export r; \
28819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820 $(HOST_EXPORTS) \
28821 for flag in $(EXTRA_HOST_FLAGS) ; do \
28822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28823 done; \
28824 echo "Doing install-html in libtool" ; \
28825 (cd $(HOST_SUBDIR)/libtool && \
28826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28828 "RANLIB=$${RANLIB}" \
28829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28830 install-html) \
28831 || exit 1
28833 @endif libtool
28835 .PHONY: maybe-installcheck-libtool installcheck-libtool
28836 maybe-installcheck-libtool:
28837 @if libtool
28838 maybe-installcheck-libtool: installcheck-libtool
28840 installcheck-libtool: \
28841 configure-libtool
28842 @: $(MAKE); $(unstage)
28843 @[ -f ./libtool/Makefile ] || exit 0; \
28844 r=`${PWD_COMMAND}`; export r; \
28845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28846 $(HOST_EXPORTS) \
28847 for flag in $(EXTRA_HOST_FLAGS) ; do \
28848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28849 done; \
28850 echo "Doing installcheck in libtool" ; \
28851 (cd $(HOST_SUBDIR)/libtool && \
28852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28854 "RANLIB=$${RANLIB}" \
28855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28856 installcheck) \
28857 || exit 1
28859 @endif libtool
28861 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
28862 maybe-mostlyclean-libtool:
28863 @if libtool
28864 maybe-mostlyclean-libtool: mostlyclean-libtool
28866 mostlyclean-libtool:
28867 @: $(MAKE); $(unstage)
28868 @[ -f ./libtool/Makefile ] || exit 0; \
28869 r=`${PWD_COMMAND}`; export r; \
28870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28871 $(HOST_EXPORTS) \
28872 for flag in $(EXTRA_HOST_FLAGS) ; do \
28873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28874 done; \
28875 echo "Doing mostlyclean in libtool" ; \
28876 (cd $(HOST_SUBDIR)/libtool && \
28877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28879 "RANLIB=$${RANLIB}" \
28880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28881 mostlyclean) \
28882 || exit 1
28884 @endif libtool
28886 .PHONY: maybe-clean-libtool clean-libtool
28887 maybe-clean-libtool:
28888 @if libtool
28889 maybe-clean-libtool: clean-libtool
28891 clean-libtool:
28892 @: $(MAKE); $(unstage)
28893 @[ -f ./libtool/Makefile ] || exit 0; \
28894 r=`${PWD_COMMAND}`; export r; \
28895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28896 $(HOST_EXPORTS) \
28897 for flag in $(EXTRA_HOST_FLAGS) ; do \
28898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28899 done; \
28900 echo "Doing clean in libtool" ; \
28901 (cd $(HOST_SUBDIR)/libtool && \
28902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28904 "RANLIB=$${RANLIB}" \
28905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28906 clean) \
28907 || exit 1
28909 @endif libtool
28911 .PHONY: maybe-distclean-libtool distclean-libtool
28912 maybe-distclean-libtool:
28913 @if libtool
28914 maybe-distclean-libtool: distclean-libtool
28916 distclean-libtool:
28917 @: $(MAKE); $(unstage)
28918 @[ -f ./libtool/Makefile ] || exit 0; \
28919 r=`${PWD_COMMAND}`; export r; \
28920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28921 $(HOST_EXPORTS) \
28922 for flag in $(EXTRA_HOST_FLAGS) ; do \
28923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28924 done; \
28925 echo "Doing distclean in libtool" ; \
28926 (cd $(HOST_SUBDIR)/libtool && \
28927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28929 "RANLIB=$${RANLIB}" \
28930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28931 distclean) \
28932 || exit 1
28934 @endif libtool
28936 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
28937 maybe-maintainer-clean-libtool:
28938 @if libtool
28939 maybe-maintainer-clean-libtool: maintainer-clean-libtool
28941 maintainer-clean-libtool:
28942 @: $(MAKE); $(unstage)
28943 @[ -f ./libtool/Makefile ] || exit 0; \
28944 r=`${PWD_COMMAND}`; export r; \
28945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28946 $(HOST_EXPORTS) \
28947 for flag in $(EXTRA_HOST_FLAGS) ; do \
28948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28949 done; \
28950 echo "Doing maintainer-clean in libtool" ; \
28951 (cd $(HOST_SUBDIR)/libtool && \
28952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28954 "RANLIB=$${RANLIB}" \
28955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28956 maintainer-clean) \
28957 || exit 1
28959 @endif libtool
28963 .PHONY: configure-m4 maybe-configure-m4
28964 maybe-configure-m4:
28965 @if gcc-bootstrap
28966 configure-m4: stage_current
28967 @endif gcc-bootstrap
28968 @if m4
28969 maybe-configure-m4: configure-m4
28970 configure-m4:
28971 @: $(MAKE); $(unstage)
28972 @r=`${PWD_COMMAND}`; export r; \
28973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28974 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
28975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
28976 $(HOST_EXPORTS) \
28977 echo Configuring in $(HOST_SUBDIR)/m4; \
28978 cd "$(HOST_SUBDIR)/m4" || exit 1; \
28979 case $(srcdir) in \
28980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28981 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
28982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28983 esac; \
28984 srcdiroption="--srcdir=$${topdir}/m4"; \
28985 libsrcdir="$$s/m4"; \
28986 $(SHELL) $${libsrcdir}/configure \
28987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28988 --target=${target_alias} $${srcdiroption} \
28989 || exit 1
28990 @endif m4
28996 .PHONY: all-m4 maybe-all-m4
28997 maybe-all-m4:
28998 @if gcc-bootstrap
28999 all-m4: stage_current
29000 @endif gcc-bootstrap
29001 @if m4
29002 TARGET-m4=all
29003 maybe-all-m4: all-m4
29004 all-m4: configure-m4
29005 @: $(MAKE); $(unstage)
29006 @r=`${PWD_COMMAND}`; export r; \
29007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29008 $(HOST_EXPORTS) \
29009 (cd $(HOST_SUBDIR)/m4 && \
29010 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29011 $(TARGET-m4))
29012 @endif m4
29017 .PHONY: check-m4 maybe-check-m4
29018 maybe-check-m4:
29019 @if m4
29020 maybe-check-m4: check-m4
29022 check-m4:
29023 @: $(MAKE); $(unstage)
29024 @r=`${PWD_COMMAND}`; export r; \
29025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29026 $(HOST_EXPORTS) \
29027 (cd $(HOST_SUBDIR)/m4 && \
29028 $(MAKE) $(FLAGS_TO_PASS) check)
29030 @endif m4
29032 .PHONY: install-m4 maybe-install-m4
29033 maybe-install-m4:
29034 @if m4
29035 maybe-install-m4: install-m4
29037 install-m4: installdirs
29038 @: $(MAKE); $(unstage)
29039 @r=`${PWD_COMMAND}`; export r; \
29040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29041 $(HOST_EXPORTS) \
29042 (cd $(HOST_SUBDIR)/m4 && \
29043 $(MAKE) $(FLAGS_TO_PASS) install)
29045 @endif m4
29047 # Other targets (info, dvi, pdf, etc.)
29049 .PHONY: maybe-info-m4 info-m4
29050 maybe-info-m4:
29051 @if m4
29052 maybe-info-m4: info-m4
29054 info-m4: \
29055 configure-m4
29056 @: $(MAKE); $(unstage)
29057 @[ -f ./m4/Makefile ] || exit 0; \
29058 r=`${PWD_COMMAND}`; export r; \
29059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29060 $(HOST_EXPORTS) \
29061 for flag in $(EXTRA_HOST_FLAGS) ; do \
29062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29063 done; \
29064 echo "Doing info in m4" ; \
29065 (cd $(HOST_SUBDIR)/m4 && \
29066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29068 "RANLIB=$${RANLIB}" \
29069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29070 info) \
29071 || exit 1
29073 @endif m4
29075 .PHONY: maybe-dvi-m4 dvi-m4
29076 maybe-dvi-m4:
29077 @if m4
29078 maybe-dvi-m4: dvi-m4
29080 dvi-m4: \
29081 configure-m4
29082 @: $(MAKE); $(unstage)
29083 @[ -f ./m4/Makefile ] || exit 0; \
29084 r=`${PWD_COMMAND}`; export r; \
29085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29086 $(HOST_EXPORTS) \
29087 for flag in $(EXTRA_HOST_FLAGS) ; do \
29088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29089 done; \
29090 echo "Doing dvi in m4" ; \
29091 (cd $(HOST_SUBDIR)/m4 && \
29092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29094 "RANLIB=$${RANLIB}" \
29095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29096 dvi) \
29097 || exit 1
29099 @endif m4
29101 .PHONY: maybe-pdf-m4 pdf-m4
29102 maybe-pdf-m4:
29103 @if m4
29104 maybe-pdf-m4: pdf-m4
29106 pdf-m4: \
29107 configure-m4
29108 @: $(MAKE); $(unstage)
29109 @[ -f ./m4/Makefile ] || exit 0; \
29110 r=`${PWD_COMMAND}`; export r; \
29111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29112 $(HOST_EXPORTS) \
29113 for flag in $(EXTRA_HOST_FLAGS) ; do \
29114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29115 done; \
29116 echo "Doing pdf in m4" ; \
29117 (cd $(HOST_SUBDIR)/m4 && \
29118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29120 "RANLIB=$${RANLIB}" \
29121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29122 pdf) \
29123 || exit 1
29125 @endif m4
29127 .PHONY: maybe-html-m4 html-m4
29128 maybe-html-m4:
29129 @if m4
29130 maybe-html-m4: html-m4
29132 html-m4: \
29133 configure-m4
29134 @: $(MAKE); $(unstage)
29135 @[ -f ./m4/Makefile ] || exit 0; \
29136 r=`${PWD_COMMAND}`; export r; \
29137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29138 $(HOST_EXPORTS) \
29139 for flag in $(EXTRA_HOST_FLAGS) ; do \
29140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29141 done; \
29142 echo "Doing html in m4" ; \
29143 (cd $(HOST_SUBDIR)/m4 && \
29144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29146 "RANLIB=$${RANLIB}" \
29147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29148 html) \
29149 || exit 1
29151 @endif m4
29153 .PHONY: maybe-TAGS-m4 TAGS-m4
29154 maybe-TAGS-m4:
29155 @if m4
29156 maybe-TAGS-m4: TAGS-m4
29158 TAGS-m4: \
29159 configure-m4
29160 @: $(MAKE); $(unstage)
29161 @[ -f ./m4/Makefile ] || exit 0; \
29162 r=`${PWD_COMMAND}`; export r; \
29163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29164 $(HOST_EXPORTS) \
29165 for flag in $(EXTRA_HOST_FLAGS) ; do \
29166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29167 done; \
29168 echo "Doing TAGS in m4" ; \
29169 (cd $(HOST_SUBDIR)/m4 && \
29170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29172 "RANLIB=$${RANLIB}" \
29173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29174 TAGS) \
29175 || exit 1
29177 @endif m4
29179 .PHONY: maybe-install-info-m4 install-info-m4
29180 maybe-install-info-m4:
29181 @if m4
29182 maybe-install-info-m4: install-info-m4
29184 install-info-m4: \
29185 configure-m4 \
29186 info-m4
29187 @: $(MAKE); $(unstage)
29188 @[ -f ./m4/Makefile ] || exit 0; \
29189 r=`${PWD_COMMAND}`; export r; \
29190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29191 $(HOST_EXPORTS) \
29192 for flag in $(EXTRA_HOST_FLAGS) ; do \
29193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29194 done; \
29195 echo "Doing install-info in m4" ; \
29196 (cd $(HOST_SUBDIR)/m4 && \
29197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29199 "RANLIB=$${RANLIB}" \
29200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29201 install-info) \
29202 || exit 1
29204 @endif m4
29206 .PHONY: maybe-install-pdf-m4 install-pdf-m4
29207 maybe-install-pdf-m4:
29208 @if m4
29209 maybe-install-pdf-m4: install-pdf-m4
29211 install-pdf-m4: \
29212 configure-m4 \
29213 pdf-m4
29214 @: $(MAKE); $(unstage)
29215 @[ -f ./m4/Makefile ] || exit 0; \
29216 r=`${PWD_COMMAND}`; export r; \
29217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29218 $(HOST_EXPORTS) \
29219 for flag in $(EXTRA_HOST_FLAGS) ; do \
29220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29221 done; \
29222 echo "Doing install-pdf in m4" ; \
29223 (cd $(HOST_SUBDIR)/m4 && \
29224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29226 "RANLIB=$${RANLIB}" \
29227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29228 install-pdf) \
29229 || exit 1
29231 @endif m4
29233 .PHONY: maybe-install-html-m4 install-html-m4
29234 maybe-install-html-m4:
29235 @if m4
29236 maybe-install-html-m4: install-html-m4
29238 install-html-m4: \
29239 configure-m4 \
29240 html-m4
29241 @: $(MAKE); $(unstage)
29242 @[ -f ./m4/Makefile ] || exit 0; \
29243 r=`${PWD_COMMAND}`; export r; \
29244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29245 $(HOST_EXPORTS) \
29246 for flag in $(EXTRA_HOST_FLAGS) ; do \
29247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29248 done; \
29249 echo "Doing install-html in m4" ; \
29250 (cd $(HOST_SUBDIR)/m4 && \
29251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29253 "RANLIB=$${RANLIB}" \
29254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29255 install-html) \
29256 || exit 1
29258 @endif m4
29260 .PHONY: maybe-installcheck-m4 installcheck-m4
29261 maybe-installcheck-m4:
29262 @if m4
29263 maybe-installcheck-m4: installcheck-m4
29265 installcheck-m4: \
29266 configure-m4
29267 @: $(MAKE); $(unstage)
29268 @[ -f ./m4/Makefile ] || exit 0; \
29269 r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 $(HOST_EXPORTS) \
29272 for flag in $(EXTRA_HOST_FLAGS) ; do \
29273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29274 done; \
29275 echo "Doing installcheck in m4" ; \
29276 (cd $(HOST_SUBDIR)/m4 && \
29277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29279 "RANLIB=$${RANLIB}" \
29280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29281 installcheck) \
29282 || exit 1
29284 @endif m4
29286 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
29287 maybe-mostlyclean-m4:
29288 @if m4
29289 maybe-mostlyclean-m4: mostlyclean-m4
29291 mostlyclean-m4:
29292 @: $(MAKE); $(unstage)
29293 @[ -f ./m4/Makefile ] || exit 0; \
29294 r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(HOST_EXPORTS) \
29297 for flag in $(EXTRA_HOST_FLAGS) ; do \
29298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29299 done; \
29300 echo "Doing mostlyclean in m4" ; \
29301 (cd $(HOST_SUBDIR)/m4 && \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29304 "RANLIB=$${RANLIB}" \
29305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29306 mostlyclean) \
29307 || exit 1
29309 @endif m4
29311 .PHONY: maybe-clean-m4 clean-m4
29312 maybe-clean-m4:
29313 @if m4
29314 maybe-clean-m4: clean-m4
29316 clean-m4:
29317 @: $(MAKE); $(unstage)
29318 @[ -f ./m4/Makefile ] || exit 0; \
29319 r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(HOST_EXPORTS) \
29322 for flag in $(EXTRA_HOST_FLAGS) ; do \
29323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29324 done; \
29325 echo "Doing clean in m4" ; \
29326 (cd $(HOST_SUBDIR)/m4 && \
29327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29329 "RANLIB=$${RANLIB}" \
29330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29331 clean) \
29332 || exit 1
29334 @endif m4
29336 .PHONY: maybe-distclean-m4 distclean-m4
29337 maybe-distclean-m4:
29338 @if m4
29339 maybe-distclean-m4: distclean-m4
29341 distclean-m4:
29342 @: $(MAKE); $(unstage)
29343 @[ -f ./m4/Makefile ] || exit 0; \
29344 r=`${PWD_COMMAND}`; export r; \
29345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29346 $(HOST_EXPORTS) \
29347 for flag in $(EXTRA_HOST_FLAGS) ; do \
29348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29349 done; \
29350 echo "Doing distclean in m4" ; \
29351 (cd $(HOST_SUBDIR)/m4 && \
29352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29354 "RANLIB=$${RANLIB}" \
29355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29356 distclean) \
29357 || exit 1
29359 @endif m4
29361 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
29362 maybe-maintainer-clean-m4:
29363 @if m4
29364 maybe-maintainer-clean-m4: maintainer-clean-m4
29366 maintainer-clean-m4:
29367 @: $(MAKE); $(unstage)
29368 @[ -f ./m4/Makefile ] || exit 0; \
29369 r=`${PWD_COMMAND}`; export r; \
29370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29371 $(HOST_EXPORTS) \
29372 for flag in $(EXTRA_HOST_FLAGS) ; do \
29373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29374 done; \
29375 echo "Doing maintainer-clean in m4" ; \
29376 (cd $(HOST_SUBDIR)/m4 && \
29377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29379 "RANLIB=$${RANLIB}" \
29380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29381 maintainer-clean) \
29382 || exit 1
29384 @endif m4
29388 .PHONY: configure-make maybe-configure-make
29389 maybe-configure-make:
29390 @if gcc-bootstrap
29391 configure-make: stage_current
29392 @endif gcc-bootstrap
29393 @if make
29394 maybe-configure-make: configure-make
29395 configure-make:
29396 @: $(MAKE); $(unstage)
29397 @r=`${PWD_COMMAND}`; export r; \
29398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29399 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
29400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
29401 $(HOST_EXPORTS) \
29402 echo Configuring in $(HOST_SUBDIR)/make; \
29403 cd "$(HOST_SUBDIR)/make" || exit 1; \
29404 case $(srcdir) in \
29405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29406 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
29407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29408 esac; \
29409 srcdiroption="--srcdir=$${topdir}/make"; \
29410 libsrcdir="$$s/make"; \
29411 $(SHELL) $${libsrcdir}/configure \
29412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29413 --target=${target_alias} $${srcdiroption} \
29414 || exit 1
29415 @endif make
29421 .PHONY: all-make maybe-all-make
29422 maybe-all-make:
29423 @if gcc-bootstrap
29424 all-make: stage_current
29425 @endif gcc-bootstrap
29426 @if make
29427 TARGET-make=all
29428 maybe-all-make: all-make
29429 all-make: configure-make
29430 @: $(MAKE); $(unstage)
29431 @r=`${PWD_COMMAND}`; export r; \
29432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29433 $(HOST_EXPORTS) \
29434 (cd $(HOST_SUBDIR)/make && \
29435 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29436 $(TARGET-make))
29437 @endif make
29442 .PHONY: check-make maybe-check-make
29443 maybe-check-make:
29444 @if make
29445 maybe-check-make: check-make
29447 check-make:
29448 @: $(MAKE); $(unstage)
29449 @r=`${PWD_COMMAND}`; export r; \
29450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29451 $(HOST_EXPORTS) \
29452 (cd $(HOST_SUBDIR)/make && \
29453 $(MAKE) $(FLAGS_TO_PASS) check)
29455 @endif make
29457 .PHONY: install-make maybe-install-make
29458 maybe-install-make:
29459 @if make
29460 maybe-install-make: install-make
29462 install-make: installdirs
29463 @: $(MAKE); $(unstage)
29464 @r=`${PWD_COMMAND}`; export r; \
29465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29466 $(HOST_EXPORTS) \
29467 (cd $(HOST_SUBDIR)/make && \
29468 $(MAKE) $(FLAGS_TO_PASS) install)
29470 @endif make
29472 # Other targets (info, dvi, pdf, etc.)
29474 .PHONY: maybe-info-make info-make
29475 maybe-info-make:
29476 @if make
29477 maybe-info-make: info-make
29479 info-make: \
29480 configure-make
29481 @: $(MAKE); $(unstage)
29482 @[ -f ./make/Makefile ] || exit 0; \
29483 r=`${PWD_COMMAND}`; export r; \
29484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29485 $(HOST_EXPORTS) \
29486 for flag in $(EXTRA_HOST_FLAGS) ; do \
29487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29488 done; \
29489 echo "Doing info in make" ; \
29490 (cd $(HOST_SUBDIR)/make && \
29491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29493 "RANLIB=$${RANLIB}" \
29494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29495 info) \
29496 || exit 1
29498 @endif make
29500 .PHONY: maybe-dvi-make dvi-make
29501 maybe-dvi-make:
29502 @if make
29503 maybe-dvi-make: dvi-make
29505 dvi-make: \
29506 configure-make
29507 @: $(MAKE); $(unstage)
29508 @[ -f ./make/Makefile ] || exit 0; \
29509 r=`${PWD_COMMAND}`; export r; \
29510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29511 $(HOST_EXPORTS) \
29512 for flag in $(EXTRA_HOST_FLAGS) ; do \
29513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29514 done; \
29515 echo "Doing dvi in make" ; \
29516 (cd $(HOST_SUBDIR)/make && \
29517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29519 "RANLIB=$${RANLIB}" \
29520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29521 dvi) \
29522 || exit 1
29524 @endif make
29526 .PHONY: maybe-pdf-make pdf-make
29527 maybe-pdf-make:
29528 @if make
29529 maybe-pdf-make: pdf-make
29531 pdf-make: \
29532 configure-make
29533 @: $(MAKE); $(unstage)
29534 @[ -f ./make/Makefile ] || exit 0; \
29535 r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(HOST_EXPORTS) \
29538 for flag in $(EXTRA_HOST_FLAGS) ; do \
29539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29540 done; \
29541 echo "Doing pdf in make" ; \
29542 (cd $(HOST_SUBDIR)/make && \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29545 "RANLIB=$${RANLIB}" \
29546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29547 pdf) \
29548 || exit 1
29550 @endif make
29552 .PHONY: maybe-html-make html-make
29553 maybe-html-make:
29554 @if make
29555 maybe-html-make: html-make
29557 html-make: \
29558 configure-make
29559 @: $(MAKE); $(unstage)
29560 @[ -f ./make/Makefile ] || exit 0; \
29561 r=`${PWD_COMMAND}`; export r; \
29562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29563 $(HOST_EXPORTS) \
29564 for flag in $(EXTRA_HOST_FLAGS) ; do \
29565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29566 done; \
29567 echo "Doing html in make" ; \
29568 (cd $(HOST_SUBDIR)/make && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29573 html) \
29574 || exit 1
29576 @endif make
29578 .PHONY: maybe-TAGS-make TAGS-make
29579 maybe-TAGS-make:
29580 @if make
29581 maybe-TAGS-make: TAGS-make
29583 TAGS-make: \
29584 configure-make
29585 @: $(MAKE); $(unstage)
29586 @[ -f ./make/Makefile ] || exit 0; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(HOST_EXPORTS) \
29590 for flag in $(EXTRA_HOST_FLAGS) ; do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 echo "Doing TAGS in make" ; \
29594 (cd $(HOST_SUBDIR)/make && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29599 TAGS) \
29600 || exit 1
29602 @endif make
29604 .PHONY: maybe-install-info-make install-info-make
29605 maybe-install-info-make:
29606 @if make
29607 maybe-install-info-make: install-info-make
29609 install-info-make: \
29610 configure-make \
29611 info-make
29612 @: $(MAKE); $(unstage)
29613 @[ -f ./make/Makefile ] || exit 0; \
29614 r=`${PWD_COMMAND}`; export r; \
29615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29616 $(HOST_EXPORTS) \
29617 for flag in $(EXTRA_HOST_FLAGS) ; do \
29618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29619 done; \
29620 echo "Doing install-info in make" ; \
29621 (cd $(HOST_SUBDIR)/make && \
29622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29624 "RANLIB=$${RANLIB}" \
29625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29626 install-info) \
29627 || exit 1
29629 @endif make
29631 .PHONY: maybe-install-pdf-make install-pdf-make
29632 maybe-install-pdf-make:
29633 @if make
29634 maybe-install-pdf-make: install-pdf-make
29636 install-pdf-make: \
29637 configure-make \
29638 pdf-make
29639 @: $(MAKE); $(unstage)
29640 @[ -f ./make/Makefile ] || exit 0; \
29641 r=`${PWD_COMMAND}`; export r; \
29642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29643 $(HOST_EXPORTS) \
29644 for flag in $(EXTRA_HOST_FLAGS) ; do \
29645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29646 done; \
29647 echo "Doing install-pdf in make" ; \
29648 (cd $(HOST_SUBDIR)/make && \
29649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29651 "RANLIB=$${RANLIB}" \
29652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29653 install-pdf) \
29654 || exit 1
29656 @endif make
29658 .PHONY: maybe-install-html-make install-html-make
29659 maybe-install-html-make:
29660 @if make
29661 maybe-install-html-make: install-html-make
29663 install-html-make: \
29664 configure-make \
29665 html-make
29666 @: $(MAKE); $(unstage)
29667 @[ -f ./make/Makefile ] || exit 0; \
29668 r=`${PWD_COMMAND}`; export r; \
29669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29670 $(HOST_EXPORTS) \
29671 for flag in $(EXTRA_HOST_FLAGS) ; do \
29672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29673 done; \
29674 echo "Doing install-html in make" ; \
29675 (cd $(HOST_SUBDIR)/make && \
29676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29678 "RANLIB=$${RANLIB}" \
29679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29680 install-html) \
29681 || exit 1
29683 @endif make
29685 .PHONY: maybe-installcheck-make installcheck-make
29686 maybe-installcheck-make:
29687 @if make
29688 maybe-installcheck-make: installcheck-make
29690 installcheck-make: \
29691 configure-make
29692 @: $(MAKE); $(unstage)
29693 @[ -f ./make/Makefile ] || exit 0; \
29694 r=`${PWD_COMMAND}`; export r; \
29695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 $(HOST_EXPORTS) \
29697 for flag in $(EXTRA_HOST_FLAGS) ; do \
29698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29699 done; \
29700 echo "Doing installcheck in make" ; \
29701 (cd $(HOST_SUBDIR)/make && \
29702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29704 "RANLIB=$${RANLIB}" \
29705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29706 installcheck) \
29707 || exit 1
29709 @endif make
29711 .PHONY: maybe-mostlyclean-make mostlyclean-make
29712 maybe-mostlyclean-make:
29713 @if make
29714 maybe-mostlyclean-make: mostlyclean-make
29716 mostlyclean-make:
29717 @: $(MAKE); $(unstage)
29718 @[ -f ./make/Makefile ] || exit 0; \
29719 r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(HOST_EXPORTS) \
29722 for flag in $(EXTRA_HOST_FLAGS) ; do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 echo "Doing mostlyclean in make" ; \
29726 (cd $(HOST_SUBDIR)/make && \
29727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29729 "RANLIB=$${RANLIB}" \
29730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29731 mostlyclean) \
29732 || exit 1
29734 @endif make
29736 .PHONY: maybe-clean-make clean-make
29737 maybe-clean-make:
29738 @if make
29739 maybe-clean-make: clean-make
29741 clean-make:
29742 @: $(MAKE); $(unstage)
29743 @[ -f ./make/Makefile ] || exit 0; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(HOST_EXPORTS) \
29747 for flag in $(EXTRA_HOST_FLAGS) ; do \
29748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29749 done; \
29750 echo "Doing clean in make" ; \
29751 (cd $(HOST_SUBDIR)/make && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29756 clean) \
29757 || exit 1
29759 @endif make
29761 .PHONY: maybe-distclean-make distclean-make
29762 maybe-distclean-make:
29763 @if make
29764 maybe-distclean-make: distclean-make
29766 distclean-make:
29767 @: $(MAKE); $(unstage)
29768 @[ -f ./make/Makefile ] || exit 0; \
29769 r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(HOST_EXPORTS) \
29772 for flag in $(EXTRA_HOST_FLAGS) ; do \
29773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29774 done; \
29775 echo "Doing distclean in make" ; \
29776 (cd $(HOST_SUBDIR)/make && \
29777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29779 "RANLIB=$${RANLIB}" \
29780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29781 distclean) \
29782 || exit 1
29784 @endif make
29786 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
29787 maybe-maintainer-clean-make:
29788 @if make
29789 maybe-maintainer-clean-make: maintainer-clean-make
29791 maintainer-clean-make:
29792 @: $(MAKE); $(unstage)
29793 @[ -f ./make/Makefile ] || exit 0; \
29794 r=`${PWD_COMMAND}`; export r; \
29795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29796 $(HOST_EXPORTS) \
29797 for flag in $(EXTRA_HOST_FLAGS) ; do \
29798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29799 done; \
29800 echo "Doing maintainer-clean in make" ; \
29801 (cd $(HOST_SUBDIR)/make && \
29802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29804 "RANLIB=$${RANLIB}" \
29805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29806 maintainer-clean) \
29807 || exit 1
29809 @endif make
29813 .PHONY: configure-mmalloc maybe-configure-mmalloc
29814 maybe-configure-mmalloc:
29815 @if gcc-bootstrap
29816 configure-mmalloc: stage_current
29817 @endif gcc-bootstrap
29818 @if mmalloc
29819 maybe-configure-mmalloc: configure-mmalloc
29820 configure-mmalloc:
29821 @: $(MAKE); $(unstage)
29822 @r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
29825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
29826 $(HOST_EXPORTS) \
29827 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
29828 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
29829 case $(srcdir) in \
29830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29831 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
29832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29833 esac; \
29834 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
29835 libsrcdir="$$s/mmalloc"; \
29836 $(SHELL) $${libsrcdir}/configure \
29837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29838 --target=${target_alias} $${srcdiroption} \
29839 || exit 1
29840 @endif mmalloc
29846 .PHONY: all-mmalloc maybe-all-mmalloc
29847 maybe-all-mmalloc:
29848 @if gcc-bootstrap
29849 all-mmalloc: stage_current
29850 @endif gcc-bootstrap
29851 @if mmalloc
29852 TARGET-mmalloc=all
29853 maybe-all-mmalloc: all-mmalloc
29854 all-mmalloc: configure-mmalloc
29855 @: $(MAKE); $(unstage)
29856 @r=`${PWD_COMMAND}`; export r; \
29857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29858 $(HOST_EXPORTS) \
29859 (cd $(HOST_SUBDIR)/mmalloc && \
29860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29861 $(TARGET-mmalloc))
29862 @endif mmalloc
29867 .PHONY: check-mmalloc maybe-check-mmalloc
29868 maybe-check-mmalloc:
29869 @if mmalloc
29870 maybe-check-mmalloc: check-mmalloc
29872 check-mmalloc:
29874 @endif mmalloc
29876 .PHONY: install-mmalloc maybe-install-mmalloc
29877 maybe-install-mmalloc:
29878 @if mmalloc
29879 maybe-install-mmalloc: install-mmalloc
29881 install-mmalloc: installdirs
29882 @: $(MAKE); $(unstage)
29883 @r=`${PWD_COMMAND}`; export r; \
29884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29885 $(HOST_EXPORTS) \
29886 (cd $(HOST_SUBDIR)/mmalloc && \
29887 $(MAKE) $(FLAGS_TO_PASS) install)
29889 @endif mmalloc
29891 # Other targets (info, dvi, pdf, etc.)
29893 .PHONY: maybe-info-mmalloc info-mmalloc
29894 maybe-info-mmalloc:
29895 @if mmalloc
29896 maybe-info-mmalloc: info-mmalloc
29898 info-mmalloc: \
29899 configure-mmalloc
29900 @: $(MAKE); $(unstage)
29901 @[ -f ./mmalloc/Makefile ] || exit 0; \
29902 r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 $(HOST_EXPORTS) \
29905 for flag in $(EXTRA_HOST_FLAGS) ; do \
29906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29907 done; \
29908 echo "Doing info in mmalloc" ; \
29909 (cd $(HOST_SUBDIR)/mmalloc && \
29910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29912 "RANLIB=$${RANLIB}" \
29913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29914 info) \
29915 || exit 1
29917 @endif mmalloc
29919 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
29920 maybe-dvi-mmalloc:
29921 @if mmalloc
29922 maybe-dvi-mmalloc: dvi-mmalloc
29924 dvi-mmalloc: \
29925 configure-mmalloc
29926 @: $(MAKE); $(unstage)
29927 @[ -f ./mmalloc/Makefile ] || exit 0; \
29928 r=`${PWD_COMMAND}`; export r; \
29929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29930 $(HOST_EXPORTS) \
29931 for flag in $(EXTRA_HOST_FLAGS) ; do \
29932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29933 done; \
29934 echo "Doing dvi in mmalloc" ; \
29935 (cd $(HOST_SUBDIR)/mmalloc && \
29936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29938 "RANLIB=$${RANLIB}" \
29939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29940 dvi) \
29941 || exit 1
29943 @endif mmalloc
29945 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
29946 maybe-pdf-mmalloc:
29947 @if mmalloc
29948 maybe-pdf-mmalloc: pdf-mmalloc
29950 pdf-mmalloc: \
29951 configure-mmalloc
29952 @: $(MAKE); $(unstage)
29953 @[ -f ./mmalloc/Makefile ] || exit 0; \
29954 r=`${PWD_COMMAND}`; export r; \
29955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29956 $(HOST_EXPORTS) \
29957 for flag in $(EXTRA_HOST_FLAGS) ; do \
29958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29959 done; \
29960 echo "Doing pdf in mmalloc" ; \
29961 (cd $(HOST_SUBDIR)/mmalloc && \
29962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29964 "RANLIB=$${RANLIB}" \
29965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29966 pdf) \
29967 || exit 1
29969 @endif mmalloc
29971 .PHONY: maybe-html-mmalloc html-mmalloc
29972 maybe-html-mmalloc:
29973 @if mmalloc
29974 maybe-html-mmalloc: html-mmalloc
29976 html-mmalloc: \
29977 configure-mmalloc
29978 @: $(MAKE); $(unstage)
29979 @[ -f ./mmalloc/Makefile ] || exit 0; \
29980 r=`${PWD_COMMAND}`; export r; \
29981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29982 $(HOST_EXPORTS) \
29983 for flag in $(EXTRA_HOST_FLAGS) ; do \
29984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29985 done; \
29986 echo "Doing html in mmalloc" ; \
29987 (cd $(HOST_SUBDIR)/mmalloc && \
29988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29990 "RANLIB=$${RANLIB}" \
29991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29992 html) \
29993 || exit 1
29995 @endif mmalloc
29997 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
29998 maybe-TAGS-mmalloc:
29999 @if mmalloc
30000 maybe-TAGS-mmalloc: TAGS-mmalloc
30002 TAGS-mmalloc: \
30003 configure-mmalloc
30004 @: $(MAKE); $(unstage)
30005 @[ -f ./mmalloc/Makefile ] || exit 0; \
30006 r=`${PWD_COMMAND}`; export r; \
30007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30008 $(HOST_EXPORTS) \
30009 for flag in $(EXTRA_HOST_FLAGS) ; do \
30010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30011 done; \
30012 echo "Doing TAGS in mmalloc" ; \
30013 (cd $(HOST_SUBDIR)/mmalloc && \
30014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30016 "RANLIB=$${RANLIB}" \
30017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30018 TAGS) \
30019 || exit 1
30021 @endif mmalloc
30023 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
30024 maybe-install-info-mmalloc:
30025 @if mmalloc
30026 maybe-install-info-mmalloc: install-info-mmalloc
30028 install-info-mmalloc: \
30029 configure-mmalloc \
30030 info-mmalloc
30031 @: $(MAKE); $(unstage)
30032 @[ -f ./mmalloc/Makefile ] || exit 0; \
30033 r=`${PWD_COMMAND}`; export r; \
30034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30035 $(HOST_EXPORTS) \
30036 for flag in $(EXTRA_HOST_FLAGS) ; do \
30037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30038 done; \
30039 echo "Doing install-info in mmalloc" ; \
30040 (cd $(HOST_SUBDIR)/mmalloc && \
30041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30043 "RANLIB=$${RANLIB}" \
30044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30045 install-info) \
30046 || exit 1
30048 @endif mmalloc
30050 .PHONY: maybe-install-pdf-mmalloc install-pdf-mmalloc
30051 maybe-install-pdf-mmalloc:
30052 @if mmalloc
30053 maybe-install-pdf-mmalloc: install-pdf-mmalloc
30055 install-pdf-mmalloc: \
30056 configure-mmalloc \
30057 pdf-mmalloc
30058 @: $(MAKE); $(unstage)
30059 @[ -f ./mmalloc/Makefile ] || exit 0; \
30060 r=`${PWD_COMMAND}`; export r; \
30061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30062 $(HOST_EXPORTS) \
30063 for flag in $(EXTRA_HOST_FLAGS) ; do \
30064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30065 done; \
30066 echo "Doing install-pdf in mmalloc" ; \
30067 (cd $(HOST_SUBDIR)/mmalloc && \
30068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30070 "RANLIB=$${RANLIB}" \
30071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30072 install-pdf) \
30073 || exit 1
30075 @endif mmalloc
30077 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
30078 maybe-install-html-mmalloc:
30079 @if mmalloc
30080 maybe-install-html-mmalloc: install-html-mmalloc
30082 install-html-mmalloc: \
30083 configure-mmalloc \
30084 html-mmalloc
30085 @: $(MAKE); $(unstage)
30086 @[ -f ./mmalloc/Makefile ] || exit 0; \
30087 r=`${PWD_COMMAND}`; export r; \
30088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30089 $(HOST_EXPORTS) \
30090 for flag in $(EXTRA_HOST_FLAGS) ; do \
30091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30092 done; \
30093 echo "Doing install-html in mmalloc" ; \
30094 (cd $(HOST_SUBDIR)/mmalloc && \
30095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30097 "RANLIB=$${RANLIB}" \
30098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30099 install-html) \
30100 || exit 1
30102 @endif mmalloc
30104 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
30105 maybe-installcheck-mmalloc:
30106 @if mmalloc
30107 maybe-installcheck-mmalloc: installcheck-mmalloc
30109 installcheck-mmalloc: \
30110 configure-mmalloc
30111 @: $(MAKE); $(unstage)
30112 @[ -f ./mmalloc/Makefile ] || exit 0; \
30113 r=`${PWD_COMMAND}`; export r; \
30114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30115 $(HOST_EXPORTS) \
30116 for flag in $(EXTRA_HOST_FLAGS) ; do \
30117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30118 done; \
30119 echo "Doing installcheck in mmalloc" ; \
30120 (cd $(HOST_SUBDIR)/mmalloc && \
30121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30123 "RANLIB=$${RANLIB}" \
30124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30125 installcheck) \
30126 || exit 1
30128 @endif mmalloc
30130 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
30131 maybe-mostlyclean-mmalloc:
30132 @if mmalloc
30133 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
30135 mostlyclean-mmalloc:
30136 @: $(MAKE); $(unstage)
30137 @[ -f ./mmalloc/Makefile ] || exit 0; \
30138 r=`${PWD_COMMAND}`; export r; \
30139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30140 $(HOST_EXPORTS) \
30141 for flag in $(EXTRA_HOST_FLAGS) ; do \
30142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30143 done; \
30144 echo "Doing mostlyclean in mmalloc" ; \
30145 (cd $(HOST_SUBDIR)/mmalloc && \
30146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30148 "RANLIB=$${RANLIB}" \
30149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30150 mostlyclean) \
30151 || exit 1
30153 @endif mmalloc
30155 .PHONY: maybe-clean-mmalloc clean-mmalloc
30156 maybe-clean-mmalloc:
30157 @if mmalloc
30158 maybe-clean-mmalloc: clean-mmalloc
30160 clean-mmalloc:
30161 @: $(MAKE); $(unstage)
30162 @[ -f ./mmalloc/Makefile ] || exit 0; \
30163 r=`${PWD_COMMAND}`; export r; \
30164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30165 $(HOST_EXPORTS) \
30166 for flag in $(EXTRA_HOST_FLAGS) ; do \
30167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30168 done; \
30169 echo "Doing clean in mmalloc" ; \
30170 (cd $(HOST_SUBDIR)/mmalloc && \
30171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30173 "RANLIB=$${RANLIB}" \
30174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30175 clean) \
30176 || exit 1
30178 @endif mmalloc
30180 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
30181 maybe-distclean-mmalloc:
30182 @if mmalloc
30183 maybe-distclean-mmalloc: distclean-mmalloc
30185 distclean-mmalloc:
30186 @: $(MAKE); $(unstage)
30187 @[ -f ./mmalloc/Makefile ] || exit 0; \
30188 r=`${PWD_COMMAND}`; export r; \
30189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30190 $(HOST_EXPORTS) \
30191 for flag in $(EXTRA_HOST_FLAGS) ; do \
30192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30193 done; \
30194 echo "Doing distclean in mmalloc" ; \
30195 (cd $(HOST_SUBDIR)/mmalloc && \
30196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30198 "RANLIB=$${RANLIB}" \
30199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30200 distclean) \
30201 || exit 1
30203 @endif mmalloc
30205 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
30206 maybe-maintainer-clean-mmalloc:
30207 @if mmalloc
30208 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
30210 maintainer-clean-mmalloc:
30211 @: $(MAKE); $(unstage)
30212 @[ -f ./mmalloc/Makefile ] || exit 0; \
30213 r=`${PWD_COMMAND}`; export r; \
30214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30215 $(HOST_EXPORTS) \
30216 for flag in $(EXTRA_HOST_FLAGS) ; do \
30217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30218 done; \
30219 echo "Doing maintainer-clean in mmalloc" ; \
30220 (cd $(HOST_SUBDIR)/mmalloc && \
30221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30223 "RANLIB=$${RANLIB}" \
30224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30225 maintainer-clean) \
30226 || exit 1
30228 @endif mmalloc
30232 .PHONY: configure-patch maybe-configure-patch
30233 maybe-configure-patch:
30234 @if gcc-bootstrap
30235 configure-patch: stage_current
30236 @endif gcc-bootstrap
30237 @if patch
30238 maybe-configure-patch: configure-patch
30239 configure-patch:
30240 @: $(MAKE); $(unstage)
30241 @r=`${PWD_COMMAND}`; export r; \
30242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30243 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
30244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
30245 $(HOST_EXPORTS) \
30246 echo Configuring in $(HOST_SUBDIR)/patch; \
30247 cd "$(HOST_SUBDIR)/patch" || exit 1; \
30248 case $(srcdir) in \
30249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30250 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
30251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30252 esac; \
30253 srcdiroption="--srcdir=$${topdir}/patch"; \
30254 libsrcdir="$$s/patch"; \
30255 $(SHELL) $${libsrcdir}/configure \
30256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30257 --target=${target_alias} $${srcdiroption} \
30258 || exit 1
30259 @endif patch
30265 .PHONY: all-patch maybe-all-patch
30266 maybe-all-patch:
30267 @if gcc-bootstrap
30268 all-patch: stage_current
30269 @endif gcc-bootstrap
30270 @if patch
30271 TARGET-patch=all
30272 maybe-all-patch: all-patch
30273 all-patch: configure-patch
30274 @: $(MAKE); $(unstage)
30275 @r=`${PWD_COMMAND}`; export r; \
30276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30277 $(HOST_EXPORTS) \
30278 (cd $(HOST_SUBDIR)/patch && \
30279 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30280 $(TARGET-patch))
30281 @endif patch
30286 .PHONY: check-patch maybe-check-patch
30287 maybe-check-patch:
30288 @if patch
30289 maybe-check-patch: check-patch
30291 check-patch:
30292 @: $(MAKE); $(unstage)
30293 @r=`${PWD_COMMAND}`; export r; \
30294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30295 $(HOST_EXPORTS) \
30296 (cd $(HOST_SUBDIR)/patch && \
30297 $(MAKE) $(FLAGS_TO_PASS) check)
30299 @endif patch
30301 .PHONY: install-patch maybe-install-patch
30302 maybe-install-patch:
30303 @if patch
30304 maybe-install-patch: install-patch
30306 install-patch: installdirs
30307 @: $(MAKE); $(unstage)
30308 @r=`${PWD_COMMAND}`; export r; \
30309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30310 $(HOST_EXPORTS) \
30311 (cd $(HOST_SUBDIR)/patch && \
30312 $(MAKE) $(FLAGS_TO_PASS) install)
30314 @endif patch
30316 # Other targets (info, dvi, pdf, etc.)
30318 .PHONY: maybe-info-patch info-patch
30319 maybe-info-patch:
30320 @if patch
30321 maybe-info-patch: info-patch
30323 info-patch: \
30324 configure-patch
30325 @: $(MAKE); $(unstage)
30326 @[ -f ./patch/Makefile ] || exit 0; \
30327 r=`${PWD_COMMAND}`; export r; \
30328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30329 $(HOST_EXPORTS) \
30330 for flag in $(EXTRA_HOST_FLAGS) ; do \
30331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30332 done; \
30333 echo "Doing info in patch" ; \
30334 (cd $(HOST_SUBDIR)/patch && \
30335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30337 "RANLIB=$${RANLIB}" \
30338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30339 info) \
30340 || exit 1
30342 @endif patch
30344 .PHONY: maybe-dvi-patch dvi-patch
30345 maybe-dvi-patch:
30346 @if patch
30347 maybe-dvi-patch: dvi-patch
30349 dvi-patch: \
30350 configure-patch
30351 @: $(MAKE); $(unstage)
30352 @[ -f ./patch/Makefile ] || exit 0; \
30353 r=`${PWD_COMMAND}`; export r; \
30354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30355 $(HOST_EXPORTS) \
30356 for flag in $(EXTRA_HOST_FLAGS) ; do \
30357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30358 done; \
30359 echo "Doing dvi in patch" ; \
30360 (cd $(HOST_SUBDIR)/patch && \
30361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30363 "RANLIB=$${RANLIB}" \
30364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30365 dvi) \
30366 || exit 1
30368 @endif patch
30370 .PHONY: maybe-pdf-patch pdf-patch
30371 maybe-pdf-patch:
30372 @if patch
30373 maybe-pdf-patch: pdf-patch
30375 pdf-patch: \
30376 configure-patch
30377 @: $(MAKE); $(unstage)
30378 @[ -f ./patch/Makefile ] || exit 0; \
30379 r=`${PWD_COMMAND}`; export r; \
30380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30381 $(HOST_EXPORTS) \
30382 for flag in $(EXTRA_HOST_FLAGS) ; do \
30383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30384 done; \
30385 echo "Doing pdf in patch" ; \
30386 (cd $(HOST_SUBDIR)/patch && \
30387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30389 "RANLIB=$${RANLIB}" \
30390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30391 pdf) \
30392 || exit 1
30394 @endif patch
30396 .PHONY: maybe-html-patch html-patch
30397 maybe-html-patch:
30398 @if patch
30399 maybe-html-patch: html-patch
30401 html-patch: \
30402 configure-patch
30403 @: $(MAKE); $(unstage)
30404 @[ -f ./patch/Makefile ] || exit 0; \
30405 r=`${PWD_COMMAND}`; export r; \
30406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30407 $(HOST_EXPORTS) \
30408 for flag in $(EXTRA_HOST_FLAGS) ; do \
30409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30410 done; \
30411 echo "Doing html in patch" ; \
30412 (cd $(HOST_SUBDIR)/patch && \
30413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30415 "RANLIB=$${RANLIB}" \
30416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30417 html) \
30418 || exit 1
30420 @endif patch
30422 .PHONY: maybe-TAGS-patch TAGS-patch
30423 maybe-TAGS-patch:
30424 @if patch
30425 maybe-TAGS-patch: TAGS-patch
30427 TAGS-patch: \
30428 configure-patch
30429 @: $(MAKE); $(unstage)
30430 @[ -f ./patch/Makefile ] || exit 0; \
30431 r=`${PWD_COMMAND}`; export r; \
30432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30433 $(HOST_EXPORTS) \
30434 for flag in $(EXTRA_HOST_FLAGS) ; do \
30435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30436 done; \
30437 echo "Doing TAGS in patch" ; \
30438 (cd $(HOST_SUBDIR)/patch && \
30439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30441 "RANLIB=$${RANLIB}" \
30442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30443 TAGS) \
30444 || exit 1
30446 @endif patch
30448 .PHONY: maybe-install-info-patch install-info-patch
30449 maybe-install-info-patch:
30450 @if patch
30451 maybe-install-info-patch: install-info-patch
30453 install-info-patch: \
30454 configure-patch \
30455 info-patch
30456 @: $(MAKE); $(unstage)
30457 @[ -f ./patch/Makefile ] || exit 0; \
30458 r=`${PWD_COMMAND}`; export r; \
30459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30460 $(HOST_EXPORTS) \
30461 for flag in $(EXTRA_HOST_FLAGS) ; do \
30462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30463 done; \
30464 echo "Doing install-info in patch" ; \
30465 (cd $(HOST_SUBDIR)/patch && \
30466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30468 "RANLIB=$${RANLIB}" \
30469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30470 install-info) \
30471 || exit 1
30473 @endif patch
30475 .PHONY: maybe-install-pdf-patch install-pdf-patch
30476 maybe-install-pdf-patch:
30477 @if patch
30478 maybe-install-pdf-patch: install-pdf-patch
30480 install-pdf-patch: \
30481 configure-patch \
30482 pdf-patch
30483 @: $(MAKE); $(unstage)
30484 @[ -f ./patch/Makefile ] || exit 0; \
30485 r=`${PWD_COMMAND}`; export r; \
30486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30487 $(HOST_EXPORTS) \
30488 for flag in $(EXTRA_HOST_FLAGS) ; do \
30489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30490 done; \
30491 echo "Doing install-pdf in patch" ; \
30492 (cd $(HOST_SUBDIR)/patch && \
30493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30495 "RANLIB=$${RANLIB}" \
30496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30497 install-pdf) \
30498 || exit 1
30500 @endif patch
30502 .PHONY: maybe-install-html-patch install-html-patch
30503 maybe-install-html-patch:
30504 @if patch
30505 maybe-install-html-patch: install-html-patch
30507 install-html-patch: \
30508 configure-patch \
30509 html-patch
30510 @: $(MAKE); $(unstage)
30511 @[ -f ./patch/Makefile ] || exit 0; \
30512 r=`${PWD_COMMAND}`; export r; \
30513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30514 $(HOST_EXPORTS) \
30515 for flag in $(EXTRA_HOST_FLAGS) ; do \
30516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30517 done; \
30518 echo "Doing install-html in patch" ; \
30519 (cd $(HOST_SUBDIR)/patch && \
30520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30522 "RANLIB=$${RANLIB}" \
30523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30524 install-html) \
30525 || exit 1
30527 @endif patch
30529 .PHONY: maybe-installcheck-patch installcheck-patch
30530 maybe-installcheck-patch:
30531 @if patch
30532 maybe-installcheck-patch: installcheck-patch
30534 installcheck-patch: \
30535 configure-patch
30536 @: $(MAKE); $(unstage)
30537 @[ -f ./patch/Makefile ] || exit 0; \
30538 r=`${PWD_COMMAND}`; export r; \
30539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30540 $(HOST_EXPORTS) \
30541 for flag in $(EXTRA_HOST_FLAGS) ; do \
30542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30543 done; \
30544 echo "Doing installcheck in patch" ; \
30545 (cd $(HOST_SUBDIR)/patch && \
30546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30548 "RANLIB=$${RANLIB}" \
30549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30550 installcheck) \
30551 || exit 1
30553 @endif patch
30555 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
30556 maybe-mostlyclean-patch:
30557 @if patch
30558 maybe-mostlyclean-patch: mostlyclean-patch
30560 mostlyclean-patch:
30561 @: $(MAKE); $(unstage)
30562 @[ -f ./patch/Makefile ] || exit 0; \
30563 r=`${PWD_COMMAND}`; export r; \
30564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30565 $(HOST_EXPORTS) \
30566 for flag in $(EXTRA_HOST_FLAGS) ; do \
30567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30568 done; \
30569 echo "Doing mostlyclean in patch" ; \
30570 (cd $(HOST_SUBDIR)/patch && \
30571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30573 "RANLIB=$${RANLIB}" \
30574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30575 mostlyclean) \
30576 || exit 1
30578 @endif patch
30580 .PHONY: maybe-clean-patch clean-patch
30581 maybe-clean-patch:
30582 @if patch
30583 maybe-clean-patch: clean-patch
30585 clean-patch:
30586 @: $(MAKE); $(unstage)
30587 @[ -f ./patch/Makefile ] || exit 0; \
30588 r=`${PWD_COMMAND}`; export r; \
30589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30590 $(HOST_EXPORTS) \
30591 for flag in $(EXTRA_HOST_FLAGS) ; do \
30592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30593 done; \
30594 echo "Doing clean in patch" ; \
30595 (cd $(HOST_SUBDIR)/patch && \
30596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30598 "RANLIB=$${RANLIB}" \
30599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30600 clean) \
30601 || exit 1
30603 @endif patch
30605 .PHONY: maybe-distclean-patch distclean-patch
30606 maybe-distclean-patch:
30607 @if patch
30608 maybe-distclean-patch: distclean-patch
30610 distclean-patch:
30611 @: $(MAKE); $(unstage)
30612 @[ -f ./patch/Makefile ] || exit 0; \
30613 r=`${PWD_COMMAND}`; export r; \
30614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30615 $(HOST_EXPORTS) \
30616 for flag in $(EXTRA_HOST_FLAGS) ; do \
30617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30618 done; \
30619 echo "Doing distclean in patch" ; \
30620 (cd $(HOST_SUBDIR)/patch && \
30621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30623 "RANLIB=$${RANLIB}" \
30624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30625 distclean) \
30626 || exit 1
30628 @endif patch
30630 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
30631 maybe-maintainer-clean-patch:
30632 @if patch
30633 maybe-maintainer-clean-patch: maintainer-clean-patch
30635 maintainer-clean-patch:
30636 @: $(MAKE); $(unstage)
30637 @[ -f ./patch/Makefile ] || exit 0; \
30638 r=`${PWD_COMMAND}`; export r; \
30639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30640 $(HOST_EXPORTS) \
30641 for flag in $(EXTRA_HOST_FLAGS) ; do \
30642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30643 done; \
30644 echo "Doing maintainer-clean in patch" ; \
30645 (cd $(HOST_SUBDIR)/patch && \
30646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30648 "RANLIB=$${RANLIB}" \
30649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30650 maintainer-clean) \
30651 || exit 1
30653 @endif patch
30657 .PHONY: configure-perl maybe-configure-perl
30658 maybe-configure-perl:
30659 @if gcc-bootstrap
30660 configure-perl: stage_current
30661 @endif gcc-bootstrap
30662 @if perl
30663 maybe-configure-perl: configure-perl
30664 configure-perl:
30665 @: $(MAKE); $(unstage)
30666 @r=`${PWD_COMMAND}`; export r; \
30667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30668 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
30669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
30670 $(HOST_EXPORTS) \
30671 echo Configuring in $(HOST_SUBDIR)/perl; \
30672 cd "$(HOST_SUBDIR)/perl" || exit 1; \
30673 case $(srcdir) in \
30674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30675 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
30676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30677 esac; \
30678 srcdiroption="--srcdir=$${topdir}/perl"; \
30679 libsrcdir="$$s/perl"; \
30680 $(SHELL) $${libsrcdir}/configure \
30681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30682 --target=${target_alias} $${srcdiroption} \
30683 || exit 1
30684 @endif perl
30690 .PHONY: all-perl maybe-all-perl
30691 maybe-all-perl:
30692 @if gcc-bootstrap
30693 all-perl: stage_current
30694 @endif gcc-bootstrap
30695 @if perl
30696 TARGET-perl=all
30697 maybe-all-perl: all-perl
30698 all-perl: configure-perl
30699 @: $(MAKE); $(unstage)
30700 @r=`${PWD_COMMAND}`; export r; \
30701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30702 $(HOST_EXPORTS) \
30703 (cd $(HOST_SUBDIR)/perl && \
30704 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30705 $(TARGET-perl))
30706 @endif perl
30711 .PHONY: check-perl maybe-check-perl
30712 maybe-check-perl:
30713 @if perl
30714 maybe-check-perl: check-perl
30716 check-perl:
30717 @: $(MAKE); $(unstage)
30718 @r=`${PWD_COMMAND}`; export r; \
30719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30720 $(HOST_EXPORTS) \
30721 (cd $(HOST_SUBDIR)/perl && \
30722 $(MAKE) $(FLAGS_TO_PASS) check)
30724 @endif perl
30726 .PHONY: install-perl maybe-install-perl
30727 maybe-install-perl:
30728 @if perl
30729 maybe-install-perl: install-perl
30731 install-perl: installdirs
30732 @: $(MAKE); $(unstage)
30733 @r=`${PWD_COMMAND}`; export r; \
30734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30735 $(HOST_EXPORTS) \
30736 (cd $(HOST_SUBDIR)/perl && \
30737 $(MAKE) $(FLAGS_TO_PASS) install)
30739 @endif perl
30741 # Other targets (info, dvi, pdf, etc.)
30743 .PHONY: maybe-info-perl info-perl
30744 maybe-info-perl:
30745 @if perl
30746 maybe-info-perl: info-perl
30748 info-perl: \
30749 configure-perl
30750 @: $(MAKE); $(unstage)
30751 @[ -f ./perl/Makefile ] || exit 0; \
30752 r=`${PWD_COMMAND}`; export r; \
30753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30754 $(HOST_EXPORTS) \
30755 for flag in $(EXTRA_HOST_FLAGS) ; do \
30756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30757 done; \
30758 echo "Doing info in perl" ; \
30759 (cd $(HOST_SUBDIR)/perl && \
30760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30762 "RANLIB=$${RANLIB}" \
30763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30764 info) \
30765 || exit 1
30767 @endif perl
30769 .PHONY: maybe-dvi-perl dvi-perl
30770 maybe-dvi-perl:
30771 @if perl
30772 maybe-dvi-perl: dvi-perl
30774 dvi-perl: \
30775 configure-perl
30776 @: $(MAKE); $(unstage)
30777 @[ -f ./perl/Makefile ] || exit 0; \
30778 r=`${PWD_COMMAND}`; export r; \
30779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30780 $(HOST_EXPORTS) \
30781 for flag in $(EXTRA_HOST_FLAGS) ; do \
30782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30783 done; \
30784 echo "Doing dvi in perl" ; \
30785 (cd $(HOST_SUBDIR)/perl && \
30786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30788 "RANLIB=$${RANLIB}" \
30789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30790 dvi) \
30791 || exit 1
30793 @endif perl
30795 .PHONY: maybe-pdf-perl pdf-perl
30796 maybe-pdf-perl:
30797 @if perl
30798 maybe-pdf-perl: pdf-perl
30800 pdf-perl: \
30801 configure-perl
30802 @: $(MAKE); $(unstage)
30803 @[ -f ./perl/Makefile ] || exit 0; \
30804 r=`${PWD_COMMAND}`; export r; \
30805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30806 $(HOST_EXPORTS) \
30807 for flag in $(EXTRA_HOST_FLAGS) ; do \
30808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30809 done; \
30810 echo "Doing pdf in perl" ; \
30811 (cd $(HOST_SUBDIR)/perl && \
30812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30814 "RANLIB=$${RANLIB}" \
30815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30816 pdf) \
30817 || exit 1
30819 @endif perl
30821 .PHONY: maybe-html-perl html-perl
30822 maybe-html-perl:
30823 @if perl
30824 maybe-html-perl: html-perl
30826 html-perl: \
30827 configure-perl
30828 @: $(MAKE); $(unstage)
30829 @[ -f ./perl/Makefile ] || exit 0; \
30830 r=`${PWD_COMMAND}`; export r; \
30831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30832 $(HOST_EXPORTS) \
30833 for flag in $(EXTRA_HOST_FLAGS) ; do \
30834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30835 done; \
30836 echo "Doing html in perl" ; \
30837 (cd $(HOST_SUBDIR)/perl && \
30838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30840 "RANLIB=$${RANLIB}" \
30841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30842 html) \
30843 || exit 1
30845 @endif perl
30847 .PHONY: maybe-TAGS-perl TAGS-perl
30848 maybe-TAGS-perl:
30849 @if perl
30850 maybe-TAGS-perl: TAGS-perl
30852 TAGS-perl: \
30853 configure-perl
30854 @: $(MAKE); $(unstage)
30855 @[ -f ./perl/Makefile ] || exit 0; \
30856 r=`${PWD_COMMAND}`; export r; \
30857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30858 $(HOST_EXPORTS) \
30859 for flag in $(EXTRA_HOST_FLAGS) ; do \
30860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30861 done; \
30862 echo "Doing TAGS in perl" ; \
30863 (cd $(HOST_SUBDIR)/perl && \
30864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30866 "RANLIB=$${RANLIB}" \
30867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30868 TAGS) \
30869 || exit 1
30871 @endif perl
30873 .PHONY: maybe-install-info-perl install-info-perl
30874 maybe-install-info-perl:
30875 @if perl
30876 maybe-install-info-perl: install-info-perl
30878 install-info-perl: \
30879 configure-perl \
30880 info-perl
30881 @: $(MAKE); $(unstage)
30882 @[ -f ./perl/Makefile ] || exit 0; \
30883 r=`${PWD_COMMAND}`; export r; \
30884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30885 $(HOST_EXPORTS) \
30886 for flag in $(EXTRA_HOST_FLAGS) ; do \
30887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30888 done; \
30889 echo "Doing install-info in perl" ; \
30890 (cd $(HOST_SUBDIR)/perl && \
30891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30893 "RANLIB=$${RANLIB}" \
30894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30895 install-info) \
30896 || exit 1
30898 @endif perl
30900 .PHONY: maybe-install-pdf-perl install-pdf-perl
30901 maybe-install-pdf-perl:
30902 @if perl
30903 maybe-install-pdf-perl: install-pdf-perl
30905 install-pdf-perl: \
30906 configure-perl \
30907 pdf-perl
30908 @: $(MAKE); $(unstage)
30909 @[ -f ./perl/Makefile ] || exit 0; \
30910 r=`${PWD_COMMAND}`; export r; \
30911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30912 $(HOST_EXPORTS) \
30913 for flag in $(EXTRA_HOST_FLAGS) ; do \
30914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30915 done; \
30916 echo "Doing install-pdf in perl" ; \
30917 (cd $(HOST_SUBDIR)/perl && \
30918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30920 "RANLIB=$${RANLIB}" \
30921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30922 install-pdf) \
30923 || exit 1
30925 @endif perl
30927 .PHONY: maybe-install-html-perl install-html-perl
30928 maybe-install-html-perl:
30929 @if perl
30930 maybe-install-html-perl: install-html-perl
30932 install-html-perl: \
30933 configure-perl \
30934 html-perl
30935 @: $(MAKE); $(unstage)
30936 @[ -f ./perl/Makefile ] || exit 0; \
30937 r=`${PWD_COMMAND}`; export r; \
30938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30939 $(HOST_EXPORTS) \
30940 for flag in $(EXTRA_HOST_FLAGS) ; do \
30941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30942 done; \
30943 echo "Doing install-html in perl" ; \
30944 (cd $(HOST_SUBDIR)/perl && \
30945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30947 "RANLIB=$${RANLIB}" \
30948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30949 install-html) \
30950 || exit 1
30952 @endif perl
30954 .PHONY: maybe-installcheck-perl installcheck-perl
30955 maybe-installcheck-perl:
30956 @if perl
30957 maybe-installcheck-perl: installcheck-perl
30959 installcheck-perl: \
30960 configure-perl
30961 @: $(MAKE); $(unstage)
30962 @[ -f ./perl/Makefile ] || exit 0; \
30963 r=`${PWD_COMMAND}`; export r; \
30964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30965 $(HOST_EXPORTS) \
30966 for flag in $(EXTRA_HOST_FLAGS) ; do \
30967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30968 done; \
30969 echo "Doing installcheck in perl" ; \
30970 (cd $(HOST_SUBDIR)/perl && \
30971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30973 "RANLIB=$${RANLIB}" \
30974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30975 installcheck) \
30976 || exit 1
30978 @endif perl
30980 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
30981 maybe-mostlyclean-perl:
30982 @if perl
30983 maybe-mostlyclean-perl: mostlyclean-perl
30985 mostlyclean-perl:
30986 @: $(MAKE); $(unstage)
30987 @[ -f ./perl/Makefile ] || exit 0; \
30988 r=`${PWD_COMMAND}`; export r; \
30989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30990 $(HOST_EXPORTS) \
30991 for flag in $(EXTRA_HOST_FLAGS) ; do \
30992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30993 done; \
30994 echo "Doing mostlyclean in perl" ; \
30995 (cd $(HOST_SUBDIR)/perl && \
30996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30998 "RANLIB=$${RANLIB}" \
30999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31000 mostlyclean) \
31001 || exit 1
31003 @endif perl
31005 .PHONY: maybe-clean-perl clean-perl
31006 maybe-clean-perl:
31007 @if perl
31008 maybe-clean-perl: clean-perl
31010 clean-perl:
31011 @: $(MAKE); $(unstage)
31012 @[ -f ./perl/Makefile ] || exit 0; \
31013 r=`${PWD_COMMAND}`; export r; \
31014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31015 $(HOST_EXPORTS) \
31016 for flag in $(EXTRA_HOST_FLAGS) ; do \
31017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31018 done; \
31019 echo "Doing clean in perl" ; \
31020 (cd $(HOST_SUBDIR)/perl && \
31021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31023 "RANLIB=$${RANLIB}" \
31024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31025 clean) \
31026 || exit 1
31028 @endif perl
31030 .PHONY: maybe-distclean-perl distclean-perl
31031 maybe-distclean-perl:
31032 @if perl
31033 maybe-distclean-perl: distclean-perl
31035 distclean-perl:
31036 @: $(MAKE); $(unstage)
31037 @[ -f ./perl/Makefile ] || exit 0; \
31038 r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(HOST_EXPORTS) \
31041 for flag in $(EXTRA_HOST_FLAGS) ; do \
31042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31043 done; \
31044 echo "Doing distclean in perl" ; \
31045 (cd $(HOST_SUBDIR)/perl && \
31046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31048 "RANLIB=$${RANLIB}" \
31049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31050 distclean) \
31051 || exit 1
31053 @endif perl
31055 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
31056 maybe-maintainer-clean-perl:
31057 @if perl
31058 maybe-maintainer-clean-perl: maintainer-clean-perl
31060 maintainer-clean-perl:
31061 @: $(MAKE); $(unstage)
31062 @[ -f ./perl/Makefile ] || exit 0; \
31063 r=`${PWD_COMMAND}`; export r; \
31064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31065 $(HOST_EXPORTS) \
31066 for flag in $(EXTRA_HOST_FLAGS) ; do \
31067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31068 done; \
31069 echo "Doing maintainer-clean in perl" ; \
31070 (cd $(HOST_SUBDIR)/perl && \
31071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31073 "RANLIB=$${RANLIB}" \
31074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31075 maintainer-clean) \
31076 || exit 1
31078 @endif perl
31082 .PHONY: configure-prms maybe-configure-prms
31083 maybe-configure-prms:
31084 @if gcc-bootstrap
31085 configure-prms: stage_current
31086 @endif gcc-bootstrap
31087 @if prms
31088 maybe-configure-prms: configure-prms
31089 configure-prms:
31090 @: $(MAKE); $(unstage)
31091 @r=`${PWD_COMMAND}`; export r; \
31092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31093 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
31094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
31095 $(HOST_EXPORTS) \
31096 echo Configuring in $(HOST_SUBDIR)/prms; \
31097 cd "$(HOST_SUBDIR)/prms" || exit 1; \
31098 case $(srcdir) in \
31099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31100 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
31101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31102 esac; \
31103 srcdiroption="--srcdir=$${topdir}/prms"; \
31104 libsrcdir="$$s/prms"; \
31105 $(SHELL) $${libsrcdir}/configure \
31106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31107 --target=${target_alias} $${srcdiroption} \
31108 || exit 1
31109 @endif prms
31115 .PHONY: all-prms maybe-all-prms
31116 maybe-all-prms:
31117 @if gcc-bootstrap
31118 all-prms: stage_current
31119 @endif gcc-bootstrap
31120 @if prms
31121 TARGET-prms=all
31122 maybe-all-prms: all-prms
31123 all-prms: configure-prms
31124 @: $(MAKE); $(unstage)
31125 @r=`${PWD_COMMAND}`; export r; \
31126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31127 $(HOST_EXPORTS) \
31128 (cd $(HOST_SUBDIR)/prms && \
31129 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31130 $(TARGET-prms))
31131 @endif prms
31136 .PHONY: check-prms maybe-check-prms
31137 maybe-check-prms:
31138 @if prms
31139 maybe-check-prms: check-prms
31141 check-prms:
31142 @: $(MAKE); $(unstage)
31143 @r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(HOST_EXPORTS) \
31146 (cd $(HOST_SUBDIR)/prms && \
31147 $(MAKE) $(FLAGS_TO_PASS) check)
31149 @endif prms
31151 .PHONY: install-prms maybe-install-prms
31152 maybe-install-prms:
31153 @if prms
31154 maybe-install-prms: install-prms
31156 install-prms: installdirs
31157 @: $(MAKE); $(unstage)
31158 @r=`${PWD_COMMAND}`; export r; \
31159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31160 $(HOST_EXPORTS) \
31161 (cd $(HOST_SUBDIR)/prms && \
31162 $(MAKE) $(FLAGS_TO_PASS) install)
31164 @endif prms
31166 # Other targets (info, dvi, pdf, etc.)
31168 .PHONY: maybe-info-prms info-prms
31169 maybe-info-prms:
31170 @if prms
31171 maybe-info-prms: info-prms
31173 info-prms: \
31174 configure-prms
31175 @: $(MAKE); $(unstage)
31176 @[ -f ./prms/Makefile ] || exit 0; \
31177 r=`${PWD_COMMAND}`; export r; \
31178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31179 $(HOST_EXPORTS) \
31180 for flag in $(EXTRA_HOST_FLAGS) ; do \
31181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31182 done; \
31183 echo "Doing info in prms" ; \
31184 (cd $(HOST_SUBDIR)/prms && \
31185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31187 "RANLIB=$${RANLIB}" \
31188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31189 info) \
31190 || exit 1
31192 @endif prms
31194 .PHONY: maybe-dvi-prms dvi-prms
31195 maybe-dvi-prms:
31196 @if prms
31197 maybe-dvi-prms: dvi-prms
31199 dvi-prms: \
31200 configure-prms
31201 @: $(MAKE); $(unstage)
31202 @[ -f ./prms/Makefile ] || exit 0; \
31203 r=`${PWD_COMMAND}`; export r; \
31204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31205 $(HOST_EXPORTS) \
31206 for flag in $(EXTRA_HOST_FLAGS) ; do \
31207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31208 done; \
31209 echo "Doing dvi in prms" ; \
31210 (cd $(HOST_SUBDIR)/prms && \
31211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31213 "RANLIB=$${RANLIB}" \
31214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31215 dvi) \
31216 || exit 1
31218 @endif prms
31220 .PHONY: maybe-pdf-prms pdf-prms
31221 maybe-pdf-prms:
31222 @if prms
31223 maybe-pdf-prms: pdf-prms
31225 pdf-prms: \
31226 configure-prms
31227 @: $(MAKE); $(unstage)
31228 @[ -f ./prms/Makefile ] || exit 0; \
31229 r=`${PWD_COMMAND}`; export r; \
31230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31231 $(HOST_EXPORTS) \
31232 for flag in $(EXTRA_HOST_FLAGS) ; do \
31233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31234 done; \
31235 echo "Doing pdf in prms" ; \
31236 (cd $(HOST_SUBDIR)/prms && \
31237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31239 "RANLIB=$${RANLIB}" \
31240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31241 pdf) \
31242 || exit 1
31244 @endif prms
31246 .PHONY: maybe-html-prms html-prms
31247 maybe-html-prms:
31248 @if prms
31249 maybe-html-prms: html-prms
31251 html-prms: \
31252 configure-prms
31253 @: $(MAKE); $(unstage)
31254 @[ -f ./prms/Makefile ] || exit 0; \
31255 r=`${PWD_COMMAND}`; export r; \
31256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31257 $(HOST_EXPORTS) \
31258 for flag in $(EXTRA_HOST_FLAGS) ; do \
31259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31260 done; \
31261 echo "Doing html in prms" ; \
31262 (cd $(HOST_SUBDIR)/prms && \
31263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31265 "RANLIB=$${RANLIB}" \
31266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31267 html) \
31268 || exit 1
31270 @endif prms
31272 .PHONY: maybe-TAGS-prms TAGS-prms
31273 maybe-TAGS-prms:
31274 @if prms
31275 maybe-TAGS-prms: TAGS-prms
31277 TAGS-prms: \
31278 configure-prms
31279 @: $(MAKE); $(unstage)
31280 @[ -f ./prms/Makefile ] || exit 0; \
31281 r=`${PWD_COMMAND}`; export r; \
31282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31283 $(HOST_EXPORTS) \
31284 for flag in $(EXTRA_HOST_FLAGS) ; do \
31285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31286 done; \
31287 echo "Doing TAGS in prms" ; \
31288 (cd $(HOST_SUBDIR)/prms && \
31289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31291 "RANLIB=$${RANLIB}" \
31292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31293 TAGS) \
31294 || exit 1
31296 @endif prms
31298 .PHONY: maybe-install-info-prms install-info-prms
31299 maybe-install-info-prms:
31300 @if prms
31301 maybe-install-info-prms: install-info-prms
31303 install-info-prms: \
31304 configure-prms \
31305 info-prms
31306 @: $(MAKE); $(unstage)
31307 @[ -f ./prms/Makefile ] || exit 0; \
31308 r=`${PWD_COMMAND}`; export r; \
31309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31310 $(HOST_EXPORTS) \
31311 for flag in $(EXTRA_HOST_FLAGS) ; do \
31312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31313 done; \
31314 echo "Doing install-info in prms" ; \
31315 (cd $(HOST_SUBDIR)/prms && \
31316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31318 "RANLIB=$${RANLIB}" \
31319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31320 install-info) \
31321 || exit 1
31323 @endif prms
31325 .PHONY: maybe-install-pdf-prms install-pdf-prms
31326 maybe-install-pdf-prms:
31327 @if prms
31328 maybe-install-pdf-prms: install-pdf-prms
31330 install-pdf-prms: \
31331 configure-prms \
31332 pdf-prms
31333 @: $(MAKE); $(unstage)
31334 @[ -f ./prms/Makefile ] || exit 0; \
31335 r=`${PWD_COMMAND}`; export r; \
31336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31337 $(HOST_EXPORTS) \
31338 for flag in $(EXTRA_HOST_FLAGS) ; do \
31339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31340 done; \
31341 echo "Doing install-pdf in prms" ; \
31342 (cd $(HOST_SUBDIR)/prms && \
31343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31345 "RANLIB=$${RANLIB}" \
31346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31347 install-pdf) \
31348 || exit 1
31350 @endif prms
31352 .PHONY: maybe-install-html-prms install-html-prms
31353 maybe-install-html-prms:
31354 @if prms
31355 maybe-install-html-prms: install-html-prms
31357 install-html-prms: \
31358 configure-prms \
31359 html-prms
31360 @: $(MAKE); $(unstage)
31361 @[ -f ./prms/Makefile ] || exit 0; \
31362 r=`${PWD_COMMAND}`; export r; \
31363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31364 $(HOST_EXPORTS) \
31365 for flag in $(EXTRA_HOST_FLAGS) ; do \
31366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31367 done; \
31368 echo "Doing install-html in prms" ; \
31369 (cd $(HOST_SUBDIR)/prms && \
31370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31372 "RANLIB=$${RANLIB}" \
31373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31374 install-html) \
31375 || exit 1
31377 @endif prms
31379 .PHONY: maybe-installcheck-prms installcheck-prms
31380 maybe-installcheck-prms:
31381 @if prms
31382 maybe-installcheck-prms: installcheck-prms
31384 installcheck-prms: \
31385 configure-prms
31386 @: $(MAKE); $(unstage)
31387 @[ -f ./prms/Makefile ] || exit 0; \
31388 r=`${PWD_COMMAND}`; export r; \
31389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31390 $(HOST_EXPORTS) \
31391 for flag in $(EXTRA_HOST_FLAGS) ; do \
31392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31393 done; \
31394 echo "Doing installcheck in prms" ; \
31395 (cd $(HOST_SUBDIR)/prms && \
31396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31398 "RANLIB=$${RANLIB}" \
31399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31400 installcheck) \
31401 || exit 1
31403 @endif prms
31405 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
31406 maybe-mostlyclean-prms:
31407 @if prms
31408 maybe-mostlyclean-prms: mostlyclean-prms
31410 mostlyclean-prms:
31411 @: $(MAKE); $(unstage)
31412 @[ -f ./prms/Makefile ] || exit 0; \
31413 r=`${PWD_COMMAND}`; export r; \
31414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31415 $(HOST_EXPORTS) \
31416 for flag in $(EXTRA_HOST_FLAGS) ; do \
31417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31418 done; \
31419 echo "Doing mostlyclean in prms" ; \
31420 (cd $(HOST_SUBDIR)/prms && \
31421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31423 "RANLIB=$${RANLIB}" \
31424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31425 mostlyclean) \
31426 || exit 1
31428 @endif prms
31430 .PHONY: maybe-clean-prms clean-prms
31431 maybe-clean-prms:
31432 @if prms
31433 maybe-clean-prms: clean-prms
31435 clean-prms:
31436 @: $(MAKE); $(unstage)
31437 @[ -f ./prms/Makefile ] || exit 0; \
31438 r=`${PWD_COMMAND}`; export r; \
31439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31440 $(HOST_EXPORTS) \
31441 for flag in $(EXTRA_HOST_FLAGS) ; do \
31442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31443 done; \
31444 echo "Doing clean in prms" ; \
31445 (cd $(HOST_SUBDIR)/prms && \
31446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31448 "RANLIB=$${RANLIB}" \
31449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31450 clean) \
31451 || exit 1
31453 @endif prms
31455 .PHONY: maybe-distclean-prms distclean-prms
31456 maybe-distclean-prms:
31457 @if prms
31458 maybe-distclean-prms: distclean-prms
31460 distclean-prms:
31461 @: $(MAKE); $(unstage)
31462 @[ -f ./prms/Makefile ] || exit 0; \
31463 r=`${PWD_COMMAND}`; export r; \
31464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31465 $(HOST_EXPORTS) \
31466 for flag in $(EXTRA_HOST_FLAGS) ; do \
31467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31468 done; \
31469 echo "Doing distclean in prms" ; \
31470 (cd $(HOST_SUBDIR)/prms && \
31471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31473 "RANLIB=$${RANLIB}" \
31474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31475 distclean) \
31476 || exit 1
31478 @endif prms
31480 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
31481 maybe-maintainer-clean-prms:
31482 @if prms
31483 maybe-maintainer-clean-prms: maintainer-clean-prms
31485 maintainer-clean-prms:
31486 @: $(MAKE); $(unstage)
31487 @[ -f ./prms/Makefile ] || exit 0; \
31488 r=`${PWD_COMMAND}`; export r; \
31489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31490 $(HOST_EXPORTS) \
31491 for flag in $(EXTRA_HOST_FLAGS) ; do \
31492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31493 done; \
31494 echo "Doing maintainer-clean in prms" ; \
31495 (cd $(HOST_SUBDIR)/prms && \
31496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31498 "RANLIB=$${RANLIB}" \
31499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31500 maintainer-clean) \
31501 || exit 1
31503 @endif prms
31507 .PHONY: configure-rcs maybe-configure-rcs
31508 maybe-configure-rcs:
31509 @if gcc-bootstrap
31510 configure-rcs: stage_current
31511 @endif gcc-bootstrap
31512 @if rcs
31513 maybe-configure-rcs: configure-rcs
31514 configure-rcs:
31515 @: $(MAKE); $(unstage)
31516 @r=`${PWD_COMMAND}`; export r; \
31517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31518 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
31519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
31520 $(HOST_EXPORTS) \
31521 echo Configuring in $(HOST_SUBDIR)/rcs; \
31522 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
31523 case $(srcdir) in \
31524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31525 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
31526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31527 esac; \
31528 srcdiroption="--srcdir=$${topdir}/rcs"; \
31529 libsrcdir="$$s/rcs"; \
31530 $(SHELL) $${libsrcdir}/configure \
31531 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31532 --target=${target_alias} $${srcdiroption} \
31533 || exit 1
31534 @endif rcs
31540 .PHONY: all-rcs maybe-all-rcs
31541 maybe-all-rcs:
31542 @if gcc-bootstrap
31543 all-rcs: stage_current
31544 @endif gcc-bootstrap
31545 @if rcs
31546 TARGET-rcs=all
31547 maybe-all-rcs: all-rcs
31548 all-rcs: configure-rcs
31549 @: $(MAKE); $(unstage)
31550 @r=`${PWD_COMMAND}`; export r; \
31551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31552 $(HOST_EXPORTS) \
31553 (cd $(HOST_SUBDIR)/rcs && \
31554 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31555 $(TARGET-rcs))
31556 @endif rcs
31561 .PHONY: check-rcs maybe-check-rcs
31562 maybe-check-rcs:
31563 @if rcs
31564 maybe-check-rcs: check-rcs
31566 check-rcs:
31567 @: $(MAKE); $(unstage)
31568 @r=`${PWD_COMMAND}`; export r; \
31569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31570 $(HOST_EXPORTS) \
31571 (cd $(HOST_SUBDIR)/rcs && \
31572 $(MAKE) $(FLAGS_TO_PASS) check)
31574 @endif rcs
31576 .PHONY: install-rcs maybe-install-rcs
31577 maybe-install-rcs:
31578 @if rcs
31579 maybe-install-rcs: install-rcs
31581 install-rcs: installdirs
31582 @: $(MAKE); $(unstage)
31583 @r=`${PWD_COMMAND}`; export r; \
31584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31585 $(HOST_EXPORTS) \
31586 (cd $(HOST_SUBDIR)/rcs && \
31587 $(MAKE) $(FLAGS_TO_PASS) install)
31589 @endif rcs
31591 # Other targets (info, dvi, pdf, etc.)
31593 .PHONY: maybe-info-rcs info-rcs
31594 maybe-info-rcs:
31595 @if rcs
31596 maybe-info-rcs: info-rcs
31598 info-rcs: \
31599 configure-rcs
31600 @: $(MAKE); $(unstage)
31601 @[ -f ./rcs/Makefile ] || exit 0; \
31602 r=`${PWD_COMMAND}`; export r; \
31603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31604 $(HOST_EXPORTS) \
31605 for flag in $(EXTRA_HOST_FLAGS) ; do \
31606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31607 done; \
31608 echo "Doing info in rcs" ; \
31609 (cd $(HOST_SUBDIR)/rcs && \
31610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31612 "RANLIB=$${RANLIB}" \
31613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31614 info) \
31615 || exit 1
31617 @endif rcs
31619 .PHONY: maybe-dvi-rcs dvi-rcs
31620 maybe-dvi-rcs:
31621 @if rcs
31622 maybe-dvi-rcs: dvi-rcs
31624 dvi-rcs: \
31625 configure-rcs
31626 @: $(MAKE); $(unstage)
31627 @[ -f ./rcs/Makefile ] || exit 0; \
31628 r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 $(HOST_EXPORTS) \
31631 for flag in $(EXTRA_HOST_FLAGS) ; do \
31632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31633 done; \
31634 echo "Doing dvi in rcs" ; \
31635 (cd $(HOST_SUBDIR)/rcs && \
31636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31638 "RANLIB=$${RANLIB}" \
31639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31640 dvi) \
31641 || exit 1
31643 @endif rcs
31645 .PHONY: maybe-pdf-rcs pdf-rcs
31646 maybe-pdf-rcs:
31647 @if rcs
31648 maybe-pdf-rcs: pdf-rcs
31650 pdf-rcs: \
31651 configure-rcs
31652 @: $(MAKE); $(unstage)
31653 @[ -f ./rcs/Makefile ] || exit 0; \
31654 r=`${PWD_COMMAND}`; export r; \
31655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31656 $(HOST_EXPORTS) \
31657 for flag in $(EXTRA_HOST_FLAGS) ; do \
31658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31659 done; \
31660 echo "Doing pdf in rcs" ; \
31661 (cd $(HOST_SUBDIR)/rcs && \
31662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31664 "RANLIB=$${RANLIB}" \
31665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31666 pdf) \
31667 || exit 1
31669 @endif rcs
31671 .PHONY: maybe-html-rcs html-rcs
31672 maybe-html-rcs:
31673 @if rcs
31674 maybe-html-rcs: html-rcs
31676 html-rcs: \
31677 configure-rcs
31678 @: $(MAKE); $(unstage)
31679 @[ -f ./rcs/Makefile ] || exit 0; \
31680 r=`${PWD_COMMAND}`; export r; \
31681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31682 $(HOST_EXPORTS) \
31683 for flag in $(EXTRA_HOST_FLAGS) ; do \
31684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31685 done; \
31686 echo "Doing html in rcs" ; \
31687 (cd $(HOST_SUBDIR)/rcs && \
31688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31690 "RANLIB=$${RANLIB}" \
31691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31692 html) \
31693 || exit 1
31695 @endif rcs
31697 .PHONY: maybe-TAGS-rcs TAGS-rcs
31698 maybe-TAGS-rcs:
31699 @if rcs
31700 maybe-TAGS-rcs: TAGS-rcs
31702 TAGS-rcs: \
31703 configure-rcs
31704 @: $(MAKE); $(unstage)
31705 @[ -f ./rcs/Makefile ] || exit 0; \
31706 r=`${PWD_COMMAND}`; export r; \
31707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31708 $(HOST_EXPORTS) \
31709 for flag in $(EXTRA_HOST_FLAGS) ; do \
31710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31711 done; \
31712 echo "Doing TAGS in rcs" ; \
31713 (cd $(HOST_SUBDIR)/rcs && \
31714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31716 "RANLIB=$${RANLIB}" \
31717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31718 TAGS) \
31719 || exit 1
31721 @endif rcs
31723 .PHONY: maybe-install-info-rcs install-info-rcs
31724 maybe-install-info-rcs:
31725 @if rcs
31726 maybe-install-info-rcs: install-info-rcs
31728 install-info-rcs: \
31729 configure-rcs \
31730 info-rcs
31731 @: $(MAKE); $(unstage)
31732 @[ -f ./rcs/Makefile ] || exit 0; \
31733 r=`${PWD_COMMAND}`; export r; \
31734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31735 $(HOST_EXPORTS) \
31736 for flag in $(EXTRA_HOST_FLAGS) ; do \
31737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31738 done; \
31739 echo "Doing install-info in rcs" ; \
31740 (cd $(HOST_SUBDIR)/rcs && \
31741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31743 "RANLIB=$${RANLIB}" \
31744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31745 install-info) \
31746 || exit 1
31748 @endif rcs
31750 .PHONY: maybe-install-pdf-rcs install-pdf-rcs
31751 maybe-install-pdf-rcs:
31752 @if rcs
31753 maybe-install-pdf-rcs: install-pdf-rcs
31755 install-pdf-rcs: \
31756 configure-rcs \
31757 pdf-rcs
31758 @: $(MAKE); $(unstage)
31759 @[ -f ./rcs/Makefile ] || exit 0; \
31760 r=`${PWD_COMMAND}`; export r; \
31761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31762 $(HOST_EXPORTS) \
31763 for flag in $(EXTRA_HOST_FLAGS) ; do \
31764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31765 done; \
31766 echo "Doing install-pdf in rcs" ; \
31767 (cd $(HOST_SUBDIR)/rcs && \
31768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31770 "RANLIB=$${RANLIB}" \
31771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31772 install-pdf) \
31773 || exit 1
31775 @endif rcs
31777 .PHONY: maybe-install-html-rcs install-html-rcs
31778 maybe-install-html-rcs:
31779 @if rcs
31780 maybe-install-html-rcs: install-html-rcs
31782 install-html-rcs: \
31783 configure-rcs \
31784 html-rcs
31785 @: $(MAKE); $(unstage)
31786 @[ -f ./rcs/Makefile ] || exit 0; \
31787 r=`${PWD_COMMAND}`; export r; \
31788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31789 $(HOST_EXPORTS) \
31790 for flag in $(EXTRA_HOST_FLAGS) ; do \
31791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31792 done; \
31793 echo "Doing install-html in rcs" ; \
31794 (cd $(HOST_SUBDIR)/rcs && \
31795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31797 "RANLIB=$${RANLIB}" \
31798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31799 install-html) \
31800 || exit 1
31802 @endif rcs
31804 .PHONY: maybe-installcheck-rcs installcheck-rcs
31805 maybe-installcheck-rcs:
31806 @if rcs
31807 maybe-installcheck-rcs: installcheck-rcs
31809 installcheck-rcs: \
31810 configure-rcs
31811 @: $(MAKE); $(unstage)
31812 @[ -f ./rcs/Makefile ] || exit 0; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(HOST_EXPORTS) \
31816 for flag in $(EXTRA_HOST_FLAGS) ; do \
31817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31818 done; \
31819 echo "Doing installcheck in rcs" ; \
31820 (cd $(HOST_SUBDIR)/rcs && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31825 installcheck) \
31826 || exit 1
31828 @endif rcs
31830 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
31831 maybe-mostlyclean-rcs:
31832 @if rcs
31833 maybe-mostlyclean-rcs: mostlyclean-rcs
31835 mostlyclean-rcs:
31836 @: $(MAKE); $(unstage)
31837 @[ -f ./rcs/Makefile ] || exit 0; \
31838 r=`${PWD_COMMAND}`; export r; \
31839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31840 $(HOST_EXPORTS) \
31841 for flag in $(EXTRA_HOST_FLAGS) ; do \
31842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31843 done; \
31844 echo "Doing mostlyclean in rcs" ; \
31845 (cd $(HOST_SUBDIR)/rcs && \
31846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31848 "RANLIB=$${RANLIB}" \
31849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31850 mostlyclean) \
31851 || exit 1
31853 @endif rcs
31855 .PHONY: maybe-clean-rcs clean-rcs
31856 maybe-clean-rcs:
31857 @if rcs
31858 maybe-clean-rcs: clean-rcs
31860 clean-rcs:
31861 @: $(MAKE); $(unstage)
31862 @[ -f ./rcs/Makefile ] || exit 0; \
31863 r=`${PWD_COMMAND}`; export r; \
31864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31865 $(HOST_EXPORTS) \
31866 for flag in $(EXTRA_HOST_FLAGS) ; do \
31867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31868 done; \
31869 echo "Doing clean in rcs" ; \
31870 (cd $(HOST_SUBDIR)/rcs && \
31871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31873 "RANLIB=$${RANLIB}" \
31874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31875 clean) \
31876 || exit 1
31878 @endif rcs
31880 .PHONY: maybe-distclean-rcs distclean-rcs
31881 maybe-distclean-rcs:
31882 @if rcs
31883 maybe-distclean-rcs: distclean-rcs
31885 distclean-rcs:
31886 @: $(MAKE); $(unstage)
31887 @[ -f ./rcs/Makefile ] || exit 0; \
31888 r=`${PWD_COMMAND}`; export r; \
31889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31890 $(HOST_EXPORTS) \
31891 for flag in $(EXTRA_HOST_FLAGS) ; do \
31892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31893 done; \
31894 echo "Doing distclean in rcs" ; \
31895 (cd $(HOST_SUBDIR)/rcs && \
31896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31898 "RANLIB=$${RANLIB}" \
31899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31900 distclean) \
31901 || exit 1
31903 @endif rcs
31905 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
31906 maybe-maintainer-clean-rcs:
31907 @if rcs
31908 maybe-maintainer-clean-rcs: maintainer-clean-rcs
31910 maintainer-clean-rcs:
31911 @: $(MAKE); $(unstage)
31912 @[ -f ./rcs/Makefile ] || exit 0; \
31913 r=`${PWD_COMMAND}`; export r; \
31914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31915 $(HOST_EXPORTS) \
31916 for flag in $(EXTRA_HOST_FLAGS) ; do \
31917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31918 done; \
31919 echo "Doing maintainer-clean in rcs" ; \
31920 (cd $(HOST_SUBDIR)/rcs && \
31921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31923 "RANLIB=$${RANLIB}" \
31924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31925 maintainer-clean) \
31926 || exit 1
31928 @endif rcs
31932 .PHONY: configure-readline maybe-configure-readline
31933 maybe-configure-readline:
31934 @if gcc-bootstrap
31935 configure-readline: stage_current
31936 @endif gcc-bootstrap
31937 @if readline
31938 maybe-configure-readline: configure-readline
31939 configure-readline:
31940 @: $(MAKE); $(unstage)
31941 @r=`${PWD_COMMAND}`; export r; \
31942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31943 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
31944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
31945 $(HOST_EXPORTS) \
31946 echo Configuring in $(HOST_SUBDIR)/readline; \
31947 cd "$(HOST_SUBDIR)/readline" || exit 1; \
31948 case $(srcdir) in \
31949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31950 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
31951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31952 esac; \
31953 srcdiroption="--srcdir=$${topdir}/readline"; \
31954 libsrcdir="$$s/readline"; \
31955 $(SHELL) $${libsrcdir}/configure \
31956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31957 --target=${target_alias} $${srcdiroption} \
31958 || exit 1
31959 @endif readline
31965 .PHONY: all-readline maybe-all-readline
31966 maybe-all-readline:
31967 @if gcc-bootstrap
31968 all-readline: stage_current
31969 @endif gcc-bootstrap
31970 @if readline
31971 TARGET-readline=all
31972 maybe-all-readline: all-readline
31973 all-readline: configure-readline
31974 @: $(MAKE); $(unstage)
31975 @r=`${PWD_COMMAND}`; export r; \
31976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31977 $(HOST_EXPORTS) \
31978 (cd $(HOST_SUBDIR)/readline && \
31979 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31980 $(TARGET-readline))
31981 @endif readline
31986 .PHONY: check-readline maybe-check-readline
31987 maybe-check-readline:
31988 @if readline
31989 maybe-check-readline: check-readline
31991 check-readline:
31992 @: $(MAKE); $(unstage)
31993 @r=`${PWD_COMMAND}`; export r; \
31994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31995 $(HOST_EXPORTS) \
31996 (cd $(HOST_SUBDIR)/readline && \
31997 $(MAKE) $(FLAGS_TO_PASS) check)
31999 @endif readline
32001 .PHONY: install-readline maybe-install-readline
32002 maybe-install-readline:
32003 @if readline
32004 maybe-install-readline: install-readline
32006 install-readline: installdirs
32007 @: $(MAKE); $(unstage)
32008 @r=`${PWD_COMMAND}`; export r; \
32009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32010 $(HOST_EXPORTS) \
32011 (cd $(HOST_SUBDIR)/readline && \
32012 $(MAKE) $(FLAGS_TO_PASS) install)
32014 @endif readline
32016 # Other targets (info, dvi, pdf, etc.)
32018 .PHONY: maybe-info-readline info-readline
32019 maybe-info-readline:
32020 @if readline
32021 maybe-info-readline: info-readline
32023 info-readline: \
32024 configure-readline
32025 @: $(MAKE); $(unstage)
32026 @[ -f ./readline/Makefile ] || exit 0; \
32027 r=`${PWD_COMMAND}`; export r; \
32028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32029 $(HOST_EXPORTS) \
32030 for flag in $(EXTRA_HOST_FLAGS) ; do \
32031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32032 done; \
32033 echo "Doing info in readline" ; \
32034 (cd $(HOST_SUBDIR)/readline && \
32035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32037 "RANLIB=$${RANLIB}" \
32038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32039 info) \
32040 || exit 1
32042 @endif readline
32044 .PHONY: maybe-dvi-readline dvi-readline
32045 maybe-dvi-readline:
32046 @if readline
32047 maybe-dvi-readline: dvi-readline
32049 dvi-readline: \
32050 configure-readline
32051 @: $(MAKE); $(unstage)
32052 @[ -f ./readline/Makefile ] || exit 0; \
32053 r=`${PWD_COMMAND}`; export r; \
32054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32055 $(HOST_EXPORTS) \
32056 for flag in $(EXTRA_HOST_FLAGS) ; do \
32057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32058 done; \
32059 echo "Doing dvi in readline" ; \
32060 (cd $(HOST_SUBDIR)/readline && \
32061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32063 "RANLIB=$${RANLIB}" \
32064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32065 dvi) \
32066 || exit 1
32068 @endif readline
32070 .PHONY: maybe-pdf-readline pdf-readline
32071 maybe-pdf-readline:
32072 @if readline
32073 maybe-pdf-readline: pdf-readline
32075 pdf-readline: \
32076 configure-readline
32077 @: $(MAKE); $(unstage)
32078 @[ -f ./readline/Makefile ] || exit 0; \
32079 r=`${PWD_COMMAND}`; export r; \
32080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32081 $(HOST_EXPORTS) \
32082 for flag in $(EXTRA_HOST_FLAGS) ; do \
32083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32084 done; \
32085 echo "Doing pdf in readline" ; \
32086 (cd $(HOST_SUBDIR)/readline && \
32087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32089 "RANLIB=$${RANLIB}" \
32090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32091 pdf) \
32092 || exit 1
32094 @endif readline
32096 .PHONY: maybe-html-readline html-readline
32097 maybe-html-readline:
32098 @if readline
32099 maybe-html-readline: html-readline
32101 html-readline: \
32102 configure-readline
32103 @: $(MAKE); $(unstage)
32104 @[ -f ./readline/Makefile ] || exit 0; \
32105 r=`${PWD_COMMAND}`; export r; \
32106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32107 $(HOST_EXPORTS) \
32108 for flag in $(EXTRA_HOST_FLAGS) ; do \
32109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32110 done; \
32111 echo "Doing html in readline" ; \
32112 (cd $(HOST_SUBDIR)/readline && \
32113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32115 "RANLIB=$${RANLIB}" \
32116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32117 html) \
32118 || exit 1
32120 @endif readline
32122 .PHONY: maybe-TAGS-readline TAGS-readline
32123 maybe-TAGS-readline:
32124 @if readline
32125 maybe-TAGS-readline: TAGS-readline
32127 TAGS-readline: \
32128 configure-readline
32129 @: $(MAKE); $(unstage)
32130 @[ -f ./readline/Makefile ] || exit 0; \
32131 r=`${PWD_COMMAND}`; export r; \
32132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32133 $(HOST_EXPORTS) \
32134 for flag in $(EXTRA_HOST_FLAGS) ; do \
32135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32136 done; \
32137 echo "Doing TAGS in readline" ; \
32138 (cd $(HOST_SUBDIR)/readline && \
32139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32141 "RANLIB=$${RANLIB}" \
32142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32143 TAGS) \
32144 || exit 1
32146 @endif readline
32148 .PHONY: maybe-install-info-readline install-info-readline
32149 maybe-install-info-readline:
32150 @if readline
32151 maybe-install-info-readline: install-info-readline
32153 install-info-readline: \
32154 configure-readline \
32155 info-readline
32156 @: $(MAKE); $(unstage)
32157 @[ -f ./readline/Makefile ] || exit 0; \
32158 r=`${PWD_COMMAND}`; export r; \
32159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32160 $(HOST_EXPORTS) \
32161 for flag in $(EXTRA_HOST_FLAGS) ; do \
32162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32163 done; \
32164 echo "Doing install-info in readline" ; \
32165 (cd $(HOST_SUBDIR)/readline && \
32166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32168 "RANLIB=$${RANLIB}" \
32169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32170 install-info) \
32171 || exit 1
32173 @endif readline
32175 .PHONY: maybe-install-pdf-readline install-pdf-readline
32176 maybe-install-pdf-readline:
32177 @if readline
32178 maybe-install-pdf-readline: install-pdf-readline
32180 install-pdf-readline: \
32181 configure-readline \
32182 pdf-readline
32183 @: $(MAKE); $(unstage)
32184 @[ -f ./readline/Makefile ] || exit 0; \
32185 r=`${PWD_COMMAND}`; export r; \
32186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32187 $(HOST_EXPORTS) \
32188 for flag in $(EXTRA_HOST_FLAGS) ; do \
32189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32190 done; \
32191 echo "Doing install-pdf in readline" ; \
32192 (cd $(HOST_SUBDIR)/readline && \
32193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32195 "RANLIB=$${RANLIB}" \
32196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32197 install-pdf) \
32198 || exit 1
32200 @endif readline
32202 .PHONY: maybe-install-html-readline install-html-readline
32203 maybe-install-html-readline:
32204 @if readline
32205 maybe-install-html-readline: install-html-readline
32207 install-html-readline: \
32208 configure-readline \
32209 html-readline
32210 @: $(MAKE); $(unstage)
32211 @[ -f ./readline/Makefile ] || exit 0; \
32212 r=`${PWD_COMMAND}`; export r; \
32213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32214 $(HOST_EXPORTS) \
32215 for flag in $(EXTRA_HOST_FLAGS) ; do \
32216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32217 done; \
32218 echo "Doing install-html in readline" ; \
32219 (cd $(HOST_SUBDIR)/readline && \
32220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32222 "RANLIB=$${RANLIB}" \
32223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32224 install-html) \
32225 || exit 1
32227 @endif readline
32229 .PHONY: maybe-installcheck-readline installcheck-readline
32230 maybe-installcheck-readline:
32231 @if readline
32232 maybe-installcheck-readline: installcheck-readline
32234 installcheck-readline: \
32235 configure-readline
32236 @: $(MAKE); $(unstage)
32237 @[ -f ./readline/Makefile ] || exit 0; \
32238 r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 $(HOST_EXPORTS) \
32241 for flag in $(EXTRA_HOST_FLAGS) ; do \
32242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32243 done; \
32244 echo "Doing installcheck in readline" ; \
32245 (cd $(HOST_SUBDIR)/readline && \
32246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32248 "RANLIB=$${RANLIB}" \
32249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32250 installcheck) \
32251 || exit 1
32253 @endif readline
32255 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
32256 maybe-mostlyclean-readline:
32257 @if readline
32258 maybe-mostlyclean-readline: mostlyclean-readline
32260 mostlyclean-readline:
32261 @: $(MAKE); $(unstage)
32262 @[ -f ./readline/Makefile ] || exit 0; \
32263 r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(HOST_EXPORTS) \
32266 for flag in $(EXTRA_HOST_FLAGS) ; do \
32267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32268 done; \
32269 echo "Doing mostlyclean in readline" ; \
32270 (cd $(HOST_SUBDIR)/readline && \
32271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32273 "RANLIB=$${RANLIB}" \
32274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32275 mostlyclean) \
32276 || exit 1
32278 @endif readline
32280 .PHONY: maybe-clean-readline clean-readline
32281 maybe-clean-readline:
32282 @if readline
32283 maybe-clean-readline: clean-readline
32285 clean-readline:
32286 @: $(MAKE); $(unstage)
32287 @[ -f ./readline/Makefile ] || exit 0; \
32288 r=`${PWD_COMMAND}`; export r; \
32289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32290 $(HOST_EXPORTS) \
32291 for flag in $(EXTRA_HOST_FLAGS) ; do \
32292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32293 done; \
32294 echo "Doing clean in readline" ; \
32295 (cd $(HOST_SUBDIR)/readline && \
32296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32298 "RANLIB=$${RANLIB}" \
32299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32300 clean) \
32301 || exit 1
32303 @endif readline
32305 .PHONY: maybe-distclean-readline distclean-readline
32306 maybe-distclean-readline:
32307 @if readline
32308 maybe-distclean-readline: distclean-readline
32310 distclean-readline:
32311 @: $(MAKE); $(unstage)
32312 @[ -f ./readline/Makefile ] || exit 0; \
32313 r=`${PWD_COMMAND}`; export r; \
32314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32315 $(HOST_EXPORTS) \
32316 for flag in $(EXTRA_HOST_FLAGS) ; do \
32317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32318 done; \
32319 echo "Doing distclean in readline" ; \
32320 (cd $(HOST_SUBDIR)/readline && \
32321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32323 "RANLIB=$${RANLIB}" \
32324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32325 distclean) \
32326 || exit 1
32328 @endif readline
32330 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
32331 maybe-maintainer-clean-readline:
32332 @if readline
32333 maybe-maintainer-clean-readline: maintainer-clean-readline
32335 maintainer-clean-readline:
32336 @: $(MAKE); $(unstage)
32337 @[ -f ./readline/Makefile ] || exit 0; \
32338 r=`${PWD_COMMAND}`; export r; \
32339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32340 $(HOST_EXPORTS) \
32341 for flag in $(EXTRA_HOST_FLAGS) ; do \
32342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32343 done; \
32344 echo "Doing maintainer-clean in readline" ; \
32345 (cd $(HOST_SUBDIR)/readline && \
32346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32348 "RANLIB=$${RANLIB}" \
32349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32350 maintainer-clean) \
32351 || exit 1
32353 @endif readline
32357 .PHONY: configure-release maybe-configure-release
32358 maybe-configure-release:
32359 @if gcc-bootstrap
32360 configure-release: stage_current
32361 @endif gcc-bootstrap
32362 @if release
32363 maybe-configure-release: configure-release
32364 configure-release:
32365 @: $(MAKE); $(unstage)
32366 @r=`${PWD_COMMAND}`; export r; \
32367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32368 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
32369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
32370 $(HOST_EXPORTS) \
32371 echo Configuring in $(HOST_SUBDIR)/release; \
32372 cd "$(HOST_SUBDIR)/release" || exit 1; \
32373 case $(srcdir) in \
32374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32375 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
32376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32377 esac; \
32378 srcdiroption="--srcdir=$${topdir}/release"; \
32379 libsrcdir="$$s/release"; \
32380 $(SHELL) $${libsrcdir}/configure \
32381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32382 --target=${target_alias} $${srcdiroption} \
32383 || exit 1
32384 @endif release
32390 .PHONY: all-release maybe-all-release
32391 maybe-all-release:
32392 @if gcc-bootstrap
32393 all-release: stage_current
32394 @endif gcc-bootstrap
32395 @if release
32396 TARGET-release=all
32397 maybe-all-release: all-release
32398 all-release: configure-release
32399 @: $(MAKE); $(unstage)
32400 @r=`${PWD_COMMAND}`; export r; \
32401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32402 $(HOST_EXPORTS) \
32403 (cd $(HOST_SUBDIR)/release && \
32404 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32405 $(TARGET-release))
32406 @endif release
32411 .PHONY: check-release maybe-check-release
32412 maybe-check-release:
32413 @if release
32414 maybe-check-release: check-release
32416 check-release:
32418 @endif release
32420 .PHONY: install-release maybe-install-release
32421 maybe-install-release:
32422 @if release
32423 maybe-install-release: install-release
32425 install-release:
32427 @endif release
32429 # Other targets (info, dvi, pdf, etc.)
32431 .PHONY: maybe-info-release info-release
32432 maybe-info-release:
32433 @if release
32434 maybe-info-release: info-release
32436 info-release: \
32437 configure-release
32438 @: $(MAKE); $(unstage)
32439 @[ -f ./release/Makefile ] || exit 0; \
32440 r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 $(HOST_EXPORTS) \
32443 for flag in $(EXTRA_HOST_FLAGS) ; do \
32444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32445 done; \
32446 echo "Doing info in release" ; \
32447 (cd $(HOST_SUBDIR)/release && \
32448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32450 "RANLIB=$${RANLIB}" \
32451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32452 info) \
32453 || exit 1
32455 @endif release
32457 .PHONY: maybe-dvi-release dvi-release
32458 maybe-dvi-release:
32459 @if release
32460 maybe-dvi-release: dvi-release
32462 dvi-release: \
32463 configure-release
32464 @: $(MAKE); $(unstage)
32465 @[ -f ./release/Makefile ] || exit 0; \
32466 r=`${PWD_COMMAND}`; export r; \
32467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32468 $(HOST_EXPORTS) \
32469 for flag in $(EXTRA_HOST_FLAGS) ; do \
32470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32471 done; \
32472 echo "Doing dvi in release" ; \
32473 (cd $(HOST_SUBDIR)/release && \
32474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32476 "RANLIB=$${RANLIB}" \
32477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32478 dvi) \
32479 || exit 1
32481 @endif release
32483 .PHONY: maybe-pdf-release pdf-release
32484 maybe-pdf-release:
32485 @if release
32486 maybe-pdf-release: pdf-release
32488 pdf-release: \
32489 configure-release
32490 @: $(MAKE); $(unstage)
32491 @[ -f ./release/Makefile ] || exit 0; \
32492 r=`${PWD_COMMAND}`; export r; \
32493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32494 $(HOST_EXPORTS) \
32495 for flag in $(EXTRA_HOST_FLAGS) ; do \
32496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32497 done; \
32498 echo "Doing pdf in release" ; \
32499 (cd $(HOST_SUBDIR)/release && \
32500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32502 "RANLIB=$${RANLIB}" \
32503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32504 pdf) \
32505 || exit 1
32507 @endif release
32509 .PHONY: maybe-html-release html-release
32510 maybe-html-release:
32511 @if release
32512 maybe-html-release: html-release
32514 html-release: \
32515 configure-release
32516 @: $(MAKE); $(unstage)
32517 @[ -f ./release/Makefile ] || exit 0; \
32518 r=`${PWD_COMMAND}`; export r; \
32519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32520 $(HOST_EXPORTS) \
32521 for flag in $(EXTRA_HOST_FLAGS) ; do \
32522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32523 done; \
32524 echo "Doing html in release" ; \
32525 (cd $(HOST_SUBDIR)/release && \
32526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32528 "RANLIB=$${RANLIB}" \
32529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32530 html) \
32531 || exit 1
32533 @endif release
32535 .PHONY: maybe-TAGS-release TAGS-release
32536 maybe-TAGS-release:
32537 @if release
32538 maybe-TAGS-release: TAGS-release
32540 TAGS-release: \
32541 configure-release
32542 @: $(MAKE); $(unstage)
32543 @[ -f ./release/Makefile ] || exit 0; \
32544 r=`${PWD_COMMAND}`; export r; \
32545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32546 $(HOST_EXPORTS) \
32547 for flag in $(EXTRA_HOST_FLAGS) ; do \
32548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32549 done; \
32550 echo "Doing TAGS in release" ; \
32551 (cd $(HOST_SUBDIR)/release && \
32552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32554 "RANLIB=$${RANLIB}" \
32555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32556 TAGS) \
32557 || exit 1
32559 @endif release
32561 .PHONY: maybe-install-info-release install-info-release
32562 maybe-install-info-release:
32563 @if release
32564 maybe-install-info-release: install-info-release
32566 install-info-release: \
32567 configure-release \
32568 info-release
32569 @: $(MAKE); $(unstage)
32570 @[ -f ./release/Makefile ] || exit 0; \
32571 r=`${PWD_COMMAND}`; export r; \
32572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32573 $(HOST_EXPORTS) \
32574 for flag in $(EXTRA_HOST_FLAGS) ; do \
32575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32576 done; \
32577 echo "Doing install-info in release" ; \
32578 (cd $(HOST_SUBDIR)/release && \
32579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32581 "RANLIB=$${RANLIB}" \
32582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32583 install-info) \
32584 || exit 1
32586 @endif release
32588 .PHONY: maybe-install-pdf-release install-pdf-release
32589 maybe-install-pdf-release:
32590 @if release
32591 maybe-install-pdf-release: install-pdf-release
32593 install-pdf-release: \
32594 configure-release \
32595 pdf-release
32596 @: $(MAKE); $(unstage)
32597 @[ -f ./release/Makefile ] || exit 0; \
32598 r=`${PWD_COMMAND}`; export r; \
32599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32600 $(HOST_EXPORTS) \
32601 for flag in $(EXTRA_HOST_FLAGS) ; do \
32602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32603 done; \
32604 echo "Doing install-pdf in release" ; \
32605 (cd $(HOST_SUBDIR)/release && \
32606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32608 "RANLIB=$${RANLIB}" \
32609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32610 install-pdf) \
32611 || exit 1
32613 @endif release
32615 .PHONY: maybe-install-html-release install-html-release
32616 maybe-install-html-release:
32617 @if release
32618 maybe-install-html-release: install-html-release
32620 install-html-release: \
32621 configure-release \
32622 html-release
32623 @: $(MAKE); $(unstage)
32624 @[ -f ./release/Makefile ] || exit 0; \
32625 r=`${PWD_COMMAND}`; export r; \
32626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32627 $(HOST_EXPORTS) \
32628 for flag in $(EXTRA_HOST_FLAGS) ; do \
32629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32630 done; \
32631 echo "Doing install-html in release" ; \
32632 (cd $(HOST_SUBDIR)/release && \
32633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32635 "RANLIB=$${RANLIB}" \
32636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32637 install-html) \
32638 || exit 1
32640 @endif release
32642 .PHONY: maybe-installcheck-release installcheck-release
32643 maybe-installcheck-release:
32644 @if release
32645 maybe-installcheck-release: installcheck-release
32647 installcheck-release: \
32648 configure-release
32649 @: $(MAKE); $(unstage)
32650 @[ -f ./release/Makefile ] || exit 0; \
32651 r=`${PWD_COMMAND}`; export r; \
32652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32653 $(HOST_EXPORTS) \
32654 for flag in $(EXTRA_HOST_FLAGS) ; do \
32655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32656 done; \
32657 echo "Doing installcheck in release" ; \
32658 (cd $(HOST_SUBDIR)/release && \
32659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32661 "RANLIB=$${RANLIB}" \
32662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32663 installcheck) \
32664 || exit 1
32666 @endif release
32668 .PHONY: maybe-mostlyclean-release mostlyclean-release
32669 maybe-mostlyclean-release:
32670 @if release
32671 maybe-mostlyclean-release: mostlyclean-release
32673 mostlyclean-release:
32674 @: $(MAKE); $(unstage)
32675 @[ -f ./release/Makefile ] || exit 0; \
32676 r=`${PWD_COMMAND}`; export r; \
32677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32678 $(HOST_EXPORTS) \
32679 for flag in $(EXTRA_HOST_FLAGS) ; do \
32680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32681 done; \
32682 echo "Doing mostlyclean in release" ; \
32683 (cd $(HOST_SUBDIR)/release && \
32684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32686 "RANLIB=$${RANLIB}" \
32687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32688 mostlyclean) \
32689 || exit 1
32691 @endif release
32693 .PHONY: maybe-clean-release clean-release
32694 maybe-clean-release:
32695 @if release
32696 maybe-clean-release: clean-release
32698 clean-release:
32699 @: $(MAKE); $(unstage)
32700 @[ -f ./release/Makefile ] || exit 0; \
32701 r=`${PWD_COMMAND}`; export r; \
32702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32703 $(HOST_EXPORTS) \
32704 for flag in $(EXTRA_HOST_FLAGS) ; do \
32705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32706 done; \
32707 echo "Doing clean in release" ; \
32708 (cd $(HOST_SUBDIR)/release && \
32709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32711 "RANLIB=$${RANLIB}" \
32712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32713 clean) \
32714 || exit 1
32716 @endif release
32718 .PHONY: maybe-distclean-release distclean-release
32719 maybe-distclean-release:
32720 @if release
32721 maybe-distclean-release: distclean-release
32723 distclean-release:
32724 @: $(MAKE); $(unstage)
32725 @[ -f ./release/Makefile ] || exit 0; \
32726 r=`${PWD_COMMAND}`; export r; \
32727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32728 $(HOST_EXPORTS) \
32729 for flag in $(EXTRA_HOST_FLAGS) ; do \
32730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32731 done; \
32732 echo "Doing distclean in release" ; \
32733 (cd $(HOST_SUBDIR)/release && \
32734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32736 "RANLIB=$${RANLIB}" \
32737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32738 distclean) \
32739 || exit 1
32741 @endif release
32743 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
32744 maybe-maintainer-clean-release:
32745 @if release
32746 maybe-maintainer-clean-release: maintainer-clean-release
32748 maintainer-clean-release:
32749 @: $(MAKE); $(unstage)
32750 @[ -f ./release/Makefile ] || exit 0; \
32751 r=`${PWD_COMMAND}`; export r; \
32752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32753 $(HOST_EXPORTS) \
32754 for flag in $(EXTRA_HOST_FLAGS) ; do \
32755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32756 done; \
32757 echo "Doing maintainer-clean in release" ; \
32758 (cd $(HOST_SUBDIR)/release && \
32759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32761 "RANLIB=$${RANLIB}" \
32762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32763 maintainer-clean) \
32764 || exit 1
32766 @endif release
32770 .PHONY: configure-recode maybe-configure-recode
32771 maybe-configure-recode:
32772 @if gcc-bootstrap
32773 configure-recode: stage_current
32774 @endif gcc-bootstrap
32775 @if recode
32776 maybe-configure-recode: configure-recode
32777 configure-recode:
32778 @: $(MAKE); $(unstage)
32779 @r=`${PWD_COMMAND}`; export r; \
32780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32781 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
32782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
32783 $(HOST_EXPORTS) \
32784 echo Configuring in $(HOST_SUBDIR)/recode; \
32785 cd "$(HOST_SUBDIR)/recode" || exit 1; \
32786 case $(srcdir) in \
32787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32788 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
32789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32790 esac; \
32791 srcdiroption="--srcdir=$${topdir}/recode"; \
32792 libsrcdir="$$s/recode"; \
32793 $(SHELL) $${libsrcdir}/configure \
32794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32795 --target=${target_alias} $${srcdiroption} \
32796 || exit 1
32797 @endif recode
32803 .PHONY: all-recode maybe-all-recode
32804 maybe-all-recode:
32805 @if gcc-bootstrap
32806 all-recode: stage_current
32807 @endif gcc-bootstrap
32808 @if recode
32809 TARGET-recode=all
32810 maybe-all-recode: all-recode
32811 all-recode: configure-recode
32812 @: $(MAKE); $(unstage)
32813 @r=`${PWD_COMMAND}`; export r; \
32814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32815 $(HOST_EXPORTS) \
32816 (cd $(HOST_SUBDIR)/recode && \
32817 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32818 $(TARGET-recode))
32819 @endif recode
32824 .PHONY: check-recode maybe-check-recode
32825 maybe-check-recode:
32826 @if recode
32827 maybe-check-recode: check-recode
32829 check-recode:
32830 @: $(MAKE); $(unstage)
32831 @r=`${PWD_COMMAND}`; export r; \
32832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32833 $(HOST_EXPORTS) \
32834 (cd $(HOST_SUBDIR)/recode && \
32835 $(MAKE) $(FLAGS_TO_PASS) check)
32837 @endif recode
32839 .PHONY: install-recode maybe-install-recode
32840 maybe-install-recode:
32841 @if recode
32842 maybe-install-recode: install-recode
32844 install-recode: installdirs
32845 @: $(MAKE); $(unstage)
32846 @r=`${PWD_COMMAND}`; export r; \
32847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32848 $(HOST_EXPORTS) \
32849 (cd $(HOST_SUBDIR)/recode && \
32850 $(MAKE) $(FLAGS_TO_PASS) install)
32852 @endif recode
32854 # Other targets (info, dvi, pdf, etc.)
32856 .PHONY: maybe-info-recode info-recode
32857 maybe-info-recode:
32858 @if recode
32859 maybe-info-recode: info-recode
32861 info-recode: \
32862 configure-recode
32863 @: $(MAKE); $(unstage)
32864 @[ -f ./recode/Makefile ] || exit 0; \
32865 r=`${PWD_COMMAND}`; export r; \
32866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32867 $(HOST_EXPORTS) \
32868 for flag in $(EXTRA_HOST_FLAGS) ; do \
32869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32870 done; \
32871 echo "Doing info in recode" ; \
32872 (cd $(HOST_SUBDIR)/recode && \
32873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32875 "RANLIB=$${RANLIB}" \
32876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32877 info) \
32878 || exit 1
32880 @endif recode
32882 .PHONY: maybe-dvi-recode dvi-recode
32883 maybe-dvi-recode:
32884 @if recode
32885 maybe-dvi-recode: dvi-recode
32887 dvi-recode: \
32888 configure-recode
32889 @: $(MAKE); $(unstage)
32890 @[ -f ./recode/Makefile ] || exit 0; \
32891 r=`${PWD_COMMAND}`; export r; \
32892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32893 $(HOST_EXPORTS) \
32894 for flag in $(EXTRA_HOST_FLAGS) ; do \
32895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32896 done; \
32897 echo "Doing dvi in recode" ; \
32898 (cd $(HOST_SUBDIR)/recode && \
32899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32901 "RANLIB=$${RANLIB}" \
32902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32903 dvi) \
32904 || exit 1
32906 @endif recode
32908 .PHONY: maybe-pdf-recode pdf-recode
32909 maybe-pdf-recode:
32910 @if recode
32911 maybe-pdf-recode: pdf-recode
32913 pdf-recode: \
32914 configure-recode
32915 @: $(MAKE); $(unstage)
32916 @[ -f ./recode/Makefile ] || exit 0; \
32917 r=`${PWD_COMMAND}`; export r; \
32918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32919 $(HOST_EXPORTS) \
32920 for flag in $(EXTRA_HOST_FLAGS) ; do \
32921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32922 done; \
32923 echo "Doing pdf in recode" ; \
32924 (cd $(HOST_SUBDIR)/recode && \
32925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32927 "RANLIB=$${RANLIB}" \
32928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32929 pdf) \
32930 || exit 1
32932 @endif recode
32934 .PHONY: maybe-html-recode html-recode
32935 maybe-html-recode:
32936 @if recode
32937 maybe-html-recode: html-recode
32939 html-recode: \
32940 configure-recode
32941 @: $(MAKE); $(unstage)
32942 @[ -f ./recode/Makefile ] || exit 0; \
32943 r=`${PWD_COMMAND}`; export r; \
32944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32945 $(HOST_EXPORTS) \
32946 for flag in $(EXTRA_HOST_FLAGS) ; do \
32947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32948 done; \
32949 echo "Doing html in recode" ; \
32950 (cd $(HOST_SUBDIR)/recode && \
32951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32953 "RANLIB=$${RANLIB}" \
32954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32955 html) \
32956 || exit 1
32958 @endif recode
32960 .PHONY: maybe-TAGS-recode TAGS-recode
32961 maybe-TAGS-recode:
32962 @if recode
32963 maybe-TAGS-recode: TAGS-recode
32965 TAGS-recode: \
32966 configure-recode
32967 @: $(MAKE); $(unstage)
32968 @[ -f ./recode/Makefile ] || exit 0; \
32969 r=`${PWD_COMMAND}`; export r; \
32970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32971 $(HOST_EXPORTS) \
32972 for flag in $(EXTRA_HOST_FLAGS) ; do \
32973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32974 done; \
32975 echo "Doing TAGS in recode" ; \
32976 (cd $(HOST_SUBDIR)/recode && \
32977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32979 "RANLIB=$${RANLIB}" \
32980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32981 TAGS) \
32982 || exit 1
32984 @endif recode
32986 .PHONY: maybe-install-info-recode install-info-recode
32987 maybe-install-info-recode:
32988 @if recode
32989 maybe-install-info-recode: install-info-recode
32991 install-info-recode: \
32992 configure-recode \
32993 info-recode
32994 @: $(MAKE); $(unstage)
32995 @[ -f ./recode/Makefile ] || exit 0; \
32996 r=`${PWD_COMMAND}`; export r; \
32997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32998 $(HOST_EXPORTS) \
32999 for flag in $(EXTRA_HOST_FLAGS) ; do \
33000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33001 done; \
33002 echo "Doing install-info in recode" ; \
33003 (cd $(HOST_SUBDIR)/recode && \
33004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33006 "RANLIB=$${RANLIB}" \
33007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33008 install-info) \
33009 || exit 1
33011 @endif recode
33013 .PHONY: maybe-install-pdf-recode install-pdf-recode
33014 maybe-install-pdf-recode:
33015 @if recode
33016 maybe-install-pdf-recode: install-pdf-recode
33018 install-pdf-recode: \
33019 configure-recode \
33020 pdf-recode
33021 @: $(MAKE); $(unstage)
33022 @[ -f ./recode/Makefile ] || exit 0; \
33023 r=`${PWD_COMMAND}`; export r; \
33024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33025 $(HOST_EXPORTS) \
33026 for flag in $(EXTRA_HOST_FLAGS) ; do \
33027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33028 done; \
33029 echo "Doing install-pdf in recode" ; \
33030 (cd $(HOST_SUBDIR)/recode && \
33031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33033 "RANLIB=$${RANLIB}" \
33034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33035 install-pdf) \
33036 || exit 1
33038 @endif recode
33040 .PHONY: maybe-install-html-recode install-html-recode
33041 maybe-install-html-recode:
33042 @if recode
33043 maybe-install-html-recode: install-html-recode
33045 install-html-recode: \
33046 configure-recode \
33047 html-recode
33048 @: $(MAKE); $(unstage)
33049 @[ -f ./recode/Makefile ] || exit 0; \
33050 r=`${PWD_COMMAND}`; export r; \
33051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33052 $(HOST_EXPORTS) \
33053 for flag in $(EXTRA_HOST_FLAGS) ; do \
33054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33055 done; \
33056 echo "Doing install-html in recode" ; \
33057 (cd $(HOST_SUBDIR)/recode && \
33058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33060 "RANLIB=$${RANLIB}" \
33061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33062 install-html) \
33063 || exit 1
33065 @endif recode
33067 .PHONY: maybe-installcheck-recode installcheck-recode
33068 maybe-installcheck-recode:
33069 @if recode
33070 maybe-installcheck-recode: installcheck-recode
33072 installcheck-recode: \
33073 configure-recode
33074 @: $(MAKE); $(unstage)
33075 @[ -f ./recode/Makefile ] || exit 0; \
33076 r=`${PWD_COMMAND}`; export r; \
33077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33078 $(HOST_EXPORTS) \
33079 for flag in $(EXTRA_HOST_FLAGS) ; do \
33080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33081 done; \
33082 echo "Doing installcheck in recode" ; \
33083 (cd $(HOST_SUBDIR)/recode && \
33084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33086 "RANLIB=$${RANLIB}" \
33087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33088 installcheck) \
33089 || exit 1
33091 @endif recode
33093 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
33094 maybe-mostlyclean-recode:
33095 @if recode
33096 maybe-mostlyclean-recode: mostlyclean-recode
33098 mostlyclean-recode:
33099 @: $(MAKE); $(unstage)
33100 @[ -f ./recode/Makefile ] || exit 0; \
33101 r=`${PWD_COMMAND}`; export r; \
33102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33103 $(HOST_EXPORTS) \
33104 for flag in $(EXTRA_HOST_FLAGS) ; do \
33105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33106 done; \
33107 echo "Doing mostlyclean in recode" ; \
33108 (cd $(HOST_SUBDIR)/recode && \
33109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33111 "RANLIB=$${RANLIB}" \
33112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33113 mostlyclean) \
33114 || exit 1
33116 @endif recode
33118 .PHONY: maybe-clean-recode clean-recode
33119 maybe-clean-recode:
33120 @if recode
33121 maybe-clean-recode: clean-recode
33123 clean-recode:
33124 @: $(MAKE); $(unstage)
33125 @[ -f ./recode/Makefile ] || exit 0; \
33126 r=`${PWD_COMMAND}`; export r; \
33127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33128 $(HOST_EXPORTS) \
33129 for flag in $(EXTRA_HOST_FLAGS) ; do \
33130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33131 done; \
33132 echo "Doing clean in recode" ; \
33133 (cd $(HOST_SUBDIR)/recode && \
33134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33136 "RANLIB=$${RANLIB}" \
33137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33138 clean) \
33139 || exit 1
33141 @endif recode
33143 .PHONY: maybe-distclean-recode distclean-recode
33144 maybe-distclean-recode:
33145 @if recode
33146 maybe-distclean-recode: distclean-recode
33148 distclean-recode:
33149 @: $(MAKE); $(unstage)
33150 @[ -f ./recode/Makefile ] || exit 0; \
33151 r=`${PWD_COMMAND}`; export r; \
33152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33153 $(HOST_EXPORTS) \
33154 for flag in $(EXTRA_HOST_FLAGS) ; do \
33155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33156 done; \
33157 echo "Doing distclean in recode" ; \
33158 (cd $(HOST_SUBDIR)/recode && \
33159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33161 "RANLIB=$${RANLIB}" \
33162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33163 distclean) \
33164 || exit 1
33166 @endif recode
33168 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
33169 maybe-maintainer-clean-recode:
33170 @if recode
33171 maybe-maintainer-clean-recode: maintainer-clean-recode
33173 maintainer-clean-recode:
33174 @: $(MAKE); $(unstage)
33175 @[ -f ./recode/Makefile ] || exit 0; \
33176 r=`${PWD_COMMAND}`; export r; \
33177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33178 $(HOST_EXPORTS) \
33179 for flag in $(EXTRA_HOST_FLAGS) ; do \
33180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33181 done; \
33182 echo "Doing maintainer-clean in recode" ; \
33183 (cd $(HOST_SUBDIR)/recode && \
33184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33186 "RANLIB=$${RANLIB}" \
33187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33188 maintainer-clean) \
33189 || exit 1
33191 @endif recode
33195 .PHONY: configure-sed maybe-configure-sed
33196 maybe-configure-sed:
33197 @if gcc-bootstrap
33198 configure-sed: stage_current
33199 @endif gcc-bootstrap
33200 @if sed
33201 maybe-configure-sed: configure-sed
33202 configure-sed:
33203 @: $(MAKE); $(unstage)
33204 @r=`${PWD_COMMAND}`; export r; \
33205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33206 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
33207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
33208 $(HOST_EXPORTS) \
33209 echo Configuring in $(HOST_SUBDIR)/sed; \
33210 cd "$(HOST_SUBDIR)/sed" || exit 1; \
33211 case $(srcdir) in \
33212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33213 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
33214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33215 esac; \
33216 srcdiroption="--srcdir=$${topdir}/sed"; \
33217 libsrcdir="$$s/sed"; \
33218 $(SHELL) $${libsrcdir}/configure \
33219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33220 --target=${target_alias} $${srcdiroption} \
33221 || exit 1
33222 @endif sed
33228 .PHONY: all-sed maybe-all-sed
33229 maybe-all-sed:
33230 @if gcc-bootstrap
33231 all-sed: stage_current
33232 @endif gcc-bootstrap
33233 @if sed
33234 TARGET-sed=all
33235 maybe-all-sed: all-sed
33236 all-sed: configure-sed
33237 @: $(MAKE); $(unstage)
33238 @r=`${PWD_COMMAND}`; export r; \
33239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33240 $(HOST_EXPORTS) \
33241 (cd $(HOST_SUBDIR)/sed && \
33242 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33243 $(TARGET-sed))
33244 @endif sed
33249 .PHONY: check-sed maybe-check-sed
33250 maybe-check-sed:
33251 @if sed
33252 maybe-check-sed: check-sed
33254 check-sed:
33255 @: $(MAKE); $(unstage)
33256 @r=`${PWD_COMMAND}`; export r; \
33257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33258 $(HOST_EXPORTS) \
33259 (cd $(HOST_SUBDIR)/sed && \
33260 $(MAKE) $(FLAGS_TO_PASS) check)
33262 @endif sed
33264 .PHONY: install-sed maybe-install-sed
33265 maybe-install-sed:
33266 @if sed
33267 maybe-install-sed: install-sed
33269 install-sed: installdirs
33270 @: $(MAKE); $(unstage)
33271 @r=`${PWD_COMMAND}`; export r; \
33272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33273 $(HOST_EXPORTS) \
33274 (cd $(HOST_SUBDIR)/sed && \
33275 $(MAKE) $(FLAGS_TO_PASS) install)
33277 @endif sed
33279 # Other targets (info, dvi, pdf, etc.)
33281 .PHONY: maybe-info-sed info-sed
33282 maybe-info-sed:
33283 @if sed
33284 maybe-info-sed: info-sed
33286 info-sed: \
33287 configure-sed
33288 @: $(MAKE); $(unstage)
33289 @[ -f ./sed/Makefile ] || exit 0; \
33290 r=`${PWD_COMMAND}`; export r; \
33291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33292 $(HOST_EXPORTS) \
33293 for flag in $(EXTRA_HOST_FLAGS) ; do \
33294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33295 done; \
33296 echo "Doing info in sed" ; \
33297 (cd $(HOST_SUBDIR)/sed && \
33298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33300 "RANLIB=$${RANLIB}" \
33301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33302 info) \
33303 || exit 1
33305 @endif sed
33307 .PHONY: maybe-dvi-sed dvi-sed
33308 maybe-dvi-sed:
33309 @if sed
33310 maybe-dvi-sed: dvi-sed
33312 dvi-sed: \
33313 configure-sed
33314 @: $(MAKE); $(unstage)
33315 @[ -f ./sed/Makefile ] || exit 0; \
33316 r=`${PWD_COMMAND}`; export r; \
33317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33318 $(HOST_EXPORTS) \
33319 for flag in $(EXTRA_HOST_FLAGS) ; do \
33320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33321 done; \
33322 echo "Doing dvi in sed" ; \
33323 (cd $(HOST_SUBDIR)/sed && \
33324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33326 "RANLIB=$${RANLIB}" \
33327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33328 dvi) \
33329 || exit 1
33331 @endif sed
33333 .PHONY: maybe-pdf-sed pdf-sed
33334 maybe-pdf-sed:
33335 @if sed
33336 maybe-pdf-sed: pdf-sed
33338 pdf-sed: \
33339 configure-sed
33340 @: $(MAKE); $(unstage)
33341 @[ -f ./sed/Makefile ] || exit 0; \
33342 r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 $(HOST_EXPORTS) \
33345 for flag in $(EXTRA_HOST_FLAGS) ; do \
33346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33347 done; \
33348 echo "Doing pdf in sed" ; \
33349 (cd $(HOST_SUBDIR)/sed && \
33350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33352 "RANLIB=$${RANLIB}" \
33353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33354 pdf) \
33355 || exit 1
33357 @endif sed
33359 .PHONY: maybe-html-sed html-sed
33360 maybe-html-sed:
33361 @if sed
33362 maybe-html-sed: html-sed
33364 html-sed: \
33365 configure-sed
33366 @: $(MAKE); $(unstage)
33367 @[ -f ./sed/Makefile ] || exit 0; \
33368 r=`${PWD_COMMAND}`; export r; \
33369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33370 $(HOST_EXPORTS) \
33371 for flag in $(EXTRA_HOST_FLAGS) ; do \
33372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33373 done; \
33374 echo "Doing html in sed" ; \
33375 (cd $(HOST_SUBDIR)/sed && \
33376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33378 "RANLIB=$${RANLIB}" \
33379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33380 html) \
33381 || exit 1
33383 @endif sed
33385 .PHONY: maybe-TAGS-sed TAGS-sed
33386 maybe-TAGS-sed:
33387 @if sed
33388 maybe-TAGS-sed: TAGS-sed
33390 TAGS-sed: \
33391 configure-sed
33392 @: $(MAKE); $(unstage)
33393 @[ -f ./sed/Makefile ] || exit 0; \
33394 r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(HOST_EXPORTS) \
33397 for flag in $(EXTRA_HOST_FLAGS) ; do \
33398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33399 done; \
33400 echo "Doing TAGS in sed" ; \
33401 (cd $(HOST_SUBDIR)/sed && \
33402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33404 "RANLIB=$${RANLIB}" \
33405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33406 TAGS) \
33407 || exit 1
33409 @endif sed
33411 .PHONY: maybe-install-info-sed install-info-sed
33412 maybe-install-info-sed:
33413 @if sed
33414 maybe-install-info-sed: install-info-sed
33416 install-info-sed: \
33417 configure-sed \
33418 info-sed
33419 @: $(MAKE); $(unstage)
33420 @[ -f ./sed/Makefile ] || exit 0; \
33421 r=`${PWD_COMMAND}`; export r; \
33422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33423 $(HOST_EXPORTS) \
33424 for flag in $(EXTRA_HOST_FLAGS) ; do \
33425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33426 done; \
33427 echo "Doing install-info in sed" ; \
33428 (cd $(HOST_SUBDIR)/sed && \
33429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33431 "RANLIB=$${RANLIB}" \
33432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33433 install-info) \
33434 || exit 1
33436 @endif sed
33438 .PHONY: maybe-install-pdf-sed install-pdf-sed
33439 maybe-install-pdf-sed:
33440 @if sed
33441 maybe-install-pdf-sed: install-pdf-sed
33443 install-pdf-sed: \
33444 configure-sed \
33445 pdf-sed
33446 @: $(MAKE); $(unstage)
33447 @[ -f ./sed/Makefile ] || exit 0; \
33448 r=`${PWD_COMMAND}`; export r; \
33449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33450 $(HOST_EXPORTS) \
33451 for flag in $(EXTRA_HOST_FLAGS) ; do \
33452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33453 done; \
33454 echo "Doing install-pdf in sed" ; \
33455 (cd $(HOST_SUBDIR)/sed && \
33456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33458 "RANLIB=$${RANLIB}" \
33459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33460 install-pdf) \
33461 || exit 1
33463 @endif sed
33465 .PHONY: maybe-install-html-sed install-html-sed
33466 maybe-install-html-sed:
33467 @if sed
33468 maybe-install-html-sed: install-html-sed
33470 install-html-sed: \
33471 configure-sed \
33472 html-sed
33473 @: $(MAKE); $(unstage)
33474 @[ -f ./sed/Makefile ] || exit 0; \
33475 r=`${PWD_COMMAND}`; export r; \
33476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33477 $(HOST_EXPORTS) \
33478 for flag in $(EXTRA_HOST_FLAGS) ; do \
33479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33480 done; \
33481 echo "Doing install-html in sed" ; \
33482 (cd $(HOST_SUBDIR)/sed && \
33483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33485 "RANLIB=$${RANLIB}" \
33486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33487 install-html) \
33488 || exit 1
33490 @endif sed
33492 .PHONY: maybe-installcheck-sed installcheck-sed
33493 maybe-installcheck-sed:
33494 @if sed
33495 maybe-installcheck-sed: installcheck-sed
33497 installcheck-sed: \
33498 configure-sed
33499 @: $(MAKE); $(unstage)
33500 @[ -f ./sed/Makefile ] || exit 0; \
33501 r=`${PWD_COMMAND}`; export r; \
33502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33503 $(HOST_EXPORTS) \
33504 for flag in $(EXTRA_HOST_FLAGS) ; do \
33505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33506 done; \
33507 echo "Doing installcheck in sed" ; \
33508 (cd $(HOST_SUBDIR)/sed && \
33509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33511 "RANLIB=$${RANLIB}" \
33512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33513 installcheck) \
33514 || exit 1
33516 @endif sed
33518 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
33519 maybe-mostlyclean-sed:
33520 @if sed
33521 maybe-mostlyclean-sed: mostlyclean-sed
33523 mostlyclean-sed:
33524 @: $(MAKE); $(unstage)
33525 @[ -f ./sed/Makefile ] || exit 0; \
33526 r=`${PWD_COMMAND}`; export r; \
33527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33528 $(HOST_EXPORTS) \
33529 for flag in $(EXTRA_HOST_FLAGS) ; do \
33530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33531 done; \
33532 echo "Doing mostlyclean in sed" ; \
33533 (cd $(HOST_SUBDIR)/sed && \
33534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33536 "RANLIB=$${RANLIB}" \
33537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33538 mostlyclean) \
33539 || exit 1
33541 @endif sed
33543 .PHONY: maybe-clean-sed clean-sed
33544 maybe-clean-sed:
33545 @if sed
33546 maybe-clean-sed: clean-sed
33548 clean-sed:
33549 @: $(MAKE); $(unstage)
33550 @[ -f ./sed/Makefile ] || exit 0; \
33551 r=`${PWD_COMMAND}`; export r; \
33552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33553 $(HOST_EXPORTS) \
33554 for flag in $(EXTRA_HOST_FLAGS) ; do \
33555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33556 done; \
33557 echo "Doing clean in sed" ; \
33558 (cd $(HOST_SUBDIR)/sed && \
33559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33561 "RANLIB=$${RANLIB}" \
33562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33563 clean) \
33564 || exit 1
33566 @endif sed
33568 .PHONY: maybe-distclean-sed distclean-sed
33569 maybe-distclean-sed:
33570 @if sed
33571 maybe-distclean-sed: distclean-sed
33573 distclean-sed:
33574 @: $(MAKE); $(unstage)
33575 @[ -f ./sed/Makefile ] || exit 0; \
33576 r=`${PWD_COMMAND}`; export r; \
33577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33578 $(HOST_EXPORTS) \
33579 for flag in $(EXTRA_HOST_FLAGS) ; do \
33580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33581 done; \
33582 echo "Doing distclean in sed" ; \
33583 (cd $(HOST_SUBDIR)/sed && \
33584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33586 "RANLIB=$${RANLIB}" \
33587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33588 distclean) \
33589 || exit 1
33591 @endif sed
33593 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
33594 maybe-maintainer-clean-sed:
33595 @if sed
33596 maybe-maintainer-clean-sed: maintainer-clean-sed
33598 maintainer-clean-sed:
33599 @: $(MAKE); $(unstage)
33600 @[ -f ./sed/Makefile ] || exit 0; \
33601 r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 $(HOST_EXPORTS) \
33604 for flag in $(EXTRA_HOST_FLAGS) ; do \
33605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33606 done; \
33607 echo "Doing maintainer-clean in sed" ; \
33608 (cd $(HOST_SUBDIR)/sed && \
33609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33611 "RANLIB=$${RANLIB}" \
33612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33613 maintainer-clean) \
33614 || exit 1
33616 @endif sed
33620 .PHONY: configure-send-pr maybe-configure-send-pr
33621 maybe-configure-send-pr:
33622 @if gcc-bootstrap
33623 configure-send-pr: stage_current
33624 @endif gcc-bootstrap
33625 @if send-pr
33626 maybe-configure-send-pr: configure-send-pr
33627 configure-send-pr:
33628 @: $(MAKE); $(unstage)
33629 @r=`${PWD_COMMAND}`; export r; \
33630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33631 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
33632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
33633 $(HOST_EXPORTS) \
33634 echo Configuring in $(HOST_SUBDIR)/send-pr; \
33635 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
33636 case $(srcdir) in \
33637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33638 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
33639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33640 esac; \
33641 srcdiroption="--srcdir=$${topdir}/send-pr"; \
33642 libsrcdir="$$s/send-pr"; \
33643 $(SHELL) $${libsrcdir}/configure \
33644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33645 --target=${target_alias} $${srcdiroption} \
33646 || exit 1
33647 @endif send-pr
33653 .PHONY: all-send-pr maybe-all-send-pr
33654 maybe-all-send-pr:
33655 @if gcc-bootstrap
33656 all-send-pr: stage_current
33657 @endif gcc-bootstrap
33658 @if send-pr
33659 TARGET-send-pr=all
33660 maybe-all-send-pr: all-send-pr
33661 all-send-pr: configure-send-pr
33662 @: $(MAKE); $(unstage)
33663 @r=`${PWD_COMMAND}`; export r; \
33664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33665 $(HOST_EXPORTS) \
33666 (cd $(HOST_SUBDIR)/send-pr && \
33667 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33668 $(TARGET-send-pr))
33669 @endif send-pr
33674 .PHONY: check-send-pr maybe-check-send-pr
33675 maybe-check-send-pr:
33676 @if send-pr
33677 maybe-check-send-pr: check-send-pr
33679 check-send-pr:
33680 @: $(MAKE); $(unstage)
33681 @r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 $(HOST_EXPORTS) \
33684 (cd $(HOST_SUBDIR)/send-pr && \
33685 $(MAKE) $(FLAGS_TO_PASS) check)
33687 @endif send-pr
33689 .PHONY: install-send-pr maybe-install-send-pr
33690 maybe-install-send-pr:
33691 @if send-pr
33692 maybe-install-send-pr: install-send-pr
33694 install-send-pr: installdirs
33695 @: $(MAKE); $(unstage)
33696 @r=`${PWD_COMMAND}`; export r; \
33697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33698 $(HOST_EXPORTS) \
33699 (cd $(HOST_SUBDIR)/send-pr && \
33700 $(MAKE) $(FLAGS_TO_PASS) install)
33702 @endif send-pr
33704 # Other targets (info, dvi, pdf, etc.)
33706 .PHONY: maybe-info-send-pr info-send-pr
33707 maybe-info-send-pr:
33708 @if send-pr
33709 maybe-info-send-pr: info-send-pr
33711 info-send-pr: \
33712 configure-send-pr
33713 @: $(MAKE); $(unstage)
33714 @[ -f ./send-pr/Makefile ] || exit 0; \
33715 r=`${PWD_COMMAND}`; export r; \
33716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33717 $(HOST_EXPORTS) \
33718 for flag in $(EXTRA_HOST_FLAGS) ; do \
33719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33720 done; \
33721 echo "Doing info in send-pr" ; \
33722 (cd $(HOST_SUBDIR)/send-pr && \
33723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33725 "RANLIB=$${RANLIB}" \
33726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33727 info) \
33728 || exit 1
33730 @endif send-pr
33732 .PHONY: maybe-dvi-send-pr dvi-send-pr
33733 maybe-dvi-send-pr:
33734 @if send-pr
33735 maybe-dvi-send-pr: dvi-send-pr
33737 dvi-send-pr: \
33738 configure-send-pr
33739 @: $(MAKE); $(unstage)
33740 @[ -f ./send-pr/Makefile ] || exit 0; \
33741 r=`${PWD_COMMAND}`; export r; \
33742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33743 $(HOST_EXPORTS) \
33744 for flag in $(EXTRA_HOST_FLAGS) ; do \
33745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33746 done; \
33747 echo "Doing dvi in send-pr" ; \
33748 (cd $(HOST_SUBDIR)/send-pr && \
33749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33751 "RANLIB=$${RANLIB}" \
33752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33753 dvi) \
33754 || exit 1
33756 @endif send-pr
33758 .PHONY: maybe-pdf-send-pr pdf-send-pr
33759 maybe-pdf-send-pr:
33760 @if send-pr
33761 maybe-pdf-send-pr: pdf-send-pr
33763 pdf-send-pr: \
33764 configure-send-pr
33765 @: $(MAKE); $(unstage)
33766 @[ -f ./send-pr/Makefile ] || exit 0; \
33767 r=`${PWD_COMMAND}`; export r; \
33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33769 $(HOST_EXPORTS) \
33770 for flag in $(EXTRA_HOST_FLAGS) ; do \
33771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33772 done; \
33773 echo "Doing pdf in send-pr" ; \
33774 (cd $(HOST_SUBDIR)/send-pr && \
33775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33777 "RANLIB=$${RANLIB}" \
33778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33779 pdf) \
33780 || exit 1
33782 @endif send-pr
33784 .PHONY: maybe-html-send-pr html-send-pr
33785 maybe-html-send-pr:
33786 @if send-pr
33787 maybe-html-send-pr: html-send-pr
33789 html-send-pr: \
33790 configure-send-pr
33791 @: $(MAKE); $(unstage)
33792 @[ -f ./send-pr/Makefile ] || exit 0; \
33793 r=`${PWD_COMMAND}`; export r; \
33794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33795 $(HOST_EXPORTS) \
33796 for flag in $(EXTRA_HOST_FLAGS) ; do \
33797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33798 done; \
33799 echo "Doing html in send-pr" ; \
33800 (cd $(HOST_SUBDIR)/send-pr && \
33801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33803 "RANLIB=$${RANLIB}" \
33804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33805 html) \
33806 || exit 1
33808 @endif send-pr
33810 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
33811 maybe-TAGS-send-pr:
33812 @if send-pr
33813 maybe-TAGS-send-pr: TAGS-send-pr
33815 TAGS-send-pr: \
33816 configure-send-pr
33817 @: $(MAKE); $(unstage)
33818 @[ -f ./send-pr/Makefile ] || exit 0; \
33819 r=`${PWD_COMMAND}`; export r; \
33820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33821 $(HOST_EXPORTS) \
33822 for flag in $(EXTRA_HOST_FLAGS) ; do \
33823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33824 done; \
33825 echo "Doing TAGS in send-pr" ; \
33826 (cd $(HOST_SUBDIR)/send-pr && \
33827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33829 "RANLIB=$${RANLIB}" \
33830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33831 TAGS) \
33832 || exit 1
33834 @endif send-pr
33836 .PHONY: maybe-install-info-send-pr install-info-send-pr
33837 maybe-install-info-send-pr:
33838 @if send-pr
33839 maybe-install-info-send-pr: install-info-send-pr
33841 install-info-send-pr: \
33842 configure-send-pr \
33843 info-send-pr
33844 @: $(MAKE); $(unstage)
33845 @[ -f ./send-pr/Makefile ] || exit 0; \
33846 r=`${PWD_COMMAND}`; export r; \
33847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33848 $(HOST_EXPORTS) \
33849 for flag in $(EXTRA_HOST_FLAGS) ; do \
33850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33851 done; \
33852 echo "Doing install-info in send-pr" ; \
33853 (cd $(HOST_SUBDIR)/send-pr && \
33854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33856 "RANLIB=$${RANLIB}" \
33857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33858 install-info) \
33859 || exit 1
33861 @endif send-pr
33863 .PHONY: maybe-install-pdf-send-pr install-pdf-send-pr
33864 maybe-install-pdf-send-pr:
33865 @if send-pr
33866 maybe-install-pdf-send-pr: install-pdf-send-pr
33868 install-pdf-send-pr: \
33869 configure-send-pr \
33870 pdf-send-pr
33871 @: $(MAKE); $(unstage)
33872 @[ -f ./send-pr/Makefile ] || exit 0; \
33873 r=`${PWD_COMMAND}`; export r; \
33874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33875 $(HOST_EXPORTS) \
33876 for flag in $(EXTRA_HOST_FLAGS) ; do \
33877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33878 done; \
33879 echo "Doing install-pdf in send-pr" ; \
33880 (cd $(HOST_SUBDIR)/send-pr && \
33881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33883 "RANLIB=$${RANLIB}" \
33884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33885 install-pdf) \
33886 || exit 1
33888 @endif send-pr
33890 .PHONY: maybe-install-html-send-pr install-html-send-pr
33891 maybe-install-html-send-pr:
33892 @if send-pr
33893 maybe-install-html-send-pr: install-html-send-pr
33895 install-html-send-pr: \
33896 configure-send-pr \
33897 html-send-pr
33898 @: $(MAKE); $(unstage)
33899 @[ -f ./send-pr/Makefile ] || exit 0; \
33900 r=`${PWD_COMMAND}`; export r; \
33901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33902 $(HOST_EXPORTS) \
33903 for flag in $(EXTRA_HOST_FLAGS) ; do \
33904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33905 done; \
33906 echo "Doing install-html in send-pr" ; \
33907 (cd $(HOST_SUBDIR)/send-pr && \
33908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33910 "RANLIB=$${RANLIB}" \
33911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33912 install-html) \
33913 || exit 1
33915 @endif send-pr
33917 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
33918 maybe-installcheck-send-pr:
33919 @if send-pr
33920 maybe-installcheck-send-pr: installcheck-send-pr
33922 installcheck-send-pr: \
33923 configure-send-pr
33924 @: $(MAKE); $(unstage)
33925 @[ -f ./send-pr/Makefile ] || exit 0; \
33926 r=`${PWD_COMMAND}`; export r; \
33927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33928 $(HOST_EXPORTS) \
33929 for flag in $(EXTRA_HOST_FLAGS) ; do \
33930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33931 done; \
33932 echo "Doing installcheck in send-pr" ; \
33933 (cd $(HOST_SUBDIR)/send-pr && \
33934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33936 "RANLIB=$${RANLIB}" \
33937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33938 installcheck) \
33939 || exit 1
33941 @endif send-pr
33943 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
33944 maybe-mostlyclean-send-pr:
33945 @if send-pr
33946 maybe-mostlyclean-send-pr: mostlyclean-send-pr
33948 mostlyclean-send-pr:
33949 @: $(MAKE); $(unstage)
33950 @[ -f ./send-pr/Makefile ] || exit 0; \
33951 r=`${PWD_COMMAND}`; export r; \
33952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33953 $(HOST_EXPORTS) \
33954 for flag in $(EXTRA_HOST_FLAGS) ; do \
33955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33956 done; \
33957 echo "Doing mostlyclean in send-pr" ; \
33958 (cd $(HOST_SUBDIR)/send-pr && \
33959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33961 "RANLIB=$${RANLIB}" \
33962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33963 mostlyclean) \
33964 || exit 1
33966 @endif send-pr
33968 .PHONY: maybe-clean-send-pr clean-send-pr
33969 maybe-clean-send-pr:
33970 @if send-pr
33971 maybe-clean-send-pr: clean-send-pr
33973 clean-send-pr:
33974 @: $(MAKE); $(unstage)
33975 @[ -f ./send-pr/Makefile ] || exit 0; \
33976 r=`${PWD_COMMAND}`; export r; \
33977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33978 $(HOST_EXPORTS) \
33979 for flag in $(EXTRA_HOST_FLAGS) ; do \
33980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33981 done; \
33982 echo "Doing clean in send-pr" ; \
33983 (cd $(HOST_SUBDIR)/send-pr && \
33984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33986 "RANLIB=$${RANLIB}" \
33987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33988 clean) \
33989 || exit 1
33991 @endif send-pr
33993 .PHONY: maybe-distclean-send-pr distclean-send-pr
33994 maybe-distclean-send-pr:
33995 @if send-pr
33996 maybe-distclean-send-pr: distclean-send-pr
33998 distclean-send-pr:
33999 @: $(MAKE); $(unstage)
34000 @[ -f ./send-pr/Makefile ] || exit 0; \
34001 r=`${PWD_COMMAND}`; export r; \
34002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34003 $(HOST_EXPORTS) \
34004 for flag in $(EXTRA_HOST_FLAGS) ; do \
34005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34006 done; \
34007 echo "Doing distclean in send-pr" ; \
34008 (cd $(HOST_SUBDIR)/send-pr && \
34009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34011 "RANLIB=$${RANLIB}" \
34012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34013 distclean) \
34014 || exit 1
34016 @endif send-pr
34018 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
34019 maybe-maintainer-clean-send-pr:
34020 @if send-pr
34021 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
34023 maintainer-clean-send-pr:
34024 @: $(MAKE); $(unstage)
34025 @[ -f ./send-pr/Makefile ] || exit 0; \
34026 r=`${PWD_COMMAND}`; export r; \
34027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34028 $(HOST_EXPORTS) \
34029 for flag in $(EXTRA_HOST_FLAGS) ; do \
34030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34031 done; \
34032 echo "Doing maintainer-clean in send-pr" ; \
34033 (cd $(HOST_SUBDIR)/send-pr && \
34034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34036 "RANLIB=$${RANLIB}" \
34037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34038 maintainer-clean) \
34039 || exit 1
34041 @endif send-pr
34045 .PHONY: configure-shellutils maybe-configure-shellutils
34046 maybe-configure-shellutils:
34047 @if gcc-bootstrap
34048 configure-shellutils: stage_current
34049 @endif gcc-bootstrap
34050 @if shellutils
34051 maybe-configure-shellutils: configure-shellutils
34052 configure-shellutils:
34053 @: $(MAKE); $(unstage)
34054 @r=`${PWD_COMMAND}`; export r; \
34055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34056 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
34057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
34058 $(HOST_EXPORTS) \
34059 echo Configuring in $(HOST_SUBDIR)/shellutils; \
34060 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
34061 case $(srcdir) in \
34062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34063 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
34064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34065 esac; \
34066 srcdiroption="--srcdir=$${topdir}/shellutils"; \
34067 libsrcdir="$$s/shellutils"; \
34068 $(SHELL) $${libsrcdir}/configure \
34069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34070 --target=${target_alias} $${srcdiroption} \
34071 || exit 1
34072 @endif shellutils
34078 .PHONY: all-shellutils maybe-all-shellutils
34079 maybe-all-shellutils:
34080 @if gcc-bootstrap
34081 all-shellutils: stage_current
34082 @endif gcc-bootstrap
34083 @if shellutils
34084 TARGET-shellutils=all
34085 maybe-all-shellutils: all-shellutils
34086 all-shellutils: configure-shellutils
34087 @: $(MAKE); $(unstage)
34088 @r=`${PWD_COMMAND}`; export r; \
34089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34090 $(HOST_EXPORTS) \
34091 (cd $(HOST_SUBDIR)/shellutils && \
34092 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34093 $(TARGET-shellutils))
34094 @endif shellutils
34099 .PHONY: check-shellutils maybe-check-shellutils
34100 maybe-check-shellutils:
34101 @if shellutils
34102 maybe-check-shellutils: check-shellutils
34104 check-shellutils:
34105 @: $(MAKE); $(unstage)
34106 @r=`${PWD_COMMAND}`; export r; \
34107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34108 $(HOST_EXPORTS) \
34109 (cd $(HOST_SUBDIR)/shellutils && \
34110 $(MAKE) $(FLAGS_TO_PASS) check)
34112 @endif shellutils
34114 .PHONY: install-shellutils maybe-install-shellutils
34115 maybe-install-shellutils:
34116 @if shellutils
34117 maybe-install-shellutils: install-shellutils
34119 install-shellutils: installdirs
34120 @: $(MAKE); $(unstage)
34121 @r=`${PWD_COMMAND}`; export r; \
34122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34123 $(HOST_EXPORTS) \
34124 (cd $(HOST_SUBDIR)/shellutils && \
34125 $(MAKE) $(FLAGS_TO_PASS) install)
34127 @endif shellutils
34129 # Other targets (info, dvi, pdf, etc.)
34131 .PHONY: maybe-info-shellutils info-shellutils
34132 maybe-info-shellutils:
34133 @if shellutils
34134 maybe-info-shellutils: info-shellutils
34136 info-shellutils: \
34137 configure-shellutils
34138 @: $(MAKE); $(unstage)
34139 @[ -f ./shellutils/Makefile ] || exit 0; \
34140 r=`${PWD_COMMAND}`; export r; \
34141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34142 $(HOST_EXPORTS) \
34143 for flag in $(EXTRA_HOST_FLAGS) ; do \
34144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34145 done; \
34146 echo "Doing info in shellutils" ; \
34147 (cd $(HOST_SUBDIR)/shellutils && \
34148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34150 "RANLIB=$${RANLIB}" \
34151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34152 info) \
34153 || exit 1
34155 @endif shellutils
34157 .PHONY: maybe-dvi-shellutils dvi-shellutils
34158 maybe-dvi-shellutils:
34159 @if shellutils
34160 maybe-dvi-shellutils: dvi-shellutils
34162 dvi-shellutils: \
34163 configure-shellutils
34164 @: $(MAKE); $(unstage)
34165 @[ -f ./shellutils/Makefile ] || exit 0; \
34166 r=`${PWD_COMMAND}`; export r; \
34167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34168 $(HOST_EXPORTS) \
34169 for flag in $(EXTRA_HOST_FLAGS) ; do \
34170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34171 done; \
34172 echo "Doing dvi in shellutils" ; \
34173 (cd $(HOST_SUBDIR)/shellutils && \
34174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34176 "RANLIB=$${RANLIB}" \
34177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34178 dvi) \
34179 || exit 1
34181 @endif shellutils
34183 .PHONY: maybe-pdf-shellutils pdf-shellutils
34184 maybe-pdf-shellutils:
34185 @if shellutils
34186 maybe-pdf-shellutils: pdf-shellutils
34188 pdf-shellutils: \
34189 configure-shellutils
34190 @: $(MAKE); $(unstage)
34191 @[ -f ./shellutils/Makefile ] || exit 0; \
34192 r=`${PWD_COMMAND}`; export r; \
34193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34194 $(HOST_EXPORTS) \
34195 for flag in $(EXTRA_HOST_FLAGS) ; do \
34196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34197 done; \
34198 echo "Doing pdf in shellutils" ; \
34199 (cd $(HOST_SUBDIR)/shellutils && \
34200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34202 "RANLIB=$${RANLIB}" \
34203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34204 pdf) \
34205 || exit 1
34207 @endif shellutils
34209 .PHONY: maybe-html-shellutils html-shellutils
34210 maybe-html-shellutils:
34211 @if shellutils
34212 maybe-html-shellutils: html-shellutils
34214 html-shellutils: \
34215 configure-shellutils
34216 @: $(MAKE); $(unstage)
34217 @[ -f ./shellutils/Makefile ] || exit 0; \
34218 r=`${PWD_COMMAND}`; export r; \
34219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34220 $(HOST_EXPORTS) \
34221 for flag in $(EXTRA_HOST_FLAGS) ; do \
34222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34223 done; \
34224 echo "Doing html in shellutils" ; \
34225 (cd $(HOST_SUBDIR)/shellutils && \
34226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34228 "RANLIB=$${RANLIB}" \
34229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34230 html) \
34231 || exit 1
34233 @endif shellutils
34235 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
34236 maybe-TAGS-shellutils:
34237 @if shellutils
34238 maybe-TAGS-shellutils: TAGS-shellutils
34240 TAGS-shellutils: \
34241 configure-shellutils
34242 @: $(MAKE); $(unstage)
34243 @[ -f ./shellutils/Makefile ] || exit 0; \
34244 r=`${PWD_COMMAND}`; export r; \
34245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34246 $(HOST_EXPORTS) \
34247 for flag in $(EXTRA_HOST_FLAGS) ; do \
34248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34249 done; \
34250 echo "Doing TAGS in shellutils" ; \
34251 (cd $(HOST_SUBDIR)/shellutils && \
34252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34254 "RANLIB=$${RANLIB}" \
34255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34256 TAGS) \
34257 || exit 1
34259 @endif shellutils
34261 .PHONY: maybe-install-info-shellutils install-info-shellutils
34262 maybe-install-info-shellutils:
34263 @if shellutils
34264 maybe-install-info-shellutils: install-info-shellutils
34266 install-info-shellutils: \
34267 configure-shellutils \
34268 info-shellutils
34269 @: $(MAKE); $(unstage)
34270 @[ -f ./shellutils/Makefile ] || exit 0; \
34271 r=`${PWD_COMMAND}`; export r; \
34272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34273 $(HOST_EXPORTS) \
34274 for flag in $(EXTRA_HOST_FLAGS) ; do \
34275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34276 done; \
34277 echo "Doing install-info in shellutils" ; \
34278 (cd $(HOST_SUBDIR)/shellutils && \
34279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34281 "RANLIB=$${RANLIB}" \
34282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34283 install-info) \
34284 || exit 1
34286 @endif shellutils
34288 .PHONY: maybe-install-pdf-shellutils install-pdf-shellutils
34289 maybe-install-pdf-shellutils:
34290 @if shellutils
34291 maybe-install-pdf-shellutils: install-pdf-shellutils
34293 install-pdf-shellutils: \
34294 configure-shellutils \
34295 pdf-shellutils
34296 @: $(MAKE); $(unstage)
34297 @[ -f ./shellutils/Makefile ] || exit 0; \
34298 r=`${PWD_COMMAND}`; export r; \
34299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34300 $(HOST_EXPORTS) \
34301 for flag in $(EXTRA_HOST_FLAGS) ; do \
34302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34303 done; \
34304 echo "Doing install-pdf in shellutils" ; \
34305 (cd $(HOST_SUBDIR)/shellutils && \
34306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34308 "RANLIB=$${RANLIB}" \
34309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34310 install-pdf) \
34311 || exit 1
34313 @endif shellutils
34315 .PHONY: maybe-install-html-shellutils install-html-shellutils
34316 maybe-install-html-shellutils:
34317 @if shellutils
34318 maybe-install-html-shellutils: install-html-shellutils
34320 install-html-shellutils: \
34321 configure-shellutils \
34322 html-shellutils
34323 @: $(MAKE); $(unstage)
34324 @[ -f ./shellutils/Makefile ] || exit 0; \
34325 r=`${PWD_COMMAND}`; export r; \
34326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34327 $(HOST_EXPORTS) \
34328 for flag in $(EXTRA_HOST_FLAGS) ; do \
34329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34330 done; \
34331 echo "Doing install-html in shellutils" ; \
34332 (cd $(HOST_SUBDIR)/shellutils && \
34333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34335 "RANLIB=$${RANLIB}" \
34336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34337 install-html) \
34338 || exit 1
34340 @endif shellutils
34342 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
34343 maybe-installcheck-shellutils:
34344 @if shellutils
34345 maybe-installcheck-shellutils: installcheck-shellutils
34347 installcheck-shellutils: \
34348 configure-shellutils
34349 @: $(MAKE); $(unstage)
34350 @[ -f ./shellutils/Makefile ] || exit 0; \
34351 r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(HOST_EXPORTS) \
34354 for flag in $(EXTRA_HOST_FLAGS) ; do \
34355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34356 done; \
34357 echo "Doing installcheck in shellutils" ; \
34358 (cd $(HOST_SUBDIR)/shellutils && \
34359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34361 "RANLIB=$${RANLIB}" \
34362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34363 installcheck) \
34364 || exit 1
34366 @endif shellutils
34368 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
34369 maybe-mostlyclean-shellutils:
34370 @if shellutils
34371 maybe-mostlyclean-shellutils: mostlyclean-shellutils
34373 mostlyclean-shellutils:
34374 @: $(MAKE); $(unstage)
34375 @[ -f ./shellutils/Makefile ] || exit 0; \
34376 r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 $(HOST_EXPORTS) \
34379 for flag in $(EXTRA_HOST_FLAGS) ; do \
34380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34381 done; \
34382 echo "Doing mostlyclean in shellutils" ; \
34383 (cd $(HOST_SUBDIR)/shellutils && \
34384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34386 "RANLIB=$${RANLIB}" \
34387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34388 mostlyclean) \
34389 || exit 1
34391 @endif shellutils
34393 .PHONY: maybe-clean-shellutils clean-shellutils
34394 maybe-clean-shellutils:
34395 @if shellutils
34396 maybe-clean-shellutils: clean-shellutils
34398 clean-shellutils:
34399 @: $(MAKE); $(unstage)
34400 @[ -f ./shellutils/Makefile ] || exit 0; \
34401 r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(HOST_EXPORTS) \
34404 for flag in $(EXTRA_HOST_FLAGS) ; do \
34405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34406 done; \
34407 echo "Doing clean in shellutils" ; \
34408 (cd $(HOST_SUBDIR)/shellutils && \
34409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34411 "RANLIB=$${RANLIB}" \
34412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34413 clean) \
34414 || exit 1
34416 @endif shellutils
34418 .PHONY: maybe-distclean-shellutils distclean-shellutils
34419 maybe-distclean-shellutils:
34420 @if shellutils
34421 maybe-distclean-shellutils: distclean-shellutils
34423 distclean-shellutils:
34424 @: $(MAKE); $(unstage)
34425 @[ -f ./shellutils/Makefile ] || exit 0; \
34426 r=`${PWD_COMMAND}`; export r; \
34427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34428 $(HOST_EXPORTS) \
34429 for flag in $(EXTRA_HOST_FLAGS) ; do \
34430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34431 done; \
34432 echo "Doing distclean in shellutils" ; \
34433 (cd $(HOST_SUBDIR)/shellutils && \
34434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34436 "RANLIB=$${RANLIB}" \
34437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34438 distclean) \
34439 || exit 1
34441 @endif shellutils
34443 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
34444 maybe-maintainer-clean-shellutils:
34445 @if shellutils
34446 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
34448 maintainer-clean-shellutils:
34449 @: $(MAKE); $(unstage)
34450 @[ -f ./shellutils/Makefile ] || exit 0; \
34451 r=`${PWD_COMMAND}`; export r; \
34452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34453 $(HOST_EXPORTS) \
34454 for flag in $(EXTRA_HOST_FLAGS) ; do \
34455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34456 done; \
34457 echo "Doing maintainer-clean in shellutils" ; \
34458 (cd $(HOST_SUBDIR)/shellutils && \
34459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34461 "RANLIB=$${RANLIB}" \
34462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34463 maintainer-clean) \
34464 || exit 1
34466 @endif shellutils
34470 .PHONY: configure-sid maybe-configure-sid
34471 maybe-configure-sid:
34472 @if gcc-bootstrap
34473 configure-sid: stage_current
34474 @endif gcc-bootstrap
34475 @if sid
34476 maybe-configure-sid: configure-sid
34477 configure-sid:
34478 @: $(MAKE); $(unstage)
34479 @r=`${PWD_COMMAND}`; export r; \
34480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34481 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
34482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
34483 $(HOST_EXPORTS) \
34484 echo Configuring in $(HOST_SUBDIR)/sid; \
34485 cd "$(HOST_SUBDIR)/sid" || exit 1; \
34486 case $(srcdir) in \
34487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34488 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
34489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34490 esac; \
34491 srcdiroption="--srcdir=$${topdir}/sid"; \
34492 libsrcdir="$$s/sid"; \
34493 $(SHELL) $${libsrcdir}/configure \
34494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34495 --target=${target_alias} $${srcdiroption} \
34496 || exit 1
34497 @endif sid
34503 .PHONY: all-sid maybe-all-sid
34504 maybe-all-sid:
34505 @if gcc-bootstrap
34506 all-sid: stage_current
34507 @endif gcc-bootstrap
34508 @if sid
34509 TARGET-sid=all
34510 maybe-all-sid: all-sid
34511 all-sid: configure-sid
34512 @: $(MAKE); $(unstage)
34513 @r=`${PWD_COMMAND}`; export r; \
34514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34515 $(HOST_EXPORTS) \
34516 (cd $(HOST_SUBDIR)/sid && \
34517 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34518 $(TARGET-sid))
34519 @endif sid
34524 .PHONY: check-sid maybe-check-sid
34525 maybe-check-sid:
34526 @if sid
34527 maybe-check-sid: check-sid
34529 check-sid:
34530 @: $(MAKE); $(unstage)
34531 @r=`${PWD_COMMAND}`; export r; \
34532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34533 $(HOST_EXPORTS) \
34534 (cd $(HOST_SUBDIR)/sid && \
34535 $(MAKE) $(FLAGS_TO_PASS) check)
34537 @endif sid
34539 .PHONY: install-sid maybe-install-sid
34540 maybe-install-sid:
34541 @if sid
34542 maybe-install-sid: install-sid
34544 install-sid: installdirs
34545 @: $(MAKE); $(unstage)
34546 @r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(HOST_EXPORTS) \
34549 (cd $(HOST_SUBDIR)/sid && \
34550 $(MAKE) $(FLAGS_TO_PASS) install)
34552 @endif sid
34554 # Other targets (info, dvi, pdf, etc.)
34556 .PHONY: maybe-info-sid info-sid
34557 maybe-info-sid:
34558 @if sid
34559 maybe-info-sid: info-sid
34561 info-sid: \
34562 configure-sid
34563 @: $(MAKE); $(unstage)
34564 @[ -f ./sid/Makefile ] || exit 0; \
34565 r=`${PWD_COMMAND}`; export r; \
34566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34567 $(HOST_EXPORTS) \
34568 for flag in $(EXTRA_HOST_FLAGS) ; do \
34569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34570 done; \
34571 echo "Doing info in sid" ; \
34572 (cd $(HOST_SUBDIR)/sid && \
34573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34575 "RANLIB=$${RANLIB}" \
34576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34577 info) \
34578 || exit 1
34580 @endif sid
34582 .PHONY: maybe-dvi-sid dvi-sid
34583 maybe-dvi-sid:
34584 @if sid
34585 maybe-dvi-sid: dvi-sid
34587 dvi-sid: \
34588 configure-sid
34589 @: $(MAKE); $(unstage)
34590 @[ -f ./sid/Makefile ] || exit 0; \
34591 r=`${PWD_COMMAND}`; export r; \
34592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34593 $(HOST_EXPORTS) \
34594 for flag in $(EXTRA_HOST_FLAGS) ; do \
34595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34596 done; \
34597 echo "Doing dvi in sid" ; \
34598 (cd $(HOST_SUBDIR)/sid && \
34599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34601 "RANLIB=$${RANLIB}" \
34602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34603 dvi) \
34604 || exit 1
34606 @endif sid
34608 .PHONY: maybe-pdf-sid pdf-sid
34609 maybe-pdf-sid:
34610 @if sid
34611 maybe-pdf-sid: pdf-sid
34613 pdf-sid: \
34614 configure-sid
34615 @: $(MAKE); $(unstage)
34616 @[ -f ./sid/Makefile ] || exit 0; \
34617 r=`${PWD_COMMAND}`; export r; \
34618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34619 $(HOST_EXPORTS) \
34620 for flag in $(EXTRA_HOST_FLAGS) ; do \
34621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34622 done; \
34623 echo "Doing pdf in sid" ; \
34624 (cd $(HOST_SUBDIR)/sid && \
34625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34627 "RANLIB=$${RANLIB}" \
34628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34629 pdf) \
34630 || exit 1
34632 @endif sid
34634 .PHONY: maybe-html-sid html-sid
34635 maybe-html-sid:
34636 @if sid
34637 maybe-html-sid: html-sid
34639 html-sid: \
34640 configure-sid
34641 @: $(MAKE); $(unstage)
34642 @[ -f ./sid/Makefile ] || exit 0; \
34643 r=`${PWD_COMMAND}`; export r; \
34644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34645 $(HOST_EXPORTS) \
34646 for flag in $(EXTRA_HOST_FLAGS) ; do \
34647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34648 done; \
34649 echo "Doing html in sid" ; \
34650 (cd $(HOST_SUBDIR)/sid && \
34651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34653 "RANLIB=$${RANLIB}" \
34654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34655 html) \
34656 || exit 1
34658 @endif sid
34660 .PHONY: maybe-TAGS-sid TAGS-sid
34661 maybe-TAGS-sid:
34662 @if sid
34663 maybe-TAGS-sid: TAGS-sid
34665 TAGS-sid: \
34666 configure-sid
34667 @: $(MAKE); $(unstage)
34668 @[ -f ./sid/Makefile ] || exit 0; \
34669 r=`${PWD_COMMAND}`; export r; \
34670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34671 $(HOST_EXPORTS) \
34672 for flag in $(EXTRA_HOST_FLAGS) ; do \
34673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34674 done; \
34675 echo "Doing TAGS in sid" ; \
34676 (cd $(HOST_SUBDIR)/sid && \
34677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34679 "RANLIB=$${RANLIB}" \
34680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34681 TAGS) \
34682 || exit 1
34684 @endif sid
34686 .PHONY: maybe-install-info-sid install-info-sid
34687 maybe-install-info-sid:
34688 @if sid
34689 maybe-install-info-sid: install-info-sid
34691 install-info-sid: \
34692 configure-sid \
34693 info-sid
34694 @: $(MAKE); $(unstage)
34695 @[ -f ./sid/Makefile ] || exit 0; \
34696 r=`${PWD_COMMAND}`; export r; \
34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34698 $(HOST_EXPORTS) \
34699 for flag in $(EXTRA_HOST_FLAGS) ; do \
34700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34701 done; \
34702 echo "Doing install-info in sid" ; \
34703 (cd $(HOST_SUBDIR)/sid && \
34704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34706 "RANLIB=$${RANLIB}" \
34707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34708 install-info) \
34709 || exit 1
34711 @endif sid
34713 .PHONY: maybe-install-pdf-sid install-pdf-sid
34714 maybe-install-pdf-sid:
34715 @if sid
34716 maybe-install-pdf-sid: install-pdf-sid
34718 install-pdf-sid: \
34719 configure-sid \
34720 pdf-sid
34721 @: $(MAKE); $(unstage)
34722 @[ -f ./sid/Makefile ] || exit 0; \
34723 r=`${PWD_COMMAND}`; export r; \
34724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34725 $(HOST_EXPORTS) \
34726 for flag in $(EXTRA_HOST_FLAGS) ; do \
34727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34728 done; \
34729 echo "Doing install-pdf in sid" ; \
34730 (cd $(HOST_SUBDIR)/sid && \
34731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34733 "RANLIB=$${RANLIB}" \
34734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34735 install-pdf) \
34736 || exit 1
34738 @endif sid
34740 .PHONY: maybe-install-html-sid install-html-sid
34741 maybe-install-html-sid:
34742 @if sid
34743 maybe-install-html-sid: install-html-sid
34745 install-html-sid: \
34746 configure-sid \
34747 html-sid
34748 @: $(MAKE); $(unstage)
34749 @[ -f ./sid/Makefile ] || exit 0; \
34750 r=`${PWD_COMMAND}`; export r; \
34751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34752 $(HOST_EXPORTS) \
34753 for flag in $(EXTRA_HOST_FLAGS) ; do \
34754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34755 done; \
34756 echo "Doing install-html in sid" ; \
34757 (cd $(HOST_SUBDIR)/sid && \
34758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34760 "RANLIB=$${RANLIB}" \
34761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34762 install-html) \
34763 || exit 1
34765 @endif sid
34767 .PHONY: maybe-installcheck-sid installcheck-sid
34768 maybe-installcheck-sid:
34769 @if sid
34770 maybe-installcheck-sid: installcheck-sid
34772 installcheck-sid: \
34773 configure-sid
34774 @: $(MAKE); $(unstage)
34775 @[ -f ./sid/Makefile ] || exit 0; \
34776 r=`${PWD_COMMAND}`; export r; \
34777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34778 $(HOST_EXPORTS) \
34779 for flag in $(EXTRA_HOST_FLAGS) ; do \
34780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34781 done; \
34782 echo "Doing installcheck in sid" ; \
34783 (cd $(HOST_SUBDIR)/sid && \
34784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34786 "RANLIB=$${RANLIB}" \
34787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34788 installcheck) \
34789 || exit 1
34791 @endif sid
34793 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
34794 maybe-mostlyclean-sid:
34795 @if sid
34796 maybe-mostlyclean-sid: mostlyclean-sid
34798 mostlyclean-sid:
34799 @: $(MAKE); $(unstage)
34800 @[ -f ./sid/Makefile ] || exit 0; \
34801 r=`${PWD_COMMAND}`; export r; \
34802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34803 $(HOST_EXPORTS) \
34804 for flag in $(EXTRA_HOST_FLAGS) ; do \
34805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34806 done; \
34807 echo "Doing mostlyclean in sid" ; \
34808 (cd $(HOST_SUBDIR)/sid && \
34809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34811 "RANLIB=$${RANLIB}" \
34812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34813 mostlyclean) \
34814 || exit 1
34816 @endif sid
34818 .PHONY: maybe-clean-sid clean-sid
34819 maybe-clean-sid:
34820 @if sid
34821 maybe-clean-sid: clean-sid
34823 clean-sid:
34824 @: $(MAKE); $(unstage)
34825 @[ -f ./sid/Makefile ] || exit 0; \
34826 r=`${PWD_COMMAND}`; export r; \
34827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34828 $(HOST_EXPORTS) \
34829 for flag in $(EXTRA_HOST_FLAGS) ; do \
34830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34831 done; \
34832 echo "Doing clean in sid" ; \
34833 (cd $(HOST_SUBDIR)/sid && \
34834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34836 "RANLIB=$${RANLIB}" \
34837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34838 clean) \
34839 || exit 1
34841 @endif sid
34843 .PHONY: maybe-distclean-sid distclean-sid
34844 maybe-distclean-sid:
34845 @if sid
34846 maybe-distclean-sid: distclean-sid
34848 distclean-sid:
34849 @: $(MAKE); $(unstage)
34850 @[ -f ./sid/Makefile ] || exit 0; \
34851 r=`${PWD_COMMAND}`; export r; \
34852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34853 $(HOST_EXPORTS) \
34854 for flag in $(EXTRA_HOST_FLAGS) ; do \
34855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34856 done; \
34857 echo "Doing distclean in sid" ; \
34858 (cd $(HOST_SUBDIR)/sid && \
34859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34861 "RANLIB=$${RANLIB}" \
34862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34863 distclean) \
34864 || exit 1
34866 @endif sid
34868 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
34869 maybe-maintainer-clean-sid:
34870 @if sid
34871 maybe-maintainer-clean-sid: maintainer-clean-sid
34873 maintainer-clean-sid:
34874 @: $(MAKE); $(unstage)
34875 @[ -f ./sid/Makefile ] || exit 0; \
34876 r=`${PWD_COMMAND}`; export r; \
34877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34878 $(HOST_EXPORTS) \
34879 for flag in $(EXTRA_HOST_FLAGS) ; do \
34880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34881 done; \
34882 echo "Doing maintainer-clean in sid" ; \
34883 (cd $(HOST_SUBDIR)/sid && \
34884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34886 "RANLIB=$${RANLIB}" \
34887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34888 maintainer-clean) \
34889 || exit 1
34891 @endif sid
34895 .PHONY: configure-sim maybe-configure-sim
34896 maybe-configure-sim:
34897 @if gcc-bootstrap
34898 configure-sim: stage_current
34899 @endif gcc-bootstrap
34900 @if sim
34901 maybe-configure-sim: configure-sim
34902 configure-sim:
34903 @: $(MAKE); $(unstage)
34904 @r=`${PWD_COMMAND}`; export r; \
34905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34906 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
34907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
34908 $(HOST_EXPORTS) \
34909 echo Configuring in $(HOST_SUBDIR)/sim; \
34910 cd "$(HOST_SUBDIR)/sim" || exit 1; \
34911 case $(srcdir) in \
34912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34913 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
34914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34915 esac; \
34916 srcdiroption="--srcdir=$${topdir}/sim"; \
34917 libsrcdir="$$s/sim"; \
34918 $(SHELL) $${libsrcdir}/configure \
34919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34920 --target=${target_alias} $${srcdiroption} \
34921 || exit 1
34922 @endif sim
34928 .PHONY: all-sim maybe-all-sim
34929 maybe-all-sim:
34930 @if gcc-bootstrap
34931 all-sim: stage_current
34932 @endif gcc-bootstrap
34933 @if sim
34934 TARGET-sim=all
34935 maybe-all-sim: all-sim
34936 all-sim: configure-sim
34937 @: $(MAKE); $(unstage)
34938 @r=`${PWD_COMMAND}`; export r; \
34939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34940 $(HOST_EXPORTS) \
34941 (cd $(HOST_SUBDIR)/sim && \
34942 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34943 $(TARGET-sim))
34944 @endif sim
34949 .PHONY: check-sim maybe-check-sim
34950 maybe-check-sim:
34951 @if sim
34952 maybe-check-sim: check-sim
34954 check-sim:
34955 @: $(MAKE); $(unstage)
34956 @r=`${PWD_COMMAND}`; export r; \
34957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34958 $(HOST_EXPORTS) \
34959 (cd $(HOST_SUBDIR)/sim && \
34960 $(MAKE) $(FLAGS_TO_PASS) check)
34962 @endif sim
34964 .PHONY: install-sim maybe-install-sim
34965 maybe-install-sim:
34966 @if sim
34967 maybe-install-sim: install-sim
34969 install-sim: installdirs
34970 @: $(MAKE); $(unstage)
34971 @r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(HOST_EXPORTS) \
34974 (cd $(HOST_SUBDIR)/sim && \
34975 $(MAKE) $(FLAGS_TO_PASS) install)
34977 @endif sim
34979 # Other targets (info, dvi, pdf, etc.)
34981 .PHONY: maybe-info-sim info-sim
34982 maybe-info-sim:
34983 @if sim
34984 maybe-info-sim: info-sim
34986 info-sim: \
34987 configure-sim
34988 @: $(MAKE); $(unstage)
34989 @[ -f ./sim/Makefile ] || exit 0; \
34990 r=`${PWD_COMMAND}`; export r; \
34991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34992 $(HOST_EXPORTS) \
34993 for flag in $(EXTRA_HOST_FLAGS) ; do \
34994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34995 done; \
34996 echo "Doing info in sim" ; \
34997 (cd $(HOST_SUBDIR)/sim && \
34998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35000 "RANLIB=$${RANLIB}" \
35001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35002 info) \
35003 || exit 1
35005 @endif sim
35007 .PHONY: maybe-dvi-sim dvi-sim
35008 maybe-dvi-sim:
35009 @if sim
35010 maybe-dvi-sim: dvi-sim
35012 dvi-sim: \
35013 configure-sim
35014 @: $(MAKE); $(unstage)
35015 @[ -f ./sim/Makefile ] || exit 0; \
35016 r=`${PWD_COMMAND}`; export r; \
35017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35018 $(HOST_EXPORTS) \
35019 for flag in $(EXTRA_HOST_FLAGS) ; do \
35020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35021 done; \
35022 echo "Doing dvi in sim" ; \
35023 (cd $(HOST_SUBDIR)/sim && \
35024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35026 "RANLIB=$${RANLIB}" \
35027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35028 dvi) \
35029 || exit 1
35031 @endif sim
35033 .PHONY: maybe-pdf-sim pdf-sim
35034 maybe-pdf-sim:
35035 @if sim
35036 maybe-pdf-sim: pdf-sim
35038 pdf-sim: \
35039 configure-sim
35040 @: $(MAKE); $(unstage)
35041 @[ -f ./sim/Makefile ] || exit 0; \
35042 r=`${PWD_COMMAND}`; export r; \
35043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35044 $(HOST_EXPORTS) \
35045 for flag in $(EXTRA_HOST_FLAGS) ; do \
35046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35047 done; \
35048 echo "Doing pdf in sim" ; \
35049 (cd $(HOST_SUBDIR)/sim && \
35050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35052 "RANLIB=$${RANLIB}" \
35053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35054 pdf) \
35055 || exit 1
35057 @endif sim
35059 .PHONY: maybe-html-sim html-sim
35060 maybe-html-sim:
35061 @if sim
35062 maybe-html-sim: html-sim
35064 html-sim: \
35065 configure-sim
35066 @: $(MAKE); $(unstage)
35067 @[ -f ./sim/Makefile ] || exit 0; \
35068 r=`${PWD_COMMAND}`; export r; \
35069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35070 $(HOST_EXPORTS) \
35071 for flag in $(EXTRA_HOST_FLAGS) ; do \
35072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35073 done; \
35074 echo "Doing html in sim" ; \
35075 (cd $(HOST_SUBDIR)/sim && \
35076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35078 "RANLIB=$${RANLIB}" \
35079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35080 html) \
35081 || exit 1
35083 @endif sim
35085 .PHONY: maybe-TAGS-sim TAGS-sim
35086 maybe-TAGS-sim:
35087 @if sim
35088 maybe-TAGS-sim: TAGS-sim
35090 TAGS-sim: \
35091 configure-sim
35092 @: $(MAKE); $(unstage)
35093 @[ -f ./sim/Makefile ] || exit 0; \
35094 r=`${PWD_COMMAND}`; export r; \
35095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35096 $(HOST_EXPORTS) \
35097 for flag in $(EXTRA_HOST_FLAGS) ; do \
35098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35099 done; \
35100 echo "Doing TAGS in sim" ; \
35101 (cd $(HOST_SUBDIR)/sim && \
35102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35104 "RANLIB=$${RANLIB}" \
35105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35106 TAGS) \
35107 || exit 1
35109 @endif sim
35111 .PHONY: maybe-install-info-sim install-info-sim
35112 maybe-install-info-sim:
35113 @if sim
35114 maybe-install-info-sim: install-info-sim
35116 install-info-sim: \
35117 configure-sim \
35118 info-sim
35119 @: $(MAKE); $(unstage)
35120 @[ -f ./sim/Makefile ] || exit 0; \
35121 r=`${PWD_COMMAND}`; export r; \
35122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35123 $(HOST_EXPORTS) \
35124 for flag in $(EXTRA_HOST_FLAGS) ; do \
35125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35126 done; \
35127 echo "Doing install-info in sim" ; \
35128 (cd $(HOST_SUBDIR)/sim && \
35129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35131 "RANLIB=$${RANLIB}" \
35132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35133 install-info) \
35134 || exit 1
35136 @endif sim
35138 .PHONY: maybe-install-pdf-sim install-pdf-sim
35139 maybe-install-pdf-sim:
35140 @if sim
35141 maybe-install-pdf-sim: install-pdf-sim
35143 install-pdf-sim: \
35144 configure-sim \
35145 pdf-sim
35146 @: $(MAKE); $(unstage)
35147 @[ -f ./sim/Makefile ] || exit 0; \
35148 r=`${PWD_COMMAND}`; export r; \
35149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35150 $(HOST_EXPORTS) \
35151 for flag in $(EXTRA_HOST_FLAGS) ; do \
35152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35153 done; \
35154 echo "Doing install-pdf in sim" ; \
35155 (cd $(HOST_SUBDIR)/sim && \
35156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35158 "RANLIB=$${RANLIB}" \
35159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35160 install-pdf) \
35161 || exit 1
35163 @endif sim
35165 .PHONY: maybe-install-html-sim install-html-sim
35166 maybe-install-html-sim:
35167 @if sim
35168 maybe-install-html-sim: install-html-sim
35170 install-html-sim: \
35171 configure-sim \
35172 html-sim
35173 @: $(MAKE); $(unstage)
35174 @[ -f ./sim/Makefile ] || exit 0; \
35175 r=`${PWD_COMMAND}`; export r; \
35176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35177 $(HOST_EXPORTS) \
35178 for flag in $(EXTRA_HOST_FLAGS) ; do \
35179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35180 done; \
35181 echo "Doing install-html in sim" ; \
35182 (cd $(HOST_SUBDIR)/sim && \
35183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35185 "RANLIB=$${RANLIB}" \
35186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35187 install-html) \
35188 || exit 1
35190 @endif sim
35192 .PHONY: maybe-installcheck-sim installcheck-sim
35193 maybe-installcheck-sim:
35194 @if sim
35195 maybe-installcheck-sim: installcheck-sim
35197 installcheck-sim: \
35198 configure-sim
35199 @: $(MAKE); $(unstage)
35200 @[ -f ./sim/Makefile ] || exit 0; \
35201 r=`${PWD_COMMAND}`; export r; \
35202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35203 $(HOST_EXPORTS) \
35204 for flag in $(EXTRA_HOST_FLAGS) ; do \
35205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35206 done; \
35207 echo "Doing installcheck in sim" ; \
35208 (cd $(HOST_SUBDIR)/sim && \
35209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35211 "RANLIB=$${RANLIB}" \
35212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35213 installcheck) \
35214 || exit 1
35216 @endif sim
35218 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
35219 maybe-mostlyclean-sim:
35220 @if sim
35221 maybe-mostlyclean-sim: mostlyclean-sim
35223 mostlyclean-sim:
35224 @: $(MAKE); $(unstage)
35225 @[ -f ./sim/Makefile ] || exit 0; \
35226 r=`${PWD_COMMAND}`; export r; \
35227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35228 $(HOST_EXPORTS) \
35229 for flag in $(EXTRA_HOST_FLAGS) ; do \
35230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35231 done; \
35232 echo "Doing mostlyclean in sim" ; \
35233 (cd $(HOST_SUBDIR)/sim && \
35234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35236 "RANLIB=$${RANLIB}" \
35237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35238 mostlyclean) \
35239 || exit 1
35241 @endif sim
35243 .PHONY: maybe-clean-sim clean-sim
35244 maybe-clean-sim:
35245 @if sim
35246 maybe-clean-sim: clean-sim
35248 clean-sim:
35249 @: $(MAKE); $(unstage)
35250 @[ -f ./sim/Makefile ] || exit 0; \
35251 r=`${PWD_COMMAND}`; export r; \
35252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35253 $(HOST_EXPORTS) \
35254 for flag in $(EXTRA_HOST_FLAGS) ; do \
35255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35256 done; \
35257 echo "Doing clean in sim" ; \
35258 (cd $(HOST_SUBDIR)/sim && \
35259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35261 "RANLIB=$${RANLIB}" \
35262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35263 clean) \
35264 || exit 1
35266 @endif sim
35268 .PHONY: maybe-distclean-sim distclean-sim
35269 maybe-distclean-sim:
35270 @if sim
35271 maybe-distclean-sim: distclean-sim
35273 distclean-sim:
35274 @: $(MAKE); $(unstage)
35275 @[ -f ./sim/Makefile ] || exit 0; \
35276 r=`${PWD_COMMAND}`; export r; \
35277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35278 $(HOST_EXPORTS) \
35279 for flag in $(EXTRA_HOST_FLAGS) ; do \
35280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35281 done; \
35282 echo "Doing distclean in sim" ; \
35283 (cd $(HOST_SUBDIR)/sim && \
35284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35286 "RANLIB=$${RANLIB}" \
35287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35288 distclean) \
35289 || exit 1
35291 @endif sim
35293 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
35294 maybe-maintainer-clean-sim:
35295 @if sim
35296 maybe-maintainer-clean-sim: maintainer-clean-sim
35298 maintainer-clean-sim:
35299 @: $(MAKE); $(unstage)
35300 @[ -f ./sim/Makefile ] || exit 0; \
35301 r=`${PWD_COMMAND}`; export r; \
35302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35303 $(HOST_EXPORTS) \
35304 for flag in $(EXTRA_HOST_FLAGS) ; do \
35305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35306 done; \
35307 echo "Doing maintainer-clean in sim" ; \
35308 (cd $(HOST_SUBDIR)/sim && \
35309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35311 "RANLIB=$${RANLIB}" \
35312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35313 maintainer-clean) \
35314 || exit 1
35316 @endif sim
35320 .PHONY: configure-tar maybe-configure-tar
35321 maybe-configure-tar:
35322 @if gcc-bootstrap
35323 configure-tar: stage_current
35324 @endif gcc-bootstrap
35325 @if tar
35326 maybe-configure-tar: configure-tar
35327 configure-tar:
35328 @: $(MAKE); $(unstage)
35329 @r=`${PWD_COMMAND}`; export r; \
35330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35331 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
35332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
35333 $(HOST_EXPORTS) \
35334 echo Configuring in $(HOST_SUBDIR)/tar; \
35335 cd "$(HOST_SUBDIR)/tar" || exit 1; \
35336 case $(srcdir) in \
35337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35338 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
35339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35340 esac; \
35341 srcdiroption="--srcdir=$${topdir}/tar"; \
35342 libsrcdir="$$s/tar"; \
35343 $(SHELL) $${libsrcdir}/configure \
35344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35345 --target=${target_alias} $${srcdiroption} \
35346 || exit 1
35347 @endif tar
35353 .PHONY: all-tar maybe-all-tar
35354 maybe-all-tar:
35355 @if gcc-bootstrap
35356 all-tar: stage_current
35357 @endif gcc-bootstrap
35358 @if tar
35359 TARGET-tar=all
35360 maybe-all-tar: all-tar
35361 all-tar: configure-tar
35362 @: $(MAKE); $(unstage)
35363 @r=`${PWD_COMMAND}`; export r; \
35364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35365 $(HOST_EXPORTS) \
35366 (cd $(HOST_SUBDIR)/tar && \
35367 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35368 $(TARGET-tar))
35369 @endif tar
35374 .PHONY: check-tar maybe-check-tar
35375 maybe-check-tar:
35376 @if tar
35377 maybe-check-tar: check-tar
35379 check-tar:
35380 @: $(MAKE); $(unstage)
35381 @r=`${PWD_COMMAND}`; export r; \
35382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35383 $(HOST_EXPORTS) \
35384 (cd $(HOST_SUBDIR)/tar && \
35385 $(MAKE) $(FLAGS_TO_PASS) check)
35387 @endif tar
35389 .PHONY: install-tar maybe-install-tar
35390 maybe-install-tar:
35391 @if tar
35392 maybe-install-tar: install-tar
35394 install-tar: installdirs
35395 @: $(MAKE); $(unstage)
35396 @r=`${PWD_COMMAND}`; export r; \
35397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35398 $(HOST_EXPORTS) \
35399 (cd $(HOST_SUBDIR)/tar && \
35400 $(MAKE) $(FLAGS_TO_PASS) install)
35402 @endif tar
35404 # Other targets (info, dvi, pdf, etc.)
35406 .PHONY: maybe-info-tar info-tar
35407 maybe-info-tar:
35408 @if tar
35409 maybe-info-tar: info-tar
35411 info-tar: \
35412 configure-tar
35413 @: $(MAKE); $(unstage)
35414 @[ -f ./tar/Makefile ] || exit 0; \
35415 r=`${PWD_COMMAND}`; export r; \
35416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35417 $(HOST_EXPORTS) \
35418 for flag in $(EXTRA_HOST_FLAGS) ; do \
35419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35420 done; \
35421 echo "Doing info in tar" ; \
35422 (cd $(HOST_SUBDIR)/tar && \
35423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35425 "RANLIB=$${RANLIB}" \
35426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35427 info) \
35428 || exit 1
35430 @endif tar
35432 .PHONY: maybe-dvi-tar dvi-tar
35433 maybe-dvi-tar:
35434 @if tar
35435 maybe-dvi-tar: dvi-tar
35437 dvi-tar: \
35438 configure-tar
35439 @: $(MAKE); $(unstage)
35440 @[ -f ./tar/Makefile ] || exit 0; \
35441 r=`${PWD_COMMAND}`; export r; \
35442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35443 $(HOST_EXPORTS) \
35444 for flag in $(EXTRA_HOST_FLAGS) ; do \
35445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35446 done; \
35447 echo "Doing dvi in tar" ; \
35448 (cd $(HOST_SUBDIR)/tar && \
35449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35451 "RANLIB=$${RANLIB}" \
35452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35453 dvi) \
35454 || exit 1
35456 @endif tar
35458 .PHONY: maybe-pdf-tar pdf-tar
35459 maybe-pdf-tar:
35460 @if tar
35461 maybe-pdf-tar: pdf-tar
35463 pdf-tar: \
35464 configure-tar
35465 @: $(MAKE); $(unstage)
35466 @[ -f ./tar/Makefile ] || exit 0; \
35467 r=`${PWD_COMMAND}`; export r; \
35468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35469 $(HOST_EXPORTS) \
35470 for flag in $(EXTRA_HOST_FLAGS) ; do \
35471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35472 done; \
35473 echo "Doing pdf in tar" ; \
35474 (cd $(HOST_SUBDIR)/tar && \
35475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35477 "RANLIB=$${RANLIB}" \
35478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35479 pdf) \
35480 || exit 1
35482 @endif tar
35484 .PHONY: maybe-html-tar html-tar
35485 maybe-html-tar:
35486 @if tar
35487 maybe-html-tar: html-tar
35489 html-tar: \
35490 configure-tar
35491 @: $(MAKE); $(unstage)
35492 @[ -f ./tar/Makefile ] || exit 0; \
35493 r=`${PWD_COMMAND}`; export r; \
35494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35495 $(HOST_EXPORTS) \
35496 for flag in $(EXTRA_HOST_FLAGS) ; do \
35497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35498 done; \
35499 echo "Doing html in tar" ; \
35500 (cd $(HOST_SUBDIR)/tar && \
35501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35503 "RANLIB=$${RANLIB}" \
35504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35505 html) \
35506 || exit 1
35508 @endif tar
35510 .PHONY: maybe-TAGS-tar TAGS-tar
35511 maybe-TAGS-tar:
35512 @if tar
35513 maybe-TAGS-tar: TAGS-tar
35515 TAGS-tar: \
35516 configure-tar
35517 @: $(MAKE); $(unstage)
35518 @[ -f ./tar/Makefile ] || exit 0; \
35519 r=`${PWD_COMMAND}`; export r; \
35520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35521 $(HOST_EXPORTS) \
35522 for flag in $(EXTRA_HOST_FLAGS) ; do \
35523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35524 done; \
35525 echo "Doing TAGS in tar" ; \
35526 (cd $(HOST_SUBDIR)/tar && \
35527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35529 "RANLIB=$${RANLIB}" \
35530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35531 TAGS) \
35532 || exit 1
35534 @endif tar
35536 .PHONY: maybe-install-info-tar install-info-tar
35537 maybe-install-info-tar:
35538 @if tar
35539 maybe-install-info-tar: install-info-tar
35541 install-info-tar: \
35542 configure-tar \
35543 info-tar
35544 @: $(MAKE); $(unstage)
35545 @[ -f ./tar/Makefile ] || exit 0; \
35546 r=`${PWD_COMMAND}`; export r; \
35547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35548 $(HOST_EXPORTS) \
35549 for flag in $(EXTRA_HOST_FLAGS) ; do \
35550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35551 done; \
35552 echo "Doing install-info in tar" ; \
35553 (cd $(HOST_SUBDIR)/tar && \
35554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35556 "RANLIB=$${RANLIB}" \
35557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35558 install-info) \
35559 || exit 1
35561 @endif tar
35563 .PHONY: maybe-install-pdf-tar install-pdf-tar
35564 maybe-install-pdf-tar:
35565 @if tar
35566 maybe-install-pdf-tar: install-pdf-tar
35568 install-pdf-tar: \
35569 configure-tar \
35570 pdf-tar
35571 @: $(MAKE); $(unstage)
35572 @[ -f ./tar/Makefile ] || exit 0; \
35573 r=`${PWD_COMMAND}`; export r; \
35574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35575 $(HOST_EXPORTS) \
35576 for flag in $(EXTRA_HOST_FLAGS) ; do \
35577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35578 done; \
35579 echo "Doing install-pdf in tar" ; \
35580 (cd $(HOST_SUBDIR)/tar && \
35581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35583 "RANLIB=$${RANLIB}" \
35584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35585 install-pdf) \
35586 || exit 1
35588 @endif tar
35590 .PHONY: maybe-install-html-tar install-html-tar
35591 maybe-install-html-tar:
35592 @if tar
35593 maybe-install-html-tar: install-html-tar
35595 install-html-tar: \
35596 configure-tar \
35597 html-tar
35598 @: $(MAKE); $(unstage)
35599 @[ -f ./tar/Makefile ] || exit 0; \
35600 r=`${PWD_COMMAND}`; export r; \
35601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35602 $(HOST_EXPORTS) \
35603 for flag in $(EXTRA_HOST_FLAGS) ; do \
35604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35605 done; \
35606 echo "Doing install-html in tar" ; \
35607 (cd $(HOST_SUBDIR)/tar && \
35608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35610 "RANLIB=$${RANLIB}" \
35611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35612 install-html) \
35613 || exit 1
35615 @endif tar
35617 .PHONY: maybe-installcheck-tar installcheck-tar
35618 maybe-installcheck-tar:
35619 @if tar
35620 maybe-installcheck-tar: installcheck-tar
35622 installcheck-tar: \
35623 configure-tar
35624 @: $(MAKE); $(unstage)
35625 @[ -f ./tar/Makefile ] || exit 0; \
35626 r=`${PWD_COMMAND}`; export r; \
35627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35628 $(HOST_EXPORTS) \
35629 for flag in $(EXTRA_HOST_FLAGS) ; do \
35630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35631 done; \
35632 echo "Doing installcheck in tar" ; \
35633 (cd $(HOST_SUBDIR)/tar && \
35634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35636 "RANLIB=$${RANLIB}" \
35637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35638 installcheck) \
35639 || exit 1
35641 @endif tar
35643 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
35644 maybe-mostlyclean-tar:
35645 @if tar
35646 maybe-mostlyclean-tar: mostlyclean-tar
35648 mostlyclean-tar:
35649 @: $(MAKE); $(unstage)
35650 @[ -f ./tar/Makefile ] || exit 0; \
35651 r=`${PWD_COMMAND}`; export r; \
35652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35653 $(HOST_EXPORTS) \
35654 for flag in $(EXTRA_HOST_FLAGS) ; do \
35655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35656 done; \
35657 echo "Doing mostlyclean in tar" ; \
35658 (cd $(HOST_SUBDIR)/tar && \
35659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35661 "RANLIB=$${RANLIB}" \
35662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35663 mostlyclean) \
35664 || exit 1
35666 @endif tar
35668 .PHONY: maybe-clean-tar clean-tar
35669 maybe-clean-tar:
35670 @if tar
35671 maybe-clean-tar: clean-tar
35673 clean-tar:
35674 @: $(MAKE); $(unstage)
35675 @[ -f ./tar/Makefile ] || exit 0; \
35676 r=`${PWD_COMMAND}`; export r; \
35677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35678 $(HOST_EXPORTS) \
35679 for flag in $(EXTRA_HOST_FLAGS) ; do \
35680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35681 done; \
35682 echo "Doing clean in tar" ; \
35683 (cd $(HOST_SUBDIR)/tar && \
35684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35686 "RANLIB=$${RANLIB}" \
35687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35688 clean) \
35689 || exit 1
35691 @endif tar
35693 .PHONY: maybe-distclean-tar distclean-tar
35694 maybe-distclean-tar:
35695 @if tar
35696 maybe-distclean-tar: distclean-tar
35698 distclean-tar:
35699 @: $(MAKE); $(unstage)
35700 @[ -f ./tar/Makefile ] || exit 0; \
35701 r=`${PWD_COMMAND}`; export r; \
35702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35703 $(HOST_EXPORTS) \
35704 for flag in $(EXTRA_HOST_FLAGS) ; do \
35705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35706 done; \
35707 echo "Doing distclean in tar" ; \
35708 (cd $(HOST_SUBDIR)/tar && \
35709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35711 "RANLIB=$${RANLIB}" \
35712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35713 distclean) \
35714 || exit 1
35716 @endif tar
35718 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
35719 maybe-maintainer-clean-tar:
35720 @if tar
35721 maybe-maintainer-clean-tar: maintainer-clean-tar
35723 maintainer-clean-tar:
35724 @: $(MAKE); $(unstage)
35725 @[ -f ./tar/Makefile ] || exit 0; \
35726 r=`${PWD_COMMAND}`; export r; \
35727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35728 $(HOST_EXPORTS) \
35729 for flag in $(EXTRA_HOST_FLAGS) ; do \
35730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35731 done; \
35732 echo "Doing maintainer-clean in tar" ; \
35733 (cd $(HOST_SUBDIR)/tar && \
35734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35736 "RANLIB=$${RANLIB}" \
35737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35738 maintainer-clean) \
35739 || exit 1
35741 @endif tar
35745 .PHONY: configure-texinfo maybe-configure-texinfo
35746 maybe-configure-texinfo:
35747 @if gcc-bootstrap
35748 configure-texinfo: stage_current
35749 @endif gcc-bootstrap
35750 @if texinfo
35751 maybe-configure-texinfo: configure-texinfo
35752 configure-texinfo:
35753 @: $(MAKE); $(unstage)
35754 @r=`${PWD_COMMAND}`; export r; \
35755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35756 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
35757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
35758 $(HOST_EXPORTS) \
35759 echo Configuring in $(HOST_SUBDIR)/texinfo; \
35760 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
35761 case $(srcdir) in \
35762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35763 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
35764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35765 esac; \
35766 srcdiroption="--srcdir=$${topdir}/texinfo"; \
35767 libsrcdir="$$s/texinfo"; \
35768 $(SHELL) $${libsrcdir}/configure \
35769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35770 --target=${target_alias} $${srcdiroption} \
35771 || exit 1
35772 @endif texinfo
35778 .PHONY: all-texinfo maybe-all-texinfo
35779 maybe-all-texinfo:
35780 @if gcc-bootstrap
35781 all-texinfo: stage_current
35782 @endif gcc-bootstrap
35783 @if texinfo
35784 TARGET-texinfo=all
35785 maybe-all-texinfo: all-texinfo
35786 all-texinfo: configure-texinfo
35787 @: $(MAKE); $(unstage)
35788 @r=`${PWD_COMMAND}`; export r; \
35789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35790 $(HOST_EXPORTS) \
35791 (cd $(HOST_SUBDIR)/texinfo && \
35792 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35793 $(TARGET-texinfo))
35794 @endif texinfo
35799 .PHONY: check-texinfo maybe-check-texinfo
35800 maybe-check-texinfo:
35801 @if texinfo
35802 maybe-check-texinfo: check-texinfo
35804 check-texinfo:
35805 @: $(MAKE); $(unstage)
35806 @r=`${PWD_COMMAND}`; export r; \
35807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35808 $(HOST_EXPORTS) \
35809 (cd $(HOST_SUBDIR)/texinfo && \
35810 $(MAKE) $(FLAGS_TO_PASS) check)
35812 @endif texinfo
35814 .PHONY: install-texinfo maybe-install-texinfo
35815 maybe-install-texinfo:
35816 @if texinfo
35817 maybe-install-texinfo: install-texinfo
35819 install-texinfo:
35821 @endif texinfo
35823 # Other targets (info, dvi, pdf, etc.)
35825 .PHONY: maybe-info-texinfo info-texinfo
35826 maybe-info-texinfo:
35827 @if texinfo
35828 maybe-info-texinfo: info-texinfo
35830 info-texinfo: \
35831 configure-texinfo
35832 @: $(MAKE); $(unstage)
35833 @[ -f ./texinfo/Makefile ] || exit 0; \
35834 r=`${PWD_COMMAND}`; export r; \
35835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35836 $(HOST_EXPORTS) \
35837 for flag in $(EXTRA_HOST_FLAGS) ; do \
35838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35839 done; \
35840 echo "Doing info in texinfo" ; \
35841 (cd $(HOST_SUBDIR)/texinfo && \
35842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35844 "RANLIB=$${RANLIB}" \
35845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35846 info) \
35847 || exit 1
35849 @endif texinfo
35851 .PHONY: maybe-dvi-texinfo dvi-texinfo
35852 maybe-dvi-texinfo:
35853 @if texinfo
35854 maybe-dvi-texinfo: dvi-texinfo
35856 dvi-texinfo: \
35857 configure-texinfo
35858 @: $(MAKE); $(unstage)
35859 @[ -f ./texinfo/Makefile ] || exit 0; \
35860 r=`${PWD_COMMAND}`; export r; \
35861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35862 $(HOST_EXPORTS) \
35863 for flag in $(EXTRA_HOST_FLAGS) ; do \
35864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35865 done; \
35866 echo "Doing dvi in texinfo" ; \
35867 (cd $(HOST_SUBDIR)/texinfo && \
35868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35870 "RANLIB=$${RANLIB}" \
35871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35872 dvi) \
35873 || exit 1
35875 @endif texinfo
35877 .PHONY: maybe-pdf-texinfo pdf-texinfo
35878 maybe-pdf-texinfo:
35879 @if texinfo
35880 maybe-pdf-texinfo: pdf-texinfo
35882 pdf-texinfo: \
35883 configure-texinfo
35884 @: $(MAKE); $(unstage)
35885 @[ -f ./texinfo/Makefile ] || exit 0; \
35886 r=`${PWD_COMMAND}`; export r; \
35887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35888 $(HOST_EXPORTS) \
35889 for flag in $(EXTRA_HOST_FLAGS) ; do \
35890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35891 done; \
35892 echo "Doing pdf in texinfo" ; \
35893 (cd $(HOST_SUBDIR)/texinfo && \
35894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35896 "RANLIB=$${RANLIB}" \
35897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35898 pdf) \
35899 || exit 1
35901 @endif texinfo
35903 .PHONY: maybe-html-texinfo html-texinfo
35904 maybe-html-texinfo:
35905 @if texinfo
35906 maybe-html-texinfo: html-texinfo
35908 html-texinfo: \
35909 configure-texinfo
35910 @: $(MAKE); $(unstage)
35911 @[ -f ./texinfo/Makefile ] || exit 0; \
35912 r=`${PWD_COMMAND}`; export r; \
35913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35914 $(HOST_EXPORTS) \
35915 for flag in $(EXTRA_HOST_FLAGS) ; do \
35916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35917 done; \
35918 echo "Doing html in texinfo" ; \
35919 (cd $(HOST_SUBDIR)/texinfo && \
35920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35922 "RANLIB=$${RANLIB}" \
35923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35924 html) \
35925 || exit 1
35927 @endif texinfo
35929 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
35930 maybe-TAGS-texinfo:
35931 @if texinfo
35932 maybe-TAGS-texinfo: TAGS-texinfo
35934 TAGS-texinfo: \
35935 configure-texinfo
35936 @: $(MAKE); $(unstage)
35937 @[ -f ./texinfo/Makefile ] || exit 0; \
35938 r=`${PWD_COMMAND}`; export r; \
35939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35940 $(HOST_EXPORTS) \
35941 for flag in $(EXTRA_HOST_FLAGS) ; do \
35942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35943 done; \
35944 echo "Doing TAGS in texinfo" ; \
35945 (cd $(HOST_SUBDIR)/texinfo && \
35946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35948 "RANLIB=$${RANLIB}" \
35949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35950 TAGS) \
35951 || exit 1
35953 @endif texinfo
35955 .PHONY: maybe-install-info-texinfo install-info-texinfo
35956 maybe-install-info-texinfo:
35957 @if texinfo
35958 maybe-install-info-texinfo: install-info-texinfo
35960 install-info-texinfo: \
35961 configure-texinfo \
35962 info-texinfo
35963 @: $(MAKE); $(unstage)
35964 @[ -f ./texinfo/Makefile ] || exit 0; \
35965 r=`${PWD_COMMAND}`; export r; \
35966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35967 $(HOST_EXPORTS) \
35968 for flag in $(EXTRA_HOST_FLAGS) ; do \
35969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35970 done; \
35971 echo "Doing install-info in texinfo" ; \
35972 (cd $(HOST_SUBDIR)/texinfo && \
35973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35975 "RANLIB=$${RANLIB}" \
35976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35977 install-info) \
35978 || exit 1
35980 @endif texinfo
35982 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
35983 maybe-install-pdf-texinfo:
35984 @if texinfo
35985 maybe-install-pdf-texinfo: install-pdf-texinfo
35987 install-pdf-texinfo: \
35988 configure-texinfo \
35989 pdf-texinfo
35990 @: $(MAKE); $(unstage)
35991 @[ -f ./texinfo/Makefile ] || exit 0; \
35992 r=`${PWD_COMMAND}`; export r; \
35993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35994 $(HOST_EXPORTS) \
35995 for flag in $(EXTRA_HOST_FLAGS) ; do \
35996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35997 done; \
35998 echo "Doing install-pdf in texinfo" ; \
35999 (cd $(HOST_SUBDIR)/texinfo && \
36000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36002 "RANLIB=$${RANLIB}" \
36003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36004 install-pdf) \
36005 || exit 1
36007 @endif texinfo
36009 .PHONY: maybe-install-html-texinfo install-html-texinfo
36010 maybe-install-html-texinfo:
36011 @if texinfo
36012 maybe-install-html-texinfo: install-html-texinfo
36014 install-html-texinfo: \
36015 configure-texinfo \
36016 html-texinfo
36017 @: $(MAKE); $(unstage)
36018 @[ -f ./texinfo/Makefile ] || exit 0; \
36019 r=`${PWD_COMMAND}`; export r; \
36020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36021 $(HOST_EXPORTS) \
36022 for flag in $(EXTRA_HOST_FLAGS) ; do \
36023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36024 done; \
36025 echo "Doing install-html in texinfo" ; \
36026 (cd $(HOST_SUBDIR)/texinfo && \
36027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36029 "RANLIB=$${RANLIB}" \
36030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36031 install-html) \
36032 || exit 1
36034 @endif texinfo
36036 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
36037 maybe-installcheck-texinfo:
36038 @if texinfo
36039 maybe-installcheck-texinfo: installcheck-texinfo
36041 installcheck-texinfo: \
36042 configure-texinfo
36043 @: $(MAKE); $(unstage)
36044 @[ -f ./texinfo/Makefile ] || exit 0; \
36045 r=`${PWD_COMMAND}`; export r; \
36046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36047 $(HOST_EXPORTS) \
36048 for flag in $(EXTRA_HOST_FLAGS) ; do \
36049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36050 done; \
36051 echo "Doing installcheck in texinfo" ; \
36052 (cd $(HOST_SUBDIR)/texinfo && \
36053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36055 "RANLIB=$${RANLIB}" \
36056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36057 installcheck) \
36058 || exit 1
36060 @endif texinfo
36062 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
36063 maybe-mostlyclean-texinfo:
36064 @if texinfo
36065 maybe-mostlyclean-texinfo: mostlyclean-texinfo
36067 mostlyclean-texinfo:
36068 @: $(MAKE); $(unstage)
36069 @[ -f ./texinfo/Makefile ] || exit 0; \
36070 r=`${PWD_COMMAND}`; export r; \
36071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36072 $(HOST_EXPORTS) \
36073 for flag in $(EXTRA_HOST_FLAGS) ; do \
36074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36075 done; \
36076 echo "Doing mostlyclean in texinfo" ; \
36077 (cd $(HOST_SUBDIR)/texinfo && \
36078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36080 "RANLIB=$${RANLIB}" \
36081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36082 mostlyclean) \
36083 || exit 1
36085 @endif texinfo
36087 .PHONY: maybe-clean-texinfo clean-texinfo
36088 maybe-clean-texinfo:
36089 @if texinfo
36090 maybe-clean-texinfo: clean-texinfo
36092 clean-texinfo:
36093 @: $(MAKE); $(unstage)
36094 @[ -f ./texinfo/Makefile ] || exit 0; \
36095 r=`${PWD_COMMAND}`; export r; \
36096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36097 $(HOST_EXPORTS) \
36098 for flag in $(EXTRA_HOST_FLAGS) ; do \
36099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36100 done; \
36101 echo "Doing clean in texinfo" ; \
36102 (cd $(HOST_SUBDIR)/texinfo && \
36103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36105 "RANLIB=$${RANLIB}" \
36106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36107 clean) \
36108 || exit 1
36110 @endif texinfo
36112 .PHONY: maybe-distclean-texinfo distclean-texinfo
36113 maybe-distclean-texinfo:
36114 @if texinfo
36115 maybe-distclean-texinfo: distclean-texinfo
36117 distclean-texinfo:
36118 @: $(MAKE); $(unstage)
36119 @[ -f ./texinfo/Makefile ] || exit 0; \
36120 r=`${PWD_COMMAND}`; export r; \
36121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36122 $(HOST_EXPORTS) \
36123 for flag in $(EXTRA_HOST_FLAGS) ; do \
36124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36125 done; \
36126 echo "Doing distclean in texinfo" ; \
36127 (cd $(HOST_SUBDIR)/texinfo && \
36128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36130 "RANLIB=$${RANLIB}" \
36131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36132 distclean) \
36133 || exit 1
36135 @endif texinfo
36137 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
36138 maybe-maintainer-clean-texinfo:
36139 @if texinfo
36140 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
36142 maintainer-clean-texinfo:
36143 @: $(MAKE); $(unstage)
36144 @[ -f ./texinfo/Makefile ] || exit 0; \
36145 r=`${PWD_COMMAND}`; export r; \
36146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36147 $(HOST_EXPORTS) \
36148 for flag in $(EXTRA_HOST_FLAGS) ; do \
36149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36150 done; \
36151 echo "Doing maintainer-clean in texinfo" ; \
36152 (cd $(HOST_SUBDIR)/texinfo && \
36153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36155 "RANLIB=$${RANLIB}" \
36156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36157 maintainer-clean) \
36158 || exit 1
36160 @endif texinfo
36164 .PHONY: configure-textutils maybe-configure-textutils
36165 maybe-configure-textutils:
36166 @if gcc-bootstrap
36167 configure-textutils: stage_current
36168 @endif gcc-bootstrap
36169 @if textutils
36170 maybe-configure-textutils: configure-textutils
36171 configure-textutils:
36172 @: $(MAKE); $(unstage)
36173 @r=`${PWD_COMMAND}`; export r; \
36174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36175 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
36176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
36177 $(HOST_EXPORTS) \
36178 echo Configuring in $(HOST_SUBDIR)/textutils; \
36179 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
36180 case $(srcdir) in \
36181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36182 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
36183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36184 esac; \
36185 srcdiroption="--srcdir=$${topdir}/textutils"; \
36186 libsrcdir="$$s/textutils"; \
36187 $(SHELL) $${libsrcdir}/configure \
36188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36189 --target=${target_alias} $${srcdiroption} \
36190 || exit 1
36191 @endif textutils
36197 .PHONY: all-textutils maybe-all-textutils
36198 maybe-all-textutils:
36199 @if gcc-bootstrap
36200 all-textutils: stage_current
36201 @endif gcc-bootstrap
36202 @if textutils
36203 TARGET-textutils=all
36204 maybe-all-textutils: all-textutils
36205 all-textutils: configure-textutils
36206 @: $(MAKE); $(unstage)
36207 @r=`${PWD_COMMAND}`; export r; \
36208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36209 $(HOST_EXPORTS) \
36210 (cd $(HOST_SUBDIR)/textutils && \
36211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36212 $(TARGET-textutils))
36213 @endif textutils
36218 .PHONY: check-textutils maybe-check-textutils
36219 maybe-check-textutils:
36220 @if textutils
36221 maybe-check-textutils: check-textutils
36223 check-textutils:
36224 @: $(MAKE); $(unstage)
36225 @r=`${PWD_COMMAND}`; export r; \
36226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36227 $(HOST_EXPORTS) \
36228 (cd $(HOST_SUBDIR)/textutils && \
36229 $(MAKE) $(FLAGS_TO_PASS) check)
36231 @endif textutils
36233 .PHONY: install-textutils maybe-install-textutils
36234 maybe-install-textutils:
36235 @if textutils
36236 maybe-install-textutils: install-textutils
36238 install-textutils: installdirs
36239 @: $(MAKE); $(unstage)
36240 @r=`${PWD_COMMAND}`; export r; \
36241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36242 $(HOST_EXPORTS) \
36243 (cd $(HOST_SUBDIR)/textutils && \
36244 $(MAKE) $(FLAGS_TO_PASS) install)
36246 @endif textutils
36248 # Other targets (info, dvi, pdf, etc.)
36250 .PHONY: maybe-info-textutils info-textutils
36251 maybe-info-textutils:
36252 @if textutils
36253 maybe-info-textutils: info-textutils
36255 info-textutils: \
36256 configure-textutils
36257 @: $(MAKE); $(unstage)
36258 @[ -f ./textutils/Makefile ] || exit 0; \
36259 r=`${PWD_COMMAND}`; export r; \
36260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36261 $(HOST_EXPORTS) \
36262 for flag in $(EXTRA_HOST_FLAGS) ; do \
36263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36264 done; \
36265 echo "Doing info in textutils" ; \
36266 (cd $(HOST_SUBDIR)/textutils && \
36267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36269 "RANLIB=$${RANLIB}" \
36270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36271 info) \
36272 || exit 1
36274 @endif textutils
36276 .PHONY: maybe-dvi-textutils dvi-textutils
36277 maybe-dvi-textutils:
36278 @if textutils
36279 maybe-dvi-textutils: dvi-textutils
36281 dvi-textutils: \
36282 configure-textutils
36283 @: $(MAKE); $(unstage)
36284 @[ -f ./textutils/Makefile ] || exit 0; \
36285 r=`${PWD_COMMAND}`; export r; \
36286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36287 $(HOST_EXPORTS) \
36288 for flag in $(EXTRA_HOST_FLAGS) ; do \
36289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36290 done; \
36291 echo "Doing dvi in textutils" ; \
36292 (cd $(HOST_SUBDIR)/textutils && \
36293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36295 "RANLIB=$${RANLIB}" \
36296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36297 dvi) \
36298 || exit 1
36300 @endif textutils
36302 .PHONY: maybe-pdf-textutils pdf-textutils
36303 maybe-pdf-textutils:
36304 @if textutils
36305 maybe-pdf-textutils: pdf-textutils
36307 pdf-textutils: \
36308 configure-textutils
36309 @: $(MAKE); $(unstage)
36310 @[ -f ./textutils/Makefile ] || exit 0; \
36311 r=`${PWD_COMMAND}`; export r; \
36312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36313 $(HOST_EXPORTS) \
36314 for flag in $(EXTRA_HOST_FLAGS) ; do \
36315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36316 done; \
36317 echo "Doing pdf in textutils" ; \
36318 (cd $(HOST_SUBDIR)/textutils && \
36319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36321 "RANLIB=$${RANLIB}" \
36322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36323 pdf) \
36324 || exit 1
36326 @endif textutils
36328 .PHONY: maybe-html-textutils html-textutils
36329 maybe-html-textutils:
36330 @if textutils
36331 maybe-html-textutils: html-textutils
36333 html-textutils: \
36334 configure-textutils
36335 @: $(MAKE); $(unstage)
36336 @[ -f ./textutils/Makefile ] || exit 0; \
36337 r=`${PWD_COMMAND}`; export r; \
36338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36339 $(HOST_EXPORTS) \
36340 for flag in $(EXTRA_HOST_FLAGS) ; do \
36341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36342 done; \
36343 echo "Doing html in textutils" ; \
36344 (cd $(HOST_SUBDIR)/textutils && \
36345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36347 "RANLIB=$${RANLIB}" \
36348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36349 html) \
36350 || exit 1
36352 @endif textutils
36354 .PHONY: maybe-TAGS-textutils TAGS-textutils
36355 maybe-TAGS-textutils:
36356 @if textutils
36357 maybe-TAGS-textutils: TAGS-textutils
36359 TAGS-textutils: \
36360 configure-textutils
36361 @: $(MAKE); $(unstage)
36362 @[ -f ./textutils/Makefile ] || exit 0; \
36363 r=`${PWD_COMMAND}`; export r; \
36364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36365 $(HOST_EXPORTS) \
36366 for flag in $(EXTRA_HOST_FLAGS) ; do \
36367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36368 done; \
36369 echo "Doing TAGS in textutils" ; \
36370 (cd $(HOST_SUBDIR)/textutils && \
36371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36373 "RANLIB=$${RANLIB}" \
36374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36375 TAGS) \
36376 || exit 1
36378 @endif textutils
36380 .PHONY: maybe-install-info-textutils install-info-textutils
36381 maybe-install-info-textutils:
36382 @if textutils
36383 maybe-install-info-textutils: install-info-textutils
36385 install-info-textutils: \
36386 configure-textutils \
36387 info-textutils
36388 @: $(MAKE); $(unstage)
36389 @[ -f ./textutils/Makefile ] || exit 0; \
36390 r=`${PWD_COMMAND}`; export r; \
36391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36392 $(HOST_EXPORTS) \
36393 for flag in $(EXTRA_HOST_FLAGS) ; do \
36394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36395 done; \
36396 echo "Doing install-info in textutils" ; \
36397 (cd $(HOST_SUBDIR)/textutils && \
36398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36400 "RANLIB=$${RANLIB}" \
36401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36402 install-info) \
36403 || exit 1
36405 @endif textutils
36407 .PHONY: maybe-install-pdf-textutils install-pdf-textutils
36408 maybe-install-pdf-textutils:
36409 @if textutils
36410 maybe-install-pdf-textutils: install-pdf-textutils
36412 install-pdf-textutils: \
36413 configure-textutils \
36414 pdf-textutils
36415 @: $(MAKE); $(unstage)
36416 @[ -f ./textutils/Makefile ] || exit 0; \
36417 r=`${PWD_COMMAND}`; export r; \
36418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36419 $(HOST_EXPORTS) \
36420 for flag in $(EXTRA_HOST_FLAGS) ; do \
36421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36422 done; \
36423 echo "Doing install-pdf in textutils" ; \
36424 (cd $(HOST_SUBDIR)/textutils && \
36425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36427 "RANLIB=$${RANLIB}" \
36428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36429 install-pdf) \
36430 || exit 1
36432 @endif textutils
36434 .PHONY: maybe-install-html-textutils install-html-textutils
36435 maybe-install-html-textutils:
36436 @if textutils
36437 maybe-install-html-textutils: install-html-textutils
36439 install-html-textutils: \
36440 configure-textutils \
36441 html-textutils
36442 @: $(MAKE); $(unstage)
36443 @[ -f ./textutils/Makefile ] || exit 0; \
36444 r=`${PWD_COMMAND}`; export r; \
36445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36446 $(HOST_EXPORTS) \
36447 for flag in $(EXTRA_HOST_FLAGS) ; do \
36448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36449 done; \
36450 echo "Doing install-html in textutils" ; \
36451 (cd $(HOST_SUBDIR)/textutils && \
36452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36454 "RANLIB=$${RANLIB}" \
36455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36456 install-html) \
36457 || exit 1
36459 @endif textutils
36461 .PHONY: maybe-installcheck-textutils installcheck-textutils
36462 maybe-installcheck-textutils:
36463 @if textutils
36464 maybe-installcheck-textutils: installcheck-textutils
36466 installcheck-textutils: \
36467 configure-textutils
36468 @: $(MAKE); $(unstage)
36469 @[ -f ./textutils/Makefile ] || exit 0; \
36470 r=`${PWD_COMMAND}`; export r; \
36471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36472 $(HOST_EXPORTS) \
36473 for flag in $(EXTRA_HOST_FLAGS) ; do \
36474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36475 done; \
36476 echo "Doing installcheck in textutils" ; \
36477 (cd $(HOST_SUBDIR)/textutils && \
36478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36480 "RANLIB=$${RANLIB}" \
36481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36482 installcheck) \
36483 || exit 1
36485 @endif textutils
36487 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
36488 maybe-mostlyclean-textutils:
36489 @if textutils
36490 maybe-mostlyclean-textutils: mostlyclean-textutils
36492 mostlyclean-textutils:
36493 @: $(MAKE); $(unstage)
36494 @[ -f ./textutils/Makefile ] || exit 0; \
36495 r=`${PWD_COMMAND}`; export r; \
36496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36497 $(HOST_EXPORTS) \
36498 for flag in $(EXTRA_HOST_FLAGS) ; do \
36499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36500 done; \
36501 echo "Doing mostlyclean in textutils" ; \
36502 (cd $(HOST_SUBDIR)/textutils && \
36503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36505 "RANLIB=$${RANLIB}" \
36506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36507 mostlyclean) \
36508 || exit 1
36510 @endif textutils
36512 .PHONY: maybe-clean-textutils clean-textutils
36513 maybe-clean-textutils:
36514 @if textutils
36515 maybe-clean-textutils: clean-textutils
36517 clean-textutils:
36518 @: $(MAKE); $(unstage)
36519 @[ -f ./textutils/Makefile ] || exit 0; \
36520 r=`${PWD_COMMAND}`; export r; \
36521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36522 $(HOST_EXPORTS) \
36523 for flag in $(EXTRA_HOST_FLAGS) ; do \
36524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36525 done; \
36526 echo "Doing clean in textutils" ; \
36527 (cd $(HOST_SUBDIR)/textutils && \
36528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36530 "RANLIB=$${RANLIB}" \
36531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36532 clean) \
36533 || exit 1
36535 @endif textutils
36537 .PHONY: maybe-distclean-textutils distclean-textutils
36538 maybe-distclean-textutils:
36539 @if textutils
36540 maybe-distclean-textutils: distclean-textutils
36542 distclean-textutils:
36543 @: $(MAKE); $(unstage)
36544 @[ -f ./textutils/Makefile ] || exit 0; \
36545 r=`${PWD_COMMAND}`; export r; \
36546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36547 $(HOST_EXPORTS) \
36548 for flag in $(EXTRA_HOST_FLAGS) ; do \
36549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36550 done; \
36551 echo "Doing distclean in textutils" ; \
36552 (cd $(HOST_SUBDIR)/textutils && \
36553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36555 "RANLIB=$${RANLIB}" \
36556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36557 distclean) \
36558 || exit 1
36560 @endif textutils
36562 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
36563 maybe-maintainer-clean-textutils:
36564 @if textutils
36565 maybe-maintainer-clean-textutils: maintainer-clean-textutils
36567 maintainer-clean-textutils:
36568 @: $(MAKE); $(unstage)
36569 @[ -f ./textutils/Makefile ] || exit 0; \
36570 r=`${PWD_COMMAND}`; export r; \
36571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36572 $(HOST_EXPORTS) \
36573 for flag in $(EXTRA_HOST_FLAGS) ; do \
36574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36575 done; \
36576 echo "Doing maintainer-clean in textutils" ; \
36577 (cd $(HOST_SUBDIR)/textutils && \
36578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36580 "RANLIB=$${RANLIB}" \
36581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36582 maintainer-clean) \
36583 || exit 1
36585 @endif textutils
36589 .PHONY: configure-time maybe-configure-time
36590 maybe-configure-time:
36591 @if gcc-bootstrap
36592 configure-time: stage_current
36593 @endif gcc-bootstrap
36594 @if time
36595 maybe-configure-time: configure-time
36596 configure-time:
36597 @: $(MAKE); $(unstage)
36598 @r=`${PWD_COMMAND}`; export r; \
36599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36600 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
36601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
36602 $(HOST_EXPORTS) \
36603 echo Configuring in $(HOST_SUBDIR)/time; \
36604 cd "$(HOST_SUBDIR)/time" || exit 1; \
36605 case $(srcdir) in \
36606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36607 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
36608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36609 esac; \
36610 srcdiroption="--srcdir=$${topdir}/time"; \
36611 libsrcdir="$$s/time"; \
36612 $(SHELL) $${libsrcdir}/configure \
36613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36614 --target=${target_alias} $${srcdiroption} \
36615 || exit 1
36616 @endif time
36622 .PHONY: all-time maybe-all-time
36623 maybe-all-time:
36624 @if gcc-bootstrap
36625 all-time: stage_current
36626 @endif gcc-bootstrap
36627 @if time
36628 TARGET-time=all
36629 maybe-all-time: all-time
36630 all-time: configure-time
36631 @: $(MAKE); $(unstage)
36632 @r=`${PWD_COMMAND}`; export r; \
36633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36634 $(HOST_EXPORTS) \
36635 (cd $(HOST_SUBDIR)/time && \
36636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36637 $(TARGET-time))
36638 @endif time
36643 .PHONY: check-time maybe-check-time
36644 maybe-check-time:
36645 @if time
36646 maybe-check-time: check-time
36648 check-time:
36649 @: $(MAKE); $(unstage)
36650 @r=`${PWD_COMMAND}`; export r; \
36651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36652 $(HOST_EXPORTS) \
36653 (cd $(HOST_SUBDIR)/time && \
36654 $(MAKE) $(FLAGS_TO_PASS) check)
36656 @endif time
36658 .PHONY: install-time maybe-install-time
36659 maybe-install-time:
36660 @if time
36661 maybe-install-time: install-time
36663 install-time: installdirs
36664 @: $(MAKE); $(unstage)
36665 @r=`${PWD_COMMAND}`; export r; \
36666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36667 $(HOST_EXPORTS) \
36668 (cd $(HOST_SUBDIR)/time && \
36669 $(MAKE) $(FLAGS_TO_PASS) install)
36671 @endif time
36673 # Other targets (info, dvi, pdf, etc.)
36675 .PHONY: maybe-info-time info-time
36676 maybe-info-time:
36677 @if time
36678 maybe-info-time: info-time
36680 info-time: \
36681 configure-time
36682 @: $(MAKE); $(unstage)
36683 @[ -f ./time/Makefile ] || exit 0; \
36684 r=`${PWD_COMMAND}`; export r; \
36685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36686 $(HOST_EXPORTS) \
36687 for flag in $(EXTRA_HOST_FLAGS) ; do \
36688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36689 done; \
36690 echo "Doing info in time" ; \
36691 (cd $(HOST_SUBDIR)/time && \
36692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36694 "RANLIB=$${RANLIB}" \
36695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36696 info) \
36697 || exit 1
36699 @endif time
36701 .PHONY: maybe-dvi-time dvi-time
36702 maybe-dvi-time:
36703 @if time
36704 maybe-dvi-time: dvi-time
36706 dvi-time: \
36707 configure-time
36708 @: $(MAKE); $(unstage)
36709 @[ -f ./time/Makefile ] || exit 0; \
36710 r=`${PWD_COMMAND}`; export r; \
36711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36712 $(HOST_EXPORTS) \
36713 for flag in $(EXTRA_HOST_FLAGS) ; do \
36714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36715 done; \
36716 echo "Doing dvi in time" ; \
36717 (cd $(HOST_SUBDIR)/time && \
36718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36720 "RANLIB=$${RANLIB}" \
36721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36722 dvi) \
36723 || exit 1
36725 @endif time
36727 .PHONY: maybe-pdf-time pdf-time
36728 maybe-pdf-time:
36729 @if time
36730 maybe-pdf-time: pdf-time
36732 pdf-time: \
36733 configure-time
36734 @: $(MAKE); $(unstage)
36735 @[ -f ./time/Makefile ] || exit 0; \
36736 r=`${PWD_COMMAND}`; export r; \
36737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36738 $(HOST_EXPORTS) \
36739 for flag in $(EXTRA_HOST_FLAGS) ; do \
36740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36741 done; \
36742 echo "Doing pdf in time" ; \
36743 (cd $(HOST_SUBDIR)/time && \
36744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36746 "RANLIB=$${RANLIB}" \
36747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36748 pdf) \
36749 || exit 1
36751 @endif time
36753 .PHONY: maybe-html-time html-time
36754 maybe-html-time:
36755 @if time
36756 maybe-html-time: html-time
36758 html-time: \
36759 configure-time
36760 @: $(MAKE); $(unstage)
36761 @[ -f ./time/Makefile ] || exit 0; \
36762 r=`${PWD_COMMAND}`; export r; \
36763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36764 $(HOST_EXPORTS) \
36765 for flag in $(EXTRA_HOST_FLAGS) ; do \
36766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36767 done; \
36768 echo "Doing html in time" ; \
36769 (cd $(HOST_SUBDIR)/time && \
36770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36772 "RANLIB=$${RANLIB}" \
36773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36774 html) \
36775 || exit 1
36777 @endif time
36779 .PHONY: maybe-TAGS-time TAGS-time
36780 maybe-TAGS-time:
36781 @if time
36782 maybe-TAGS-time: TAGS-time
36784 TAGS-time: \
36785 configure-time
36786 @: $(MAKE); $(unstage)
36787 @[ -f ./time/Makefile ] || exit 0; \
36788 r=`${PWD_COMMAND}`; export r; \
36789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36790 $(HOST_EXPORTS) \
36791 for flag in $(EXTRA_HOST_FLAGS) ; do \
36792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36793 done; \
36794 echo "Doing TAGS in time" ; \
36795 (cd $(HOST_SUBDIR)/time && \
36796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36798 "RANLIB=$${RANLIB}" \
36799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36800 TAGS) \
36801 || exit 1
36803 @endif time
36805 .PHONY: maybe-install-info-time install-info-time
36806 maybe-install-info-time:
36807 @if time
36808 maybe-install-info-time: install-info-time
36810 install-info-time: \
36811 configure-time \
36812 info-time
36813 @: $(MAKE); $(unstage)
36814 @[ -f ./time/Makefile ] || exit 0; \
36815 r=`${PWD_COMMAND}`; export r; \
36816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36817 $(HOST_EXPORTS) \
36818 for flag in $(EXTRA_HOST_FLAGS) ; do \
36819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36820 done; \
36821 echo "Doing install-info in time" ; \
36822 (cd $(HOST_SUBDIR)/time && \
36823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36825 "RANLIB=$${RANLIB}" \
36826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36827 install-info) \
36828 || exit 1
36830 @endif time
36832 .PHONY: maybe-install-pdf-time install-pdf-time
36833 maybe-install-pdf-time:
36834 @if time
36835 maybe-install-pdf-time: install-pdf-time
36837 install-pdf-time: \
36838 configure-time \
36839 pdf-time
36840 @: $(MAKE); $(unstage)
36841 @[ -f ./time/Makefile ] || exit 0; \
36842 r=`${PWD_COMMAND}`; export r; \
36843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36844 $(HOST_EXPORTS) \
36845 for flag in $(EXTRA_HOST_FLAGS) ; do \
36846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36847 done; \
36848 echo "Doing install-pdf in time" ; \
36849 (cd $(HOST_SUBDIR)/time && \
36850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36852 "RANLIB=$${RANLIB}" \
36853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36854 install-pdf) \
36855 || exit 1
36857 @endif time
36859 .PHONY: maybe-install-html-time install-html-time
36860 maybe-install-html-time:
36861 @if time
36862 maybe-install-html-time: install-html-time
36864 install-html-time: \
36865 configure-time \
36866 html-time
36867 @: $(MAKE); $(unstage)
36868 @[ -f ./time/Makefile ] || exit 0; \
36869 r=`${PWD_COMMAND}`; export r; \
36870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36871 $(HOST_EXPORTS) \
36872 for flag in $(EXTRA_HOST_FLAGS) ; do \
36873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36874 done; \
36875 echo "Doing install-html in time" ; \
36876 (cd $(HOST_SUBDIR)/time && \
36877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36879 "RANLIB=$${RANLIB}" \
36880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36881 install-html) \
36882 || exit 1
36884 @endif time
36886 .PHONY: maybe-installcheck-time installcheck-time
36887 maybe-installcheck-time:
36888 @if time
36889 maybe-installcheck-time: installcheck-time
36891 installcheck-time: \
36892 configure-time
36893 @: $(MAKE); $(unstage)
36894 @[ -f ./time/Makefile ] || exit 0; \
36895 r=`${PWD_COMMAND}`; export r; \
36896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36897 $(HOST_EXPORTS) \
36898 for flag in $(EXTRA_HOST_FLAGS) ; do \
36899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36900 done; \
36901 echo "Doing installcheck in time" ; \
36902 (cd $(HOST_SUBDIR)/time && \
36903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36905 "RANLIB=$${RANLIB}" \
36906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36907 installcheck) \
36908 || exit 1
36910 @endif time
36912 .PHONY: maybe-mostlyclean-time mostlyclean-time
36913 maybe-mostlyclean-time:
36914 @if time
36915 maybe-mostlyclean-time: mostlyclean-time
36917 mostlyclean-time:
36918 @: $(MAKE); $(unstage)
36919 @[ -f ./time/Makefile ] || exit 0; \
36920 r=`${PWD_COMMAND}`; export r; \
36921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36922 $(HOST_EXPORTS) \
36923 for flag in $(EXTRA_HOST_FLAGS) ; do \
36924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36925 done; \
36926 echo "Doing mostlyclean in time" ; \
36927 (cd $(HOST_SUBDIR)/time && \
36928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36930 "RANLIB=$${RANLIB}" \
36931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36932 mostlyclean) \
36933 || exit 1
36935 @endif time
36937 .PHONY: maybe-clean-time clean-time
36938 maybe-clean-time:
36939 @if time
36940 maybe-clean-time: clean-time
36942 clean-time:
36943 @: $(MAKE); $(unstage)
36944 @[ -f ./time/Makefile ] || exit 0; \
36945 r=`${PWD_COMMAND}`; export r; \
36946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36947 $(HOST_EXPORTS) \
36948 for flag in $(EXTRA_HOST_FLAGS) ; do \
36949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36950 done; \
36951 echo "Doing clean in time" ; \
36952 (cd $(HOST_SUBDIR)/time && \
36953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36955 "RANLIB=$${RANLIB}" \
36956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36957 clean) \
36958 || exit 1
36960 @endif time
36962 .PHONY: maybe-distclean-time distclean-time
36963 maybe-distclean-time:
36964 @if time
36965 maybe-distclean-time: distclean-time
36967 distclean-time:
36968 @: $(MAKE); $(unstage)
36969 @[ -f ./time/Makefile ] || exit 0; \
36970 r=`${PWD_COMMAND}`; export r; \
36971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36972 $(HOST_EXPORTS) \
36973 for flag in $(EXTRA_HOST_FLAGS) ; do \
36974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36975 done; \
36976 echo "Doing distclean in time" ; \
36977 (cd $(HOST_SUBDIR)/time && \
36978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36980 "RANLIB=$${RANLIB}" \
36981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36982 distclean) \
36983 || exit 1
36985 @endif time
36987 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
36988 maybe-maintainer-clean-time:
36989 @if time
36990 maybe-maintainer-clean-time: maintainer-clean-time
36992 maintainer-clean-time:
36993 @: $(MAKE); $(unstage)
36994 @[ -f ./time/Makefile ] || exit 0; \
36995 r=`${PWD_COMMAND}`; export r; \
36996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36997 $(HOST_EXPORTS) \
36998 for flag in $(EXTRA_HOST_FLAGS) ; do \
36999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37000 done; \
37001 echo "Doing maintainer-clean in time" ; \
37002 (cd $(HOST_SUBDIR)/time && \
37003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37005 "RANLIB=$${RANLIB}" \
37006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37007 maintainer-clean) \
37008 || exit 1
37010 @endif time
37014 .PHONY: configure-uudecode maybe-configure-uudecode
37015 maybe-configure-uudecode:
37016 @if gcc-bootstrap
37017 configure-uudecode: stage_current
37018 @endif gcc-bootstrap
37019 @if uudecode
37020 maybe-configure-uudecode: configure-uudecode
37021 configure-uudecode:
37022 @: $(MAKE); $(unstage)
37023 @r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
37026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
37027 $(HOST_EXPORTS) \
37028 echo Configuring in $(HOST_SUBDIR)/uudecode; \
37029 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
37030 case $(srcdir) in \
37031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37032 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
37033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37034 esac; \
37035 srcdiroption="--srcdir=$${topdir}/uudecode"; \
37036 libsrcdir="$$s/uudecode"; \
37037 $(SHELL) $${libsrcdir}/configure \
37038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37039 --target=${target_alias} $${srcdiroption} \
37040 || exit 1
37041 @endif uudecode
37047 .PHONY: all-uudecode maybe-all-uudecode
37048 maybe-all-uudecode:
37049 @if gcc-bootstrap
37050 all-uudecode: stage_current
37051 @endif gcc-bootstrap
37052 @if uudecode
37053 TARGET-uudecode=all
37054 maybe-all-uudecode: all-uudecode
37055 all-uudecode: configure-uudecode
37056 @: $(MAKE); $(unstage)
37057 @r=`${PWD_COMMAND}`; export r; \
37058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37059 $(HOST_EXPORTS) \
37060 (cd $(HOST_SUBDIR)/uudecode && \
37061 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37062 $(TARGET-uudecode))
37063 @endif uudecode
37068 .PHONY: check-uudecode maybe-check-uudecode
37069 maybe-check-uudecode:
37070 @if uudecode
37071 maybe-check-uudecode: check-uudecode
37073 check-uudecode:
37074 @: $(MAKE); $(unstage)
37075 @r=`${PWD_COMMAND}`; export r; \
37076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37077 $(HOST_EXPORTS) \
37078 (cd $(HOST_SUBDIR)/uudecode && \
37079 $(MAKE) $(FLAGS_TO_PASS) check)
37081 @endif uudecode
37083 .PHONY: install-uudecode maybe-install-uudecode
37084 maybe-install-uudecode:
37085 @if uudecode
37086 maybe-install-uudecode: install-uudecode
37088 install-uudecode: installdirs
37089 @: $(MAKE); $(unstage)
37090 @r=`${PWD_COMMAND}`; export r; \
37091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37092 $(HOST_EXPORTS) \
37093 (cd $(HOST_SUBDIR)/uudecode && \
37094 $(MAKE) $(FLAGS_TO_PASS) install)
37096 @endif uudecode
37098 # Other targets (info, dvi, pdf, etc.)
37100 .PHONY: maybe-info-uudecode info-uudecode
37101 maybe-info-uudecode:
37102 @if uudecode
37103 maybe-info-uudecode: info-uudecode
37105 info-uudecode: \
37106 configure-uudecode
37107 @: $(MAKE); $(unstage)
37108 @[ -f ./uudecode/Makefile ] || exit 0; \
37109 r=`${PWD_COMMAND}`; export r; \
37110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37111 $(HOST_EXPORTS) \
37112 for flag in $(EXTRA_HOST_FLAGS) ; do \
37113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37114 done; \
37115 echo "Doing info in uudecode" ; \
37116 (cd $(HOST_SUBDIR)/uudecode && \
37117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37119 "RANLIB=$${RANLIB}" \
37120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37121 info) \
37122 || exit 1
37124 @endif uudecode
37126 .PHONY: maybe-dvi-uudecode dvi-uudecode
37127 maybe-dvi-uudecode:
37128 @if uudecode
37129 maybe-dvi-uudecode: dvi-uudecode
37131 dvi-uudecode: \
37132 configure-uudecode
37133 @: $(MAKE); $(unstage)
37134 @[ -f ./uudecode/Makefile ] || exit 0; \
37135 r=`${PWD_COMMAND}`; export r; \
37136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37137 $(HOST_EXPORTS) \
37138 for flag in $(EXTRA_HOST_FLAGS) ; do \
37139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37140 done; \
37141 echo "Doing dvi in uudecode" ; \
37142 (cd $(HOST_SUBDIR)/uudecode && \
37143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37145 "RANLIB=$${RANLIB}" \
37146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37147 dvi) \
37148 || exit 1
37150 @endif uudecode
37152 .PHONY: maybe-pdf-uudecode pdf-uudecode
37153 maybe-pdf-uudecode:
37154 @if uudecode
37155 maybe-pdf-uudecode: pdf-uudecode
37157 pdf-uudecode: \
37158 configure-uudecode
37159 @: $(MAKE); $(unstage)
37160 @[ -f ./uudecode/Makefile ] || exit 0; \
37161 r=`${PWD_COMMAND}`; export r; \
37162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37163 $(HOST_EXPORTS) \
37164 for flag in $(EXTRA_HOST_FLAGS) ; do \
37165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37166 done; \
37167 echo "Doing pdf in uudecode" ; \
37168 (cd $(HOST_SUBDIR)/uudecode && \
37169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37171 "RANLIB=$${RANLIB}" \
37172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37173 pdf) \
37174 || exit 1
37176 @endif uudecode
37178 .PHONY: maybe-html-uudecode html-uudecode
37179 maybe-html-uudecode:
37180 @if uudecode
37181 maybe-html-uudecode: html-uudecode
37183 html-uudecode: \
37184 configure-uudecode
37185 @: $(MAKE); $(unstage)
37186 @[ -f ./uudecode/Makefile ] || exit 0; \
37187 r=`${PWD_COMMAND}`; export r; \
37188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37189 $(HOST_EXPORTS) \
37190 for flag in $(EXTRA_HOST_FLAGS) ; do \
37191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37192 done; \
37193 echo "Doing html in uudecode" ; \
37194 (cd $(HOST_SUBDIR)/uudecode && \
37195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37197 "RANLIB=$${RANLIB}" \
37198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37199 html) \
37200 || exit 1
37202 @endif uudecode
37204 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
37205 maybe-TAGS-uudecode:
37206 @if uudecode
37207 maybe-TAGS-uudecode: TAGS-uudecode
37209 TAGS-uudecode: \
37210 configure-uudecode
37211 @: $(MAKE); $(unstage)
37212 @[ -f ./uudecode/Makefile ] || exit 0; \
37213 r=`${PWD_COMMAND}`; export r; \
37214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37215 $(HOST_EXPORTS) \
37216 for flag in $(EXTRA_HOST_FLAGS) ; do \
37217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37218 done; \
37219 echo "Doing TAGS in uudecode" ; \
37220 (cd $(HOST_SUBDIR)/uudecode && \
37221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37223 "RANLIB=$${RANLIB}" \
37224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37225 TAGS) \
37226 || exit 1
37228 @endif uudecode
37230 .PHONY: maybe-install-info-uudecode install-info-uudecode
37231 maybe-install-info-uudecode:
37232 @if uudecode
37233 maybe-install-info-uudecode: install-info-uudecode
37235 install-info-uudecode: \
37236 configure-uudecode \
37237 info-uudecode
37238 @: $(MAKE); $(unstage)
37239 @[ -f ./uudecode/Makefile ] || exit 0; \
37240 r=`${PWD_COMMAND}`; export r; \
37241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37242 $(HOST_EXPORTS) \
37243 for flag in $(EXTRA_HOST_FLAGS) ; do \
37244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37245 done; \
37246 echo "Doing install-info in uudecode" ; \
37247 (cd $(HOST_SUBDIR)/uudecode && \
37248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37250 "RANLIB=$${RANLIB}" \
37251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37252 install-info) \
37253 || exit 1
37255 @endif uudecode
37257 .PHONY: maybe-install-pdf-uudecode install-pdf-uudecode
37258 maybe-install-pdf-uudecode:
37259 @if uudecode
37260 maybe-install-pdf-uudecode: install-pdf-uudecode
37262 install-pdf-uudecode: \
37263 configure-uudecode \
37264 pdf-uudecode
37265 @: $(MAKE); $(unstage)
37266 @[ -f ./uudecode/Makefile ] || exit 0; \
37267 r=`${PWD_COMMAND}`; export r; \
37268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37269 $(HOST_EXPORTS) \
37270 for flag in $(EXTRA_HOST_FLAGS) ; do \
37271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37272 done; \
37273 echo "Doing install-pdf in uudecode" ; \
37274 (cd $(HOST_SUBDIR)/uudecode && \
37275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37277 "RANLIB=$${RANLIB}" \
37278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37279 install-pdf) \
37280 || exit 1
37282 @endif uudecode
37284 .PHONY: maybe-install-html-uudecode install-html-uudecode
37285 maybe-install-html-uudecode:
37286 @if uudecode
37287 maybe-install-html-uudecode: install-html-uudecode
37289 install-html-uudecode: \
37290 configure-uudecode \
37291 html-uudecode
37292 @: $(MAKE); $(unstage)
37293 @[ -f ./uudecode/Makefile ] || exit 0; \
37294 r=`${PWD_COMMAND}`; export r; \
37295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37296 $(HOST_EXPORTS) \
37297 for flag in $(EXTRA_HOST_FLAGS) ; do \
37298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37299 done; \
37300 echo "Doing install-html in uudecode" ; \
37301 (cd $(HOST_SUBDIR)/uudecode && \
37302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37304 "RANLIB=$${RANLIB}" \
37305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37306 install-html) \
37307 || exit 1
37309 @endif uudecode
37311 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
37312 maybe-installcheck-uudecode:
37313 @if uudecode
37314 maybe-installcheck-uudecode: installcheck-uudecode
37316 installcheck-uudecode: \
37317 configure-uudecode
37318 @: $(MAKE); $(unstage)
37319 @[ -f ./uudecode/Makefile ] || exit 0; \
37320 r=`${PWD_COMMAND}`; export r; \
37321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37322 $(HOST_EXPORTS) \
37323 for flag in $(EXTRA_HOST_FLAGS) ; do \
37324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37325 done; \
37326 echo "Doing installcheck in uudecode" ; \
37327 (cd $(HOST_SUBDIR)/uudecode && \
37328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37330 "RANLIB=$${RANLIB}" \
37331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37332 installcheck) \
37333 || exit 1
37335 @endif uudecode
37337 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
37338 maybe-mostlyclean-uudecode:
37339 @if uudecode
37340 maybe-mostlyclean-uudecode: mostlyclean-uudecode
37342 mostlyclean-uudecode:
37343 @: $(MAKE); $(unstage)
37344 @[ -f ./uudecode/Makefile ] || exit 0; \
37345 r=`${PWD_COMMAND}`; export r; \
37346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37347 $(HOST_EXPORTS) \
37348 for flag in $(EXTRA_HOST_FLAGS) ; do \
37349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37350 done; \
37351 echo "Doing mostlyclean in uudecode" ; \
37352 (cd $(HOST_SUBDIR)/uudecode && \
37353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37355 "RANLIB=$${RANLIB}" \
37356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37357 mostlyclean) \
37358 || exit 1
37360 @endif uudecode
37362 .PHONY: maybe-clean-uudecode clean-uudecode
37363 maybe-clean-uudecode:
37364 @if uudecode
37365 maybe-clean-uudecode: clean-uudecode
37367 clean-uudecode:
37368 @: $(MAKE); $(unstage)
37369 @[ -f ./uudecode/Makefile ] || exit 0; \
37370 r=`${PWD_COMMAND}`; export r; \
37371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37372 $(HOST_EXPORTS) \
37373 for flag in $(EXTRA_HOST_FLAGS) ; do \
37374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37375 done; \
37376 echo "Doing clean in uudecode" ; \
37377 (cd $(HOST_SUBDIR)/uudecode && \
37378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37380 "RANLIB=$${RANLIB}" \
37381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37382 clean) \
37383 || exit 1
37385 @endif uudecode
37387 .PHONY: maybe-distclean-uudecode distclean-uudecode
37388 maybe-distclean-uudecode:
37389 @if uudecode
37390 maybe-distclean-uudecode: distclean-uudecode
37392 distclean-uudecode:
37393 @: $(MAKE); $(unstage)
37394 @[ -f ./uudecode/Makefile ] || exit 0; \
37395 r=`${PWD_COMMAND}`; export r; \
37396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37397 $(HOST_EXPORTS) \
37398 for flag in $(EXTRA_HOST_FLAGS) ; do \
37399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37400 done; \
37401 echo "Doing distclean in uudecode" ; \
37402 (cd $(HOST_SUBDIR)/uudecode && \
37403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37405 "RANLIB=$${RANLIB}" \
37406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37407 distclean) \
37408 || exit 1
37410 @endif uudecode
37412 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
37413 maybe-maintainer-clean-uudecode:
37414 @if uudecode
37415 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
37417 maintainer-clean-uudecode:
37418 @: $(MAKE); $(unstage)
37419 @[ -f ./uudecode/Makefile ] || exit 0; \
37420 r=`${PWD_COMMAND}`; export r; \
37421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37422 $(HOST_EXPORTS) \
37423 for flag in $(EXTRA_HOST_FLAGS) ; do \
37424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37425 done; \
37426 echo "Doing maintainer-clean in uudecode" ; \
37427 (cd $(HOST_SUBDIR)/uudecode && \
37428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37430 "RANLIB=$${RANLIB}" \
37431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37432 maintainer-clean) \
37433 || exit 1
37435 @endif uudecode
37439 .PHONY: configure-wdiff maybe-configure-wdiff
37440 maybe-configure-wdiff:
37441 @if gcc-bootstrap
37442 configure-wdiff: stage_current
37443 @endif gcc-bootstrap
37444 @if wdiff
37445 maybe-configure-wdiff: configure-wdiff
37446 configure-wdiff:
37447 @: $(MAKE); $(unstage)
37448 @r=`${PWD_COMMAND}`; export r; \
37449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37450 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
37451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
37452 $(HOST_EXPORTS) \
37453 echo Configuring in $(HOST_SUBDIR)/wdiff; \
37454 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
37455 case $(srcdir) in \
37456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37457 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
37458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37459 esac; \
37460 srcdiroption="--srcdir=$${topdir}/wdiff"; \
37461 libsrcdir="$$s/wdiff"; \
37462 $(SHELL) $${libsrcdir}/configure \
37463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37464 --target=${target_alias} $${srcdiroption} \
37465 || exit 1
37466 @endif wdiff
37472 .PHONY: all-wdiff maybe-all-wdiff
37473 maybe-all-wdiff:
37474 @if gcc-bootstrap
37475 all-wdiff: stage_current
37476 @endif gcc-bootstrap
37477 @if wdiff
37478 TARGET-wdiff=all
37479 maybe-all-wdiff: all-wdiff
37480 all-wdiff: configure-wdiff
37481 @: $(MAKE); $(unstage)
37482 @r=`${PWD_COMMAND}`; export r; \
37483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37484 $(HOST_EXPORTS) \
37485 (cd $(HOST_SUBDIR)/wdiff && \
37486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37487 $(TARGET-wdiff))
37488 @endif wdiff
37493 .PHONY: check-wdiff maybe-check-wdiff
37494 maybe-check-wdiff:
37495 @if wdiff
37496 maybe-check-wdiff: check-wdiff
37498 check-wdiff:
37499 @: $(MAKE); $(unstage)
37500 @r=`${PWD_COMMAND}`; export r; \
37501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37502 $(HOST_EXPORTS) \
37503 (cd $(HOST_SUBDIR)/wdiff && \
37504 $(MAKE) $(FLAGS_TO_PASS) check)
37506 @endif wdiff
37508 .PHONY: install-wdiff maybe-install-wdiff
37509 maybe-install-wdiff:
37510 @if wdiff
37511 maybe-install-wdiff: install-wdiff
37513 install-wdiff: installdirs
37514 @: $(MAKE); $(unstage)
37515 @r=`${PWD_COMMAND}`; export r; \
37516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37517 $(HOST_EXPORTS) \
37518 (cd $(HOST_SUBDIR)/wdiff && \
37519 $(MAKE) $(FLAGS_TO_PASS) install)
37521 @endif wdiff
37523 # Other targets (info, dvi, pdf, etc.)
37525 .PHONY: maybe-info-wdiff info-wdiff
37526 maybe-info-wdiff:
37527 @if wdiff
37528 maybe-info-wdiff: info-wdiff
37530 info-wdiff: \
37531 configure-wdiff
37532 @: $(MAKE); $(unstage)
37533 @[ -f ./wdiff/Makefile ] || exit 0; \
37534 r=`${PWD_COMMAND}`; export r; \
37535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37536 $(HOST_EXPORTS) \
37537 for flag in $(EXTRA_HOST_FLAGS) ; do \
37538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37539 done; \
37540 echo "Doing info in wdiff" ; \
37541 (cd $(HOST_SUBDIR)/wdiff && \
37542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37544 "RANLIB=$${RANLIB}" \
37545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37546 info) \
37547 || exit 1
37549 @endif wdiff
37551 .PHONY: maybe-dvi-wdiff dvi-wdiff
37552 maybe-dvi-wdiff:
37553 @if wdiff
37554 maybe-dvi-wdiff: dvi-wdiff
37556 dvi-wdiff: \
37557 configure-wdiff
37558 @: $(MAKE); $(unstage)
37559 @[ -f ./wdiff/Makefile ] || exit 0; \
37560 r=`${PWD_COMMAND}`; export r; \
37561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37562 $(HOST_EXPORTS) \
37563 for flag in $(EXTRA_HOST_FLAGS) ; do \
37564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37565 done; \
37566 echo "Doing dvi in wdiff" ; \
37567 (cd $(HOST_SUBDIR)/wdiff && \
37568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37570 "RANLIB=$${RANLIB}" \
37571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37572 dvi) \
37573 || exit 1
37575 @endif wdiff
37577 .PHONY: maybe-pdf-wdiff pdf-wdiff
37578 maybe-pdf-wdiff:
37579 @if wdiff
37580 maybe-pdf-wdiff: pdf-wdiff
37582 pdf-wdiff: \
37583 configure-wdiff
37584 @: $(MAKE); $(unstage)
37585 @[ -f ./wdiff/Makefile ] || exit 0; \
37586 r=`${PWD_COMMAND}`; export r; \
37587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37588 $(HOST_EXPORTS) \
37589 for flag in $(EXTRA_HOST_FLAGS) ; do \
37590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37591 done; \
37592 echo "Doing pdf in wdiff" ; \
37593 (cd $(HOST_SUBDIR)/wdiff && \
37594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37596 "RANLIB=$${RANLIB}" \
37597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37598 pdf) \
37599 || exit 1
37601 @endif wdiff
37603 .PHONY: maybe-html-wdiff html-wdiff
37604 maybe-html-wdiff:
37605 @if wdiff
37606 maybe-html-wdiff: html-wdiff
37608 html-wdiff: \
37609 configure-wdiff
37610 @: $(MAKE); $(unstage)
37611 @[ -f ./wdiff/Makefile ] || exit 0; \
37612 r=`${PWD_COMMAND}`; export r; \
37613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37614 $(HOST_EXPORTS) \
37615 for flag in $(EXTRA_HOST_FLAGS) ; do \
37616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37617 done; \
37618 echo "Doing html in wdiff" ; \
37619 (cd $(HOST_SUBDIR)/wdiff && \
37620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37622 "RANLIB=$${RANLIB}" \
37623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37624 html) \
37625 || exit 1
37627 @endif wdiff
37629 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
37630 maybe-TAGS-wdiff:
37631 @if wdiff
37632 maybe-TAGS-wdiff: TAGS-wdiff
37634 TAGS-wdiff: \
37635 configure-wdiff
37636 @: $(MAKE); $(unstage)
37637 @[ -f ./wdiff/Makefile ] || exit 0; \
37638 r=`${PWD_COMMAND}`; export r; \
37639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37640 $(HOST_EXPORTS) \
37641 for flag in $(EXTRA_HOST_FLAGS) ; do \
37642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37643 done; \
37644 echo "Doing TAGS in wdiff" ; \
37645 (cd $(HOST_SUBDIR)/wdiff && \
37646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37648 "RANLIB=$${RANLIB}" \
37649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37650 TAGS) \
37651 || exit 1
37653 @endif wdiff
37655 .PHONY: maybe-install-info-wdiff install-info-wdiff
37656 maybe-install-info-wdiff:
37657 @if wdiff
37658 maybe-install-info-wdiff: install-info-wdiff
37660 install-info-wdiff: \
37661 configure-wdiff \
37662 info-wdiff
37663 @: $(MAKE); $(unstage)
37664 @[ -f ./wdiff/Makefile ] || exit 0; \
37665 r=`${PWD_COMMAND}`; export r; \
37666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37667 $(HOST_EXPORTS) \
37668 for flag in $(EXTRA_HOST_FLAGS) ; do \
37669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37670 done; \
37671 echo "Doing install-info in wdiff" ; \
37672 (cd $(HOST_SUBDIR)/wdiff && \
37673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37675 "RANLIB=$${RANLIB}" \
37676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37677 install-info) \
37678 || exit 1
37680 @endif wdiff
37682 .PHONY: maybe-install-pdf-wdiff install-pdf-wdiff
37683 maybe-install-pdf-wdiff:
37684 @if wdiff
37685 maybe-install-pdf-wdiff: install-pdf-wdiff
37687 install-pdf-wdiff: \
37688 configure-wdiff \
37689 pdf-wdiff
37690 @: $(MAKE); $(unstage)
37691 @[ -f ./wdiff/Makefile ] || exit 0; \
37692 r=`${PWD_COMMAND}`; export r; \
37693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37694 $(HOST_EXPORTS) \
37695 for flag in $(EXTRA_HOST_FLAGS) ; do \
37696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37697 done; \
37698 echo "Doing install-pdf in wdiff" ; \
37699 (cd $(HOST_SUBDIR)/wdiff && \
37700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37702 "RANLIB=$${RANLIB}" \
37703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37704 install-pdf) \
37705 || exit 1
37707 @endif wdiff
37709 .PHONY: maybe-install-html-wdiff install-html-wdiff
37710 maybe-install-html-wdiff:
37711 @if wdiff
37712 maybe-install-html-wdiff: install-html-wdiff
37714 install-html-wdiff: \
37715 configure-wdiff \
37716 html-wdiff
37717 @: $(MAKE); $(unstage)
37718 @[ -f ./wdiff/Makefile ] || exit 0; \
37719 r=`${PWD_COMMAND}`; export r; \
37720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37721 $(HOST_EXPORTS) \
37722 for flag in $(EXTRA_HOST_FLAGS) ; do \
37723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37724 done; \
37725 echo "Doing install-html in wdiff" ; \
37726 (cd $(HOST_SUBDIR)/wdiff && \
37727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37729 "RANLIB=$${RANLIB}" \
37730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37731 install-html) \
37732 || exit 1
37734 @endif wdiff
37736 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
37737 maybe-installcheck-wdiff:
37738 @if wdiff
37739 maybe-installcheck-wdiff: installcheck-wdiff
37741 installcheck-wdiff: \
37742 configure-wdiff
37743 @: $(MAKE); $(unstage)
37744 @[ -f ./wdiff/Makefile ] || exit 0; \
37745 r=`${PWD_COMMAND}`; export r; \
37746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37747 $(HOST_EXPORTS) \
37748 for flag in $(EXTRA_HOST_FLAGS) ; do \
37749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37750 done; \
37751 echo "Doing installcheck in wdiff" ; \
37752 (cd $(HOST_SUBDIR)/wdiff && \
37753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37755 "RANLIB=$${RANLIB}" \
37756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37757 installcheck) \
37758 || exit 1
37760 @endif wdiff
37762 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
37763 maybe-mostlyclean-wdiff:
37764 @if wdiff
37765 maybe-mostlyclean-wdiff: mostlyclean-wdiff
37767 mostlyclean-wdiff:
37768 @: $(MAKE); $(unstage)
37769 @[ -f ./wdiff/Makefile ] || exit 0; \
37770 r=`${PWD_COMMAND}`; export r; \
37771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37772 $(HOST_EXPORTS) \
37773 for flag in $(EXTRA_HOST_FLAGS) ; do \
37774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37775 done; \
37776 echo "Doing mostlyclean in wdiff" ; \
37777 (cd $(HOST_SUBDIR)/wdiff && \
37778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37780 "RANLIB=$${RANLIB}" \
37781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37782 mostlyclean) \
37783 || exit 1
37785 @endif wdiff
37787 .PHONY: maybe-clean-wdiff clean-wdiff
37788 maybe-clean-wdiff:
37789 @if wdiff
37790 maybe-clean-wdiff: clean-wdiff
37792 clean-wdiff:
37793 @: $(MAKE); $(unstage)
37794 @[ -f ./wdiff/Makefile ] || exit 0; \
37795 r=`${PWD_COMMAND}`; export r; \
37796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37797 $(HOST_EXPORTS) \
37798 for flag in $(EXTRA_HOST_FLAGS) ; do \
37799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37800 done; \
37801 echo "Doing clean in wdiff" ; \
37802 (cd $(HOST_SUBDIR)/wdiff && \
37803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37805 "RANLIB=$${RANLIB}" \
37806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37807 clean) \
37808 || exit 1
37810 @endif wdiff
37812 .PHONY: maybe-distclean-wdiff distclean-wdiff
37813 maybe-distclean-wdiff:
37814 @if wdiff
37815 maybe-distclean-wdiff: distclean-wdiff
37817 distclean-wdiff:
37818 @: $(MAKE); $(unstage)
37819 @[ -f ./wdiff/Makefile ] || exit 0; \
37820 r=`${PWD_COMMAND}`; export r; \
37821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37822 $(HOST_EXPORTS) \
37823 for flag in $(EXTRA_HOST_FLAGS) ; do \
37824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37825 done; \
37826 echo "Doing distclean in wdiff" ; \
37827 (cd $(HOST_SUBDIR)/wdiff && \
37828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37830 "RANLIB=$${RANLIB}" \
37831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37832 distclean) \
37833 || exit 1
37835 @endif wdiff
37837 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
37838 maybe-maintainer-clean-wdiff:
37839 @if wdiff
37840 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
37842 maintainer-clean-wdiff:
37843 @: $(MAKE); $(unstage)
37844 @[ -f ./wdiff/Makefile ] || exit 0; \
37845 r=`${PWD_COMMAND}`; export r; \
37846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37847 $(HOST_EXPORTS) \
37848 for flag in $(EXTRA_HOST_FLAGS) ; do \
37849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37850 done; \
37851 echo "Doing maintainer-clean in wdiff" ; \
37852 (cd $(HOST_SUBDIR)/wdiff && \
37853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37855 "RANLIB=$${RANLIB}" \
37856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37857 maintainer-clean) \
37858 || exit 1
37860 @endif wdiff
37864 .PHONY: configure-zip maybe-configure-zip
37865 maybe-configure-zip:
37866 @if gcc-bootstrap
37867 configure-zip: stage_current
37868 @endif gcc-bootstrap
37869 @if zip
37870 maybe-configure-zip: configure-zip
37871 configure-zip:
37872 @: $(MAKE); $(unstage)
37873 @r=`${PWD_COMMAND}`; export r; \
37874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37875 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
37876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
37877 $(HOST_EXPORTS) \
37878 echo Configuring in $(HOST_SUBDIR)/zip; \
37879 cd "$(HOST_SUBDIR)/zip" || exit 1; \
37880 case $(srcdir) in \
37881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37882 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
37883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37884 esac; \
37885 srcdiroption="--srcdir=$${topdir}/zip"; \
37886 libsrcdir="$$s/zip"; \
37887 $(SHELL) $${libsrcdir}/configure \
37888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37889 --target=${target_alias} $${srcdiroption} \
37890 || exit 1
37891 @endif zip
37897 .PHONY: all-zip maybe-all-zip
37898 maybe-all-zip:
37899 @if gcc-bootstrap
37900 all-zip: stage_current
37901 @endif gcc-bootstrap
37902 @if zip
37903 TARGET-zip=all
37904 maybe-all-zip: all-zip
37905 all-zip: configure-zip
37906 @: $(MAKE); $(unstage)
37907 @r=`${PWD_COMMAND}`; export r; \
37908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37909 $(HOST_EXPORTS) \
37910 (cd $(HOST_SUBDIR)/zip && \
37911 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37912 $(TARGET-zip))
37913 @endif zip
37918 .PHONY: check-zip maybe-check-zip
37919 maybe-check-zip:
37920 @if zip
37921 maybe-check-zip: check-zip
37923 # This module is only tested in a native toolchain.
37924 check-zip:
37925 @: $(MAKE); $(unstage)
37926 @if [ '$(host)' = '$(target)' ] ; then \
37927 r=`${PWD_COMMAND}`; export r; \
37928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37929 $(HOST_EXPORTS) \
37930 (cd $(HOST_SUBDIR)/zip && \
37931 $(MAKE) $(FLAGS_TO_PASS) check); \
37934 @endif zip
37936 .PHONY: install-zip maybe-install-zip
37937 maybe-install-zip:
37938 @if zip
37939 maybe-install-zip: install-zip
37941 install-zip: installdirs
37942 @: $(MAKE); $(unstage)
37943 @r=`${PWD_COMMAND}`; export r; \
37944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37945 $(HOST_EXPORTS) \
37946 (cd $(HOST_SUBDIR)/zip && \
37947 $(MAKE) $(FLAGS_TO_PASS) install)
37949 @endif zip
37951 # Other targets (info, dvi, pdf, etc.)
37953 .PHONY: maybe-info-zip info-zip
37954 maybe-info-zip:
37955 @if zip
37956 maybe-info-zip: info-zip
37958 info-zip: \
37959 configure-zip
37960 @: $(MAKE); $(unstage)
37961 @[ -f ./zip/Makefile ] || exit 0; \
37962 r=`${PWD_COMMAND}`; export r; \
37963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37964 $(HOST_EXPORTS) \
37965 for flag in $(EXTRA_HOST_FLAGS) ; do \
37966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37967 done; \
37968 echo "Doing info in zip" ; \
37969 (cd $(HOST_SUBDIR)/zip && \
37970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37972 "RANLIB=$${RANLIB}" \
37973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37974 info) \
37975 || exit 1
37977 @endif zip
37979 .PHONY: maybe-dvi-zip dvi-zip
37980 maybe-dvi-zip:
37981 @if zip
37982 maybe-dvi-zip: dvi-zip
37984 dvi-zip: \
37985 configure-zip
37986 @: $(MAKE); $(unstage)
37987 @[ -f ./zip/Makefile ] || exit 0; \
37988 r=`${PWD_COMMAND}`; export r; \
37989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37990 $(HOST_EXPORTS) \
37991 for flag in $(EXTRA_HOST_FLAGS) ; do \
37992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37993 done; \
37994 echo "Doing dvi in zip" ; \
37995 (cd $(HOST_SUBDIR)/zip && \
37996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37998 "RANLIB=$${RANLIB}" \
37999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38000 dvi) \
38001 || exit 1
38003 @endif zip
38005 .PHONY: maybe-pdf-zip pdf-zip
38006 maybe-pdf-zip:
38007 @if zip
38008 maybe-pdf-zip: pdf-zip
38010 pdf-zip: \
38011 configure-zip
38012 @: $(MAKE); $(unstage)
38013 @[ -f ./zip/Makefile ] || exit 0; \
38014 r=`${PWD_COMMAND}`; export r; \
38015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38016 $(HOST_EXPORTS) \
38017 for flag in $(EXTRA_HOST_FLAGS) ; do \
38018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38019 done; \
38020 echo "Doing pdf in zip" ; \
38021 (cd $(HOST_SUBDIR)/zip && \
38022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38024 "RANLIB=$${RANLIB}" \
38025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38026 pdf) \
38027 || exit 1
38029 @endif zip
38031 .PHONY: maybe-html-zip html-zip
38032 maybe-html-zip:
38033 @if zip
38034 maybe-html-zip: html-zip
38036 html-zip: \
38037 configure-zip
38038 @: $(MAKE); $(unstage)
38039 @[ -f ./zip/Makefile ] || exit 0; \
38040 r=`${PWD_COMMAND}`; export r; \
38041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38042 $(HOST_EXPORTS) \
38043 for flag in $(EXTRA_HOST_FLAGS) ; do \
38044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38045 done; \
38046 echo "Doing html in zip" ; \
38047 (cd $(HOST_SUBDIR)/zip && \
38048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38050 "RANLIB=$${RANLIB}" \
38051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38052 html) \
38053 || exit 1
38055 @endif zip
38057 .PHONY: maybe-TAGS-zip TAGS-zip
38058 maybe-TAGS-zip:
38059 @if zip
38060 maybe-TAGS-zip: TAGS-zip
38062 TAGS-zip: \
38063 configure-zip
38064 @: $(MAKE); $(unstage)
38065 @[ -f ./zip/Makefile ] || exit 0; \
38066 r=`${PWD_COMMAND}`; export r; \
38067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38068 $(HOST_EXPORTS) \
38069 for flag in $(EXTRA_HOST_FLAGS) ; do \
38070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38071 done; \
38072 echo "Doing TAGS in zip" ; \
38073 (cd $(HOST_SUBDIR)/zip && \
38074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38076 "RANLIB=$${RANLIB}" \
38077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38078 TAGS) \
38079 || exit 1
38081 @endif zip
38083 .PHONY: maybe-install-info-zip install-info-zip
38084 maybe-install-info-zip:
38085 @if zip
38086 maybe-install-info-zip: install-info-zip
38088 install-info-zip: \
38089 configure-zip \
38090 info-zip
38091 @: $(MAKE); $(unstage)
38092 @[ -f ./zip/Makefile ] || exit 0; \
38093 r=`${PWD_COMMAND}`; export r; \
38094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38095 $(HOST_EXPORTS) \
38096 for flag in $(EXTRA_HOST_FLAGS) ; do \
38097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38098 done; \
38099 echo "Doing install-info in zip" ; \
38100 (cd $(HOST_SUBDIR)/zip && \
38101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38103 "RANLIB=$${RANLIB}" \
38104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38105 install-info) \
38106 || exit 1
38108 @endif zip
38110 .PHONY: maybe-install-pdf-zip install-pdf-zip
38111 maybe-install-pdf-zip:
38112 @if zip
38113 maybe-install-pdf-zip: install-pdf-zip
38115 install-pdf-zip: \
38116 configure-zip \
38117 pdf-zip
38118 @: $(MAKE); $(unstage)
38119 @[ -f ./zip/Makefile ] || exit 0; \
38120 r=`${PWD_COMMAND}`; export r; \
38121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38122 $(HOST_EXPORTS) \
38123 for flag in $(EXTRA_HOST_FLAGS) ; do \
38124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38125 done; \
38126 echo "Doing install-pdf in zip" ; \
38127 (cd $(HOST_SUBDIR)/zip && \
38128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38130 "RANLIB=$${RANLIB}" \
38131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38132 install-pdf) \
38133 || exit 1
38135 @endif zip
38137 .PHONY: maybe-install-html-zip install-html-zip
38138 maybe-install-html-zip:
38139 @if zip
38140 maybe-install-html-zip: install-html-zip
38142 install-html-zip: \
38143 configure-zip \
38144 html-zip
38145 @: $(MAKE); $(unstage)
38146 @[ -f ./zip/Makefile ] || exit 0; \
38147 r=`${PWD_COMMAND}`; export r; \
38148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38149 $(HOST_EXPORTS) \
38150 for flag in $(EXTRA_HOST_FLAGS) ; do \
38151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38152 done; \
38153 echo "Doing install-html in zip" ; \
38154 (cd $(HOST_SUBDIR)/zip && \
38155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38157 "RANLIB=$${RANLIB}" \
38158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38159 install-html) \
38160 || exit 1
38162 @endif zip
38164 .PHONY: maybe-installcheck-zip installcheck-zip
38165 maybe-installcheck-zip:
38166 @if zip
38167 maybe-installcheck-zip: installcheck-zip
38169 installcheck-zip: \
38170 configure-zip
38171 @: $(MAKE); $(unstage)
38172 @[ -f ./zip/Makefile ] || exit 0; \
38173 r=`${PWD_COMMAND}`; export r; \
38174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38175 $(HOST_EXPORTS) \
38176 for flag in $(EXTRA_HOST_FLAGS) ; do \
38177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38178 done; \
38179 echo "Doing installcheck in zip" ; \
38180 (cd $(HOST_SUBDIR)/zip && \
38181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38183 "RANLIB=$${RANLIB}" \
38184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38185 installcheck) \
38186 || exit 1
38188 @endif zip
38190 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
38191 maybe-mostlyclean-zip:
38192 @if zip
38193 maybe-mostlyclean-zip: mostlyclean-zip
38195 mostlyclean-zip:
38196 @: $(MAKE); $(unstage)
38197 @[ -f ./zip/Makefile ] || exit 0; \
38198 r=`${PWD_COMMAND}`; export r; \
38199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38200 $(HOST_EXPORTS) \
38201 for flag in $(EXTRA_HOST_FLAGS) ; do \
38202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38203 done; \
38204 echo "Doing mostlyclean in zip" ; \
38205 (cd $(HOST_SUBDIR)/zip && \
38206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38208 "RANLIB=$${RANLIB}" \
38209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38210 mostlyclean) \
38211 || exit 1
38213 @endif zip
38215 .PHONY: maybe-clean-zip clean-zip
38216 maybe-clean-zip:
38217 @if zip
38218 maybe-clean-zip: clean-zip
38220 clean-zip:
38221 @: $(MAKE); $(unstage)
38222 @[ -f ./zip/Makefile ] || exit 0; \
38223 r=`${PWD_COMMAND}`; export r; \
38224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38225 $(HOST_EXPORTS) \
38226 for flag in $(EXTRA_HOST_FLAGS) ; do \
38227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38228 done; \
38229 echo "Doing clean in zip" ; \
38230 (cd $(HOST_SUBDIR)/zip && \
38231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38233 "RANLIB=$${RANLIB}" \
38234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38235 clean) \
38236 || exit 1
38238 @endif zip
38240 .PHONY: maybe-distclean-zip distclean-zip
38241 maybe-distclean-zip:
38242 @if zip
38243 maybe-distclean-zip: distclean-zip
38245 distclean-zip:
38246 @: $(MAKE); $(unstage)
38247 @[ -f ./zip/Makefile ] || exit 0; \
38248 r=`${PWD_COMMAND}`; export r; \
38249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38250 $(HOST_EXPORTS) \
38251 for flag in $(EXTRA_HOST_FLAGS) ; do \
38252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38253 done; \
38254 echo "Doing distclean in zip" ; \
38255 (cd $(HOST_SUBDIR)/zip && \
38256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38258 "RANLIB=$${RANLIB}" \
38259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38260 distclean) \
38261 || exit 1
38263 @endif zip
38265 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
38266 maybe-maintainer-clean-zip:
38267 @if zip
38268 maybe-maintainer-clean-zip: maintainer-clean-zip
38270 maintainer-clean-zip:
38271 @: $(MAKE); $(unstage)
38272 @[ -f ./zip/Makefile ] || exit 0; \
38273 r=`${PWD_COMMAND}`; export r; \
38274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38275 $(HOST_EXPORTS) \
38276 for flag in $(EXTRA_HOST_FLAGS) ; do \
38277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38278 done; \
38279 echo "Doing maintainer-clean in zip" ; \
38280 (cd $(HOST_SUBDIR)/zip && \
38281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38283 "RANLIB=$${RANLIB}" \
38284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38285 maintainer-clean) \
38286 || exit 1
38288 @endif zip
38292 .PHONY: configure-zlib maybe-configure-zlib
38293 maybe-configure-zlib:
38294 @if gcc-bootstrap
38295 configure-zlib: stage_current
38296 @endif gcc-bootstrap
38297 @if zlib
38298 maybe-configure-zlib: configure-zlib
38299 configure-zlib:
38300 @r=`${PWD_COMMAND}`; export r; \
38301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38302 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38304 $(HOST_EXPORTS) \
38305 echo Configuring in $(HOST_SUBDIR)/zlib; \
38306 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
38307 case $(srcdir) in \
38308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38309 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38311 esac; \
38312 srcdiroption="--srcdir=$${topdir}/zlib"; \
38313 libsrcdir="$$s/zlib"; \
38314 $(SHELL) $${libsrcdir}/configure \
38315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38316 --target=${target_alias} $${srcdiroption} \
38317 || exit 1
38318 @endif zlib
38322 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
38323 maybe-configure-stage1-zlib:
38324 @if zlib-bootstrap
38325 maybe-configure-stage1-zlib: configure-stage1-zlib
38326 configure-stage1-zlib:
38327 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38328 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38329 @r=`${PWD_COMMAND}`; export r; \
38330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38331 TFLAGS="$(STAGE1_TFLAGS)"; \
38332 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38333 $(HOST_EXPORTS) \
38334 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
38335 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
38336 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
38337 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
38338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38339 cd $(HOST_SUBDIR)/zlib || exit 1; \
38340 case $(srcdir) in \
38341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38342 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38344 esac; \
38345 srcdiroption="--srcdir=$${topdir}/zlib"; \
38346 libsrcdir="$$s/zlib"; \
38347 $(SHELL) $${libsrcdir}/configure \
38348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38349 --target=${target_alias} $${srcdiroption} \
38350 $(STAGE1_CONFIGURE_FLAGS)
38351 @endif zlib-bootstrap
38353 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
38354 maybe-configure-stage2-zlib:
38355 @if zlib-bootstrap
38356 maybe-configure-stage2-zlib: configure-stage2-zlib
38357 configure-stage2-zlib:
38358 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38360 @r=`${PWD_COMMAND}`; export r; \
38361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38362 TFLAGS="$(STAGE2_TFLAGS)"; \
38363 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38364 $(HOST_EXPORTS) \
38365 $(POSTSTAGE1_HOST_EXPORTS) \
38366 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
38367 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
38368 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
38369 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
38370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38371 cd $(HOST_SUBDIR)/zlib || exit 1; \
38372 case $(srcdir) in \
38373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38374 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38376 esac; \
38377 srcdiroption="--srcdir=$${topdir}/zlib"; \
38378 libsrcdir="$$s/zlib"; \
38379 $(SHELL) $${libsrcdir}/configure \
38380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38381 --target=${target_alias} $${srcdiroption} \
38382 --with-build-libsubdir=$(HOST_SUBDIR) \
38383 $(STAGE2_CONFIGURE_FLAGS)
38384 @endif zlib-bootstrap
38386 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
38387 maybe-configure-stage3-zlib:
38388 @if zlib-bootstrap
38389 maybe-configure-stage3-zlib: configure-stage3-zlib
38390 configure-stage3-zlib:
38391 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38393 @r=`${PWD_COMMAND}`; export r; \
38394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38395 TFLAGS="$(STAGE3_TFLAGS)"; \
38396 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38397 $(HOST_EXPORTS) \
38398 $(POSTSTAGE1_HOST_EXPORTS) \
38399 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
38400 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
38401 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
38402 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
38403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38404 cd $(HOST_SUBDIR)/zlib || exit 1; \
38405 case $(srcdir) in \
38406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38407 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38409 esac; \
38410 srcdiroption="--srcdir=$${topdir}/zlib"; \
38411 libsrcdir="$$s/zlib"; \
38412 $(SHELL) $${libsrcdir}/configure \
38413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38414 --target=${target_alias} $${srcdiroption} \
38415 --with-build-libsubdir=$(HOST_SUBDIR) \
38416 $(STAGE3_CONFIGURE_FLAGS)
38417 @endif zlib-bootstrap
38419 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
38420 maybe-configure-stage4-zlib:
38421 @if zlib-bootstrap
38422 maybe-configure-stage4-zlib: configure-stage4-zlib
38423 configure-stage4-zlib:
38424 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38426 @r=`${PWD_COMMAND}`; export r; \
38427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38428 TFLAGS="$(STAGE4_TFLAGS)"; \
38429 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38430 $(HOST_EXPORTS) \
38431 $(POSTSTAGE1_HOST_EXPORTS) \
38432 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
38433 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
38434 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
38435 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
38436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38437 cd $(HOST_SUBDIR)/zlib || exit 1; \
38438 case $(srcdir) in \
38439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38440 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38442 esac; \
38443 srcdiroption="--srcdir=$${topdir}/zlib"; \
38444 libsrcdir="$$s/zlib"; \
38445 $(SHELL) $${libsrcdir}/configure \
38446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38447 --target=${target_alias} $${srcdiroption} \
38448 --with-build-libsubdir=$(HOST_SUBDIR) \
38449 $(STAGE4_CONFIGURE_FLAGS)
38450 @endif zlib-bootstrap
38452 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
38453 maybe-configure-stageprofile-zlib:
38454 @if zlib-bootstrap
38455 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
38456 configure-stageprofile-zlib:
38457 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38459 @r=`${PWD_COMMAND}`; export r; \
38460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38461 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38462 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38463 $(HOST_EXPORTS) \
38464 $(POSTSTAGE1_HOST_EXPORTS) \
38465 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
38466 CXXFLAGS="$(STAGEprofile_CFLAGS)"; export CXXFLAGS; \
38467 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
38468 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
38469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38470 cd $(HOST_SUBDIR)/zlib || exit 1; \
38471 case $(srcdir) in \
38472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38473 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38475 esac; \
38476 srcdiroption="--srcdir=$${topdir}/zlib"; \
38477 libsrcdir="$$s/zlib"; \
38478 $(SHELL) $${libsrcdir}/configure \
38479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38480 --target=${target_alias} $${srcdiroption} \
38481 --with-build-libsubdir=$(HOST_SUBDIR) \
38482 $(STAGEprofile_CONFIGURE_FLAGS)
38483 @endif zlib-bootstrap
38485 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
38486 maybe-configure-stagefeedback-zlib:
38487 @if zlib-bootstrap
38488 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
38489 configure-stagefeedback-zlib:
38490 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38492 @r=`${PWD_COMMAND}`; export r; \
38493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38494 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38495 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38496 $(HOST_EXPORTS) \
38497 $(POSTSTAGE1_HOST_EXPORTS) \
38498 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
38499 CXXFLAGS="$(STAGEfeedback_CFLAGS)"; export CXXFLAGS; \
38500 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
38501 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
38502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38503 cd $(HOST_SUBDIR)/zlib || exit 1; \
38504 case $(srcdir) in \
38505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38506 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38508 esac; \
38509 srcdiroption="--srcdir=$${topdir}/zlib"; \
38510 libsrcdir="$$s/zlib"; \
38511 $(SHELL) $${libsrcdir}/configure \
38512 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38513 --target=${target_alias} $${srcdiroption} \
38514 --with-build-libsubdir=$(HOST_SUBDIR) \
38515 $(STAGEfeedback_CONFIGURE_FLAGS)
38516 @endif zlib-bootstrap
38522 .PHONY: all-zlib maybe-all-zlib
38523 maybe-all-zlib:
38524 @if gcc-bootstrap
38525 all-zlib: stage_current
38526 @endif gcc-bootstrap
38527 @if zlib
38528 TARGET-zlib=all
38529 maybe-all-zlib: all-zlib
38530 all-zlib: configure-zlib
38531 @r=`${PWD_COMMAND}`; export r; \
38532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38533 $(HOST_EXPORTS) \
38534 (cd $(HOST_SUBDIR)/zlib && \
38535 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38536 $(TARGET-zlib))
38537 @endif zlib
38541 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
38542 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
38543 maybe-all-stage1-zlib:
38544 maybe-clean-stage1-zlib:
38545 @if zlib-bootstrap
38546 maybe-all-stage1-zlib: all-stage1-zlib
38547 all-stage1: all-stage1-zlib
38548 TARGET-stage1-zlib = $(TARGET-zlib)
38549 all-stage1-zlib: configure-stage1-zlib
38550 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38551 @r=`${PWD_COMMAND}`; export r; \
38552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38553 TFLAGS="$(STAGE1_TFLAGS)"; \
38554 $(HOST_EXPORTS) \
38555 cd $(HOST_SUBDIR)/zlib && \
38556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38557 CFLAGS="$(STAGE1_CFLAGS)" \
38558 CXXFLAGS="$(STAGE1_CFLAGS)" \
38559 LIBCFLAGS="$(LIBCFLAGS)" \
38560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38563 $(EXTRA_HOST_FLAGS) \
38564 TFLAGS="$(STAGE1_TFLAGS)" \
38565 $(TARGET-stage1-zlib)
38567 maybe-clean-stage1-zlib: clean-stage1-zlib
38568 clean-stage1: clean-stage1-zlib
38569 clean-stage1-zlib:
38570 @if [ $(current_stage) = stage1 ]; then \
38571 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
38572 else \
38573 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
38574 $(MAKE) stage1-start; \
38575 fi; \
38576 cd $(HOST_SUBDIR)/zlib && \
38577 $(MAKE) $(EXTRA_HOST_FLAGS) \
38578 clean
38579 @endif zlib-bootstrap
38582 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
38583 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
38584 maybe-all-stage2-zlib:
38585 maybe-clean-stage2-zlib:
38586 @if zlib-bootstrap
38587 maybe-all-stage2-zlib: all-stage2-zlib
38588 all-stage2: all-stage2-zlib
38589 TARGET-stage2-zlib = $(TARGET-zlib)
38590 all-stage2-zlib: configure-stage2-zlib
38591 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38592 @r=`${PWD_COMMAND}`; export r; \
38593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38594 TFLAGS="$(STAGE2_TFLAGS)"; \
38595 $(HOST_EXPORTS) \
38596 $(POSTSTAGE1_HOST_EXPORTS) \
38597 cd $(HOST_SUBDIR)/zlib && \
38598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38599 CFLAGS="$(STAGE2_CFLAGS)" \
38600 CXXFLAGS="$(STAGE2_CFLAGS)" \
38601 LIBCFLAGS="$(STAGE2_CFLAGS)" \
38602 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38605 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38606 TFLAGS="$(STAGE2_TFLAGS)" \
38607 $(TARGET-stage2-zlib)
38609 maybe-clean-stage2-zlib: clean-stage2-zlib
38610 clean-stage2: clean-stage2-zlib
38611 clean-stage2-zlib:
38612 @if [ $(current_stage) = stage2 ]; then \
38613 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
38614 else \
38615 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
38616 $(MAKE) stage2-start; \
38617 fi; \
38618 cd $(HOST_SUBDIR)/zlib && \
38619 $(MAKE) $(EXTRA_HOST_FLAGS) \
38620 $(POSTSTAGE1_FLAGS_TO_PASS) \
38621 clean
38622 @endif zlib-bootstrap
38625 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
38626 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
38627 maybe-all-stage3-zlib:
38628 maybe-clean-stage3-zlib:
38629 @if zlib-bootstrap
38630 maybe-all-stage3-zlib: all-stage3-zlib
38631 all-stage3: all-stage3-zlib
38632 TARGET-stage3-zlib = $(TARGET-zlib)
38633 all-stage3-zlib: configure-stage3-zlib
38634 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38635 @r=`${PWD_COMMAND}`; export r; \
38636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38637 TFLAGS="$(STAGE3_TFLAGS)"; \
38638 $(HOST_EXPORTS) \
38639 $(POSTSTAGE1_HOST_EXPORTS) \
38640 cd $(HOST_SUBDIR)/zlib && \
38641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38642 CFLAGS="$(STAGE3_CFLAGS)" \
38643 CXXFLAGS="$(STAGE3_CFLAGS)" \
38644 LIBCFLAGS="$(STAGE3_CFLAGS)" \
38645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38649 TFLAGS="$(STAGE3_TFLAGS)" \
38650 $(TARGET-stage3-zlib)
38652 maybe-clean-stage3-zlib: clean-stage3-zlib
38653 clean-stage3: clean-stage3-zlib
38654 clean-stage3-zlib:
38655 @if [ $(current_stage) = stage3 ]; then \
38656 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
38657 else \
38658 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
38659 $(MAKE) stage3-start; \
38660 fi; \
38661 cd $(HOST_SUBDIR)/zlib && \
38662 $(MAKE) $(EXTRA_HOST_FLAGS) \
38663 $(POSTSTAGE1_FLAGS_TO_PASS) \
38664 clean
38665 @endif zlib-bootstrap
38668 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
38669 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
38670 maybe-all-stage4-zlib:
38671 maybe-clean-stage4-zlib:
38672 @if zlib-bootstrap
38673 maybe-all-stage4-zlib: all-stage4-zlib
38674 all-stage4: all-stage4-zlib
38675 TARGET-stage4-zlib = $(TARGET-zlib)
38676 all-stage4-zlib: configure-stage4-zlib
38677 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38678 @r=`${PWD_COMMAND}`; export r; \
38679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38680 TFLAGS="$(STAGE4_TFLAGS)"; \
38681 $(HOST_EXPORTS) \
38682 $(POSTSTAGE1_HOST_EXPORTS) \
38683 cd $(HOST_SUBDIR)/zlib && \
38684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38685 CFLAGS="$(STAGE4_CFLAGS)" \
38686 CXXFLAGS="$(STAGE4_CFLAGS)" \
38687 LIBCFLAGS="$(STAGE4_CFLAGS)" \
38688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38691 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38692 TFLAGS="$(STAGE4_TFLAGS)" \
38693 $(TARGET-stage4-zlib)
38695 maybe-clean-stage4-zlib: clean-stage4-zlib
38696 clean-stage4: clean-stage4-zlib
38697 clean-stage4-zlib:
38698 @if [ $(current_stage) = stage4 ]; then \
38699 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
38700 else \
38701 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
38702 $(MAKE) stage4-start; \
38703 fi; \
38704 cd $(HOST_SUBDIR)/zlib && \
38705 $(MAKE) $(EXTRA_HOST_FLAGS) \
38706 $(POSTSTAGE1_FLAGS_TO_PASS) \
38707 clean
38708 @endif zlib-bootstrap
38711 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
38712 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
38713 maybe-all-stageprofile-zlib:
38714 maybe-clean-stageprofile-zlib:
38715 @if zlib-bootstrap
38716 maybe-all-stageprofile-zlib: all-stageprofile-zlib
38717 all-stageprofile: all-stageprofile-zlib
38718 TARGET-stageprofile-zlib = $(TARGET-zlib)
38719 all-stageprofile-zlib: configure-stageprofile-zlib
38720 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38721 @r=`${PWD_COMMAND}`; export r; \
38722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38723 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38724 $(HOST_EXPORTS) \
38725 $(POSTSTAGE1_HOST_EXPORTS) \
38726 cd $(HOST_SUBDIR)/zlib && \
38727 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38728 CFLAGS="$(STAGEprofile_CFLAGS)" \
38729 CXXFLAGS="$(STAGEprofile_CFLAGS)" \
38730 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
38731 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38732 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38733 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38734 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38735 TFLAGS="$(STAGEprofile_TFLAGS)" \
38736 $(TARGET-stageprofile-zlib)
38738 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
38739 clean-stageprofile: clean-stageprofile-zlib
38740 clean-stageprofile-zlib:
38741 @if [ $(current_stage) = stageprofile ]; then \
38742 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
38743 else \
38744 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
38745 $(MAKE) stageprofile-start; \
38746 fi; \
38747 cd $(HOST_SUBDIR)/zlib && \
38748 $(MAKE) $(EXTRA_HOST_FLAGS) \
38749 $(POSTSTAGE1_FLAGS_TO_PASS) \
38750 clean
38751 @endif zlib-bootstrap
38754 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
38755 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
38756 maybe-all-stagefeedback-zlib:
38757 maybe-clean-stagefeedback-zlib:
38758 @if zlib-bootstrap
38759 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
38760 all-stagefeedback: all-stagefeedback-zlib
38761 TARGET-stagefeedback-zlib = $(TARGET-zlib)
38762 all-stagefeedback-zlib: configure-stagefeedback-zlib
38763 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38764 @r=`${PWD_COMMAND}`; export r; \
38765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38766 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38767 $(HOST_EXPORTS) \
38768 $(POSTSTAGE1_HOST_EXPORTS) \
38769 cd $(HOST_SUBDIR)/zlib && \
38770 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38771 CFLAGS="$(STAGEfeedback_CFLAGS)" \
38772 CXXFLAGS="$(STAGEfeedback_CFLAGS)" \
38773 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
38774 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38775 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38776 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38777 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38778 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38779 $(TARGET-stagefeedback-zlib)
38781 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
38782 clean-stagefeedback: clean-stagefeedback-zlib
38783 clean-stagefeedback-zlib:
38784 @if [ $(current_stage) = stagefeedback ]; then \
38785 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
38786 else \
38787 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
38788 $(MAKE) stagefeedback-start; \
38789 fi; \
38790 cd $(HOST_SUBDIR)/zlib && \
38791 $(MAKE) $(EXTRA_HOST_FLAGS) \
38792 $(POSTSTAGE1_FLAGS_TO_PASS) \
38793 clean
38794 @endif zlib-bootstrap
38800 .PHONY: check-zlib maybe-check-zlib
38801 maybe-check-zlib:
38802 @if zlib
38803 maybe-check-zlib: check-zlib
38805 check-zlib:
38807 @endif zlib
38809 .PHONY: install-zlib maybe-install-zlib
38810 maybe-install-zlib:
38811 @if zlib
38812 maybe-install-zlib: install-zlib
38814 install-zlib:
38816 @endif zlib
38818 # Other targets (info, dvi, pdf, etc.)
38820 .PHONY: maybe-info-zlib info-zlib
38821 maybe-info-zlib:
38822 @if zlib
38823 maybe-info-zlib: info-zlib
38825 info-zlib: \
38826 configure-zlib
38827 @[ -f ./zlib/Makefile ] || exit 0; \
38828 r=`${PWD_COMMAND}`; export r; \
38829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38830 $(HOST_EXPORTS) \
38831 for flag in $(EXTRA_HOST_FLAGS) ; do \
38832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38833 done; \
38834 echo "Doing info in zlib" ; \
38835 (cd $(HOST_SUBDIR)/zlib && \
38836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38838 "RANLIB=$${RANLIB}" \
38839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38840 info) \
38841 || exit 1
38843 @endif zlib
38845 .PHONY: maybe-dvi-zlib dvi-zlib
38846 maybe-dvi-zlib:
38847 @if zlib
38848 maybe-dvi-zlib: dvi-zlib
38850 dvi-zlib: \
38851 configure-zlib
38852 @[ -f ./zlib/Makefile ] || exit 0; \
38853 r=`${PWD_COMMAND}`; export r; \
38854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38855 $(HOST_EXPORTS) \
38856 for flag in $(EXTRA_HOST_FLAGS) ; do \
38857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38858 done; \
38859 echo "Doing dvi in zlib" ; \
38860 (cd $(HOST_SUBDIR)/zlib && \
38861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38863 "RANLIB=$${RANLIB}" \
38864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38865 dvi) \
38866 || exit 1
38868 @endif zlib
38870 .PHONY: maybe-pdf-zlib pdf-zlib
38871 maybe-pdf-zlib:
38872 @if zlib
38873 maybe-pdf-zlib: pdf-zlib
38875 pdf-zlib: \
38876 configure-zlib
38877 @[ -f ./zlib/Makefile ] || exit 0; \
38878 r=`${PWD_COMMAND}`; export r; \
38879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38880 $(HOST_EXPORTS) \
38881 for flag in $(EXTRA_HOST_FLAGS) ; do \
38882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38883 done; \
38884 echo "Doing pdf in zlib" ; \
38885 (cd $(HOST_SUBDIR)/zlib && \
38886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38888 "RANLIB=$${RANLIB}" \
38889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38890 pdf) \
38891 || exit 1
38893 @endif zlib
38895 .PHONY: maybe-html-zlib html-zlib
38896 maybe-html-zlib:
38897 @if zlib
38898 maybe-html-zlib: html-zlib
38900 html-zlib: \
38901 configure-zlib
38902 @[ -f ./zlib/Makefile ] || exit 0; \
38903 r=`${PWD_COMMAND}`; export r; \
38904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38905 $(HOST_EXPORTS) \
38906 for flag in $(EXTRA_HOST_FLAGS) ; do \
38907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38908 done; \
38909 echo "Doing html in zlib" ; \
38910 (cd $(HOST_SUBDIR)/zlib && \
38911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38913 "RANLIB=$${RANLIB}" \
38914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38915 html) \
38916 || exit 1
38918 @endif zlib
38920 .PHONY: maybe-TAGS-zlib TAGS-zlib
38921 maybe-TAGS-zlib:
38922 @if zlib
38923 maybe-TAGS-zlib: TAGS-zlib
38925 TAGS-zlib: \
38926 configure-zlib
38927 @[ -f ./zlib/Makefile ] || exit 0; \
38928 r=`${PWD_COMMAND}`; export r; \
38929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38930 $(HOST_EXPORTS) \
38931 for flag in $(EXTRA_HOST_FLAGS) ; do \
38932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38933 done; \
38934 echo "Doing TAGS in zlib" ; \
38935 (cd $(HOST_SUBDIR)/zlib && \
38936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38938 "RANLIB=$${RANLIB}" \
38939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38940 TAGS) \
38941 || exit 1
38943 @endif zlib
38945 .PHONY: maybe-install-info-zlib install-info-zlib
38946 maybe-install-info-zlib:
38947 @if zlib
38948 maybe-install-info-zlib: install-info-zlib
38950 install-info-zlib: \
38951 configure-zlib \
38952 info-zlib
38953 @[ -f ./zlib/Makefile ] || exit 0; \
38954 r=`${PWD_COMMAND}`; export r; \
38955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38956 $(HOST_EXPORTS) \
38957 for flag in $(EXTRA_HOST_FLAGS) ; do \
38958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38959 done; \
38960 echo "Doing install-info in zlib" ; \
38961 (cd $(HOST_SUBDIR)/zlib && \
38962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38964 "RANLIB=$${RANLIB}" \
38965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38966 install-info) \
38967 || exit 1
38969 @endif zlib
38971 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
38972 maybe-install-pdf-zlib:
38973 @if zlib
38974 maybe-install-pdf-zlib: install-pdf-zlib
38976 install-pdf-zlib: \
38977 configure-zlib \
38978 pdf-zlib
38979 @[ -f ./zlib/Makefile ] || exit 0; \
38980 r=`${PWD_COMMAND}`; export r; \
38981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38982 $(HOST_EXPORTS) \
38983 for flag in $(EXTRA_HOST_FLAGS) ; do \
38984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38985 done; \
38986 echo "Doing install-pdf in zlib" ; \
38987 (cd $(HOST_SUBDIR)/zlib && \
38988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38990 "RANLIB=$${RANLIB}" \
38991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38992 install-pdf) \
38993 || exit 1
38995 @endif zlib
38997 .PHONY: maybe-install-html-zlib install-html-zlib
38998 maybe-install-html-zlib:
38999 @if zlib
39000 maybe-install-html-zlib: install-html-zlib
39002 install-html-zlib: \
39003 configure-zlib \
39004 html-zlib
39005 @[ -f ./zlib/Makefile ] || exit 0; \
39006 r=`${PWD_COMMAND}`; export r; \
39007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39008 $(HOST_EXPORTS) \
39009 for flag in $(EXTRA_HOST_FLAGS) ; do \
39010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39011 done; \
39012 echo "Doing install-html in zlib" ; \
39013 (cd $(HOST_SUBDIR)/zlib && \
39014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39016 "RANLIB=$${RANLIB}" \
39017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39018 install-html) \
39019 || exit 1
39021 @endif zlib
39023 .PHONY: maybe-installcheck-zlib installcheck-zlib
39024 maybe-installcheck-zlib:
39025 @if zlib
39026 maybe-installcheck-zlib: installcheck-zlib
39028 installcheck-zlib: \
39029 configure-zlib
39030 @[ -f ./zlib/Makefile ] || exit 0; \
39031 r=`${PWD_COMMAND}`; export r; \
39032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39033 $(HOST_EXPORTS) \
39034 for flag in $(EXTRA_HOST_FLAGS) ; do \
39035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39036 done; \
39037 echo "Doing installcheck in zlib" ; \
39038 (cd $(HOST_SUBDIR)/zlib && \
39039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39041 "RANLIB=$${RANLIB}" \
39042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39043 installcheck) \
39044 || exit 1
39046 @endif zlib
39048 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
39049 maybe-mostlyclean-zlib:
39050 @if zlib
39051 maybe-mostlyclean-zlib: mostlyclean-zlib
39053 mostlyclean-zlib:
39054 @[ -f ./zlib/Makefile ] || exit 0; \
39055 r=`${PWD_COMMAND}`; export r; \
39056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39057 $(HOST_EXPORTS) \
39058 for flag in $(EXTRA_HOST_FLAGS) ; do \
39059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39060 done; \
39061 echo "Doing mostlyclean in zlib" ; \
39062 (cd $(HOST_SUBDIR)/zlib && \
39063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39065 "RANLIB=$${RANLIB}" \
39066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39067 mostlyclean) \
39068 || exit 1
39070 @endif zlib
39072 .PHONY: maybe-clean-zlib clean-zlib
39073 maybe-clean-zlib:
39074 @if zlib
39075 maybe-clean-zlib: clean-zlib
39077 clean-zlib:
39078 @[ -f ./zlib/Makefile ] || exit 0; \
39079 r=`${PWD_COMMAND}`; export r; \
39080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39081 $(HOST_EXPORTS) \
39082 for flag in $(EXTRA_HOST_FLAGS) ; do \
39083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39084 done; \
39085 echo "Doing clean in zlib" ; \
39086 (cd $(HOST_SUBDIR)/zlib && \
39087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39089 "RANLIB=$${RANLIB}" \
39090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39091 clean) \
39092 || exit 1
39094 @endif zlib
39096 .PHONY: maybe-distclean-zlib distclean-zlib
39097 maybe-distclean-zlib:
39098 @if zlib
39099 maybe-distclean-zlib: distclean-zlib
39101 distclean-zlib:
39102 @[ -f ./zlib/Makefile ] || exit 0; \
39103 r=`${PWD_COMMAND}`; export r; \
39104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39105 $(HOST_EXPORTS) \
39106 for flag in $(EXTRA_HOST_FLAGS) ; do \
39107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39108 done; \
39109 echo "Doing distclean in zlib" ; \
39110 (cd $(HOST_SUBDIR)/zlib && \
39111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39113 "RANLIB=$${RANLIB}" \
39114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39115 distclean) \
39116 || exit 1
39118 @endif zlib
39120 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
39121 maybe-maintainer-clean-zlib:
39122 @if zlib
39123 maybe-maintainer-clean-zlib: maintainer-clean-zlib
39125 maintainer-clean-zlib:
39126 @[ -f ./zlib/Makefile ] || exit 0; \
39127 r=`${PWD_COMMAND}`; export r; \
39128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39129 $(HOST_EXPORTS) \
39130 for flag in $(EXTRA_HOST_FLAGS) ; do \
39131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39132 done; \
39133 echo "Doing maintainer-clean in zlib" ; \
39134 (cd $(HOST_SUBDIR)/zlib && \
39135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39137 "RANLIB=$${RANLIB}" \
39138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39139 maintainer-clean) \
39140 || exit 1
39142 @endif zlib
39146 .PHONY: configure-gdb maybe-configure-gdb
39147 maybe-configure-gdb:
39148 @if gcc-bootstrap
39149 configure-gdb: stage_current
39150 @endif gcc-bootstrap
39151 @if gdb
39152 maybe-configure-gdb: configure-gdb
39153 configure-gdb:
39154 @: $(MAKE); $(unstage)
39155 @r=`${PWD_COMMAND}`; export r; \
39156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39157 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
39158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
39159 $(HOST_EXPORTS) \
39160 echo Configuring in $(HOST_SUBDIR)/gdb; \
39161 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
39162 case $(srcdir) in \
39163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39164 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
39165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39166 esac; \
39167 srcdiroption="--srcdir=$${topdir}/gdb"; \
39168 libsrcdir="$$s/gdb"; \
39169 $(SHELL) $${libsrcdir}/configure \
39170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39171 --target=${target_alias} $${srcdiroption} \
39172 || exit 1
39173 @endif gdb
39179 .PHONY: all-gdb maybe-all-gdb
39180 maybe-all-gdb:
39181 @if gcc-bootstrap
39182 all-gdb: stage_current
39183 @endif gcc-bootstrap
39184 @if gdb
39185 TARGET-gdb=all
39186 maybe-all-gdb: all-gdb
39187 all-gdb: configure-gdb
39188 @: $(MAKE); $(unstage)
39189 @r=`${PWD_COMMAND}`; export r; \
39190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39191 $(HOST_EXPORTS) \
39192 (cd $(HOST_SUBDIR)/gdb && \
39193 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
39194 $(TARGET-gdb))
39195 @endif gdb
39200 .PHONY: check-gdb maybe-check-gdb
39201 maybe-check-gdb:
39202 @if gdb
39203 maybe-check-gdb: check-gdb
39205 check-gdb:
39206 @: $(MAKE); $(unstage)
39207 @r=`${PWD_COMMAND}`; export r; \
39208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39209 $(HOST_EXPORTS) \
39210 (cd $(HOST_SUBDIR)/gdb && \
39211 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
39213 @endif gdb
39215 .PHONY: install-gdb maybe-install-gdb
39216 maybe-install-gdb:
39217 @if gdb
39218 maybe-install-gdb: install-gdb
39220 install-gdb: installdirs
39221 @: $(MAKE); $(unstage)
39222 @r=`${PWD_COMMAND}`; export r; \
39223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39224 $(HOST_EXPORTS) \
39225 (cd $(HOST_SUBDIR)/gdb && \
39226 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
39228 @endif gdb
39230 # Other targets (info, dvi, pdf, etc.)
39232 .PHONY: maybe-info-gdb info-gdb
39233 maybe-info-gdb:
39234 @if gdb
39235 maybe-info-gdb: info-gdb
39237 info-gdb: \
39238 configure-gdb
39239 @: $(MAKE); $(unstage)
39240 @[ -f ./gdb/Makefile ] || exit 0; \
39241 r=`${PWD_COMMAND}`; export r; \
39242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39243 $(HOST_EXPORTS) \
39244 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39246 done; \
39247 echo "Doing info in gdb" ; \
39248 (cd $(HOST_SUBDIR)/gdb && \
39249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39251 "RANLIB=$${RANLIB}" \
39252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39253 info) \
39254 || exit 1
39256 @endif gdb
39258 .PHONY: maybe-dvi-gdb dvi-gdb
39259 maybe-dvi-gdb:
39260 @if gdb
39261 maybe-dvi-gdb: dvi-gdb
39263 dvi-gdb: \
39264 configure-gdb
39265 @: $(MAKE); $(unstage)
39266 @[ -f ./gdb/Makefile ] || exit 0; \
39267 r=`${PWD_COMMAND}`; export r; \
39268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39269 $(HOST_EXPORTS) \
39270 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39272 done; \
39273 echo "Doing dvi in gdb" ; \
39274 (cd $(HOST_SUBDIR)/gdb && \
39275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39277 "RANLIB=$${RANLIB}" \
39278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39279 dvi) \
39280 || exit 1
39282 @endif gdb
39284 .PHONY: maybe-pdf-gdb pdf-gdb
39285 maybe-pdf-gdb:
39286 @if gdb
39287 maybe-pdf-gdb: pdf-gdb
39289 pdf-gdb: \
39290 configure-gdb
39291 @: $(MAKE); $(unstage)
39292 @[ -f ./gdb/Makefile ] || exit 0; \
39293 r=`${PWD_COMMAND}`; export r; \
39294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39295 $(HOST_EXPORTS) \
39296 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39298 done; \
39299 echo "Doing pdf in gdb" ; \
39300 (cd $(HOST_SUBDIR)/gdb && \
39301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39303 "RANLIB=$${RANLIB}" \
39304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39305 pdf) \
39306 || exit 1
39308 @endif gdb
39310 .PHONY: maybe-html-gdb html-gdb
39311 maybe-html-gdb:
39312 @if gdb
39313 maybe-html-gdb: html-gdb
39315 html-gdb: \
39316 configure-gdb
39317 @: $(MAKE); $(unstage)
39318 @[ -f ./gdb/Makefile ] || exit 0; \
39319 r=`${PWD_COMMAND}`; export r; \
39320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39321 $(HOST_EXPORTS) \
39322 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39324 done; \
39325 echo "Doing html in gdb" ; \
39326 (cd $(HOST_SUBDIR)/gdb && \
39327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39329 "RANLIB=$${RANLIB}" \
39330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39331 html) \
39332 || exit 1
39334 @endif gdb
39336 .PHONY: maybe-TAGS-gdb TAGS-gdb
39337 maybe-TAGS-gdb:
39338 @if gdb
39339 maybe-TAGS-gdb: TAGS-gdb
39341 TAGS-gdb: \
39342 configure-gdb
39343 @: $(MAKE); $(unstage)
39344 @[ -f ./gdb/Makefile ] || exit 0; \
39345 r=`${PWD_COMMAND}`; export r; \
39346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39347 $(HOST_EXPORTS) \
39348 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39350 done; \
39351 echo "Doing TAGS in gdb" ; \
39352 (cd $(HOST_SUBDIR)/gdb && \
39353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39355 "RANLIB=$${RANLIB}" \
39356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39357 TAGS) \
39358 || exit 1
39360 @endif gdb
39362 .PHONY: maybe-install-info-gdb install-info-gdb
39363 maybe-install-info-gdb:
39364 @if gdb
39365 maybe-install-info-gdb: install-info-gdb
39367 install-info-gdb: \
39368 configure-gdb \
39369 info-gdb
39370 @: $(MAKE); $(unstage)
39371 @[ -f ./gdb/Makefile ] || exit 0; \
39372 r=`${PWD_COMMAND}`; export r; \
39373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39374 $(HOST_EXPORTS) \
39375 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39377 done; \
39378 echo "Doing install-info in gdb" ; \
39379 (cd $(HOST_SUBDIR)/gdb && \
39380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39382 "RANLIB=$${RANLIB}" \
39383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39384 install-info) \
39385 || exit 1
39387 @endif gdb
39389 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
39390 maybe-install-pdf-gdb:
39391 @if gdb
39392 maybe-install-pdf-gdb: install-pdf-gdb
39394 install-pdf-gdb: \
39395 configure-gdb \
39396 pdf-gdb
39397 @: $(MAKE); $(unstage)
39398 @[ -f ./gdb/Makefile ] || exit 0; \
39399 r=`${PWD_COMMAND}`; export r; \
39400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39401 $(HOST_EXPORTS) \
39402 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39404 done; \
39405 echo "Doing install-pdf in gdb" ; \
39406 (cd $(HOST_SUBDIR)/gdb && \
39407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39409 "RANLIB=$${RANLIB}" \
39410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39411 install-pdf) \
39412 || exit 1
39414 @endif gdb
39416 .PHONY: maybe-install-html-gdb install-html-gdb
39417 maybe-install-html-gdb:
39418 @if gdb
39419 maybe-install-html-gdb: install-html-gdb
39421 install-html-gdb: \
39422 configure-gdb \
39423 html-gdb
39424 @: $(MAKE); $(unstage)
39425 @[ -f ./gdb/Makefile ] || exit 0; \
39426 r=`${PWD_COMMAND}`; export r; \
39427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39428 $(HOST_EXPORTS) \
39429 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39431 done; \
39432 echo "Doing install-html in gdb" ; \
39433 (cd $(HOST_SUBDIR)/gdb && \
39434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39436 "RANLIB=$${RANLIB}" \
39437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39438 install-html) \
39439 || exit 1
39441 @endif gdb
39443 .PHONY: maybe-installcheck-gdb installcheck-gdb
39444 maybe-installcheck-gdb:
39445 @if gdb
39446 maybe-installcheck-gdb: installcheck-gdb
39448 installcheck-gdb: \
39449 configure-gdb
39450 @: $(MAKE); $(unstage)
39451 @[ -f ./gdb/Makefile ] || exit 0; \
39452 r=`${PWD_COMMAND}`; export r; \
39453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39454 $(HOST_EXPORTS) \
39455 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39457 done; \
39458 echo "Doing installcheck in gdb" ; \
39459 (cd $(HOST_SUBDIR)/gdb && \
39460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39462 "RANLIB=$${RANLIB}" \
39463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39464 installcheck) \
39465 || exit 1
39467 @endif gdb
39469 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
39470 maybe-mostlyclean-gdb:
39471 @if gdb
39472 maybe-mostlyclean-gdb: mostlyclean-gdb
39474 mostlyclean-gdb:
39475 @: $(MAKE); $(unstage)
39476 @[ -f ./gdb/Makefile ] || exit 0; \
39477 r=`${PWD_COMMAND}`; export r; \
39478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39479 $(HOST_EXPORTS) \
39480 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39482 done; \
39483 echo "Doing mostlyclean in gdb" ; \
39484 (cd $(HOST_SUBDIR)/gdb && \
39485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39487 "RANLIB=$${RANLIB}" \
39488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39489 mostlyclean) \
39490 || exit 1
39492 @endif gdb
39494 .PHONY: maybe-clean-gdb clean-gdb
39495 maybe-clean-gdb:
39496 @if gdb
39497 maybe-clean-gdb: clean-gdb
39499 clean-gdb:
39500 @: $(MAKE); $(unstage)
39501 @[ -f ./gdb/Makefile ] || exit 0; \
39502 r=`${PWD_COMMAND}`; export r; \
39503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39504 $(HOST_EXPORTS) \
39505 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39507 done; \
39508 echo "Doing clean in gdb" ; \
39509 (cd $(HOST_SUBDIR)/gdb && \
39510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39512 "RANLIB=$${RANLIB}" \
39513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39514 clean) \
39515 || exit 1
39517 @endif gdb
39519 .PHONY: maybe-distclean-gdb distclean-gdb
39520 maybe-distclean-gdb:
39521 @if gdb
39522 maybe-distclean-gdb: distclean-gdb
39524 distclean-gdb:
39525 @: $(MAKE); $(unstage)
39526 @[ -f ./gdb/Makefile ] || exit 0; \
39527 r=`${PWD_COMMAND}`; export r; \
39528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39529 $(HOST_EXPORTS) \
39530 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39532 done; \
39533 echo "Doing distclean in gdb" ; \
39534 (cd $(HOST_SUBDIR)/gdb && \
39535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39537 "RANLIB=$${RANLIB}" \
39538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39539 distclean) \
39540 || exit 1
39542 @endif gdb
39544 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
39545 maybe-maintainer-clean-gdb:
39546 @if gdb
39547 maybe-maintainer-clean-gdb: maintainer-clean-gdb
39549 maintainer-clean-gdb:
39550 @: $(MAKE); $(unstage)
39551 @[ -f ./gdb/Makefile ] || exit 0; \
39552 r=`${PWD_COMMAND}`; export r; \
39553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39554 $(HOST_EXPORTS) \
39555 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39557 done; \
39558 echo "Doing maintainer-clean in gdb" ; \
39559 (cd $(HOST_SUBDIR)/gdb && \
39560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39562 "RANLIB=$${RANLIB}" \
39563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39564 maintainer-clean) \
39565 || exit 1
39567 @endif gdb
39571 .PHONY: configure-expect maybe-configure-expect
39572 maybe-configure-expect:
39573 @if gcc-bootstrap
39574 configure-expect: stage_current
39575 @endif gcc-bootstrap
39576 @if expect
39577 maybe-configure-expect: configure-expect
39578 configure-expect:
39579 @: $(MAKE); $(unstage)
39580 @r=`${PWD_COMMAND}`; export r; \
39581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39582 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
39583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
39584 $(HOST_EXPORTS) \
39585 echo Configuring in $(HOST_SUBDIR)/expect; \
39586 cd "$(HOST_SUBDIR)/expect" || exit 1; \
39587 case $(srcdir) in \
39588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39589 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
39590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39591 esac; \
39592 srcdiroption="--srcdir=$${topdir}/expect"; \
39593 libsrcdir="$$s/expect"; \
39594 $(SHELL) $${libsrcdir}/configure \
39595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39596 --target=${target_alias} $${srcdiroption} \
39597 || exit 1
39598 @endif expect
39604 .PHONY: all-expect maybe-all-expect
39605 maybe-all-expect:
39606 @if gcc-bootstrap
39607 all-expect: stage_current
39608 @endif gcc-bootstrap
39609 @if expect
39610 TARGET-expect=all
39611 maybe-all-expect: all-expect
39612 all-expect: configure-expect
39613 @: $(MAKE); $(unstage)
39614 @r=`${PWD_COMMAND}`; export r; \
39615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39616 $(HOST_EXPORTS) \
39617 (cd $(HOST_SUBDIR)/expect && \
39618 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
39619 $(TARGET-expect))
39620 @endif expect
39625 .PHONY: check-expect maybe-check-expect
39626 maybe-check-expect:
39627 @if expect
39628 maybe-check-expect: check-expect
39630 check-expect:
39631 @: $(MAKE); $(unstage)
39632 @r=`${PWD_COMMAND}`; export r; \
39633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39634 $(HOST_EXPORTS) \
39635 (cd $(HOST_SUBDIR)/expect && \
39636 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
39638 @endif expect
39640 .PHONY: install-expect maybe-install-expect
39641 maybe-install-expect:
39642 @if expect
39643 maybe-install-expect: install-expect
39645 install-expect: installdirs
39646 @: $(MAKE); $(unstage)
39647 @r=`${PWD_COMMAND}`; export r; \
39648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39649 $(HOST_EXPORTS) \
39650 (cd $(HOST_SUBDIR)/expect && \
39651 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
39653 @endif expect
39655 # Other targets (info, dvi, pdf, etc.)
39657 .PHONY: maybe-info-expect info-expect
39658 maybe-info-expect:
39659 @if expect
39660 maybe-info-expect: info-expect
39662 info-expect: \
39663 configure-expect
39664 @: $(MAKE); $(unstage)
39665 @[ -f ./expect/Makefile ] || exit 0; \
39666 r=`${PWD_COMMAND}`; export r; \
39667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39668 $(HOST_EXPORTS) \
39669 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39671 done; \
39672 echo "Doing info in expect" ; \
39673 (cd $(HOST_SUBDIR)/expect && \
39674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39676 "RANLIB=$${RANLIB}" \
39677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39678 info) \
39679 || exit 1
39681 @endif expect
39683 .PHONY: maybe-dvi-expect dvi-expect
39684 maybe-dvi-expect:
39685 @if expect
39686 maybe-dvi-expect: dvi-expect
39688 dvi-expect: \
39689 configure-expect
39690 @: $(MAKE); $(unstage)
39691 @[ -f ./expect/Makefile ] || exit 0; \
39692 r=`${PWD_COMMAND}`; export r; \
39693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39694 $(HOST_EXPORTS) \
39695 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39697 done; \
39698 echo "Doing dvi in expect" ; \
39699 (cd $(HOST_SUBDIR)/expect && \
39700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39702 "RANLIB=$${RANLIB}" \
39703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39704 dvi) \
39705 || exit 1
39707 @endif expect
39709 .PHONY: maybe-pdf-expect pdf-expect
39710 maybe-pdf-expect:
39711 @if expect
39712 maybe-pdf-expect: pdf-expect
39714 pdf-expect: \
39715 configure-expect
39716 @: $(MAKE); $(unstage)
39717 @[ -f ./expect/Makefile ] || exit 0; \
39718 r=`${PWD_COMMAND}`; export r; \
39719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39720 $(HOST_EXPORTS) \
39721 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39723 done; \
39724 echo "Doing pdf in expect" ; \
39725 (cd $(HOST_SUBDIR)/expect && \
39726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39728 "RANLIB=$${RANLIB}" \
39729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39730 pdf) \
39731 || exit 1
39733 @endif expect
39735 .PHONY: maybe-html-expect html-expect
39736 maybe-html-expect:
39737 @if expect
39738 maybe-html-expect: html-expect
39740 html-expect: \
39741 configure-expect
39742 @: $(MAKE); $(unstage)
39743 @[ -f ./expect/Makefile ] || exit 0; \
39744 r=`${PWD_COMMAND}`; export r; \
39745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39746 $(HOST_EXPORTS) \
39747 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39749 done; \
39750 echo "Doing html in expect" ; \
39751 (cd $(HOST_SUBDIR)/expect && \
39752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39754 "RANLIB=$${RANLIB}" \
39755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39756 html) \
39757 || exit 1
39759 @endif expect
39761 .PHONY: maybe-TAGS-expect TAGS-expect
39762 maybe-TAGS-expect:
39763 @if expect
39764 maybe-TAGS-expect: TAGS-expect
39766 TAGS-expect: \
39767 configure-expect
39768 @: $(MAKE); $(unstage)
39769 @[ -f ./expect/Makefile ] || exit 0; \
39770 r=`${PWD_COMMAND}`; export r; \
39771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39772 $(HOST_EXPORTS) \
39773 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39775 done; \
39776 echo "Doing TAGS in expect" ; \
39777 (cd $(HOST_SUBDIR)/expect && \
39778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39780 "RANLIB=$${RANLIB}" \
39781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39782 TAGS) \
39783 || exit 1
39785 @endif expect
39787 .PHONY: maybe-install-info-expect install-info-expect
39788 maybe-install-info-expect:
39789 @if expect
39790 maybe-install-info-expect: install-info-expect
39792 install-info-expect: \
39793 configure-expect \
39794 info-expect
39795 @: $(MAKE); $(unstage)
39796 @[ -f ./expect/Makefile ] || exit 0; \
39797 r=`${PWD_COMMAND}`; export r; \
39798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39799 $(HOST_EXPORTS) \
39800 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39802 done; \
39803 echo "Doing install-info in expect" ; \
39804 (cd $(HOST_SUBDIR)/expect && \
39805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39807 "RANLIB=$${RANLIB}" \
39808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39809 install-info) \
39810 || exit 1
39812 @endif expect
39814 .PHONY: maybe-install-pdf-expect install-pdf-expect
39815 maybe-install-pdf-expect:
39816 @if expect
39817 maybe-install-pdf-expect: install-pdf-expect
39819 install-pdf-expect: \
39820 configure-expect \
39821 pdf-expect
39822 @: $(MAKE); $(unstage)
39823 @[ -f ./expect/Makefile ] || exit 0; \
39824 r=`${PWD_COMMAND}`; export r; \
39825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39826 $(HOST_EXPORTS) \
39827 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39829 done; \
39830 echo "Doing install-pdf in expect" ; \
39831 (cd $(HOST_SUBDIR)/expect && \
39832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39834 "RANLIB=$${RANLIB}" \
39835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39836 install-pdf) \
39837 || exit 1
39839 @endif expect
39841 .PHONY: maybe-install-html-expect install-html-expect
39842 maybe-install-html-expect:
39843 @if expect
39844 maybe-install-html-expect: install-html-expect
39846 install-html-expect: \
39847 configure-expect \
39848 html-expect
39849 @: $(MAKE); $(unstage)
39850 @[ -f ./expect/Makefile ] || exit 0; \
39851 r=`${PWD_COMMAND}`; export r; \
39852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39853 $(HOST_EXPORTS) \
39854 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39856 done; \
39857 echo "Doing install-html in expect" ; \
39858 (cd $(HOST_SUBDIR)/expect && \
39859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39861 "RANLIB=$${RANLIB}" \
39862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39863 install-html) \
39864 || exit 1
39866 @endif expect
39868 .PHONY: maybe-installcheck-expect installcheck-expect
39869 maybe-installcheck-expect:
39870 @if expect
39871 maybe-installcheck-expect: installcheck-expect
39873 installcheck-expect: \
39874 configure-expect
39875 @: $(MAKE); $(unstage)
39876 @[ -f ./expect/Makefile ] || exit 0; \
39877 r=`${PWD_COMMAND}`; export r; \
39878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39879 $(HOST_EXPORTS) \
39880 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39882 done; \
39883 echo "Doing installcheck in expect" ; \
39884 (cd $(HOST_SUBDIR)/expect && \
39885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39887 "RANLIB=$${RANLIB}" \
39888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39889 installcheck) \
39890 || exit 1
39892 @endif expect
39894 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
39895 maybe-mostlyclean-expect:
39896 @if expect
39897 maybe-mostlyclean-expect: mostlyclean-expect
39899 mostlyclean-expect:
39900 @: $(MAKE); $(unstage)
39901 @[ -f ./expect/Makefile ] || exit 0; \
39902 r=`${PWD_COMMAND}`; export r; \
39903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39904 $(HOST_EXPORTS) \
39905 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39907 done; \
39908 echo "Doing mostlyclean in expect" ; \
39909 (cd $(HOST_SUBDIR)/expect && \
39910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39912 "RANLIB=$${RANLIB}" \
39913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39914 mostlyclean) \
39915 || exit 1
39917 @endif expect
39919 .PHONY: maybe-clean-expect clean-expect
39920 maybe-clean-expect:
39921 @if expect
39922 maybe-clean-expect: clean-expect
39924 clean-expect:
39925 @: $(MAKE); $(unstage)
39926 @[ -f ./expect/Makefile ] || exit 0; \
39927 r=`${PWD_COMMAND}`; export r; \
39928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39929 $(HOST_EXPORTS) \
39930 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39932 done; \
39933 echo "Doing clean in expect" ; \
39934 (cd $(HOST_SUBDIR)/expect && \
39935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39937 "RANLIB=$${RANLIB}" \
39938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39939 clean) \
39940 || exit 1
39942 @endif expect
39944 .PHONY: maybe-distclean-expect distclean-expect
39945 maybe-distclean-expect:
39946 @if expect
39947 maybe-distclean-expect: distclean-expect
39949 distclean-expect:
39950 @: $(MAKE); $(unstage)
39951 @[ -f ./expect/Makefile ] || exit 0; \
39952 r=`${PWD_COMMAND}`; export r; \
39953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39954 $(HOST_EXPORTS) \
39955 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39957 done; \
39958 echo "Doing distclean in expect" ; \
39959 (cd $(HOST_SUBDIR)/expect && \
39960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39962 "RANLIB=$${RANLIB}" \
39963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39964 distclean) \
39965 || exit 1
39967 @endif expect
39969 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
39970 maybe-maintainer-clean-expect:
39971 @if expect
39972 maybe-maintainer-clean-expect: maintainer-clean-expect
39974 maintainer-clean-expect:
39975 @: $(MAKE); $(unstage)
39976 @[ -f ./expect/Makefile ] || exit 0; \
39977 r=`${PWD_COMMAND}`; export r; \
39978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39979 $(HOST_EXPORTS) \
39980 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39982 done; \
39983 echo "Doing maintainer-clean in expect" ; \
39984 (cd $(HOST_SUBDIR)/expect && \
39985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39987 "RANLIB=$${RANLIB}" \
39988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39989 maintainer-clean) \
39990 || exit 1
39992 @endif expect
39996 .PHONY: configure-guile maybe-configure-guile
39997 maybe-configure-guile:
39998 @if gcc-bootstrap
39999 configure-guile: stage_current
40000 @endif gcc-bootstrap
40001 @if guile
40002 maybe-configure-guile: configure-guile
40003 configure-guile:
40004 @: $(MAKE); $(unstage)
40005 @r=`${PWD_COMMAND}`; export r; \
40006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40007 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
40008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
40009 $(HOST_EXPORTS) \
40010 echo Configuring in $(HOST_SUBDIR)/guile; \
40011 cd "$(HOST_SUBDIR)/guile" || exit 1; \
40012 case $(srcdir) in \
40013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40014 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
40015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40016 esac; \
40017 srcdiroption="--srcdir=$${topdir}/guile"; \
40018 libsrcdir="$$s/guile"; \
40019 $(SHELL) $${libsrcdir}/configure \
40020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40021 --target=${target_alias} $${srcdiroption} \
40022 || exit 1
40023 @endif guile
40029 .PHONY: all-guile maybe-all-guile
40030 maybe-all-guile:
40031 @if gcc-bootstrap
40032 all-guile: stage_current
40033 @endif gcc-bootstrap
40034 @if guile
40035 TARGET-guile=all
40036 maybe-all-guile: all-guile
40037 all-guile: configure-guile
40038 @: $(MAKE); $(unstage)
40039 @r=`${PWD_COMMAND}`; export r; \
40040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40041 $(HOST_EXPORTS) \
40042 (cd $(HOST_SUBDIR)/guile && \
40043 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
40044 $(TARGET-guile))
40045 @endif guile
40050 .PHONY: check-guile maybe-check-guile
40051 maybe-check-guile:
40052 @if guile
40053 maybe-check-guile: check-guile
40055 check-guile:
40056 @: $(MAKE); $(unstage)
40057 @r=`${PWD_COMMAND}`; export r; \
40058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40059 $(HOST_EXPORTS) \
40060 (cd $(HOST_SUBDIR)/guile && \
40061 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
40063 @endif guile
40065 .PHONY: install-guile maybe-install-guile
40066 maybe-install-guile:
40067 @if guile
40068 maybe-install-guile: install-guile
40070 install-guile: installdirs
40071 @: $(MAKE); $(unstage)
40072 @r=`${PWD_COMMAND}`; export r; \
40073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40074 $(HOST_EXPORTS) \
40075 (cd $(HOST_SUBDIR)/guile && \
40076 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
40078 @endif guile
40080 # Other targets (info, dvi, pdf, etc.)
40082 .PHONY: maybe-info-guile info-guile
40083 maybe-info-guile:
40084 @if guile
40085 maybe-info-guile: info-guile
40087 info-guile: \
40088 configure-guile
40089 @: $(MAKE); $(unstage)
40090 @[ -f ./guile/Makefile ] || exit 0; \
40091 r=`${PWD_COMMAND}`; export r; \
40092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40093 $(HOST_EXPORTS) \
40094 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40096 done; \
40097 echo "Doing info in guile" ; \
40098 (cd $(HOST_SUBDIR)/guile && \
40099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40101 "RANLIB=$${RANLIB}" \
40102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40103 info) \
40104 || exit 1
40106 @endif guile
40108 .PHONY: maybe-dvi-guile dvi-guile
40109 maybe-dvi-guile:
40110 @if guile
40111 maybe-dvi-guile: dvi-guile
40113 dvi-guile: \
40114 configure-guile
40115 @: $(MAKE); $(unstage)
40116 @[ -f ./guile/Makefile ] || exit 0; \
40117 r=`${PWD_COMMAND}`; export r; \
40118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40119 $(HOST_EXPORTS) \
40120 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40122 done; \
40123 echo "Doing dvi in guile" ; \
40124 (cd $(HOST_SUBDIR)/guile && \
40125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40127 "RANLIB=$${RANLIB}" \
40128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40129 dvi) \
40130 || exit 1
40132 @endif guile
40134 .PHONY: maybe-pdf-guile pdf-guile
40135 maybe-pdf-guile:
40136 @if guile
40137 maybe-pdf-guile: pdf-guile
40139 pdf-guile: \
40140 configure-guile
40141 @: $(MAKE); $(unstage)
40142 @[ -f ./guile/Makefile ] || exit 0; \
40143 r=`${PWD_COMMAND}`; export r; \
40144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40145 $(HOST_EXPORTS) \
40146 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40148 done; \
40149 echo "Doing pdf in guile" ; \
40150 (cd $(HOST_SUBDIR)/guile && \
40151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40153 "RANLIB=$${RANLIB}" \
40154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40155 pdf) \
40156 || exit 1
40158 @endif guile
40160 .PHONY: maybe-html-guile html-guile
40161 maybe-html-guile:
40162 @if guile
40163 maybe-html-guile: html-guile
40165 html-guile: \
40166 configure-guile
40167 @: $(MAKE); $(unstage)
40168 @[ -f ./guile/Makefile ] || exit 0; \
40169 r=`${PWD_COMMAND}`; export r; \
40170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40171 $(HOST_EXPORTS) \
40172 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40174 done; \
40175 echo "Doing html in guile" ; \
40176 (cd $(HOST_SUBDIR)/guile && \
40177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40179 "RANLIB=$${RANLIB}" \
40180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40181 html) \
40182 || exit 1
40184 @endif guile
40186 .PHONY: maybe-TAGS-guile TAGS-guile
40187 maybe-TAGS-guile:
40188 @if guile
40189 maybe-TAGS-guile: TAGS-guile
40191 TAGS-guile: \
40192 configure-guile
40193 @: $(MAKE); $(unstage)
40194 @[ -f ./guile/Makefile ] || exit 0; \
40195 r=`${PWD_COMMAND}`; export r; \
40196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40197 $(HOST_EXPORTS) \
40198 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40200 done; \
40201 echo "Doing TAGS in guile" ; \
40202 (cd $(HOST_SUBDIR)/guile && \
40203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40205 "RANLIB=$${RANLIB}" \
40206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40207 TAGS) \
40208 || exit 1
40210 @endif guile
40212 .PHONY: maybe-install-info-guile install-info-guile
40213 maybe-install-info-guile:
40214 @if guile
40215 maybe-install-info-guile: install-info-guile
40217 install-info-guile: \
40218 configure-guile \
40219 info-guile
40220 @: $(MAKE); $(unstage)
40221 @[ -f ./guile/Makefile ] || exit 0; \
40222 r=`${PWD_COMMAND}`; export r; \
40223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40224 $(HOST_EXPORTS) \
40225 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40227 done; \
40228 echo "Doing install-info in guile" ; \
40229 (cd $(HOST_SUBDIR)/guile && \
40230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40232 "RANLIB=$${RANLIB}" \
40233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40234 install-info) \
40235 || exit 1
40237 @endif guile
40239 .PHONY: maybe-install-pdf-guile install-pdf-guile
40240 maybe-install-pdf-guile:
40241 @if guile
40242 maybe-install-pdf-guile: install-pdf-guile
40244 install-pdf-guile: \
40245 configure-guile \
40246 pdf-guile
40247 @: $(MAKE); $(unstage)
40248 @[ -f ./guile/Makefile ] || exit 0; \
40249 r=`${PWD_COMMAND}`; export r; \
40250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40251 $(HOST_EXPORTS) \
40252 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40254 done; \
40255 echo "Doing install-pdf in guile" ; \
40256 (cd $(HOST_SUBDIR)/guile && \
40257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40259 "RANLIB=$${RANLIB}" \
40260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40261 install-pdf) \
40262 || exit 1
40264 @endif guile
40266 .PHONY: maybe-install-html-guile install-html-guile
40267 maybe-install-html-guile:
40268 @if guile
40269 maybe-install-html-guile: install-html-guile
40271 install-html-guile: \
40272 configure-guile \
40273 html-guile
40274 @: $(MAKE); $(unstage)
40275 @[ -f ./guile/Makefile ] || exit 0; \
40276 r=`${PWD_COMMAND}`; export r; \
40277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40278 $(HOST_EXPORTS) \
40279 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40281 done; \
40282 echo "Doing install-html in guile" ; \
40283 (cd $(HOST_SUBDIR)/guile && \
40284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40286 "RANLIB=$${RANLIB}" \
40287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40288 install-html) \
40289 || exit 1
40291 @endif guile
40293 .PHONY: maybe-installcheck-guile installcheck-guile
40294 maybe-installcheck-guile:
40295 @if guile
40296 maybe-installcheck-guile: installcheck-guile
40298 installcheck-guile: \
40299 configure-guile
40300 @: $(MAKE); $(unstage)
40301 @[ -f ./guile/Makefile ] || exit 0; \
40302 r=`${PWD_COMMAND}`; export r; \
40303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40304 $(HOST_EXPORTS) \
40305 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40307 done; \
40308 echo "Doing installcheck in guile" ; \
40309 (cd $(HOST_SUBDIR)/guile && \
40310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40312 "RANLIB=$${RANLIB}" \
40313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40314 installcheck) \
40315 || exit 1
40317 @endif guile
40319 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
40320 maybe-mostlyclean-guile:
40321 @if guile
40322 maybe-mostlyclean-guile: mostlyclean-guile
40324 mostlyclean-guile:
40325 @: $(MAKE); $(unstage)
40326 @[ -f ./guile/Makefile ] || exit 0; \
40327 r=`${PWD_COMMAND}`; export r; \
40328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40329 $(HOST_EXPORTS) \
40330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40332 done; \
40333 echo "Doing mostlyclean in guile" ; \
40334 (cd $(HOST_SUBDIR)/guile && \
40335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40337 "RANLIB=$${RANLIB}" \
40338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40339 mostlyclean) \
40340 || exit 1
40342 @endif guile
40344 .PHONY: maybe-clean-guile clean-guile
40345 maybe-clean-guile:
40346 @if guile
40347 maybe-clean-guile: clean-guile
40349 clean-guile:
40350 @: $(MAKE); $(unstage)
40351 @[ -f ./guile/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 clean in guile" ; \
40359 (cd $(HOST_SUBDIR)/guile && \
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 clean) \
40365 || exit 1
40367 @endif guile
40369 .PHONY: maybe-distclean-guile distclean-guile
40370 maybe-distclean-guile:
40371 @if guile
40372 maybe-distclean-guile: distclean-guile
40374 distclean-guile:
40375 @: $(MAKE); $(unstage)
40376 @[ -f ./guile/Makefile ] || exit 0; \
40377 r=`${PWD_COMMAND}`; export r; \
40378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40379 $(HOST_EXPORTS) \
40380 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40382 done; \
40383 echo "Doing distclean in guile" ; \
40384 (cd $(HOST_SUBDIR)/guile && \
40385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40387 "RANLIB=$${RANLIB}" \
40388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40389 distclean) \
40390 || exit 1
40392 @endif guile
40394 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
40395 maybe-maintainer-clean-guile:
40396 @if guile
40397 maybe-maintainer-clean-guile: maintainer-clean-guile
40399 maintainer-clean-guile:
40400 @: $(MAKE); $(unstage)
40401 @[ -f ./guile/Makefile ] || exit 0; \
40402 r=`${PWD_COMMAND}`; export r; \
40403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40404 $(HOST_EXPORTS) \
40405 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40407 done; \
40408 echo "Doing maintainer-clean in guile" ; \
40409 (cd $(HOST_SUBDIR)/guile && \
40410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40412 "RANLIB=$${RANLIB}" \
40413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40414 maintainer-clean) \
40415 || exit 1
40417 @endif guile
40421 .PHONY: configure-tk maybe-configure-tk
40422 maybe-configure-tk:
40423 @if gcc-bootstrap
40424 configure-tk: stage_current
40425 @endif gcc-bootstrap
40426 @if tk
40427 maybe-configure-tk: configure-tk
40428 configure-tk:
40429 @: $(MAKE); $(unstage)
40430 @r=`${PWD_COMMAND}`; export r; \
40431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40432 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
40433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
40434 $(HOST_EXPORTS) \
40435 echo Configuring in $(HOST_SUBDIR)/tk; \
40436 cd "$(HOST_SUBDIR)/tk" || exit 1; \
40437 case $(srcdir) in \
40438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40439 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
40440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40441 esac; \
40442 srcdiroption="--srcdir=$${topdir}/tk"; \
40443 libsrcdir="$$s/tk"; \
40444 $(SHELL) $${libsrcdir}/configure \
40445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40446 --target=${target_alias} $${srcdiroption} \
40447 || exit 1
40448 @endif tk
40454 .PHONY: all-tk maybe-all-tk
40455 maybe-all-tk:
40456 @if gcc-bootstrap
40457 all-tk: stage_current
40458 @endif gcc-bootstrap
40459 @if tk
40460 TARGET-tk=all
40461 maybe-all-tk: all-tk
40462 all-tk: configure-tk
40463 @: $(MAKE); $(unstage)
40464 @r=`${PWD_COMMAND}`; export r; \
40465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40466 $(HOST_EXPORTS) \
40467 (cd $(HOST_SUBDIR)/tk && \
40468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
40469 $(TARGET-tk))
40470 @endif tk
40475 .PHONY: check-tk maybe-check-tk
40476 maybe-check-tk:
40477 @if tk
40478 maybe-check-tk: check-tk
40480 check-tk:
40481 @: $(MAKE); $(unstage)
40482 @r=`${PWD_COMMAND}`; export r; \
40483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40484 $(HOST_EXPORTS) \
40485 (cd $(HOST_SUBDIR)/tk && \
40486 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
40488 @endif tk
40490 .PHONY: install-tk maybe-install-tk
40491 maybe-install-tk:
40492 @if tk
40493 maybe-install-tk: install-tk
40495 install-tk: installdirs
40496 @: $(MAKE); $(unstage)
40497 @r=`${PWD_COMMAND}`; export r; \
40498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40499 $(HOST_EXPORTS) \
40500 (cd $(HOST_SUBDIR)/tk && \
40501 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
40503 @endif tk
40505 # Other targets (info, dvi, pdf, etc.)
40507 .PHONY: maybe-info-tk info-tk
40508 maybe-info-tk:
40509 @if tk
40510 maybe-info-tk: info-tk
40512 info-tk: \
40513 configure-tk
40514 @: $(MAKE); $(unstage)
40515 @[ -f ./tk/Makefile ] || exit 0; \
40516 r=`${PWD_COMMAND}`; export r; \
40517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40518 $(HOST_EXPORTS) \
40519 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40521 done; \
40522 echo "Doing info in tk" ; \
40523 (cd $(HOST_SUBDIR)/tk && \
40524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40526 "RANLIB=$${RANLIB}" \
40527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40528 info) \
40529 || exit 1
40531 @endif tk
40533 .PHONY: maybe-dvi-tk dvi-tk
40534 maybe-dvi-tk:
40535 @if tk
40536 maybe-dvi-tk: dvi-tk
40538 dvi-tk: \
40539 configure-tk
40540 @: $(MAKE); $(unstage)
40541 @[ -f ./tk/Makefile ] || exit 0; \
40542 r=`${PWD_COMMAND}`; export r; \
40543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40544 $(HOST_EXPORTS) \
40545 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40547 done; \
40548 echo "Doing dvi in tk" ; \
40549 (cd $(HOST_SUBDIR)/tk && \
40550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40552 "RANLIB=$${RANLIB}" \
40553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40554 dvi) \
40555 || exit 1
40557 @endif tk
40559 .PHONY: maybe-pdf-tk pdf-tk
40560 maybe-pdf-tk:
40561 @if tk
40562 maybe-pdf-tk: pdf-tk
40564 pdf-tk: \
40565 configure-tk
40566 @: $(MAKE); $(unstage)
40567 @[ -f ./tk/Makefile ] || exit 0; \
40568 r=`${PWD_COMMAND}`; export r; \
40569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40570 $(HOST_EXPORTS) \
40571 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40573 done; \
40574 echo "Doing pdf in tk" ; \
40575 (cd $(HOST_SUBDIR)/tk && \
40576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40578 "RANLIB=$${RANLIB}" \
40579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40580 pdf) \
40581 || exit 1
40583 @endif tk
40585 .PHONY: maybe-html-tk html-tk
40586 maybe-html-tk:
40587 @if tk
40588 maybe-html-tk: html-tk
40590 html-tk: \
40591 configure-tk
40592 @: $(MAKE); $(unstage)
40593 @[ -f ./tk/Makefile ] || exit 0; \
40594 r=`${PWD_COMMAND}`; export r; \
40595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40596 $(HOST_EXPORTS) \
40597 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40599 done; \
40600 echo "Doing html in tk" ; \
40601 (cd $(HOST_SUBDIR)/tk && \
40602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40604 "RANLIB=$${RANLIB}" \
40605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40606 html) \
40607 || exit 1
40609 @endif tk
40611 .PHONY: maybe-TAGS-tk TAGS-tk
40612 maybe-TAGS-tk:
40613 @if tk
40614 maybe-TAGS-tk: TAGS-tk
40616 TAGS-tk: \
40617 configure-tk
40618 @: $(MAKE); $(unstage)
40619 @[ -f ./tk/Makefile ] || exit 0; \
40620 r=`${PWD_COMMAND}`; export r; \
40621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40622 $(HOST_EXPORTS) \
40623 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40625 done; \
40626 echo "Doing TAGS in tk" ; \
40627 (cd $(HOST_SUBDIR)/tk && \
40628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40630 "RANLIB=$${RANLIB}" \
40631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40632 TAGS) \
40633 || exit 1
40635 @endif tk
40637 .PHONY: maybe-install-info-tk install-info-tk
40638 maybe-install-info-tk:
40639 @if tk
40640 maybe-install-info-tk: install-info-tk
40642 install-info-tk: \
40643 configure-tk \
40644 info-tk
40645 @: $(MAKE); $(unstage)
40646 @[ -f ./tk/Makefile ] || exit 0; \
40647 r=`${PWD_COMMAND}`; export r; \
40648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40649 $(HOST_EXPORTS) \
40650 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40652 done; \
40653 echo "Doing install-info in tk" ; \
40654 (cd $(HOST_SUBDIR)/tk && \
40655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40657 "RANLIB=$${RANLIB}" \
40658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40659 install-info) \
40660 || exit 1
40662 @endif tk
40664 .PHONY: maybe-install-pdf-tk install-pdf-tk
40665 maybe-install-pdf-tk:
40666 @if tk
40667 maybe-install-pdf-tk: install-pdf-tk
40669 install-pdf-tk: \
40670 configure-tk \
40671 pdf-tk
40672 @: $(MAKE); $(unstage)
40673 @[ -f ./tk/Makefile ] || exit 0; \
40674 r=`${PWD_COMMAND}`; export r; \
40675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40676 $(HOST_EXPORTS) \
40677 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40679 done; \
40680 echo "Doing install-pdf in tk" ; \
40681 (cd $(HOST_SUBDIR)/tk && \
40682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40684 "RANLIB=$${RANLIB}" \
40685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40686 install-pdf) \
40687 || exit 1
40689 @endif tk
40691 .PHONY: maybe-install-html-tk install-html-tk
40692 maybe-install-html-tk:
40693 @if tk
40694 maybe-install-html-tk: install-html-tk
40696 install-html-tk: \
40697 configure-tk \
40698 html-tk
40699 @: $(MAKE); $(unstage)
40700 @[ -f ./tk/Makefile ] || exit 0; \
40701 r=`${PWD_COMMAND}`; export r; \
40702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40703 $(HOST_EXPORTS) \
40704 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40706 done; \
40707 echo "Doing install-html in tk" ; \
40708 (cd $(HOST_SUBDIR)/tk && \
40709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40711 "RANLIB=$${RANLIB}" \
40712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40713 install-html) \
40714 || exit 1
40716 @endif tk
40718 .PHONY: maybe-installcheck-tk installcheck-tk
40719 maybe-installcheck-tk:
40720 @if tk
40721 maybe-installcheck-tk: installcheck-tk
40723 installcheck-tk: \
40724 configure-tk
40725 @: $(MAKE); $(unstage)
40726 @[ -f ./tk/Makefile ] || exit 0; \
40727 r=`${PWD_COMMAND}`; export r; \
40728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40729 $(HOST_EXPORTS) \
40730 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40732 done; \
40733 echo "Doing installcheck in tk" ; \
40734 (cd $(HOST_SUBDIR)/tk && \
40735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40737 "RANLIB=$${RANLIB}" \
40738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40739 installcheck) \
40740 || exit 1
40742 @endif tk
40744 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
40745 maybe-mostlyclean-tk:
40746 @if tk
40747 maybe-mostlyclean-tk: mostlyclean-tk
40749 mostlyclean-tk:
40750 @: $(MAKE); $(unstage)
40751 @[ -f ./tk/Makefile ] || exit 0; \
40752 r=`${PWD_COMMAND}`; export r; \
40753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40754 $(HOST_EXPORTS) \
40755 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40757 done; \
40758 echo "Doing mostlyclean in tk" ; \
40759 (cd $(HOST_SUBDIR)/tk && \
40760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40762 "RANLIB=$${RANLIB}" \
40763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40764 mostlyclean) \
40765 || exit 1
40767 @endif tk
40769 .PHONY: maybe-clean-tk clean-tk
40770 maybe-clean-tk:
40771 @if tk
40772 maybe-clean-tk: clean-tk
40774 clean-tk:
40775 @: $(MAKE); $(unstage)
40776 @[ -f ./tk/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 clean in tk" ; \
40784 (cd $(HOST_SUBDIR)/tk && \
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 clean) \
40790 || exit 1
40792 @endif tk
40794 .PHONY: maybe-distclean-tk distclean-tk
40795 maybe-distclean-tk:
40796 @if tk
40797 maybe-distclean-tk: distclean-tk
40799 distclean-tk:
40800 @: $(MAKE); $(unstage)
40801 @[ -f ./tk/Makefile ] || exit 0; \
40802 r=`${PWD_COMMAND}`; export r; \
40803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40804 $(HOST_EXPORTS) \
40805 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40807 done; \
40808 echo "Doing distclean in tk" ; \
40809 (cd $(HOST_SUBDIR)/tk && \
40810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40812 "RANLIB=$${RANLIB}" \
40813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40814 distclean) \
40815 || exit 1
40817 @endif tk
40819 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
40820 maybe-maintainer-clean-tk:
40821 @if tk
40822 maybe-maintainer-clean-tk: maintainer-clean-tk
40824 maintainer-clean-tk:
40825 @: $(MAKE); $(unstage)
40826 @[ -f ./tk/Makefile ] || exit 0; \
40827 r=`${PWD_COMMAND}`; export r; \
40828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40829 $(HOST_EXPORTS) \
40830 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40832 done; \
40833 echo "Doing maintainer-clean in tk" ; \
40834 (cd $(HOST_SUBDIR)/tk && \
40835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40837 "RANLIB=$${RANLIB}" \
40838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40839 maintainer-clean) \
40840 || exit 1
40842 @endif tk
40846 .PHONY: configure-libtermcap maybe-configure-libtermcap
40847 maybe-configure-libtermcap:
40848 @if gcc-bootstrap
40849 configure-libtermcap: stage_current
40850 @endif gcc-bootstrap
40851 @if libtermcap
40852 maybe-configure-libtermcap: configure-libtermcap
40853 configure-libtermcap:
40854 @: $(MAKE); $(unstage)
40855 @r=`${PWD_COMMAND}`; export r; \
40856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40857 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
40858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
40859 $(HOST_EXPORTS) \
40860 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
40861 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
40862 case $(srcdir) in \
40863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40864 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
40865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40866 esac; \
40867 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
40868 libsrcdir="$$s/libtermcap"; \
40869 $(SHELL) $${libsrcdir}/configure \
40870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40871 --target=${target_alias} $${srcdiroption} \
40872 || exit 1
40873 @endif libtermcap
40879 .PHONY: all-libtermcap maybe-all-libtermcap
40880 maybe-all-libtermcap:
40881 @if gcc-bootstrap
40882 all-libtermcap: stage_current
40883 @endif gcc-bootstrap
40884 @if libtermcap
40885 TARGET-libtermcap=all
40886 maybe-all-libtermcap: all-libtermcap
40887 all-libtermcap: configure-libtermcap
40888 @: $(MAKE); $(unstage)
40889 @r=`${PWD_COMMAND}`; export r; \
40890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40891 $(HOST_EXPORTS) \
40892 (cd $(HOST_SUBDIR)/libtermcap && \
40893 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
40894 $(TARGET-libtermcap))
40895 @endif libtermcap
40900 .PHONY: check-libtermcap maybe-check-libtermcap
40901 maybe-check-libtermcap:
40902 @if libtermcap
40903 maybe-check-libtermcap: check-libtermcap
40905 check-libtermcap:
40907 @endif libtermcap
40909 .PHONY: install-libtermcap maybe-install-libtermcap
40910 maybe-install-libtermcap:
40911 @if libtermcap
40912 maybe-install-libtermcap: install-libtermcap
40914 install-libtermcap: installdirs
40915 @: $(MAKE); $(unstage)
40916 @r=`${PWD_COMMAND}`; export r; \
40917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40918 $(HOST_EXPORTS) \
40919 (cd $(HOST_SUBDIR)/libtermcap && \
40920 $(MAKE) $(FLAGS_TO_PASS) install)
40922 @endif libtermcap
40924 # Other targets (info, dvi, pdf, etc.)
40926 .PHONY: maybe-info-libtermcap info-libtermcap
40927 maybe-info-libtermcap:
40928 @if libtermcap
40929 maybe-info-libtermcap: info-libtermcap
40931 info-libtermcap: \
40932 configure-libtermcap
40933 @: $(MAKE); $(unstage)
40934 @[ -f ./libtermcap/Makefile ] || exit 0; \
40935 r=`${PWD_COMMAND}`; export r; \
40936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40937 $(HOST_EXPORTS) \
40938 for flag in $(EXTRA_HOST_FLAGS) ; do \
40939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40940 done; \
40941 echo "Doing info in libtermcap" ; \
40942 (cd $(HOST_SUBDIR)/libtermcap && \
40943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40945 "RANLIB=$${RANLIB}" \
40946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40947 info) \
40948 || exit 1
40950 @endif libtermcap
40952 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
40953 maybe-dvi-libtermcap:
40954 @if libtermcap
40955 maybe-dvi-libtermcap: dvi-libtermcap
40957 dvi-libtermcap: \
40958 configure-libtermcap
40959 @: $(MAKE); $(unstage)
40960 @[ -f ./libtermcap/Makefile ] || exit 0; \
40961 r=`${PWD_COMMAND}`; export r; \
40962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40963 $(HOST_EXPORTS) \
40964 for flag in $(EXTRA_HOST_FLAGS) ; do \
40965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40966 done; \
40967 echo "Doing dvi in libtermcap" ; \
40968 (cd $(HOST_SUBDIR)/libtermcap && \
40969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40971 "RANLIB=$${RANLIB}" \
40972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40973 dvi) \
40974 || exit 1
40976 @endif libtermcap
40978 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
40979 maybe-pdf-libtermcap:
40980 @if libtermcap
40981 maybe-pdf-libtermcap: pdf-libtermcap
40983 pdf-libtermcap: \
40984 configure-libtermcap
40985 @: $(MAKE); $(unstage)
40986 @[ -f ./libtermcap/Makefile ] || exit 0; \
40987 r=`${PWD_COMMAND}`; export r; \
40988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40989 $(HOST_EXPORTS) \
40990 for flag in $(EXTRA_HOST_FLAGS) ; do \
40991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40992 done; \
40993 echo "Doing pdf in libtermcap" ; \
40994 (cd $(HOST_SUBDIR)/libtermcap && \
40995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40997 "RANLIB=$${RANLIB}" \
40998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40999 pdf) \
41000 || exit 1
41002 @endif libtermcap
41004 .PHONY: maybe-html-libtermcap html-libtermcap
41005 maybe-html-libtermcap:
41006 @if libtermcap
41007 maybe-html-libtermcap: html-libtermcap
41009 html-libtermcap: \
41010 configure-libtermcap
41011 @: $(MAKE); $(unstage)
41012 @[ -f ./libtermcap/Makefile ] || exit 0; \
41013 r=`${PWD_COMMAND}`; export r; \
41014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41015 $(HOST_EXPORTS) \
41016 for flag in $(EXTRA_HOST_FLAGS) ; do \
41017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41018 done; \
41019 echo "Doing html in libtermcap" ; \
41020 (cd $(HOST_SUBDIR)/libtermcap && \
41021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41023 "RANLIB=$${RANLIB}" \
41024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41025 html) \
41026 || exit 1
41028 @endif libtermcap
41030 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
41031 maybe-TAGS-libtermcap:
41032 @if libtermcap
41033 maybe-TAGS-libtermcap: TAGS-libtermcap
41035 TAGS-libtermcap: \
41036 configure-libtermcap
41037 @: $(MAKE); $(unstage)
41038 @[ -f ./libtermcap/Makefile ] || exit 0; \
41039 r=`${PWD_COMMAND}`; export r; \
41040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41041 $(HOST_EXPORTS) \
41042 for flag in $(EXTRA_HOST_FLAGS) ; do \
41043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41044 done; \
41045 echo "Doing TAGS in libtermcap" ; \
41046 (cd $(HOST_SUBDIR)/libtermcap && \
41047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41049 "RANLIB=$${RANLIB}" \
41050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41051 TAGS) \
41052 || exit 1
41054 @endif libtermcap
41056 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
41057 maybe-install-info-libtermcap:
41058 @if libtermcap
41059 maybe-install-info-libtermcap: install-info-libtermcap
41061 install-info-libtermcap: \
41062 configure-libtermcap \
41063 info-libtermcap
41064 @: $(MAKE); $(unstage)
41065 @[ -f ./libtermcap/Makefile ] || exit 0; \
41066 r=`${PWD_COMMAND}`; export r; \
41067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41068 $(HOST_EXPORTS) \
41069 for flag in $(EXTRA_HOST_FLAGS) ; do \
41070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41071 done; \
41072 echo "Doing install-info in libtermcap" ; \
41073 (cd $(HOST_SUBDIR)/libtermcap && \
41074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41076 "RANLIB=$${RANLIB}" \
41077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41078 install-info) \
41079 || exit 1
41081 @endif libtermcap
41083 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
41084 maybe-install-pdf-libtermcap:
41085 @if libtermcap
41086 maybe-install-pdf-libtermcap: install-pdf-libtermcap
41088 install-pdf-libtermcap: \
41089 configure-libtermcap \
41090 pdf-libtermcap
41091 @: $(MAKE); $(unstage)
41092 @[ -f ./libtermcap/Makefile ] || exit 0; \
41093 r=`${PWD_COMMAND}`; export r; \
41094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41095 $(HOST_EXPORTS) \
41096 for flag in $(EXTRA_HOST_FLAGS) ; do \
41097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41098 done; \
41099 echo "Doing install-pdf in libtermcap" ; \
41100 (cd $(HOST_SUBDIR)/libtermcap && \
41101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41103 "RANLIB=$${RANLIB}" \
41104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41105 install-pdf) \
41106 || exit 1
41108 @endif libtermcap
41110 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
41111 maybe-install-html-libtermcap:
41112 @if libtermcap
41113 maybe-install-html-libtermcap: install-html-libtermcap
41115 install-html-libtermcap: \
41116 configure-libtermcap \
41117 html-libtermcap
41118 @: $(MAKE); $(unstage)
41119 @[ -f ./libtermcap/Makefile ] || exit 0; \
41120 r=`${PWD_COMMAND}`; export r; \
41121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41122 $(HOST_EXPORTS) \
41123 for flag in $(EXTRA_HOST_FLAGS) ; do \
41124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41125 done; \
41126 echo "Doing install-html in libtermcap" ; \
41127 (cd $(HOST_SUBDIR)/libtermcap && \
41128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41130 "RANLIB=$${RANLIB}" \
41131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41132 install-html) \
41133 || exit 1
41135 @endif libtermcap
41137 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
41138 maybe-installcheck-libtermcap:
41139 @if libtermcap
41140 maybe-installcheck-libtermcap: installcheck-libtermcap
41142 installcheck-libtermcap: \
41143 configure-libtermcap
41144 @: $(MAKE); $(unstage)
41145 @[ -f ./libtermcap/Makefile ] || exit 0; \
41146 r=`${PWD_COMMAND}`; export r; \
41147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41148 $(HOST_EXPORTS) \
41149 for flag in $(EXTRA_HOST_FLAGS) ; do \
41150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41151 done; \
41152 echo "Doing installcheck in libtermcap" ; \
41153 (cd $(HOST_SUBDIR)/libtermcap && \
41154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41156 "RANLIB=$${RANLIB}" \
41157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41158 installcheck) \
41159 || exit 1
41161 @endif libtermcap
41163 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
41164 maybe-mostlyclean-libtermcap:
41165 @if libtermcap
41166 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
41168 # libtermcap doesn't support mostlyclean.
41169 mostlyclean-libtermcap:
41171 @endif libtermcap
41173 .PHONY: maybe-clean-libtermcap clean-libtermcap
41174 maybe-clean-libtermcap:
41175 @if libtermcap
41176 maybe-clean-libtermcap: clean-libtermcap
41178 # libtermcap doesn't support clean.
41179 clean-libtermcap:
41181 @endif libtermcap
41183 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
41184 maybe-distclean-libtermcap:
41185 @if libtermcap
41186 maybe-distclean-libtermcap: distclean-libtermcap
41188 # libtermcap doesn't support distclean.
41189 distclean-libtermcap:
41191 @endif libtermcap
41193 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
41194 maybe-maintainer-clean-libtermcap:
41195 @if libtermcap
41196 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
41198 # libtermcap doesn't support maintainer-clean.
41199 maintainer-clean-libtermcap:
41201 @endif libtermcap
41205 .PHONY: configure-utils maybe-configure-utils
41206 maybe-configure-utils:
41207 @if gcc-bootstrap
41208 configure-utils: stage_current
41209 @endif gcc-bootstrap
41210 @if utils
41211 maybe-configure-utils: configure-utils
41212 configure-utils:
41213 @: $(MAKE); $(unstage)
41214 @r=`${PWD_COMMAND}`; export r; \
41215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41216 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
41217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
41218 $(HOST_EXPORTS) \
41219 echo Configuring in $(HOST_SUBDIR)/utils; \
41220 cd "$(HOST_SUBDIR)/utils" || exit 1; \
41221 case $(srcdir) in \
41222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41223 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
41224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41225 esac; \
41226 srcdiroption="--srcdir=$${topdir}/utils"; \
41227 libsrcdir="$$s/utils"; \
41228 $(SHELL) $${libsrcdir}/configure \
41229 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41230 --target=${target_alias} $${srcdiroption} \
41231 || exit 1
41232 @endif utils
41238 .PHONY: all-utils maybe-all-utils
41239 maybe-all-utils:
41240 @if gcc-bootstrap
41241 all-utils: stage_current
41242 @endif gcc-bootstrap
41243 @if utils
41244 TARGET-utils=all
41245 maybe-all-utils: all-utils
41246 all-utils: configure-utils
41247 @: $(MAKE); $(unstage)
41248 @r=`${PWD_COMMAND}`; export r; \
41249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41250 $(HOST_EXPORTS) \
41251 (cd $(HOST_SUBDIR)/utils && \
41252 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
41253 $(TARGET-utils))
41254 @endif utils
41259 .PHONY: check-utils maybe-check-utils
41260 maybe-check-utils:
41261 @if utils
41262 maybe-check-utils: check-utils
41264 check-utils:
41266 @endif utils
41268 .PHONY: install-utils maybe-install-utils
41269 maybe-install-utils:
41270 @if utils
41271 maybe-install-utils: install-utils
41273 install-utils: installdirs
41274 @: $(MAKE); $(unstage)
41275 @r=`${PWD_COMMAND}`; export r; \
41276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41277 $(HOST_EXPORTS) \
41278 (cd $(HOST_SUBDIR)/utils && \
41279 $(MAKE) $(FLAGS_TO_PASS) install)
41281 @endif utils
41283 # Other targets (info, dvi, pdf, etc.)
41285 .PHONY: maybe-info-utils info-utils
41286 maybe-info-utils:
41287 @if utils
41288 maybe-info-utils: info-utils
41290 info-utils: \
41291 configure-utils
41292 @: $(MAKE); $(unstage)
41293 @[ -f ./utils/Makefile ] || exit 0; \
41294 r=`${PWD_COMMAND}`; export r; \
41295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41296 $(HOST_EXPORTS) \
41297 for flag in $(EXTRA_HOST_FLAGS) ; do \
41298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41299 done; \
41300 echo "Doing info in utils" ; \
41301 (cd $(HOST_SUBDIR)/utils && \
41302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41304 "RANLIB=$${RANLIB}" \
41305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41306 info) \
41307 || exit 1
41309 @endif utils
41311 .PHONY: maybe-dvi-utils dvi-utils
41312 maybe-dvi-utils:
41313 @if utils
41314 maybe-dvi-utils: dvi-utils
41316 dvi-utils: \
41317 configure-utils
41318 @: $(MAKE); $(unstage)
41319 @[ -f ./utils/Makefile ] || exit 0; \
41320 r=`${PWD_COMMAND}`; export r; \
41321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41322 $(HOST_EXPORTS) \
41323 for flag in $(EXTRA_HOST_FLAGS) ; do \
41324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41325 done; \
41326 echo "Doing dvi in utils" ; \
41327 (cd $(HOST_SUBDIR)/utils && \
41328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41330 "RANLIB=$${RANLIB}" \
41331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41332 dvi) \
41333 || exit 1
41335 @endif utils
41337 .PHONY: maybe-pdf-utils pdf-utils
41338 maybe-pdf-utils:
41339 @if utils
41340 maybe-pdf-utils: pdf-utils
41342 pdf-utils: \
41343 configure-utils
41344 @: $(MAKE); $(unstage)
41345 @[ -f ./utils/Makefile ] || exit 0; \
41346 r=`${PWD_COMMAND}`; export r; \
41347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41348 $(HOST_EXPORTS) \
41349 for flag in $(EXTRA_HOST_FLAGS) ; do \
41350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41351 done; \
41352 echo "Doing pdf in utils" ; \
41353 (cd $(HOST_SUBDIR)/utils && \
41354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41356 "RANLIB=$${RANLIB}" \
41357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41358 pdf) \
41359 || exit 1
41361 @endif utils
41363 .PHONY: maybe-html-utils html-utils
41364 maybe-html-utils:
41365 @if utils
41366 maybe-html-utils: html-utils
41368 html-utils: \
41369 configure-utils
41370 @: $(MAKE); $(unstage)
41371 @[ -f ./utils/Makefile ] || exit 0; \
41372 r=`${PWD_COMMAND}`; export r; \
41373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41374 $(HOST_EXPORTS) \
41375 for flag in $(EXTRA_HOST_FLAGS) ; do \
41376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41377 done; \
41378 echo "Doing html in utils" ; \
41379 (cd $(HOST_SUBDIR)/utils && \
41380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41382 "RANLIB=$${RANLIB}" \
41383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41384 html) \
41385 || exit 1
41387 @endif utils
41389 .PHONY: maybe-TAGS-utils TAGS-utils
41390 maybe-TAGS-utils:
41391 @if utils
41392 maybe-TAGS-utils: TAGS-utils
41394 TAGS-utils: \
41395 configure-utils
41396 @: $(MAKE); $(unstage)
41397 @[ -f ./utils/Makefile ] || exit 0; \
41398 r=`${PWD_COMMAND}`; export r; \
41399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41400 $(HOST_EXPORTS) \
41401 for flag in $(EXTRA_HOST_FLAGS) ; do \
41402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41403 done; \
41404 echo "Doing TAGS in utils" ; \
41405 (cd $(HOST_SUBDIR)/utils && \
41406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41408 "RANLIB=$${RANLIB}" \
41409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41410 TAGS) \
41411 || exit 1
41413 @endif utils
41415 .PHONY: maybe-install-info-utils install-info-utils
41416 maybe-install-info-utils:
41417 @if utils
41418 maybe-install-info-utils: install-info-utils
41420 install-info-utils: \
41421 configure-utils \
41422 info-utils
41423 @: $(MAKE); $(unstage)
41424 @[ -f ./utils/Makefile ] || exit 0; \
41425 r=`${PWD_COMMAND}`; export r; \
41426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41427 $(HOST_EXPORTS) \
41428 for flag in $(EXTRA_HOST_FLAGS) ; do \
41429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41430 done; \
41431 echo "Doing install-info in utils" ; \
41432 (cd $(HOST_SUBDIR)/utils && \
41433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41435 "RANLIB=$${RANLIB}" \
41436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41437 install-info) \
41438 || exit 1
41440 @endif utils
41442 .PHONY: maybe-install-pdf-utils install-pdf-utils
41443 maybe-install-pdf-utils:
41444 @if utils
41445 maybe-install-pdf-utils: install-pdf-utils
41447 install-pdf-utils: \
41448 configure-utils \
41449 pdf-utils
41450 @: $(MAKE); $(unstage)
41451 @[ -f ./utils/Makefile ] || exit 0; \
41452 r=`${PWD_COMMAND}`; export r; \
41453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41454 $(HOST_EXPORTS) \
41455 for flag in $(EXTRA_HOST_FLAGS) ; do \
41456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41457 done; \
41458 echo "Doing install-pdf in utils" ; \
41459 (cd $(HOST_SUBDIR)/utils && \
41460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41462 "RANLIB=$${RANLIB}" \
41463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41464 install-pdf) \
41465 || exit 1
41467 @endif utils
41469 .PHONY: maybe-install-html-utils install-html-utils
41470 maybe-install-html-utils:
41471 @if utils
41472 maybe-install-html-utils: install-html-utils
41474 install-html-utils: \
41475 configure-utils \
41476 html-utils
41477 @: $(MAKE); $(unstage)
41478 @[ -f ./utils/Makefile ] || exit 0; \
41479 r=`${PWD_COMMAND}`; export r; \
41480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41481 $(HOST_EXPORTS) \
41482 for flag in $(EXTRA_HOST_FLAGS) ; do \
41483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41484 done; \
41485 echo "Doing install-html in utils" ; \
41486 (cd $(HOST_SUBDIR)/utils && \
41487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41489 "RANLIB=$${RANLIB}" \
41490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41491 install-html) \
41492 || exit 1
41494 @endif utils
41496 .PHONY: maybe-installcheck-utils installcheck-utils
41497 maybe-installcheck-utils:
41498 @if utils
41499 maybe-installcheck-utils: installcheck-utils
41501 installcheck-utils: \
41502 configure-utils
41503 @: $(MAKE); $(unstage)
41504 @[ -f ./utils/Makefile ] || exit 0; \
41505 r=`${PWD_COMMAND}`; export r; \
41506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41507 $(HOST_EXPORTS) \
41508 for flag in $(EXTRA_HOST_FLAGS) ; do \
41509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41510 done; \
41511 echo "Doing installcheck in utils" ; \
41512 (cd $(HOST_SUBDIR)/utils && \
41513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41515 "RANLIB=$${RANLIB}" \
41516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41517 installcheck) \
41518 || exit 1
41520 @endif utils
41522 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
41523 maybe-mostlyclean-utils:
41524 @if utils
41525 maybe-mostlyclean-utils: mostlyclean-utils
41527 mostlyclean-utils:
41528 @: $(MAKE); $(unstage)
41529 @[ -f ./utils/Makefile ] || exit 0; \
41530 r=`${PWD_COMMAND}`; export r; \
41531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41532 $(HOST_EXPORTS) \
41533 for flag in $(EXTRA_HOST_FLAGS) ; do \
41534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41535 done; \
41536 echo "Doing mostlyclean in utils" ; \
41537 (cd $(HOST_SUBDIR)/utils && \
41538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41540 "RANLIB=$${RANLIB}" \
41541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41542 mostlyclean) \
41543 || exit 1
41545 @endif utils
41547 .PHONY: maybe-clean-utils clean-utils
41548 maybe-clean-utils:
41549 @if utils
41550 maybe-clean-utils: clean-utils
41552 clean-utils:
41553 @: $(MAKE); $(unstage)
41554 @[ -f ./utils/Makefile ] || exit 0; \
41555 r=`${PWD_COMMAND}`; export r; \
41556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41557 $(HOST_EXPORTS) \
41558 for flag in $(EXTRA_HOST_FLAGS) ; do \
41559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41560 done; \
41561 echo "Doing clean in utils" ; \
41562 (cd $(HOST_SUBDIR)/utils && \
41563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41565 "RANLIB=$${RANLIB}" \
41566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41567 clean) \
41568 || exit 1
41570 @endif utils
41572 .PHONY: maybe-distclean-utils distclean-utils
41573 maybe-distclean-utils:
41574 @if utils
41575 maybe-distclean-utils: distclean-utils
41577 distclean-utils:
41578 @: $(MAKE); $(unstage)
41579 @[ -f ./utils/Makefile ] || exit 0; \
41580 r=`${PWD_COMMAND}`; export r; \
41581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41582 $(HOST_EXPORTS) \
41583 for flag in $(EXTRA_HOST_FLAGS) ; do \
41584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41585 done; \
41586 echo "Doing distclean in utils" ; \
41587 (cd $(HOST_SUBDIR)/utils && \
41588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41590 "RANLIB=$${RANLIB}" \
41591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41592 distclean) \
41593 || exit 1
41595 @endif utils
41597 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
41598 maybe-maintainer-clean-utils:
41599 @if utils
41600 maybe-maintainer-clean-utils: maintainer-clean-utils
41602 maintainer-clean-utils:
41603 @: $(MAKE); $(unstage)
41604 @[ -f ./utils/Makefile ] || exit 0; \
41605 r=`${PWD_COMMAND}`; export r; \
41606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41607 $(HOST_EXPORTS) \
41608 for flag in $(EXTRA_HOST_FLAGS) ; do \
41609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41610 done; \
41611 echo "Doing maintainer-clean in utils" ; \
41612 (cd $(HOST_SUBDIR)/utils && \
41613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41615 "RANLIB=$${RANLIB}" \
41616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41617 maintainer-clean) \
41618 || exit 1
41620 @endif utils
41624 .PHONY: configure-gnattools maybe-configure-gnattools
41625 maybe-configure-gnattools:
41626 @if gcc-bootstrap
41627 configure-gnattools: stage_current
41628 @endif gcc-bootstrap
41629 @if gnattools
41630 maybe-configure-gnattools: configure-gnattools
41631 configure-gnattools:
41632 @: $(MAKE); $(unstage)
41633 @r=`${PWD_COMMAND}`; export r; \
41634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41635 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
41636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
41637 $(HOST_EXPORTS) \
41638 echo Configuring in $(HOST_SUBDIR)/gnattools; \
41639 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
41640 case $(srcdir) in \
41641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41642 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
41643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41644 esac; \
41645 srcdiroption="--srcdir=$${topdir}/gnattools"; \
41646 libsrcdir="$$s/gnattools"; \
41647 $(SHELL) $${libsrcdir}/configure \
41648 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41649 --target=${target_alias} $${srcdiroption} \
41650 || exit 1
41651 @endif gnattools
41657 .PHONY: all-gnattools maybe-all-gnattools
41658 maybe-all-gnattools:
41659 @if gcc-bootstrap
41660 all-gnattools: stage_current
41661 @endif gcc-bootstrap
41662 @if gnattools
41663 TARGET-gnattools=all
41664 maybe-all-gnattools: all-gnattools
41665 all-gnattools: configure-gnattools
41666 @: $(MAKE); $(unstage)
41667 @r=`${PWD_COMMAND}`; export r; \
41668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41669 $(HOST_EXPORTS) \
41670 (cd $(HOST_SUBDIR)/gnattools && \
41671 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
41672 $(TARGET-gnattools))
41673 @endif gnattools
41678 .PHONY: check-gnattools maybe-check-gnattools
41679 maybe-check-gnattools:
41680 @if gnattools
41681 maybe-check-gnattools: check-gnattools
41683 check-gnattools:
41684 @: $(MAKE); $(unstage)
41685 @r=`${PWD_COMMAND}`; export r; \
41686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41687 $(HOST_EXPORTS) \
41688 (cd $(HOST_SUBDIR)/gnattools && \
41689 $(MAKE) $(FLAGS_TO_PASS) check)
41691 @endif gnattools
41693 .PHONY: install-gnattools maybe-install-gnattools
41694 maybe-install-gnattools:
41695 @if gnattools
41696 maybe-install-gnattools: install-gnattools
41698 install-gnattools: installdirs
41699 @: $(MAKE); $(unstage)
41700 @r=`${PWD_COMMAND}`; export r; \
41701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41702 $(HOST_EXPORTS) \
41703 (cd $(HOST_SUBDIR)/gnattools && \
41704 $(MAKE) $(FLAGS_TO_PASS) install)
41706 @endif gnattools
41708 # Other targets (info, dvi, pdf, etc.)
41710 .PHONY: maybe-info-gnattools info-gnattools
41711 maybe-info-gnattools:
41712 @if gnattools
41713 maybe-info-gnattools: info-gnattools
41715 info-gnattools: \
41716 configure-gnattools
41717 @: $(MAKE); $(unstage)
41718 @[ -f ./gnattools/Makefile ] || exit 0; \
41719 r=`${PWD_COMMAND}`; export r; \
41720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41721 $(HOST_EXPORTS) \
41722 for flag in $(EXTRA_HOST_FLAGS) ; do \
41723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41724 done; \
41725 echo "Doing info in gnattools" ; \
41726 (cd $(HOST_SUBDIR)/gnattools && \
41727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41729 "RANLIB=$${RANLIB}" \
41730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41731 info) \
41732 || exit 1
41734 @endif gnattools
41736 .PHONY: maybe-dvi-gnattools dvi-gnattools
41737 maybe-dvi-gnattools:
41738 @if gnattools
41739 maybe-dvi-gnattools: dvi-gnattools
41741 dvi-gnattools: \
41742 configure-gnattools
41743 @: $(MAKE); $(unstage)
41744 @[ -f ./gnattools/Makefile ] || exit 0; \
41745 r=`${PWD_COMMAND}`; export r; \
41746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41747 $(HOST_EXPORTS) \
41748 for flag in $(EXTRA_HOST_FLAGS) ; do \
41749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41750 done; \
41751 echo "Doing dvi in gnattools" ; \
41752 (cd $(HOST_SUBDIR)/gnattools && \
41753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41755 "RANLIB=$${RANLIB}" \
41756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41757 dvi) \
41758 || exit 1
41760 @endif gnattools
41762 .PHONY: maybe-pdf-gnattools pdf-gnattools
41763 maybe-pdf-gnattools:
41764 @if gnattools
41765 maybe-pdf-gnattools: pdf-gnattools
41767 pdf-gnattools: \
41768 configure-gnattools
41769 @: $(MAKE); $(unstage)
41770 @[ -f ./gnattools/Makefile ] || exit 0; \
41771 r=`${PWD_COMMAND}`; export r; \
41772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41773 $(HOST_EXPORTS) \
41774 for flag in $(EXTRA_HOST_FLAGS) ; do \
41775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41776 done; \
41777 echo "Doing pdf in gnattools" ; \
41778 (cd $(HOST_SUBDIR)/gnattools && \
41779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41781 "RANLIB=$${RANLIB}" \
41782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41783 pdf) \
41784 || exit 1
41786 @endif gnattools
41788 .PHONY: maybe-html-gnattools html-gnattools
41789 maybe-html-gnattools:
41790 @if gnattools
41791 maybe-html-gnattools: html-gnattools
41793 html-gnattools: \
41794 configure-gnattools
41795 @: $(MAKE); $(unstage)
41796 @[ -f ./gnattools/Makefile ] || exit 0; \
41797 r=`${PWD_COMMAND}`; export r; \
41798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41799 $(HOST_EXPORTS) \
41800 for flag in $(EXTRA_HOST_FLAGS) ; do \
41801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41802 done; \
41803 echo "Doing html in gnattools" ; \
41804 (cd $(HOST_SUBDIR)/gnattools && \
41805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41807 "RANLIB=$${RANLIB}" \
41808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41809 html) \
41810 || exit 1
41812 @endif gnattools
41814 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
41815 maybe-TAGS-gnattools:
41816 @if gnattools
41817 maybe-TAGS-gnattools: TAGS-gnattools
41819 TAGS-gnattools: \
41820 configure-gnattools
41821 @: $(MAKE); $(unstage)
41822 @[ -f ./gnattools/Makefile ] || exit 0; \
41823 r=`${PWD_COMMAND}`; export r; \
41824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41825 $(HOST_EXPORTS) \
41826 for flag in $(EXTRA_HOST_FLAGS) ; do \
41827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41828 done; \
41829 echo "Doing TAGS in gnattools" ; \
41830 (cd $(HOST_SUBDIR)/gnattools && \
41831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41833 "RANLIB=$${RANLIB}" \
41834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41835 TAGS) \
41836 || exit 1
41838 @endif gnattools
41840 .PHONY: maybe-install-info-gnattools install-info-gnattools
41841 maybe-install-info-gnattools:
41842 @if gnattools
41843 maybe-install-info-gnattools: install-info-gnattools
41845 install-info-gnattools: \
41846 configure-gnattools \
41847 info-gnattools
41848 @: $(MAKE); $(unstage)
41849 @[ -f ./gnattools/Makefile ] || exit 0; \
41850 r=`${PWD_COMMAND}`; export r; \
41851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41852 $(HOST_EXPORTS) \
41853 for flag in $(EXTRA_HOST_FLAGS) ; do \
41854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41855 done; \
41856 echo "Doing install-info in gnattools" ; \
41857 (cd $(HOST_SUBDIR)/gnattools && \
41858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41860 "RANLIB=$${RANLIB}" \
41861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41862 install-info) \
41863 || exit 1
41865 @endif gnattools
41867 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
41868 maybe-install-pdf-gnattools:
41869 @if gnattools
41870 maybe-install-pdf-gnattools: install-pdf-gnattools
41872 install-pdf-gnattools: \
41873 configure-gnattools \
41874 pdf-gnattools
41875 @: $(MAKE); $(unstage)
41876 @[ -f ./gnattools/Makefile ] || exit 0; \
41877 r=`${PWD_COMMAND}`; export r; \
41878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41879 $(HOST_EXPORTS) \
41880 for flag in $(EXTRA_HOST_FLAGS) ; do \
41881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41882 done; \
41883 echo "Doing install-pdf in gnattools" ; \
41884 (cd $(HOST_SUBDIR)/gnattools && \
41885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41887 "RANLIB=$${RANLIB}" \
41888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41889 install-pdf) \
41890 || exit 1
41892 @endif gnattools
41894 .PHONY: maybe-install-html-gnattools install-html-gnattools
41895 maybe-install-html-gnattools:
41896 @if gnattools
41897 maybe-install-html-gnattools: install-html-gnattools
41899 install-html-gnattools: \
41900 configure-gnattools \
41901 html-gnattools
41902 @: $(MAKE); $(unstage)
41903 @[ -f ./gnattools/Makefile ] || exit 0; \
41904 r=`${PWD_COMMAND}`; export r; \
41905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41906 $(HOST_EXPORTS) \
41907 for flag in $(EXTRA_HOST_FLAGS) ; do \
41908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41909 done; \
41910 echo "Doing install-html in gnattools" ; \
41911 (cd $(HOST_SUBDIR)/gnattools && \
41912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41914 "RANLIB=$${RANLIB}" \
41915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41916 install-html) \
41917 || exit 1
41919 @endif gnattools
41921 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
41922 maybe-installcheck-gnattools:
41923 @if gnattools
41924 maybe-installcheck-gnattools: installcheck-gnattools
41926 installcheck-gnattools: \
41927 configure-gnattools
41928 @: $(MAKE); $(unstage)
41929 @[ -f ./gnattools/Makefile ] || exit 0; \
41930 r=`${PWD_COMMAND}`; export r; \
41931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41932 $(HOST_EXPORTS) \
41933 for flag in $(EXTRA_HOST_FLAGS) ; do \
41934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41935 done; \
41936 echo "Doing installcheck in gnattools" ; \
41937 (cd $(HOST_SUBDIR)/gnattools && \
41938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41940 "RANLIB=$${RANLIB}" \
41941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41942 installcheck) \
41943 || exit 1
41945 @endif gnattools
41947 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
41948 maybe-mostlyclean-gnattools:
41949 @if gnattools
41950 maybe-mostlyclean-gnattools: mostlyclean-gnattools
41952 mostlyclean-gnattools:
41953 @: $(MAKE); $(unstage)
41954 @[ -f ./gnattools/Makefile ] || exit 0; \
41955 r=`${PWD_COMMAND}`; export r; \
41956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41957 $(HOST_EXPORTS) \
41958 for flag in $(EXTRA_HOST_FLAGS) ; do \
41959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41960 done; \
41961 echo "Doing mostlyclean in gnattools" ; \
41962 (cd $(HOST_SUBDIR)/gnattools && \
41963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41965 "RANLIB=$${RANLIB}" \
41966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41967 mostlyclean) \
41968 || exit 1
41970 @endif gnattools
41972 .PHONY: maybe-clean-gnattools clean-gnattools
41973 maybe-clean-gnattools:
41974 @if gnattools
41975 maybe-clean-gnattools: clean-gnattools
41977 clean-gnattools:
41978 @: $(MAKE); $(unstage)
41979 @[ -f ./gnattools/Makefile ] || exit 0; \
41980 r=`${PWD_COMMAND}`; export r; \
41981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41982 $(HOST_EXPORTS) \
41983 for flag in $(EXTRA_HOST_FLAGS) ; do \
41984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41985 done; \
41986 echo "Doing clean in gnattools" ; \
41987 (cd $(HOST_SUBDIR)/gnattools && \
41988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41990 "RANLIB=$${RANLIB}" \
41991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41992 clean) \
41993 || exit 1
41995 @endif gnattools
41997 .PHONY: maybe-distclean-gnattools distclean-gnattools
41998 maybe-distclean-gnattools:
41999 @if gnattools
42000 maybe-distclean-gnattools: distclean-gnattools
42002 distclean-gnattools:
42003 @: $(MAKE); $(unstage)
42004 @[ -f ./gnattools/Makefile ] || exit 0; \
42005 r=`${PWD_COMMAND}`; export r; \
42006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42007 $(HOST_EXPORTS) \
42008 for flag in $(EXTRA_HOST_FLAGS) ; do \
42009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42010 done; \
42011 echo "Doing distclean in gnattools" ; \
42012 (cd $(HOST_SUBDIR)/gnattools && \
42013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42015 "RANLIB=$${RANLIB}" \
42016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42017 distclean) \
42018 || exit 1
42020 @endif gnattools
42022 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
42023 maybe-maintainer-clean-gnattools:
42024 @if gnattools
42025 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
42027 maintainer-clean-gnattools:
42028 @: $(MAKE); $(unstage)
42029 @[ -f ./gnattools/Makefile ] || exit 0; \
42030 r=`${PWD_COMMAND}`; export r; \
42031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42032 $(HOST_EXPORTS) \
42033 for flag in $(EXTRA_HOST_FLAGS) ; do \
42034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42035 done; \
42036 echo "Doing maintainer-clean in gnattools" ; \
42037 (cd $(HOST_SUBDIR)/gnattools && \
42038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42040 "RANLIB=$${RANLIB}" \
42041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42042 maintainer-clean) \
42043 || exit 1
42045 @endif gnattools
42049 # ---------------------------------------
42050 # Modules which run on the target machine
42051 # ---------------------------------------
42056 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
42057 maybe-configure-target-libstdc++-v3:
42058 @if gcc-bootstrap
42059 configure-target-libstdc++-v3: stage_current
42060 @endif gcc-bootstrap
42061 @if target-libstdc++-v3
42062 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
42063 configure-target-libstdc++-v3:
42064 @: $(MAKE); $(unstage)
42065 @r=`${PWD_COMMAND}`; export r; \
42066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42067 echo "Checking multilib configuration for libstdc++-v3..."; \
42068 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
42069 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
42070 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
42071 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
42072 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
42073 else \
42074 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
42075 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
42076 fi; \
42077 else \
42078 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
42079 fi; \
42080 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
42081 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
42082 $(RAW_CXX_TARGET_EXPORTS) \
42083 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
42084 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
42085 case $(srcdir) in \
42086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42087 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
42088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42089 esac; \
42090 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
42091 libsrcdir="$$s/libstdc++-v3"; \
42092 rm -f no-such-file || : ; \
42093 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42094 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42095 --target=${target_alias} $${srcdiroption} \
42096 || exit 1
42097 @endif target-libstdc++-v3
42103 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
42104 maybe-all-target-libstdc++-v3:
42105 @if gcc-bootstrap
42106 all-target-libstdc++-v3: stage_current
42107 @endif gcc-bootstrap
42108 @if target-libstdc++-v3
42109 TARGET-target-libstdc++-v3=all
42110 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
42111 all-target-libstdc++-v3: configure-target-libstdc++-v3
42112 @: $(MAKE); $(unstage)
42113 @r=`${PWD_COMMAND}`; export r; \
42114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42115 $(RAW_CXX_TARGET_EXPORTS) \
42116 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42117 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42118 $(TARGET-target-libstdc++-v3))
42119 @endif target-libstdc++-v3
42125 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
42126 maybe-check-target-libstdc++-v3:
42127 @if target-libstdc++-v3
42128 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
42130 check-target-libstdc++-v3:
42131 @: $(MAKE); $(unstage)
42132 @r=`${PWD_COMMAND}`; export r; \
42133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42134 $(RAW_CXX_TARGET_EXPORTS) \
42135 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42136 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
42138 @endif target-libstdc++-v3
42140 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
42141 maybe-install-target-libstdc++-v3:
42142 @if target-libstdc++-v3
42143 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
42145 install-target-libstdc++-v3: installdirs
42146 @: $(MAKE); $(unstage)
42147 @r=`${PWD_COMMAND}`; export r; \
42148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42149 $(RAW_CXX_TARGET_EXPORTS) \
42150 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42151 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42153 @endif target-libstdc++-v3
42155 # Other targets (info, dvi, pdf, etc.)
42157 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
42158 maybe-info-target-libstdc++-v3:
42159 @if target-libstdc++-v3
42160 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
42162 info-target-libstdc++-v3: \
42163 configure-target-libstdc++-v3
42164 @: $(MAKE); $(unstage)
42165 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42166 r=`${PWD_COMMAND}`; export r; \
42167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42168 $(RAW_CXX_TARGET_EXPORTS) \
42169 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42170 for flag in $(EXTRA_TARGET_FLAGS); do \
42171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42172 done; \
42173 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42176 "RANLIB=$${RANLIB}" \
42177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42178 info) \
42179 || exit 1
42181 @endif target-libstdc++-v3
42183 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
42184 maybe-dvi-target-libstdc++-v3:
42185 @if target-libstdc++-v3
42186 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
42188 dvi-target-libstdc++-v3: \
42189 configure-target-libstdc++-v3
42190 @: $(MAKE); $(unstage)
42191 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42192 r=`${PWD_COMMAND}`; export r; \
42193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42194 $(RAW_CXX_TARGET_EXPORTS) \
42195 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42196 for flag in $(EXTRA_TARGET_FLAGS); do \
42197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42198 done; \
42199 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42202 "RANLIB=$${RANLIB}" \
42203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42204 dvi) \
42205 || exit 1
42207 @endif target-libstdc++-v3
42209 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
42210 maybe-pdf-target-libstdc++-v3:
42211 @if target-libstdc++-v3
42212 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
42214 pdf-target-libstdc++-v3: \
42215 configure-target-libstdc++-v3
42216 @: $(MAKE); $(unstage)
42217 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42218 r=`${PWD_COMMAND}`; export r; \
42219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42220 $(RAW_CXX_TARGET_EXPORTS) \
42221 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42222 for flag in $(EXTRA_TARGET_FLAGS); do \
42223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42224 done; \
42225 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42228 "RANLIB=$${RANLIB}" \
42229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42230 pdf) \
42231 || exit 1
42233 @endif target-libstdc++-v3
42235 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
42236 maybe-html-target-libstdc++-v3:
42237 @if target-libstdc++-v3
42238 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
42240 html-target-libstdc++-v3: \
42241 configure-target-libstdc++-v3
42242 @: $(MAKE); $(unstage)
42243 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42244 r=`${PWD_COMMAND}`; export r; \
42245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42246 $(RAW_CXX_TARGET_EXPORTS) \
42247 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42248 for flag in $(EXTRA_TARGET_FLAGS); do \
42249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42250 done; \
42251 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42254 "RANLIB=$${RANLIB}" \
42255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42256 html) \
42257 || exit 1
42259 @endif target-libstdc++-v3
42261 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
42262 maybe-TAGS-target-libstdc++-v3:
42263 @if target-libstdc++-v3
42264 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
42266 TAGS-target-libstdc++-v3: \
42267 configure-target-libstdc++-v3
42268 @: $(MAKE); $(unstage)
42269 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42270 r=`${PWD_COMMAND}`; export r; \
42271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42272 $(RAW_CXX_TARGET_EXPORTS) \
42273 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42274 for flag in $(EXTRA_TARGET_FLAGS); do \
42275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42276 done; \
42277 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42280 "RANLIB=$${RANLIB}" \
42281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42282 TAGS) \
42283 || exit 1
42285 @endif target-libstdc++-v3
42287 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
42288 maybe-install-info-target-libstdc++-v3:
42289 @if target-libstdc++-v3
42290 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
42292 install-info-target-libstdc++-v3: \
42293 configure-target-libstdc++-v3 \
42294 info-target-libstdc++-v3
42295 @: $(MAKE); $(unstage)
42296 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42297 r=`${PWD_COMMAND}`; export r; \
42298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42299 $(RAW_CXX_TARGET_EXPORTS) \
42300 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42301 for flag in $(EXTRA_TARGET_FLAGS); do \
42302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42303 done; \
42304 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42307 "RANLIB=$${RANLIB}" \
42308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42309 install-info) \
42310 || exit 1
42312 @endif target-libstdc++-v3
42314 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
42315 maybe-install-pdf-target-libstdc++-v3:
42316 @if target-libstdc++-v3
42317 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
42319 install-pdf-target-libstdc++-v3: \
42320 configure-target-libstdc++-v3 \
42321 pdf-target-libstdc++-v3
42322 @: $(MAKE); $(unstage)
42323 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42324 r=`${PWD_COMMAND}`; export r; \
42325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42326 $(RAW_CXX_TARGET_EXPORTS) \
42327 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42328 for flag in $(EXTRA_TARGET_FLAGS); do \
42329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42330 done; \
42331 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42334 "RANLIB=$${RANLIB}" \
42335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42336 install-pdf) \
42337 || exit 1
42339 @endif target-libstdc++-v3
42341 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
42342 maybe-install-html-target-libstdc++-v3:
42343 @if target-libstdc++-v3
42344 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
42346 install-html-target-libstdc++-v3: \
42347 configure-target-libstdc++-v3 \
42348 html-target-libstdc++-v3
42349 @: $(MAKE); $(unstage)
42350 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42351 r=`${PWD_COMMAND}`; export r; \
42352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42353 $(RAW_CXX_TARGET_EXPORTS) \
42354 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42355 for flag in $(EXTRA_TARGET_FLAGS); do \
42356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42357 done; \
42358 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42361 "RANLIB=$${RANLIB}" \
42362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42363 install-html) \
42364 || exit 1
42366 @endif target-libstdc++-v3
42368 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
42369 maybe-installcheck-target-libstdc++-v3:
42370 @if target-libstdc++-v3
42371 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
42373 installcheck-target-libstdc++-v3: \
42374 configure-target-libstdc++-v3
42375 @: $(MAKE); $(unstage)
42376 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42377 r=`${PWD_COMMAND}`; export r; \
42378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42379 $(RAW_CXX_TARGET_EXPORTS) \
42380 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42381 for flag in $(EXTRA_TARGET_FLAGS); do \
42382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42383 done; \
42384 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42387 "RANLIB=$${RANLIB}" \
42388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42389 installcheck) \
42390 || exit 1
42392 @endif target-libstdc++-v3
42394 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
42395 maybe-mostlyclean-target-libstdc++-v3:
42396 @if target-libstdc++-v3
42397 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
42399 mostlyclean-target-libstdc++-v3:
42400 @: $(MAKE); $(unstage)
42401 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42402 r=`${PWD_COMMAND}`; export r; \
42403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42404 $(RAW_CXX_TARGET_EXPORTS) \
42405 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42406 for flag in $(EXTRA_TARGET_FLAGS); do \
42407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42408 done; \
42409 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42412 "RANLIB=$${RANLIB}" \
42413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42414 mostlyclean) \
42415 || exit 1
42417 @endif target-libstdc++-v3
42419 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
42420 maybe-clean-target-libstdc++-v3:
42421 @if target-libstdc++-v3
42422 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
42424 clean-target-libstdc++-v3:
42425 @: $(MAKE); $(unstage)
42426 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42427 r=`${PWD_COMMAND}`; export r; \
42428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42429 $(RAW_CXX_TARGET_EXPORTS) \
42430 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42431 for flag in $(EXTRA_TARGET_FLAGS); do \
42432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42433 done; \
42434 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42437 "RANLIB=$${RANLIB}" \
42438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42439 clean) \
42440 || exit 1
42442 @endif target-libstdc++-v3
42444 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
42445 maybe-distclean-target-libstdc++-v3:
42446 @if target-libstdc++-v3
42447 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
42449 distclean-target-libstdc++-v3:
42450 @: $(MAKE); $(unstage)
42451 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42452 r=`${PWD_COMMAND}`; export r; \
42453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42454 $(RAW_CXX_TARGET_EXPORTS) \
42455 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42456 for flag in $(EXTRA_TARGET_FLAGS); do \
42457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42458 done; \
42459 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42462 "RANLIB=$${RANLIB}" \
42463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42464 distclean) \
42465 || exit 1
42467 @endif target-libstdc++-v3
42469 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
42470 maybe-maintainer-clean-target-libstdc++-v3:
42471 @if target-libstdc++-v3
42472 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
42474 maintainer-clean-target-libstdc++-v3:
42475 @: $(MAKE); $(unstage)
42476 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42477 r=`${PWD_COMMAND}`; export r; \
42478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42479 $(RAW_CXX_TARGET_EXPORTS) \
42480 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42481 for flag in $(EXTRA_TARGET_FLAGS); do \
42482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42483 done; \
42484 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42487 "RANLIB=$${RANLIB}" \
42488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42489 maintainer-clean) \
42490 || exit 1
42492 @endif target-libstdc++-v3
42498 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
42499 maybe-configure-target-libmudflap:
42500 @if gcc-bootstrap
42501 configure-target-libmudflap: stage_current
42502 @endif gcc-bootstrap
42503 @if target-libmudflap
42504 maybe-configure-target-libmudflap: configure-target-libmudflap
42505 configure-target-libmudflap:
42506 @: $(MAKE); $(unstage)
42507 @r=`${PWD_COMMAND}`; export r; \
42508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42509 echo "Checking multilib configuration for libmudflap..."; \
42510 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
42511 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
42512 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
42513 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
42514 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
42515 else \
42516 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
42517 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
42518 fi; \
42519 else \
42520 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
42521 fi; \
42522 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
42523 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
42524 $(NORMAL_TARGET_EXPORTS) \
42525 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
42526 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
42527 case $(srcdir) in \
42528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42529 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
42530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42531 esac; \
42532 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
42533 libsrcdir="$$s/libmudflap"; \
42534 rm -f no-such-file || : ; \
42535 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42536 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42537 --target=${target_alias} $${srcdiroption} \
42538 || exit 1
42539 @endif target-libmudflap
42545 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
42546 maybe-all-target-libmudflap:
42547 @if gcc-bootstrap
42548 all-target-libmudflap: stage_current
42549 @endif gcc-bootstrap
42550 @if target-libmudflap
42551 TARGET-target-libmudflap=all
42552 maybe-all-target-libmudflap: all-target-libmudflap
42553 all-target-libmudflap: configure-target-libmudflap
42554 @: $(MAKE); $(unstage)
42555 @r=`${PWD_COMMAND}`; export r; \
42556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42557 $(NORMAL_TARGET_EXPORTS) \
42558 (cd $(TARGET_SUBDIR)/libmudflap && \
42559 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42560 $(TARGET-target-libmudflap))
42561 @endif target-libmudflap
42567 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
42568 maybe-check-target-libmudflap:
42569 @if target-libmudflap
42570 maybe-check-target-libmudflap: check-target-libmudflap
42572 check-target-libmudflap:
42573 @: $(MAKE); $(unstage)
42574 @r=`${PWD_COMMAND}`; export r; \
42575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42576 $(NORMAL_TARGET_EXPORTS) \
42577 (cd $(TARGET_SUBDIR)/libmudflap && \
42578 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42580 @endif target-libmudflap
42582 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
42583 maybe-install-target-libmudflap:
42584 @if target-libmudflap
42585 maybe-install-target-libmudflap: install-target-libmudflap
42587 install-target-libmudflap: installdirs
42588 @: $(MAKE); $(unstage)
42589 @r=`${PWD_COMMAND}`; export r; \
42590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42591 $(NORMAL_TARGET_EXPORTS) \
42592 (cd $(TARGET_SUBDIR)/libmudflap && \
42593 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42595 @endif target-libmudflap
42597 # Other targets (info, dvi, pdf, etc.)
42599 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
42600 maybe-info-target-libmudflap:
42601 @if target-libmudflap
42602 maybe-info-target-libmudflap: info-target-libmudflap
42604 info-target-libmudflap: \
42605 configure-target-libmudflap
42606 @: $(MAKE); $(unstage)
42607 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42608 r=`${PWD_COMMAND}`; export r; \
42609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42610 $(NORMAL_TARGET_EXPORTS) \
42611 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
42612 for flag in $(EXTRA_TARGET_FLAGS); do \
42613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42614 done; \
42615 (cd $(TARGET_SUBDIR)/libmudflap && \
42616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42618 "RANLIB=$${RANLIB}" \
42619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42620 info) \
42621 || exit 1
42623 @endif target-libmudflap
42625 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
42626 maybe-dvi-target-libmudflap:
42627 @if target-libmudflap
42628 maybe-dvi-target-libmudflap: dvi-target-libmudflap
42630 dvi-target-libmudflap: \
42631 configure-target-libmudflap
42632 @: $(MAKE); $(unstage)
42633 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42634 r=`${PWD_COMMAND}`; export r; \
42635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42636 $(NORMAL_TARGET_EXPORTS) \
42637 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
42638 for flag in $(EXTRA_TARGET_FLAGS); do \
42639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42640 done; \
42641 (cd $(TARGET_SUBDIR)/libmudflap && \
42642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42644 "RANLIB=$${RANLIB}" \
42645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42646 dvi) \
42647 || exit 1
42649 @endif target-libmudflap
42651 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
42652 maybe-pdf-target-libmudflap:
42653 @if target-libmudflap
42654 maybe-pdf-target-libmudflap: pdf-target-libmudflap
42656 pdf-target-libmudflap: \
42657 configure-target-libmudflap
42658 @: $(MAKE); $(unstage)
42659 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42660 r=`${PWD_COMMAND}`; export r; \
42661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42662 $(NORMAL_TARGET_EXPORTS) \
42663 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
42664 for flag in $(EXTRA_TARGET_FLAGS); do \
42665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42666 done; \
42667 (cd $(TARGET_SUBDIR)/libmudflap && \
42668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42670 "RANLIB=$${RANLIB}" \
42671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42672 pdf) \
42673 || exit 1
42675 @endif target-libmudflap
42677 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
42678 maybe-html-target-libmudflap:
42679 @if target-libmudflap
42680 maybe-html-target-libmudflap: html-target-libmudflap
42682 html-target-libmudflap: \
42683 configure-target-libmudflap
42684 @: $(MAKE); $(unstage)
42685 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42686 r=`${PWD_COMMAND}`; export r; \
42687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42688 $(NORMAL_TARGET_EXPORTS) \
42689 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
42690 for flag in $(EXTRA_TARGET_FLAGS); do \
42691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42692 done; \
42693 (cd $(TARGET_SUBDIR)/libmudflap && \
42694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42696 "RANLIB=$${RANLIB}" \
42697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42698 html) \
42699 || exit 1
42701 @endif target-libmudflap
42703 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
42704 maybe-TAGS-target-libmudflap:
42705 @if target-libmudflap
42706 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
42708 TAGS-target-libmudflap: \
42709 configure-target-libmudflap
42710 @: $(MAKE); $(unstage)
42711 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42712 r=`${PWD_COMMAND}`; export r; \
42713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42714 $(NORMAL_TARGET_EXPORTS) \
42715 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
42716 for flag in $(EXTRA_TARGET_FLAGS); do \
42717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42718 done; \
42719 (cd $(TARGET_SUBDIR)/libmudflap && \
42720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42722 "RANLIB=$${RANLIB}" \
42723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42724 TAGS) \
42725 || exit 1
42727 @endif target-libmudflap
42729 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
42730 maybe-install-info-target-libmudflap:
42731 @if target-libmudflap
42732 maybe-install-info-target-libmudflap: install-info-target-libmudflap
42734 install-info-target-libmudflap: \
42735 configure-target-libmudflap \
42736 info-target-libmudflap
42737 @: $(MAKE); $(unstage)
42738 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42739 r=`${PWD_COMMAND}`; export r; \
42740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42741 $(NORMAL_TARGET_EXPORTS) \
42742 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
42743 for flag in $(EXTRA_TARGET_FLAGS); do \
42744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42745 done; \
42746 (cd $(TARGET_SUBDIR)/libmudflap && \
42747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42749 "RANLIB=$${RANLIB}" \
42750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42751 install-info) \
42752 || exit 1
42754 @endif target-libmudflap
42756 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
42757 maybe-install-pdf-target-libmudflap:
42758 @if target-libmudflap
42759 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
42761 install-pdf-target-libmudflap: \
42762 configure-target-libmudflap \
42763 pdf-target-libmudflap
42764 @: $(MAKE); $(unstage)
42765 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42766 r=`${PWD_COMMAND}`; export r; \
42767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42768 $(NORMAL_TARGET_EXPORTS) \
42769 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
42770 for flag in $(EXTRA_TARGET_FLAGS); do \
42771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42772 done; \
42773 (cd $(TARGET_SUBDIR)/libmudflap && \
42774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42776 "RANLIB=$${RANLIB}" \
42777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42778 install-pdf) \
42779 || exit 1
42781 @endif target-libmudflap
42783 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
42784 maybe-install-html-target-libmudflap:
42785 @if target-libmudflap
42786 maybe-install-html-target-libmudflap: install-html-target-libmudflap
42788 install-html-target-libmudflap: \
42789 configure-target-libmudflap \
42790 html-target-libmudflap
42791 @: $(MAKE); $(unstage)
42792 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42793 r=`${PWD_COMMAND}`; export r; \
42794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42795 $(NORMAL_TARGET_EXPORTS) \
42796 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
42797 for flag in $(EXTRA_TARGET_FLAGS); do \
42798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42799 done; \
42800 (cd $(TARGET_SUBDIR)/libmudflap && \
42801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42803 "RANLIB=$${RANLIB}" \
42804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42805 install-html) \
42806 || exit 1
42808 @endif target-libmudflap
42810 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
42811 maybe-installcheck-target-libmudflap:
42812 @if target-libmudflap
42813 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
42815 installcheck-target-libmudflap: \
42816 configure-target-libmudflap
42817 @: $(MAKE); $(unstage)
42818 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42819 r=`${PWD_COMMAND}`; export r; \
42820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42821 $(NORMAL_TARGET_EXPORTS) \
42822 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
42823 for flag in $(EXTRA_TARGET_FLAGS); do \
42824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42825 done; \
42826 (cd $(TARGET_SUBDIR)/libmudflap && \
42827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42829 "RANLIB=$${RANLIB}" \
42830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42831 installcheck) \
42832 || exit 1
42834 @endif target-libmudflap
42836 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
42837 maybe-mostlyclean-target-libmudflap:
42838 @if target-libmudflap
42839 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
42841 mostlyclean-target-libmudflap:
42842 @: $(MAKE); $(unstage)
42843 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42844 r=`${PWD_COMMAND}`; export r; \
42845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42846 $(NORMAL_TARGET_EXPORTS) \
42847 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
42848 for flag in $(EXTRA_TARGET_FLAGS); do \
42849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42850 done; \
42851 (cd $(TARGET_SUBDIR)/libmudflap && \
42852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42854 "RANLIB=$${RANLIB}" \
42855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42856 mostlyclean) \
42857 || exit 1
42859 @endif target-libmudflap
42861 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
42862 maybe-clean-target-libmudflap:
42863 @if target-libmudflap
42864 maybe-clean-target-libmudflap: clean-target-libmudflap
42866 clean-target-libmudflap:
42867 @: $(MAKE); $(unstage)
42868 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42869 r=`${PWD_COMMAND}`; export r; \
42870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42871 $(NORMAL_TARGET_EXPORTS) \
42872 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
42873 for flag in $(EXTRA_TARGET_FLAGS); do \
42874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42875 done; \
42876 (cd $(TARGET_SUBDIR)/libmudflap && \
42877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42879 "RANLIB=$${RANLIB}" \
42880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42881 clean) \
42882 || exit 1
42884 @endif target-libmudflap
42886 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
42887 maybe-distclean-target-libmudflap:
42888 @if target-libmudflap
42889 maybe-distclean-target-libmudflap: distclean-target-libmudflap
42891 distclean-target-libmudflap:
42892 @: $(MAKE); $(unstage)
42893 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42894 r=`${PWD_COMMAND}`; export r; \
42895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42896 $(NORMAL_TARGET_EXPORTS) \
42897 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
42898 for flag in $(EXTRA_TARGET_FLAGS); do \
42899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42900 done; \
42901 (cd $(TARGET_SUBDIR)/libmudflap && \
42902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42904 "RANLIB=$${RANLIB}" \
42905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42906 distclean) \
42907 || exit 1
42909 @endif target-libmudflap
42911 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
42912 maybe-maintainer-clean-target-libmudflap:
42913 @if target-libmudflap
42914 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
42916 maintainer-clean-target-libmudflap:
42917 @: $(MAKE); $(unstage)
42918 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
42919 r=`${PWD_COMMAND}`; export r; \
42920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42921 $(NORMAL_TARGET_EXPORTS) \
42922 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
42923 for flag in $(EXTRA_TARGET_FLAGS); do \
42924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42925 done; \
42926 (cd $(TARGET_SUBDIR)/libmudflap && \
42927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42929 "RANLIB=$${RANLIB}" \
42930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42931 maintainer-clean) \
42932 || exit 1
42934 @endif target-libmudflap
42940 .PHONY: configure-target-libssp maybe-configure-target-libssp
42941 maybe-configure-target-libssp:
42942 @if gcc-bootstrap
42943 configure-target-libssp: stage_current
42944 @endif gcc-bootstrap
42945 @if target-libssp
42946 maybe-configure-target-libssp: configure-target-libssp
42947 configure-target-libssp:
42948 @: $(MAKE); $(unstage)
42949 @r=`${PWD_COMMAND}`; export r; \
42950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42951 echo "Checking multilib configuration for libssp..."; \
42952 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
42953 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
42954 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
42955 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
42956 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
42957 else \
42958 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
42959 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42960 fi; \
42961 else \
42962 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42963 fi; \
42964 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
42965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
42966 $(NORMAL_TARGET_EXPORTS) \
42967 echo Configuring in $(TARGET_SUBDIR)/libssp; \
42968 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
42969 case $(srcdir) in \
42970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42971 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
42972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42973 esac; \
42974 srcdiroption="--srcdir=$${topdir}/libssp"; \
42975 libsrcdir="$$s/libssp"; \
42976 rm -f no-such-file || : ; \
42977 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42978 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42979 --target=${target_alias} $${srcdiroption} \
42980 || exit 1
42981 @endif target-libssp
42987 .PHONY: all-target-libssp maybe-all-target-libssp
42988 maybe-all-target-libssp:
42989 @if gcc-bootstrap
42990 all-target-libssp: stage_current
42991 @endif gcc-bootstrap
42992 @if target-libssp
42993 TARGET-target-libssp=all
42994 maybe-all-target-libssp: all-target-libssp
42995 all-target-libssp: configure-target-libssp
42996 @: $(MAKE); $(unstage)
42997 @r=`${PWD_COMMAND}`; export r; \
42998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42999 $(NORMAL_TARGET_EXPORTS) \
43000 (cd $(TARGET_SUBDIR)/libssp && \
43001 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43002 $(TARGET-target-libssp))
43003 @endif target-libssp
43009 .PHONY: check-target-libssp maybe-check-target-libssp
43010 maybe-check-target-libssp:
43011 @if target-libssp
43012 maybe-check-target-libssp: check-target-libssp
43014 check-target-libssp:
43015 @: $(MAKE); $(unstage)
43016 @r=`${PWD_COMMAND}`; export r; \
43017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43018 $(NORMAL_TARGET_EXPORTS) \
43019 (cd $(TARGET_SUBDIR)/libssp && \
43020 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43022 @endif target-libssp
43024 .PHONY: install-target-libssp maybe-install-target-libssp
43025 maybe-install-target-libssp:
43026 @if target-libssp
43027 maybe-install-target-libssp: install-target-libssp
43029 install-target-libssp: installdirs
43030 @: $(MAKE); $(unstage)
43031 @r=`${PWD_COMMAND}`; export r; \
43032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43033 $(NORMAL_TARGET_EXPORTS) \
43034 (cd $(TARGET_SUBDIR)/libssp && \
43035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43037 @endif target-libssp
43039 # Other targets (info, dvi, pdf, etc.)
43041 .PHONY: maybe-info-target-libssp info-target-libssp
43042 maybe-info-target-libssp:
43043 @if target-libssp
43044 maybe-info-target-libssp: info-target-libssp
43046 info-target-libssp: \
43047 configure-target-libssp
43048 @: $(MAKE); $(unstage)
43049 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43050 r=`${PWD_COMMAND}`; export r; \
43051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43052 $(NORMAL_TARGET_EXPORTS) \
43053 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
43054 for flag in $(EXTRA_TARGET_FLAGS); do \
43055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43056 done; \
43057 (cd $(TARGET_SUBDIR)/libssp && \
43058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43060 "RANLIB=$${RANLIB}" \
43061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43062 info) \
43063 || exit 1
43065 @endif target-libssp
43067 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
43068 maybe-dvi-target-libssp:
43069 @if target-libssp
43070 maybe-dvi-target-libssp: dvi-target-libssp
43072 dvi-target-libssp: \
43073 configure-target-libssp
43074 @: $(MAKE); $(unstage)
43075 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43076 r=`${PWD_COMMAND}`; export r; \
43077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43078 $(NORMAL_TARGET_EXPORTS) \
43079 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
43080 for flag in $(EXTRA_TARGET_FLAGS); do \
43081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43082 done; \
43083 (cd $(TARGET_SUBDIR)/libssp && \
43084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43086 "RANLIB=$${RANLIB}" \
43087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43088 dvi) \
43089 || exit 1
43091 @endif target-libssp
43093 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
43094 maybe-pdf-target-libssp:
43095 @if target-libssp
43096 maybe-pdf-target-libssp: pdf-target-libssp
43098 pdf-target-libssp: \
43099 configure-target-libssp
43100 @: $(MAKE); $(unstage)
43101 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43102 r=`${PWD_COMMAND}`; export r; \
43103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43104 $(NORMAL_TARGET_EXPORTS) \
43105 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
43106 for flag in $(EXTRA_TARGET_FLAGS); do \
43107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43108 done; \
43109 (cd $(TARGET_SUBDIR)/libssp && \
43110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43112 "RANLIB=$${RANLIB}" \
43113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43114 pdf) \
43115 || exit 1
43117 @endif target-libssp
43119 .PHONY: maybe-html-target-libssp html-target-libssp
43120 maybe-html-target-libssp:
43121 @if target-libssp
43122 maybe-html-target-libssp: html-target-libssp
43124 html-target-libssp: \
43125 configure-target-libssp
43126 @: $(MAKE); $(unstage)
43127 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43128 r=`${PWD_COMMAND}`; export r; \
43129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43130 $(NORMAL_TARGET_EXPORTS) \
43131 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
43132 for flag in $(EXTRA_TARGET_FLAGS); do \
43133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43134 done; \
43135 (cd $(TARGET_SUBDIR)/libssp && \
43136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43138 "RANLIB=$${RANLIB}" \
43139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43140 html) \
43141 || exit 1
43143 @endif target-libssp
43145 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
43146 maybe-TAGS-target-libssp:
43147 @if target-libssp
43148 maybe-TAGS-target-libssp: TAGS-target-libssp
43150 TAGS-target-libssp: \
43151 configure-target-libssp
43152 @: $(MAKE); $(unstage)
43153 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43154 r=`${PWD_COMMAND}`; export r; \
43155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43156 $(NORMAL_TARGET_EXPORTS) \
43157 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
43158 for flag in $(EXTRA_TARGET_FLAGS); do \
43159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43160 done; \
43161 (cd $(TARGET_SUBDIR)/libssp && \
43162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43164 "RANLIB=$${RANLIB}" \
43165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43166 TAGS) \
43167 || exit 1
43169 @endif target-libssp
43171 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
43172 maybe-install-info-target-libssp:
43173 @if target-libssp
43174 maybe-install-info-target-libssp: install-info-target-libssp
43176 install-info-target-libssp: \
43177 configure-target-libssp \
43178 info-target-libssp
43179 @: $(MAKE); $(unstage)
43180 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43181 r=`${PWD_COMMAND}`; export r; \
43182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43183 $(NORMAL_TARGET_EXPORTS) \
43184 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
43185 for flag in $(EXTRA_TARGET_FLAGS); do \
43186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43187 done; \
43188 (cd $(TARGET_SUBDIR)/libssp && \
43189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43191 "RANLIB=$${RANLIB}" \
43192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43193 install-info) \
43194 || exit 1
43196 @endif target-libssp
43198 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
43199 maybe-install-pdf-target-libssp:
43200 @if target-libssp
43201 maybe-install-pdf-target-libssp: install-pdf-target-libssp
43203 install-pdf-target-libssp: \
43204 configure-target-libssp \
43205 pdf-target-libssp
43206 @: $(MAKE); $(unstage)
43207 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43208 r=`${PWD_COMMAND}`; export r; \
43209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43210 $(NORMAL_TARGET_EXPORTS) \
43211 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
43212 for flag in $(EXTRA_TARGET_FLAGS); do \
43213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43214 done; \
43215 (cd $(TARGET_SUBDIR)/libssp && \
43216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43218 "RANLIB=$${RANLIB}" \
43219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43220 install-pdf) \
43221 || exit 1
43223 @endif target-libssp
43225 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
43226 maybe-install-html-target-libssp:
43227 @if target-libssp
43228 maybe-install-html-target-libssp: install-html-target-libssp
43230 install-html-target-libssp: \
43231 configure-target-libssp \
43232 html-target-libssp
43233 @: $(MAKE); $(unstage)
43234 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43235 r=`${PWD_COMMAND}`; export r; \
43236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43237 $(NORMAL_TARGET_EXPORTS) \
43238 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
43239 for flag in $(EXTRA_TARGET_FLAGS); do \
43240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43241 done; \
43242 (cd $(TARGET_SUBDIR)/libssp && \
43243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43245 "RANLIB=$${RANLIB}" \
43246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43247 install-html) \
43248 || exit 1
43250 @endif target-libssp
43252 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
43253 maybe-installcheck-target-libssp:
43254 @if target-libssp
43255 maybe-installcheck-target-libssp: installcheck-target-libssp
43257 installcheck-target-libssp: \
43258 configure-target-libssp
43259 @: $(MAKE); $(unstage)
43260 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43261 r=`${PWD_COMMAND}`; export r; \
43262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43263 $(NORMAL_TARGET_EXPORTS) \
43264 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
43265 for flag in $(EXTRA_TARGET_FLAGS); do \
43266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43267 done; \
43268 (cd $(TARGET_SUBDIR)/libssp && \
43269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43271 "RANLIB=$${RANLIB}" \
43272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43273 installcheck) \
43274 || exit 1
43276 @endif target-libssp
43278 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
43279 maybe-mostlyclean-target-libssp:
43280 @if target-libssp
43281 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
43283 mostlyclean-target-libssp:
43284 @: $(MAKE); $(unstage)
43285 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43286 r=`${PWD_COMMAND}`; export r; \
43287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43288 $(NORMAL_TARGET_EXPORTS) \
43289 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
43290 for flag in $(EXTRA_TARGET_FLAGS); do \
43291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43292 done; \
43293 (cd $(TARGET_SUBDIR)/libssp && \
43294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43296 "RANLIB=$${RANLIB}" \
43297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43298 mostlyclean) \
43299 || exit 1
43301 @endif target-libssp
43303 .PHONY: maybe-clean-target-libssp clean-target-libssp
43304 maybe-clean-target-libssp:
43305 @if target-libssp
43306 maybe-clean-target-libssp: clean-target-libssp
43308 clean-target-libssp:
43309 @: $(MAKE); $(unstage)
43310 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43311 r=`${PWD_COMMAND}`; export r; \
43312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43313 $(NORMAL_TARGET_EXPORTS) \
43314 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
43315 for flag in $(EXTRA_TARGET_FLAGS); do \
43316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43317 done; \
43318 (cd $(TARGET_SUBDIR)/libssp && \
43319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43321 "RANLIB=$${RANLIB}" \
43322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43323 clean) \
43324 || exit 1
43326 @endif target-libssp
43328 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
43329 maybe-distclean-target-libssp:
43330 @if target-libssp
43331 maybe-distclean-target-libssp: distclean-target-libssp
43333 distclean-target-libssp:
43334 @: $(MAKE); $(unstage)
43335 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43336 r=`${PWD_COMMAND}`; export r; \
43337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43338 $(NORMAL_TARGET_EXPORTS) \
43339 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
43340 for flag in $(EXTRA_TARGET_FLAGS); do \
43341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43342 done; \
43343 (cd $(TARGET_SUBDIR)/libssp && \
43344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43346 "RANLIB=$${RANLIB}" \
43347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43348 distclean) \
43349 || exit 1
43351 @endif target-libssp
43353 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
43354 maybe-maintainer-clean-target-libssp:
43355 @if target-libssp
43356 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
43358 maintainer-clean-target-libssp:
43359 @: $(MAKE); $(unstage)
43360 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43361 r=`${PWD_COMMAND}`; export r; \
43362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43363 $(NORMAL_TARGET_EXPORTS) \
43364 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
43365 for flag in $(EXTRA_TARGET_FLAGS); do \
43366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43367 done; \
43368 (cd $(TARGET_SUBDIR)/libssp && \
43369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43371 "RANLIB=$${RANLIB}" \
43372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43373 maintainer-clean) \
43374 || exit 1
43376 @endif target-libssp
43382 .PHONY: configure-target-newlib maybe-configure-target-newlib
43383 maybe-configure-target-newlib:
43384 @if gcc-bootstrap
43385 configure-target-newlib: stage_current
43386 @endif gcc-bootstrap
43387 @if target-newlib
43388 maybe-configure-target-newlib: configure-target-newlib
43389 configure-target-newlib:
43390 @: $(MAKE); $(unstage)
43391 @r=`${PWD_COMMAND}`; export r; \
43392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43393 echo "Checking multilib configuration for newlib..."; \
43394 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
43395 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
43396 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
43397 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
43398 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
43399 else \
43400 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
43401 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
43402 fi; \
43403 else \
43404 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
43405 fi; \
43406 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
43407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
43408 $(NORMAL_TARGET_EXPORTS) \
43409 echo Configuring in $(TARGET_SUBDIR)/newlib; \
43410 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
43411 case $(srcdir) in \
43412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43413 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
43414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43415 esac; \
43416 srcdiroption="--srcdir=$${topdir}/newlib"; \
43417 libsrcdir="$$s/newlib"; \
43418 rm -f no-such-file || : ; \
43419 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43420 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43421 --target=${target_alias} $${srcdiroption} \
43422 || exit 1
43423 @endif target-newlib
43429 .PHONY: all-target-newlib maybe-all-target-newlib
43430 maybe-all-target-newlib:
43431 @if gcc-bootstrap
43432 all-target-newlib: stage_current
43433 @endif gcc-bootstrap
43434 @if target-newlib
43435 TARGET-target-newlib=all
43436 maybe-all-target-newlib: all-target-newlib
43437 all-target-newlib: configure-target-newlib
43438 @: $(MAKE); $(unstage)
43439 @r=`${PWD_COMMAND}`; export r; \
43440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43441 $(NORMAL_TARGET_EXPORTS) \
43442 (cd $(TARGET_SUBDIR)/newlib && \
43443 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43444 $(TARGET-target-newlib))
43445 @endif target-newlib
43451 .PHONY: check-target-newlib maybe-check-target-newlib
43452 maybe-check-target-newlib:
43453 @if target-newlib
43454 maybe-check-target-newlib: check-target-newlib
43456 check-target-newlib:
43457 @: $(MAKE); $(unstage)
43458 @r=`${PWD_COMMAND}`; export r; \
43459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43460 $(NORMAL_TARGET_EXPORTS) \
43461 (cd $(TARGET_SUBDIR)/newlib && \
43462 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43464 @endif target-newlib
43466 .PHONY: install-target-newlib maybe-install-target-newlib
43467 maybe-install-target-newlib:
43468 @if target-newlib
43469 maybe-install-target-newlib: install-target-newlib
43471 install-target-newlib: installdirs
43472 @: $(MAKE); $(unstage)
43473 @r=`${PWD_COMMAND}`; export r; \
43474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43475 $(NORMAL_TARGET_EXPORTS) \
43476 (cd $(TARGET_SUBDIR)/newlib && \
43477 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43479 @endif target-newlib
43481 # Other targets (info, dvi, pdf, etc.)
43483 .PHONY: maybe-info-target-newlib info-target-newlib
43484 maybe-info-target-newlib:
43485 @if target-newlib
43486 maybe-info-target-newlib: info-target-newlib
43488 info-target-newlib: \
43489 configure-target-newlib
43490 @: $(MAKE); $(unstage)
43491 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43492 r=`${PWD_COMMAND}`; export r; \
43493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43494 $(NORMAL_TARGET_EXPORTS) \
43495 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
43496 for flag in $(EXTRA_TARGET_FLAGS); do \
43497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43498 done; \
43499 (cd $(TARGET_SUBDIR)/newlib && \
43500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43502 "RANLIB=$${RANLIB}" \
43503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43504 info) \
43505 || exit 1
43507 @endif target-newlib
43509 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
43510 maybe-dvi-target-newlib:
43511 @if target-newlib
43512 maybe-dvi-target-newlib: dvi-target-newlib
43514 dvi-target-newlib: \
43515 configure-target-newlib
43516 @: $(MAKE); $(unstage)
43517 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43518 r=`${PWD_COMMAND}`; export r; \
43519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43520 $(NORMAL_TARGET_EXPORTS) \
43521 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
43522 for flag in $(EXTRA_TARGET_FLAGS); do \
43523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43524 done; \
43525 (cd $(TARGET_SUBDIR)/newlib && \
43526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43528 "RANLIB=$${RANLIB}" \
43529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43530 dvi) \
43531 || exit 1
43533 @endif target-newlib
43535 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
43536 maybe-pdf-target-newlib:
43537 @if target-newlib
43538 maybe-pdf-target-newlib: pdf-target-newlib
43540 pdf-target-newlib: \
43541 configure-target-newlib
43542 @: $(MAKE); $(unstage)
43543 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43544 r=`${PWD_COMMAND}`; export r; \
43545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43546 $(NORMAL_TARGET_EXPORTS) \
43547 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
43548 for flag in $(EXTRA_TARGET_FLAGS); do \
43549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43550 done; \
43551 (cd $(TARGET_SUBDIR)/newlib && \
43552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43554 "RANLIB=$${RANLIB}" \
43555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43556 pdf) \
43557 || exit 1
43559 @endif target-newlib
43561 .PHONY: maybe-html-target-newlib html-target-newlib
43562 maybe-html-target-newlib:
43563 @if target-newlib
43564 maybe-html-target-newlib: html-target-newlib
43566 html-target-newlib: \
43567 configure-target-newlib
43568 @: $(MAKE); $(unstage)
43569 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43570 r=`${PWD_COMMAND}`; export r; \
43571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43572 $(NORMAL_TARGET_EXPORTS) \
43573 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
43574 for flag in $(EXTRA_TARGET_FLAGS); do \
43575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43576 done; \
43577 (cd $(TARGET_SUBDIR)/newlib && \
43578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43580 "RANLIB=$${RANLIB}" \
43581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43582 html) \
43583 || exit 1
43585 @endif target-newlib
43587 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
43588 maybe-TAGS-target-newlib:
43589 @if target-newlib
43590 maybe-TAGS-target-newlib: TAGS-target-newlib
43592 TAGS-target-newlib: \
43593 configure-target-newlib
43594 @: $(MAKE); $(unstage)
43595 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43596 r=`${PWD_COMMAND}`; export r; \
43597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43598 $(NORMAL_TARGET_EXPORTS) \
43599 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
43600 for flag in $(EXTRA_TARGET_FLAGS); do \
43601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43602 done; \
43603 (cd $(TARGET_SUBDIR)/newlib && \
43604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43606 "RANLIB=$${RANLIB}" \
43607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43608 TAGS) \
43609 || exit 1
43611 @endif target-newlib
43613 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
43614 maybe-install-info-target-newlib:
43615 @if target-newlib
43616 maybe-install-info-target-newlib: install-info-target-newlib
43618 install-info-target-newlib: \
43619 configure-target-newlib \
43620 info-target-newlib
43621 @: $(MAKE); $(unstage)
43622 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43623 r=`${PWD_COMMAND}`; export r; \
43624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43625 $(NORMAL_TARGET_EXPORTS) \
43626 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
43627 for flag in $(EXTRA_TARGET_FLAGS); do \
43628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43629 done; \
43630 (cd $(TARGET_SUBDIR)/newlib && \
43631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43633 "RANLIB=$${RANLIB}" \
43634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43635 install-info) \
43636 || exit 1
43638 @endif target-newlib
43640 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
43641 maybe-install-pdf-target-newlib:
43642 @if target-newlib
43643 maybe-install-pdf-target-newlib: install-pdf-target-newlib
43645 install-pdf-target-newlib: \
43646 configure-target-newlib \
43647 pdf-target-newlib
43648 @: $(MAKE); $(unstage)
43649 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43650 r=`${PWD_COMMAND}`; export r; \
43651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43652 $(NORMAL_TARGET_EXPORTS) \
43653 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
43654 for flag in $(EXTRA_TARGET_FLAGS); do \
43655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43656 done; \
43657 (cd $(TARGET_SUBDIR)/newlib && \
43658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43660 "RANLIB=$${RANLIB}" \
43661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43662 install-pdf) \
43663 || exit 1
43665 @endif target-newlib
43667 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
43668 maybe-install-html-target-newlib:
43669 @if target-newlib
43670 maybe-install-html-target-newlib: install-html-target-newlib
43672 install-html-target-newlib: \
43673 configure-target-newlib \
43674 html-target-newlib
43675 @: $(MAKE); $(unstage)
43676 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43677 r=`${PWD_COMMAND}`; export r; \
43678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43679 $(NORMAL_TARGET_EXPORTS) \
43680 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
43681 for flag in $(EXTRA_TARGET_FLAGS); do \
43682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43683 done; \
43684 (cd $(TARGET_SUBDIR)/newlib && \
43685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43687 "RANLIB=$${RANLIB}" \
43688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43689 install-html) \
43690 || exit 1
43692 @endif target-newlib
43694 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
43695 maybe-installcheck-target-newlib:
43696 @if target-newlib
43697 maybe-installcheck-target-newlib: installcheck-target-newlib
43699 installcheck-target-newlib: \
43700 configure-target-newlib
43701 @: $(MAKE); $(unstage)
43702 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43703 r=`${PWD_COMMAND}`; export r; \
43704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43705 $(NORMAL_TARGET_EXPORTS) \
43706 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
43707 for flag in $(EXTRA_TARGET_FLAGS); do \
43708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43709 done; \
43710 (cd $(TARGET_SUBDIR)/newlib && \
43711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43713 "RANLIB=$${RANLIB}" \
43714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43715 installcheck) \
43716 || exit 1
43718 @endif target-newlib
43720 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
43721 maybe-mostlyclean-target-newlib:
43722 @if target-newlib
43723 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
43725 mostlyclean-target-newlib:
43726 @: $(MAKE); $(unstage)
43727 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43728 r=`${PWD_COMMAND}`; export r; \
43729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43730 $(NORMAL_TARGET_EXPORTS) \
43731 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
43732 for flag in $(EXTRA_TARGET_FLAGS); do \
43733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43734 done; \
43735 (cd $(TARGET_SUBDIR)/newlib && \
43736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43738 "RANLIB=$${RANLIB}" \
43739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43740 mostlyclean) \
43741 || exit 1
43743 @endif target-newlib
43745 .PHONY: maybe-clean-target-newlib clean-target-newlib
43746 maybe-clean-target-newlib:
43747 @if target-newlib
43748 maybe-clean-target-newlib: clean-target-newlib
43750 clean-target-newlib:
43751 @: $(MAKE); $(unstage)
43752 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43753 r=`${PWD_COMMAND}`; export r; \
43754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43755 $(NORMAL_TARGET_EXPORTS) \
43756 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
43757 for flag in $(EXTRA_TARGET_FLAGS); do \
43758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43759 done; \
43760 (cd $(TARGET_SUBDIR)/newlib && \
43761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43763 "RANLIB=$${RANLIB}" \
43764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43765 clean) \
43766 || exit 1
43768 @endif target-newlib
43770 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
43771 maybe-distclean-target-newlib:
43772 @if target-newlib
43773 maybe-distclean-target-newlib: distclean-target-newlib
43775 distclean-target-newlib:
43776 @: $(MAKE); $(unstage)
43777 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43778 r=`${PWD_COMMAND}`; export r; \
43779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43780 $(NORMAL_TARGET_EXPORTS) \
43781 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
43782 for flag in $(EXTRA_TARGET_FLAGS); do \
43783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43784 done; \
43785 (cd $(TARGET_SUBDIR)/newlib && \
43786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43788 "RANLIB=$${RANLIB}" \
43789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43790 distclean) \
43791 || exit 1
43793 @endif target-newlib
43795 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
43796 maybe-maintainer-clean-target-newlib:
43797 @if target-newlib
43798 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
43800 maintainer-clean-target-newlib:
43801 @: $(MAKE); $(unstage)
43802 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
43803 r=`${PWD_COMMAND}`; export r; \
43804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43805 $(NORMAL_TARGET_EXPORTS) \
43806 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
43807 for flag in $(EXTRA_TARGET_FLAGS); do \
43808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43809 done; \
43810 (cd $(TARGET_SUBDIR)/newlib && \
43811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43813 "RANLIB=$${RANLIB}" \
43814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43815 maintainer-clean) \
43816 || exit 1
43818 @endif target-newlib
43824 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
43825 maybe-configure-target-libgcc:
43826 @if gcc-bootstrap
43827 configure-target-libgcc: stage_current
43828 @endif gcc-bootstrap
43829 @if target-libgcc
43830 maybe-configure-target-libgcc: configure-target-libgcc
43831 configure-target-libgcc:
43832 @r=`${PWD_COMMAND}`; export r; \
43833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43834 echo "Checking multilib configuration for libgcc..."; \
43835 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
43836 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
43837 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43838 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43839 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43840 else \
43841 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43842 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43843 fi; \
43844 else \
43845 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43846 fi; \
43847 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43848 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
43849 $(NORMAL_TARGET_EXPORTS) \
43850 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
43851 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
43852 case $(srcdir) in \
43853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43854 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43856 esac; \
43857 srcdiroption="--srcdir=$${topdir}/libgcc"; \
43858 libsrcdir="$$s/libgcc"; \
43859 rm -f no-such-file || : ; \
43860 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43861 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43862 --target=${target_alias} $${srcdiroption} \
43863 || exit 1
43864 @endif target-libgcc
43868 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
43869 maybe-configure-stage1-target-libgcc:
43870 @if target-libgcc-bootstrap
43871 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
43872 configure-stage1-target-libgcc:
43873 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43874 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43875 @r=`${PWD_COMMAND}`; export r; \
43876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43877 TFLAGS="$(STAGE1_TFLAGS)"; \
43878 echo "Checking multilib configuration for libgcc..."; \
43879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
43880 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43881 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43882 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43883 else \
43884 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43885 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43886 fi; \
43887 else \
43888 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43889 fi; \
43890 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43891 $(NORMAL_TARGET_EXPORTS) \
43892 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43893 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43894 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43895 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
43896 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
43897 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43898 case $(srcdir) in \
43899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43900 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43902 esac; \
43903 srcdiroption="--srcdir=$${topdir}/libgcc"; \
43904 libsrcdir="$$s/libgcc"; \
43905 $(SHELL) $${libsrcdir}/configure \
43906 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43907 --target=${target_alias} $${srcdiroption} \
43908 $(STAGE1_CONFIGURE_FLAGS)
43909 @endif target-libgcc-bootstrap
43911 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
43912 maybe-configure-stage2-target-libgcc:
43913 @if target-libgcc-bootstrap
43914 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
43915 configure-stage2-target-libgcc:
43916 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43917 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43918 @r=`${PWD_COMMAND}`; export r; \
43919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43920 TFLAGS="$(STAGE2_TFLAGS)"; \
43921 echo "Checking multilib configuration for libgcc..."; \
43922 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
43923 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43924 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43925 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43926 else \
43927 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43928 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43929 fi; \
43930 else \
43931 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43932 fi; \
43933 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43934 $(NORMAL_TARGET_EXPORTS) \
43936 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43937 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43938 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43939 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
43940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
43941 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43942 case $(srcdir) in \
43943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43944 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43946 esac; \
43947 srcdiroption="--srcdir=$${topdir}/libgcc"; \
43948 libsrcdir="$$s/libgcc"; \
43949 $(SHELL) $${libsrcdir}/configure \
43950 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43951 --target=${target_alias} $${srcdiroption} \
43952 --with-build-libsubdir=$(HOST_SUBDIR) \
43953 $(STAGE2_CONFIGURE_FLAGS)
43954 @endif target-libgcc-bootstrap
43956 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
43957 maybe-configure-stage3-target-libgcc:
43958 @if target-libgcc-bootstrap
43959 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
43960 configure-stage3-target-libgcc:
43961 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43962 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43963 @r=`${PWD_COMMAND}`; export r; \
43964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43965 TFLAGS="$(STAGE3_TFLAGS)"; \
43966 echo "Checking multilib configuration for libgcc..."; \
43967 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
43968 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43969 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43970 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43971 else \
43972 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43973 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43974 fi; \
43975 else \
43976 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43977 fi; \
43978 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43979 $(NORMAL_TARGET_EXPORTS) \
43981 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43982 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43983 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43984 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
43985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
43986 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43987 case $(srcdir) in \
43988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43989 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43991 esac; \
43992 srcdiroption="--srcdir=$${topdir}/libgcc"; \
43993 libsrcdir="$$s/libgcc"; \
43994 $(SHELL) $${libsrcdir}/configure \
43995 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43996 --target=${target_alias} $${srcdiroption} \
43997 --with-build-libsubdir=$(HOST_SUBDIR) \
43998 $(STAGE3_CONFIGURE_FLAGS)
43999 @endif target-libgcc-bootstrap
44001 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
44002 maybe-configure-stage4-target-libgcc:
44003 @if target-libgcc-bootstrap
44004 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
44005 configure-stage4-target-libgcc:
44006 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44007 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44008 @r=`${PWD_COMMAND}`; export r; \
44009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44010 TFLAGS="$(STAGE4_TFLAGS)"; \
44011 echo "Checking multilib configuration for libgcc..."; \
44012 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44013 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44014 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44015 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44016 else \
44017 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44018 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44019 fi; \
44020 else \
44021 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44022 fi; \
44023 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44024 $(NORMAL_TARGET_EXPORTS) \
44026 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44027 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44028 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44029 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
44030 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44031 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44032 case $(srcdir) in \
44033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44034 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44036 esac; \
44037 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44038 libsrcdir="$$s/libgcc"; \
44039 $(SHELL) $${libsrcdir}/configure \
44040 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44041 --target=${target_alias} $${srcdiroption} \
44042 --with-build-libsubdir=$(HOST_SUBDIR) \
44043 $(STAGE4_CONFIGURE_FLAGS)
44044 @endif target-libgcc-bootstrap
44046 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
44047 maybe-configure-stageprofile-target-libgcc:
44048 @if target-libgcc-bootstrap
44049 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44050 configure-stageprofile-target-libgcc:
44051 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44052 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44053 @r=`${PWD_COMMAND}`; export r; \
44054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44055 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44056 echo "Checking multilib configuration for libgcc..."; \
44057 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44058 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44059 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44060 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44061 else \
44062 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44063 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44064 fi; \
44065 else \
44066 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44067 fi; \
44068 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44069 $(NORMAL_TARGET_EXPORTS) \
44071 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44072 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44073 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44074 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
44075 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44076 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44077 case $(srcdir) in \
44078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44079 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44081 esac; \
44082 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44083 libsrcdir="$$s/libgcc"; \
44084 $(SHELL) $${libsrcdir}/configure \
44085 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44086 --target=${target_alias} $${srcdiroption} \
44087 --with-build-libsubdir=$(HOST_SUBDIR) \
44088 $(STAGEprofile_CONFIGURE_FLAGS)
44089 @endif target-libgcc-bootstrap
44091 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
44092 maybe-configure-stagefeedback-target-libgcc:
44093 @if target-libgcc-bootstrap
44094 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
44095 configure-stagefeedback-target-libgcc:
44096 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44097 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44098 @r=`${PWD_COMMAND}`; export r; \
44099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44100 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44101 echo "Checking multilib configuration for libgcc..."; \
44102 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44103 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44104 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44105 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44106 else \
44107 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44108 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44109 fi; \
44110 else \
44111 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44112 fi; \
44113 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44114 $(NORMAL_TARGET_EXPORTS) \
44116 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44117 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44118 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44119 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
44120 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44121 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44122 case $(srcdir) in \
44123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44124 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44126 esac; \
44127 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44128 libsrcdir="$$s/libgcc"; \
44129 $(SHELL) $${libsrcdir}/configure \
44130 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44131 --target=${target_alias} $${srcdiroption} \
44132 --with-build-libsubdir=$(HOST_SUBDIR) \
44133 $(STAGEfeedback_CONFIGURE_FLAGS)
44134 @endif target-libgcc-bootstrap
44140 .PHONY: all-target-libgcc maybe-all-target-libgcc
44141 maybe-all-target-libgcc:
44142 @if gcc-bootstrap
44143 all-target-libgcc: stage_current
44144 @endif gcc-bootstrap
44145 @if target-libgcc
44146 TARGET-target-libgcc=all
44147 maybe-all-target-libgcc: all-target-libgcc
44148 all-target-libgcc: configure-target-libgcc
44149 @r=`${PWD_COMMAND}`; export r; \
44150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44151 $(NORMAL_TARGET_EXPORTS) \
44152 (cd $(TARGET_SUBDIR)/libgcc && \
44153 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44154 $(TARGET-target-libgcc))
44155 @endif target-libgcc
44159 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
44160 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
44161 maybe-all-stage1-target-libgcc:
44162 maybe-clean-stage1-target-libgcc:
44163 @if target-libgcc-bootstrap
44164 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
44165 all-stage1: all-stage1-target-libgcc
44166 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
44167 all-stage1-target-libgcc: configure-stage1-target-libgcc
44168 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44169 @r=`${PWD_COMMAND}`; export r; \
44170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44171 TFLAGS="$(STAGE1_TFLAGS)"; \
44172 $(NORMAL_TARGET_EXPORTS) \
44173 cd $(TARGET_SUBDIR)/libgcc && \
44174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44175 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44176 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44177 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44181 $(EXTRA_TARGET_FLAGS) \
44182 TFLAGS="$(STAGE1_TFLAGS)" \
44183 $(TARGET-stage1-target-libgcc)
44185 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
44186 clean-stage1: clean-stage1-target-libgcc
44187 clean-stage1-target-libgcc:
44188 @if [ $(current_stage) = stage1 ]; then \
44189 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44190 else \
44191 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
44192 $(MAKE) stage1-start; \
44193 fi; \
44194 cd $(TARGET_SUBDIR)/libgcc && \
44195 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44196 clean
44197 @endif target-libgcc-bootstrap
44200 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
44201 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
44202 maybe-all-stage2-target-libgcc:
44203 maybe-clean-stage2-target-libgcc:
44204 @if target-libgcc-bootstrap
44205 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
44206 all-stage2: all-stage2-target-libgcc
44207 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
44208 all-stage2-target-libgcc: configure-stage2-target-libgcc
44209 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44210 @r=`${PWD_COMMAND}`; export r; \
44211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44212 TFLAGS="$(STAGE2_TFLAGS)"; \
44213 $(NORMAL_TARGET_EXPORTS) \
44215 cd $(TARGET_SUBDIR)/libgcc && \
44216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44217 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44218 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44219 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44223 $(EXTRA_TARGET_FLAGS) \
44224 TFLAGS="$(STAGE2_TFLAGS)" \
44225 $(TARGET-stage2-target-libgcc)
44227 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
44228 clean-stage2: clean-stage2-target-libgcc
44229 clean-stage2-target-libgcc:
44230 @if [ $(current_stage) = stage2 ]; then \
44231 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44232 else \
44233 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
44234 $(MAKE) stage2-start; \
44235 fi; \
44236 cd $(TARGET_SUBDIR)/libgcc && \
44237 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44239 clean
44240 @endif target-libgcc-bootstrap
44243 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
44244 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
44245 maybe-all-stage3-target-libgcc:
44246 maybe-clean-stage3-target-libgcc:
44247 @if target-libgcc-bootstrap
44248 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
44249 all-stage3: all-stage3-target-libgcc
44250 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
44251 all-stage3-target-libgcc: configure-stage3-target-libgcc
44252 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44253 @r=`${PWD_COMMAND}`; export r; \
44254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44255 TFLAGS="$(STAGE3_TFLAGS)"; \
44256 $(NORMAL_TARGET_EXPORTS) \
44258 cd $(TARGET_SUBDIR)/libgcc && \
44259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44260 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44261 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44262 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44266 $(EXTRA_TARGET_FLAGS) \
44267 TFLAGS="$(STAGE3_TFLAGS)" \
44268 $(TARGET-stage3-target-libgcc)
44270 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
44271 clean-stage3: clean-stage3-target-libgcc
44272 clean-stage3-target-libgcc:
44273 @if [ $(current_stage) = stage3 ]; then \
44274 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44275 else \
44276 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
44277 $(MAKE) stage3-start; \
44278 fi; \
44279 cd $(TARGET_SUBDIR)/libgcc && \
44280 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44282 clean
44283 @endif target-libgcc-bootstrap
44286 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
44287 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
44288 maybe-all-stage4-target-libgcc:
44289 maybe-clean-stage4-target-libgcc:
44290 @if target-libgcc-bootstrap
44291 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
44292 all-stage4: all-stage4-target-libgcc
44293 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
44294 all-stage4-target-libgcc: configure-stage4-target-libgcc
44295 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44296 @r=`${PWD_COMMAND}`; export r; \
44297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44298 TFLAGS="$(STAGE4_TFLAGS)"; \
44299 $(NORMAL_TARGET_EXPORTS) \
44301 cd $(TARGET_SUBDIR)/libgcc && \
44302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44303 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44304 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44305 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44306 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44307 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44308 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44309 $(EXTRA_TARGET_FLAGS) \
44310 TFLAGS="$(STAGE4_TFLAGS)" \
44311 $(TARGET-stage4-target-libgcc)
44313 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
44314 clean-stage4: clean-stage4-target-libgcc
44315 clean-stage4-target-libgcc:
44316 @if [ $(current_stage) = stage4 ]; then \
44317 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44318 else \
44319 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
44320 $(MAKE) stage4-start; \
44321 fi; \
44322 cd $(TARGET_SUBDIR)/libgcc && \
44323 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44325 clean
44326 @endif target-libgcc-bootstrap
44329 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
44330 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
44331 maybe-all-stageprofile-target-libgcc:
44332 maybe-clean-stageprofile-target-libgcc:
44333 @if target-libgcc-bootstrap
44334 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
44335 all-stageprofile: all-stageprofile-target-libgcc
44336 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
44337 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44338 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44339 @r=`${PWD_COMMAND}`; export r; \
44340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44341 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44342 $(NORMAL_TARGET_EXPORTS) \
44344 cd $(TARGET_SUBDIR)/libgcc && \
44345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44346 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44347 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44348 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44352 $(EXTRA_TARGET_FLAGS) \
44353 TFLAGS="$(STAGEprofile_TFLAGS)" \
44354 $(TARGET-stageprofile-target-libgcc)
44356 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
44357 clean-stageprofile: clean-stageprofile-target-libgcc
44358 clean-stageprofile-target-libgcc:
44359 @if [ $(current_stage) = stageprofile ]; then \
44360 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44361 else \
44362 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
44363 $(MAKE) stageprofile-start; \
44364 fi; \
44365 cd $(TARGET_SUBDIR)/libgcc && \
44366 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44368 clean
44369 @endif target-libgcc-bootstrap
44372 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
44373 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
44374 maybe-all-stagefeedback-target-libgcc:
44375 maybe-clean-stagefeedback-target-libgcc:
44376 @if target-libgcc-bootstrap
44377 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
44378 all-stagefeedback: all-stagefeedback-target-libgcc
44379 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
44380 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
44381 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44382 @r=`${PWD_COMMAND}`; export r; \
44383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44384 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44385 $(NORMAL_TARGET_EXPORTS) \
44387 cd $(TARGET_SUBDIR)/libgcc && \
44388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44389 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44390 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44391 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44392 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44393 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44394 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44395 $(EXTRA_TARGET_FLAGS) \
44396 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44397 $(TARGET-stagefeedback-target-libgcc)
44399 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
44400 clean-stagefeedback: clean-stagefeedback-target-libgcc
44401 clean-stagefeedback-target-libgcc:
44402 @if [ $(current_stage) = stagefeedback ]; then \
44403 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44404 else \
44405 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
44406 $(MAKE) stagefeedback-start; \
44407 fi; \
44408 cd $(TARGET_SUBDIR)/libgcc && \
44409 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44411 clean
44412 @endif target-libgcc-bootstrap
44419 .PHONY: check-target-libgcc maybe-check-target-libgcc
44420 maybe-check-target-libgcc:
44421 @if target-libgcc
44422 maybe-check-target-libgcc: check-target-libgcc
44424 # Dummy target for uncheckable module.
44425 check-target-libgcc:
44427 @endif target-libgcc
44429 .PHONY: install-target-libgcc maybe-install-target-libgcc
44430 maybe-install-target-libgcc:
44431 @if target-libgcc
44432 maybe-install-target-libgcc: install-target-libgcc
44434 install-target-libgcc: installdirs
44435 @: $(MAKE); $(unstage)
44436 @r=`${PWD_COMMAND}`; export r; \
44437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44438 $(NORMAL_TARGET_EXPORTS) \
44439 (cd $(TARGET_SUBDIR)/libgcc && \
44440 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44442 @endif target-libgcc
44444 # Other targets (info, dvi, pdf, etc.)
44446 .PHONY: maybe-info-target-libgcc info-target-libgcc
44447 maybe-info-target-libgcc:
44448 @if target-libgcc
44449 maybe-info-target-libgcc: info-target-libgcc
44451 info-target-libgcc: \
44452 configure-target-libgcc
44453 @: $(MAKE); $(unstage)
44454 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44455 r=`${PWD_COMMAND}`; export r; \
44456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44457 $(NORMAL_TARGET_EXPORTS) \
44458 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
44459 for flag in $(EXTRA_TARGET_FLAGS); do \
44460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44461 done; \
44462 (cd $(TARGET_SUBDIR)/libgcc && \
44463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44465 "RANLIB=$${RANLIB}" \
44466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44467 info) \
44468 || exit 1
44470 @endif target-libgcc
44472 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
44473 maybe-dvi-target-libgcc:
44474 @if target-libgcc
44475 maybe-dvi-target-libgcc: dvi-target-libgcc
44477 dvi-target-libgcc: \
44478 configure-target-libgcc
44479 @: $(MAKE); $(unstage)
44480 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44481 r=`${PWD_COMMAND}`; export r; \
44482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44483 $(NORMAL_TARGET_EXPORTS) \
44484 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
44485 for flag in $(EXTRA_TARGET_FLAGS); do \
44486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44487 done; \
44488 (cd $(TARGET_SUBDIR)/libgcc && \
44489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44491 "RANLIB=$${RANLIB}" \
44492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44493 dvi) \
44494 || exit 1
44496 @endif target-libgcc
44498 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
44499 maybe-pdf-target-libgcc:
44500 @if target-libgcc
44501 maybe-pdf-target-libgcc: pdf-target-libgcc
44503 pdf-target-libgcc: \
44504 configure-target-libgcc
44505 @: $(MAKE); $(unstage)
44506 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44507 r=`${PWD_COMMAND}`; export r; \
44508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44509 $(NORMAL_TARGET_EXPORTS) \
44510 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
44511 for flag in $(EXTRA_TARGET_FLAGS); do \
44512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44513 done; \
44514 (cd $(TARGET_SUBDIR)/libgcc && \
44515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44517 "RANLIB=$${RANLIB}" \
44518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44519 pdf) \
44520 || exit 1
44522 @endif target-libgcc
44524 .PHONY: maybe-html-target-libgcc html-target-libgcc
44525 maybe-html-target-libgcc:
44526 @if target-libgcc
44527 maybe-html-target-libgcc: html-target-libgcc
44529 html-target-libgcc: \
44530 configure-target-libgcc
44531 @: $(MAKE); $(unstage)
44532 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44533 r=`${PWD_COMMAND}`; export r; \
44534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44535 $(NORMAL_TARGET_EXPORTS) \
44536 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
44537 for flag in $(EXTRA_TARGET_FLAGS); do \
44538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44539 done; \
44540 (cd $(TARGET_SUBDIR)/libgcc && \
44541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44543 "RANLIB=$${RANLIB}" \
44544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44545 html) \
44546 || exit 1
44548 @endif target-libgcc
44550 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
44551 maybe-TAGS-target-libgcc:
44552 @if target-libgcc
44553 maybe-TAGS-target-libgcc: TAGS-target-libgcc
44555 TAGS-target-libgcc: \
44556 configure-target-libgcc
44557 @: $(MAKE); $(unstage)
44558 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44559 r=`${PWD_COMMAND}`; export r; \
44560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44561 $(NORMAL_TARGET_EXPORTS) \
44562 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
44563 for flag in $(EXTRA_TARGET_FLAGS); do \
44564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44565 done; \
44566 (cd $(TARGET_SUBDIR)/libgcc && \
44567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44569 "RANLIB=$${RANLIB}" \
44570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44571 TAGS) \
44572 || exit 1
44574 @endif target-libgcc
44576 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
44577 maybe-install-info-target-libgcc:
44578 @if target-libgcc
44579 maybe-install-info-target-libgcc: install-info-target-libgcc
44581 install-info-target-libgcc: \
44582 configure-target-libgcc \
44583 info-target-libgcc
44584 @: $(MAKE); $(unstage)
44585 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44586 r=`${PWD_COMMAND}`; export r; \
44587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44588 $(NORMAL_TARGET_EXPORTS) \
44589 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
44590 for flag in $(EXTRA_TARGET_FLAGS); do \
44591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44592 done; \
44593 (cd $(TARGET_SUBDIR)/libgcc && \
44594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44596 "RANLIB=$${RANLIB}" \
44597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44598 install-info) \
44599 || exit 1
44601 @endif target-libgcc
44603 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
44604 maybe-install-pdf-target-libgcc:
44605 @if target-libgcc
44606 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
44608 install-pdf-target-libgcc: \
44609 configure-target-libgcc \
44610 pdf-target-libgcc
44611 @: $(MAKE); $(unstage)
44612 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44613 r=`${PWD_COMMAND}`; export r; \
44614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44615 $(NORMAL_TARGET_EXPORTS) \
44616 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
44617 for flag in $(EXTRA_TARGET_FLAGS); do \
44618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44619 done; \
44620 (cd $(TARGET_SUBDIR)/libgcc && \
44621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44623 "RANLIB=$${RANLIB}" \
44624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44625 install-pdf) \
44626 || exit 1
44628 @endif target-libgcc
44630 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
44631 maybe-install-html-target-libgcc:
44632 @if target-libgcc
44633 maybe-install-html-target-libgcc: install-html-target-libgcc
44635 install-html-target-libgcc: \
44636 configure-target-libgcc \
44637 html-target-libgcc
44638 @: $(MAKE); $(unstage)
44639 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44640 r=`${PWD_COMMAND}`; export r; \
44641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44642 $(NORMAL_TARGET_EXPORTS) \
44643 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
44644 for flag in $(EXTRA_TARGET_FLAGS); do \
44645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44646 done; \
44647 (cd $(TARGET_SUBDIR)/libgcc && \
44648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44650 "RANLIB=$${RANLIB}" \
44651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44652 install-html) \
44653 || exit 1
44655 @endif target-libgcc
44657 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
44658 maybe-installcheck-target-libgcc:
44659 @if target-libgcc
44660 maybe-installcheck-target-libgcc: installcheck-target-libgcc
44662 installcheck-target-libgcc: \
44663 configure-target-libgcc
44664 @: $(MAKE); $(unstage)
44665 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44666 r=`${PWD_COMMAND}`; export r; \
44667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44668 $(NORMAL_TARGET_EXPORTS) \
44669 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
44670 for flag in $(EXTRA_TARGET_FLAGS); do \
44671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44672 done; \
44673 (cd $(TARGET_SUBDIR)/libgcc && \
44674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44676 "RANLIB=$${RANLIB}" \
44677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44678 installcheck) \
44679 || exit 1
44681 @endif target-libgcc
44683 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
44684 maybe-mostlyclean-target-libgcc:
44685 @if target-libgcc
44686 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
44688 mostlyclean-target-libgcc:
44689 @: $(MAKE); $(unstage)
44690 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44691 r=`${PWD_COMMAND}`; export r; \
44692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44693 $(NORMAL_TARGET_EXPORTS) \
44694 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
44695 for flag in $(EXTRA_TARGET_FLAGS); do \
44696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44697 done; \
44698 (cd $(TARGET_SUBDIR)/libgcc && \
44699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44701 "RANLIB=$${RANLIB}" \
44702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44703 mostlyclean) \
44704 || exit 1
44706 @endif target-libgcc
44708 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
44709 maybe-clean-target-libgcc:
44710 @if target-libgcc
44711 maybe-clean-target-libgcc: clean-target-libgcc
44713 clean-target-libgcc:
44714 @: $(MAKE); $(unstage)
44715 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44716 r=`${PWD_COMMAND}`; export r; \
44717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44718 $(NORMAL_TARGET_EXPORTS) \
44719 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
44720 for flag in $(EXTRA_TARGET_FLAGS); do \
44721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44722 done; \
44723 (cd $(TARGET_SUBDIR)/libgcc && \
44724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44726 "RANLIB=$${RANLIB}" \
44727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44728 clean) \
44729 || exit 1
44731 @endif target-libgcc
44733 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
44734 maybe-distclean-target-libgcc:
44735 @if target-libgcc
44736 maybe-distclean-target-libgcc: distclean-target-libgcc
44738 distclean-target-libgcc:
44739 @: $(MAKE); $(unstage)
44740 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44741 r=`${PWD_COMMAND}`; export r; \
44742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44743 $(NORMAL_TARGET_EXPORTS) \
44744 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
44745 for flag in $(EXTRA_TARGET_FLAGS); do \
44746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44747 done; \
44748 (cd $(TARGET_SUBDIR)/libgcc && \
44749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44751 "RANLIB=$${RANLIB}" \
44752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44753 distclean) \
44754 || exit 1
44756 @endif target-libgcc
44758 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
44759 maybe-maintainer-clean-target-libgcc:
44760 @if target-libgcc
44761 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
44763 maintainer-clean-target-libgcc:
44764 @: $(MAKE); $(unstage)
44765 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
44766 r=`${PWD_COMMAND}`; export r; \
44767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44768 $(NORMAL_TARGET_EXPORTS) \
44769 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
44770 for flag in $(EXTRA_TARGET_FLAGS); do \
44771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44772 done; \
44773 (cd $(TARGET_SUBDIR)/libgcc && \
44774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44776 "RANLIB=$${RANLIB}" \
44777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44778 maintainer-clean) \
44779 || exit 1
44781 @endif target-libgcc
44787 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
44788 maybe-configure-target-libgfortran:
44789 @if gcc-bootstrap
44790 configure-target-libgfortran: stage_current
44791 @endif gcc-bootstrap
44792 @if target-libgfortran
44793 maybe-configure-target-libgfortran: configure-target-libgfortran
44794 configure-target-libgfortran:
44795 @: $(MAKE); $(unstage)
44796 @r=`${PWD_COMMAND}`; export r; \
44797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44798 echo "Checking multilib configuration for libgfortran..."; \
44799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
44800 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
44801 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44802 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44803 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
44804 else \
44805 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
44806 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44807 fi; \
44808 else \
44809 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44810 fi; \
44811 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
44812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
44813 $(NORMAL_TARGET_EXPORTS) \
44814 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
44815 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
44816 case $(srcdir) in \
44817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44818 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
44819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44820 esac; \
44821 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
44822 libsrcdir="$$s/libgfortran"; \
44823 rm -f no-such-file || : ; \
44824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44825 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44826 --target=${target_alias} $${srcdiroption} \
44827 || exit 1
44828 @endif target-libgfortran
44834 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
44835 maybe-all-target-libgfortran:
44836 @if gcc-bootstrap
44837 all-target-libgfortran: stage_current
44838 @endif gcc-bootstrap
44839 @if target-libgfortran
44840 TARGET-target-libgfortran=all
44841 maybe-all-target-libgfortran: all-target-libgfortran
44842 all-target-libgfortran: configure-target-libgfortran
44843 @: $(MAKE); $(unstage)
44844 @r=`${PWD_COMMAND}`; export r; \
44845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44846 $(NORMAL_TARGET_EXPORTS) \
44847 (cd $(TARGET_SUBDIR)/libgfortran && \
44848 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44849 $(TARGET-target-libgfortran))
44850 @endif target-libgfortran
44856 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
44857 maybe-check-target-libgfortran:
44858 @if target-libgfortran
44859 maybe-check-target-libgfortran: check-target-libgfortran
44861 check-target-libgfortran:
44862 @: $(MAKE); $(unstage)
44863 @r=`${PWD_COMMAND}`; export r; \
44864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44865 $(NORMAL_TARGET_EXPORTS) \
44866 (cd $(TARGET_SUBDIR)/libgfortran && \
44867 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44869 @endif target-libgfortran
44871 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
44872 maybe-install-target-libgfortran:
44873 @if target-libgfortran
44874 maybe-install-target-libgfortran: install-target-libgfortran
44876 install-target-libgfortran: installdirs
44877 @: $(MAKE); $(unstage)
44878 @r=`${PWD_COMMAND}`; export r; \
44879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44880 $(NORMAL_TARGET_EXPORTS) \
44881 (cd $(TARGET_SUBDIR)/libgfortran && \
44882 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44884 @endif target-libgfortran
44886 # Other targets (info, dvi, pdf, etc.)
44888 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
44889 maybe-info-target-libgfortran:
44890 @if target-libgfortran
44891 maybe-info-target-libgfortran: info-target-libgfortran
44893 info-target-libgfortran: \
44894 configure-target-libgfortran
44895 @: $(MAKE); $(unstage)
44896 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
44897 r=`${PWD_COMMAND}`; export r; \
44898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44899 $(NORMAL_TARGET_EXPORTS) \
44900 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
44901 for flag in $(EXTRA_TARGET_FLAGS); do \
44902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44903 done; \
44904 (cd $(TARGET_SUBDIR)/libgfortran && \
44905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44907 "RANLIB=$${RANLIB}" \
44908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44909 info) \
44910 || exit 1
44912 @endif target-libgfortran
44914 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
44915 maybe-dvi-target-libgfortran:
44916 @if target-libgfortran
44917 maybe-dvi-target-libgfortran: dvi-target-libgfortran
44919 dvi-target-libgfortran: \
44920 configure-target-libgfortran
44921 @: $(MAKE); $(unstage)
44922 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
44923 r=`${PWD_COMMAND}`; export r; \
44924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44925 $(NORMAL_TARGET_EXPORTS) \
44926 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
44927 for flag in $(EXTRA_TARGET_FLAGS); do \
44928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44929 done; \
44930 (cd $(TARGET_SUBDIR)/libgfortran && \
44931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44933 "RANLIB=$${RANLIB}" \
44934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44935 dvi) \
44936 || exit 1
44938 @endif target-libgfortran
44940 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
44941 maybe-pdf-target-libgfortran:
44942 @if target-libgfortran
44943 maybe-pdf-target-libgfortran: pdf-target-libgfortran
44945 pdf-target-libgfortran: \
44946 configure-target-libgfortran
44947 @: $(MAKE); $(unstage)
44948 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
44949 r=`${PWD_COMMAND}`; export r; \
44950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44951 $(NORMAL_TARGET_EXPORTS) \
44952 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
44953 for flag in $(EXTRA_TARGET_FLAGS); do \
44954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44955 done; \
44956 (cd $(TARGET_SUBDIR)/libgfortran && \
44957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44959 "RANLIB=$${RANLIB}" \
44960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44961 pdf) \
44962 || exit 1
44964 @endif target-libgfortran
44966 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
44967 maybe-html-target-libgfortran:
44968 @if target-libgfortran
44969 maybe-html-target-libgfortran: html-target-libgfortran
44971 html-target-libgfortran: \
44972 configure-target-libgfortran
44973 @: $(MAKE); $(unstage)
44974 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
44975 r=`${PWD_COMMAND}`; export r; \
44976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44977 $(NORMAL_TARGET_EXPORTS) \
44978 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
44979 for flag in $(EXTRA_TARGET_FLAGS); do \
44980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44981 done; \
44982 (cd $(TARGET_SUBDIR)/libgfortran && \
44983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44985 "RANLIB=$${RANLIB}" \
44986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44987 html) \
44988 || exit 1
44990 @endif target-libgfortran
44992 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
44993 maybe-TAGS-target-libgfortran:
44994 @if target-libgfortran
44995 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
44997 TAGS-target-libgfortran: \
44998 configure-target-libgfortran
44999 @: $(MAKE); $(unstage)
45000 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45001 r=`${PWD_COMMAND}`; export r; \
45002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45003 $(NORMAL_TARGET_EXPORTS) \
45004 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
45005 for flag in $(EXTRA_TARGET_FLAGS); do \
45006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45007 done; \
45008 (cd $(TARGET_SUBDIR)/libgfortran && \
45009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45011 "RANLIB=$${RANLIB}" \
45012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45013 TAGS) \
45014 || exit 1
45016 @endif target-libgfortran
45018 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
45019 maybe-install-info-target-libgfortran:
45020 @if target-libgfortran
45021 maybe-install-info-target-libgfortran: install-info-target-libgfortran
45023 install-info-target-libgfortran: \
45024 configure-target-libgfortran \
45025 info-target-libgfortran
45026 @: $(MAKE); $(unstage)
45027 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45028 r=`${PWD_COMMAND}`; export r; \
45029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45030 $(NORMAL_TARGET_EXPORTS) \
45031 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
45032 for flag in $(EXTRA_TARGET_FLAGS); do \
45033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45034 done; \
45035 (cd $(TARGET_SUBDIR)/libgfortran && \
45036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45038 "RANLIB=$${RANLIB}" \
45039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45040 install-info) \
45041 || exit 1
45043 @endif target-libgfortran
45045 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45046 maybe-install-pdf-target-libgfortran:
45047 @if target-libgfortran
45048 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45050 install-pdf-target-libgfortran: \
45051 configure-target-libgfortran \
45052 pdf-target-libgfortran
45053 @: $(MAKE); $(unstage)
45054 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45055 r=`${PWD_COMMAND}`; export r; \
45056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45057 $(NORMAL_TARGET_EXPORTS) \
45058 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
45059 for flag in $(EXTRA_TARGET_FLAGS); do \
45060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45061 done; \
45062 (cd $(TARGET_SUBDIR)/libgfortran && \
45063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45065 "RANLIB=$${RANLIB}" \
45066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45067 install-pdf) \
45068 || exit 1
45070 @endif target-libgfortran
45072 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45073 maybe-install-html-target-libgfortran:
45074 @if target-libgfortran
45075 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45077 install-html-target-libgfortran: \
45078 configure-target-libgfortran \
45079 html-target-libgfortran
45080 @: $(MAKE); $(unstage)
45081 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45082 r=`${PWD_COMMAND}`; export r; \
45083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45084 $(NORMAL_TARGET_EXPORTS) \
45085 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
45086 for flag in $(EXTRA_TARGET_FLAGS); do \
45087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45088 done; \
45089 (cd $(TARGET_SUBDIR)/libgfortran && \
45090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45092 "RANLIB=$${RANLIB}" \
45093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45094 install-html) \
45095 || exit 1
45097 @endif target-libgfortran
45099 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45100 maybe-installcheck-target-libgfortran:
45101 @if target-libgfortran
45102 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45104 installcheck-target-libgfortran: \
45105 configure-target-libgfortran
45106 @: $(MAKE); $(unstage)
45107 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45108 r=`${PWD_COMMAND}`; export r; \
45109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45110 $(NORMAL_TARGET_EXPORTS) \
45111 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
45112 for flag in $(EXTRA_TARGET_FLAGS); do \
45113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45114 done; \
45115 (cd $(TARGET_SUBDIR)/libgfortran && \
45116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45118 "RANLIB=$${RANLIB}" \
45119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45120 installcheck) \
45121 || exit 1
45123 @endif target-libgfortran
45125 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45126 maybe-mostlyclean-target-libgfortran:
45127 @if target-libgfortran
45128 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45130 mostlyclean-target-libgfortran:
45131 @: $(MAKE); $(unstage)
45132 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45133 r=`${PWD_COMMAND}`; export r; \
45134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45135 $(NORMAL_TARGET_EXPORTS) \
45136 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
45137 for flag in $(EXTRA_TARGET_FLAGS); do \
45138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45139 done; \
45140 (cd $(TARGET_SUBDIR)/libgfortran && \
45141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45143 "RANLIB=$${RANLIB}" \
45144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45145 mostlyclean) \
45146 || exit 1
45148 @endif target-libgfortran
45150 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45151 maybe-clean-target-libgfortran:
45152 @if target-libgfortran
45153 maybe-clean-target-libgfortran: clean-target-libgfortran
45155 clean-target-libgfortran:
45156 @: $(MAKE); $(unstage)
45157 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45158 r=`${PWD_COMMAND}`; export r; \
45159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45160 $(NORMAL_TARGET_EXPORTS) \
45161 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
45162 for flag in $(EXTRA_TARGET_FLAGS); do \
45163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45164 done; \
45165 (cd $(TARGET_SUBDIR)/libgfortran && \
45166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45168 "RANLIB=$${RANLIB}" \
45169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45170 clean) \
45171 || exit 1
45173 @endif target-libgfortran
45175 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45176 maybe-distclean-target-libgfortran:
45177 @if target-libgfortran
45178 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45180 distclean-target-libgfortran:
45181 @: $(MAKE); $(unstage)
45182 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45183 r=`${PWD_COMMAND}`; export r; \
45184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45185 $(NORMAL_TARGET_EXPORTS) \
45186 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
45187 for flag in $(EXTRA_TARGET_FLAGS); do \
45188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45189 done; \
45190 (cd $(TARGET_SUBDIR)/libgfortran && \
45191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45193 "RANLIB=$${RANLIB}" \
45194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45195 distclean) \
45196 || exit 1
45198 @endif target-libgfortran
45200 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45201 maybe-maintainer-clean-target-libgfortran:
45202 @if target-libgfortran
45203 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45205 maintainer-clean-target-libgfortran:
45206 @: $(MAKE); $(unstage)
45207 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45208 r=`${PWD_COMMAND}`; export r; \
45209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45210 $(NORMAL_TARGET_EXPORTS) \
45211 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
45212 for flag in $(EXTRA_TARGET_FLAGS); do \
45213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45214 done; \
45215 (cd $(TARGET_SUBDIR)/libgfortran && \
45216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45218 "RANLIB=$${RANLIB}" \
45219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45220 maintainer-clean) \
45221 || exit 1
45223 @endif target-libgfortran
45229 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45230 maybe-configure-target-libobjc:
45231 @if gcc-bootstrap
45232 configure-target-libobjc: stage_current
45233 @endif gcc-bootstrap
45234 @if target-libobjc
45235 maybe-configure-target-libobjc: configure-target-libobjc
45236 configure-target-libobjc:
45237 @: $(MAKE); $(unstage)
45238 @r=`${PWD_COMMAND}`; export r; \
45239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45240 echo "Checking multilib configuration for libobjc..."; \
45241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
45242 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
45243 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45244 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45245 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45246 else \
45247 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45248 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45249 fi; \
45250 else \
45251 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45252 fi; \
45253 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
45254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
45255 $(NORMAL_TARGET_EXPORTS) \
45256 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
45257 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
45258 case $(srcdir) in \
45259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45260 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
45261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45262 esac; \
45263 srcdiroption="--srcdir=$${topdir}/libobjc"; \
45264 libsrcdir="$$s/libobjc"; \
45265 rm -f no-such-file || : ; \
45266 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45267 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45268 --target=${target_alias} $${srcdiroption} \
45269 || exit 1
45270 @endif target-libobjc
45276 .PHONY: all-target-libobjc maybe-all-target-libobjc
45277 maybe-all-target-libobjc:
45278 @if gcc-bootstrap
45279 all-target-libobjc: stage_current
45280 @endif gcc-bootstrap
45281 @if target-libobjc
45282 TARGET-target-libobjc=all
45283 maybe-all-target-libobjc: all-target-libobjc
45284 all-target-libobjc: configure-target-libobjc
45285 @: $(MAKE); $(unstage)
45286 @r=`${PWD_COMMAND}`; export r; \
45287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45288 $(NORMAL_TARGET_EXPORTS) \
45289 (cd $(TARGET_SUBDIR)/libobjc && \
45290 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45291 $(TARGET-target-libobjc))
45292 @endif target-libobjc
45298 .PHONY: check-target-libobjc maybe-check-target-libobjc
45299 maybe-check-target-libobjc:
45300 @if target-libobjc
45301 maybe-check-target-libobjc: check-target-libobjc
45303 check-target-libobjc:
45304 @: $(MAKE); $(unstage)
45305 @r=`${PWD_COMMAND}`; export r; \
45306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45307 $(NORMAL_TARGET_EXPORTS) \
45308 (cd $(TARGET_SUBDIR)/libobjc && \
45309 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45311 @endif target-libobjc
45313 .PHONY: install-target-libobjc maybe-install-target-libobjc
45314 maybe-install-target-libobjc:
45315 @if target-libobjc
45316 maybe-install-target-libobjc: install-target-libobjc
45318 install-target-libobjc: installdirs
45319 @: $(MAKE); $(unstage)
45320 @r=`${PWD_COMMAND}`; export r; \
45321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45322 $(NORMAL_TARGET_EXPORTS) \
45323 (cd $(TARGET_SUBDIR)/libobjc && \
45324 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45326 @endif target-libobjc
45328 # Other targets (info, dvi, pdf, etc.)
45330 .PHONY: maybe-info-target-libobjc info-target-libobjc
45331 maybe-info-target-libobjc:
45332 @if target-libobjc
45333 maybe-info-target-libobjc: info-target-libobjc
45335 info-target-libobjc: \
45336 configure-target-libobjc
45337 @: $(MAKE); $(unstage)
45338 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45339 r=`${PWD_COMMAND}`; export r; \
45340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45341 $(NORMAL_TARGET_EXPORTS) \
45342 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
45343 for flag in $(EXTRA_TARGET_FLAGS); do \
45344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45345 done; \
45346 (cd $(TARGET_SUBDIR)/libobjc && \
45347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45349 "RANLIB=$${RANLIB}" \
45350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45351 info) \
45352 || exit 1
45354 @endif target-libobjc
45356 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
45357 maybe-dvi-target-libobjc:
45358 @if target-libobjc
45359 maybe-dvi-target-libobjc: dvi-target-libobjc
45361 dvi-target-libobjc: \
45362 configure-target-libobjc
45363 @: $(MAKE); $(unstage)
45364 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45365 r=`${PWD_COMMAND}`; export r; \
45366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45367 $(NORMAL_TARGET_EXPORTS) \
45368 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
45369 for flag in $(EXTRA_TARGET_FLAGS); do \
45370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45371 done; \
45372 (cd $(TARGET_SUBDIR)/libobjc && \
45373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45375 "RANLIB=$${RANLIB}" \
45376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45377 dvi) \
45378 || exit 1
45380 @endif target-libobjc
45382 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
45383 maybe-pdf-target-libobjc:
45384 @if target-libobjc
45385 maybe-pdf-target-libobjc: pdf-target-libobjc
45387 pdf-target-libobjc: \
45388 configure-target-libobjc
45389 @: $(MAKE); $(unstage)
45390 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45391 r=`${PWD_COMMAND}`; export r; \
45392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45393 $(NORMAL_TARGET_EXPORTS) \
45394 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
45395 for flag in $(EXTRA_TARGET_FLAGS); do \
45396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45397 done; \
45398 (cd $(TARGET_SUBDIR)/libobjc && \
45399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45401 "RANLIB=$${RANLIB}" \
45402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45403 pdf) \
45404 || exit 1
45406 @endif target-libobjc
45408 .PHONY: maybe-html-target-libobjc html-target-libobjc
45409 maybe-html-target-libobjc:
45410 @if target-libobjc
45411 maybe-html-target-libobjc: html-target-libobjc
45413 html-target-libobjc: \
45414 configure-target-libobjc
45415 @: $(MAKE); $(unstage)
45416 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45417 r=`${PWD_COMMAND}`; export r; \
45418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45419 $(NORMAL_TARGET_EXPORTS) \
45420 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
45421 for flag in $(EXTRA_TARGET_FLAGS); do \
45422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45423 done; \
45424 (cd $(TARGET_SUBDIR)/libobjc && \
45425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45427 "RANLIB=$${RANLIB}" \
45428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45429 html) \
45430 || exit 1
45432 @endif target-libobjc
45434 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
45435 maybe-TAGS-target-libobjc:
45436 @if target-libobjc
45437 maybe-TAGS-target-libobjc: TAGS-target-libobjc
45439 TAGS-target-libobjc: \
45440 configure-target-libobjc
45441 @: $(MAKE); $(unstage)
45442 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45443 r=`${PWD_COMMAND}`; export r; \
45444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45445 $(NORMAL_TARGET_EXPORTS) \
45446 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
45447 for flag in $(EXTRA_TARGET_FLAGS); do \
45448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45449 done; \
45450 (cd $(TARGET_SUBDIR)/libobjc && \
45451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45453 "RANLIB=$${RANLIB}" \
45454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45455 TAGS) \
45456 || exit 1
45458 @endif target-libobjc
45460 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
45461 maybe-install-info-target-libobjc:
45462 @if target-libobjc
45463 maybe-install-info-target-libobjc: install-info-target-libobjc
45465 install-info-target-libobjc: \
45466 configure-target-libobjc \
45467 info-target-libobjc
45468 @: $(MAKE); $(unstage)
45469 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45470 r=`${PWD_COMMAND}`; export r; \
45471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45472 $(NORMAL_TARGET_EXPORTS) \
45473 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
45474 for flag in $(EXTRA_TARGET_FLAGS); do \
45475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45476 done; \
45477 (cd $(TARGET_SUBDIR)/libobjc && \
45478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45480 "RANLIB=$${RANLIB}" \
45481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45482 install-info) \
45483 || exit 1
45485 @endif target-libobjc
45487 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
45488 maybe-install-pdf-target-libobjc:
45489 @if target-libobjc
45490 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
45492 install-pdf-target-libobjc: \
45493 configure-target-libobjc \
45494 pdf-target-libobjc
45495 @: $(MAKE); $(unstage)
45496 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45497 r=`${PWD_COMMAND}`; export r; \
45498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45499 $(NORMAL_TARGET_EXPORTS) \
45500 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
45501 for flag in $(EXTRA_TARGET_FLAGS); do \
45502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45503 done; \
45504 (cd $(TARGET_SUBDIR)/libobjc && \
45505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45507 "RANLIB=$${RANLIB}" \
45508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45509 install-pdf) \
45510 || exit 1
45512 @endif target-libobjc
45514 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
45515 maybe-install-html-target-libobjc:
45516 @if target-libobjc
45517 maybe-install-html-target-libobjc: install-html-target-libobjc
45519 install-html-target-libobjc: \
45520 configure-target-libobjc \
45521 html-target-libobjc
45522 @: $(MAKE); $(unstage)
45523 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45524 r=`${PWD_COMMAND}`; export r; \
45525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45526 $(NORMAL_TARGET_EXPORTS) \
45527 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
45528 for flag in $(EXTRA_TARGET_FLAGS); do \
45529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45530 done; \
45531 (cd $(TARGET_SUBDIR)/libobjc && \
45532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45534 "RANLIB=$${RANLIB}" \
45535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45536 install-html) \
45537 || exit 1
45539 @endif target-libobjc
45541 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
45542 maybe-installcheck-target-libobjc:
45543 @if target-libobjc
45544 maybe-installcheck-target-libobjc: installcheck-target-libobjc
45546 installcheck-target-libobjc: \
45547 configure-target-libobjc
45548 @: $(MAKE); $(unstage)
45549 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45550 r=`${PWD_COMMAND}`; export r; \
45551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45552 $(NORMAL_TARGET_EXPORTS) \
45553 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
45554 for flag in $(EXTRA_TARGET_FLAGS); do \
45555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45556 done; \
45557 (cd $(TARGET_SUBDIR)/libobjc && \
45558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45560 "RANLIB=$${RANLIB}" \
45561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45562 installcheck) \
45563 || exit 1
45565 @endif target-libobjc
45567 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
45568 maybe-mostlyclean-target-libobjc:
45569 @if target-libobjc
45570 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
45572 mostlyclean-target-libobjc:
45573 @: $(MAKE); $(unstage)
45574 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45575 r=`${PWD_COMMAND}`; export r; \
45576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45577 $(NORMAL_TARGET_EXPORTS) \
45578 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
45579 for flag in $(EXTRA_TARGET_FLAGS); do \
45580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45581 done; \
45582 (cd $(TARGET_SUBDIR)/libobjc && \
45583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45585 "RANLIB=$${RANLIB}" \
45586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45587 mostlyclean) \
45588 || exit 1
45590 @endif target-libobjc
45592 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
45593 maybe-clean-target-libobjc:
45594 @if target-libobjc
45595 maybe-clean-target-libobjc: clean-target-libobjc
45597 clean-target-libobjc:
45598 @: $(MAKE); $(unstage)
45599 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45600 r=`${PWD_COMMAND}`; export r; \
45601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45602 $(NORMAL_TARGET_EXPORTS) \
45603 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
45604 for flag in $(EXTRA_TARGET_FLAGS); do \
45605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45606 done; \
45607 (cd $(TARGET_SUBDIR)/libobjc && \
45608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45610 "RANLIB=$${RANLIB}" \
45611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45612 clean) \
45613 || exit 1
45615 @endif target-libobjc
45617 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
45618 maybe-distclean-target-libobjc:
45619 @if target-libobjc
45620 maybe-distclean-target-libobjc: distclean-target-libobjc
45622 distclean-target-libobjc:
45623 @: $(MAKE); $(unstage)
45624 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45625 r=`${PWD_COMMAND}`; export r; \
45626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45627 $(NORMAL_TARGET_EXPORTS) \
45628 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
45629 for flag in $(EXTRA_TARGET_FLAGS); do \
45630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45631 done; \
45632 (cd $(TARGET_SUBDIR)/libobjc && \
45633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45635 "RANLIB=$${RANLIB}" \
45636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45637 distclean) \
45638 || exit 1
45640 @endif target-libobjc
45642 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
45643 maybe-maintainer-clean-target-libobjc:
45644 @if target-libobjc
45645 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
45647 maintainer-clean-target-libobjc:
45648 @: $(MAKE); $(unstage)
45649 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
45650 r=`${PWD_COMMAND}`; export r; \
45651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45652 $(NORMAL_TARGET_EXPORTS) \
45653 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
45654 for flag in $(EXTRA_TARGET_FLAGS); do \
45655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45656 done; \
45657 (cd $(TARGET_SUBDIR)/libobjc && \
45658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45660 "RANLIB=$${RANLIB}" \
45661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45662 maintainer-clean) \
45663 || exit 1
45665 @endif target-libobjc
45671 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
45672 maybe-configure-target-libtermcap:
45673 @if gcc-bootstrap
45674 configure-target-libtermcap: stage_current
45675 @endif gcc-bootstrap
45676 @if target-libtermcap
45677 maybe-configure-target-libtermcap: configure-target-libtermcap
45678 configure-target-libtermcap:
45679 @: $(MAKE); $(unstage)
45680 @r=`${PWD_COMMAND}`; export r; \
45681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45682 echo "Checking multilib configuration for libtermcap..."; \
45683 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
45684 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
45685 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
45686 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
45687 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
45688 else \
45689 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
45690 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
45691 fi; \
45692 else \
45693 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
45694 fi; \
45695 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
45696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
45697 $(NORMAL_TARGET_EXPORTS) \
45698 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
45699 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
45700 case $(srcdir) in \
45701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45702 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
45703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45704 esac; \
45705 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
45706 libsrcdir="$$s/libtermcap"; \
45707 rm -f no-such-file || : ; \
45708 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45709 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45710 --target=${target_alias} $${srcdiroption} \
45711 || exit 1
45712 @endif target-libtermcap
45718 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
45719 maybe-all-target-libtermcap:
45720 @if gcc-bootstrap
45721 all-target-libtermcap: stage_current
45722 @endif gcc-bootstrap
45723 @if target-libtermcap
45724 TARGET-target-libtermcap=all
45725 maybe-all-target-libtermcap: all-target-libtermcap
45726 all-target-libtermcap: configure-target-libtermcap
45727 @: $(MAKE); $(unstage)
45728 @r=`${PWD_COMMAND}`; export r; \
45729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45730 $(NORMAL_TARGET_EXPORTS) \
45731 (cd $(TARGET_SUBDIR)/libtermcap && \
45732 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45733 $(TARGET-target-libtermcap))
45734 @endif target-libtermcap
45740 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
45741 maybe-check-target-libtermcap:
45742 @if target-libtermcap
45743 maybe-check-target-libtermcap: check-target-libtermcap
45745 # Dummy target for uncheckable module.
45746 check-target-libtermcap:
45748 @endif target-libtermcap
45750 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
45751 maybe-install-target-libtermcap:
45752 @if target-libtermcap
45753 maybe-install-target-libtermcap: install-target-libtermcap
45755 install-target-libtermcap: installdirs
45756 @: $(MAKE); $(unstage)
45757 @r=`${PWD_COMMAND}`; export r; \
45758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45759 $(NORMAL_TARGET_EXPORTS) \
45760 (cd $(TARGET_SUBDIR)/libtermcap && \
45761 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45763 @endif target-libtermcap
45765 # Other targets (info, dvi, pdf, etc.)
45767 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
45768 maybe-info-target-libtermcap:
45769 @if target-libtermcap
45770 maybe-info-target-libtermcap: info-target-libtermcap
45772 info-target-libtermcap: \
45773 configure-target-libtermcap
45774 @: $(MAKE); $(unstage)
45775 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45776 r=`${PWD_COMMAND}`; export r; \
45777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45778 $(NORMAL_TARGET_EXPORTS) \
45779 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
45780 for flag in $(EXTRA_TARGET_FLAGS); do \
45781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45782 done; \
45783 (cd $(TARGET_SUBDIR)/libtermcap && \
45784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45786 "RANLIB=$${RANLIB}" \
45787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45788 info) \
45789 || exit 1
45791 @endif target-libtermcap
45793 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
45794 maybe-dvi-target-libtermcap:
45795 @if target-libtermcap
45796 maybe-dvi-target-libtermcap: dvi-target-libtermcap
45798 dvi-target-libtermcap: \
45799 configure-target-libtermcap
45800 @: $(MAKE); $(unstage)
45801 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45802 r=`${PWD_COMMAND}`; export r; \
45803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45804 $(NORMAL_TARGET_EXPORTS) \
45805 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
45806 for flag in $(EXTRA_TARGET_FLAGS); do \
45807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45808 done; \
45809 (cd $(TARGET_SUBDIR)/libtermcap && \
45810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45812 "RANLIB=$${RANLIB}" \
45813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45814 dvi) \
45815 || exit 1
45817 @endif target-libtermcap
45819 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
45820 maybe-pdf-target-libtermcap:
45821 @if target-libtermcap
45822 maybe-pdf-target-libtermcap: pdf-target-libtermcap
45824 pdf-target-libtermcap: \
45825 configure-target-libtermcap
45826 @: $(MAKE); $(unstage)
45827 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45828 r=`${PWD_COMMAND}`; export r; \
45829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45830 $(NORMAL_TARGET_EXPORTS) \
45831 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
45832 for flag in $(EXTRA_TARGET_FLAGS); do \
45833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45834 done; \
45835 (cd $(TARGET_SUBDIR)/libtermcap && \
45836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45838 "RANLIB=$${RANLIB}" \
45839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45840 pdf) \
45841 || exit 1
45843 @endif target-libtermcap
45845 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
45846 maybe-html-target-libtermcap:
45847 @if target-libtermcap
45848 maybe-html-target-libtermcap: html-target-libtermcap
45850 html-target-libtermcap: \
45851 configure-target-libtermcap
45852 @: $(MAKE); $(unstage)
45853 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45854 r=`${PWD_COMMAND}`; export r; \
45855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45856 $(NORMAL_TARGET_EXPORTS) \
45857 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
45858 for flag in $(EXTRA_TARGET_FLAGS); do \
45859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45860 done; \
45861 (cd $(TARGET_SUBDIR)/libtermcap && \
45862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45864 "RANLIB=$${RANLIB}" \
45865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45866 html) \
45867 || exit 1
45869 @endif target-libtermcap
45871 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
45872 maybe-TAGS-target-libtermcap:
45873 @if target-libtermcap
45874 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
45876 TAGS-target-libtermcap: \
45877 configure-target-libtermcap
45878 @: $(MAKE); $(unstage)
45879 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45880 r=`${PWD_COMMAND}`; export r; \
45881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45882 $(NORMAL_TARGET_EXPORTS) \
45883 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
45884 for flag in $(EXTRA_TARGET_FLAGS); do \
45885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45886 done; \
45887 (cd $(TARGET_SUBDIR)/libtermcap && \
45888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45890 "RANLIB=$${RANLIB}" \
45891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45892 TAGS) \
45893 || exit 1
45895 @endif target-libtermcap
45897 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
45898 maybe-install-info-target-libtermcap:
45899 @if target-libtermcap
45900 maybe-install-info-target-libtermcap: install-info-target-libtermcap
45902 install-info-target-libtermcap: \
45903 configure-target-libtermcap \
45904 info-target-libtermcap
45905 @: $(MAKE); $(unstage)
45906 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45907 r=`${PWD_COMMAND}`; export r; \
45908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45909 $(NORMAL_TARGET_EXPORTS) \
45910 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
45911 for flag in $(EXTRA_TARGET_FLAGS); do \
45912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45913 done; \
45914 (cd $(TARGET_SUBDIR)/libtermcap && \
45915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45917 "RANLIB=$${RANLIB}" \
45918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45919 install-info) \
45920 || exit 1
45922 @endif target-libtermcap
45924 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
45925 maybe-install-pdf-target-libtermcap:
45926 @if target-libtermcap
45927 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
45929 install-pdf-target-libtermcap: \
45930 configure-target-libtermcap \
45931 pdf-target-libtermcap
45932 @: $(MAKE); $(unstage)
45933 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45934 r=`${PWD_COMMAND}`; export r; \
45935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45936 $(NORMAL_TARGET_EXPORTS) \
45937 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
45938 for flag in $(EXTRA_TARGET_FLAGS); do \
45939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45940 done; \
45941 (cd $(TARGET_SUBDIR)/libtermcap && \
45942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45944 "RANLIB=$${RANLIB}" \
45945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45946 install-pdf) \
45947 || exit 1
45949 @endif target-libtermcap
45951 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
45952 maybe-install-html-target-libtermcap:
45953 @if target-libtermcap
45954 maybe-install-html-target-libtermcap: install-html-target-libtermcap
45956 install-html-target-libtermcap: \
45957 configure-target-libtermcap \
45958 html-target-libtermcap
45959 @: $(MAKE); $(unstage)
45960 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45961 r=`${PWD_COMMAND}`; export r; \
45962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45963 $(NORMAL_TARGET_EXPORTS) \
45964 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
45965 for flag in $(EXTRA_TARGET_FLAGS); do \
45966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45967 done; \
45968 (cd $(TARGET_SUBDIR)/libtermcap && \
45969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45971 "RANLIB=$${RANLIB}" \
45972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45973 install-html) \
45974 || exit 1
45976 @endif target-libtermcap
45978 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
45979 maybe-installcheck-target-libtermcap:
45980 @if target-libtermcap
45981 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
45983 installcheck-target-libtermcap: \
45984 configure-target-libtermcap
45985 @: $(MAKE); $(unstage)
45986 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
45987 r=`${PWD_COMMAND}`; export r; \
45988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45989 $(NORMAL_TARGET_EXPORTS) \
45990 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
45991 for flag in $(EXTRA_TARGET_FLAGS); do \
45992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45993 done; \
45994 (cd $(TARGET_SUBDIR)/libtermcap && \
45995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45997 "RANLIB=$${RANLIB}" \
45998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45999 installcheck) \
46000 || exit 1
46002 @endif target-libtermcap
46004 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
46005 maybe-mostlyclean-target-libtermcap:
46006 @if target-libtermcap
46007 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
46009 # libtermcap doesn't support mostlyclean.
46010 mostlyclean-target-libtermcap:
46012 @endif target-libtermcap
46014 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
46015 maybe-clean-target-libtermcap:
46016 @if target-libtermcap
46017 maybe-clean-target-libtermcap: clean-target-libtermcap
46019 # libtermcap doesn't support clean.
46020 clean-target-libtermcap:
46022 @endif target-libtermcap
46024 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
46025 maybe-distclean-target-libtermcap:
46026 @if target-libtermcap
46027 maybe-distclean-target-libtermcap: distclean-target-libtermcap
46029 # libtermcap doesn't support distclean.
46030 distclean-target-libtermcap:
46032 @endif target-libtermcap
46034 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
46035 maybe-maintainer-clean-target-libtermcap:
46036 @if target-libtermcap
46037 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
46039 # libtermcap doesn't support maintainer-clean.
46040 maintainer-clean-target-libtermcap:
46042 @endif target-libtermcap
46048 .PHONY: configure-target-winsup maybe-configure-target-winsup
46049 maybe-configure-target-winsup:
46050 @if gcc-bootstrap
46051 configure-target-winsup: stage_current
46052 @endif gcc-bootstrap
46053 @if target-winsup
46054 maybe-configure-target-winsup: configure-target-winsup
46055 configure-target-winsup:
46056 @: $(MAKE); $(unstage)
46057 @r=`${PWD_COMMAND}`; export r; \
46058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46059 echo "Checking multilib configuration for winsup..."; \
46060 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
46061 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
46062 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
46063 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
46064 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
46065 else \
46066 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
46067 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46068 fi; \
46069 else \
46070 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46071 fi; \
46072 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
46073 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
46074 $(NORMAL_TARGET_EXPORTS) \
46075 echo Configuring in $(TARGET_SUBDIR)/winsup; \
46076 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
46077 case $(srcdir) in \
46078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46079 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
46080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46081 esac; \
46082 srcdiroption="--srcdir=$${topdir}/winsup"; \
46083 libsrcdir="$$s/winsup"; \
46084 rm -f no-such-file || : ; \
46085 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46086 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46087 --target=${target_alias} $${srcdiroption} \
46088 || exit 1
46089 @endif target-winsup
46095 .PHONY: all-target-winsup maybe-all-target-winsup
46096 maybe-all-target-winsup:
46097 @if gcc-bootstrap
46098 all-target-winsup: stage_current
46099 @endif gcc-bootstrap
46100 @if target-winsup
46101 TARGET-target-winsup=all
46102 maybe-all-target-winsup: all-target-winsup
46103 all-target-winsup: configure-target-winsup
46104 @: $(MAKE); $(unstage)
46105 @r=`${PWD_COMMAND}`; export r; \
46106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46107 $(NORMAL_TARGET_EXPORTS) \
46108 (cd $(TARGET_SUBDIR)/winsup && \
46109 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46110 $(TARGET-target-winsup))
46111 @endif target-winsup
46117 .PHONY: check-target-winsup maybe-check-target-winsup
46118 maybe-check-target-winsup:
46119 @if target-winsup
46120 maybe-check-target-winsup: check-target-winsup
46122 check-target-winsup:
46123 @: $(MAKE); $(unstage)
46124 @r=`${PWD_COMMAND}`; export r; \
46125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46126 $(NORMAL_TARGET_EXPORTS) \
46127 (cd $(TARGET_SUBDIR)/winsup && \
46128 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46130 @endif target-winsup
46132 .PHONY: install-target-winsup maybe-install-target-winsup
46133 maybe-install-target-winsup:
46134 @if target-winsup
46135 maybe-install-target-winsup: install-target-winsup
46137 install-target-winsup: installdirs
46138 @: $(MAKE); $(unstage)
46139 @r=`${PWD_COMMAND}`; export r; \
46140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46141 $(NORMAL_TARGET_EXPORTS) \
46142 (cd $(TARGET_SUBDIR)/winsup && \
46143 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46145 @endif target-winsup
46147 # Other targets (info, dvi, pdf, etc.)
46149 .PHONY: maybe-info-target-winsup info-target-winsup
46150 maybe-info-target-winsup:
46151 @if target-winsup
46152 maybe-info-target-winsup: info-target-winsup
46154 info-target-winsup: \
46155 configure-target-winsup
46156 @: $(MAKE); $(unstage)
46157 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46158 r=`${PWD_COMMAND}`; export r; \
46159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46160 $(NORMAL_TARGET_EXPORTS) \
46161 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
46162 for flag in $(EXTRA_TARGET_FLAGS); do \
46163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46164 done; \
46165 (cd $(TARGET_SUBDIR)/winsup && \
46166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46168 "RANLIB=$${RANLIB}" \
46169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46170 info) \
46171 || exit 1
46173 @endif target-winsup
46175 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
46176 maybe-dvi-target-winsup:
46177 @if target-winsup
46178 maybe-dvi-target-winsup: dvi-target-winsup
46180 dvi-target-winsup: \
46181 configure-target-winsup
46182 @: $(MAKE); $(unstage)
46183 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46184 r=`${PWD_COMMAND}`; export r; \
46185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46186 $(NORMAL_TARGET_EXPORTS) \
46187 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
46188 for flag in $(EXTRA_TARGET_FLAGS); do \
46189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46190 done; \
46191 (cd $(TARGET_SUBDIR)/winsup && \
46192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46194 "RANLIB=$${RANLIB}" \
46195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46196 dvi) \
46197 || exit 1
46199 @endif target-winsup
46201 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
46202 maybe-pdf-target-winsup:
46203 @if target-winsup
46204 maybe-pdf-target-winsup: pdf-target-winsup
46206 pdf-target-winsup: \
46207 configure-target-winsup
46208 @: $(MAKE); $(unstage)
46209 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46210 r=`${PWD_COMMAND}`; export r; \
46211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46212 $(NORMAL_TARGET_EXPORTS) \
46213 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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 pdf) \
46223 || exit 1
46225 @endif target-winsup
46227 .PHONY: maybe-html-target-winsup html-target-winsup
46228 maybe-html-target-winsup:
46229 @if target-winsup
46230 maybe-html-target-winsup: html-target-winsup
46232 html-target-winsup: \
46233 configure-target-winsup
46234 @: $(MAKE); $(unstage)
46235 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46236 r=`${PWD_COMMAND}`; export r; \
46237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46238 $(NORMAL_TARGET_EXPORTS) \
46239 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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 html) \
46249 || exit 1
46251 @endif target-winsup
46253 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
46254 maybe-TAGS-target-winsup:
46255 @if target-winsup
46256 maybe-TAGS-target-winsup: TAGS-target-winsup
46258 TAGS-target-winsup: \
46259 configure-target-winsup
46260 @: $(MAKE); $(unstage)
46261 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46262 r=`${PWD_COMMAND}`; export r; \
46263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46264 $(NORMAL_TARGET_EXPORTS) \
46265 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
46266 for flag in $(EXTRA_TARGET_FLAGS); do \
46267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46268 done; \
46269 (cd $(TARGET_SUBDIR)/winsup && \
46270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46272 "RANLIB=$${RANLIB}" \
46273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46274 TAGS) \
46275 || exit 1
46277 @endif target-winsup
46279 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
46280 maybe-install-info-target-winsup:
46281 @if target-winsup
46282 maybe-install-info-target-winsup: install-info-target-winsup
46284 install-info-target-winsup: \
46285 configure-target-winsup \
46286 info-target-winsup
46287 @: $(MAKE); $(unstage)
46288 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46289 r=`${PWD_COMMAND}`; export r; \
46290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46291 $(NORMAL_TARGET_EXPORTS) \
46292 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
46293 for flag in $(EXTRA_TARGET_FLAGS); do \
46294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46295 done; \
46296 (cd $(TARGET_SUBDIR)/winsup && \
46297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46299 "RANLIB=$${RANLIB}" \
46300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46301 install-info) \
46302 || exit 1
46304 @endif target-winsup
46306 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
46307 maybe-install-pdf-target-winsup:
46308 @if target-winsup
46309 maybe-install-pdf-target-winsup: install-pdf-target-winsup
46311 install-pdf-target-winsup: \
46312 configure-target-winsup \
46313 pdf-target-winsup
46314 @: $(MAKE); $(unstage)
46315 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46316 r=`${PWD_COMMAND}`; export r; \
46317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46318 $(NORMAL_TARGET_EXPORTS) \
46319 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
46320 for flag in $(EXTRA_TARGET_FLAGS); do \
46321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46322 done; \
46323 (cd $(TARGET_SUBDIR)/winsup && \
46324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46326 "RANLIB=$${RANLIB}" \
46327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46328 install-pdf) \
46329 || exit 1
46331 @endif target-winsup
46333 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
46334 maybe-install-html-target-winsup:
46335 @if target-winsup
46336 maybe-install-html-target-winsup: install-html-target-winsup
46338 install-html-target-winsup: \
46339 configure-target-winsup \
46340 html-target-winsup
46341 @: $(MAKE); $(unstage)
46342 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46343 r=`${PWD_COMMAND}`; export r; \
46344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46345 $(NORMAL_TARGET_EXPORTS) \
46346 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
46347 for flag in $(EXTRA_TARGET_FLAGS); do \
46348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46349 done; \
46350 (cd $(TARGET_SUBDIR)/winsup && \
46351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46353 "RANLIB=$${RANLIB}" \
46354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46355 install-html) \
46356 || exit 1
46358 @endif target-winsup
46360 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
46361 maybe-installcheck-target-winsup:
46362 @if target-winsup
46363 maybe-installcheck-target-winsup: installcheck-target-winsup
46365 installcheck-target-winsup: \
46366 configure-target-winsup
46367 @: $(MAKE); $(unstage)
46368 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46369 r=`${PWD_COMMAND}`; export r; \
46370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46371 $(NORMAL_TARGET_EXPORTS) \
46372 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
46373 for flag in $(EXTRA_TARGET_FLAGS); do \
46374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46375 done; \
46376 (cd $(TARGET_SUBDIR)/winsup && \
46377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46379 "RANLIB=$${RANLIB}" \
46380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46381 installcheck) \
46382 || exit 1
46384 @endif target-winsup
46386 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
46387 maybe-mostlyclean-target-winsup:
46388 @if target-winsup
46389 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
46391 mostlyclean-target-winsup:
46392 @: $(MAKE); $(unstage)
46393 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46394 r=`${PWD_COMMAND}`; export r; \
46395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46396 $(NORMAL_TARGET_EXPORTS) \
46397 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
46398 for flag in $(EXTRA_TARGET_FLAGS); do \
46399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46400 done; \
46401 (cd $(TARGET_SUBDIR)/winsup && \
46402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46404 "RANLIB=$${RANLIB}" \
46405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46406 mostlyclean) \
46407 || exit 1
46409 @endif target-winsup
46411 .PHONY: maybe-clean-target-winsup clean-target-winsup
46412 maybe-clean-target-winsup:
46413 @if target-winsup
46414 maybe-clean-target-winsup: clean-target-winsup
46416 clean-target-winsup:
46417 @: $(MAKE); $(unstage)
46418 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46419 r=`${PWD_COMMAND}`; export r; \
46420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46421 $(NORMAL_TARGET_EXPORTS) \
46422 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
46423 for flag in $(EXTRA_TARGET_FLAGS); do \
46424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46425 done; \
46426 (cd $(TARGET_SUBDIR)/winsup && \
46427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46429 "RANLIB=$${RANLIB}" \
46430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46431 clean) \
46432 || exit 1
46434 @endif target-winsup
46436 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
46437 maybe-distclean-target-winsup:
46438 @if target-winsup
46439 maybe-distclean-target-winsup: distclean-target-winsup
46441 distclean-target-winsup:
46442 @: $(MAKE); $(unstage)
46443 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46444 r=`${PWD_COMMAND}`; export r; \
46445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46446 $(NORMAL_TARGET_EXPORTS) \
46447 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
46448 for flag in $(EXTRA_TARGET_FLAGS); do \
46449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46450 done; \
46451 (cd $(TARGET_SUBDIR)/winsup && \
46452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46454 "RANLIB=$${RANLIB}" \
46455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46456 distclean) \
46457 || exit 1
46459 @endif target-winsup
46461 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
46462 maybe-maintainer-clean-target-winsup:
46463 @if target-winsup
46464 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
46466 maintainer-clean-target-winsup:
46467 @: $(MAKE); $(unstage)
46468 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46469 r=`${PWD_COMMAND}`; export r; \
46470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46471 $(NORMAL_TARGET_EXPORTS) \
46472 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
46473 for flag in $(EXTRA_TARGET_FLAGS); do \
46474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46475 done; \
46476 (cd $(TARGET_SUBDIR)/winsup && \
46477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46479 "RANLIB=$${RANLIB}" \
46480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46481 maintainer-clean) \
46482 || exit 1
46484 @endif target-winsup
46490 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
46491 maybe-configure-target-libgloss:
46492 @if gcc-bootstrap
46493 configure-target-libgloss: stage_current
46494 @endif gcc-bootstrap
46495 @if target-libgloss
46496 maybe-configure-target-libgloss: configure-target-libgloss
46497 configure-target-libgloss:
46498 @: $(MAKE); $(unstage)
46499 @r=`${PWD_COMMAND}`; export r; \
46500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46501 echo "Checking multilib configuration for libgloss..."; \
46502 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
46503 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
46504 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
46505 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
46506 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
46507 else \
46508 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
46509 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
46510 fi; \
46511 else \
46512 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
46513 fi; \
46514 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
46515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
46516 $(NORMAL_TARGET_EXPORTS) \
46517 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
46518 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
46519 case $(srcdir) in \
46520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46521 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
46522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46523 esac; \
46524 srcdiroption="--srcdir=$${topdir}/libgloss"; \
46525 libsrcdir="$$s/libgloss"; \
46526 rm -f no-such-file || : ; \
46527 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46528 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46529 --target=${target_alias} $${srcdiroption} \
46530 || exit 1
46531 @endif target-libgloss
46537 .PHONY: all-target-libgloss maybe-all-target-libgloss
46538 maybe-all-target-libgloss:
46539 @if gcc-bootstrap
46540 all-target-libgloss: stage_current
46541 @endif gcc-bootstrap
46542 @if target-libgloss
46543 TARGET-target-libgloss=all
46544 maybe-all-target-libgloss: all-target-libgloss
46545 all-target-libgloss: configure-target-libgloss
46546 @: $(MAKE); $(unstage)
46547 @r=`${PWD_COMMAND}`; export r; \
46548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46549 $(NORMAL_TARGET_EXPORTS) \
46550 (cd $(TARGET_SUBDIR)/libgloss && \
46551 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46552 $(TARGET-target-libgloss))
46553 @endif target-libgloss
46559 .PHONY: check-target-libgloss maybe-check-target-libgloss
46560 maybe-check-target-libgloss:
46561 @if target-libgloss
46562 maybe-check-target-libgloss: check-target-libgloss
46564 # Dummy target for uncheckable module.
46565 check-target-libgloss:
46567 @endif target-libgloss
46569 .PHONY: install-target-libgloss maybe-install-target-libgloss
46570 maybe-install-target-libgloss:
46571 @if target-libgloss
46572 maybe-install-target-libgloss: install-target-libgloss
46574 install-target-libgloss: installdirs
46575 @: $(MAKE); $(unstage)
46576 @r=`${PWD_COMMAND}`; export r; \
46577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46578 $(NORMAL_TARGET_EXPORTS) \
46579 (cd $(TARGET_SUBDIR)/libgloss && \
46580 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46582 @endif target-libgloss
46584 # Other targets (info, dvi, pdf, etc.)
46586 .PHONY: maybe-info-target-libgloss info-target-libgloss
46587 maybe-info-target-libgloss:
46588 @if target-libgloss
46589 maybe-info-target-libgloss: info-target-libgloss
46591 info-target-libgloss: \
46592 configure-target-libgloss
46593 @: $(MAKE); $(unstage)
46594 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46595 r=`${PWD_COMMAND}`; export r; \
46596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46597 $(NORMAL_TARGET_EXPORTS) \
46598 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
46599 for flag in $(EXTRA_TARGET_FLAGS); do \
46600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46601 done; \
46602 (cd $(TARGET_SUBDIR)/libgloss && \
46603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46605 "RANLIB=$${RANLIB}" \
46606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46607 info) \
46608 || exit 1
46610 @endif target-libgloss
46612 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
46613 maybe-dvi-target-libgloss:
46614 @if target-libgloss
46615 maybe-dvi-target-libgloss: dvi-target-libgloss
46617 dvi-target-libgloss: \
46618 configure-target-libgloss
46619 @: $(MAKE); $(unstage)
46620 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46621 r=`${PWD_COMMAND}`; export r; \
46622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46623 $(NORMAL_TARGET_EXPORTS) \
46624 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
46625 for flag in $(EXTRA_TARGET_FLAGS); do \
46626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46627 done; \
46628 (cd $(TARGET_SUBDIR)/libgloss && \
46629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46631 "RANLIB=$${RANLIB}" \
46632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46633 dvi) \
46634 || exit 1
46636 @endif target-libgloss
46638 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
46639 maybe-pdf-target-libgloss:
46640 @if target-libgloss
46641 maybe-pdf-target-libgloss: pdf-target-libgloss
46643 pdf-target-libgloss: \
46644 configure-target-libgloss
46645 @: $(MAKE); $(unstage)
46646 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46647 r=`${PWD_COMMAND}`; export r; \
46648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46649 $(NORMAL_TARGET_EXPORTS) \
46650 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
46651 for flag in $(EXTRA_TARGET_FLAGS); do \
46652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46653 done; \
46654 (cd $(TARGET_SUBDIR)/libgloss && \
46655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46657 "RANLIB=$${RANLIB}" \
46658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46659 pdf) \
46660 || exit 1
46662 @endif target-libgloss
46664 .PHONY: maybe-html-target-libgloss html-target-libgloss
46665 maybe-html-target-libgloss:
46666 @if target-libgloss
46667 maybe-html-target-libgloss: html-target-libgloss
46669 html-target-libgloss: \
46670 configure-target-libgloss
46671 @: $(MAKE); $(unstage)
46672 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46673 r=`${PWD_COMMAND}`; export r; \
46674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46675 $(NORMAL_TARGET_EXPORTS) \
46676 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
46677 for flag in $(EXTRA_TARGET_FLAGS); do \
46678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46679 done; \
46680 (cd $(TARGET_SUBDIR)/libgloss && \
46681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46683 "RANLIB=$${RANLIB}" \
46684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46685 html) \
46686 || exit 1
46688 @endif target-libgloss
46690 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
46691 maybe-TAGS-target-libgloss:
46692 @if target-libgloss
46693 maybe-TAGS-target-libgloss: TAGS-target-libgloss
46695 TAGS-target-libgloss: \
46696 configure-target-libgloss
46697 @: $(MAKE); $(unstage)
46698 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46699 r=`${PWD_COMMAND}`; export r; \
46700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46701 $(NORMAL_TARGET_EXPORTS) \
46702 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
46703 for flag in $(EXTRA_TARGET_FLAGS); do \
46704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46705 done; \
46706 (cd $(TARGET_SUBDIR)/libgloss && \
46707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46709 "RANLIB=$${RANLIB}" \
46710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46711 TAGS) \
46712 || exit 1
46714 @endif target-libgloss
46716 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
46717 maybe-install-info-target-libgloss:
46718 @if target-libgloss
46719 maybe-install-info-target-libgloss: install-info-target-libgloss
46721 install-info-target-libgloss: \
46722 configure-target-libgloss \
46723 info-target-libgloss
46724 @: $(MAKE); $(unstage)
46725 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46726 r=`${PWD_COMMAND}`; export r; \
46727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46728 $(NORMAL_TARGET_EXPORTS) \
46729 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
46730 for flag in $(EXTRA_TARGET_FLAGS); do \
46731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46732 done; \
46733 (cd $(TARGET_SUBDIR)/libgloss && \
46734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46736 "RANLIB=$${RANLIB}" \
46737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46738 install-info) \
46739 || exit 1
46741 @endif target-libgloss
46743 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
46744 maybe-install-pdf-target-libgloss:
46745 @if target-libgloss
46746 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
46748 install-pdf-target-libgloss: \
46749 configure-target-libgloss \
46750 pdf-target-libgloss
46751 @: $(MAKE); $(unstage)
46752 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46753 r=`${PWD_COMMAND}`; export r; \
46754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46755 $(NORMAL_TARGET_EXPORTS) \
46756 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 install-pdf) \
46766 || exit 1
46768 @endif target-libgloss
46770 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
46771 maybe-install-html-target-libgloss:
46772 @if target-libgloss
46773 maybe-install-html-target-libgloss: install-html-target-libgloss
46775 install-html-target-libgloss: \
46776 configure-target-libgloss \
46777 html-target-libgloss
46778 @: $(MAKE); $(unstage)
46779 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46780 r=`${PWD_COMMAND}`; export r; \
46781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46782 $(NORMAL_TARGET_EXPORTS) \
46783 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
46784 for flag in $(EXTRA_TARGET_FLAGS); do \
46785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46786 done; \
46787 (cd $(TARGET_SUBDIR)/libgloss && \
46788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46790 "RANLIB=$${RANLIB}" \
46791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46792 install-html) \
46793 || exit 1
46795 @endif target-libgloss
46797 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
46798 maybe-installcheck-target-libgloss:
46799 @if target-libgloss
46800 maybe-installcheck-target-libgloss: installcheck-target-libgloss
46802 installcheck-target-libgloss: \
46803 configure-target-libgloss
46804 @: $(MAKE); $(unstage)
46805 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46806 r=`${PWD_COMMAND}`; export r; \
46807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46808 $(NORMAL_TARGET_EXPORTS) \
46809 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
46810 for flag in $(EXTRA_TARGET_FLAGS); do \
46811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46812 done; \
46813 (cd $(TARGET_SUBDIR)/libgloss && \
46814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46816 "RANLIB=$${RANLIB}" \
46817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46818 installcheck) \
46819 || exit 1
46821 @endif target-libgloss
46823 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
46824 maybe-mostlyclean-target-libgloss:
46825 @if target-libgloss
46826 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
46828 mostlyclean-target-libgloss:
46829 @: $(MAKE); $(unstage)
46830 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46831 r=`${PWD_COMMAND}`; export r; \
46832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46833 $(NORMAL_TARGET_EXPORTS) \
46834 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
46835 for flag in $(EXTRA_TARGET_FLAGS); do \
46836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46837 done; \
46838 (cd $(TARGET_SUBDIR)/libgloss && \
46839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46841 "RANLIB=$${RANLIB}" \
46842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46843 mostlyclean) \
46844 || exit 1
46846 @endif target-libgloss
46848 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
46849 maybe-clean-target-libgloss:
46850 @if target-libgloss
46851 maybe-clean-target-libgloss: clean-target-libgloss
46853 clean-target-libgloss:
46854 @: $(MAKE); $(unstage)
46855 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46856 r=`${PWD_COMMAND}`; export r; \
46857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46858 $(NORMAL_TARGET_EXPORTS) \
46859 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
46860 for flag in $(EXTRA_TARGET_FLAGS); do \
46861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46862 done; \
46863 (cd $(TARGET_SUBDIR)/libgloss && \
46864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46866 "RANLIB=$${RANLIB}" \
46867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46868 clean) \
46869 || exit 1
46871 @endif target-libgloss
46873 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
46874 maybe-distclean-target-libgloss:
46875 @if target-libgloss
46876 maybe-distclean-target-libgloss: distclean-target-libgloss
46878 distclean-target-libgloss:
46879 @: $(MAKE); $(unstage)
46880 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46881 r=`${PWD_COMMAND}`; export r; \
46882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46883 $(NORMAL_TARGET_EXPORTS) \
46884 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
46885 for flag in $(EXTRA_TARGET_FLAGS); do \
46886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46887 done; \
46888 (cd $(TARGET_SUBDIR)/libgloss && \
46889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46891 "RANLIB=$${RANLIB}" \
46892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46893 distclean) \
46894 || exit 1
46896 @endif target-libgloss
46898 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
46899 maybe-maintainer-clean-target-libgloss:
46900 @if target-libgloss
46901 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
46903 maintainer-clean-target-libgloss:
46904 @: $(MAKE); $(unstage)
46905 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
46906 r=`${PWD_COMMAND}`; export r; \
46907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46908 $(NORMAL_TARGET_EXPORTS) \
46909 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
46910 for flag in $(EXTRA_TARGET_FLAGS); do \
46911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46912 done; \
46913 (cd $(TARGET_SUBDIR)/libgloss && \
46914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46916 "RANLIB=$${RANLIB}" \
46917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46918 maintainer-clean) \
46919 || exit 1
46921 @endif target-libgloss
46927 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
46928 maybe-configure-target-libiberty:
46929 @if gcc-bootstrap
46930 configure-target-libiberty: stage_current
46931 @endif gcc-bootstrap
46932 @if target-libiberty
46933 maybe-configure-target-libiberty: configure-target-libiberty
46934 configure-target-libiberty:
46935 @: $(MAKE); $(unstage)
46936 @r=`${PWD_COMMAND}`; export r; \
46937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46938 echo "Checking multilib configuration for libiberty..."; \
46939 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
46940 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
46941 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
46942 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
46943 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
46944 else \
46945 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
46946 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
46947 fi; \
46948 else \
46949 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
46950 fi; \
46951 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
46952 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
46953 $(NORMAL_TARGET_EXPORTS) \
46954 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
46955 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
46956 case $(srcdir) in \
46957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46958 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
46959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46960 esac; \
46961 srcdiroption="--srcdir=$${topdir}/libiberty"; \
46962 libsrcdir="$$s/libiberty"; \
46963 rm -f no-such-file || : ; \
46964 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46965 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46966 --target=${target_alias} $${srcdiroption} \
46967 || exit 1
46968 @endif target-libiberty
46974 .PHONY: all-target-libiberty maybe-all-target-libiberty
46975 maybe-all-target-libiberty:
46976 @if gcc-bootstrap
46977 all-target-libiberty: stage_current
46978 @endif gcc-bootstrap
46979 @if target-libiberty
46980 TARGET-target-libiberty=all
46981 maybe-all-target-libiberty: all-target-libiberty
46982 all-target-libiberty: configure-target-libiberty
46983 @: $(MAKE); $(unstage)
46984 @r=`${PWD_COMMAND}`; export r; \
46985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46986 $(NORMAL_TARGET_EXPORTS) \
46987 (cd $(TARGET_SUBDIR)/libiberty && \
46988 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46989 $(TARGET-target-libiberty))
46990 @endif target-libiberty
46996 .PHONY: check-target-libiberty maybe-check-target-libiberty
46997 maybe-check-target-libiberty:
46998 @if target-libiberty
46999 maybe-check-target-libiberty: check-target-libiberty
47001 check-target-libiberty:
47002 @: $(MAKE); $(unstage)
47003 @r=`${PWD_COMMAND}`; export r; \
47004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47005 $(NORMAL_TARGET_EXPORTS) \
47006 (cd $(TARGET_SUBDIR)/libiberty && \
47007 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47009 @endif target-libiberty
47011 .PHONY: install-target-libiberty maybe-install-target-libiberty
47012 maybe-install-target-libiberty:
47013 @if target-libiberty
47014 maybe-install-target-libiberty: install-target-libiberty
47016 install-target-libiberty: installdirs
47017 @: $(MAKE); $(unstage)
47018 @r=`${PWD_COMMAND}`; export r; \
47019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47020 $(NORMAL_TARGET_EXPORTS) \
47021 (cd $(TARGET_SUBDIR)/libiberty && \
47022 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47024 @endif target-libiberty
47026 # Other targets (info, dvi, pdf, etc.)
47028 .PHONY: maybe-info-target-libiberty info-target-libiberty
47029 maybe-info-target-libiberty:
47030 @if target-libiberty
47031 maybe-info-target-libiberty: info-target-libiberty
47033 info-target-libiberty: \
47034 configure-target-libiberty
47035 @: $(MAKE); $(unstage)
47036 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47037 r=`${PWD_COMMAND}`; export r; \
47038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47039 $(NORMAL_TARGET_EXPORTS) \
47040 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
47041 for flag in $(EXTRA_TARGET_FLAGS); do \
47042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47043 done; \
47044 (cd $(TARGET_SUBDIR)/libiberty && \
47045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47047 "RANLIB=$${RANLIB}" \
47048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47049 info) \
47050 || exit 1
47052 @endif target-libiberty
47054 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
47055 maybe-dvi-target-libiberty:
47056 @if target-libiberty
47057 maybe-dvi-target-libiberty: dvi-target-libiberty
47059 dvi-target-libiberty: \
47060 configure-target-libiberty
47061 @: $(MAKE); $(unstage)
47062 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47063 r=`${PWD_COMMAND}`; export r; \
47064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47065 $(NORMAL_TARGET_EXPORTS) \
47066 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
47067 for flag in $(EXTRA_TARGET_FLAGS); do \
47068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47069 done; \
47070 (cd $(TARGET_SUBDIR)/libiberty && \
47071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47073 "RANLIB=$${RANLIB}" \
47074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47075 dvi) \
47076 || exit 1
47078 @endif target-libiberty
47080 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
47081 maybe-pdf-target-libiberty:
47082 @if target-libiberty
47083 maybe-pdf-target-libiberty: pdf-target-libiberty
47085 pdf-target-libiberty: \
47086 configure-target-libiberty
47087 @: $(MAKE); $(unstage)
47088 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47089 r=`${PWD_COMMAND}`; export r; \
47090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47091 $(NORMAL_TARGET_EXPORTS) \
47092 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 pdf) \
47102 || exit 1
47104 @endif target-libiberty
47106 .PHONY: maybe-html-target-libiberty html-target-libiberty
47107 maybe-html-target-libiberty:
47108 @if target-libiberty
47109 maybe-html-target-libiberty: html-target-libiberty
47111 html-target-libiberty: \
47112 configure-target-libiberty
47113 @: $(MAKE); $(unstage)
47114 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47115 r=`${PWD_COMMAND}`; export r; \
47116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47117 $(NORMAL_TARGET_EXPORTS) \
47118 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 html) \
47128 || exit 1
47130 @endif target-libiberty
47132 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
47133 maybe-TAGS-target-libiberty:
47134 @if target-libiberty
47135 maybe-TAGS-target-libiberty: TAGS-target-libiberty
47137 TAGS-target-libiberty: \
47138 configure-target-libiberty
47139 @: $(MAKE); $(unstage)
47140 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47141 r=`${PWD_COMMAND}`; export r; \
47142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47143 $(NORMAL_TARGET_EXPORTS) \
47144 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
47145 for flag in $(EXTRA_TARGET_FLAGS); do \
47146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47147 done; \
47148 (cd $(TARGET_SUBDIR)/libiberty && \
47149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47151 "RANLIB=$${RANLIB}" \
47152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47153 TAGS) \
47154 || exit 1
47156 @endif target-libiberty
47158 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
47159 maybe-install-info-target-libiberty:
47160 @if target-libiberty
47161 maybe-install-info-target-libiberty: install-info-target-libiberty
47163 install-info-target-libiberty: \
47164 configure-target-libiberty \
47165 info-target-libiberty
47166 @: $(MAKE); $(unstage)
47167 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47168 r=`${PWD_COMMAND}`; export r; \
47169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47170 $(NORMAL_TARGET_EXPORTS) \
47171 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
47172 for flag in $(EXTRA_TARGET_FLAGS); do \
47173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47174 done; \
47175 (cd $(TARGET_SUBDIR)/libiberty && \
47176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47178 "RANLIB=$${RANLIB}" \
47179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47180 install-info) \
47181 || exit 1
47183 @endif target-libiberty
47185 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
47186 maybe-install-pdf-target-libiberty:
47187 @if target-libiberty
47188 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
47190 install-pdf-target-libiberty: \
47191 configure-target-libiberty \
47192 pdf-target-libiberty
47193 @: $(MAKE); $(unstage)
47194 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47195 r=`${PWD_COMMAND}`; export r; \
47196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47197 $(NORMAL_TARGET_EXPORTS) \
47198 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
47199 for flag in $(EXTRA_TARGET_FLAGS); do \
47200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47201 done; \
47202 (cd $(TARGET_SUBDIR)/libiberty && \
47203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47205 "RANLIB=$${RANLIB}" \
47206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47207 install-pdf) \
47208 || exit 1
47210 @endif target-libiberty
47212 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
47213 maybe-install-html-target-libiberty:
47214 @if target-libiberty
47215 maybe-install-html-target-libiberty: install-html-target-libiberty
47217 install-html-target-libiberty: \
47218 configure-target-libiberty \
47219 html-target-libiberty
47220 @: $(MAKE); $(unstage)
47221 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47222 r=`${PWD_COMMAND}`; export r; \
47223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47224 $(NORMAL_TARGET_EXPORTS) \
47225 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
47226 for flag in $(EXTRA_TARGET_FLAGS); do \
47227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47228 done; \
47229 (cd $(TARGET_SUBDIR)/libiberty && \
47230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47232 "RANLIB=$${RANLIB}" \
47233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47234 install-html) \
47235 || exit 1
47237 @endif target-libiberty
47239 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
47240 maybe-installcheck-target-libiberty:
47241 @if target-libiberty
47242 maybe-installcheck-target-libiberty: installcheck-target-libiberty
47244 installcheck-target-libiberty: \
47245 configure-target-libiberty
47246 @: $(MAKE); $(unstage)
47247 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47248 r=`${PWD_COMMAND}`; export r; \
47249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47250 $(NORMAL_TARGET_EXPORTS) \
47251 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
47252 for flag in $(EXTRA_TARGET_FLAGS); do \
47253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47254 done; \
47255 (cd $(TARGET_SUBDIR)/libiberty && \
47256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47258 "RANLIB=$${RANLIB}" \
47259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47260 installcheck) \
47261 || exit 1
47263 @endif target-libiberty
47265 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
47266 maybe-mostlyclean-target-libiberty:
47267 @if target-libiberty
47268 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
47270 mostlyclean-target-libiberty:
47271 @: $(MAKE); $(unstage)
47272 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47273 r=`${PWD_COMMAND}`; export r; \
47274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47275 $(NORMAL_TARGET_EXPORTS) \
47276 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
47277 for flag in $(EXTRA_TARGET_FLAGS); do \
47278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47279 done; \
47280 (cd $(TARGET_SUBDIR)/libiberty && \
47281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47283 "RANLIB=$${RANLIB}" \
47284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47285 mostlyclean) \
47286 || exit 1
47288 @endif target-libiberty
47290 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
47291 maybe-clean-target-libiberty:
47292 @if target-libiberty
47293 maybe-clean-target-libiberty: clean-target-libiberty
47295 clean-target-libiberty:
47296 @: $(MAKE); $(unstage)
47297 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47298 r=`${PWD_COMMAND}`; export r; \
47299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47300 $(NORMAL_TARGET_EXPORTS) \
47301 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
47302 for flag in $(EXTRA_TARGET_FLAGS); do \
47303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47304 done; \
47305 (cd $(TARGET_SUBDIR)/libiberty && \
47306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47308 "RANLIB=$${RANLIB}" \
47309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47310 clean) \
47311 || exit 1
47313 @endif target-libiberty
47315 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
47316 maybe-distclean-target-libiberty:
47317 @if target-libiberty
47318 maybe-distclean-target-libiberty: distclean-target-libiberty
47320 distclean-target-libiberty:
47321 @: $(MAKE); $(unstage)
47322 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47323 r=`${PWD_COMMAND}`; export r; \
47324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47325 $(NORMAL_TARGET_EXPORTS) \
47326 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
47327 for flag in $(EXTRA_TARGET_FLAGS); do \
47328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47329 done; \
47330 (cd $(TARGET_SUBDIR)/libiberty && \
47331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47333 "RANLIB=$${RANLIB}" \
47334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47335 distclean) \
47336 || exit 1
47338 @endif target-libiberty
47340 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
47341 maybe-maintainer-clean-target-libiberty:
47342 @if target-libiberty
47343 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
47345 maintainer-clean-target-libiberty:
47346 @: $(MAKE); $(unstage)
47347 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47348 r=`${PWD_COMMAND}`; export r; \
47349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47350 $(NORMAL_TARGET_EXPORTS) \
47351 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
47352 for flag in $(EXTRA_TARGET_FLAGS); do \
47353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47354 done; \
47355 (cd $(TARGET_SUBDIR)/libiberty && \
47356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47358 "RANLIB=$${RANLIB}" \
47359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47360 maintainer-clean) \
47361 || exit 1
47363 @endif target-libiberty
47369 .PHONY: configure-target-gperf maybe-configure-target-gperf
47370 maybe-configure-target-gperf:
47371 @if gcc-bootstrap
47372 configure-target-gperf: stage_current
47373 @endif gcc-bootstrap
47374 @if target-gperf
47375 maybe-configure-target-gperf: configure-target-gperf
47376 configure-target-gperf:
47377 @: $(MAKE); $(unstage)
47378 @r=`${PWD_COMMAND}`; export r; \
47379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47380 echo "Checking multilib configuration for gperf..."; \
47381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
47382 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
47383 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
47384 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
47385 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
47386 else \
47387 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
47388 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
47389 fi; \
47390 else \
47391 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
47392 fi; \
47393 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
47394 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
47395 $(NORMAL_TARGET_EXPORTS) \
47396 echo Configuring in $(TARGET_SUBDIR)/gperf; \
47397 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
47398 case $(srcdir) in \
47399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47400 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
47401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47402 esac; \
47403 srcdiroption="--srcdir=$${topdir}/gperf"; \
47404 libsrcdir="$$s/gperf"; \
47405 rm -f no-such-file || : ; \
47406 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47407 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47408 --target=${target_alias} $${srcdiroption} \
47409 || exit 1
47410 @endif target-gperf
47416 .PHONY: all-target-gperf maybe-all-target-gperf
47417 maybe-all-target-gperf:
47418 @if gcc-bootstrap
47419 all-target-gperf: stage_current
47420 @endif gcc-bootstrap
47421 @if target-gperf
47422 TARGET-target-gperf=all
47423 maybe-all-target-gperf: all-target-gperf
47424 all-target-gperf: configure-target-gperf
47425 @: $(MAKE); $(unstage)
47426 @r=`${PWD_COMMAND}`; export r; \
47427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47428 $(NORMAL_TARGET_EXPORTS) \
47429 (cd $(TARGET_SUBDIR)/gperf && \
47430 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47431 $(TARGET-target-gperf))
47432 @endif target-gperf
47438 .PHONY: check-target-gperf maybe-check-target-gperf
47439 maybe-check-target-gperf:
47440 @if target-gperf
47441 maybe-check-target-gperf: check-target-gperf
47443 check-target-gperf:
47444 @: $(MAKE); $(unstage)
47445 @r=`${PWD_COMMAND}`; export r; \
47446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47447 $(NORMAL_TARGET_EXPORTS) \
47448 (cd $(TARGET_SUBDIR)/gperf && \
47449 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47451 @endif target-gperf
47453 .PHONY: install-target-gperf maybe-install-target-gperf
47454 maybe-install-target-gperf:
47455 @if target-gperf
47456 maybe-install-target-gperf: install-target-gperf
47458 install-target-gperf: installdirs
47459 @: $(MAKE); $(unstage)
47460 @r=`${PWD_COMMAND}`; export r; \
47461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47462 $(NORMAL_TARGET_EXPORTS) \
47463 (cd $(TARGET_SUBDIR)/gperf && \
47464 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47466 @endif target-gperf
47468 # Other targets (info, dvi, pdf, etc.)
47470 .PHONY: maybe-info-target-gperf info-target-gperf
47471 maybe-info-target-gperf:
47472 @if target-gperf
47473 maybe-info-target-gperf: info-target-gperf
47475 info-target-gperf: \
47476 configure-target-gperf
47477 @: $(MAKE); $(unstage)
47478 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47479 r=`${PWD_COMMAND}`; export r; \
47480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47481 $(NORMAL_TARGET_EXPORTS) \
47482 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
47483 for flag in $(EXTRA_TARGET_FLAGS); do \
47484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47485 done; \
47486 (cd $(TARGET_SUBDIR)/gperf && \
47487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47489 "RANLIB=$${RANLIB}" \
47490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47491 info) \
47492 || exit 1
47494 @endif target-gperf
47496 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
47497 maybe-dvi-target-gperf:
47498 @if target-gperf
47499 maybe-dvi-target-gperf: dvi-target-gperf
47501 dvi-target-gperf: \
47502 configure-target-gperf
47503 @: $(MAKE); $(unstage)
47504 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47505 r=`${PWD_COMMAND}`; export r; \
47506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47507 $(NORMAL_TARGET_EXPORTS) \
47508 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
47509 for flag in $(EXTRA_TARGET_FLAGS); do \
47510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47511 done; \
47512 (cd $(TARGET_SUBDIR)/gperf && \
47513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47515 "RANLIB=$${RANLIB}" \
47516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47517 dvi) \
47518 || exit 1
47520 @endif target-gperf
47522 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
47523 maybe-pdf-target-gperf:
47524 @if target-gperf
47525 maybe-pdf-target-gperf: pdf-target-gperf
47527 pdf-target-gperf: \
47528 configure-target-gperf
47529 @: $(MAKE); $(unstage)
47530 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47531 r=`${PWD_COMMAND}`; export r; \
47532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47533 $(NORMAL_TARGET_EXPORTS) \
47534 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
47535 for flag in $(EXTRA_TARGET_FLAGS); do \
47536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47537 done; \
47538 (cd $(TARGET_SUBDIR)/gperf && \
47539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47541 "RANLIB=$${RANLIB}" \
47542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47543 pdf) \
47544 || exit 1
47546 @endif target-gperf
47548 .PHONY: maybe-html-target-gperf html-target-gperf
47549 maybe-html-target-gperf:
47550 @if target-gperf
47551 maybe-html-target-gperf: html-target-gperf
47553 html-target-gperf: \
47554 configure-target-gperf
47555 @: $(MAKE); $(unstage)
47556 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47557 r=`${PWD_COMMAND}`; export r; \
47558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47559 $(NORMAL_TARGET_EXPORTS) \
47560 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
47561 for flag in $(EXTRA_TARGET_FLAGS); do \
47562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47563 done; \
47564 (cd $(TARGET_SUBDIR)/gperf && \
47565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47567 "RANLIB=$${RANLIB}" \
47568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47569 html) \
47570 || exit 1
47572 @endif target-gperf
47574 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
47575 maybe-TAGS-target-gperf:
47576 @if target-gperf
47577 maybe-TAGS-target-gperf: TAGS-target-gperf
47579 TAGS-target-gperf: \
47580 configure-target-gperf
47581 @: $(MAKE); $(unstage)
47582 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47583 r=`${PWD_COMMAND}`; export r; \
47584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47585 $(NORMAL_TARGET_EXPORTS) \
47586 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
47587 for flag in $(EXTRA_TARGET_FLAGS); do \
47588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47589 done; \
47590 (cd $(TARGET_SUBDIR)/gperf && \
47591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47593 "RANLIB=$${RANLIB}" \
47594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47595 TAGS) \
47596 || exit 1
47598 @endif target-gperf
47600 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
47601 maybe-install-info-target-gperf:
47602 @if target-gperf
47603 maybe-install-info-target-gperf: install-info-target-gperf
47605 install-info-target-gperf: \
47606 configure-target-gperf \
47607 info-target-gperf
47608 @: $(MAKE); $(unstage)
47609 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47610 r=`${PWD_COMMAND}`; export r; \
47611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47612 $(NORMAL_TARGET_EXPORTS) \
47613 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
47614 for flag in $(EXTRA_TARGET_FLAGS); do \
47615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47616 done; \
47617 (cd $(TARGET_SUBDIR)/gperf && \
47618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47620 "RANLIB=$${RANLIB}" \
47621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47622 install-info) \
47623 || exit 1
47625 @endif target-gperf
47627 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
47628 maybe-install-pdf-target-gperf:
47629 @if target-gperf
47630 maybe-install-pdf-target-gperf: install-pdf-target-gperf
47632 install-pdf-target-gperf: \
47633 configure-target-gperf \
47634 pdf-target-gperf
47635 @: $(MAKE); $(unstage)
47636 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47637 r=`${PWD_COMMAND}`; export r; \
47638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47639 $(NORMAL_TARGET_EXPORTS) \
47640 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
47641 for flag in $(EXTRA_TARGET_FLAGS); do \
47642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47643 done; \
47644 (cd $(TARGET_SUBDIR)/gperf && \
47645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47647 "RANLIB=$${RANLIB}" \
47648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47649 install-pdf) \
47650 || exit 1
47652 @endif target-gperf
47654 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
47655 maybe-install-html-target-gperf:
47656 @if target-gperf
47657 maybe-install-html-target-gperf: install-html-target-gperf
47659 install-html-target-gperf: \
47660 configure-target-gperf \
47661 html-target-gperf
47662 @: $(MAKE); $(unstage)
47663 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47664 r=`${PWD_COMMAND}`; export r; \
47665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47666 $(NORMAL_TARGET_EXPORTS) \
47667 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
47668 for flag in $(EXTRA_TARGET_FLAGS); do \
47669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47670 done; \
47671 (cd $(TARGET_SUBDIR)/gperf && \
47672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47674 "RANLIB=$${RANLIB}" \
47675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47676 install-html) \
47677 || exit 1
47679 @endif target-gperf
47681 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
47682 maybe-installcheck-target-gperf:
47683 @if target-gperf
47684 maybe-installcheck-target-gperf: installcheck-target-gperf
47686 installcheck-target-gperf: \
47687 configure-target-gperf
47688 @: $(MAKE); $(unstage)
47689 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47690 r=`${PWD_COMMAND}`; export r; \
47691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47692 $(NORMAL_TARGET_EXPORTS) \
47693 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
47694 for flag in $(EXTRA_TARGET_FLAGS); do \
47695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47696 done; \
47697 (cd $(TARGET_SUBDIR)/gperf && \
47698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47700 "RANLIB=$${RANLIB}" \
47701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47702 installcheck) \
47703 || exit 1
47705 @endif target-gperf
47707 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
47708 maybe-mostlyclean-target-gperf:
47709 @if target-gperf
47710 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
47712 mostlyclean-target-gperf:
47713 @: $(MAKE); $(unstage)
47714 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47715 r=`${PWD_COMMAND}`; export r; \
47716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47717 $(NORMAL_TARGET_EXPORTS) \
47718 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
47719 for flag in $(EXTRA_TARGET_FLAGS); do \
47720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47721 done; \
47722 (cd $(TARGET_SUBDIR)/gperf && \
47723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47725 "RANLIB=$${RANLIB}" \
47726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47727 mostlyclean) \
47728 || exit 1
47730 @endif target-gperf
47732 .PHONY: maybe-clean-target-gperf clean-target-gperf
47733 maybe-clean-target-gperf:
47734 @if target-gperf
47735 maybe-clean-target-gperf: clean-target-gperf
47737 clean-target-gperf:
47738 @: $(MAKE); $(unstage)
47739 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47740 r=`${PWD_COMMAND}`; export r; \
47741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47742 $(NORMAL_TARGET_EXPORTS) \
47743 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
47744 for flag in $(EXTRA_TARGET_FLAGS); do \
47745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47746 done; \
47747 (cd $(TARGET_SUBDIR)/gperf && \
47748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47750 "RANLIB=$${RANLIB}" \
47751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47752 clean) \
47753 || exit 1
47755 @endif target-gperf
47757 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
47758 maybe-distclean-target-gperf:
47759 @if target-gperf
47760 maybe-distclean-target-gperf: distclean-target-gperf
47762 distclean-target-gperf:
47763 @: $(MAKE); $(unstage)
47764 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47765 r=`${PWD_COMMAND}`; export r; \
47766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47767 $(NORMAL_TARGET_EXPORTS) \
47768 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
47769 for flag in $(EXTRA_TARGET_FLAGS); do \
47770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47771 done; \
47772 (cd $(TARGET_SUBDIR)/gperf && \
47773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47775 "RANLIB=$${RANLIB}" \
47776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47777 distclean) \
47778 || exit 1
47780 @endif target-gperf
47782 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
47783 maybe-maintainer-clean-target-gperf:
47784 @if target-gperf
47785 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
47787 maintainer-clean-target-gperf:
47788 @: $(MAKE); $(unstage)
47789 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
47790 r=`${PWD_COMMAND}`; export r; \
47791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47792 $(NORMAL_TARGET_EXPORTS) \
47793 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
47794 for flag in $(EXTRA_TARGET_FLAGS); do \
47795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47796 done; \
47797 (cd $(TARGET_SUBDIR)/gperf && \
47798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47800 "RANLIB=$${RANLIB}" \
47801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47802 maintainer-clean) \
47803 || exit 1
47805 @endif target-gperf
47811 .PHONY: configure-target-examples maybe-configure-target-examples
47812 maybe-configure-target-examples:
47813 @if gcc-bootstrap
47814 configure-target-examples: stage_current
47815 @endif gcc-bootstrap
47816 @if target-examples
47817 maybe-configure-target-examples: configure-target-examples
47818 configure-target-examples:
47819 @: $(MAKE); $(unstage)
47820 @r=`${PWD_COMMAND}`; export r; \
47821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47822 echo "Checking multilib configuration for examples..."; \
47823 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
47824 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
47825 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
47826 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
47827 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
47828 else \
47829 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
47830 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
47831 fi; \
47832 else \
47833 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
47834 fi; \
47835 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
47836 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
47837 $(NORMAL_TARGET_EXPORTS) \
47838 echo Configuring in $(TARGET_SUBDIR)/examples; \
47839 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
47840 case $(srcdir) in \
47841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47842 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
47843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47844 esac; \
47845 srcdiroption="--srcdir=$${topdir}/examples"; \
47846 libsrcdir="$$s/examples"; \
47847 rm -f no-such-file || : ; \
47848 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47849 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47850 --target=${target_alias} $${srcdiroption} \
47851 || exit 1
47852 @endif target-examples
47858 .PHONY: all-target-examples maybe-all-target-examples
47859 maybe-all-target-examples:
47860 @if gcc-bootstrap
47861 all-target-examples: stage_current
47862 @endif gcc-bootstrap
47863 @if target-examples
47864 TARGET-target-examples=all
47865 maybe-all-target-examples: all-target-examples
47866 all-target-examples: configure-target-examples
47867 @: $(MAKE); $(unstage)
47868 @r=`${PWD_COMMAND}`; export r; \
47869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47870 $(NORMAL_TARGET_EXPORTS) \
47871 (cd $(TARGET_SUBDIR)/examples && \
47872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47873 $(TARGET-target-examples))
47874 @endif target-examples
47880 .PHONY: check-target-examples maybe-check-target-examples
47881 maybe-check-target-examples:
47882 @if target-examples
47883 maybe-check-target-examples: check-target-examples
47885 # Dummy target for uncheckable module.
47886 check-target-examples:
47888 @endif target-examples
47890 .PHONY: install-target-examples maybe-install-target-examples
47891 maybe-install-target-examples:
47892 @if target-examples
47893 maybe-install-target-examples: install-target-examples
47895 # Dummy target for uninstallable.
47896 install-target-examples:
47898 @endif target-examples
47900 # Other targets (info, dvi, pdf, etc.)
47902 .PHONY: maybe-info-target-examples info-target-examples
47903 maybe-info-target-examples:
47904 @if target-examples
47905 maybe-info-target-examples: info-target-examples
47907 info-target-examples: \
47908 configure-target-examples
47909 @: $(MAKE); $(unstage)
47910 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
47911 r=`${PWD_COMMAND}`; export r; \
47912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47913 $(NORMAL_TARGET_EXPORTS) \
47914 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
47915 for flag in $(EXTRA_TARGET_FLAGS); do \
47916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47917 done; \
47918 (cd $(TARGET_SUBDIR)/examples && \
47919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47921 "RANLIB=$${RANLIB}" \
47922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47923 info) \
47924 || exit 1
47926 @endif target-examples
47928 .PHONY: maybe-dvi-target-examples dvi-target-examples
47929 maybe-dvi-target-examples:
47930 @if target-examples
47931 maybe-dvi-target-examples: dvi-target-examples
47933 dvi-target-examples: \
47934 configure-target-examples
47935 @: $(MAKE); $(unstage)
47936 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
47937 r=`${PWD_COMMAND}`; export r; \
47938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47939 $(NORMAL_TARGET_EXPORTS) \
47940 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
47941 for flag in $(EXTRA_TARGET_FLAGS); do \
47942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47943 done; \
47944 (cd $(TARGET_SUBDIR)/examples && \
47945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47947 "RANLIB=$${RANLIB}" \
47948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47949 dvi) \
47950 || exit 1
47952 @endif target-examples
47954 .PHONY: maybe-pdf-target-examples pdf-target-examples
47955 maybe-pdf-target-examples:
47956 @if target-examples
47957 maybe-pdf-target-examples: pdf-target-examples
47959 pdf-target-examples: \
47960 configure-target-examples
47961 @: $(MAKE); $(unstage)
47962 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
47963 r=`${PWD_COMMAND}`; export r; \
47964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47965 $(NORMAL_TARGET_EXPORTS) \
47966 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
47967 for flag in $(EXTRA_TARGET_FLAGS); do \
47968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47969 done; \
47970 (cd $(TARGET_SUBDIR)/examples && \
47971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47973 "RANLIB=$${RANLIB}" \
47974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47975 pdf) \
47976 || exit 1
47978 @endif target-examples
47980 .PHONY: maybe-html-target-examples html-target-examples
47981 maybe-html-target-examples:
47982 @if target-examples
47983 maybe-html-target-examples: html-target-examples
47985 html-target-examples: \
47986 configure-target-examples
47987 @: $(MAKE); $(unstage)
47988 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
47989 r=`${PWD_COMMAND}`; export r; \
47990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47991 $(NORMAL_TARGET_EXPORTS) \
47992 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
47993 for flag in $(EXTRA_TARGET_FLAGS); do \
47994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47995 done; \
47996 (cd $(TARGET_SUBDIR)/examples && \
47997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47999 "RANLIB=$${RANLIB}" \
48000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48001 html) \
48002 || exit 1
48004 @endif target-examples
48006 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
48007 maybe-TAGS-target-examples:
48008 @if target-examples
48009 maybe-TAGS-target-examples: TAGS-target-examples
48011 TAGS-target-examples: \
48012 configure-target-examples
48013 @: $(MAKE); $(unstage)
48014 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48015 r=`${PWD_COMMAND}`; export r; \
48016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48017 $(NORMAL_TARGET_EXPORTS) \
48018 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
48019 for flag in $(EXTRA_TARGET_FLAGS); do \
48020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48021 done; \
48022 (cd $(TARGET_SUBDIR)/examples && \
48023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48025 "RANLIB=$${RANLIB}" \
48026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48027 TAGS) \
48028 || exit 1
48030 @endif target-examples
48032 .PHONY: maybe-install-info-target-examples install-info-target-examples
48033 maybe-install-info-target-examples:
48034 @if target-examples
48035 maybe-install-info-target-examples: install-info-target-examples
48037 install-info-target-examples: \
48038 configure-target-examples \
48039 info-target-examples
48040 @: $(MAKE); $(unstage)
48041 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48042 r=`${PWD_COMMAND}`; export r; \
48043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48044 $(NORMAL_TARGET_EXPORTS) \
48045 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
48046 for flag in $(EXTRA_TARGET_FLAGS); do \
48047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48048 done; \
48049 (cd $(TARGET_SUBDIR)/examples && \
48050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48052 "RANLIB=$${RANLIB}" \
48053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48054 install-info) \
48055 || exit 1
48057 @endif target-examples
48059 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
48060 maybe-install-pdf-target-examples:
48061 @if target-examples
48062 maybe-install-pdf-target-examples: install-pdf-target-examples
48064 install-pdf-target-examples: \
48065 configure-target-examples \
48066 pdf-target-examples
48067 @: $(MAKE); $(unstage)
48068 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48069 r=`${PWD_COMMAND}`; export r; \
48070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48071 $(NORMAL_TARGET_EXPORTS) \
48072 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
48073 for flag in $(EXTRA_TARGET_FLAGS); do \
48074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48075 done; \
48076 (cd $(TARGET_SUBDIR)/examples && \
48077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48079 "RANLIB=$${RANLIB}" \
48080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48081 install-pdf) \
48082 || exit 1
48084 @endif target-examples
48086 .PHONY: maybe-install-html-target-examples install-html-target-examples
48087 maybe-install-html-target-examples:
48088 @if target-examples
48089 maybe-install-html-target-examples: install-html-target-examples
48091 install-html-target-examples: \
48092 configure-target-examples \
48093 html-target-examples
48094 @: $(MAKE); $(unstage)
48095 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48096 r=`${PWD_COMMAND}`; export r; \
48097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48098 $(NORMAL_TARGET_EXPORTS) \
48099 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
48100 for flag in $(EXTRA_TARGET_FLAGS); do \
48101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48102 done; \
48103 (cd $(TARGET_SUBDIR)/examples && \
48104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48106 "RANLIB=$${RANLIB}" \
48107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48108 install-html) \
48109 || exit 1
48111 @endif target-examples
48113 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
48114 maybe-installcheck-target-examples:
48115 @if target-examples
48116 maybe-installcheck-target-examples: installcheck-target-examples
48118 installcheck-target-examples: \
48119 configure-target-examples
48120 @: $(MAKE); $(unstage)
48121 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48122 r=`${PWD_COMMAND}`; export r; \
48123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48124 $(NORMAL_TARGET_EXPORTS) \
48125 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
48126 for flag in $(EXTRA_TARGET_FLAGS); do \
48127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48128 done; \
48129 (cd $(TARGET_SUBDIR)/examples && \
48130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48132 "RANLIB=$${RANLIB}" \
48133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48134 installcheck) \
48135 || exit 1
48137 @endif target-examples
48139 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
48140 maybe-mostlyclean-target-examples:
48141 @if target-examples
48142 maybe-mostlyclean-target-examples: mostlyclean-target-examples
48144 mostlyclean-target-examples:
48145 @: $(MAKE); $(unstage)
48146 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48147 r=`${PWD_COMMAND}`; export r; \
48148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48149 $(NORMAL_TARGET_EXPORTS) \
48150 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
48151 for flag in $(EXTRA_TARGET_FLAGS); do \
48152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48153 done; \
48154 (cd $(TARGET_SUBDIR)/examples && \
48155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48157 "RANLIB=$${RANLIB}" \
48158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48159 mostlyclean) \
48160 || exit 1
48162 @endif target-examples
48164 .PHONY: maybe-clean-target-examples clean-target-examples
48165 maybe-clean-target-examples:
48166 @if target-examples
48167 maybe-clean-target-examples: clean-target-examples
48169 clean-target-examples:
48170 @: $(MAKE); $(unstage)
48171 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48172 r=`${PWD_COMMAND}`; export r; \
48173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48174 $(NORMAL_TARGET_EXPORTS) \
48175 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
48176 for flag in $(EXTRA_TARGET_FLAGS); do \
48177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48178 done; \
48179 (cd $(TARGET_SUBDIR)/examples && \
48180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48182 "RANLIB=$${RANLIB}" \
48183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48184 clean) \
48185 || exit 1
48187 @endif target-examples
48189 .PHONY: maybe-distclean-target-examples distclean-target-examples
48190 maybe-distclean-target-examples:
48191 @if target-examples
48192 maybe-distclean-target-examples: distclean-target-examples
48194 distclean-target-examples:
48195 @: $(MAKE); $(unstage)
48196 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48197 r=`${PWD_COMMAND}`; export r; \
48198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48199 $(NORMAL_TARGET_EXPORTS) \
48200 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
48201 for flag in $(EXTRA_TARGET_FLAGS); do \
48202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48203 done; \
48204 (cd $(TARGET_SUBDIR)/examples && \
48205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48207 "RANLIB=$${RANLIB}" \
48208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48209 distclean) \
48210 || exit 1
48212 @endif target-examples
48214 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
48215 maybe-maintainer-clean-target-examples:
48216 @if target-examples
48217 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
48219 maintainer-clean-target-examples:
48220 @: $(MAKE); $(unstage)
48221 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48222 r=`${PWD_COMMAND}`; export r; \
48223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48224 $(NORMAL_TARGET_EXPORTS) \
48225 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
48226 for flag in $(EXTRA_TARGET_FLAGS); do \
48227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48228 done; \
48229 (cd $(TARGET_SUBDIR)/examples && \
48230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48232 "RANLIB=$${RANLIB}" \
48233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48234 maintainer-clean) \
48235 || exit 1
48237 @endif target-examples
48243 .PHONY: configure-target-libffi maybe-configure-target-libffi
48244 maybe-configure-target-libffi:
48245 @if gcc-bootstrap
48246 configure-target-libffi: stage_current
48247 @endif gcc-bootstrap
48248 @if target-libffi
48249 maybe-configure-target-libffi: configure-target-libffi
48250 configure-target-libffi:
48251 @: $(MAKE); $(unstage)
48252 @r=`${PWD_COMMAND}`; export r; \
48253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48254 echo "Checking multilib configuration for libffi..."; \
48255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
48256 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
48257 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
48258 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
48259 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
48260 else \
48261 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
48262 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48263 fi; \
48264 else \
48265 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48266 fi; \
48267 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
48268 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
48269 $(NORMAL_TARGET_EXPORTS) \
48270 echo Configuring in $(TARGET_SUBDIR)/libffi; \
48271 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
48272 case $(srcdir) in \
48273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48274 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
48275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48276 esac; \
48277 srcdiroption="--srcdir=$${topdir}/libffi"; \
48278 libsrcdir="$$s/libffi"; \
48279 rm -f no-such-file || : ; \
48280 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48281 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48282 --target=${target_alias} $${srcdiroption} \
48283 || exit 1
48284 @endif target-libffi
48290 .PHONY: all-target-libffi maybe-all-target-libffi
48291 maybe-all-target-libffi:
48292 @if gcc-bootstrap
48293 all-target-libffi: stage_current
48294 @endif gcc-bootstrap
48295 @if target-libffi
48296 TARGET-target-libffi=all
48297 maybe-all-target-libffi: all-target-libffi
48298 all-target-libffi: configure-target-libffi
48299 @: $(MAKE); $(unstage)
48300 @r=`${PWD_COMMAND}`; export r; \
48301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48302 $(NORMAL_TARGET_EXPORTS) \
48303 (cd $(TARGET_SUBDIR)/libffi && \
48304 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48305 $(TARGET-target-libffi))
48306 @endif target-libffi
48312 .PHONY: check-target-libffi maybe-check-target-libffi
48313 maybe-check-target-libffi:
48314 @if target-libffi
48315 maybe-check-target-libffi: check-target-libffi
48317 check-target-libffi:
48318 @: $(MAKE); $(unstage)
48319 @r=`${PWD_COMMAND}`; export r; \
48320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48321 $(NORMAL_TARGET_EXPORTS) \
48322 (cd $(TARGET_SUBDIR)/libffi && \
48323 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48325 @endif target-libffi
48327 .PHONY: install-target-libffi maybe-install-target-libffi
48328 maybe-install-target-libffi:
48329 @if target-libffi
48330 maybe-install-target-libffi: install-target-libffi
48332 install-target-libffi: installdirs
48333 @: $(MAKE); $(unstage)
48334 @r=`${PWD_COMMAND}`; export r; \
48335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48336 $(NORMAL_TARGET_EXPORTS) \
48337 (cd $(TARGET_SUBDIR)/libffi && \
48338 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48340 @endif target-libffi
48342 # Other targets (info, dvi, pdf, etc.)
48344 .PHONY: maybe-info-target-libffi info-target-libffi
48345 maybe-info-target-libffi:
48346 @if target-libffi
48347 maybe-info-target-libffi: info-target-libffi
48349 info-target-libffi: \
48350 configure-target-libffi
48351 @: $(MAKE); $(unstage)
48352 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48353 r=`${PWD_COMMAND}`; export r; \
48354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48355 $(NORMAL_TARGET_EXPORTS) \
48356 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
48357 for flag in $(EXTRA_TARGET_FLAGS); do \
48358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48359 done; \
48360 (cd $(TARGET_SUBDIR)/libffi && \
48361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48363 "RANLIB=$${RANLIB}" \
48364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48365 info) \
48366 || exit 1
48368 @endif target-libffi
48370 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
48371 maybe-dvi-target-libffi:
48372 @if target-libffi
48373 maybe-dvi-target-libffi: dvi-target-libffi
48375 dvi-target-libffi: \
48376 configure-target-libffi
48377 @: $(MAKE); $(unstage)
48378 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48379 r=`${PWD_COMMAND}`; export r; \
48380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48381 $(NORMAL_TARGET_EXPORTS) \
48382 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
48383 for flag in $(EXTRA_TARGET_FLAGS); do \
48384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48385 done; \
48386 (cd $(TARGET_SUBDIR)/libffi && \
48387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48389 "RANLIB=$${RANLIB}" \
48390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48391 dvi) \
48392 || exit 1
48394 @endif target-libffi
48396 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
48397 maybe-pdf-target-libffi:
48398 @if target-libffi
48399 maybe-pdf-target-libffi: pdf-target-libffi
48401 pdf-target-libffi: \
48402 configure-target-libffi
48403 @: $(MAKE); $(unstage)
48404 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48405 r=`${PWD_COMMAND}`; export r; \
48406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48407 $(NORMAL_TARGET_EXPORTS) \
48408 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
48409 for flag in $(EXTRA_TARGET_FLAGS); do \
48410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48411 done; \
48412 (cd $(TARGET_SUBDIR)/libffi && \
48413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48415 "RANLIB=$${RANLIB}" \
48416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48417 pdf) \
48418 || exit 1
48420 @endif target-libffi
48422 .PHONY: maybe-html-target-libffi html-target-libffi
48423 maybe-html-target-libffi:
48424 @if target-libffi
48425 maybe-html-target-libffi: html-target-libffi
48427 html-target-libffi: \
48428 configure-target-libffi
48429 @: $(MAKE); $(unstage)
48430 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48431 r=`${PWD_COMMAND}`; export r; \
48432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48433 $(NORMAL_TARGET_EXPORTS) \
48434 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
48435 for flag in $(EXTRA_TARGET_FLAGS); do \
48436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48437 done; \
48438 (cd $(TARGET_SUBDIR)/libffi && \
48439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48441 "RANLIB=$${RANLIB}" \
48442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48443 html) \
48444 || exit 1
48446 @endif target-libffi
48448 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
48449 maybe-TAGS-target-libffi:
48450 @if target-libffi
48451 maybe-TAGS-target-libffi: TAGS-target-libffi
48453 TAGS-target-libffi: \
48454 configure-target-libffi
48455 @: $(MAKE); $(unstage)
48456 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48457 r=`${PWD_COMMAND}`; export r; \
48458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48459 $(NORMAL_TARGET_EXPORTS) \
48460 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
48461 for flag in $(EXTRA_TARGET_FLAGS); do \
48462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48463 done; \
48464 (cd $(TARGET_SUBDIR)/libffi && \
48465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48467 "RANLIB=$${RANLIB}" \
48468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48469 TAGS) \
48470 || exit 1
48472 @endif target-libffi
48474 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
48475 maybe-install-info-target-libffi:
48476 @if target-libffi
48477 maybe-install-info-target-libffi: install-info-target-libffi
48479 install-info-target-libffi: \
48480 configure-target-libffi \
48481 info-target-libffi
48482 @: $(MAKE); $(unstage)
48483 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48484 r=`${PWD_COMMAND}`; export r; \
48485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48486 $(NORMAL_TARGET_EXPORTS) \
48487 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
48488 for flag in $(EXTRA_TARGET_FLAGS); do \
48489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48490 done; \
48491 (cd $(TARGET_SUBDIR)/libffi && \
48492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48494 "RANLIB=$${RANLIB}" \
48495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48496 install-info) \
48497 || exit 1
48499 @endif target-libffi
48501 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
48502 maybe-install-pdf-target-libffi:
48503 @if target-libffi
48504 maybe-install-pdf-target-libffi: install-pdf-target-libffi
48506 install-pdf-target-libffi: \
48507 configure-target-libffi \
48508 pdf-target-libffi
48509 @: $(MAKE); $(unstage)
48510 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48511 r=`${PWD_COMMAND}`; export r; \
48512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48513 $(NORMAL_TARGET_EXPORTS) \
48514 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
48515 for flag in $(EXTRA_TARGET_FLAGS); do \
48516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48517 done; \
48518 (cd $(TARGET_SUBDIR)/libffi && \
48519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48521 "RANLIB=$${RANLIB}" \
48522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48523 install-pdf) \
48524 || exit 1
48526 @endif target-libffi
48528 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
48529 maybe-install-html-target-libffi:
48530 @if target-libffi
48531 maybe-install-html-target-libffi: install-html-target-libffi
48533 install-html-target-libffi: \
48534 configure-target-libffi \
48535 html-target-libffi
48536 @: $(MAKE); $(unstage)
48537 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48538 r=`${PWD_COMMAND}`; export r; \
48539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48540 $(NORMAL_TARGET_EXPORTS) \
48541 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
48542 for flag in $(EXTRA_TARGET_FLAGS); do \
48543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48544 done; \
48545 (cd $(TARGET_SUBDIR)/libffi && \
48546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48548 "RANLIB=$${RANLIB}" \
48549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48550 install-html) \
48551 || exit 1
48553 @endif target-libffi
48555 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
48556 maybe-installcheck-target-libffi:
48557 @if target-libffi
48558 maybe-installcheck-target-libffi: installcheck-target-libffi
48560 installcheck-target-libffi: \
48561 configure-target-libffi
48562 @: $(MAKE); $(unstage)
48563 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48564 r=`${PWD_COMMAND}`; export r; \
48565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48566 $(NORMAL_TARGET_EXPORTS) \
48567 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
48568 for flag in $(EXTRA_TARGET_FLAGS); do \
48569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48570 done; \
48571 (cd $(TARGET_SUBDIR)/libffi && \
48572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48574 "RANLIB=$${RANLIB}" \
48575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48576 installcheck) \
48577 || exit 1
48579 @endif target-libffi
48581 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
48582 maybe-mostlyclean-target-libffi:
48583 @if target-libffi
48584 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
48586 mostlyclean-target-libffi:
48587 @: $(MAKE); $(unstage)
48588 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48589 r=`${PWD_COMMAND}`; export r; \
48590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48591 $(NORMAL_TARGET_EXPORTS) \
48592 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
48593 for flag in $(EXTRA_TARGET_FLAGS); do \
48594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48595 done; \
48596 (cd $(TARGET_SUBDIR)/libffi && \
48597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48599 "RANLIB=$${RANLIB}" \
48600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48601 mostlyclean) \
48602 || exit 1
48604 @endif target-libffi
48606 .PHONY: maybe-clean-target-libffi clean-target-libffi
48607 maybe-clean-target-libffi:
48608 @if target-libffi
48609 maybe-clean-target-libffi: clean-target-libffi
48611 clean-target-libffi:
48612 @: $(MAKE); $(unstage)
48613 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48614 r=`${PWD_COMMAND}`; export r; \
48615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48616 $(NORMAL_TARGET_EXPORTS) \
48617 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
48618 for flag in $(EXTRA_TARGET_FLAGS); do \
48619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48620 done; \
48621 (cd $(TARGET_SUBDIR)/libffi && \
48622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48624 "RANLIB=$${RANLIB}" \
48625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48626 clean) \
48627 || exit 1
48629 @endif target-libffi
48631 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
48632 maybe-distclean-target-libffi:
48633 @if target-libffi
48634 maybe-distclean-target-libffi: distclean-target-libffi
48636 distclean-target-libffi:
48637 @: $(MAKE); $(unstage)
48638 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48639 r=`${PWD_COMMAND}`; export r; \
48640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48641 $(NORMAL_TARGET_EXPORTS) \
48642 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
48643 for flag in $(EXTRA_TARGET_FLAGS); do \
48644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48645 done; \
48646 (cd $(TARGET_SUBDIR)/libffi && \
48647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48649 "RANLIB=$${RANLIB}" \
48650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48651 distclean) \
48652 || exit 1
48654 @endif target-libffi
48656 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
48657 maybe-maintainer-clean-target-libffi:
48658 @if target-libffi
48659 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
48661 maintainer-clean-target-libffi:
48662 @: $(MAKE); $(unstage)
48663 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
48664 r=`${PWD_COMMAND}`; export r; \
48665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48666 $(NORMAL_TARGET_EXPORTS) \
48667 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
48668 for flag in $(EXTRA_TARGET_FLAGS); do \
48669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48670 done; \
48671 (cd $(TARGET_SUBDIR)/libffi && \
48672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48674 "RANLIB=$${RANLIB}" \
48675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48676 maintainer-clean) \
48677 || exit 1
48679 @endif target-libffi
48685 .PHONY: configure-target-libjava maybe-configure-target-libjava
48686 maybe-configure-target-libjava:
48687 @if gcc-bootstrap
48688 configure-target-libjava: stage_current
48689 @endif gcc-bootstrap
48690 @if target-libjava
48691 maybe-configure-target-libjava: configure-target-libjava
48692 configure-target-libjava:
48693 @: $(MAKE); $(unstage)
48694 @r=`${PWD_COMMAND}`; export r; \
48695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48696 echo "Checking multilib configuration for libjava..."; \
48697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
48698 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
48699 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
48700 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
48701 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
48702 else \
48703 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
48704 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
48705 fi; \
48706 else \
48707 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
48708 fi; \
48709 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
48710 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
48711 $(RAW_CXX_TARGET_EXPORTS) \
48712 echo Configuring in $(TARGET_SUBDIR)/libjava; \
48713 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
48714 case $(srcdir) in \
48715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48716 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
48717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48718 esac; \
48719 srcdiroption="--srcdir=$${topdir}/libjava"; \
48720 libsrcdir="$$s/libjava"; \
48721 rm -f no-such-file || : ; \
48722 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48723 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48724 --target=${target_alias} $${srcdiroption} \
48725 || exit 1
48726 @endif target-libjava
48732 .PHONY: all-target-libjava maybe-all-target-libjava
48733 maybe-all-target-libjava:
48734 @if gcc-bootstrap
48735 all-target-libjava: stage_current
48736 @endif gcc-bootstrap
48737 @if target-libjava
48738 TARGET-target-libjava=all
48739 maybe-all-target-libjava: all-target-libjava
48740 all-target-libjava: configure-target-libjava
48741 @: $(MAKE); $(unstage)
48742 @r=`${PWD_COMMAND}`; export r; \
48743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48744 $(RAW_CXX_TARGET_EXPORTS) \
48745 (cd $(TARGET_SUBDIR)/libjava && \
48746 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
48747 $(TARGET-target-libjava))
48748 @endif target-libjava
48754 .PHONY: check-target-libjava maybe-check-target-libjava
48755 maybe-check-target-libjava:
48756 @if target-libjava
48757 maybe-check-target-libjava: check-target-libjava
48759 check-target-libjava:
48760 @: $(MAKE); $(unstage)
48761 @r=`${PWD_COMMAND}`; export r; \
48762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48763 $(RAW_CXX_TARGET_EXPORTS) \
48764 (cd $(TARGET_SUBDIR)/libjava && \
48765 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
48767 @endif target-libjava
48769 .PHONY: install-target-libjava maybe-install-target-libjava
48770 maybe-install-target-libjava:
48771 @if target-libjava
48772 maybe-install-target-libjava: install-target-libjava
48774 install-target-libjava: installdirs
48775 @: $(MAKE); $(unstage)
48776 @r=`${PWD_COMMAND}`; export r; \
48777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48778 $(RAW_CXX_TARGET_EXPORTS) \
48779 (cd $(TARGET_SUBDIR)/libjava && \
48780 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48782 @endif target-libjava
48784 # Other targets (info, dvi, pdf, etc.)
48786 .PHONY: maybe-info-target-libjava info-target-libjava
48787 maybe-info-target-libjava:
48788 @if target-libjava
48789 maybe-info-target-libjava: info-target-libjava
48791 info-target-libjava: \
48792 configure-target-libjava
48793 @: $(MAKE); $(unstage)
48794 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48795 r=`${PWD_COMMAND}`; export r; \
48796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48797 $(RAW_CXX_TARGET_EXPORTS) \
48798 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
48799 for flag in $(EXTRA_TARGET_FLAGS); do \
48800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48801 done; \
48802 (cd $(TARGET_SUBDIR)/libjava && \
48803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48805 "RANLIB=$${RANLIB}" \
48806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48807 info) \
48808 || exit 1
48810 @endif target-libjava
48812 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
48813 maybe-dvi-target-libjava:
48814 @if target-libjava
48815 maybe-dvi-target-libjava: dvi-target-libjava
48817 dvi-target-libjava: \
48818 configure-target-libjava
48819 @: $(MAKE); $(unstage)
48820 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48821 r=`${PWD_COMMAND}`; export r; \
48822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48823 $(RAW_CXX_TARGET_EXPORTS) \
48824 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
48825 for flag in $(EXTRA_TARGET_FLAGS); do \
48826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48827 done; \
48828 (cd $(TARGET_SUBDIR)/libjava && \
48829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48831 "RANLIB=$${RANLIB}" \
48832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48833 dvi) \
48834 || exit 1
48836 @endif target-libjava
48838 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
48839 maybe-pdf-target-libjava:
48840 @if target-libjava
48841 maybe-pdf-target-libjava: pdf-target-libjava
48843 pdf-target-libjava: \
48844 configure-target-libjava
48845 @: $(MAKE); $(unstage)
48846 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48847 r=`${PWD_COMMAND}`; export r; \
48848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48849 $(RAW_CXX_TARGET_EXPORTS) \
48850 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
48851 for flag in $(EXTRA_TARGET_FLAGS); do \
48852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48853 done; \
48854 (cd $(TARGET_SUBDIR)/libjava && \
48855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48857 "RANLIB=$${RANLIB}" \
48858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48859 pdf) \
48860 || exit 1
48862 @endif target-libjava
48864 .PHONY: maybe-html-target-libjava html-target-libjava
48865 maybe-html-target-libjava:
48866 @if target-libjava
48867 maybe-html-target-libjava: html-target-libjava
48869 html-target-libjava: \
48870 configure-target-libjava
48871 @: $(MAKE); $(unstage)
48872 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48873 r=`${PWD_COMMAND}`; export r; \
48874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48875 $(RAW_CXX_TARGET_EXPORTS) \
48876 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
48877 for flag in $(EXTRA_TARGET_FLAGS); do \
48878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48879 done; \
48880 (cd $(TARGET_SUBDIR)/libjava && \
48881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48883 "RANLIB=$${RANLIB}" \
48884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48885 html) \
48886 || exit 1
48888 @endif target-libjava
48890 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
48891 maybe-TAGS-target-libjava:
48892 @if target-libjava
48893 maybe-TAGS-target-libjava: TAGS-target-libjava
48895 TAGS-target-libjava: \
48896 configure-target-libjava
48897 @: $(MAKE); $(unstage)
48898 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48899 r=`${PWD_COMMAND}`; export r; \
48900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48901 $(RAW_CXX_TARGET_EXPORTS) \
48902 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
48903 for flag in $(EXTRA_TARGET_FLAGS); do \
48904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48905 done; \
48906 (cd $(TARGET_SUBDIR)/libjava && \
48907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48909 "RANLIB=$${RANLIB}" \
48910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48911 TAGS) \
48912 || exit 1
48914 @endif target-libjava
48916 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
48917 maybe-install-info-target-libjava:
48918 @if target-libjava
48919 maybe-install-info-target-libjava: install-info-target-libjava
48921 install-info-target-libjava: \
48922 configure-target-libjava \
48923 info-target-libjava
48924 @: $(MAKE); $(unstage)
48925 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48926 r=`${PWD_COMMAND}`; export r; \
48927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48928 $(RAW_CXX_TARGET_EXPORTS) \
48929 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
48930 for flag in $(EXTRA_TARGET_FLAGS); do \
48931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48932 done; \
48933 (cd $(TARGET_SUBDIR)/libjava && \
48934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48936 "RANLIB=$${RANLIB}" \
48937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48938 install-info) \
48939 || exit 1
48941 @endif target-libjava
48943 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
48944 maybe-install-pdf-target-libjava:
48945 @if target-libjava
48946 maybe-install-pdf-target-libjava: install-pdf-target-libjava
48948 install-pdf-target-libjava: \
48949 configure-target-libjava \
48950 pdf-target-libjava
48951 @: $(MAKE); $(unstage)
48952 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48953 r=`${PWD_COMMAND}`; export r; \
48954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48955 $(RAW_CXX_TARGET_EXPORTS) \
48956 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
48957 for flag in $(EXTRA_TARGET_FLAGS); do \
48958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48959 done; \
48960 (cd $(TARGET_SUBDIR)/libjava && \
48961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48963 "RANLIB=$${RANLIB}" \
48964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48965 install-pdf) \
48966 || exit 1
48968 @endif target-libjava
48970 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
48971 maybe-install-html-target-libjava:
48972 @if target-libjava
48973 maybe-install-html-target-libjava: install-html-target-libjava
48975 install-html-target-libjava: \
48976 configure-target-libjava \
48977 html-target-libjava
48978 @: $(MAKE); $(unstage)
48979 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
48980 r=`${PWD_COMMAND}`; export r; \
48981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48982 $(RAW_CXX_TARGET_EXPORTS) \
48983 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
48984 for flag in $(EXTRA_TARGET_FLAGS); do \
48985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48986 done; \
48987 (cd $(TARGET_SUBDIR)/libjava && \
48988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48990 "RANLIB=$${RANLIB}" \
48991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48992 install-html) \
48993 || exit 1
48995 @endif target-libjava
48997 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
48998 maybe-installcheck-target-libjava:
48999 @if target-libjava
49000 maybe-installcheck-target-libjava: installcheck-target-libjava
49002 installcheck-target-libjava: \
49003 configure-target-libjava
49004 @: $(MAKE); $(unstage)
49005 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49006 r=`${PWD_COMMAND}`; export r; \
49007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49008 $(RAW_CXX_TARGET_EXPORTS) \
49009 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
49010 for flag in $(EXTRA_TARGET_FLAGS); do \
49011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49012 done; \
49013 (cd $(TARGET_SUBDIR)/libjava && \
49014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49016 "RANLIB=$${RANLIB}" \
49017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49018 installcheck) \
49019 || exit 1
49021 @endif target-libjava
49023 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
49024 maybe-mostlyclean-target-libjava:
49025 @if target-libjava
49026 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
49028 mostlyclean-target-libjava:
49029 @: $(MAKE); $(unstage)
49030 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49031 r=`${PWD_COMMAND}`; export r; \
49032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49033 $(RAW_CXX_TARGET_EXPORTS) \
49034 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
49035 for flag in $(EXTRA_TARGET_FLAGS); do \
49036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49037 done; \
49038 (cd $(TARGET_SUBDIR)/libjava && \
49039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49041 "RANLIB=$${RANLIB}" \
49042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49043 mostlyclean) \
49044 || exit 1
49046 @endif target-libjava
49048 .PHONY: maybe-clean-target-libjava clean-target-libjava
49049 maybe-clean-target-libjava:
49050 @if target-libjava
49051 maybe-clean-target-libjava: clean-target-libjava
49053 clean-target-libjava:
49054 @: $(MAKE); $(unstage)
49055 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49056 r=`${PWD_COMMAND}`; export r; \
49057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49058 $(RAW_CXX_TARGET_EXPORTS) \
49059 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
49060 for flag in $(EXTRA_TARGET_FLAGS); do \
49061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49062 done; \
49063 (cd $(TARGET_SUBDIR)/libjava && \
49064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49066 "RANLIB=$${RANLIB}" \
49067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49068 clean) \
49069 || exit 1
49071 @endif target-libjava
49073 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
49074 maybe-distclean-target-libjava:
49075 @if target-libjava
49076 maybe-distclean-target-libjava: distclean-target-libjava
49078 distclean-target-libjava:
49079 @: $(MAKE); $(unstage)
49080 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49081 r=`${PWD_COMMAND}`; export r; \
49082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49083 $(RAW_CXX_TARGET_EXPORTS) \
49084 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
49085 for flag in $(EXTRA_TARGET_FLAGS); do \
49086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49087 done; \
49088 (cd $(TARGET_SUBDIR)/libjava && \
49089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49091 "RANLIB=$${RANLIB}" \
49092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49093 distclean) \
49094 || exit 1
49096 @endif target-libjava
49098 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
49099 maybe-maintainer-clean-target-libjava:
49100 @if target-libjava
49101 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
49103 maintainer-clean-target-libjava:
49104 @: $(MAKE); $(unstage)
49105 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49106 r=`${PWD_COMMAND}`; export r; \
49107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49108 $(RAW_CXX_TARGET_EXPORTS) \
49109 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
49110 for flag in $(EXTRA_TARGET_FLAGS); do \
49111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49112 done; \
49113 (cd $(TARGET_SUBDIR)/libjava && \
49114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49116 "RANLIB=$${RANLIB}" \
49117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49118 maintainer-clean) \
49119 || exit 1
49121 @endif target-libjava
49127 .PHONY: configure-target-zlib maybe-configure-target-zlib
49128 maybe-configure-target-zlib:
49129 @if gcc-bootstrap
49130 configure-target-zlib: stage_current
49131 @endif gcc-bootstrap
49132 @if target-zlib
49133 maybe-configure-target-zlib: configure-target-zlib
49134 configure-target-zlib:
49135 @: $(MAKE); $(unstage)
49136 @r=`${PWD_COMMAND}`; export r; \
49137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49138 echo "Checking multilib configuration for zlib..."; \
49139 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
49140 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
49141 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
49142 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
49143 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
49144 else \
49145 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
49146 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49147 fi; \
49148 else \
49149 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49150 fi; \
49151 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
49152 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
49153 $(NORMAL_TARGET_EXPORTS) \
49154 echo Configuring in $(TARGET_SUBDIR)/zlib; \
49155 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
49156 case $(srcdir) in \
49157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49158 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
49159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49160 esac; \
49161 srcdiroption="--srcdir=$${topdir}/zlib"; \
49162 libsrcdir="$$s/zlib"; \
49163 rm -f no-such-file || : ; \
49164 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49165 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49166 --target=${target_alias} $${srcdiroption} \
49167 || exit 1
49168 @endif target-zlib
49174 .PHONY: all-target-zlib maybe-all-target-zlib
49175 maybe-all-target-zlib:
49176 @if gcc-bootstrap
49177 all-target-zlib: stage_current
49178 @endif gcc-bootstrap
49179 @if target-zlib
49180 TARGET-target-zlib=all
49181 maybe-all-target-zlib: all-target-zlib
49182 all-target-zlib: configure-target-zlib
49183 @: $(MAKE); $(unstage)
49184 @r=`${PWD_COMMAND}`; export r; \
49185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49186 $(NORMAL_TARGET_EXPORTS) \
49187 (cd $(TARGET_SUBDIR)/zlib && \
49188 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49189 $(TARGET-target-zlib))
49190 @endif target-zlib
49196 .PHONY: check-target-zlib maybe-check-target-zlib
49197 maybe-check-target-zlib:
49198 @if target-zlib
49199 maybe-check-target-zlib: check-target-zlib
49201 check-target-zlib:
49202 @: $(MAKE); $(unstage)
49203 @r=`${PWD_COMMAND}`; export r; \
49204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49205 $(NORMAL_TARGET_EXPORTS) \
49206 (cd $(TARGET_SUBDIR)/zlib && \
49207 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49209 @endif target-zlib
49211 .PHONY: install-target-zlib maybe-install-target-zlib
49212 maybe-install-target-zlib:
49213 @if target-zlib
49214 maybe-install-target-zlib: install-target-zlib
49216 install-target-zlib: installdirs
49217 @: $(MAKE); $(unstage)
49218 @r=`${PWD_COMMAND}`; export r; \
49219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49220 $(NORMAL_TARGET_EXPORTS) \
49221 (cd $(TARGET_SUBDIR)/zlib && \
49222 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49224 @endif target-zlib
49226 # Other targets (info, dvi, pdf, etc.)
49228 .PHONY: maybe-info-target-zlib info-target-zlib
49229 maybe-info-target-zlib:
49230 @if target-zlib
49231 maybe-info-target-zlib: info-target-zlib
49233 info-target-zlib: \
49234 configure-target-zlib
49235 @: $(MAKE); $(unstage)
49236 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49237 r=`${PWD_COMMAND}`; export r; \
49238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49239 $(NORMAL_TARGET_EXPORTS) \
49240 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
49241 for flag in $(EXTRA_TARGET_FLAGS); do \
49242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49243 done; \
49244 (cd $(TARGET_SUBDIR)/zlib && \
49245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49247 "RANLIB=$${RANLIB}" \
49248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49249 info) \
49250 || exit 1
49252 @endif target-zlib
49254 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
49255 maybe-dvi-target-zlib:
49256 @if target-zlib
49257 maybe-dvi-target-zlib: dvi-target-zlib
49259 dvi-target-zlib: \
49260 configure-target-zlib
49261 @: $(MAKE); $(unstage)
49262 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49263 r=`${PWD_COMMAND}`; export r; \
49264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49265 $(NORMAL_TARGET_EXPORTS) \
49266 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
49267 for flag in $(EXTRA_TARGET_FLAGS); do \
49268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49269 done; \
49270 (cd $(TARGET_SUBDIR)/zlib && \
49271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49273 "RANLIB=$${RANLIB}" \
49274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49275 dvi) \
49276 || exit 1
49278 @endif target-zlib
49280 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
49281 maybe-pdf-target-zlib:
49282 @if target-zlib
49283 maybe-pdf-target-zlib: pdf-target-zlib
49285 pdf-target-zlib: \
49286 configure-target-zlib
49287 @: $(MAKE); $(unstage)
49288 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49289 r=`${PWD_COMMAND}`; export r; \
49290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49291 $(NORMAL_TARGET_EXPORTS) \
49292 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
49293 for flag in $(EXTRA_TARGET_FLAGS); do \
49294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49295 done; \
49296 (cd $(TARGET_SUBDIR)/zlib && \
49297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49299 "RANLIB=$${RANLIB}" \
49300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49301 pdf) \
49302 || exit 1
49304 @endif target-zlib
49306 .PHONY: maybe-html-target-zlib html-target-zlib
49307 maybe-html-target-zlib:
49308 @if target-zlib
49309 maybe-html-target-zlib: html-target-zlib
49311 html-target-zlib: \
49312 configure-target-zlib
49313 @: $(MAKE); $(unstage)
49314 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49315 r=`${PWD_COMMAND}`; export r; \
49316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49317 $(NORMAL_TARGET_EXPORTS) \
49318 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
49319 for flag in $(EXTRA_TARGET_FLAGS); do \
49320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49321 done; \
49322 (cd $(TARGET_SUBDIR)/zlib && \
49323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49325 "RANLIB=$${RANLIB}" \
49326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49327 html) \
49328 || exit 1
49330 @endif target-zlib
49332 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
49333 maybe-TAGS-target-zlib:
49334 @if target-zlib
49335 maybe-TAGS-target-zlib: TAGS-target-zlib
49337 TAGS-target-zlib: \
49338 configure-target-zlib
49339 @: $(MAKE); $(unstage)
49340 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49341 r=`${PWD_COMMAND}`; export r; \
49342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49343 $(NORMAL_TARGET_EXPORTS) \
49344 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
49345 for flag in $(EXTRA_TARGET_FLAGS); do \
49346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49347 done; \
49348 (cd $(TARGET_SUBDIR)/zlib && \
49349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49351 "RANLIB=$${RANLIB}" \
49352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49353 TAGS) \
49354 || exit 1
49356 @endif target-zlib
49358 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
49359 maybe-install-info-target-zlib:
49360 @if target-zlib
49361 maybe-install-info-target-zlib: install-info-target-zlib
49363 install-info-target-zlib: \
49364 configure-target-zlib \
49365 info-target-zlib
49366 @: $(MAKE); $(unstage)
49367 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49368 r=`${PWD_COMMAND}`; export r; \
49369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49370 $(NORMAL_TARGET_EXPORTS) \
49371 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
49372 for flag in $(EXTRA_TARGET_FLAGS); do \
49373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49374 done; \
49375 (cd $(TARGET_SUBDIR)/zlib && \
49376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49378 "RANLIB=$${RANLIB}" \
49379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49380 install-info) \
49381 || exit 1
49383 @endif target-zlib
49385 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
49386 maybe-install-pdf-target-zlib:
49387 @if target-zlib
49388 maybe-install-pdf-target-zlib: install-pdf-target-zlib
49390 install-pdf-target-zlib: \
49391 configure-target-zlib \
49392 pdf-target-zlib
49393 @: $(MAKE); $(unstage)
49394 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49395 r=`${PWD_COMMAND}`; export r; \
49396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49397 $(NORMAL_TARGET_EXPORTS) \
49398 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
49399 for flag in $(EXTRA_TARGET_FLAGS); do \
49400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49401 done; \
49402 (cd $(TARGET_SUBDIR)/zlib && \
49403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49405 "RANLIB=$${RANLIB}" \
49406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49407 install-pdf) \
49408 || exit 1
49410 @endif target-zlib
49412 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
49413 maybe-install-html-target-zlib:
49414 @if target-zlib
49415 maybe-install-html-target-zlib: install-html-target-zlib
49417 install-html-target-zlib: \
49418 configure-target-zlib \
49419 html-target-zlib
49420 @: $(MAKE); $(unstage)
49421 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49422 r=`${PWD_COMMAND}`; export r; \
49423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49424 $(NORMAL_TARGET_EXPORTS) \
49425 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
49426 for flag in $(EXTRA_TARGET_FLAGS); do \
49427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49428 done; \
49429 (cd $(TARGET_SUBDIR)/zlib && \
49430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49432 "RANLIB=$${RANLIB}" \
49433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49434 install-html) \
49435 || exit 1
49437 @endif target-zlib
49439 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
49440 maybe-installcheck-target-zlib:
49441 @if target-zlib
49442 maybe-installcheck-target-zlib: installcheck-target-zlib
49444 installcheck-target-zlib: \
49445 configure-target-zlib
49446 @: $(MAKE); $(unstage)
49447 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49448 r=`${PWD_COMMAND}`; export r; \
49449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49450 $(NORMAL_TARGET_EXPORTS) \
49451 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
49452 for flag in $(EXTRA_TARGET_FLAGS); do \
49453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49454 done; \
49455 (cd $(TARGET_SUBDIR)/zlib && \
49456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49458 "RANLIB=$${RANLIB}" \
49459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49460 installcheck) \
49461 || exit 1
49463 @endif target-zlib
49465 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
49466 maybe-mostlyclean-target-zlib:
49467 @if target-zlib
49468 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
49470 mostlyclean-target-zlib:
49471 @: $(MAKE); $(unstage)
49472 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49473 r=`${PWD_COMMAND}`; export r; \
49474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49475 $(NORMAL_TARGET_EXPORTS) \
49476 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
49477 for flag in $(EXTRA_TARGET_FLAGS); do \
49478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49479 done; \
49480 (cd $(TARGET_SUBDIR)/zlib && \
49481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49483 "RANLIB=$${RANLIB}" \
49484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49485 mostlyclean) \
49486 || exit 1
49488 @endif target-zlib
49490 .PHONY: maybe-clean-target-zlib clean-target-zlib
49491 maybe-clean-target-zlib:
49492 @if target-zlib
49493 maybe-clean-target-zlib: clean-target-zlib
49495 clean-target-zlib:
49496 @: $(MAKE); $(unstage)
49497 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49498 r=`${PWD_COMMAND}`; export r; \
49499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49500 $(NORMAL_TARGET_EXPORTS) \
49501 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
49502 for flag in $(EXTRA_TARGET_FLAGS); do \
49503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49504 done; \
49505 (cd $(TARGET_SUBDIR)/zlib && \
49506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49508 "RANLIB=$${RANLIB}" \
49509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49510 clean) \
49511 || exit 1
49513 @endif target-zlib
49515 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
49516 maybe-distclean-target-zlib:
49517 @if target-zlib
49518 maybe-distclean-target-zlib: distclean-target-zlib
49520 distclean-target-zlib:
49521 @: $(MAKE); $(unstage)
49522 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49523 r=`${PWD_COMMAND}`; export r; \
49524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49525 $(NORMAL_TARGET_EXPORTS) \
49526 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
49527 for flag in $(EXTRA_TARGET_FLAGS); do \
49528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49529 done; \
49530 (cd $(TARGET_SUBDIR)/zlib && \
49531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49533 "RANLIB=$${RANLIB}" \
49534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49535 distclean) \
49536 || exit 1
49538 @endif target-zlib
49540 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
49541 maybe-maintainer-clean-target-zlib:
49542 @if target-zlib
49543 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
49545 maintainer-clean-target-zlib:
49546 @: $(MAKE); $(unstage)
49547 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49548 r=`${PWD_COMMAND}`; export r; \
49549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49550 $(NORMAL_TARGET_EXPORTS) \
49551 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
49552 for flag in $(EXTRA_TARGET_FLAGS); do \
49553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49554 done; \
49555 (cd $(TARGET_SUBDIR)/zlib && \
49556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49558 "RANLIB=$${RANLIB}" \
49559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49560 maintainer-clean) \
49561 || exit 1
49563 @endif target-zlib
49569 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
49570 maybe-configure-target-boehm-gc:
49571 @if gcc-bootstrap
49572 configure-target-boehm-gc: stage_current
49573 @endif gcc-bootstrap
49574 @if target-boehm-gc
49575 maybe-configure-target-boehm-gc: configure-target-boehm-gc
49576 configure-target-boehm-gc:
49577 @: $(MAKE); $(unstage)
49578 @r=`${PWD_COMMAND}`; export r; \
49579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49580 echo "Checking multilib configuration for boehm-gc..."; \
49581 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
49582 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
49583 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
49584 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
49585 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
49586 else \
49587 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
49588 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
49589 fi; \
49590 else \
49591 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
49592 fi; \
49593 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
49594 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
49595 $(NORMAL_TARGET_EXPORTS) \
49596 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
49597 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
49598 case $(srcdir) in \
49599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49600 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
49601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49602 esac; \
49603 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
49604 libsrcdir="$$s/boehm-gc"; \
49605 rm -f no-such-file || : ; \
49606 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49607 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49608 --target=${target_alias} $${srcdiroption} \
49609 || exit 1
49610 @endif target-boehm-gc
49616 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
49617 maybe-all-target-boehm-gc:
49618 @if gcc-bootstrap
49619 all-target-boehm-gc: stage_current
49620 @endif gcc-bootstrap
49621 @if target-boehm-gc
49622 TARGET-target-boehm-gc=all
49623 maybe-all-target-boehm-gc: all-target-boehm-gc
49624 all-target-boehm-gc: configure-target-boehm-gc
49625 @: $(MAKE); $(unstage)
49626 @r=`${PWD_COMMAND}`; export r; \
49627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49628 $(NORMAL_TARGET_EXPORTS) \
49629 (cd $(TARGET_SUBDIR)/boehm-gc && \
49630 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49631 $(TARGET-target-boehm-gc))
49632 @endif target-boehm-gc
49638 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
49639 maybe-check-target-boehm-gc:
49640 @if target-boehm-gc
49641 maybe-check-target-boehm-gc: check-target-boehm-gc
49643 check-target-boehm-gc:
49644 @: $(MAKE); $(unstage)
49645 @r=`${PWD_COMMAND}`; export r; \
49646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49647 $(NORMAL_TARGET_EXPORTS) \
49648 (cd $(TARGET_SUBDIR)/boehm-gc && \
49649 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49651 @endif target-boehm-gc
49653 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
49654 maybe-install-target-boehm-gc:
49655 @if target-boehm-gc
49656 maybe-install-target-boehm-gc: install-target-boehm-gc
49658 install-target-boehm-gc: installdirs
49659 @: $(MAKE); $(unstage)
49660 @r=`${PWD_COMMAND}`; export r; \
49661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49662 $(NORMAL_TARGET_EXPORTS) \
49663 (cd $(TARGET_SUBDIR)/boehm-gc && \
49664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49666 @endif target-boehm-gc
49668 # Other targets (info, dvi, pdf, etc.)
49670 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
49671 maybe-info-target-boehm-gc:
49672 @if target-boehm-gc
49673 maybe-info-target-boehm-gc: info-target-boehm-gc
49675 info-target-boehm-gc: \
49676 configure-target-boehm-gc
49677 @: $(MAKE); $(unstage)
49678 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49679 r=`${PWD_COMMAND}`; export r; \
49680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49681 $(NORMAL_TARGET_EXPORTS) \
49682 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
49683 for flag in $(EXTRA_TARGET_FLAGS); do \
49684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49685 done; \
49686 (cd $(TARGET_SUBDIR)/boehm-gc && \
49687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49689 "RANLIB=$${RANLIB}" \
49690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49691 info) \
49692 || exit 1
49694 @endif target-boehm-gc
49696 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
49697 maybe-dvi-target-boehm-gc:
49698 @if target-boehm-gc
49699 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
49701 dvi-target-boehm-gc: \
49702 configure-target-boehm-gc
49703 @: $(MAKE); $(unstage)
49704 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49705 r=`${PWD_COMMAND}`; export r; \
49706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49707 $(NORMAL_TARGET_EXPORTS) \
49708 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
49709 for flag in $(EXTRA_TARGET_FLAGS); do \
49710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49711 done; \
49712 (cd $(TARGET_SUBDIR)/boehm-gc && \
49713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49715 "RANLIB=$${RANLIB}" \
49716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49717 dvi) \
49718 || exit 1
49720 @endif target-boehm-gc
49722 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
49723 maybe-pdf-target-boehm-gc:
49724 @if target-boehm-gc
49725 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
49727 pdf-target-boehm-gc: \
49728 configure-target-boehm-gc
49729 @: $(MAKE); $(unstage)
49730 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49731 r=`${PWD_COMMAND}`; export r; \
49732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49733 $(NORMAL_TARGET_EXPORTS) \
49734 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
49735 for flag in $(EXTRA_TARGET_FLAGS); do \
49736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49737 done; \
49738 (cd $(TARGET_SUBDIR)/boehm-gc && \
49739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49741 "RANLIB=$${RANLIB}" \
49742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49743 pdf) \
49744 || exit 1
49746 @endif target-boehm-gc
49748 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
49749 maybe-html-target-boehm-gc:
49750 @if target-boehm-gc
49751 maybe-html-target-boehm-gc: html-target-boehm-gc
49753 html-target-boehm-gc: \
49754 configure-target-boehm-gc
49755 @: $(MAKE); $(unstage)
49756 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49757 r=`${PWD_COMMAND}`; export r; \
49758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49759 $(NORMAL_TARGET_EXPORTS) \
49760 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
49761 for flag in $(EXTRA_TARGET_FLAGS); do \
49762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49763 done; \
49764 (cd $(TARGET_SUBDIR)/boehm-gc && \
49765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49767 "RANLIB=$${RANLIB}" \
49768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49769 html) \
49770 || exit 1
49772 @endif target-boehm-gc
49774 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
49775 maybe-TAGS-target-boehm-gc:
49776 @if target-boehm-gc
49777 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
49779 TAGS-target-boehm-gc: \
49780 configure-target-boehm-gc
49781 @: $(MAKE); $(unstage)
49782 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49783 r=`${PWD_COMMAND}`; export r; \
49784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49785 $(NORMAL_TARGET_EXPORTS) \
49786 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
49787 for flag in $(EXTRA_TARGET_FLAGS); do \
49788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49789 done; \
49790 (cd $(TARGET_SUBDIR)/boehm-gc && \
49791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49793 "RANLIB=$${RANLIB}" \
49794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49795 TAGS) \
49796 || exit 1
49798 @endif target-boehm-gc
49800 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
49801 maybe-install-info-target-boehm-gc:
49802 @if target-boehm-gc
49803 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
49805 install-info-target-boehm-gc: \
49806 configure-target-boehm-gc \
49807 info-target-boehm-gc
49808 @: $(MAKE); $(unstage)
49809 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49810 r=`${PWD_COMMAND}`; export r; \
49811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49812 $(NORMAL_TARGET_EXPORTS) \
49813 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
49814 for flag in $(EXTRA_TARGET_FLAGS); do \
49815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49816 done; \
49817 (cd $(TARGET_SUBDIR)/boehm-gc && \
49818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49820 "RANLIB=$${RANLIB}" \
49821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49822 install-info) \
49823 || exit 1
49825 @endif target-boehm-gc
49827 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
49828 maybe-install-pdf-target-boehm-gc:
49829 @if target-boehm-gc
49830 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
49832 install-pdf-target-boehm-gc: \
49833 configure-target-boehm-gc \
49834 pdf-target-boehm-gc
49835 @: $(MAKE); $(unstage)
49836 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49837 r=`${PWD_COMMAND}`; export r; \
49838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49839 $(NORMAL_TARGET_EXPORTS) \
49840 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
49841 for flag in $(EXTRA_TARGET_FLAGS); do \
49842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49843 done; \
49844 (cd $(TARGET_SUBDIR)/boehm-gc && \
49845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49847 "RANLIB=$${RANLIB}" \
49848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49849 install-pdf) \
49850 || exit 1
49852 @endif target-boehm-gc
49854 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
49855 maybe-install-html-target-boehm-gc:
49856 @if target-boehm-gc
49857 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
49859 install-html-target-boehm-gc: \
49860 configure-target-boehm-gc \
49861 html-target-boehm-gc
49862 @: $(MAKE); $(unstage)
49863 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49864 r=`${PWD_COMMAND}`; export r; \
49865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49866 $(NORMAL_TARGET_EXPORTS) \
49867 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
49868 for flag in $(EXTRA_TARGET_FLAGS); do \
49869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49870 done; \
49871 (cd $(TARGET_SUBDIR)/boehm-gc && \
49872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49874 "RANLIB=$${RANLIB}" \
49875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49876 install-html) \
49877 || exit 1
49879 @endif target-boehm-gc
49881 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
49882 maybe-installcheck-target-boehm-gc:
49883 @if target-boehm-gc
49884 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
49886 installcheck-target-boehm-gc: \
49887 configure-target-boehm-gc
49888 @: $(MAKE); $(unstage)
49889 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49890 r=`${PWD_COMMAND}`; export r; \
49891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49892 $(NORMAL_TARGET_EXPORTS) \
49893 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
49894 for flag in $(EXTRA_TARGET_FLAGS); do \
49895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49896 done; \
49897 (cd $(TARGET_SUBDIR)/boehm-gc && \
49898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49900 "RANLIB=$${RANLIB}" \
49901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49902 installcheck) \
49903 || exit 1
49905 @endif target-boehm-gc
49907 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
49908 maybe-mostlyclean-target-boehm-gc:
49909 @if target-boehm-gc
49910 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
49912 mostlyclean-target-boehm-gc:
49913 @: $(MAKE); $(unstage)
49914 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49915 r=`${PWD_COMMAND}`; export r; \
49916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49917 $(NORMAL_TARGET_EXPORTS) \
49918 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
49919 for flag in $(EXTRA_TARGET_FLAGS); do \
49920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49921 done; \
49922 (cd $(TARGET_SUBDIR)/boehm-gc && \
49923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49925 "RANLIB=$${RANLIB}" \
49926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49927 mostlyclean) \
49928 || exit 1
49930 @endif target-boehm-gc
49932 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
49933 maybe-clean-target-boehm-gc:
49934 @if target-boehm-gc
49935 maybe-clean-target-boehm-gc: clean-target-boehm-gc
49937 clean-target-boehm-gc:
49938 @: $(MAKE); $(unstage)
49939 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49940 r=`${PWD_COMMAND}`; export r; \
49941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49942 $(NORMAL_TARGET_EXPORTS) \
49943 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
49944 for flag in $(EXTRA_TARGET_FLAGS); do \
49945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49946 done; \
49947 (cd $(TARGET_SUBDIR)/boehm-gc && \
49948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49950 "RANLIB=$${RANLIB}" \
49951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49952 clean) \
49953 || exit 1
49955 @endif target-boehm-gc
49957 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
49958 maybe-distclean-target-boehm-gc:
49959 @if target-boehm-gc
49960 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
49962 distclean-target-boehm-gc:
49963 @: $(MAKE); $(unstage)
49964 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49965 r=`${PWD_COMMAND}`; export r; \
49966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49967 $(NORMAL_TARGET_EXPORTS) \
49968 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
49969 for flag in $(EXTRA_TARGET_FLAGS); do \
49970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49971 done; \
49972 (cd $(TARGET_SUBDIR)/boehm-gc && \
49973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49975 "RANLIB=$${RANLIB}" \
49976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49977 distclean) \
49978 || exit 1
49980 @endif target-boehm-gc
49982 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
49983 maybe-maintainer-clean-target-boehm-gc:
49984 @if target-boehm-gc
49985 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
49987 maintainer-clean-target-boehm-gc:
49988 @: $(MAKE); $(unstage)
49989 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
49990 r=`${PWD_COMMAND}`; export r; \
49991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49992 $(NORMAL_TARGET_EXPORTS) \
49993 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
49994 for flag in $(EXTRA_TARGET_FLAGS); do \
49995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49996 done; \
49997 (cd $(TARGET_SUBDIR)/boehm-gc && \
49998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50000 "RANLIB=$${RANLIB}" \
50001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50002 maintainer-clean) \
50003 || exit 1
50005 @endif target-boehm-gc
50011 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
50012 maybe-configure-target-qthreads:
50013 @if gcc-bootstrap
50014 configure-target-qthreads: stage_current
50015 @endif gcc-bootstrap
50016 @if target-qthreads
50017 maybe-configure-target-qthreads: configure-target-qthreads
50018 configure-target-qthreads:
50019 @: $(MAKE); $(unstage)
50020 @r=`${PWD_COMMAND}`; export r; \
50021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50022 echo "Checking multilib configuration for qthreads..."; \
50023 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
50024 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
50025 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
50026 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
50027 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
50028 else \
50029 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
50030 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
50031 fi; \
50032 else \
50033 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
50034 fi; \
50035 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
50036 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
50037 $(NORMAL_TARGET_EXPORTS) \
50038 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
50039 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
50040 case $(srcdir) in \
50041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50042 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
50043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50044 esac; \
50045 srcdiroption="--srcdir=$${topdir}/qthreads"; \
50046 libsrcdir="$$s/qthreads"; \
50047 rm -f no-such-file || : ; \
50048 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50049 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50050 --target=${target_alias} $${srcdiroption} \
50051 || exit 1
50052 @endif target-qthreads
50058 .PHONY: all-target-qthreads maybe-all-target-qthreads
50059 maybe-all-target-qthreads:
50060 @if gcc-bootstrap
50061 all-target-qthreads: stage_current
50062 @endif gcc-bootstrap
50063 @if target-qthreads
50064 TARGET-target-qthreads=all
50065 maybe-all-target-qthreads: all-target-qthreads
50066 all-target-qthreads: configure-target-qthreads
50067 @: $(MAKE); $(unstage)
50068 @r=`${PWD_COMMAND}`; export r; \
50069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50070 $(NORMAL_TARGET_EXPORTS) \
50071 (cd $(TARGET_SUBDIR)/qthreads && \
50072 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50073 $(TARGET-target-qthreads))
50074 @endif target-qthreads
50080 .PHONY: check-target-qthreads maybe-check-target-qthreads
50081 maybe-check-target-qthreads:
50082 @if target-qthreads
50083 maybe-check-target-qthreads: check-target-qthreads
50085 check-target-qthreads:
50086 @: $(MAKE); $(unstage)
50087 @r=`${PWD_COMMAND}`; export r; \
50088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50089 $(NORMAL_TARGET_EXPORTS) \
50090 (cd $(TARGET_SUBDIR)/qthreads && \
50091 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50093 @endif target-qthreads
50095 .PHONY: install-target-qthreads maybe-install-target-qthreads
50096 maybe-install-target-qthreads:
50097 @if target-qthreads
50098 maybe-install-target-qthreads: install-target-qthreads
50100 install-target-qthreads: installdirs
50101 @: $(MAKE); $(unstage)
50102 @r=`${PWD_COMMAND}`; export r; \
50103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50104 $(NORMAL_TARGET_EXPORTS) \
50105 (cd $(TARGET_SUBDIR)/qthreads && \
50106 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50108 @endif target-qthreads
50110 # Other targets (info, dvi, pdf, etc.)
50112 .PHONY: maybe-info-target-qthreads info-target-qthreads
50113 maybe-info-target-qthreads:
50114 @if target-qthreads
50115 maybe-info-target-qthreads: info-target-qthreads
50117 info-target-qthreads: \
50118 configure-target-qthreads
50119 @: $(MAKE); $(unstage)
50120 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50121 r=`${PWD_COMMAND}`; export r; \
50122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50123 $(NORMAL_TARGET_EXPORTS) \
50124 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
50125 for flag in $(EXTRA_TARGET_FLAGS); do \
50126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50127 done; \
50128 (cd $(TARGET_SUBDIR)/qthreads && \
50129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50131 "RANLIB=$${RANLIB}" \
50132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50133 info) \
50134 || exit 1
50136 @endif target-qthreads
50138 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
50139 maybe-dvi-target-qthreads:
50140 @if target-qthreads
50141 maybe-dvi-target-qthreads: dvi-target-qthreads
50143 dvi-target-qthreads: \
50144 configure-target-qthreads
50145 @: $(MAKE); $(unstage)
50146 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50147 r=`${PWD_COMMAND}`; export r; \
50148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50149 $(NORMAL_TARGET_EXPORTS) \
50150 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
50151 for flag in $(EXTRA_TARGET_FLAGS); do \
50152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50153 done; \
50154 (cd $(TARGET_SUBDIR)/qthreads && \
50155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50157 "RANLIB=$${RANLIB}" \
50158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50159 dvi) \
50160 || exit 1
50162 @endif target-qthreads
50164 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
50165 maybe-pdf-target-qthreads:
50166 @if target-qthreads
50167 maybe-pdf-target-qthreads: pdf-target-qthreads
50169 pdf-target-qthreads: \
50170 configure-target-qthreads
50171 @: $(MAKE); $(unstage)
50172 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50173 r=`${PWD_COMMAND}`; export r; \
50174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50175 $(NORMAL_TARGET_EXPORTS) \
50176 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
50177 for flag in $(EXTRA_TARGET_FLAGS); do \
50178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50179 done; \
50180 (cd $(TARGET_SUBDIR)/qthreads && \
50181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50183 "RANLIB=$${RANLIB}" \
50184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50185 pdf) \
50186 || exit 1
50188 @endif target-qthreads
50190 .PHONY: maybe-html-target-qthreads html-target-qthreads
50191 maybe-html-target-qthreads:
50192 @if target-qthreads
50193 maybe-html-target-qthreads: html-target-qthreads
50195 html-target-qthreads: \
50196 configure-target-qthreads
50197 @: $(MAKE); $(unstage)
50198 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50199 r=`${PWD_COMMAND}`; export r; \
50200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50201 $(NORMAL_TARGET_EXPORTS) \
50202 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
50203 for flag in $(EXTRA_TARGET_FLAGS); do \
50204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50205 done; \
50206 (cd $(TARGET_SUBDIR)/qthreads && \
50207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50209 "RANLIB=$${RANLIB}" \
50210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50211 html) \
50212 || exit 1
50214 @endif target-qthreads
50216 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
50217 maybe-TAGS-target-qthreads:
50218 @if target-qthreads
50219 maybe-TAGS-target-qthreads: TAGS-target-qthreads
50221 TAGS-target-qthreads: \
50222 configure-target-qthreads
50223 @: $(MAKE); $(unstage)
50224 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50225 r=`${PWD_COMMAND}`; export r; \
50226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50227 $(NORMAL_TARGET_EXPORTS) \
50228 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
50229 for flag in $(EXTRA_TARGET_FLAGS); do \
50230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50231 done; \
50232 (cd $(TARGET_SUBDIR)/qthreads && \
50233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50235 "RANLIB=$${RANLIB}" \
50236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50237 TAGS) \
50238 || exit 1
50240 @endif target-qthreads
50242 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
50243 maybe-install-info-target-qthreads:
50244 @if target-qthreads
50245 maybe-install-info-target-qthreads: install-info-target-qthreads
50247 install-info-target-qthreads: \
50248 configure-target-qthreads \
50249 info-target-qthreads
50250 @: $(MAKE); $(unstage)
50251 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50252 r=`${PWD_COMMAND}`; export r; \
50253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50254 $(NORMAL_TARGET_EXPORTS) \
50255 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
50256 for flag in $(EXTRA_TARGET_FLAGS); do \
50257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50258 done; \
50259 (cd $(TARGET_SUBDIR)/qthreads && \
50260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50262 "RANLIB=$${RANLIB}" \
50263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50264 install-info) \
50265 || exit 1
50267 @endif target-qthreads
50269 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
50270 maybe-install-pdf-target-qthreads:
50271 @if target-qthreads
50272 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
50274 install-pdf-target-qthreads: \
50275 configure-target-qthreads \
50276 pdf-target-qthreads
50277 @: $(MAKE); $(unstage)
50278 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50279 r=`${PWD_COMMAND}`; export r; \
50280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50281 $(NORMAL_TARGET_EXPORTS) \
50282 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
50283 for flag in $(EXTRA_TARGET_FLAGS); do \
50284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50285 done; \
50286 (cd $(TARGET_SUBDIR)/qthreads && \
50287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50289 "RANLIB=$${RANLIB}" \
50290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50291 install-pdf) \
50292 || exit 1
50294 @endif target-qthreads
50296 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
50297 maybe-install-html-target-qthreads:
50298 @if target-qthreads
50299 maybe-install-html-target-qthreads: install-html-target-qthreads
50301 install-html-target-qthreads: \
50302 configure-target-qthreads \
50303 html-target-qthreads
50304 @: $(MAKE); $(unstage)
50305 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50306 r=`${PWD_COMMAND}`; export r; \
50307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50308 $(NORMAL_TARGET_EXPORTS) \
50309 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
50310 for flag in $(EXTRA_TARGET_FLAGS); do \
50311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50312 done; \
50313 (cd $(TARGET_SUBDIR)/qthreads && \
50314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50316 "RANLIB=$${RANLIB}" \
50317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50318 install-html) \
50319 || exit 1
50321 @endif target-qthreads
50323 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
50324 maybe-installcheck-target-qthreads:
50325 @if target-qthreads
50326 maybe-installcheck-target-qthreads: installcheck-target-qthreads
50328 installcheck-target-qthreads: \
50329 configure-target-qthreads
50330 @: $(MAKE); $(unstage)
50331 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50332 r=`${PWD_COMMAND}`; export r; \
50333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50334 $(NORMAL_TARGET_EXPORTS) \
50335 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
50336 for flag in $(EXTRA_TARGET_FLAGS); do \
50337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50338 done; \
50339 (cd $(TARGET_SUBDIR)/qthreads && \
50340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50342 "RANLIB=$${RANLIB}" \
50343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50344 installcheck) \
50345 || exit 1
50347 @endif target-qthreads
50349 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
50350 maybe-mostlyclean-target-qthreads:
50351 @if target-qthreads
50352 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
50354 mostlyclean-target-qthreads:
50355 @: $(MAKE); $(unstage)
50356 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50357 r=`${PWD_COMMAND}`; export r; \
50358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50359 $(NORMAL_TARGET_EXPORTS) \
50360 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
50361 for flag in $(EXTRA_TARGET_FLAGS); do \
50362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50363 done; \
50364 (cd $(TARGET_SUBDIR)/qthreads && \
50365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50367 "RANLIB=$${RANLIB}" \
50368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50369 mostlyclean) \
50370 || exit 1
50372 @endif target-qthreads
50374 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
50375 maybe-clean-target-qthreads:
50376 @if target-qthreads
50377 maybe-clean-target-qthreads: clean-target-qthreads
50379 clean-target-qthreads:
50380 @: $(MAKE); $(unstage)
50381 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50382 r=`${PWD_COMMAND}`; export r; \
50383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50384 $(NORMAL_TARGET_EXPORTS) \
50385 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
50386 for flag in $(EXTRA_TARGET_FLAGS); do \
50387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50388 done; \
50389 (cd $(TARGET_SUBDIR)/qthreads && \
50390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50392 "RANLIB=$${RANLIB}" \
50393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50394 clean) \
50395 || exit 1
50397 @endif target-qthreads
50399 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
50400 maybe-distclean-target-qthreads:
50401 @if target-qthreads
50402 maybe-distclean-target-qthreads: distclean-target-qthreads
50404 distclean-target-qthreads:
50405 @: $(MAKE); $(unstage)
50406 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50407 r=`${PWD_COMMAND}`; export r; \
50408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50409 $(NORMAL_TARGET_EXPORTS) \
50410 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
50411 for flag in $(EXTRA_TARGET_FLAGS); do \
50412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50413 done; \
50414 (cd $(TARGET_SUBDIR)/qthreads && \
50415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50417 "RANLIB=$${RANLIB}" \
50418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50419 distclean) \
50420 || exit 1
50422 @endif target-qthreads
50424 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
50425 maybe-maintainer-clean-target-qthreads:
50426 @if target-qthreads
50427 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
50429 maintainer-clean-target-qthreads:
50430 @: $(MAKE); $(unstage)
50431 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50432 r=`${PWD_COMMAND}`; export r; \
50433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50434 $(NORMAL_TARGET_EXPORTS) \
50435 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
50436 for flag in $(EXTRA_TARGET_FLAGS); do \
50437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50438 done; \
50439 (cd $(TARGET_SUBDIR)/qthreads && \
50440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50442 "RANLIB=$${RANLIB}" \
50443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50444 maintainer-clean) \
50445 || exit 1
50447 @endif target-qthreads
50453 .PHONY: configure-target-rda maybe-configure-target-rda
50454 maybe-configure-target-rda:
50455 @if gcc-bootstrap
50456 configure-target-rda: stage_current
50457 @endif gcc-bootstrap
50458 @if target-rda
50459 maybe-configure-target-rda: configure-target-rda
50460 configure-target-rda:
50461 @: $(MAKE); $(unstage)
50462 @r=`${PWD_COMMAND}`; export r; \
50463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50464 echo "Checking multilib configuration for rda..."; \
50465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
50466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
50467 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
50468 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
50469 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
50470 else \
50471 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
50472 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
50473 fi; \
50474 else \
50475 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
50476 fi; \
50477 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
50478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
50479 $(NORMAL_TARGET_EXPORTS) \
50480 echo Configuring in $(TARGET_SUBDIR)/rda; \
50481 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
50482 case $(srcdir) in \
50483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50484 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
50485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50486 esac; \
50487 srcdiroption="--srcdir=$${topdir}/rda"; \
50488 libsrcdir="$$s/rda"; \
50489 rm -f no-such-file || : ; \
50490 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50492 --target=${target_alias} $${srcdiroption} \
50493 || exit 1
50494 @endif target-rda
50500 .PHONY: all-target-rda maybe-all-target-rda
50501 maybe-all-target-rda:
50502 @if gcc-bootstrap
50503 all-target-rda: stage_current
50504 @endif gcc-bootstrap
50505 @if target-rda
50506 TARGET-target-rda=all
50507 maybe-all-target-rda: all-target-rda
50508 all-target-rda: configure-target-rda
50509 @: $(MAKE); $(unstage)
50510 @r=`${PWD_COMMAND}`; export r; \
50511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50512 $(NORMAL_TARGET_EXPORTS) \
50513 (cd $(TARGET_SUBDIR)/rda && \
50514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50515 $(TARGET-target-rda))
50516 @endif target-rda
50522 .PHONY: check-target-rda maybe-check-target-rda
50523 maybe-check-target-rda:
50524 @if target-rda
50525 maybe-check-target-rda: check-target-rda
50527 check-target-rda:
50528 @: $(MAKE); $(unstage)
50529 @r=`${PWD_COMMAND}`; export r; \
50530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50531 $(NORMAL_TARGET_EXPORTS) \
50532 (cd $(TARGET_SUBDIR)/rda && \
50533 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50535 @endif target-rda
50537 .PHONY: install-target-rda maybe-install-target-rda
50538 maybe-install-target-rda:
50539 @if target-rda
50540 maybe-install-target-rda: install-target-rda
50542 install-target-rda: installdirs
50543 @: $(MAKE); $(unstage)
50544 @r=`${PWD_COMMAND}`; export r; \
50545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50546 $(NORMAL_TARGET_EXPORTS) \
50547 (cd $(TARGET_SUBDIR)/rda && \
50548 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50550 @endif target-rda
50552 # Other targets (info, dvi, pdf, etc.)
50554 .PHONY: maybe-info-target-rda info-target-rda
50555 maybe-info-target-rda:
50556 @if target-rda
50557 maybe-info-target-rda: info-target-rda
50559 info-target-rda: \
50560 configure-target-rda
50561 @: $(MAKE); $(unstage)
50562 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50563 r=`${PWD_COMMAND}`; export r; \
50564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50565 $(NORMAL_TARGET_EXPORTS) \
50566 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
50567 for flag in $(EXTRA_TARGET_FLAGS); do \
50568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50569 done; \
50570 (cd $(TARGET_SUBDIR)/rda && \
50571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50573 "RANLIB=$${RANLIB}" \
50574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50575 info) \
50576 || exit 1
50578 @endif target-rda
50580 .PHONY: maybe-dvi-target-rda dvi-target-rda
50581 maybe-dvi-target-rda:
50582 @if target-rda
50583 maybe-dvi-target-rda: dvi-target-rda
50585 dvi-target-rda: \
50586 configure-target-rda
50587 @: $(MAKE); $(unstage)
50588 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50589 r=`${PWD_COMMAND}`; export r; \
50590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50591 $(NORMAL_TARGET_EXPORTS) \
50592 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
50593 for flag in $(EXTRA_TARGET_FLAGS); do \
50594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50595 done; \
50596 (cd $(TARGET_SUBDIR)/rda && \
50597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50599 "RANLIB=$${RANLIB}" \
50600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50601 dvi) \
50602 || exit 1
50604 @endif target-rda
50606 .PHONY: maybe-pdf-target-rda pdf-target-rda
50607 maybe-pdf-target-rda:
50608 @if target-rda
50609 maybe-pdf-target-rda: pdf-target-rda
50611 pdf-target-rda: \
50612 configure-target-rda
50613 @: $(MAKE); $(unstage)
50614 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50615 r=`${PWD_COMMAND}`; export r; \
50616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50617 $(NORMAL_TARGET_EXPORTS) \
50618 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
50619 for flag in $(EXTRA_TARGET_FLAGS); do \
50620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50621 done; \
50622 (cd $(TARGET_SUBDIR)/rda && \
50623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50625 "RANLIB=$${RANLIB}" \
50626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50627 pdf) \
50628 || exit 1
50630 @endif target-rda
50632 .PHONY: maybe-html-target-rda html-target-rda
50633 maybe-html-target-rda:
50634 @if target-rda
50635 maybe-html-target-rda: html-target-rda
50637 html-target-rda: \
50638 configure-target-rda
50639 @: $(MAKE); $(unstage)
50640 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50641 r=`${PWD_COMMAND}`; export r; \
50642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50643 $(NORMAL_TARGET_EXPORTS) \
50644 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
50645 for flag in $(EXTRA_TARGET_FLAGS); do \
50646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50647 done; \
50648 (cd $(TARGET_SUBDIR)/rda && \
50649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50651 "RANLIB=$${RANLIB}" \
50652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50653 html) \
50654 || exit 1
50656 @endif target-rda
50658 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
50659 maybe-TAGS-target-rda:
50660 @if target-rda
50661 maybe-TAGS-target-rda: TAGS-target-rda
50663 TAGS-target-rda: \
50664 configure-target-rda
50665 @: $(MAKE); $(unstage)
50666 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50667 r=`${PWD_COMMAND}`; export r; \
50668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50669 $(NORMAL_TARGET_EXPORTS) \
50670 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
50671 for flag in $(EXTRA_TARGET_FLAGS); do \
50672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50673 done; \
50674 (cd $(TARGET_SUBDIR)/rda && \
50675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50677 "RANLIB=$${RANLIB}" \
50678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50679 TAGS) \
50680 || exit 1
50682 @endif target-rda
50684 .PHONY: maybe-install-info-target-rda install-info-target-rda
50685 maybe-install-info-target-rda:
50686 @if target-rda
50687 maybe-install-info-target-rda: install-info-target-rda
50689 install-info-target-rda: \
50690 configure-target-rda \
50691 info-target-rda
50692 @: $(MAKE); $(unstage)
50693 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50694 r=`${PWD_COMMAND}`; export r; \
50695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50696 $(NORMAL_TARGET_EXPORTS) \
50697 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
50698 for flag in $(EXTRA_TARGET_FLAGS); do \
50699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50700 done; \
50701 (cd $(TARGET_SUBDIR)/rda && \
50702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50704 "RANLIB=$${RANLIB}" \
50705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50706 install-info) \
50707 || exit 1
50709 @endif target-rda
50711 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
50712 maybe-install-pdf-target-rda:
50713 @if target-rda
50714 maybe-install-pdf-target-rda: install-pdf-target-rda
50716 install-pdf-target-rda: \
50717 configure-target-rda \
50718 pdf-target-rda
50719 @: $(MAKE); $(unstage)
50720 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50721 r=`${PWD_COMMAND}`; export r; \
50722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50723 $(NORMAL_TARGET_EXPORTS) \
50724 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
50725 for flag in $(EXTRA_TARGET_FLAGS); do \
50726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50727 done; \
50728 (cd $(TARGET_SUBDIR)/rda && \
50729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50731 "RANLIB=$${RANLIB}" \
50732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50733 install-pdf) \
50734 || exit 1
50736 @endif target-rda
50738 .PHONY: maybe-install-html-target-rda install-html-target-rda
50739 maybe-install-html-target-rda:
50740 @if target-rda
50741 maybe-install-html-target-rda: install-html-target-rda
50743 install-html-target-rda: \
50744 configure-target-rda \
50745 html-target-rda
50746 @: $(MAKE); $(unstage)
50747 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50748 r=`${PWD_COMMAND}`; export r; \
50749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50750 $(NORMAL_TARGET_EXPORTS) \
50751 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
50752 for flag in $(EXTRA_TARGET_FLAGS); do \
50753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50754 done; \
50755 (cd $(TARGET_SUBDIR)/rda && \
50756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50758 "RANLIB=$${RANLIB}" \
50759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50760 install-html) \
50761 || exit 1
50763 @endif target-rda
50765 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
50766 maybe-installcheck-target-rda:
50767 @if target-rda
50768 maybe-installcheck-target-rda: installcheck-target-rda
50770 installcheck-target-rda: \
50771 configure-target-rda
50772 @: $(MAKE); $(unstage)
50773 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50774 r=`${PWD_COMMAND}`; export r; \
50775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50776 $(NORMAL_TARGET_EXPORTS) \
50777 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
50778 for flag in $(EXTRA_TARGET_FLAGS); do \
50779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50780 done; \
50781 (cd $(TARGET_SUBDIR)/rda && \
50782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50784 "RANLIB=$${RANLIB}" \
50785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50786 installcheck) \
50787 || exit 1
50789 @endif target-rda
50791 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
50792 maybe-mostlyclean-target-rda:
50793 @if target-rda
50794 maybe-mostlyclean-target-rda: mostlyclean-target-rda
50796 mostlyclean-target-rda:
50797 @: $(MAKE); $(unstage)
50798 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50799 r=`${PWD_COMMAND}`; export r; \
50800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50801 $(NORMAL_TARGET_EXPORTS) \
50802 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
50803 for flag in $(EXTRA_TARGET_FLAGS); do \
50804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50805 done; \
50806 (cd $(TARGET_SUBDIR)/rda && \
50807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50809 "RANLIB=$${RANLIB}" \
50810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50811 mostlyclean) \
50812 || exit 1
50814 @endif target-rda
50816 .PHONY: maybe-clean-target-rda clean-target-rda
50817 maybe-clean-target-rda:
50818 @if target-rda
50819 maybe-clean-target-rda: clean-target-rda
50821 clean-target-rda:
50822 @: $(MAKE); $(unstage)
50823 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50824 r=`${PWD_COMMAND}`; export r; \
50825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50826 $(NORMAL_TARGET_EXPORTS) \
50827 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
50828 for flag in $(EXTRA_TARGET_FLAGS); do \
50829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50830 done; \
50831 (cd $(TARGET_SUBDIR)/rda && \
50832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50834 "RANLIB=$${RANLIB}" \
50835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50836 clean) \
50837 || exit 1
50839 @endif target-rda
50841 .PHONY: maybe-distclean-target-rda distclean-target-rda
50842 maybe-distclean-target-rda:
50843 @if target-rda
50844 maybe-distclean-target-rda: distclean-target-rda
50846 distclean-target-rda:
50847 @: $(MAKE); $(unstage)
50848 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50849 r=`${PWD_COMMAND}`; export r; \
50850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50851 $(NORMAL_TARGET_EXPORTS) \
50852 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
50853 for flag in $(EXTRA_TARGET_FLAGS); do \
50854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50855 done; \
50856 (cd $(TARGET_SUBDIR)/rda && \
50857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50859 "RANLIB=$${RANLIB}" \
50860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50861 distclean) \
50862 || exit 1
50864 @endif target-rda
50866 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
50867 maybe-maintainer-clean-target-rda:
50868 @if target-rda
50869 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
50871 maintainer-clean-target-rda:
50872 @: $(MAKE); $(unstage)
50873 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
50874 r=`${PWD_COMMAND}`; export r; \
50875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50876 $(NORMAL_TARGET_EXPORTS) \
50877 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
50878 for flag in $(EXTRA_TARGET_FLAGS); do \
50879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50880 done; \
50881 (cd $(TARGET_SUBDIR)/rda && \
50882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50884 "RANLIB=$${RANLIB}" \
50885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50886 maintainer-clean) \
50887 || exit 1
50889 @endif target-rda
50895 .PHONY: configure-target-libada maybe-configure-target-libada
50896 maybe-configure-target-libada:
50897 @if gcc-bootstrap
50898 configure-target-libada: stage_current
50899 @endif gcc-bootstrap
50900 @if target-libada
50901 maybe-configure-target-libada: configure-target-libada
50902 configure-target-libada:
50903 @: $(MAKE); $(unstage)
50904 @r=`${PWD_COMMAND}`; export r; \
50905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50906 echo "Checking multilib configuration for libada..."; \
50907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
50908 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
50909 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
50910 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
50911 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
50912 else \
50913 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
50914 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50915 fi; \
50916 else \
50917 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50918 fi; \
50919 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
50920 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
50921 $(NORMAL_TARGET_EXPORTS) \
50922 echo Configuring in $(TARGET_SUBDIR)/libada; \
50923 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
50924 case $(srcdir) in \
50925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50926 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
50927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50928 esac; \
50929 srcdiroption="--srcdir=$${topdir}/libada"; \
50930 libsrcdir="$$s/libada"; \
50931 rm -f no-such-file || : ; \
50932 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50933 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50934 --target=${target_alias} $${srcdiroption} \
50935 || exit 1
50936 @endif target-libada
50942 .PHONY: all-target-libada maybe-all-target-libada
50943 maybe-all-target-libada:
50944 @if gcc-bootstrap
50945 all-target-libada: stage_current
50946 @endif gcc-bootstrap
50947 @if target-libada
50948 TARGET-target-libada=all
50949 maybe-all-target-libada: all-target-libada
50950 all-target-libada: configure-target-libada
50951 @: $(MAKE); $(unstage)
50952 @r=`${PWD_COMMAND}`; export r; \
50953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50954 $(NORMAL_TARGET_EXPORTS) \
50955 (cd $(TARGET_SUBDIR)/libada && \
50956 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50957 $(TARGET-target-libada))
50958 @endif target-libada
50964 .PHONY: check-target-libada maybe-check-target-libada
50965 maybe-check-target-libada:
50966 @if target-libada
50967 maybe-check-target-libada: check-target-libada
50969 check-target-libada:
50970 @: $(MAKE); $(unstage)
50971 @r=`${PWD_COMMAND}`; export r; \
50972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50973 $(NORMAL_TARGET_EXPORTS) \
50974 (cd $(TARGET_SUBDIR)/libada && \
50975 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50977 @endif target-libada
50979 .PHONY: install-target-libada maybe-install-target-libada
50980 maybe-install-target-libada:
50981 @if target-libada
50982 maybe-install-target-libada: install-target-libada
50984 install-target-libada: installdirs
50985 @: $(MAKE); $(unstage)
50986 @r=`${PWD_COMMAND}`; export r; \
50987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50988 $(NORMAL_TARGET_EXPORTS) \
50989 (cd $(TARGET_SUBDIR)/libada && \
50990 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50992 @endif target-libada
50994 # Other targets (info, dvi, pdf, etc.)
50996 .PHONY: maybe-info-target-libada info-target-libada
50997 maybe-info-target-libada:
50998 @if target-libada
50999 maybe-info-target-libada: info-target-libada
51001 info-target-libada: \
51002 configure-target-libada
51003 @: $(MAKE); $(unstage)
51004 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51005 r=`${PWD_COMMAND}`; export r; \
51006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51007 $(NORMAL_TARGET_EXPORTS) \
51008 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
51009 for flag in $(EXTRA_TARGET_FLAGS); do \
51010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51011 done; \
51012 (cd $(TARGET_SUBDIR)/libada && \
51013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51015 "RANLIB=$${RANLIB}" \
51016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51017 info) \
51018 || exit 1
51020 @endif target-libada
51022 .PHONY: maybe-dvi-target-libada dvi-target-libada
51023 maybe-dvi-target-libada:
51024 @if target-libada
51025 maybe-dvi-target-libada: dvi-target-libada
51027 dvi-target-libada: \
51028 configure-target-libada
51029 @: $(MAKE); $(unstage)
51030 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51031 r=`${PWD_COMMAND}`; export r; \
51032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51033 $(NORMAL_TARGET_EXPORTS) \
51034 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
51035 for flag in $(EXTRA_TARGET_FLAGS); do \
51036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51037 done; \
51038 (cd $(TARGET_SUBDIR)/libada && \
51039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51041 "RANLIB=$${RANLIB}" \
51042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51043 dvi) \
51044 || exit 1
51046 @endif target-libada
51048 .PHONY: maybe-pdf-target-libada pdf-target-libada
51049 maybe-pdf-target-libada:
51050 @if target-libada
51051 maybe-pdf-target-libada: pdf-target-libada
51053 pdf-target-libada: \
51054 configure-target-libada
51055 @: $(MAKE); $(unstage)
51056 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51057 r=`${PWD_COMMAND}`; export r; \
51058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51059 $(NORMAL_TARGET_EXPORTS) \
51060 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
51061 for flag in $(EXTRA_TARGET_FLAGS); do \
51062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51063 done; \
51064 (cd $(TARGET_SUBDIR)/libada && \
51065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51067 "RANLIB=$${RANLIB}" \
51068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51069 pdf) \
51070 || exit 1
51072 @endif target-libada
51074 .PHONY: maybe-html-target-libada html-target-libada
51075 maybe-html-target-libada:
51076 @if target-libada
51077 maybe-html-target-libada: html-target-libada
51079 html-target-libada: \
51080 configure-target-libada
51081 @: $(MAKE); $(unstage)
51082 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51083 r=`${PWD_COMMAND}`; export r; \
51084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51085 $(NORMAL_TARGET_EXPORTS) \
51086 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
51087 for flag in $(EXTRA_TARGET_FLAGS); do \
51088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51089 done; \
51090 (cd $(TARGET_SUBDIR)/libada && \
51091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51093 "RANLIB=$${RANLIB}" \
51094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51095 html) \
51096 || exit 1
51098 @endif target-libada
51100 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
51101 maybe-TAGS-target-libada:
51102 @if target-libada
51103 maybe-TAGS-target-libada: TAGS-target-libada
51105 TAGS-target-libada: \
51106 configure-target-libada
51107 @: $(MAKE); $(unstage)
51108 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51109 r=`${PWD_COMMAND}`; export r; \
51110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51111 $(NORMAL_TARGET_EXPORTS) \
51112 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
51113 for flag in $(EXTRA_TARGET_FLAGS); do \
51114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51115 done; \
51116 (cd $(TARGET_SUBDIR)/libada && \
51117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51119 "RANLIB=$${RANLIB}" \
51120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51121 TAGS) \
51122 || exit 1
51124 @endif target-libada
51126 .PHONY: maybe-install-info-target-libada install-info-target-libada
51127 maybe-install-info-target-libada:
51128 @if target-libada
51129 maybe-install-info-target-libada: install-info-target-libada
51131 install-info-target-libada: \
51132 configure-target-libada \
51133 info-target-libada
51134 @: $(MAKE); $(unstage)
51135 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51136 r=`${PWD_COMMAND}`; export r; \
51137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51138 $(NORMAL_TARGET_EXPORTS) \
51139 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
51140 for flag in $(EXTRA_TARGET_FLAGS); do \
51141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51142 done; \
51143 (cd $(TARGET_SUBDIR)/libada && \
51144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51146 "RANLIB=$${RANLIB}" \
51147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51148 install-info) \
51149 || exit 1
51151 @endif target-libada
51153 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
51154 maybe-install-pdf-target-libada:
51155 @if target-libada
51156 maybe-install-pdf-target-libada: install-pdf-target-libada
51158 install-pdf-target-libada: \
51159 configure-target-libada \
51160 pdf-target-libada
51161 @: $(MAKE); $(unstage)
51162 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51163 r=`${PWD_COMMAND}`; export r; \
51164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51165 $(NORMAL_TARGET_EXPORTS) \
51166 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
51167 for flag in $(EXTRA_TARGET_FLAGS); do \
51168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51169 done; \
51170 (cd $(TARGET_SUBDIR)/libada && \
51171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51173 "RANLIB=$${RANLIB}" \
51174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51175 install-pdf) \
51176 || exit 1
51178 @endif target-libada
51180 .PHONY: maybe-install-html-target-libada install-html-target-libada
51181 maybe-install-html-target-libada:
51182 @if target-libada
51183 maybe-install-html-target-libada: install-html-target-libada
51185 install-html-target-libada: \
51186 configure-target-libada \
51187 html-target-libada
51188 @: $(MAKE); $(unstage)
51189 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51190 r=`${PWD_COMMAND}`; export r; \
51191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51192 $(NORMAL_TARGET_EXPORTS) \
51193 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
51194 for flag in $(EXTRA_TARGET_FLAGS); do \
51195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51196 done; \
51197 (cd $(TARGET_SUBDIR)/libada && \
51198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51200 "RANLIB=$${RANLIB}" \
51201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51202 install-html) \
51203 || exit 1
51205 @endif target-libada
51207 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
51208 maybe-installcheck-target-libada:
51209 @if target-libada
51210 maybe-installcheck-target-libada: installcheck-target-libada
51212 installcheck-target-libada: \
51213 configure-target-libada
51214 @: $(MAKE); $(unstage)
51215 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51216 r=`${PWD_COMMAND}`; export r; \
51217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51218 $(NORMAL_TARGET_EXPORTS) \
51219 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
51220 for flag in $(EXTRA_TARGET_FLAGS); do \
51221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51222 done; \
51223 (cd $(TARGET_SUBDIR)/libada && \
51224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51226 "RANLIB=$${RANLIB}" \
51227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51228 installcheck) \
51229 || exit 1
51231 @endif target-libada
51233 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
51234 maybe-mostlyclean-target-libada:
51235 @if target-libada
51236 maybe-mostlyclean-target-libada: mostlyclean-target-libada
51238 mostlyclean-target-libada:
51239 @: $(MAKE); $(unstage)
51240 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51241 r=`${PWD_COMMAND}`; export r; \
51242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51243 $(NORMAL_TARGET_EXPORTS) \
51244 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
51245 for flag in $(EXTRA_TARGET_FLAGS); do \
51246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51247 done; \
51248 (cd $(TARGET_SUBDIR)/libada && \
51249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51251 "RANLIB=$${RANLIB}" \
51252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51253 mostlyclean) \
51254 || exit 1
51256 @endif target-libada
51258 .PHONY: maybe-clean-target-libada clean-target-libada
51259 maybe-clean-target-libada:
51260 @if target-libada
51261 maybe-clean-target-libada: clean-target-libada
51263 clean-target-libada:
51264 @: $(MAKE); $(unstage)
51265 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51266 r=`${PWD_COMMAND}`; export r; \
51267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51268 $(NORMAL_TARGET_EXPORTS) \
51269 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
51270 for flag in $(EXTRA_TARGET_FLAGS); do \
51271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51272 done; \
51273 (cd $(TARGET_SUBDIR)/libada && \
51274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51276 "RANLIB=$${RANLIB}" \
51277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51278 clean) \
51279 || exit 1
51281 @endif target-libada
51283 .PHONY: maybe-distclean-target-libada distclean-target-libada
51284 maybe-distclean-target-libada:
51285 @if target-libada
51286 maybe-distclean-target-libada: distclean-target-libada
51288 distclean-target-libada:
51289 @: $(MAKE); $(unstage)
51290 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51291 r=`${PWD_COMMAND}`; export r; \
51292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51293 $(NORMAL_TARGET_EXPORTS) \
51294 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
51295 for flag in $(EXTRA_TARGET_FLAGS); do \
51296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51297 done; \
51298 (cd $(TARGET_SUBDIR)/libada && \
51299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51301 "RANLIB=$${RANLIB}" \
51302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51303 distclean) \
51304 || exit 1
51306 @endif target-libada
51308 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
51309 maybe-maintainer-clean-target-libada:
51310 @if target-libada
51311 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
51313 maintainer-clean-target-libada:
51314 @: $(MAKE); $(unstage)
51315 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51316 r=`${PWD_COMMAND}`; export r; \
51317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51318 $(NORMAL_TARGET_EXPORTS) \
51319 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
51320 for flag in $(EXTRA_TARGET_FLAGS); do \
51321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51322 done; \
51323 (cd $(TARGET_SUBDIR)/libada && \
51324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51326 "RANLIB=$${RANLIB}" \
51327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51328 maintainer-clean) \
51329 || exit 1
51331 @endif target-libada
51337 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
51338 maybe-configure-target-libgomp:
51339 @if gcc-bootstrap
51340 configure-target-libgomp: stage_current
51341 @endif gcc-bootstrap
51342 @if target-libgomp
51343 maybe-configure-target-libgomp: configure-target-libgomp
51344 configure-target-libgomp:
51345 @: $(MAKE); $(unstage)
51346 @r=`${PWD_COMMAND}`; export r; \
51347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51348 echo "Checking multilib configuration for libgomp..."; \
51349 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
51350 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
51351 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51352 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51353 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51354 else \
51355 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51356 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51357 fi; \
51358 else \
51359 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51360 fi; \
51361 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51362 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
51363 $(NORMAL_TARGET_EXPORTS) \
51364 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
51365 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
51366 case $(srcdir) in \
51367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51368 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51370 esac; \
51371 srcdiroption="--srcdir=$${topdir}/libgomp"; \
51372 libsrcdir="$$s/libgomp"; \
51373 rm -f no-such-file || : ; \
51374 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51375 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51376 --target=${target_alias} $${srcdiroption} \
51377 || exit 1
51378 @endif target-libgomp
51384 .PHONY: all-target-libgomp maybe-all-target-libgomp
51385 maybe-all-target-libgomp:
51386 @if gcc-bootstrap
51387 all-target-libgomp: stage_current
51388 @endif gcc-bootstrap
51389 @if target-libgomp
51390 TARGET-target-libgomp=all
51391 maybe-all-target-libgomp: all-target-libgomp
51392 all-target-libgomp: configure-target-libgomp
51393 @: $(MAKE); $(unstage)
51394 @r=`${PWD_COMMAND}`; export r; \
51395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51396 $(NORMAL_TARGET_EXPORTS) \
51397 (cd $(TARGET_SUBDIR)/libgomp && \
51398 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51399 $(TARGET-target-libgomp))
51400 @endif target-libgomp
51406 .PHONY: check-target-libgomp maybe-check-target-libgomp
51407 maybe-check-target-libgomp:
51408 @if target-libgomp
51409 maybe-check-target-libgomp: check-target-libgomp
51411 check-target-libgomp:
51412 @: $(MAKE); $(unstage)
51413 @r=`${PWD_COMMAND}`; export r; \
51414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51415 $(NORMAL_TARGET_EXPORTS) \
51416 (cd $(TARGET_SUBDIR)/libgomp && \
51417 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51419 @endif target-libgomp
51421 .PHONY: install-target-libgomp maybe-install-target-libgomp
51422 maybe-install-target-libgomp:
51423 @if target-libgomp
51424 maybe-install-target-libgomp: install-target-libgomp
51426 install-target-libgomp: installdirs
51427 @: $(MAKE); $(unstage)
51428 @r=`${PWD_COMMAND}`; export r; \
51429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51430 $(NORMAL_TARGET_EXPORTS) \
51431 (cd $(TARGET_SUBDIR)/libgomp && \
51432 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51434 @endif target-libgomp
51436 # Other targets (info, dvi, pdf, etc.)
51438 .PHONY: maybe-info-target-libgomp info-target-libgomp
51439 maybe-info-target-libgomp:
51440 @if target-libgomp
51441 maybe-info-target-libgomp: info-target-libgomp
51443 info-target-libgomp: \
51444 configure-target-libgomp
51445 @: $(MAKE); $(unstage)
51446 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51447 r=`${PWD_COMMAND}`; export r; \
51448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51449 $(NORMAL_TARGET_EXPORTS) \
51450 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
51451 for flag in $(EXTRA_TARGET_FLAGS); do \
51452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51453 done; \
51454 (cd $(TARGET_SUBDIR)/libgomp && \
51455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51457 "RANLIB=$${RANLIB}" \
51458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51459 info) \
51460 || exit 1
51462 @endif target-libgomp
51464 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
51465 maybe-dvi-target-libgomp:
51466 @if target-libgomp
51467 maybe-dvi-target-libgomp: dvi-target-libgomp
51469 dvi-target-libgomp: \
51470 configure-target-libgomp
51471 @: $(MAKE); $(unstage)
51472 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51473 r=`${PWD_COMMAND}`; export r; \
51474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51475 $(NORMAL_TARGET_EXPORTS) \
51476 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
51477 for flag in $(EXTRA_TARGET_FLAGS); do \
51478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51479 done; \
51480 (cd $(TARGET_SUBDIR)/libgomp && \
51481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51483 "RANLIB=$${RANLIB}" \
51484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51485 dvi) \
51486 || exit 1
51488 @endif target-libgomp
51490 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
51491 maybe-pdf-target-libgomp:
51492 @if target-libgomp
51493 maybe-pdf-target-libgomp: pdf-target-libgomp
51495 pdf-target-libgomp: \
51496 configure-target-libgomp
51497 @: $(MAKE); $(unstage)
51498 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51499 r=`${PWD_COMMAND}`; export r; \
51500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51501 $(NORMAL_TARGET_EXPORTS) \
51502 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
51503 for flag in $(EXTRA_TARGET_FLAGS); do \
51504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51505 done; \
51506 (cd $(TARGET_SUBDIR)/libgomp && \
51507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51509 "RANLIB=$${RANLIB}" \
51510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51511 pdf) \
51512 || exit 1
51514 @endif target-libgomp
51516 .PHONY: maybe-html-target-libgomp html-target-libgomp
51517 maybe-html-target-libgomp:
51518 @if target-libgomp
51519 maybe-html-target-libgomp: html-target-libgomp
51521 html-target-libgomp: \
51522 configure-target-libgomp
51523 @: $(MAKE); $(unstage)
51524 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51525 r=`${PWD_COMMAND}`; export r; \
51526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51527 $(NORMAL_TARGET_EXPORTS) \
51528 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
51529 for flag in $(EXTRA_TARGET_FLAGS); do \
51530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51531 done; \
51532 (cd $(TARGET_SUBDIR)/libgomp && \
51533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51535 "RANLIB=$${RANLIB}" \
51536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51537 html) \
51538 || exit 1
51540 @endif target-libgomp
51542 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
51543 maybe-TAGS-target-libgomp:
51544 @if target-libgomp
51545 maybe-TAGS-target-libgomp: TAGS-target-libgomp
51547 TAGS-target-libgomp: \
51548 configure-target-libgomp
51549 @: $(MAKE); $(unstage)
51550 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51551 r=`${PWD_COMMAND}`; export r; \
51552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51553 $(NORMAL_TARGET_EXPORTS) \
51554 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
51555 for flag in $(EXTRA_TARGET_FLAGS); do \
51556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51557 done; \
51558 (cd $(TARGET_SUBDIR)/libgomp && \
51559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51561 "RANLIB=$${RANLIB}" \
51562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51563 TAGS) \
51564 || exit 1
51566 @endif target-libgomp
51568 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
51569 maybe-install-info-target-libgomp:
51570 @if target-libgomp
51571 maybe-install-info-target-libgomp: install-info-target-libgomp
51573 install-info-target-libgomp: \
51574 configure-target-libgomp \
51575 info-target-libgomp
51576 @: $(MAKE); $(unstage)
51577 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51578 r=`${PWD_COMMAND}`; export r; \
51579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51580 $(NORMAL_TARGET_EXPORTS) \
51581 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
51582 for flag in $(EXTRA_TARGET_FLAGS); do \
51583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51584 done; \
51585 (cd $(TARGET_SUBDIR)/libgomp && \
51586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51588 "RANLIB=$${RANLIB}" \
51589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51590 install-info) \
51591 || exit 1
51593 @endif target-libgomp
51595 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
51596 maybe-install-pdf-target-libgomp:
51597 @if target-libgomp
51598 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
51600 install-pdf-target-libgomp: \
51601 configure-target-libgomp \
51602 pdf-target-libgomp
51603 @: $(MAKE); $(unstage)
51604 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51605 r=`${PWD_COMMAND}`; export r; \
51606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51607 $(NORMAL_TARGET_EXPORTS) \
51608 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
51609 for flag in $(EXTRA_TARGET_FLAGS); do \
51610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51611 done; \
51612 (cd $(TARGET_SUBDIR)/libgomp && \
51613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51615 "RANLIB=$${RANLIB}" \
51616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51617 install-pdf) \
51618 || exit 1
51620 @endif target-libgomp
51622 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
51623 maybe-install-html-target-libgomp:
51624 @if target-libgomp
51625 maybe-install-html-target-libgomp: install-html-target-libgomp
51627 install-html-target-libgomp: \
51628 configure-target-libgomp \
51629 html-target-libgomp
51630 @: $(MAKE); $(unstage)
51631 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51632 r=`${PWD_COMMAND}`; export r; \
51633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51634 $(NORMAL_TARGET_EXPORTS) \
51635 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
51636 for flag in $(EXTRA_TARGET_FLAGS); do \
51637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51638 done; \
51639 (cd $(TARGET_SUBDIR)/libgomp && \
51640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51642 "RANLIB=$${RANLIB}" \
51643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51644 install-html) \
51645 || exit 1
51647 @endif target-libgomp
51649 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
51650 maybe-installcheck-target-libgomp:
51651 @if target-libgomp
51652 maybe-installcheck-target-libgomp: installcheck-target-libgomp
51654 installcheck-target-libgomp: \
51655 configure-target-libgomp
51656 @: $(MAKE); $(unstage)
51657 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51658 r=`${PWD_COMMAND}`; export r; \
51659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51660 $(NORMAL_TARGET_EXPORTS) \
51661 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
51662 for flag in $(EXTRA_TARGET_FLAGS); do \
51663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51664 done; \
51665 (cd $(TARGET_SUBDIR)/libgomp && \
51666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51668 "RANLIB=$${RANLIB}" \
51669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51670 installcheck) \
51671 || exit 1
51673 @endif target-libgomp
51675 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
51676 maybe-mostlyclean-target-libgomp:
51677 @if target-libgomp
51678 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
51680 mostlyclean-target-libgomp:
51681 @: $(MAKE); $(unstage)
51682 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51683 r=`${PWD_COMMAND}`; export r; \
51684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51685 $(NORMAL_TARGET_EXPORTS) \
51686 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
51687 for flag in $(EXTRA_TARGET_FLAGS); do \
51688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51689 done; \
51690 (cd $(TARGET_SUBDIR)/libgomp && \
51691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51693 "RANLIB=$${RANLIB}" \
51694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51695 mostlyclean) \
51696 || exit 1
51698 @endif target-libgomp
51700 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
51701 maybe-clean-target-libgomp:
51702 @if target-libgomp
51703 maybe-clean-target-libgomp: clean-target-libgomp
51705 clean-target-libgomp:
51706 @: $(MAKE); $(unstage)
51707 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51708 r=`${PWD_COMMAND}`; export r; \
51709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51710 $(NORMAL_TARGET_EXPORTS) \
51711 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
51712 for flag in $(EXTRA_TARGET_FLAGS); do \
51713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51714 done; \
51715 (cd $(TARGET_SUBDIR)/libgomp && \
51716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51718 "RANLIB=$${RANLIB}" \
51719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51720 clean) \
51721 || exit 1
51723 @endif target-libgomp
51725 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
51726 maybe-distclean-target-libgomp:
51727 @if target-libgomp
51728 maybe-distclean-target-libgomp: distclean-target-libgomp
51730 distclean-target-libgomp:
51731 @: $(MAKE); $(unstage)
51732 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51733 r=`${PWD_COMMAND}`; export r; \
51734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51735 $(NORMAL_TARGET_EXPORTS) \
51736 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
51737 for flag in $(EXTRA_TARGET_FLAGS); do \
51738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51739 done; \
51740 (cd $(TARGET_SUBDIR)/libgomp && \
51741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51743 "RANLIB=$${RANLIB}" \
51744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51745 distclean) \
51746 || exit 1
51748 @endif target-libgomp
51750 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
51751 maybe-maintainer-clean-target-libgomp:
51752 @if target-libgomp
51753 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
51755 maintainer-clean-target-libgomp:
51756 @: $(MAKE); $(unstage)
51757 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
51758 r=`${PWD_COMMAND}`; export r; \
51759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51760 $(NORMAL_TARGET_EXPORTS) \
51761 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
51762 for flag in $(EXTRA_TARGET_FLAGS); do \
51763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51764 done; \
51765 (cd $(TARGET_SUBDIR)/libgomp && \
51766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51768 "RANLIB=$${RANLIB}" \
51769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51770 maintainer-clean) \
51771 || exit 1
51773 @endif target-libgomp
51777 # ----------
51778 # GCC module
51779 # ----------
51781 @if gcc-no-bootstrap
51782 .PHONY: cross
51783 cross: all-build all-gas all-ld
51784 @r=`${PWD_COMMAND}`; export r; \
51785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51786 $(HOST_EXPORTS) \
51787 echo "Building the C and C++ compiler"; \
51788 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
51789 @r=`${PWD_COMMAND}`; export r; \
51790 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
51791 echo "Building runtime libraries"; \
51792 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
51793 @endif gcc-no-bootstrap
51795 @if gcc
51797 .PHONY: check-gcc-c check-c
51798 check-gcc-c:
51799 r=`${PWD_COMMAND}`; export r; \
51800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51801 $(HOST_EXPORTS) \
51802 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
51803 check-c: check-gcc-c
51805 .PHONY: check-gcc-c++ check-c++
51806 check-gcc-c++:
51807 r=`${PWD_COMMAND}`; export r; \
51808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51809 $(HOST_EXPORTS) \
51810 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
51811 check-c++: check-gcc-c++ check-target-libstdc++-v3
51813 .PHONY: check-gcc-fortran check-fortran
51814 check-gcc-fortran:
51815 r=`${PWD_COMMAND}`; export r; \
51816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51817 $(HOST_EXPORTS) \
51818 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
51819 check-fortran: check-gcc-fortran check-target-libgfortran
51821 .PHONY: check-gcc-java check-java
51822 check-gcc-java:
51823 r=`${PWD_COMMAND}`; export r; \
51824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51825 $(HOST_EXPORTS) \
51826 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
51827 check-java: check-gcc-java check-target-libjava
51829 .PHONY: check-gcc-ada check-ada
51830 check-gcc-ada:
51831 r=`${PWD_COMMAND}`; export r; \
51832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51833 $(HOST_EXPORTS) \
51834 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
51835 check-ada: check-gcc-ada check-target-libada
51837 .PHONY: check-gcc-objc check-objc
51838 check-gcc-objc:
51839 r=`${PWD_COMMAND}`; export r; \
51840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51841 $(HOST_EXPORTS) \
51842 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
51843 check-objc: check-gcc-objc check-target-libobjc
51845 .PHONY: check-gcc-obj-c++ check-obj-c++
51846 check-gcc-obj-c++:
51847 r=`${PWD_COMMAND}`; export r; \
51848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51849 $(HOST_EXPORTS) \
51850 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
51851 check-obj-c++: check-gcc-obj-c++
51854 # Install the gcc headers files, but not the fixed include files,
51855 # which Cygnus is not allowed to distribute. This rule is very
51856 # dependent on the workings of the gcc Makefile.in.
51857 .PHONY: gcc-no-fixedincludes
51858 gcc-no-fixedincludes:
51859 @if [ -f ./gcc/Makefile ]; then \
51860 rm -rf gcc/tmp-include; \
51861 mv gcc/include gcc/tmp-include 2>/dev/null; \
51862 mkdir gcc/include; \
51863 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
51864 touch gcc/stmp-fixinc gcc/include/fixed; \
51865 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
51866 r=`${PWD_COMMAND}`; export r; \
51867 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
51868 $(HOST_EXPORTS) \
51869 (cd ./gcc && \
51870 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
51871 rm -rf gcc/include; \
51872 mv gcc/tmp-include gcc/include 2>/dev/null; \
51873 else true; fi
51874 @endif gcc
51876 # ---------------------
51877 # GCC bootstrap support
51878 # ---------------------
51880 # We track the current stage (the one in 'gcc') in the stage_current file.
51881 # stage_last instead tracks the stage that was built last. These targets
51882 # are dummy when toplevel bootstrap is not active.
51884 # While making host and target tools, symlinks to the final stage must be
51885 # there, so $(unstage) should be run at various points. To avoid excessive
51886 # recursive invocations of make, we "inline" them using a variable. These
51887 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
51888 # to avoid warnings from the GNU Make job server.
51890 unstage = :
51891 stage = :
51892 current_stage = ""
51894 @if gcc-bootstrap
51895 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
51896 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
51897 current_stage = "`cat stage_current 2> /dev/null`"
51898 @endif gcc-bootstrap
51900 .PHONY: unstage stage
51901 unstage:
51902 @: $(MAKE); $(unstage)
51903 stage:
51904 @: $(MAKE); $(stage)
51906 # Disable commands for lean bootstrap.
51907 LEAN = false
51909 # We name the build directories for the various stages "stage1-gcc",
51910 # "stage2-gcc","stage3-gcc", etc.
51912 # Since the 'compare' process will fail (on debugging information) if any
51913 # directory names are different, we need to link the gcc directory for
51914 # the previous stage to a constant name ('prev-gcc'), and to make the name of
51915 # the build directories constant as well. For the latter, we use naked names
51916 # like 'gcc', because the scripts in that directory assume it. We use
51917 # mv on platforms where symlinks to directories do not work or are not
51918 # reliable.
51920 # 'touch' doesn't work right on some platforms.
51921 STAMP = echo timestamp >
51923 # We only want to compare .o files, so set this!
51924 objext = .o
51927 .PHONY: stage1-start stage1-end
51929 stage1-start::
51930 @: $(MAKE); $(stage); \
51931 echo stage1 > stage_current ; \
51932 echo stage1 > stage_last; \
51933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
51934 @if bfd
51935 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
51936 mkdir stage1-bfd; \
51937 mv stage1-bfd bfd
51938 @endif bfd
51939 @if opcodes
51940 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
51941 mkdir stage1-opcodes; \
51942 mv stage1-opcodes opcodes
51943 @endif opcodes
51944 @if binutils
51945 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
51946 mkdir stage1-binutils; \
51947 mv stage1-binutils binutils
51948 @endif binutils
51949 @if gas
51950 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
51951 mkdir stage1-gas; \
51952 mv stage1-gas gas
51953 @endif gas
51954 @if gcc
51955 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
51956 mkdir stage1-gcc; \
51957 mv stage1-gcc gcc
51958 @endif gcc
51959 @if gmp
51960 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
51961 mkdir stage1-gmp; \
51962 mv stage1-gmp gmp
51963 @endif gmp
51964 @if mpfr
51965 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
51966 mkdir stage1-mpfr; \
51967 mv stage1-mpfr mpfr
51968 @endif mpfr
51969 @if ppl
51970 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
51971 mkdir stage1-ppl; \
51972 mv stage1-ppl ppl
51973 @endif ppl
51974 @if cloog
51975 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
51976 mkdir stage1-cloog; \
51977 mv stage1-cloog cloog
51978 @endif cloog
51979 @if gold
51980 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
51981 mkdir stage1-gold; \
51982 mv stage1-gold gold
51983 @endif gold
51984 @if intl
51985 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
51986 mkdir stage1-intl; \
51987 mv stage1-intl intl
51988 @endif intl
51989 @if ld
51990 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
51991 mkdir stage1-ld; \
51992 mv stage1-ld ld
51993 @endif ld
51994 @if libcpp
51995 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
51996 mkdir stage1-libcpp; \
51997 mv stage1-libcpp libcpp
51998 @endif libcpp
51999 @if libdecnumber
52000 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
52001 mkdir stage1-libdecnumber; \
52002 mv stage1-libdecnumber libdecnumber
52003 @endif libdecnumber
52004 @if libiberty
52005 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
52006 mkdir stage1-libiberty; \
52007 mv stage1-libiberty libiberty
52008 @endif libiberty
52009 @if zlib
52010 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
52011 mkdir stage1-zlib; \
52012 mv stage1-zlib zlib
52013 @endif zlib
52014 @[ -d stage1-$(TARGET_SUBDIR) ] || \
52015 mkdir stage1-$(TARGET_SUBDIR); \
52016 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
52018 stage1-end::
52019 @if bfd
52020 @if test -d $(HOST_SUBDIR)/bfd ; then \
52021 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
52023 @endif bfd
52024 @if opcodes
52025 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52026 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
52028 @endif opcodes
52029 @if binutils
52030 @if test -d $(HOST_SUBDIR)/binutils ; then \
52031 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
52033 @endif binutils
52034 @if gas
52035 @if test -d $(HOST_SUBDIR)/gas ; then \
52036 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
52038 @endif gas
52039 @if gcc
52040 @if test -d $(HOST_SUBDIR)/gcc ; then \
52041 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
52043 @endif gcc
52044 @if gmp
52045 @if test -d $(HOST_SUBDIR)/gmp ; then \
52046 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
52048 @endif gmp
52049 @if mpfr
52050 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52051 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
52053 @endif mpfr
52054 @if ppl
52055 @if test -d $(HOST_SUBDIR)/ppl ; then \
52056 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
52058 @endif ppl
52059 @if cloog
52060 @if test -d $(HOST_SUBDIR)/cloog ; then \
52061 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
52063 @endif cloog
52064 @if gold
52065 @if test -d $(HOST_SUBDIR)/gold ; then \
52066 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
52068 @endif gold
52069 @if intl
52070 @if test -d $(HOST_SUBDIR)/intl ; then \
52071 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
52073 @endif intl
52074 @if ld
52075 @if test -d $(HOST_SUBDIR)/ld ; then \
52076 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
52078 @endif ld
52079 @if libcpp
52080 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52081 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
52083 @endif libcpp
52084 @if libdecnumber
52085 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52086 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
52088 @endif libdecnumber
52089 @if libiberty
52090 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52091 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
52093 @endif libiberty
52094 @if zlib
52095 @if test -d $(HOST_SUBDIR)/zlib ; then \
52096 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
52098 @endif zlib
52099 @if test -d $(TARGET_SUBDIR) ; then \
52100 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
52102 rm -f stage_current
52104 # Bubble a bug fix through all the stages up to stage 1. They are
52105 # remade, but not reconfigured. The next stage (if any) will not be
52106 # reconfigured either.
52107 .PHONY: stage1-bubble
52108 stage1-bubble::
52109 @r=`${PWD_COMMAND}`; export r; \
52110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52111 if test -f stage1-lean ; then \
52112 echo Skipping rebuild of stage1 ; \
52113 else \
52114 $(MAKE) stage1-start; \
52115 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
52118 .PHONY: all-stage1 clean-stage1
52119 do-clean: clean-stage1
52121 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52122 # only possibility, but now it conflicts with no-bootstrap rules
52123 @if gcc-bootstrap
52128 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52130 .PHONY: distclean-stage1
52131 distclean-stage1::
52132 @: $(MAKE); $(stage)
52133 @test "`cat stage_last`" != stage1 || rm -f stage_last
52134 rm -rf stage1-*
52137 @endif gcc-bootstrap
52140 .PHONY: stage2-start stage2-end
52142 stage2-start::
52143 @: $(MAKE); $(stage); \
52144 echo stage2 > stage_current ; \
52145 echo stage2 > stage_last; \
52146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52147 @if bfd
52148 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
52149 mkdir stage2-bfd; \
52150 mv stage2-bfd bfd ; \
52151 mv stage1-bfd prev-bfd || test -f stage1-lean
52152 @endif bfd
52153 @if opcodes
52154 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
52155 mkdir stage2-opcodes; \
52156 mv stage2-opcodes opcodes ; \
52157 mv stage1-opcodes prev-opcodes || test -f stage1-lean
52158 @endif opcodes
52159 @if binutils
52160 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
52161 mkdir stage2-binutils; \
52162 mv stage2-binutils binutils ; \
52163 mv stage1-binutils prev-binutils || test -f stage1-lean
52164 @endif binutils
52165 @if gas
52166 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
52167 mkdir stage2-gas; \
52168 mv stage2-gas gas ; \
52169 mv stage1-gas prev-gas || test -f stage1-lean
52170 @endif gas
52171 @if gcc
52172 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
52173 mkdir stage2-gcc; \
52174 mv stage2-gcc gcc ; \
52175 mv stage1-gcc prev-gcc || test -f stage1-lean
52176 @endif gcc
52177 @if gmp
52178 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
52179 mkdir stage2-gmp; \
52180 mv stage2-gmp gmp ; \
52181 mv stage1-gmp prev-gmp || test -f stage1-lean
52182 @endif gmp
52183 @if mpfr
52184 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
52185 mkdir stage2-mpfr; \
52186 mv stage2-mpfr mpfr ; \
52187 mv stage1-mpfr prev-mpfr || test -f stage1-lean
52188 @endif mpfr
52189 @if ppl
52190 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
52191 mkdir stage2-ppl; \
52192 mv stage2-ppl ppl ; \
52193 mv stage1-ppl prev-ppl || test -f stage1-lean
52194 @endif ppl
52195 @if cloog
52196 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
52197 mkdir stage2-cloog; \
52198 mv stage2-cloog cloog ; \
52199 mv stage1-cloog prev-cloog || test -f stage1-lean
52200 @endif cloog
52201 @if gold
52202 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
52203 mkdir stage2-gold; \
52204 mv stage2-gold gold ; \
52205 mv stage1-gold prev-gold || test -f stage1-lean
52206 @endif gold
52207 @if intl
52208 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
52209 mkdir stage2-intl; \
52210 mv stage2-intl intl ; \
52211 mv stage1-intl prev-intl || test -f stage1-lean
52212 @endif intl
52213 @if ld
52214 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
52215 mkdir stage2-ld; \
52216 mv stage2-ld ld ; \
52217 mv stage1-ld prev-ld || test -f stage1-lean
52218 @endif ld
52219 @if libcpp
52220 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
52221 mkdir stage2-libcpp; \
52222 mv stage2-libcpp libcpp ; \
52223 mv stage1-libcpp prev-libcpp || test -f stage1-lean
52224 @endif libcpp
52225 @if libdecnumber
52226 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
52227 mkdir stage2-libdecnumber; \
52228 mv stage2-libdecnumber libdecnumber ; \
52229 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
52230 @endif libdecnumber
52231 @if libiberty
52232 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
52233 mkdir stage2-libiberty; \
52234 mv stage2-libiberty libiberty ; \
52235 mv stage1-libiberty prev-libiberty || test -f stage1-lean
52236 @endif libiberty
52237 @if zlib
52238 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
52239 mkdir stage2-zlib; \
52240 mv stage2-zlib zlib ; \
52241 mv stage1-zlib prev-zlib || test -f stage1-lean
52242 @endif zlib
52243 @[ -d stage2-$(TARGET_SUBDIR) ] || \
52244 mkdir stage2-$(TARGET_SUBDIR); \
52245 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
52246 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
52248 stage2-end::
52249 @if bfd
52250 @if test -d $(HOST_SUBDIR)/bfd ; then \
52251 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
52252 mv prev-bfd stage1-bfd ; : ; \
52254 @endif bfd
52255 @if opcodes
52256 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52257 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
52258 mv prev-opcodes stage1-opcodes ; : ; \
52260 @endif opcodes
52261 @if binutils
52262 @if test -d $(HOST_SUBDIR)/binutils ; then \
52263 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
52264 mv prev-binutils stage1-binutils ; : ; \
52266 @endif binutils
52267 @if gas
52268 @if test -d $(HOST_SUBDIR)/gas ; then \
52269 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
52270 mv prev-gas stage1-gas ; : ; \
52272 @endif gas
52273 @if gcc
52274 @if test -d $(HOST_SUBDIR)/gcc ; then \
52275 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
52276 mv prev-gcc stage1-gcc ; : ; \
52278 @endif gcc
52279 @if gmp
52280 @if test -d $(HOST_SUBDIR)/gmp ; then \
52281 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
52282 mv prev-gmp stage1-gmp ; : ; \
52284 @endif gmp
52285 @if mpfr
52286 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52287 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
52288 mv prev-mpfr stage1-mpfr ; : ; \
52290 @endif mpfr
52291 @if ppl
52292 @if test -d $(HOST_SUBDIR)/ppl ; then \
52293 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
52294 mv prev-ppl stage1-ppl ; : ; \
52296 @endif ppl
52297 @if cloog
52298 @if test -d $(HOST_SUBDIR)/cloog ; then \
52299 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
52300 mv prev-cloog stage1-cloog ; : ; \
52302 @endif cloog
52303 @if gold
52304 @if test -d $(HOST_SUBDIR)/gold ; then \
52305 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
52306 mv prev-gold stage1-gold ; : ; \
52308 @endif gold
52309 @if intl
52310 @if test -d $(HOST_SUBDIR)/intl ; then \
52311 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
52312 mv prev-intl stage1-intl ; : ; \
52314 @endif intl
52315 @if ld
52316 @if test -d $(HOST_SUBDIR)/ld ; then \
52317 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
52318 mv prev-ld stage1-ld ; : ; \
52320 @endif ld
52321 @if libcpp
52322 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52323 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
52324 mv prev-libcpp stage1-libcpp ; : ; \
52326 @endif libcpp
52327 @if libdecnumber
52328 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52329 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
52330 mv prev-libdecnumber stage1-libdecnumber ; : ; \
52332 @endif libdecnumber
52333 @if libiberty
52334 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52335 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
52336 mv prev-libiberty stage1-libiberty ; : ; \
52338 @endif libiberty
52339 @if zlib
52340 @if test -d $(HOST_SUBDIR)/zlib ; then \
52341 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
52342 mv prev-zlib stage1-zlib ; : ; \
52344 @endif zlib
52345 @if test -d $(TARGET_SUBDIR) ; then \
52346 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
52347 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
52349 rm -f stage_current
52351 # Bubble a bug fix through all the stages up to stage 2. They are
52352 # remade, but not reconfigured. The next stage (if any) will not be
52353 # reconfigured either.
52354 .PHONY: stage2-bubble
52355 stage2-bubble:: stage1-bubble
52356 @r=`${PWD_COMMAND}`; export r; \
52357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52358 if test -f stage2-lean || test -f stage1-lean ; then \
52359 echo Skipping rebuild of stage2 ; \
52360 else \
52361 $(MAKE) stage2-start; \
52362 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
52365 .PHONY: all-stage2 clean-stage2
52366 do-clean: clean-stage2
52368 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52369 # only possibility, but now it conflicts with no-bootstrap rules
52370 @if gcc-bootstrap
52374 .PHONY: bootstrap2 bootstrap2-lean
52375 bootstrap2:
52376 echo stage2 > stage_final
52377 @r=`${PWD_COMMAND}`; export r; \
52378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52379 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
52380 @: $(MAKE); $(unstage)
52381 @r=`${PWD_COMMAND}`; export r; \
52382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52383 TFLAGS="$(STAGE2_TFLAGS)"; \
52384 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52386 bootstrap2-lean:
52387 echo stage2 > stage_final
52388 @r=`${PWD_COMMAND}`; export r; \
52389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52390 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
52391 @: $(MAKE); $(unstage)
52392 @r=`${PWD_COMMAND}`; export r; \
52393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52394 TFLAGS="$(STAGE2_TFLAGS)"; \
52395 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52398 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52399 distclean-stage1:: distclean-stage2
52400 .PHONY: distclean-stage2
52401 distclean-stage2::
52402 @: $(MAKE); $(stage)
52403 @test "`cat stage_last`" != stage2 || rm -f stage_last
52404 rm -rf stage2-*
52407 @endif gcc-bootstrap
52410 .PHONY: stage3-start stage3-end
52412 stage3-start::
52413 @: $(MAKE); $(stage); \
52414 echo stage3 > stage_current ; \
52415 echo stage3 > stage_last; \
52416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52417 @if bfd
52418 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
52419 mkdir stage3-bfd; \
52420 mv stage3-bfd bfd ; \
52421 mv stage2-bfd prev-bfd || test -f stage2-lean
52422 @endif bfd
52423 @if opcodes
52424 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
52425 mkdir stage3-opcodes; \
52426 mv stage3-opcodes opcodes ; \
52427 mv stage2-opcodes prev-opcodes || test -f stage2-lean
52428 @endif opcodes
52429 @if binutils
52430 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
52431 mkdir stage3-binutils; \
52432 mv stage3-binutils binutils ; \
52433 mv stage2-binutils prev-binutils || test -f stage2-lean
52434 @endif binutils
52435 @if gas
52436 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
52437 mkdir stage3-gas; \
52438 mv stage3-gas gas ; \
52439 mv stage2-gas prev-gas || test -f stage2-lean
52440 @endif gas
52441 @if gcc
52442 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
52443 mkdir stage3-gcc; \
52444 mv stage3-gcc gcc ; \
52445 mv stage2-gcc prev-gcc || test -f stage2-lean
52446 @endif gcc
52447 @if gmp
52448 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
52449 mkdir stage3-gmp; \
52450 mv stage3-gmp gmp ; \
52451 mv stage2-gmp prev-gmp || test -f stage2-lean
52452 @endif gmp
52453 @if mpfr
52454 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
52455 mkdir stage3-mpfr; \
52456 mv stage3-mpfr mpfr ; \
52457 mv stage2-mpfr prev-mpfr || test -f stage2-lean
52458 @endif mpfr
52459 @if ppl
52460 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
52461 mkdir stage3-ppl; \
52462 mv stage3-ppl ppl ; \
52463 mv stage2-ppl prev-ppl || test -f stage2-lean
52464 @endif ppl
52465 @if cloog
52466 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
52467 mkdir stage3-cloog; \
52468 mv stage3-cloog cloog ; \
52469 mv stage2-cloog prev-cloog || test -f stage2-lean
52470 @endif cloog
52471 @if gold
52472 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
52473 mkdir stage3-gold; \
52474 mv stage3-gold gold ; \
52475 mv stage2-gold prev-gold || test -f stage2-lean
52476 @endif gold
52477 @if intl
52478 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
52479 mkdir stage3-intl; \
52480 mv stage3-intl intl ; \
52481 mv stage2-intl prev-intl || test -f stage2-lean
52482 @endif intl
52483 @if ld
52484 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
52485 mkdir stage3-ld; \
52486 mv stage3-ld ld ; \
52487 mv stage2-ld prev-ld || test -f stage2-lean
52488 @endif ld
52489 @if libcpp
52490 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
52491 mkdir stage3-libcpp; \
52492 mv stage3-libcpp libcpp ; \
52493 mv stage2-libcpp prev-libcpp || test -f stage2-lean
52494 @endif libcpp
52495 @if libdecnumber
52496 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
52497 mkdir stage3-libdecnumber; \
52498 mv stage3-libdecnumber libdecnumber ; \
52499 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
52500 @endif libdecnumber
52501 @if libiberty
52502 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
52503 mkdir stage3-libiberty; \
52504 mv stage3-libiberty libiberty ; \
52505 mv stage2-libiberty prev-libiberty || test -f stage2-lean
52506 @endif libiberty
52507 @if zlib
52508 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
52509 mkdir stage3-zlib; \
52510 mv stage3-zlib zlib ; \
52511 mv stage2-zlib prev-zlib || test -f stage2-lean
52512 @endif zlib
52513 @[ -d stage3-$(TARGET_SUBDIR) ] || \
52514 mkdir stage3-$(TARGET_SUBDIR); \
52515 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
52516 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
52518 stage3-end::
52519 @if bfd
52520 @if test -d $(HOST_SUBDIR)/bfd ; then \
52521 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
52522 mv prev-bfd stage2-bfd ; : ; \
52524 @endif bfd
52525 @if opcodes
52526 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52527 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
52528 mv prev-opcodes stage2-opcodes ; : ; \
52530 @endif opcodes
52531 @if binutils
52532 @if test -d $(HOST_SUBDIR)/binutils ; then \
52533 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
52534 mv prev-binutils stage2-binutils ; : ; \
52536 @endif binutils
52537 @if gas
52538 @if test -d $(HOST_SUBDIR)/gas ; then \
52539 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
52540 mv prev-gas stage2-gas ; : ; \
52542 @endif gas
52543 @if gcc
52544 @if test -d $(HOST_SUBDIR)/gcc ; then \
52545 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
52546 mv prev-gcc stage2-gcc ; : ; \
52548 @endif gcc
52549 @if gmp
52550 @if test -d $(HOST_SUBDIR)/gmp ; then \
52551 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
52552 mv prev-gmp stage2-gmp ; : ; \
52554 @endif gmp
52555 @if mpfr
52556 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52557 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
52558 mv prev-mpfr stage2-mpfr ; : ; \
52560 @endif mpfr
52561 @if ppl
52562 @if test -d $(HOST_SUBDIR)/ppl ; then \
52563 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
52564 mv prev-ppl stage2-ppl ; : ; \
52566 @endif ppl
52567 @if cloog
52568 @if test -d $(HOST_SUBDIR)/cloog ; then \
52569 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
52570 mv prev-cloog stage2-cloog ; : ; \
52572 @endif cloog
52573 @if gold
52574 @if test -d $(HOST_SUBDIR)/gold ; then \
52575 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
52576 mv prev-gold stage2-gold ; : ; \
52578 @endif gold
52579 @if intl
52580 @if test -d $(HOST_SUBDIR)/intl ; then \
52581 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
52582 mv prev-intl stage2-intl ; : ; \
52584 @endif intl
52585 @if ld
52586 @if test -d $(HOST_SUBDIR)/ld ; then \
52587 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
52588 mv prev-ld stage2-ld ; : ; \
52590 @endif ld
52591 @if libcpp
52592 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52593 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
52594 mv prev-libcpp stage2-libcpp ; : ; \
52596 @endif libcpp
52597 @if libdecnumber
52598 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52599 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
52600 mv prev-libdecnumber stage2-libdecnumber ; : ; \
52602 @endif libdecnumber
52603 @if libiberty
52604 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52605 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
52606 mv prev-libiberty stage2-libiberty ; : ; \
52608 @endif libiberty
52609 @if zlib
52610 @if test -d $(HOST_SUBDIR)/zlib ; then \
52611 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
52612 mv prev-zlib stage2-zlib ; : ; \
52614 @endif zlib
52615 @if test -d $(TARGET_SUBDIR) ; then \
52616 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
52617 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
52619 rm -f stage_current
52621 # Bubble a bug fix through all the stages up to stage 3. They are
52622 # remade, but not reconfigured. The next stage (if any) will not be
52623 # reconfigured either.
52624 .PHONY: stage3-bubble
52625 stage3-bubble:: stage2-bubble
52626 @r=`${PWD_COMMAND}`; export r; \
52627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52628 if test -f stage3-lean || test -f stage2-lean ; then \
52629 echo Skipping rebuild of stage3 ; \
52630 else \
52631 $(MAKE) stage3-start; \
52632 if $(LEAN); then \
52633 rm -rf stage1-* ; \
52634 $(STAMP) stage1-lean ; \
52635 fi; \
52636 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
52638 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
52640 .PHONY: all-stage3 clean-stage3
52641 do-clean: clean-stage3
52643 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52644 # only possibility, but now it conflicts with no-bootstrap rules
52645 @if gcc-bootstrap
52647 compare:
52648 @r=`${PWD_COMMAND}`; export r; \
52649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52650 if test -f stage2-lean; then \
52651 echo Cannot compare object files as stage 2 was deleted. ; \
52652 exit 0 ; \
52653 fi; \
52654 : $(MAKE); $(stage); \
52655 rm -f .bad_compare ; \
52656 echo Comparing stages 2 and 3 ; \
52657 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
52658 files=`find stage3-* -name "*$(objext)" -print | \
52659 sed -n s,^stage$$sed-,,p` ; \
52660 for file in $${files} ; do \
52661 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
52662 if test ! -f $$f1; then continue; fi; \
52663 $(do-compare) > /dev/null 2>&1; \
52664 if test $$? -eq 1; then \
52665 case $$file in \
52666 gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \
52667 echo warning: $$file differs ;; \
52668 *) \
52669 echo $$file differs >> .bad_compare ;; \
52670 esac ; \
52671 fi ; \
52672 done ; \
52673 if [ -f .bad_compare ]; then \
52674 echo "Bootstrap comparison failure!"; \
52675 cat .bad_compare; \
52676 exit 1; \
52677 else \
52678 echo Comparison successful.; \
52679 fi ; \
52680 $(STAMP) compare
52681 if $(LEAN); then \
52682 rm -rf stage2-*; \
52683 $(STAMP) stage2-lean; \
52688 .PHONY: bootstrap bootstrap-lean
52689 bootstrap:
52690 echo stage3 > stage_final
52691 @r=`${PWD_COMMAND}`; export r; \
52692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52693 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
52694 @: $(MAKE); $(unstage)
52695 @r=`${PWD_COMMAND}`; export r; \
52696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52697 TFLAGS="$(STAGE3_TFLAGS)"; \
52698 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52700 bootstrap-lean:
52701 echo stage3 > stage_final
52702 @r=`${PWD_COMMAND}`; export r; \
52703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52704 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
52705 @: $(MAKE); $(unstage)
52706 @r=`${PWD_COMMAND}`; export r; \
52707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52708 TFLAGS="$(STAGE3_TFLAGS)"; \
52709 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52712 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52713 distclean-stage2:: distclean-stage3
52714 .PHONY: distclean-stage3
52715 distclean-stage3::
52716 @: $(MAKE); $(stage)
52717 @test "`cat stage_last`" != stage3 || rm -f stage_last
52718 rm -rf stage3-* compare
52721 .PHONY: cleanstrap
52722 cleanstrap: do-distclean local-clean
52723 echo stage3 > stage_final
52724 @r=`${PWD_COMMAND}`; export r; \
52725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
52727 @: $(MAKE); $(unstage)
52728 @r=`${PWD_COMMAND}`; export r; \
52729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52730 TFLAGS="$(STAGE3_TFLAGS)"; \
52731 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52733 @endif gcc-bootstrap
52736 .PHONY: stage4-start stage4-end
52738 stage4-start::
52739 @: $(MAKE); $(stage); \
52740 echo stage4 > stage_current ; \
52741 echo stage4 > stage_last; \
52742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52743 @if bfd
52744 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
52745 mkdir stage4-bfd; \
52746 mv stage4-bfd bfd ; \
52747 mv stage3-bfd prev-bfd || test -f stage3-lean
52748 @endif bfd
52749 @if opcodes
52750 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
52751 mkdir stage4-opcodes; \
52752 mv stage4-opcodes opcodes ; \
52753 mv stage3-opcodes prev-opcodes || test -f stage3-lean
52754 @endif opcodes
52755 @if binutils
52756 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
52757 mkdir stage4-binutils; \
52758 mv stage4-binutils binutils ; \
52759 mv stage3-binutils prev-binutils || test -f stage3-lean
52760 @endif binutils
52761 @if gas
52762 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
52763 mkdir stage4-gas; \
52764 mv stage4-gas gas ; \
52765 mv stage3-gas prev-gas || test -f stage3-lean
52766 @endif gas
52767 @if gcc
52768 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
52769 mkdir stage4-gcc; \
52770 mv stage4-gcc gcc ; \
52771 mv stage3-gcc prev-gcc || test -f stage3-lean
52772 @endif gcc
52773 @if gmp
52774 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
52775 mkdir stage4-gmp; \
52776 mv stage4-gmp gmp ; \
52777 mv stage3-gmp prev-gmp || test -f stage3-lean
52778 @endif gmp
52779 @if mpfr
52780 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
52781 mkdir stage4-mpfr; \
52782 mv stage4-mpfr mpfr ; \
52783 mv stage3-mpfr prev-mpfr || test -f stage3-lean
52784 @endif mpfr
52785 @if ppl
52786 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
52787 mkdir stage4-ppl; \
52788 mv stage4-ppl ppl ; \
52789 mv stage3-ppl prev-ppl || test -f stage3-lean
52790 @endif ppl
52791 @if cloog
52792 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
52793 mkdir stage4-cloog; \
52794 mv stage4-cloog cloog ; \
52795 mv stage3-cloog prev-cloog || test -f stage3-lean
52796 @endif cloog
52797 @if gold
52798 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
52799 mkdir stage4-gold; \
52800 mv stage4-gold gold ; \
52801 mv stage3-gold prev-gold || test -f stage3-lean
52802 @endif gold
52803 @if intl
52804 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
52805 mkdir stage4-intl; \
52806 mv stage4-intl intl ; \
52807 mv stage3-intl prev-intl || test -f stage3-lean
52808 @endif intl
52809 @if ld
52810 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
52811 mkdir stage4-ld; \
52812 mv stage4-ld ld ; \
52813 mv stage3-ld prev-ld || test -f stage3-lean
52814 @endif ld
52815 @if libcpp
52816 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
52817 mkdir stage4-libcpp; \
52818 mv stage4-libcpp libcpp ; \
52819 mv stage3-libcpp prev-libcpp || test -f stage3-lean
52820 @endif libcpp
52821 @if libdecnumber
52822 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
52823 mkdir stage4-libdecnumber; \
52824 mv stage4-libdecnumber libdecnumber ; \
52825 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
52826 @endif libdecnumber
52827 @if libiberty
52828 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
52829 mkdir stage4-libiberty; \
52830 mv stage4-libiberty libiberty ; \
52831 mv stage3-libiberty prev-libiberty || test -f stage3-lean
52832 @endif libiberty
52833 @if zlib
52834 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
52835 mkdir stage4-zlib; \
52836 mv stage4-zlib zlib ; \
52837 mv stage3-zlib prev-zlib || test -f stage3-lean
52838 @endif zlib
52839 @[ -d stage4-$(TARGET_SUBDIR) ] || \
52840 mkdir stage4-$(TARGET_SUBDIR); \
52841 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
52842 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
52844 stage4-end::
52845 @if bfd
52846 @if test -d $(HOST_SUBDIR)/bfd ; then \
52847 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
52848 mv prev-bfd stage3-bfd ; : ; \
52850 @endif bfd
52851 @if opcodes
52852 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52853 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
52854 mv prev-opcodes stage3-opcodes ; : ; \
52856 @endif opcodes
52857 @if binutils
52858 @if test -d $(HOST_SUBDIR)/binutils ; then \
52859 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
52860 mv prev-binutils stage3-binutils ; : ; \
52862 @endif binutils
52863 @if gas
52864 @if test -d $(HOST_SUBDIR)/gas ; then \
52865 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
52866 mv prev-gas stage3-gas ; : ; \
52868 @endif gas
52869 @if gcc
52870 @if test -d $(HOST_SUBDIR)/gcc ; then \
52871 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
52872 mv prev-gcc stage3-gcc ; : ; \
52874 @endif gcc
52875 @if gmp
52876 @if test -d $(HOST_SUBDIR)/gmp ; then \
52877 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
52878 mv prev-gmp stage3-gmp ; : ; \
52880 @endif gmp
52881 @if mpfr
52882 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52883 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
52884 mv prev-mpfr stage3-mpfr ; : ; \
52886 @endif mpfr
52887 @if ppl
52888 @if test -d $(HOST_SUBDIR)/ppl ; then \
52889 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
52890 mv prev-ppl stage3-ppl ; : ; \
52892 @endif ppl
52893 @if cloog
52894 @if test -d $(HOST_SUBDIR)/cloog ; then \
52895 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
52896 mv prev-cloog stage3-cloog ; : ; \
52898 @endif cloog
52899 @if gold
52900 @if test -d $(HOST_SUBDIR)/gold ; then \
52901 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
52902 mv prev-gold stage3-gold ; : ; \
52904 @endif gold
52905 @if intl
52906 @if test -d $(HOST_SUBDIR)/intl ; then \
52907 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
52908 mv prev-intl stage3-intl ; : ; \
52910 @endif intl
52911 @if ld
52912 @if test -d $(HOST_SUBDIR)/ld ; then \
52913 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
52914 mv prev-ld stage3-ld ; : ; \
52916 @endif ld
52917 @if libcpp
52918 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52919 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
52920 mv prev-libcpp stage3-libcpp ; : ; \
52922 @endif libcpp
52923 @if libdecnumber
52924 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52925 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
52926 mv prev-libdecnumber stage3-libdecnumber ; : ; \
52928 @endif libdecnumber
52929 @if libiberty
52930 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52931 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
52932 mv prev-libiberty stage3-libiberty ; : ; \
52934 @endif libiberty
52935 @if zlib
52936 @if test -d $(HOST_SUBDIR)/zlib ; then \
52937 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
52938 mv prev-zlib stage3-zlib ; : ; \
52940 @endif zlib
52941 @if test -d $(TARGET_SUBDIR) ; then \
52942 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
52943 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
52945 rm -f stage_current
52947 # Bubble a bug fix through all the stages up to stage 4. They are
52948 # remade, but not reconfigured. The next stage (if any) will not be
52949 # reconfigured either.
52950 .PHONY: stage4-bubble
52951 stage4-bubble:: stage3-bubble
52952 @r=`${PWD_COMMAND}`; export r; \
52953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52954 if test -f stage4-lean || test -f stage3-lean ; then \
52955 echo Skipping rebuild of stage4 ; \
52956 else \
52957 $(MAKE) stage4-start; \
52958 if $(LEAN); then \
52959 rm -rf stage2-* ; \
52960 $(STAMP) stage2-lean ; \
52961 fi; \
52962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
52964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
52966 .PHONY: all-stage4 clean-stage4
52967 do-clean: clean-stage4
52969 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52970 # only possibility, but now it conflicts with no-bootstrap rules
52971 @if gcc-bootstrap
52973 compare3:
52974 @r=`${PWD_COMMAND}`; export r; \
52975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52976 if test -f stage3-lean; then \
52977 echo Cannot compare object files as stage 3 was deleted. ; \
52978 exit 0 ; \
52979 fi; \
52980 : $(MAKE); $(stage); \
52981 rm -f .bad_compare ; \
52982 echo Comparing stages 3 and 4 ; \
52983 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
52984 files=`find stage4-* -name "*$(objext)" -print | \
52985 sed -n s,^stage$$sed-,,p` ; \
52986 for file in $${files} ; do \
52987 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
52988 if test ! -f $$f1; then continue; fi; \
52989 $(do-compare3) > /dev/null 2>&1; \
52990 if test $$? -eq 1; then \
52991 case $$file in \
52992 gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \
52993 echo warning: $$file differs ;; \
52994 *) \
52995 echo $$file differs >> .bad_compare ;; \
52996 esac ; \
52997 fi ; \
52998 done ; \
52999 if [ -f .bad_compare ]; then \
53000 echo "Bootstrap comparison failure!"; \
53001 cat .bad_compare; \
53002 exit 1; \
53003 else \
53004 echo Comparison successful.; \
53005 fi ; \
53006 $(STAMP) compare3
53007 if $(LEAN); then \
53008 rm -rf stage3-*; \
53009 $(STAMP) stage3-lean; \
53014 .PHONY: bootstrap4 bootstrap4-lean
53015 bootstrap4:
53016 echo stage4 > stage_final
53017 @r=`${PWD_COMMAND}`; export r; \
53018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53019 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
53020 @: $(MAKE); $(unstage)
53021 @r=`${PWD_COMMAND}`; export r; \
53022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53023 TFLAGS="$(STAGE4_TFLAGS)"; \
53024 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53026 bootstrap4-lean:
53027 echo stage4 > stage_final
53028 @r=`${PWD_COMMAND}`; export r; \
53029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53030 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
53031 @: $(MAKE); $(unstage)
53032 @r=`${PWD_COMMAND}`; export r; \
53033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53034 TFLAGS="$(STAGE4_TFLAGS)"; \
53035 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53038 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53039 distclean-stage3:: distclean-stage4
53040 .PHONY: distclean-stage4
53041 distclean-stage4::
53042 @: $(MAKE); $(stage)
53043 @test "`cat stage_last`" != stage4 || rm -f stage_last
53044 rm -rf stage4-* compare3
53047 @endif gcc-bootstrap
53050 .PHONY: stageprofile-start stageprofile-end
53052 stageprofile-start::
53053 @: $(MAKE); $(stage); \
53054 echo stageprofile > stage_current ; \
53055 echo stageprofile > stage_last; \
53056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53057 @if bfd
53058 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
53059 mkdir stageprofile-bfd; \
53060 mv stageprofile-bfd bfd ; \
53061 mv stage1-bfd prev-bfd || test -f stage1-lean
53062 @endif bfd
53063 @if opcodes
53064 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
53065 mkdir stageprofile-opcodes; \
53066 mv stageprofile-opcodes opcodes ; \
53067 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53068 @endif opcodes
53069 @if binutils
53070 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
53071 mkdir stageprofile-binutils; \
53072 mv stageprofile-binutils binutils ; \
53073 mv stage1-binutils prev-binutils || test -f stage1-lean
53074 @endif binutils
53075 @if gas
53076 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
53077 mkdir stageprofile-gas; \
53078 mv stageprofile-gas gas ; \
53079 mv stage1-gas prev-gas || test -f stage1-lean
53080 @endif gas
53081 @if gcc
53082 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
53083 mkdir stageprofile-gcc; \
53084 mv stageprofile-gcc gcc ; \
53085 mv stage1-gcc prev-gcc || test -f stage1-lean
53086 @endif gcc
53087 @if gmp
53088 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
53089 mkdir stageprofile-gmp; \
53090 mv stageprofile-gmp gmp ; \
53091 mv stage1-gmp prev-gmp || test -f stage1-lean
53092 @endif gmp
53093 @if mpfr
53094 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
53095 mkdir stageprofile-mpfr; \
53096 mv stageprofile-mpfr mpfr ; \
53097 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53098 @endif mpfr
53099 @if ppl
53100 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
53101 mkdir stageprofile-ppl; \
53102 mv stageprofile-ppl ppl ; \
53103 mv stage1-ppl prev-ppl || test -f stage1-lean
53104 @endif ppl
53105 @if cloog
53106 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
53107 mkdir stageprofile-cloog; \
53108 mv stageprofile-cloog cloog ; \
53109 mv stage1-cloog prev-cloog || test -f stage1-lean
53110 @endif cloog
53111 @if gold
53112 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
53113 mkdir stageprofile-gold; \
53114 mv stageprofile-gold gold ; \
53115 mv stage1-gold prev-gold || test -f stage1-lean
53116 @endif gold
53117 @if intl
53118 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
53119 mkdir stageprofile-intl; \
53120 mv stageprofile-intl intl ; \
53121 mv stage1-intl prev-intl || test -f stage1-lean
53122 @endif intl
53123 @if ld
53124 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
53125 mkdir stageprofile-ld; \
53126 mv stageprofile-ld ld ; \
53127 mv stage1-ld prev-ld || test -f stage1-lean
53128 @endif ld
53129 @if libcpp
53130 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
53131 mkdir stageprofile-libcpp; \
53132 mv stageprofile-libcpp libcpp ; \
53133 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53134 @endif libcpp
53135 @if libdecnumber
53136 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
53137 mkdir stageprofile-libdecnumber; \
53138 mv stageprofile-libdecnumber libdecnumber ; \
53139 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53140 @endif libdecnumber
53141 @if libiberty
53142 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
53143 mkdir stageprofile-libiberty; \
53144 mv stageprofile-libiberty libiberty ; \
53145 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53146 @endif libiberty
53147 @if zlib
53148 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
53149 mkdir stageprofile-zlib; \
53150 mv stageprofile-zlib zlib ; \
53151 mv stage1-zlib prev-zlib || test -f stage1-lean
53152 @endif zlib
53153 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
53154 mkdir stageprofile-$(TARGET_SUBDIR); \
53155 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53156 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53158 stageprofile-end::
53159 @if bfd
53160 @if test -d $(HOST_SUBDIR)/bfd ; then \
53161 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
53162 mv prev-bfd stage1-bfd ; : ; \
53164 @endif bfd
53165 @if opcodes
53166 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53167 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
53168 mv prev-opcodes stage1-opcodes ; : ; \
53170 @endif opcodes
53171 @if binutils
53172 @if test -d $(HOST_SUBDIR)/binutils ; then \
53173 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
53174 mv prev-binutils stage1-binutils ; : ; \
53176 @endif binutils
53177 @if gas
53178 @if test -d $(HOST_SUBDIR)/gas ; then \
53179 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
53180 mv prev-gas stage1-gas ; : ; \
53182 @endif gas
53183 @if gcc
53184 @if test -d $(HOST_SUBDIR)/gcc ; then \
53185 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
53186 mv prev-gcc stage1-gcc ; : ; \
53188 @endif gcc
53189 @if gmp
53190 @if test -d $(HOST_SUBDIR)/gmp ; then \
53191 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
53192 mv prev-gmp stage1-gmp ; : ; \
53194 @endif gmp
53195 @if mpfr
53196 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53197 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
53198 mv prev-mpfr stage1-mpfr ; : ; \
53200 @endif mpfr
53201 @if ppl
53202 @if test -d $(HOST_SUBDIR)/ppl ; then \
53203 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
53204 mv prev-ppl stage1-ppl ; : ; \
53206 @endif ppl
53207 @if cloog
53208 @if test -d $(HOST_SUBDIR)/cloog ; then \
53209 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
53210 mv prev-cloog stage1-cloog ; : ; \
53212 @endif cloog
53213 @if gold
53214 @if test -d $(HOST_SUBDIR)/gold ; then \
53215 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
53216 mv prev-gold stage1-gold ; : ; \
53218 @endif gold
53219 @if intl
53220 @if test -d $(HOST_SUBDIR)/intl ; then \
53221 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
53222 mv prev-intl stage1-intl ; : ; \
53224 @endif intl
53225 @if ld
53226 @if test -d $(HOST_SUBDIR)/ld ; then \
53227 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
53228 mv prev-ld stage1-ld ; : ; \
53230 @endif ld
53231 @if libcpp
53232 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53233 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
53234 mv prev-libcpp stage1-libcpp ; : ; \
53236 @endif libcpp
53237 @if libdecnumber
53238 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53239 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
53240 mv prev-libdecnumber stage1-libdecnumber ; : ; \
53242 @endif libdecnumber
53243 @if libiberty
53244 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53245 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
53246 mv prev-libiberty stage1-libiberty ; : ; \
53248 @endif libiberty
53249 @if zlib
53250 @if test -d $(HOST_SUBDIR)/zlib ; then \
53251 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
53252 mv prev-zlib stage1-zlib ; : ; \
53254 @endif zlib
53255 @if test -d $(TARGET_SUBDIR) ; then \
53256 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
53257 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
53259 rm -f stage_current
53261 # Bubble a bug fix through all the stages up to stage profile. They are
53262 # remade, but not reconfigured. The next stage (if any) will not be
53263 # reconfigured either.
53264 .PHONY: stageprofile-bubble
53265 stageprofile-bubble:: stage1-bubble
53266 @r=`${PWD_COMMAND}`; export r; \
53267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53268 if test -f stageprofile-lean || test -f stage1-lean ; then \
53269 echo Skipping rebuild of stageprofile ; \
53270 else \
53271 $(MAKE) stageprofile-start; \
53272 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
53275 .PHONY: all-stageprofile clean-stageprofile
53276 do-clean: clean-stageprofile
53278 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53279 # only possibility, but now it conflicts with no-bootstrap rules
53280 @if gcc-bootstrap
53285 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53286 distclean-stage1:: distclean-stageprofile
53287 .PHONY: distclean-stageprofile
53288 distclean-stageprofile::
53289 @: $(MAKE); $(stage)
53290 @test "`cat stage_last`" != stageprofile || rm -f stage_last
53291 rm -rf stageprofile-*
53294 @endif gcc-bootstrap
53297 .PHONY: stagefeedback-start stagefeedback-end
53299 stagefeedback-start::
53300 @: $(MAKE); $(stage); \
53301 echo stagefeedback > stage_current ; \
53302 echo stagefeedback > stage_last; \
53303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53304 @if bfd
53305 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
53306 mkdir stagefeedback-bfd; \
53307 mv stagefeedback-bfd bfd ; \
53308 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
53309 @endif bfd
53310 @if opcodes
53311 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
53312 mkdir stagefeedback-opcodes; \
53313 mv stagefeedback-opcodes opcodes ; \
53314 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
53315 @endif opcodes
53316 @if binutils
53317 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
53318 mkdir stagefeedback-binutils; \
53319 mv stagefeedback-binutils binutils ; \
53320 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
53321 @endif binutils
53322 @if gas
53323 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
53324 mkdir stagefeedback-gas; \
53325 mv stagefeedback-gas gas ; \
53326 mv stageprofile-gas prev-gas || test -f stageprofile-lean
53327 @endif gas
53328 @if gcc
53329 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
53330 mkdir stagefeedback-gcc; \
53331 mv stagefeedback-gcc gcc ; \
53332 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
53333 @endif gcc
53334 @if gmp
53335 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
53336 mkdir stagefeedback-gmp; \
53337 mv stagefeedback-gmp gmp ; \
53338 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
53339 @endif gmp
53340 @if mpfr
53341 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
53342 mkdir stagefeedback-mpfr; \
53343 mv stagefeedback-mpfr mpfr ; \
53344 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
53345 @endif mpfr
53346 @if ppl
53347 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
53348 mkdir stagefeedback-ppl; \
53349 mv stagefeedback-ppl ppl ; \
53350 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
53351 @endif ppl
53352 @if cloog
53353 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
53354 mkdir stagefeedback-cloog; \
53355 mv stagefeedback-cloog cloog ; \
53356 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
53357 @endif cloog
53358 @if gold
53359 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
53360 mkdir stagefeedback-gold; \
53361 mv stagefeedback-gold gold ; \
53362 mv stageprofile-gold prev-gold || test -f stageprofile-lean
53363 @endif gold
53364 @if intl
53365 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
53366 mkdir stagefeedback-intl; \
53367 mv stagefeedback-intl intl ; \
53368 mv stageprofile-intl prev-intl || test -f stageprofile-lean
53369 @endif intl
53370 @if ld
53371 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
53372 mkdir stagefeedback-ld; \
53373 mv stagefeedback-ld ld ; \
53374 mv stageprofile-ld prev-ld || test -f stageprofile-lean
53375 @endif ld
53376 @if libcpp
53377 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
53378 mkdir stagefeedback-libcpp; \
53379 mv stagefeedback-libcpp libcpp ; \
53380 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
53381 @endif libcpp
53382 @if libdecnumber
53383 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
53384 mkdir stagefeedback-libdecnumber; \
53385 mv stagefeedback-libdecnumber libdecnumber ; \
53386 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
53387 @endif libdecnumber
53388 @if libiberty
53389 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
53390 mkdir stagefeedback-libiberty; \
53391 mv stagefeedback-libiberty libiberty ; \
53392 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
53393 @endif libiberty
53394 @if zlib
53395 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
53396 mkdir stagefeedback-zlib; \
53397 mv stagefeedback-zlib zlib ; \
53398 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
53399 @endif zlib
53400 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
53401 mkdir stagefeedback-$(TARGET_SUBDIR); \
53402 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53403 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
53405 stagefeedback-end::
53406 @if bfd
53407 @if test -d $(HOST_SUBDIR)/bfd ; then \
53408 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
53409 mv prev-bfd stageprofile-bfd ; : ; \
53411 @endif bfd
53412 @if opcodes
53413 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53414 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
53415 mv prev-opcodes stageprofile-opcodes ; : ; \
53417 @endif opcodes
53418 @if binutils
53419 @if test -d $(HOST_SUBDIR)/binutils ; then \
53420 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
53421 mv prev-binutils stageprofile-binutils ; : ; \
53423 @endif binutils
53424 @if gas
53425 @if test -d $(HOST_SUBDIR)/gas ; then \
53426 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
53427 mv prev-gas stageprofile-gas ; : ; \
53429 @endif gas
53430 @if gcc
53431 @if test -d $(HOST_SUBDIR)/gcc ; then \
53432 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
53433 mv prev-gcc stageprofile-gcc ; : ; \
53435 @endif gcc
53436 @if gmp
53437 @if test -d $(HOST_SUBDIR)/gmp ; then \
53438 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
53439 mv prev-gmp stageprofile-gmp ; : ; \
53441 @endif gmp
53442 @if mpfr
53443 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53444 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
53445 mv prev-mpfr stageprofile-mpfr ; : ; \
53447 @endif mpfr
53448 @if ppl
53449 @if test -d $(HOST_SUBDIR)/ppl ; then \
53450 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
53451 mv prev-ppl stageprofile-ppl ; : ; \
53453 @endif ppl
53454 @if cloog
53455 @if test -d $(HOST_SUBDIR)/cloog ; then \
53456 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
53457 mv prev-cloog stageprofile-cloog ; : ; \
53459 @endif cloog
53460 @if gold
53461 @if test -d $(HOST_SUBDIR)/gold ; then \
53462 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
53463 mv prev-gold stageprofile-gold ; : ; \
53465 @endif gold
53466 @if intl
53467 @if test -d $(HOST_SUBDIR)/intl ; then \
53468 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
53469 mv prev-intl stageprofile-intl ; : ; \
53471 @endif intl
53472 @if ld
53473 @if test -d $(HOST_SUBDIR)/ld ; then \
53474 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
53475 mv prev-ld stageprofile-ld ; : ; \
53477 @endif ld
53478 @if libcpp
53479 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53480 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
53481 mv prev-libcpp stageprofile-libcpp ; : ; \
53483 @endif libcpp
53484 @if libdecnumber
53485 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53486 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
53487 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
53489 @endif libdecnumber
53490 @if libiberty
53491 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53492 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
53493 mv prev-libiberty stageprofile-libiberty ; : ; \
53495 @endif libiberty
53496 @if zlib
53497 @if test -d $(HOST_SUBDIR)/zlib ; then \
53498 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
53499 mv prev-zlib stageprofile-zlib ; : ; \
53501 @endif zlib
53502 @if test -d $(TARGET_SUBDIR) ; then \
53503 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
53504 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
53506 rm -f stage_current
53508 # Bubble a bug fix through all the stages up to stage feedback. They are
53509 # remade, but not reconfigured. The next stage (if any) will not be
53510 # reconfigured either.
53511 .PHONY: stagefeedback-bubble
53512 stagefeedback-bubble:: stageprofile-bubble
53513 @r=`${PWD_COMMAND}`; export r; \
53514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53515 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
53516 echo Skipping rebuild of stagefeedback ; \
53517 else \
53518 $(MAKE) stagefeedback-start; \
53519 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
53522 .PHONY: all-stagefeedback clean-stagefeedback
53523 do-clean: clean-stagefeedback
53525 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53526 # only possibility, but now it conflicts with no-bootstrap rules
53527 @if gcc-bootstrap
53531 .PHONY: profiledbootstrap profiledbootstrap-lean
53532 profiledbootstrap:
53533 echo stagefeedback > stage_final
53534 @r=`${PWD_COMMAND}`; export r; \
53535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53536 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
53537 @: $(MAKE); $(unstage)
53538 @r=`${PWD_COMMAND}`; export r; \
53539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53540 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53541 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53543 profiledbootstrap-lean:
53544 echo stagefeedback > stage_final
53545 @r=`${PWD_COMMAND}`; export r; \
53546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53547 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
53548 @: $(MAKE); $(unstage)
53549 @r=`${PWD_COMMAND}`; export r; \
53550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53551 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53552 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53555 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53556 distclean-stageprofile:: distclean-stagefeedback
53557 .PHONY: distclean-stagefeedback
53558 distclean-stagefeedback::
53559 @: $(MAKE); $(stage)
53560 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
53561 rm -rf stagefeedback-*
53564 @endif gcc-bootstrap
53568 stageprofile-end::
53569 $(MAKE) distclean-stagefeedback
53571 stagefeedback-start::
53572 @r=`${PWD_COMMAND}`; export r; \
53573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53574 for i in prev-*; do \
53575 j=`echo $$i | sed s/^prev-//` ; \
53576 cd $$r/$$i && \
53577 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
53578 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
53579 done
53581 @if gcc-bootstrap
53582 do-distclean: distclean-stage1
53584 # Provide a GCC build when we're building target libraries. This does
53585 # not work as a dependency, just as the minimum necessary to avoid errors.
53586 stage_last:
53587 @r=`${PWD_COMMAND}`; export r; \
53588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53589 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
53591 # Same as unstage, but not phony and defaulting to stage1-start. We place
53592 # it in the dependency so that for example `make -j3 all-gcc' works.
53593 stage_current:
53594 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
53596 .PHONY: restrap
53597 restrap::
53598 @: $(MAKE); $(stage)
53599 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
53600 restrap:: all
53601 @endif gcc-bootstrap
53603 # --------------------------------------
53604 # Dependencies between different modules
53605 # --------------------------------------
53607 # Generic dependencies for target modules on host stuff, especially gcc
53608 @if gcc-bootstrap
53609 configure-target-libstdc++-v3: stage_last
53610 configure-target-libmudflap: stage_last
53611 configure-target-libssp: stage_last
53612 configure-target-newlib: stage_last
53613 configure-stage1-target-libgcc: maybe-all-stage1-gcc
53614 configure-stage2-target-libgcc: maybe-all-stage2-gcc
53615 configure-stage3-target-libgcc: maybe-all-stage3-gcc
53616 configure-stage4-target-libgcc: maybe-all-stage4-gcc
53617 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
53618 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
53619 configure-target-libgfortran: stage_last
53620 configure-target-libobjc: stage_last
53621 configure-target-libtermcap: stage_last
53622 configure-target-winsup: stage_last
53623 configure-target-libgloss: stage_last
53624 configure-target-libiberty: stage_last
53625 configure-target-gperf: stage_last
53626 configure-target-examples: stage_last
53627 configure-target-libffi: stage_last
53628 configure-target-libjava: stage_last
53629 configure-target-zlib: stage_last
53630 configure-target-boehm-gc: stage_last
53631 configure-target-qthreads: stage_last
53632 configure-target-rda: stage_last
53633 configure-target-libada: stage_last
53634 configure-target-libgomp: stage_last
53635 @endif gcc-bootstrap
53637 @if gcc-no-bootstrap
53638 configure-target-libstdc++-v3: maybe-all-gcc
53639 configure-target-libmudflap: maybe-all-gcc
53640 configure-target-libssp: maybe-all-gcc
53641 configure-target-newlib: maybe-all-gcc
53642 configure-target-libgcc: maybe-all-gcc
53643 configure-target-libgfortran: maybe-all-gcc
53644 configure-target-libobjc: maybe-all-gcc
53645 configure-target-libtermcap: maybe-all-gcc
53646 configure-target-winsup: maybe-all-gcc
53647 configure-target-libgloss: maybe-all-gcc
53648 configure-target-libiberty: maybe-all-gcc
53649 configure-target-gperf: maybe-all-gcc
53650 configure-target-examples: maybe-all-gcc
53651 configure-target-libffi: maybe-all-gcc
53652 configure-target-libjava: maybe-all-gcc
53653 configure-target-zlib: maybe-all-gcc
53654 configure-target-boehm-gc: maybe-all-gcc
53655 configure-target-qthreads: maybe-all-gcc
53656 configure-target-rda: maybe-all-gcc
53657 configure-target-libada: maybe-all-gcc
53658 configure-target-libgomp: maybe-all-gcc
53659 @endif gcc-no-bootstrap
53662 # There are two types of dependencies here: 'hard' dependencies, where one
53663 # module simply won't build without the other; and 'soft' dependencies, where
53664 # if the depended-on module is missing, the depending module will do without
53665 # or find a substitute somewhere (perhaps installed). Soft dependencies
53666 # are made here to depend on a 'maybe-' target. If you're not sure,
53667 # it's safer to use a soft dependency.
53674 # With all the machinery above in place, it is pretty easy to generate
53675 # dependencies. Host dependencies are a bit more complex because we have
53676 # to check for bootstrap/prebootstrap dependencies. To resolve
53677 # prebootstrap dependencies, prebootstrap modules are gathered in
53678 # a hash table.
53679 all-build-bison: maybe-all-build-texinfo
53680 all-build-byacc: maybe-all-build-texinfo
53681 all-build-flex: maybe-all-build-texinfo
53682 all-build-flex: maybe-all-build-bison
53683 all-build-flex: maybe-all-build-byacc
53684 all-build-flex: maybe-all-build-m4
53685 all-build-libiberty: maybe-all-build-texinfo
53686 all-build-m4: maybe-all-build-texinfo
53687 all-build-fixincludes: maybe-all-build-libiberty
53688 configure-gcc: maybe-configure-intl
53690 configure-stage1-gcc: maybe-configure-stage1-intl
53691 configure-stage2-gcc: maybe-configure-stage2-intl
53692 configure-stage3-gcc: maybe-configure-stage3-intl
53693 configure-stage4-gcc: maybe-configure-stage4-intl
53694 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
53695 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
53696 configure-gcc: maybe-all-binutils
53698 configure-stage1-gcc: maybe-all-stage1-binutils
53699 configure-stage2-gcc: maybe-all-stage2-binutils
53700 configure-stage3-gcc: maybe-all-stage3-binutils
53701 configure-stage4-gcc: maybe-all-stage4-binutils
53702 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
53703 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
53704 configure-gcc: maybe-all-gas
53706 configure-stage1-gcc: maybe-all-stage1-gas
53707 configure-stage2-gcc: maybe-all-stage2-gas
53708 configure-stage3-gcc: maybe-all-stage3-gas
53709 configure-stage4-gcc: maybe-all-stage4-gas
53710 configure-stageprofile-gcc: maybe-all-stageprofile-gas
53711 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
53712 configure-gcc: maybe-all-ld
53714 configure-stage1-gcc: maybe-all-stage1-ld
53715 configure-stage2-gcc: maybe-all-stage2-ld
53716 configure-stage3-gcc: maybe-all-stage3-ld
53717 configure-stage4-gcc: maybe-all-stage4-ld
53718 configure-stageprofile-gcc: maybe-all-stageprofile-ld
53719 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
53720 configure-gcc: maybe-all-gold
53722 configure-stage1-gcc: maybe-all-stage1-gold
53723 configure-stage2-gcc: maybe-all-stage2-gold
53724 configure-stage3-gcc: maybe-all-stage3-gold
53725 configure-stage4-gcc: maybe-all-stage4-gold
53726 configure-stageprofile-gcc: maybe-all-stageprofile-gold
53727 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
53728 all-gcc: all-libiberty
53730 all-stage1-gcc: all-stage1-libiberty
53731 all-stage2-gcc: all-stage2-libiberty
53732 all-stage3-gcc: all-stage3-libiberty
53733 all-stage4-gcc: all-stage4-libiberty
53734 all-stageprofile-gcc: all-stageprofile-libiberty
53735 all-stagefeedback-gcc: all-stagefeedback-libiberty
53736 all-gcc: maybe-all-gmp
53738 all-stage1-gcc: maybe-all-stage1-gmp
53739 all-stage2-gcc: maybe-all-stage2-gmp
53740 all-stage3-gcc: maybe-all-stage3-gmp
53741 all-stage4-gcc: maybe-all-stage4-gmp
53742 all-stageprofile-gcc: maybe-all-stageprofile-gmp
53743 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
53744 all-gcc: maybe-all-intl
53746 all-stage1-gcc: maybe-all-stage1-intl
53747 all-stage2-gcc: maybe-all-stage2-intl
53748 all-stage3-gcc: maybe-all-stage3-intl
53749 all-stage4-gcc: maybe-all-stage4-intl
53750 all-stageprofile-gcc: maybe-all-stageprofile-intl
53751 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
53752 all-gcc: maybe-all-mpfr
53754 all-stage1-gcc: maybe-all-stage1-mpfr
53755 all-stage2-gcc: maybe-all-stage2-mpfr
53756 all-stage3-gcc: maybe-all-stage3-mpfr
53757 all-stage4-gcc: maybe-all-stage4-mpfr
53758 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
53759 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
53760 all-gcc: maybe-all-ppl
53762 all-stage1-gcc: maybe-all-stage1-ppl
53763 all-stage2-gcc: maybe-all-stage2-ppl
53764 all-stage3-gcc: maybe-all-stage3-ppl
53765 all-stage4-gcc: maybe-all-stage4-ppl
53766 all-stageprofile-gcc: maybe-all-stageprofile-ppl
53767 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
53768 all-gcc: maybe-all-cloog
53770 all-stage1-gcc: maybe-all-stage1-cloog
53771 all-stage2-gcc: maybe-all-stage2-cloog
53772 all-stage3-gcc: maybe-all-stage3-cloog
53773 all-stage4-gcc: maybe-all-stage4-cloog
53774 all-stageprofile-gcc: maybe-all-stageprofile-cloog
53775 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
53776 all-gcc: maybe-all-build-texinfo
53778 all-stage1-gcc: maybe-all-build-texinfo
53779 all-stage2-gcc: maybe-all-build-texinfo
53780 all-stage3-gcc: maybe-all-build-texinfo
53781 all-stage4-gcc: maybe-all-build-texinfo
53782 all-stageprofile-gcc: maybe-all-build-texinfo
53783 all-stagefeedback-gcc: maybe-all-build-texinfo
53784 all-gcc: maybe-all-build-bison
53786 all-stage1-gcc: maybe-all-build-bison
53787 all-stage2-gcc: maybe-all-build-bison
53788 all-stage3-gcc: maybe-all-build-bison
53789 all-stage4-gcc: maybe-all-build-bison
53790 all-stageprofile-gcc: maybe-all-build-bison
53791 all-stagefeedback-gcc: maybe-all-build-bison
53792 all-gcc: maybe-all-build-byacc
53794 all-stage1-gcc: maybe-all-build-byacc
53795 all-stage2-gcc: maybe-all-build-byacc
53796 all-stage3-gcc: maybe-all-build-byacc
53797 all-stage4-gcc: maybe-all-build-byacc
53798 all-stageprofile-gcc: maybe-all-build-byacc
53799 all-stagefeedback-gcc: maybe-all-build-byacc
53800 all-gcc: maybe-all-build-flex
53802 all-stage1-gcc: maybe-all-build-flex
53803 all-stage2-gcc: maybe-all-build-flex
53804 all-stage3-gcc: maybe-all-build-flex
53805 all-stage4-gcc: maybe-all-build-flex
53806 all-stageprofile-gcc: maybe-all-build-flex
53807 all-stagefeedback-gcc: maybe-all-build-flex
53808 all-gcc: maybe-all-build-libiberty
53810 all-stage1-gcc: maybe-all-build-libiberty
53811 all-stage2-gcc: maybe-all-build-libiberty
53812 all-stage3-gcc: maybe-all-build-libiberty
53813 all-stage4-gcc: maybe-all-build-libiberty
53814 all-stageprofile-gcc: maybe-all-build-libiberty
53815 all-stagefeedback-gcc: maybe-all-build-libiberty
53816 all-gcc: maybe-all-build-fixincludes
53818 all-stage1-gcc: maybe-all-build-fixincludes
53819 all-stage2-gcc: maybe-all-build-fixincludes
53820 all-stage3-gcc: maybe-all-build-fixincludes
53821 all-stage4-gcc: maybe-all-build-fixincludes
53822 all-stageprofile-gcc: maybe-all-build-fixincludes
53823 all-stagefeedback-gcc: maybe-all-build-fixincludes
53824 all-gcc: maybe-all-zlib
53826 all-stage1-gcc: maybe-all-stage1-zlib
53827 all-stage2-gcc: maybe-all-stage2-zlib
53828 all-stage3-gcc: maybe-all-stage3-zlib
53829 all-stage4-gcc: maybe-all-stage4-zlib
53830 all-stageprofile-gcc: maybe-all-stageprofile-zlib
53831 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
53832 all-gcc: all-libcpp
53834 all-stage1-gcc: all-stage1-libcpp
53835 all-stage2-gcc: all-stage2-libcpp
53836 all-stage3-gcc: all-stage3-libcpp
53837 all-stage4-gcc: all-stage4-libcpp
53838 all-stageprofile-gcc: all-stageprofile-libcpp
53839 all-stagefeedback-gcc: all-stagefeedback-libcpp
53840 all-gcc: all-libdecnumber
53842 all-stage1-gcc: all-stage1-libdecnumber
53843 all-stage2-gcc: all-stage2-libdecnumber
53844 all-stage3-gcc: all-stage3-libdecnumber
53845 all-stage4-gcc: all-stage4-libdecnumber
53846 all-stageprofile-gcc: all-stageprofile-libdecnumber
53847 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
53848 all-gcc: maybe-all-libiberty
53850 all-stage1-gcc: maybe-all-stage1-libiberty
53851 all-stage2-gcc: maybe-all-stage2-libiberty
53852 all-stage3-gcc: maybe-all-stage3-libiberty
53853 all-stage4-gcc: maybe-all-stage4-libiberty
53854 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
53855 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
53856 all-gcc: maybe-all-fixincludes
53857 install-gcc: maybe-install-fixincludes
53858 configure-libcpp: configure-libiberty
53860 configure-stage1-libcpp: configure-stage1-libiberty
53861 configure-stage2-libcpp: configure-stage2-libiberty
53862 configure-stage3-libcpp: configure-stage3-libiberty
53863 configure-stage4-libcpp: configure-stage4-libiberty
53864 configure-stageprofile-libcpp: configure-stageprofile-libiberty
53865 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
53866 configure-libcpp: maybe-configure-intl
53868 configure-stage1-libcpp: maybe-configure-stage1-intl
53869 configure-stage2-libcpp: maybe-configure-stage2-intl
53870 configure-stage3-libcpp: maybe-configure-stage3-intl
53871 configure-stage4-libcpp: maybe-configure-stage4-intl
53872 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
53873 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
53874 all-libcpp: all-libiberty
53876 all-stage1-libcpp: all-stage1-libiberty
53877 all-stage2-libcpp: all-stage2-libiberty
53878 all-stage3-libcpp: all-stage3-libiberty
53879 all-stage4-libcpp: all-stage4-libiberty
53880 all-stageprofile-libcpp: all-stageprofile-libiberty
53881 all-stagefeedback-libcpp: all-stagefeedback-libiberty
53882 all-libcpp: maybe-all-intl
53884 all-stage1-libcpp: maybe-all-stage1-intl
53885 all-stage2-libcpp: maybe-all-stage2-intl
53886 all-stage3-libcpp: maybe-all-stage3-intl
53887 all-stage4-libcpp: maybe-all-stage4-intl
53888 all-stageprofile-libcpp: maybe-all-stageprofile-intl
53889 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
53890 all-fixincludes: maybe-all-libiberty
53891 all-gnattools: maybe-all-target-libada
53892 configure-mpfr: maybe-all-gmp
53894 configure-stage1-mpfr: maybe-all-stage1-gmp
53895 configure-stage2-mpfr: maybe-all-stage2-gmp
53896 configure-stage3-mpfr: maybe-all-stage3-gmp
53897 configure-stage4-mpfr: maybe-all-stage4-gmp
53898 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
53899 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
53900 configure-ppl: maybe-all-gmp
53902 configure-stage1-ppl: maybe-all-stage1-gmp
53903 configure-stage2-ppl: maybe-all-stage2-gmp
53904 configure-stage3-ppl: maybe-all-stage3-gmp
53905 configure-stage4-ppl: maybe-all-stage4-gmp
53906 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
53907 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
53908 configure-ppl: maybe-all-mpfr
53910 configure-stage1-ppl: maybe-all-stage1-mpfr
53911 configure-stage2-ppl: maybe-all-stage2-mpfr
53912 configure-stage3-ppl: maybe-all-stage3-mpfr
53913 configure-stage4-ppl: maybe-all-stage4-mpfr
53914 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
53915 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
53916 configure-cloog: maybe-all-ppl
53918 configure-stage1-cloog: maybe-all-stage1-ppl
53919 configure-stage2-cloog: maybe-all-stage2-ppl
53920 configure-stage3-cloog: maybe-all-stage3-ppl
53921 configure-stage4-cloog: maybe-all-stage4-ppl
53922 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
53923 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
53924 configure-gdb: maybe-all-intl
53925 configure-gdb: maybe-configure-sim
53926 configure-gdb: maybe-all-bfd
53927 configure-gdb: maybe-all-libiconv
53928 all-gdb: maybe-all-libiberty
53929 all-gdb: maybe-all-libiconv
53930 all-gdb: maybe-all-opcodes
53931 all-gdb: maybe-all-readline
53932 all-gdb: maybe-all-build-bison
53933 all-gdb: maybe-all-build-byacc
53934 all-gdb: maybe-all-sim
53935 all-gdb: maybe-all-libdecnumber
53936 configure-libgui: maybe-configure-tcl
53937 configure-libgui: maybe-configure-tk
53938 all-libgui: maybe-all-tcl
53939 all-libgui: maybe-all-tk
53940 all-libgui: maybe-all-itcl
53941 configure-bfd: configure-libiberty
53943 configure-stage1-bfd: configure-stage1-libiberty
53944 configure-stage2-bfd: configure-stage2-libiberty
53945 configure-stage3-bfd: configure-stage3-libiberty
53946 configure-stage4-bfd: configure-stage4-libiberty
53947 configure-stageprofile-bfd: configure-stageprofile-libiberty
53948 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
53949 configure-bfd: maybe-configure-intl
53951 configure-stage1-bfd: maybe-configure-stage1-intl
53952 configure-stage2-bfd: maybe-configure-stage2-intl
53953 configure-stage3-bfd: maybe-configure-stage3-intl
53954 configure-stage4-bfd: maybe-configure-stage4-intl
53955 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
53956 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
53957 all-bfd: maybe-all-libiberty
53959 all-stage1-bfd: maybe-all-stage1-libiberty
53960 all-stage2-bfd: maybe-all-stage2-libiberty
53961 all-stage3-bfd: maybe-all-stage3-libiberty
53962 all-stage4-bfd: maybe-all-stage4-libiberty
53963 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
53964 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
53965 all-bfd: maybe-all-intl
53967 all-stage1-bfd: maybe-all-stage1-intl
53968 all-stage2-bfd: maybe-all-stage2-intl
53969 all-stage3-bfd: maybe-all-stage3-intl
53970 all-stage4-bfd: maybe-all-stage4-intl
53971 all-stageprofile-bfd: maybe-all-stageprofile-intl
53972 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
53973 configure-opcodes: configure-libiberty
53975 configure-stage1-opcodes: configure-stage1-libiberty
53976 configure-stage2-opcodes: configure-stage2-libiberty
53977 configure-stage3-opcodes: configure-stage3-libiberty
53978 configure-stage4-opcodes: configure-stage4-libiberty
53979 configure-stageprofile-opcodes: configure-stageprofile-libiberty
53980 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
53981 all-opcodes: maybe-all-libiberty
53983 all-stage1-opcodes: maybe-all-stage1-libiberty
53984 all-stage2-opcodes: maybe-all-stage2-libiberty
53985 all-stage3-opcodes: maybe-all-stage3-libiberty
53986 all-stage4-opcodes: maybe-all-stage4-libiberty
53987 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
53988 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
53989 configure-binutils: maybe-configure-intl
53991 configure-stage1-binutils: maybe-configure-stage1-intl
53992 configure-stage2-binutils: maybe-configure-stage2-intl
53993 configure-stage3-binutils: maybe-configure-stage3-intl
53994 configure-stage4-binutils: maybe-configure-stage4-intl
53995 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
53996 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
53997 all-binutils: maybe-all-libiberty
53999 all-stage1-binutils: maybe-all-stage1-libiberty
54000 all-stage2-binutils: maybe-all-stage2-libiberty
54001 all-stage3-binutils: maybe-all-stage3-libiberty
54002 all-stage4-binutils: maybe-all-stage4-libiberty
54003 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
54004 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
54005 all-binutils: maybe-all-opcodes
54007 all-stage1-binutils: maybe-all-stage1-opcodes
54008 all-stage2-binutils: maybe-all-stage2-opcodes
54009 all-stage3-binutils: maybe-all-stage3-opcodes
54010 all-stage4-binutils: maybe-all-stage4-opcodes
54011 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
54012 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
54013 all-binutils: maybe-all-bfd
54015 all-stage1-binutils: maybe-all-stage1-bfd
54016 all-stage2-binutils: maybe-all-stage2-bfd
54017 all-stage3-binutils: maybe-all-stage3-bfd
54018 all-stage4-binutils: maybe-all-stage4-bfd
54019 all-stageprofile-binutils: maybe-all-stageprofile-bfd
54020 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
54021 all-binutils: maybe-all-build-flex
54023 all-stage1-binutils: maybe-all-build-flex
54024 all-stage2-binutils: maybe-all-build-flex
54025 all-stage3-binutils: maybe-all-build-flex
54026 all-stage4-binutils: maybe-all-build-flex
54027 all-stageprofile-binutils: maybe-all-build-flex
54028 all-stagefeedback-binutils: maybe-all-build-flex
54029 all-binutils: maybe-all-build-bison
54031 all-stage1-binutils: maybe-all-build-bison
54032 all-stage2-binutils: maybe-all-build-bison
54033 all-stage3-binutils: maybe-all-build-bison
54034 all-stage4-binutils: maybe-all-build-bison
54035 all-stageprofile-binutils: maybe-all-build-bison
54036 all-stagefeedback-binutils: maybe-all-build-bison
54037 all-binutils: maybe-all-build-byacc
54039 all-stage1-binutils: maybe-all-build-byacc
54040 all-stage2-binutils: maybe-all-build-byacc
54041 all-stage3-binutils: maybe-all-build-byacc
54042 all-stage4-binutils: maybe-all-build-byacc
54043 all-stageprofile-binutils: maybe-all-build-byacc
54044 all-stagefeedback-binutils: maybe-all-build-byacc
54045 all-binutils: maybe-all-intl
54047 all-stage1-binutils: maybe-all-stage1-intl
54048 all-stage2-binutils: maybe-all-stage2-intl
54049 all-stage3-binutils: maybe-all-stage3-intl
54050 all-stage4-binutils: maybe-all-stage4-intl
54051 all-stageprofile-binutils: maybe-all-stageprofile-intl
54052 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
54053 install-binutils: maybe-install-opcodes
54054 install-opcodes: maybe-install-bfd
54055 configure-gas: maybe-configure-intl
54057 configure-stage1-gas: maybe-configure-stage1-intl
54058 configure-stage2-gas: maybe-configure-stage2-intl
54059 configure-stage3-gas: maybe-configure-stage3-intl
54060 configure-stage4-gas: maybe-configure-stage4-intl
54061 configure-stageprofile-gas: maybe-configure-stageprofile-intl
54062 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
54063 all-gas: maybe-all-libiberty
54065 all-stage1-gas: maybe-all-stage1-libiberty
54066 all-stage2-gas: maybe-all-stage2-libiberty
54067 all-stage3-gas: maybe-all-stage3-libiberty
54068 all-stage4-gas: maybe-all-stage4-libiberty
54069 all-stageprofile-gas: maybe-all-stageprofile-libiberty
54070 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
54071 all-gas: maybe-all-opcodes
54073 all-stage1-gas: maybe-all-stage1-opcodes
54074 all-stage2-gas: maybe-all-stage2-opcodes
54075 all-stage3-gas: maybe-all-stage3-opcodes
54076 all-stage4-gas: maybe-all-stage4-opcodes
54077 all-stageprofile-gas: maybe-all-stageprofile-opcodes
54078 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
54079 all-gas: maybe-all-bfd
54081 all-stage1-gas: maybe-all-stage1-bfd
54082 all-stage2-gas: maybe-all-stage2-bfd
54083 all-stage3-gas: maybe-all-stage3-bfd
54084 all-stage4-gas: maybe-all-stage4-bfd
54085 all-stageprofile-gas: maybe-all-stageprofile-bfd
54086 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
54087 all-gas: maybe-all-intl
54089 all-stage1-gas: maybe-all-stage1-intl
54090 all-stage2-gas: maybe-all-stage2-intl
54091 all-stage3-gas: maybe-all-stage3-intl
54092 all-stage4-gas: maybe-all-stage4-intl
54093 all-stageprofile-gas: maybe-all-stageprofile-intl
54094 all-stagefeedback-gas: maybe-all-stagefeedback-intl
54095 configure-gprof: maybe-configure-intl
54096 all-gprof: maybe-all-libiberty
54097 all-gprof: maybe-all-bfd
54098 all-gprof: maybe-all-opcodes
54099 all-gprof: maybe-all-intl
54100 configure-ld: maybe-configure-intl
54102 configure-stage1-ld: maybe-configure-stage1-intl
54103 configure-stage2-ld: maybe-configure-stage2-intl
54104 configure-stage3-ld: maybe-configure-stage3-intl
54105 configure-stage4-ld: maybe-configure-stage4-intl
54106 configure-stageprofile-ld: maybe-configure-stageprofile-intl
54107 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
54108 all-ld: maybe-all-libiberty
54110 all-stage1-ld: maybe-all-stage1-libiberty
54111 all-stage2-ld: maybe-all-stage2-libiberty
54112 all-stage3-ld: maybe-all-stage3-libiberty
54113 all-stage4-ld: maybe-all-stage4-libiberty
54114 all-stageprofile-ld: maybe-all-stageprofile-libiberty
54115 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
54116 all-ld: maybe-all-bfd
54118 all-stage1-ld: maybe-all-stage1-bfd
54119 all-stage2-ld: maybe-all-stage2-bfd
54120 all-stage3-ld: maybe-all-stage3-bfd
54121 all-stage4-ld: maybe-all-stage4-bfd
54122 all-stageprofile-ld: maybe-all-stageprofile-bfd
54123 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
54124 all-ld: maybe-all-opcodes
54126 all-stage1-ld: maybe-all-stage1-opcodes
54127 all-stage2-ld: maybe-all-stage2-opcodes
54128 all-stage3-ld: maybe-all-stage3-opcodes
54129 all-stage4-ld: maybe-all-stage4-opcodes
54130 all-stageprofile-ld: maybe-all-stageprofile-opcodes
54131 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
54132 all-ld: maybe-all-build-bison
54134 all-stage1-ld: maybe-all-build-bison
54135 all-stage2-ld: maybe-all-build-bison
54136 all-stage3-ld: maybe-all-build-bison
54137 all-stage4-ld: maybe-all-build-bison
54138 all-stageprofile-ld: maybe-all-build-bison
54139 all-stagefeedback-ld: maybe-all-build-bison
54140 all-ld: maybe-all-build-byacc
54142 all-stage1-ld: maybe-all-build-byacc
54143 all-stage2-ld: maybe-all-build-byacc
54144 all-stage3-ld: maybe-all-build-byacc
54145 all-stage4-ld: maybe-all-build-byacc
54146 all-stageprofile-ld: maybe-all-build-byacc
54147 all-stagefeedback-ld: maybe-all-build-byacc
54148 all-ld: maybe-all-build-flex
54150 all-stage1-ld: maybe-all-build-flex
54151 all-stage2-ld: maybe-all-build-flex
54152 all-stage3-ld: maybe-all-build-flex
54153 all-stage4-ld: maybe-all-build-flex
54154 all-stageprofile-ld: maybe-all-build-flex
54155 all-stagefeedback-ld: maybe-all-build-flex
54156 all-ld: maybe-all-intl
54158 all-stage1-ld: maybe-all-stage1-intl
54159 all-stage2-ld: maybe-all-stage2-intl
54160 all-stage3-ld: maybe-all-stage3-intl
54161 all-stage4-ld: maybe-all-stage4-intl
54162 all-stageprofile-ld: maybe-all-stageprofile-intl
54163 all-stagefeedback-ld: maybe-all-stagefeedback-intl
54164 configure-gold: maybe-configure-intl
54166 configure-stage1-gold: maybe-configure-stage1-intl
54167 configure-stage2-gold: maybe-configure-stage2-intl
54168 configure-stage3-gold: maybe-configure-stage3-intl
54169 configure-stage4-gold: maybe-configure-stage4-intl
54170 configure-stageprofile-gold: maybe-configure-stageprofile-intl
54171 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
54172 all-gold: maybe-all-libiberty
54174 all-stage1-gold: maybe-all-stage1-libiberty
54175 all-stage2-gold: maybe-all-stage2-libiberty
54176 all-stage3-gold: maybe-all-stage3-libiberty
54177 all-stage4-gold: maybe-all-stage4-libiberty
54178 all-stageprofile-gold: maybe-all-stageprofile-libiberty
54179 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
54180 all-gold: maybe-all-intl
54182 all-stage1-gold: maybe-all-stage1-intl
54183 all-stage2-gold: maybe-all-stage2-intl
54184 all-stage3-gold: maybe-all-stage3-intl
54185 all-stage4-gold: maybe-all-stage4-intl
54186 all-stageprofile-gold: maybe-all-stageprofile-intl
54187 all-stagefeedback-gold: maybe-all-stagefeedback-intl
54188 all-gold: maybe-all-bfd
54190 all-stage1-gold: maybe-all-stage1-bfd
54191 all-stage2-gold: maybe-all-stage2-bfd
54192 all-stage3-gold: maybe-all-stage3-bfd
54193 all-stage4-gold: maybe-all-stage4-bfd
54194 all-stageprofile-gold: maybe-all-stageprofile-bfd
54195 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
54196 all-gold: maybe-all-build-bison
54198 all-stage1-gold: maybe-all-build-bison
54199 all-stage2-gold: maybe-all-build-bison
54200 all-stage3-gold: maybe-all-build-bison
54201 all-stage4-gold: maybe-all-build-bison
54202 all-stageprofile-gold: maybe-all-build-bison
54203 all-stagefeedback-gold: maybe-all-build-bison
54204 all-gold: maybe-all-build-byacc
54206 all-stage1-gold: maybe-all-build-byacc
54207 all-stage2-gold: maybe-all-build-byacc
54208 all-stage3-gold: maybe-all-build-byacc
54209 all-stage4-gold: maybe-all-build-byacc
54210 all-stageprofile-gold: maybe-all-build-byacc
54211 all-stagefeedback-gold: maybe-all-build-byacc
54212 check-gold: maybe-all-binutils
54214 check-stage1-gold: maybe-all-stage1-binutils
54215 check-stage2-gold: maybe-all-stage2-binutils
54216 check-stage3-gold: maybe-all-stage3-binutils
54217 check-stage4-gold: maybe-all-stage4-binutils
54218 check-stageprofile-gold: maybe-all-stageprofile-binutils
54219 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
54220 configure-opcodes: maybe-configure-intl
54222 configure-stage1-opcodes: maybe-configure-stage1-intl
54223 configure-stage2-opcodes: maybe-configure-stage2-intl
54224 configure-stage3-opcodes: maybe-configure-stage3-intl
54225 configure-stage4-opcodes: maybe-configure-stage4-intl
54226 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
54227 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
54228 all-opcodes: maybe-all-bfd
54230 all-stage1-opcodes: maybe-all-stage1-bfd
54231 all-stage2-opcodes: maybe-all-stage2-bfd
54232 all-stage3-opcodes: maybe-all-stage3-bfd
54233 all-stage4-opcodes: maybe-all-stage4-bfd
54234 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
54235 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
54236 all-opcodes: maybe-all-libiberty
54238 all-stage1-opcodes: maybe-all-stage1-libiberty
54239 all-stage2-opcodes: maybe-all-stage2-libiberty
54240 all-stage3-opcodes: maybe-all-stage3-libiberty
54241 all-stage4-opcodes: maybe-all-stage4-libiberty
54242 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
54243 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
54244 all-opcodes: maybe-all-intl
54246 all-stage1-opcodes: maybe-all-stage1-intl
54247 all-stage2-opcodes: maybe-all-stage2-intl
54248 all-stage3-opcodes: maybe-all-stage3-intl
54249 all-stage4-opcodes: maybe-all-stage4-intl
54250 all-stageprofile-opcodes: maybe-all-stageprofile-intl
54251 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
54252 all-dejagnu: maybe-all-tcl
54253 all-dejagnu: maybe-all-expect
54254 all-dejagnu: maybe-all-tk
54255 configure-expect: maybe-configure-tcl
54256 configure-expect: maybe-configure-tk
54257 all-expect: maybe-all-tcl
54258 all-expect: maybe-all-tk
54259 configure-itcl: maybe-configure-tcl
54260 configure-itcl: maybe-configure-tk
54261 all-itcl: maybe-all-tcl
54262 all-itcl: maybe-all-tk
54263 install-itcl: maybe-install-tcl
54264 configure-tk: maybe-configure-tcl
54265 all-tk: maybe-all-tcl
54266 all-sid: maybe-all-libiberty
54267 all-sid: maybe-all-bfd
54268 all-sid: maybe-all-opcodes
54269 all-sid: maybe-all-tcl
54270 all-sid: maybe-all-tk
54271 install-sid: maybe-install-tcl
54272 install-sid: maybe-install-tk
54273 configure-sim: maybe-configure-intl
54274 all-sim: maybe-all-intl
54275 all-sim: maybe-all-libiberty
54276 all-sim: maybe-all-bfd
54277 all-sim: maybe-all-opcodes
54278 all-sim: maybe-all-readline
54279 all-sim: maybe-configure-gdb
54280 all-fastjar: maybe-all-zlib
54281 all-fastjar: maybe-all-build-texinfo
54282 all-fastjar: maybe-all-libiberty
54283 all-autoconf: maybe-all-m4
54284 all-autoconf: maybe-all-build-texinfo
54285 all-automake: maybe-all-m4
54286 all-automake: maybe-all-build-texinfo
54287 all-automake: maybe-all-autoconf
54288 all-bison: maybe-all-intl
54289 all-bison: maybe-all-build-texinfo
54290 all-diff: maybe-all-intl
54291 all-diff: maybe-all-build-texinfo
54292 all-fileutils: maybe-all-intl
54293 all-fileutils: maybe-all-build-texinfo
54294 all-flex: maybe-all-build-bison
54295 all-flex: maybe-all-build-byacc
54296 all-flex: maybe-all-intl
54297 all-flex: maybe-all-m4
54298 all-flex: maybe-all-build-texinfo
54299 all-gzip: maybe-all-intl
54300 all-gzip: maybe-all-zlib
54301 all-gzip: maybe-all-build-texinfo
54302 all-hello: maybe-all-intl
54303 all-hello: maybe-all-build-texinfo
54304 all-m4: maybe-all-intl
54305 all-m4: maybe-all-build-texinfo
54306 all-make: maybe-all-intl
54307 all-make: maybe-all-build-texinfo
54308 all-patch: maybe-all-build-texinfo
54309 all-make: maybe-all-build-texinfo
54310 all-prms: maybe-all-libiberty
54311 all-recode: maybe-all-build-texinfo
54312 all-sed: maybe-all-build-texinfo
54313 all-send-pr: maybe-all-prms
54314 all-tar: maybe-all-build-texinfo
54315 all-uudecode: maybe-all-build-texinfo
54316 configure-target-boehm-gc: maybe-configure-target-qthreads
54317 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
54318 configure-target-fastjar: maybe-configure-target-zlib
54319 all-target-fastjar: maybe-all-target-zlib
54320 all-target-fastjar: maybe-all-target-libiberty
54321 configure-target-libjava: maybe-configure-target-zlib
54322 configure-target-libjava: maybe-configure-target-boehm-gc
54323 configure-target-libjava: maybe-configure-target-qthreads
54324 configure-target-libjava: maybe-configure-target-libffi
54325 all-target-libjava: maybe-all-fastjar
54326 all-target-libjava: maybe-all-target-zlib
54327 all-target-libjava: maybe-all-target-boehm-gc
54328 all-target-libjava: maybe-all-target-qthreads
54329 all-target-libjava: maybe-all-target-libffi
54330 configure-target-libobjc: maybe-configure-target-boehm-gc
54331 all-target-libobjc: maybe-all-target-libiberty
54332 all-target-libobjc: maybe-all-target-boehm-gc
54333 all-target-libstdc++-v3: maybe-all-target-libiberty
54334 configure-target-libstdc++-v3: maybe-configure-target-libgomp
54335 all-target-libgloss: maybe-all-target-newlib
54336 all-target-winsup: maybe-all-target-libiberty
54337 all-target-winsup: maybe-all-target-libtermcap
54340 # Dependencies for target modules on other target modules are
54341 # described by lang_env_dependencies; the defaults apply to anything
54342 # not mentioned there.
54345 @if gcc-bootstrap
54346 @endif gcc-bootstrap
54348 @if gcc-no-bootstrap
54349 configure-target-libstdc++-v3: maybe-all-target-libgcc
54350 configure-target-libmudflap: maybe-all-target-libgcc
54351 configure-target-libssp: maybe-all-target-libgcc
54352 configure-target-newlib: maybe-all-target-libgcc
54353 configure-target-libgfortran: maybe-all-target-libgcc
54354 configure-target-libobjc: maybe-all-target-libgcc
54355 configure-target-libtermcap: maybe-all-target-libgcc
54356 configure-target-winsup: maybe-all-target-libgcc
54357 configure-target-libgloss: maybe-all-target-libgcc
54358 configure-target-libiberty: maybe-all-target-libgcc
54359 configure-target-gperf: maybe-all-target-libgcc
54360 configure-target-examples: maybe-all-target-libgcc
54361 configure-target-libffi: maybe-all-target-libgcc
54362 configure-target-libjava: maybe-all-target-libgcc
54363 configure-target-zlib: maybe-all-target-libgcc
54364 configure-target-boehm-gc: maybe-all-target-libgcc
54365 configure-target-qthreads: maybe-all-target-libgcc
54366 configure-target-rda: maybe-all-target-libgcc
54367 configure-target-libada: maybe-all-target-libgcc
54368 configure-target-libgomp: maybe-all-target-libgcc
54369 @endif gcc-no-bootstrap
54372 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
54374 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
54376 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
54380 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
54382 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
54384 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
54386 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
54390 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
54391 configure-target-gperf: maybe-all-target-libstdc++-v3
54393 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
54395 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
54397 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
54398 configure-target-libjava: maybe-all-target-libstdc++-v3
54400 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
54402 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
54404 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
54406 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
54408 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
54410 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
54413 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
54414 GDB_TK = @GDB_TK@
54415 INSTALL_GDB_TK = @INSTALL_GDB_TK@
54416 configure-gdb: $(CONFIGURE_GDB_TK)
54417 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
54418 install-gdb: $(INSTALL_GDB_TK)
54420 # Serialization dependencies. Host configures don't work well in parallel to
54421 # each other, due to contention over config.cache. Target configures and
54422 # build configures are similar.
54423 @serialization_dependencies@
54425 # --------------------------------
54426 # Regenerating top level configury
54427 # --------------------------------
54429 # Rebuilding Makefile.in, using autogen.
54430 AUTOGEN = autogen
54431 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
54432 cd $(srcdir) && $(AUTOGEN) Makefile.def
54434 # Rebuilding Makefile.
54435 Makefile: $(srcdir)/Makefile.in config.status
54436 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
54438 config.status: configure
54439 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
54441 # Rebuilding configure.
54442 AUTOCONF = autoconf
54443 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
54444 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
54445 cd $(srcdir) && $(AUTOCONF)
54447 # ------------------------------
54448 # Special directives to GNU Make
54449 # ------------------------------
54451 # Don't pass command-line variables to submakes.
54452 .NOEXPORT:
54453 MAKEOVERRIDES=
54455 # end of Makefile.in